/** * API Lookup Service v1 * The API Lookup Service is a platform service with following goals: * - Redirect users to REST APIs related to a resource identified by an HRN * - Given an HRN, provide parameters to be used in REST APIs calls. - Discovery of other HERE APIs. * * OpenAPI spec version: 1.0.3 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Do not edit the class manually. */ import { RequestBuilder } from "./RequestBuilder"; export interface API { /** * The name of the API. */ api: string; /** * The version of the API. */ version: string; /** * The base URL to use when constructing HTTP calls to the API. * Concatenate the base URL with the API path shown in the API specification. * For example, for the 'config' API's catalog list endpoint, you would construct the URL as follows: * 'https://config.data.api.platform.here.com/config/v1' + '/catalogs' * where the first part of the URL is the base URL and the second part is the API path. */ baseURL: string; parameters?: { [key: string]: string; }; } export interface ApiNotFoundError { /** * Repetition of the HTTP error code */ status?: number; /** * Short description of the error */ title?: string; /** * Complete details of the error */ detail?: Array<{ name: string; error: string; }>; error?: string; error_description?: string; } /** * Return details of a single platform API. This response is valid for the time specified by 'Cache-Control' header. * * @summary Return details of a single platform API. * @param api The identifier of the API * @param version The version of the API */ export declare function platformAPI(builder: RequestBuilder, params: { api: string; version: string; }): Promise; /** * Return the list of the HERE APIs. This response is valid for the time specified by 'Cache-Control' header. * * @summary Return the list of the HERE APIs. */ export declare function getPlatformAPIList(builder: RequestBuilder): Promise; /** * Return details of a single API for a given resource identified by hrn, api and version. * This response is valid for the time specified by 'Cache-Control' header. * * @summary Return details of a single API for a given resource. * @param hrn The HRN identifying the resource * @param api The identifier of the API * @param version The version of the API * @param region If you want to look up a specific region for a given resource. */ export declare function resourceAPI(builder: RequestBuilder, params: { hrn: string; api: string; version: string; region?: string; }): Promise; /** * Return the list of APIs for a given resource identified by hrn. This response is valid for the time specified by 'Cache-Control' header. * * @summary Return the list of APIs for a given resource. * @param hrn The HRN identifying the resource * @param region If you want to look up a specific region for a given resource. */ export declare function getResourceAPIList(builder: RequestBuilder, params: { hrn: string; region?: string; }): Promise;