import { BaseClient, RequestOptions } from './base-client'; import { HealthIssueResponse, HealthIssueListResponse, HealthIssueUpdateRequest } 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 HealthClient * @param {(string)} [url] - The URL of the API endpoint. */ export declare class HealthClient extends BaseClient { /** * Retrieve a list of health issues. * @method * @name HealthClient#listIssues * @param {string} owner - The owner id you are requesting data for * @param {string} targetId - The id of the entity on which to filter issues for * @param {boolean} resolved - Filter issues by their resolved status * @param {number} offset - An offset into the result set, useful for pagination * @param {number} limit - Limit the number of results to this value. */ listIssues(owner?: string, targetId?: string, resolved?: boolean, offset?: number, limit?: number, $options?: RequestOptions): Promise; /** * Returns a health issue for the specified id * @method * @name HealthClient#getIssue * @param {string} id - The UUID of the health issue */ getIssue(id: string, $options?: RequestOptions): Promise; /** * Update a health issue for the specified id * @method * @name HealthClient#updateIssue * @param {string} id - The UUID of the health issue * @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) */ updateIssue(id: string, request: HealthIssueUpdateRequest, $options?: RequestOptions): Promise; }