import { BaseClient, RequestOptions } from './base-client'; import { QueuedReportResponse, QueuedReportListResponse, QueueReportRequest } 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 QueuesClient * @param {(string)} [url] - The URL of the API endpoint. */ export declare class QueuesClient extends BaseClient { /** * Retrieve a list of queued reports for a specified owner. * @method * @name QueuesClient#listQueuedReports * @param {string} client - The client id you are requesting reports for * @param {string} user - 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 {string} server - An optional server identifier (will be inferred from client settings if possible) */ listQueuedReports(client?: string, user?: string, server?: string, $options?: RequestOptions): Promise; /** * Queue a new report * @method * @name QueuesClient#queueReport * @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) */ queueReport(request: QueueReportRequest, $options?: RequestOptions): Promise; /** * Retrieve a queued report by it's ID. * @method * @name QueuesClient#getQueuedReport * @param {string} id - The UUID to retrieve. */ getQueuedReport(id: string, $options?: RequestOptions): Promise; /** * Cancel a queued or running report * @method * @name QueuesClient#cancelReport * @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) */ cancelReport(id: string, $options?: RequestOptions): Promise; /** * Subscribe to a Server-Sent Events stream for real-time report progress and output. * @method * @name QueuesClient#subscribeToReport * @param {string} id - The UUID of the report to subscribe to. */ subscribeToReport(id: string, $options?: RequestOptions): Promise; }