DevicesApi - axios parameter creator

  • Parameters

    Returns {
        deleteDevice: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getDeviceInfo: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getDeviceOptions: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getDevices: ((userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        updateDeviceOptions: ((id: string, deviceOptionsDto: DeviceOptionsDto, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
    }

    • deleteDevice: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Deletes a device.

        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: string

            Device Id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getDeviceInfo: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get info for a device.

        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: string

            Device Id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getDeviceOptions: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get options for a device.

        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: string

            Device Id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getDevices: ((userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get Devices.

        • (userId?, options?): Promise<RequestArgs>
        • Parameters

          • OptionaluserId: string

            Gets or sets the user identifier.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • updateDeviceOptions: ((id: string, deviceOptionsDto: DeviceOptionsDto, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Update device options.

        • (id, deviceOptionsDto, options?): Promise<RequestArgs>
        • Parameters

          • id: string

            Device Id.

          • deviceOptionsDto: DeviceOptionsDto

            Device Options.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>