import { BaseClient, RequestOptions } from './base-client'; import { ZoneListResponse, ZoneResponse, ZoneUpdateRequest, ZoneCreateRequest } 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 ZonesClient * @param {(string)} [url] - The URL of the API endpoint. */ export declare class ZonesClient extends BaseClient { /** * Retrieve a list of zones for a specified owner. * @method * @name ZonesClient#listZones * @param {string} owner - The owner id you are requesting data for * @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. * @param {string} bounds - A bounding rectangle to restrict the result set to in string format as `left,top,right,bottom` */ listZones(owner: string, offset?: number, limit?: number, sort?: string, filter?: string, bounds?: string, $options?: RequestOptions): Promise; /** * Creates a new zone * @method * @name ZonesClient#createZone * @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) */ createZone(request: ZoneCreateRequest, $options?: RequestOptions): Promise; /** * Retrieve a Map Set by it's ID. * @method * @name ZonesClient#getZone * @param {string} id - The Map Set UUID to retrieve. */ getZone(id: string, $options?: RequestOptions): Promise; /** * Updates an existing zone * @method * @name ZonesClient#updateZone * @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) */ updateZone(id: string, request: ZoneUpdateRequest, $options?: RequestOptions): Promise; }