import { BaseClient, RequestOptions } from './base-client'; import { DeviceProviderListResponse, DeviceProviderResponse, DeviceProviderUpdateRequest, DeviceProviderCreateRequest } from './model'; /** * Welcome to the Key Telematics Fleet API specification. This document outlines the REST routes and data structures returned by the API and offers examples of usage. The API publishes a [swagger](https://swagger.io/) specification that can be used to [generate a client library](https://github.com/swagger-api/swagger-codegen) for your language of choice. The latest swagger file is available for download from the following link: [https://api.eu1.kt1.io/fleet/v2/swagger.json](https://api.eu1.kt1.io/fleet/v2/swagger.json) * @class DeviceProvidersClient * @param {(string)} [url] - The URL of the API endpoint. */ export declare class DeviceProvidersClient extends BaseClient { /** * Retrieve a list of device providers for a specified owner. * @method * @name DeviceProvidersClient#listDeviceProviders * @param {string} owner - The owner id you are requesting data for * @param {boolean} recurse - Load items from the parent as well * @param {number} offset - An offset into the result set, useful for pagination * @param {number} limit - Limit the number of results to this value. * @param {string} sort - Sorting column or attribute name with an optional direction, e.g. `sort=name:desc` * @param {string} filter - A filter to apply to the data in RQL format. */ listDeviceProviders(owner: string, recurse?: boolean, offset?: number, limit?: number, sort?: string, filter?: string, $options?: RequestOptions): Promise; /** * Creates a new device provider entity * @method * @name DeviceProvidersClient#createDeviceProvider * @param {object} request - Welcome to the Key Telematics Fleet API specification. This document outlines the REST routes and data structures returned by the API and offers examples of usage. The API publishes a [swagger](https://swagger.io/) specification that can be used to [generate a client library](https://github.com/swagger-api/swagger-codegen) for your language of choice. The latest swagger file is available for download from the following link: [https://api.eu1.kt1.io/fleet/v2/swagger.json](https://api.eu1.kt1.io/fleet/v2/swagger.json) */ createDeviceProvider(request: DeviceProviderCreateRequest, $options?: RequestOptions): Promise; /** * Returns device provider details for the specified id * @method * @name DeviceProvidersClient#getDeviceProvider * @param {string} id - The UUID of the device */ getDeviceProvider(id: string, $options?: RequestOptions): Promise; /** * Updates an existing device provider * @method * @name DeviceProvidersClient#updateDeviceProvider * @param {string} id - Welcome to the Key Telematics Fleet API specification. This document outlines the REST routes and data structures returned by the API and offers examples of usage. The API publishes a [swagger](https://swagger.io/) specification that can be used to [generate a client library](https://github.com/swagger-api/swagger-codegen) for your language of choice. The latest swagger file is available for download from the following link: [https://api.eu1.kt1.io/fleet/v2/swagger.json](https://api.eu1.kt1.io/fleet/v2/swagger.json) * @param {object} request - Welcome to the Key Telematics Fleet API specification. This document outlines the REST routes and data structures returned by the API and offers examples of usage. The API publishes a [swagger](https://swagger.io/) specification that can be used to [generate a client library](https://github.com/swagger-api/swagger-codegen) for your language of choice. The latest swagger file is available for download from the following link: [https://api.eu1.kt1.io/fleet/v2/swagger.json](https://api.eu1.kt1.io/fleet/v2/swagger.json) */ updateDeviceProvider(id: string, request: DeviceProviderUpdateRequest, $options?: RequestOptions): Promise; }