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>)>

        Deletes a device.

    • getDeviceInfo:function
      • Parameters

        • id: string

          Device Id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

        Get info for a device.

    • getDeviceOptions:function
      • Parameters

        • id: string

          Device Id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

        Get options for a device.

    • 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>)>

        Get Devices.

    • 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>)>

        Update device options.