UNPKG

@stadiamaps/api

Version:
64 lines 2.17 kB
/** * Stadia Maps Geospatial APIs * The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. * * The version of the OpenAPI document: 10.0.1 * Contact: support@stadiamaps.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface OsrmBaseApiResponse */ export interface OsrmBaseApiResponse { /** * * @type {string} * @memberof OsrmBaseApiResponse */ code: OsrmBaseApiResponseCodeEnum; /** * * @type {string} * @memberof OsrmBaseApiResponse */ message?: string; /** * * @type {string} * @memberof OsrmBaseApiResponse */ dataVersion?: string; } /** * @export */ export declare const OsrmBaseApiResponseCodeEnum: { readonly Ok: "Ok"; readonly InvalidUrl: "InvalidUrl"; readonly InvalidService: "InvalidService"; readonly InvalidVersion: "InvalidVersion"; readonly InvalidOptions: "InvalidOptions"; readonly InvalidQuery: "InvalidQuery"; readonly InvalidValue: "InvalidValue"; readonly NoSegment: "NoSegment"; readonly TooBig: "TooBig"; readonly NoRoute: "NoRoute"; readonly NoTable: "NoTable"; readonly NotImplemented: "NotImplemented"; readonly NoTrips: "NoTrips"; }; export type OsrmBaseApiResponseCodeEnum = (typeof OsrmBaseApiResponseCodeEnum)[keyof typeof OsrmBaseApiResponseCodeEnum]; /** * Check if a given object implements the OsrmBaseApiResponse interface. */ export declare function instanceOfOsrmBaseApiResponse(value: object): value is OsrmBaseApiResponse; export declare function OsrmBaseApiResponseFromJSON(json: any): OsrmBaseApiResponse; export declare function OsrmBaseApiResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OsrmBaseApiResponse; export declare function OsrmBaseApiResponseToJSON(json: any): OsrmBaseApiResponse; export declare function OsrmBaseApiResponseToJSONTyped(value?: OsrmBaseApiResponse | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=OsrmBaseApiResponse.d.ts.map