DevicesApi - functional programming interface

  • Parameters

    Returns {
        deleteDevice(
            id: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
        getDeviceInfo(
            id: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<DeviceInfoDto>,
        >;
        getDeviceOptions(
            id: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<DeviceOptionsDto>,
        >;
        getDevices(
            userId?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<DeviceInfoDtoQueryResult>,
        >;
        updateDeviceOptions(
            id: string,
            deviceOptionsDto: DeviceOptionsDto,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
    }

    • deleteDevice:function
      • Parameters

        • id: string

          Device Id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>

    • getDeviceInfo:function
      • Parameters

        • id: string

          Device Id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<DeviceInfoDto>,
        >

    • getDeviceOptions:function
      • Parameters

        • id: string

          Device Id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<DeviceOptionsDto>,
        >

    • getDevices:function
      • Parameters

        • OptionaluserId: string

          Gets or sets the user identifier.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<DeviceInfoDtoQueryResult>,
        >

    • updateDeviceOptions:function
      • Parameters

        • id: string

          Device Id.

        • deviceOptionsDto: DeviceOptionsDto

          Device Options.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>