import { BaseClient, RequestOptions } from './base-client'; import { ThemeListResponse, ThemeResponse, ThemeUpdateRequest, ThemeCreateRequest, DomainThemeResponse } 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 ThemesClient * @param {(string)} [url] - The URL of the API endpoint. */ export declare class ThemesClient extends BaseClient { /** * Retrieve a list of themes for a specified owner. * @method * @name ThemesClient#listThemes * @param {string} owner - The owner id you are requesting data for * @param {boolean} recurse - 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 {number} offset - 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 {number} limit - 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} sort - 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} filter - 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) */ listThemes(owner: string, recurse?: boolean, offset?: number, limit?: number, sort?: string, filter?: string, $options?: RequestOptions): Promise; /** * Creates a new Theme entity * @method * @name ThemesClient#createTheme * @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) */ createTheme(request: ThemeCreateRequest, $options?: RequestOptions): Promise; /** * Returns Theme details for the specified id * @method * @name ThemesClient#getTheme * @param {string} id - The UUID of the Theme */ getTheme(id: string, $options?: RequestOptions): Promise; /** * Updates an existing Theme entity * @method * @name ThemesClient#updateTheme * @param {string} id - The UUID of the Theme * @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) */ updateTheme(id: string, request: ThemeUpdateRequest, $options?: RequestOptions): Promise; /** * Returns client details for the specified id * @method * @name ThemesClient#getThemeForDomain * @param {string} domain - The domain name to look up */ getThemeForDomain(domain: string, $options?: RequestOptions): Promise; /** * Return the specified vendor's logo in binary format. Should the vendor not have a custom logo, the logo of the distributor will be supplied. * @method * @name ThemesClient#getThemeLogo * @param {string} id - The vendor UUID you are requesting data for. * @param {string} size - The size of the returned image. Can be either "small" or "large". * @param {boolean} recurse - If the theme doesn't have a logo, should we go up the client tree and try find one? */ getThemeLogo(id: string, size?: string, recurse?: boolean, $options?: RequestOptions): Promise; /** * Updates the theme logo. * @method * @name ThemesClient#updateThemeLogo * @param {string} id - The theme UUID you are requesting data for. * @param {string} size - The size of the image. Can be either "small" or "large". */ updateThemeLogo(id: string, size: string, $options?: RequestOptions): Promise; /** * Permanently deletes a theme logo. * @method * @name ThemesClient#deleteThemeLogo * @param {string} id - The theme UUID. * @param {string} size - The size of the image. Can be either "small" or "large". */ deleteThemeLogo(id: string, size: string, $options?: RequestOptions): Promise; }