@veeroute/lss-routing-angular 3.12.180165 → 3.15.183137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/api/matrixService.d.ts +1 -1
- package/api/matrixServiceInterface.d.ts +1 -1
- package/api/routeService.d.ts +1 -1
- package/api/routeServiceInterface.d.ts +1 -1
- package/api/systemService.d.ts +1 -1
- package/api/systemServiceInterface.d.ts +1 -1
- package/bundles/veeroute-lss-routing-angular.umd.js +6 -6
- package/bundles/veeroute-lss-routing-angular.umd.js.map +1 -1
- package/bundles/veeroute-lss-routing-angular.umd.min.js.map +1 -1
- package/esm2015/api/matrixService.js +2 -2
- package/esm2015/api/matrixServiceInterface.js +1 -1
- package/esm2015/api/routeService.js +2 -2
- package/esm2015/api/routeServiceInterface.js +1 -1
- package/esm2015/api/systemService.js +2 -2
- package/esm2015/api/systemServiceInterface.js +1 -1
- package/esm2015/model/checkResult.js +2 -2
- package/esm2015/model/inlineResponse400.js +1 -1
- package/esm2015/model/inlineResponse400Validations.js +2 -2
- package/esm2015/model/inlineResponse401.js +1 -1
- package/esm2015/model/inlineResponse404.js +1 -1
- package/esm2015/model/inlineResponse406.js +1 -1
- package/esm2015/model/inlineResponse415.js +1 -1
- package/esm2015/model/inlineResponse429.js +1 -1
- package/esm2015/model/inlineResponse500.js +1 -1
- package/esm2015/model/inlineResponse501.js +1 -1
- package/esm2015/model/inlineResponse502.js +1 -1
- package/esm2015/model/inlineResponse503.js +1 -1
- package/esm2015/model/inlineResponse504.js +1 -1
- package/esm2015/model/inlineResponseDefault.js +1 -1
- package/esm2015/model/matrixResult.js +1 -1
- package/esm2015/model/matrixTask.js +1 -1
- package/esm2015/model/route.js +1 -1
- package/esm2015/model/routeLeg.js +1 -1
- package/esm2015/model/routePolyline.js +1 -1
- package/esm2015/model/routeResult.js +1 -1
- package/esm2015/model/routeStatistics.js +1 -1
- package/esm2015/model/routeStatisticsTimeWindow.js +2 -2
- package/esm2015/model/routeStep.js +1 -1
- package/esm2015/model/routeTask.js +1 -1
- package/esm2015/model/routingMatrix.js +1 -1
- package/esm2015/model/traceData.js +2 -2
- package/esm2015/model/transportType.js +2 -2
- package/esm2015/model/versionResult.js +2 -2
- package/esm2015/model/waypoint.js +2 -2
- package/fesm2015/veeroute-lss-routing-angular.js +10 -10
- package/fesm2015/veeroute-lss-routing-angular.js.map +1 -1
- package/model/checkResult.d.ts +1 -1
- package/model/inlineResponse400.d.ts +1 -1
- package/model/inlineResponse400Validations.d.ts +1 -1
- package/model/inlineResponse401.d.ts +1 -1
- package/model/inlineResponse404.d.ts +1 -1
- package/model/inlineResponse406.d.ts +1 -1
- package/model/inlineResponse415.d.ts +1 -1
- package/model/inlineResponse429.d.ts +1 -1
- package/model/inlineResponse500.d.ts +1 -1
- package/model/inlineResponse501.d.ts +1 -1
- package/model/inlineResponse502.d.ts +1 -1
- package/model/inlineResponse503.d.ts +1 -1
- package/model/inlineResponse504.d.ts +1 -1
- package/model/inlineResponseDefault.d.ts +1 -1
- package/model/matrixResult.d.ts +1 -1
- package/model/matrixTask.d.ts +1 -1
- package/model/route.d.ts +1 -1
- package/model/routeLeg.d.ts +1 -1
- package/model/routePolyline.d.ts +1 -1
- package/model/routeResult.d.ts +1 -1
- package/model/routeStatistics.d.ts +1 -1
- package/model/routeStatisticsTimeWindow.d.ts +1 -1
- package/model/routeStep.d.ts +1 -1
- package/model/routeTask.d.ts +1 -1
- package/model/routingMatrix.d.ts +1 -1
- package/model/traceData.d.ts +1 -1
- package/model/transportType.d.ts +1 -1
- package/model/versionResult.d.ts +1 -1
- package/model/waypoint.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/api/matrixService.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Veeroute.Routing
|
|
3
3
|
* Veeroute Routing API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
6
6
|
* Contact: support@veeroute.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Veeroute.Routing
|
|
3
3
|
* Veeroute Routing API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
6
6
|
* Contact: support@veeroute.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/routeService.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Veeroute.Routing
|
|
3
3
|
* Veeroute Routing API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
6
6
|
* Contact: support@veeroute.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Veeroute.Routing
|
|
3
3
|
* Veeroute Routing API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
6
6
|
* Contact: support@veeroute.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/systemService.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Veeroute.Routing
|
|
3
3
|
* Veeroute Routing API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
6
6
|
* Contact: support@veeroute.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Veeroute.Routing
|
|
3
3
|
* Veeroute Routing API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
6
6
|
* Contact: support@veeroute.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
* Veeroute.Routing
|
|
145
145
|
* Veeroute Routing API
|
|
146
146
|
*
|
|
147
|
-
* The version of the OpenAPI document: 3.
|
|
147
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
148
148
|
* Contact: support@veeroute.com
|
|
149
149
|
*
|
|
150
150
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
* Veeroute.Routing
|
|
270
270
|
* Veeroute Routing API
|
|
271
271
|
*
|
|
272
|
-
* The version of the OpenAPI document: 3.
|
|
272
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
273
273
|
* Contact: support@veeroute.com
|
|
274
274
|
*
|
|
275
275
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
* Veeroute.Routing
|
|
395
395
|
* Veeroute Routing API
|
|
396
396
|
*
|
|
397
|
-
* The version of the OpenAPI document: 3.
|
|
397
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
398
398
|
* Contact: support@veeroute.com
|
|
399
399
|
*
|
|
400
400
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
* Veeroute.Routing
|
|
531
531
|
* Veeroute Routing API
|
|
532
532
|
*
|
|
533
|
-
* The version of the OpenAPI document: 3.
|
|
533
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
534
534
|
* Contact: support@veeroute.com
|
|
535
535
|
*
|
|
536
536
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
* Veeroute.Routing
|
|
550
550
|
* Veeroute Routing API
|
|
551
551
|
*
|
|
552
|
-
* The version of the OpenAPI document: 3.
|
|
552
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
553
553
|
* Contact: support@veeroute.com
|
|
554
554
|
*
|
|
555
555
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -588,7 +588,7 @@
|
|
|
588
588
|
* Veeroute.Routing
|
|
589
589
|
* Veeroute Routing API
|
|
590
590
|
*
|
|
591
|
-
* The version of the OpenAPI document: 3.
|
|
591
|
+
* The version of the OpenAPI document: 3.15.183137
|
|
592
592
|
* Contact: support@veeroute.com
|
|
593
593
|
*
|
|
594
594
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"veeroute-lss-routing-angular.umd.js","sources":["../../encoder.ts","../../variables.ts","../../configuration.ts","../../api/matrixService.ts","../../api/routeService.ts","../../api/systemService.ts","../../api/api.ts","../../model/inlineResponse400Validations.ts","../../model/traceData.ts","../../model/transportType.ts","../../api.module.ts","../../veeroute-lss-routing-angular.ts"],"sourcesContent":["import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\n constructor(configurationParameters: ConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n this.encoder = configurationParameters.encoder;\n if (configurationParameters.credentials) {\n this.credentials = configurationParameters.credentials;\n }\n else {\n this.credentials = {};\n }\n\n // init default ApiKeyAuth credential\n if (!this.credentials['ApiKeyAuth']) {\n this.credentials['ApiKeyAuth'] = () => {\n return typeof this.accessToken === 'function'\n ? this.accessToken()\n : this.accessToken;\n };\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { InlineResponse400Routing } from '../model/models';\nimport { InlineResponse401Routing } from '../model/models';\nimport { InlineResponse404Routing } from '../model/models';\nimport { InlineResponse406Routing } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { MatrixResultRouting } from '../model/models';\nimport { MatrixTaskRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n MatrixServiceInterface,\n BuildMatrixRequestParams\n} from './matrixServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class MatrixService implements MatrixServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Creating a time-distance matrix.\n * Creating time-distance matrices between each pair of locations.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<MatrixResultRouting>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<MatrixResultRouting>>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<MatrixResultRouting>>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n const matrixTaskRouting = requestParameters.matrixTaskRouting;\n if (matrixTaskRouting === null || matrixTaskRouting === undefined) {\n throw new Error('Required parameter matrixTaskRouting was null or undefined when calling buildMatrix.');\n }\n\n let headers = this.defaultHeaders;\n\n let credential: string | undefined;\n // authentication (ApiKeyAuth) required\n credential = this.configuration.lookupCredential('ApiKeyAuth');\n if (credential) {\n headers = headers.set('Authorization', 'Bearer ' + credential);\n }\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'application/json'\n ];\n const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n headers = headers.set('Content-Type', httpContentTypeSelected);\n }\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.post<MatrixResultRouting>(`${this.configuration.basePath}/routing/matrix`,\n matrixTaskRouting,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { InlineResponse400Routing } from '../model/models';\nimport { InlineResponse401Routing } from '../model/models';\nimport { InlineResponse404Routing } from '../model/models';\nimport { InlineResponse406Routing } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { RouteResultRouting } from '../model/models';\nimport { RouteTaskRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n RouteServiceInterface,\n BuildRouteRequestParams\n} from './routeServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class RouteService implements RouteServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Planning a location-to-location route.\n * Planning a route between locations considering taking traffic jams. \n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<RouteResultRouting>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<RouteResultRouting>>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<RouteResultRouting>>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n const routeTaskRouting = requestParameters.routeTaskRouting;\n if (routeTaskRouting === null || routeTaskRouting === undefined) {\n throw new Error('Required parameter routeTaskRouting was null or undefined when calling buildRoute.');\n }\n\n let headers = this.defaultHeaders;\n\n let credential: string | undefined;\n // authentication (ApiKeyAuth) required\n credential = this.configuration.lookupCredential('ApiKeyAuth');\n if (credential) {\n headers = headers.set('Authorization', 'Bearer ' + credential);\n }\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'application/json'\n ];\n const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n headers = headers.set('Content-Type', httpContentTypeSelected);\n }\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.post<RouteResultRouting>(`${this.configuration.basePath}/routing/route`,\n routeTaskRouting,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { CheckResultRouting } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { VersionResultRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n SystemServiceInterface\n} from './systemServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SystemService implements SystemServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Checking the service availability.\n * Checking the service availability.\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public check(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<CheckResultRouting>;\n public check(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<CheckResultRouting>>;\n public check(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<CheckResultRouting>>;\n public check(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n\n let headers = this.defaultHeaders;\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.get<CheckResultRouting>(`${this.configuration.basePath}/routing/check`,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * Getting the service version.\n * Getting the service version.\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public version(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<VersionResultRouting>;\n public version(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<VersionResultRouting>>;\n public version(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<VersionResultRouting>>;\n public version(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n\n let headers = this.defaultHeaders;\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.get<VersionResultRouting>(`${this.configuration.basePath}/routing/version`,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","export * from './matrixService';\nimport { MatrixService } from './matrixService';\nexport * from './matrixServiceInterface'\nexport * from './routeService';\nimport { RouteService } from './routeService';\nexport * from './routeServiceInterface'\nexport * from './systemService';\nimport { SystemService } from './systemService';\nexport * from './systemServiceInterface'\nexport const APIS = [MatrixService, RouteService, SystemService];\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Data validation result.\n */\nexport interface InlineResponse400ValidationsRouting { \n /**\n * Validation type: * `info` * `warning` * `error` \n */\n type: InlineResponse400ValidationsRoutingTypeEnum;\n /**\n * Entity description.\n */\n entity_key?: string;\n /**\n * Entity type.\n */\n entity_type?: string;\n /**\n * Information about validation.\n */\n info: string;\n}\nexport enum InlineResponse400ValidationsRoutingTypeEnum {\n INFO = 'info',\n WARNING = 'warning',\n ERROR = 'error'\n};\n\n\n\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Data for request tracing.\n */\nexport interface TraceDataRouting { \n /**\n * Unique operation code.\n */\n code: string;\n /**\n * Client ID.\n */\n client?: string;\n /**\n * Server ID.\n */\n server?: string;\n /**\n * Service name.\n */\n service?: TraceDataRoutingServiceEnum;\n /**\n * Method name.\n */\n method?: TraceDataRoutingMethodEnum;\n /**\n * Date and time service method run in the [RFC 3339, section 5.6 (ISO8601)](https://tools.ietf.org/html/rfc3339#section-5.6) format.\n */\n time?: string;\n}\nexport enum TraceDataRoutingServiceEnum {\n LASTMILE = 'LASTMILE',\n DELIVERY = 'DELIVERY',\n FIELDSERVICE = 'FIELDSERVICE',\n MERCHANDISER = 'MERCHANDISER',\n ROUTING = 'ROUTING',\n CLUSTERING = 'CLUSTERING',\n ACCOUNT = 'ACCOUNT',\n STOCK = 'STOCK',\n ADMIN = 'ADMIN'\n};\nexport enum TraceDataRoutingMethodEnum {\n PLAN = 'PLAN',\n REPLAN = 'REPLAN',\n ACTUALIZE = 'ACTUALIZE',\n CONVERT = 'CONVERT',\n ANALYTICS = 'ANALYTICS',\n PREDICT = 'PREDICT',\n VALIDATE = 'VALIDATE',\n ROUTE = 'ROUTE',\n MATRIX = 'MATRIX',\n CLUSTER = 'CLUSTER'\n};\n\n\n\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Vehicle types: * `CAR` - car * `TRUCK` - truck * `CAR_GT` - fast car * `TUK_TUK` - tuk-tuk * `BICYCLE` - bicycle * `PEDESTRIAN` - pedestrian * `PUBLIC_TRANSPORT` - public transport \n */\nexport enum TransportTypeRouting {\n CAR = 'CAR',\n TRUCK = 'TRUCK',\n CAR_GT = 'CAR_GT',\n TUK_TUK = 'TUK_TUK',\n BICYCLE = 'BICYCLE',\n PEDESTRIAN = 'PEDESTRIAN',\n PUBLIC_TRANSPORT = 'PUBLIC_TRANSPORT'\n};\n\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { Configuration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\nimport { MatrixService } from './api/matrixService';\nimport { RouteService } from './api/routeService';\nimport { SystemService } from './api/systemService';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: []\n})\nexport class LssRoutingApiModule {\n public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<LssRoutingApiModule> {\n return {\n ngModule: LssRoutingApiModule,\n providers: [ { provide: Configuration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: LssRoutingApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('LssRoutingApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["InjectionToken","HttpHeaders","Injectable","HttpClient","Optional","Inject","InlineResponse400ValidationsRoutingTypeEnum","TraceDataRoutingServiceEnum","TraceDataRoutingMethodEnum","TransportTypeRouting","NgModule","SkipSelf"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;IAEA;;;;IAIA;QAAA;SAaC;QAZG,4CAAS,GAAT,UAAU,CAAS;YACf,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;SAChC;QACD,8CAAW,GAAX,UAAY,CAAS;YACjB,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;SAChC;QACD,4CAAS,GAAT,UAAU,CAAS;YACf,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;SAChC;QACD,8CAAW,GAAX,UAAY,CAAS;YACjB,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;SAChC;uCACJ;KAAA;;QCjBY,SAAS,GAAG,IAAIA,iBAAc,CAAS,UAAU,EAAE;QACnD,kBAAkB,GAAG;QAC9B,KAAK,EAAE,GAAG;QACV,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,GAAG;QACV,OAAO,EAAE,GAAG;;;;QCsCZ,uBAAY,uBAAqD;YAAjE,iBAuBC;YAvBW,wCAAA,EAAA,4BAAqD;YAC7D,IAAI,CAAC,OAAO,GAAG,uBAAuB,CAAC,OAAO,CAAC;YAC/C,IAAI,CAAC,QAAQ,GAAG,uBAAuB,CAAC,QAAQ,CAAC;YACjD,IAAI,CAAC,QAAQ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AA;QACf,yCAAiB,CAAA;QACjB,2CAAmB,CAAA;QACnB,2CAAmB,CAAA;QACnB,iDAAyB,CAAA;QACzB,6DAAqC,CAAA;IACzC,CAAC,EARWA,4BAAoB,KAApBA,4BAAoB,QAQ/B;IAAA;;;QCFG,6BAAqC,YAAiC,EAC7C,IAAgB;YACrC,IAAI,YAAY,EAAE;gBACd,MAAM,IAAI,KAAK,CAAC,4EAA4E,CAAC,CAAC;aACjG;YACD,IAAI,CAAC,IAAI,EAAE;gBACP,MAAM,IAAI,KAAK,CAAC,+DAA+D;oBAC/E,0DAA0D,CAAC,CAAC;aAC/D;SACJ;QAhBa,2BAAO,GAAd,UAAe,oBAAyC;YAC3D,OAAO;gBACH,QAAQ,EAAE,mBAAmB;gBAC7B,SAAS,EAAE,CAAE,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,oBAAoB,EAAE,CAAE;aAC9E,CAAC;SACL;;;;gBAZJC,WAAQ,SAAC;oBACR,OAAO,EAAO,EAAE;oBAChB,YAAY,EAAE,EAAE;oBAChB,OAAO,EAAO,EAAE;oBAChB,SAAS,EAAE,EAAE;iBACd;;;gBASsD,mBAAmB,uBAAxDN,WAAQ,YAAIO,WAAQ;gBApB7BR,aAAU,uBAqBDC,WAAQ;;;ICvB1B;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"veeroute-lss-routing-angular.umd.js","sources":["../../encoder.ts","../../variables.ts","../../configuration.ts","../../api/matrixService.ts","../../api/routeService.ts","../../api/systemService.ts","../../api/api.ts","../../model/inlineResponse400Validations.ts","../../model/traceData.ts","../../model/transportType.ts","../../api.module.ts","../../veeroute-lss-routing-angular.ts"],"sourcesContent":["import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\n constructor(configurationParameters: ConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n this.encoder = configurationParameters.encoder;\n if (configurationParameters.credentials) {\n this.credentials = configurationParameters.credentials;\n }\n else {\n this.credentials = {};\n }\n\n // init default ApiKeyAuth credential\n if (!this.credentials['ApiKeyAuth']) {\n this.credentials['ApiKeyAuth'] = () => {\n return typeof this.accessToken === 'function'\n ? this.accessToken()\n : this.accessToken;\n };\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { InlineResponse400Routing } from '../model/models';\nimport { InlineResponse401Routing } from '../model/models';\nimport { InlineResponse404Routing } from '../model/models';\nimport { InlineResponse406Routing } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { MatrixResultRouting } from '../model/models';\nimport { MatrixTaskRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n MatrixServiceInterface,\n BuildMatrixRequestParams\n} from './matrixServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class MatrixService implements MatrixServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Creating a time-distance matrix.\n * Creating time-distance matrices between each pair of locations.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<MatrixResultRouting>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<MatrixResultRouting>>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<MatrixResultRouting>>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n const matrixTaskRouting = requestParameters.matrixTaskRouting;\n if (matrixTaskRouting === null || matrixTaskRouting === undefined) {\n throw new Error('Required parameter matrixTaskRouting was null or undefined when calling buildMatrix.');\n }\n\n let headers = this.defaultHeaders;\n\n let credential: string | undefined;\n // authentication (ApiKeyAuth) required\n credential = this.configuration.lookupCredential('ApiKeyAuth');\n if (credential) {\n headers = headers.set('Authorization', 'Bearer ' + credential);\n }\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'application/json'\n ];\n const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n headers = headers.set('Content-Type', httpContentTypeSelected);\n }\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.post<MatrixResultRouting>(`${this.configuration.basePath}/routing/matrix`,\n matrixTaskRouting,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { InlineResponse400Routing } from '../model/models';\nimport { InlineResponse401Routing } from '../model/models';\nimport { InlineResponse404Routing } from '../model/models';\nimport { InlineResponse406Routing } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { RouteResultRouting } from '../model/models';\nimport { RouteTaskRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n RouteServiceInterface,\n BuildRouteRequestParams\n} from './routeServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class RouteService implements RouteServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Planning a location-to-location route.\n * Planning a route between locations considering taking traffic jams. \n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<RouteResultRouting>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<RouteResultRouting>>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<RouteResultRouting>>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n const routeTaskRouting = requestParameters.routeTaskRouting;\n if (routeTaskRouting === null || routeTaskRouting === undefined) {\n throw new Error('Required parameter routeTaskRouting was null or undefined when calling buildRoute.');\n }\n\n let headers = this.defaultHeaders;\n\n let credential: string | undefined;\n // authentication (ApiKeyAuth) required\n credential = this.configuration.lookupCredential('ApiKeyAuth');\n if (credential) {\n headers = headers.set('Authorization', 'Bearer ' + credential);\n }\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'application/json'\n ];\n const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n headers = headers.set('Content-Type', httpContentTypeSelected);\n }\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.post<RouteResultRouting>(`${this.configuration.basePath}/routing/route`,\n routeTaskRouting,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { CheckResultRouting } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { VersionResultRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n SystemServiceInterface\n} from './systemServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SystemService implements SystemServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Checking the service availability.\n * Checking the service availability.\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public check(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<CheckResultRouting>;\n public check(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<CheckResultRouting>>;\n public check(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<CheckResultRouting>>;\n public check(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n\n let headers = this.defaultHeaders;\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.get<CheckResultRouting>(`${this.configuration.basePath}/routing/check`,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * Getting the service version.\n * Getting the service version.\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public version(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<VersionResultRouting>;\n public version(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<VersionResultRouting>>;\n public version(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<VersionResultRouting>>;\n public version(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n\n let headers = this.defaultHeaders;\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.get<VersionResultRouting>(`${this.configuration.basePath}/routing/version`,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","export * from './matrixService';\nimport { MatrixService } from './matrixService';\nexport * from './matrixServiceInterface'\nexport * from './routeService';\nimport { RouteService } from './routeService';\nexport * from './routeServiceInterface'\nexport * from './systemService';\nimport { SystemService } from './systemService';\nexport * from './systemServiceInterface'\nexport const APIS = [MatrixService, RouteService, SystemService];\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Data validation result.\n */\nexport interface InlineResponse400ValidationsRouting { \n /**\n * Validation type: * `info` * `warning` * `error` \n */\n type: InlineResponse400ValidationsRoutingTypeEnum;\n /**\n * Entity description.\n */\n entity_key?: string;\n /**\n * Entity type.\n */\n entity_type?: string;\n /**\n * Information about validation.\n */\n info: string;\n}\nexport enum InlineResponse400ValidationsRoutingTypeEnum {\n INFO = 'info',\n WARNING = 'warning',\n ERROR = 'error'\n};\n\n\n\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Data for request tracing.\n */\nexport interface TraceDataRouting { \n /**\n * Unique operation code.\n */\n code: string;\n /**\n * Client ID.\n */\n client?: string;\n /**\n * Server ID.\n */\n server?: string;\n /**\n * Service name.\n */\n service?: TraceDataRoutingServiceEnum;\n /**\n * Method name.\n */\n method?: TraceDataRoutingMethodEnum;\n /**\n * Date and time service method run in the [RFC 3339, section 5.6 (ISO8601)](https://tools.ietf.org/html/rfc3339#section-5.6) format.\n */\n time?: string;\n}\nexport enum TraceDataRoutingServiceEnum {\n LASTMILE = 'LASTMILE',\n DELIVERY = 'DELIVERY',\n FIELDSERVICE = 'FIELDSERVICE',\n MERCHANDISER = 'MERCHANDISER',\n ROUTING = 'ROUTING',\n CLUSTERING = 'CLUSTERING',\n ACCOUNT = 'ACCOUNT',\n STOCK = 'STOCK',\n ADMIN = 'ADMIN'\n};\nexport enum TraceDataRoutingMethodEnum {\n PLAN = 'PLAN',\n REPLAN = 'REPLAN',\n ACTUALIZE = 'ACTUALIZE',\n CONVERT = 'CONVERT',\n ANALYTICS = 'ANALYTICS',\n PREDICT = 'PREDICT',\n VALIDATE = 'VALIDATE',\n ROUTE = 'ROUTE',\n MATRIX = 'MATRIX',\n CLUSTER = 'CLUSTER'\n};\n\n\n\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Vehicle types: * `CAR` - car * `TRUCK` - truck * `CAR_GT` - fast car * `TUK_TUK` - tuk-tuk * `BICYCLE` - bicycle * `PEDESTRIAN` - pedestrian * `PUBLIC_TRANSPORT` - public transport \n */\nexport enum TransportTypeRouting {\n CAR = 'CAR',\n TRUCK = 'TRUCK',\n CAR_GT = 'CAR_GT',\n TUK_TUK = 'TUK_TUK',\n BICYCLE = 'BICYCLE',\n PEDESTRIAN = 'PEDESTRIAN',\n PUBLIC_TRANSPORT = 'PUBLIC_TRANSPORT'\n};\n\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { Configuration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\nimport { MatrixService } from './api/matrixService';\nimport { RouteService } from './api/routeService';\nimport { SystemService } from './api/systemService';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: []\n})\nexport class LssRoutingApiModule {\n public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<LssRoutingApiModule> {\n return {\n ngModule: LssRoutingApiModule,\n providers: [ { provide: Configuration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: LssRoutingApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('LssRoutingApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["InjectionToken","HttpHeaders","Injectable","HttpClient","Optional","Inject","InlineResponse400ValidationsRoutingTypeEnum","TraceDataRoutingServiceEnum","TraceDataRoutingMethodEnum","TransportTypeRouting","NgModule","SkipSelf"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;IAEA;;;;IAIA;QAAA;SAaC;QAZG,4CAAS,GAAT,UAAU,CAAS;YACf,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;SAChC;QACD,8CAAW,GAAX,UAAY,CAAS;YACjB,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;SAChC;QACD,4CAAS,GAAT,UAAU,CAAS;YACf,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;SAChC;QACD,8CAAW,GAAX,UAAY,CAAS;YACjB,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC;SAChC;uCACJ;KAAA;;QCjBY,SAAS,GAAG,IAAIA,iBAAc,CAAS,UAAU,EAAE;QACnD,kBAAkB,GAAG;QAC9B,KAAK,EAAE,GAAG;QACV,KAAK,EAAE,KAAK;QACZ,KAAK,EAAE,G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DAAmB,CAAA;QACnB,mDAAqB,CAAA;QACrB,6CAAe,CAAA;QACf,+CAAiB,CAAA;QACjB,iDAAmB,CAAA;IACvB,CAAC,EAXWA,kCAA0B,KAA1BA,kCAA0B,QAWrC;IAAA;;IChED;;;;;;;;;;;IAaA;;;AAGYC;IAAZ,WAAY,oBAAoB;QAC5B,mCAAW,CAAA;QACX,uCAAe,CAAA;QACf,yCAAiB,CAAA;QACjB,2CAAmB,CAAA;QACnB,2CAAmB,CAAA;QACnB,iDAAyB,CAAA;QACzB,6DAAqC,CAAA;IACzC,CAAC,EARWA,4BAAoB,KAApBA,4BAAoB,QAQ/B;IAAA;;;QCFG,6BAAqC,YAAiC,EAC7C,IAAgB;YACrC,IAAI,YAAY,EAAE;gBACd,MAAM,IAAI,KAAK,CAAC,4EAA4E,CAAC,CAAC;aACjG;YACD,IAAI,CAAC,IAAI,EAAE;gBACP,MAAM,IAAI,KAAK,CAAC,+DAA+D;oBAC/E,0DAA0D,CAAC,CAAC;aAC/D;SACJ;QAhBa,2BAAO,GAAd,UAAe,oBAAyC;YAC3D,OAAO;gBACH,QAAQ,EAAE,mBAAmB;gBAC7B,SAAS,EAAE,CAAE,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,oBAAoB,EAAE,CAAE;aAC9E,CAAC;SACL;;;;gBAZJC,WAAQ,SAAC;oBACR,OAAO,EAAO,EAAE;oBAChB,YAAY,EAAE,EAAE;oBAChB,OAAO,EAAO,EAAE;oBAChB,SAAS,EAAE,EAAE;iBACd;;;gBASsD,mBAAmB,uBAAxDN,WAAQ,YAAIO,WAAQ;gBApB7BR,aAAU,uBAqBDC,WAAQ;;;ICvB1B;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../encoder.ts","../../variables.ts","../../configuration.ts","../../api/matrixService.ts","../../api/routeService.ts","../../api/systemService.ts","../../model/inlineResponse400Validations.ts","../../model/traceData.ts","../../model/transportType.ts","../../api/api.ts","../../api.module.ts"],"names":["CustomHttpParameterCodec","prototype","encodeKey","k","encodeURIComponent","encodeValue","v","decodeKey","decodeURIComponent","decodeValue","BASE_PATH","InjectionToken","Configuration","configurationParameters","_this","this","apiKeys","username","password","accessToken","basePath","withCredentials","encoder","credentials","selectHeaderContentType","contentTypes","length","type","find","x","isJsonMime","undefined","selectHeaderAccept","accepts","mime","jsonMime","RegExp","test","toLowerCase","lookupCredential","key","value","MatrixService","httpClient","configuration","defaultHeaders","HttpHeaders","addToHttpParams","httpParams","Date","addToHttpParamsRecursive","Array","isArray","forEach","elem","Error","append","toISOString","substr","Object","keys","buildMatrix","requestParameters","observe","reportProgress","options","matrixTaskRouting","credential","headers","set","httpHeaderAcceptSelected","httpHeaderAccept","httpContentTypeSelected","responseType_","startsWith","post","responseType","Injectable","args","providedIn","HttpClient","Optional","Inject","decorators","RouteService","buildRoute","routeTaskRouting","SystemService","check","get","version","InlineResponse400ValidationsRoutingTypeEnum","TraceDataRoutingServiceEnum","TraceDataRoutingMethodEnum","TransportTypeRouting","APIS","LssRoutingApiModule","parentModule","http","forRoot","configurationFactory","ngModule","providers","provide","useFactory","NgModule","imports","declarations","exports","SkipSelf","csv","tsv","ssv","pipes"],"mappings":"mvBAMAA,EAAA,WAAA,SAAAA,YACIA,EAAAC,UAAAC,UAAA,SAAUC,GACN,OAAOC,mBAAmBD,IAE9BH,EAAAC,UAAAI,YAAA,SAAYC,GACR,OAAOF,mBAAmBE,IAE9BN,EAAAC,UAAAM,UAAA,SAAUJ,GACN,OAAOK,mBAAmBL,IAE9BH,EAAAC,UAAAQ,YAAA,SAAYH,GACR,OAAOE,mBAAmBF,MAXlC,GCJaI,EAAY,IAAIC,EAAAA,eAAuB,yBC2ChD,SAAAC,EAAYC,GAAZ,IAAAC,EAAAC,UAAY,IAAAF,IAAAA,EAAA,IACRE,KAAKC,QAAUH,EAAwBG,QACvCD,KAAKE,SAAWJ,EAAwBI,SACxCF,KAAKG,SAAWL,EAAwBK,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A,UACAA,EAAA,WAAA,aACAA,EAAA,iBAAA,oCEDA,SAAAE,EAAqCC,EACZC,GACrB,GAAID,EACA,MAAM,IAAI1C,MAAM,8EAEpB,IAAK2C,EACD,MAAM,IAAI3C,MAAM,gIAbVyC,EAAAG,QAAP,SAAeC,GAClB,MAAO,CACHC,SAAUL,EACVM,UAAW,CAAE,CAAEC,QAAS3F,EAAe4F,WAAYJ,+BAV9DK,EAAAA,SAAQ3B,KAAA,CAAC,CACR4B,QAAc,GACdC,aAAc,GACdC,QAAc,GACdN,UAAW,gDAU0CN,EAAmBb,WAAA,CAAA,CAAAxD,KAAxDsD,EAAAA,UAAQ,CAAAtD,KAAIkF,EAAAA,kBApBrB7B,EAAAA,WAAUG,WAAA,CAAA,CAAAxD,KAqBDsD,EAAAA,0DTpBgB,CAC9B6B,IAAO,IACPC,IAAO,MACPC,IAAO,IACPC,MAAS","sourcesContent":["import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\n constructor(configurationParameters: ConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n this.encoder = configurationParameters.encoder;\n if (configurationParameters.credentials) {\n this.credentials = configurationParameters.credentials;\n }\n else {\n this.credentials = {};\n }\n\n // init default ApiKeyAuth credential\n if (!this.credentials['ApiKeyAuth']) {\n this.credentials['ApiKeyAuth'] = () => {\n return typeof this.accessToken === 'function'\n ? this.accessToken()\n : this.accessToken;\n };\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { InlineResponse400Routing } from '../model/models';\nimport { InlineResponse401Routing } from '../model/models';\nimport { InlineResponse404Routing } from '../model/models';\nimport { InlineResponse406Routing } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { MatrixResultRouting } from '../model/models';\nimport { MatrixTaskRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n MatrixServiceInterface,\n BuildMatrixRequestParams\n} from './matrixServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class MatrixService implements MatrixServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Creating a time-distance matrix.\n * Creating time-distance matrices between each pair of locations.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<MatrixResultRouting>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<MatrixResultRouting>>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<MatrixResultRouting>>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n const matrixTaskRouting = requestParameters.matrixTaskRouting;\n if (matrixTaskRouting === null || matrixTaskRouting === undefined) {\n throw new Error('Required parameter matrixTaskRouting was null or undefined when calling buildMatrix.');\n }\n\n let headers = this.defaultHeaders;\n\n let credential: string | undefined;\n // authentication (ApiKeyAuth) required\n credential = this.configuration.lookupCredential('ApiKeyAuth');\n if (credential) {\n headers = headers.set('Authorization', 'Bearer ' + credential);\n }\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'application/json'\n ];\n const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n headers = headers.set('Content-Type', httpContentTypeSelected);\n }\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.post<MatrixResultRouting>(`${this.configuration.basePath}/routing/matrix`,\n matrixTaskRouting,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { InlineResponse400Routing } from '../model/models';\nimport { InlineResponse401Routing } from '../model/models';\nimport { InlineResponse404Routing } from '../model/models';\nimport { InlineResponse406Routing } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { RouteResultRouting } from '../model/models';\nimport { RouteTaskRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n RouteServiceInterface,\n BuildRouteRequestParams\n} from './routeServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class RouteService implements RouteServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Planning a location-to-location route.\n * Planning a route between locations considering taking traffic jams. \n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<RouteResultRouting>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<RouteResultRouting>>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<RouteResultRouting>>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n const routeTaskRouting = requestParameters.routeTaskRouting;\n if (routeTaskRouting === null || routeTaskRouting === undefined) {\n throw new Error('Required parameter routeTaskRouting was null or undefined when calling buildRoute.');\n }\n\n let headers = this.defaultHeaders;\n\n let credential: string | undefined;\n // authentication (ApiKeyAuth) required\n credential = this.configuration.lookupCredential('ApiKeyAuth');\n if (credential) {\n headers = headers.set('Authorization', 'Bearer ' + credential);\n }\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'application/json'\n ];\n const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n headers = headers.set('Content-Type', httpContentTypeSelected);\n }\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.post<RouteResultRouting>(`${this.configuration.basePath}/routing/route`,\n routeTaskRouting,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { CheckResultRouting } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { VersionResultRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n SystemServiceInterface\n} from './systemServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SystemService implements SystemServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Checking the service availability.\n * Checking the service availability.\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public check(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<CheckResultRouting>;\n public check(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<CheckResultRouting>>;\n public check(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<CheckResultRouting>>;\n public check(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n\n let headers = this.defaultHeaders;\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.get<CheckResultRouting>(`${this.configuration.basePath}/routing/check`,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * Getting the service version.\n * Getting the service version.\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public version(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<VersionResultRouting>;\n public version(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<VersionResultRouting>>;\n public version(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<VersionResultRouting>>;\n public version(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n\n let headers = this.defaultHeaders;\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.get<VersionResultRouting>(`${this.configuration.basePath}/routing/version`,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Data validation result.\n */\nexport interface InlineResponse400ValidationsRouting { \n /**\n * Validation type: * `info` * `warning` * `error` \n */\n type: InlineResponse400ValidationsRoutingTypeEnum;\n /**\n * Entity description.\n */\n entity_key?: string;\n /**\n * Entity type.\n */\n entity_type?: string;\n /**\n * Information about validation.\n */\n info: string;\n}\nexport enum InlineResponse400ValidationsRoutingTypeEnum {\n INFO = 'info',\n WARNING = 'warning',\n ERROR = 'error'\n};\n\n\n\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Data for request tracing.\n */\nexport interface TraceDataRouting { \n /**\n * Unique operation code.\n */\n code: string;\n /**\n * Client ID.\n */\n client?: string;\n /**\n * Server ID.\n */\n server?: string;\n /**\n * Service name.\n */\n service?: TraceDataRoutingServiceEnum;\n /**\n * Method name.\n */\n method?: TraceDataRoutingMethodEnum;\n /**\n * Date and time service method run in the [RFC 3339, section 5.6 (ISO8601)](https://tools.ietf.org/html/rfc3339#section-5.6) format.\n */\n time?: string;\n}\nexport enum TraceDataRoutingServiceEnum {\n LASTMILE = 'LASTMILE',\n DELIVERY = 'DELIVERY',\n FIELDSERVICE = 'FIELDSERVICE',\n MERCHANDISER = 'MERCHANDISER',\n ROUTING = 'ROUTING',\n CLUSTERING = 'CLUSTERING',\n ACCOUNT = 'ACCOUNT',\n STOCK = 'STOCK',\n ADMIN = 'ADMIN'\n};\nexport enum TraceDataRoutingMethodEnum {\n PLAN = 'PLAN',\n REPLAN = 'REPLAN',\n ACTUALIZE = 'ACTUALIZE',\n CONVERT = 'CONVERT',\n ANALYTICS = 'ANALYTICS',\n PREDICT = 'PREDICT',\n VALIDATE = 'VALIDATE',\n ROUTE = 'ROUTE',\n MATRIX = 'MATRIX',\n CLUSTER = 'CLUSTER'\n};\n\n\n\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.12.180165\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Vehicle types: * `CAR` - car * `TRUCK` - truck * `CAR_GT` - fast car * `TUK_TUK` - tuk-tuk * `BICYCLE` - bicycle * `PEDESTRIAN` - pedestrian * `PUBLIC_TRANSPORT` - public transport \n */\nexport enum TransportTypeRouting {\n CAR = 'CAR',\n TRUCK = 'TRUCK',\n CAR_GT = 'CAR_GT',\n TUK_TUK = 'TUK_TUK',\n BICYCLE = 'BICYCLE',\n PEDESTRIAN = 'PEDESTRIAN',\n PUBLIC_TRANSPORT = 'PUBLIC_TRANSPORT'\n};\n\n","export * from './matrixService';\nimport { MatrixService } from './matrixService';\nexport * from './matrixServiceInterface'\nexport * from './routeService';\nimport { RouteService } from './routeService';\nexport * from './routeServiceInterface'\nexport * from './systemService';\nimport { SystemService } from './systemService';\nexport * from './systemServiceInterface'\nexport const APIS = [MatrixService, RouteService, SystemService];\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { Configuration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\nimport { MatrixService } from './api/matrixService';\nimport { RouteService } from './api/routeService';\nimport { SystemService } from './api/systemService';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: []\n})\nexport class LssRoutingApiModule {\n public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<LssRoutingApiModule> {\n return {\n ngModule: LssRoutingApiModule,\n providers: [ { provide: Configuration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: LssRoutingApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('LssRoutingApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../encoder.ts","../../variables.ts","../../configuration.ts","../../api/matrixService.ts","../../api/routeService.ts","../../api/systemService.ts","../../model/inlineResponse400Validations.ts","../../model/traceData.ts","../../model/transportType.ts","../../api/api.ts","../../api.module.ts"],"names":["CustomHttpParameterCodec","prototype","encodeKey","k","encodeURIComponent","encodeValue","v","decodeKey","decodeURIComponent","decodeValue","BASE_PATH","InjectionToken","Configuration","configurationParameters","_this","this","apiKeys","username","password","accessToken","basePath","withCredentials","encoder","credentials","selectHeaderContentType","contentTypes","length","type","find","x","isJsonMime","undefined","selectHeaderAccept","accepts","mime","jsonMime","RegExp","test","toLowerCase","lookupCredential","key","value","MatrixService","httpClient","configuration","defaultHeaders","HttpHeaders","addToHttpParams","httpParams","Date","addToHttpParamsRecursive","Array","isArray","forEach","elem","Error","append","toISOString","substr","Object","keys","buildMatrix","requestParameters","observe","reportProgress","options","matrixTaskRouting","credential","headers","set","httpHeaderAcceptSelected","httpHeaderAccept","httpContentTypeSelected","responseType_","startsWith","post","responseType","Injectable","args","providedIn","HttpClient","Optional","Inject","decorators","RouteService","buildRoute","routeTaskRouting","SystemService","check","get","version","InlineResponse400ValidationsRoutingTypeEnum","TraceDataRoutingServiceEnum","TraceDataRoutingMethodEnum","TransportTypeRouting","APIS","LssRoutingApiModule","parentModule","http","forRoot","configurationFactory","ngModule","providers","provide","useFactory","NgModule","imports","declarations","exports","SkipSelf","csv","tsv","ssv","pipes"],"mappings":"mvBAMAA,EAAA,WAAA,SAAAA,YACIA,EAAAC,UAAAC,UAAA,SAAUC,GACN,OAAOC,mBAAmBD,IAE9BH,EAAAC,UAAAI,YAAA,SAAYC,GACR,OAAOF,mBAAmBE,IAE9BN,EAAAC,UAAAM,UAAA,SAAUJ,GACN,OAAOK,mBAAmBL,IAE9BH,EAAAC,UAAAQ,YAAA,SAAYH,GACR,OAAOE,mBAAmBF,MAXlC,GCJaI,EAAY,IAAIC,EAAAA,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ACAA,EAAA,QAAA,UC/CQC,EAAAA,0BAAAA,GAAAA,EAAAA,EAAAA,uBAAAA,EAAAA,qBAAoB,KAC5B,IAAA,MACAA,EAAA,MAAA,QACAA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,WAAA,aACAA,EAAA,iBAAA,oCEDA,SAAAE,EAAqCC,EACZC,GACrB,GAAID,EACA,MAAM,IAAI1C,MAAM,8EAEpB,IAAK2C,EACD,MAAM,IAAI3C,MAAM,gIAbVyC,EAAAG,QAAP,SAAeC,GAClB,MAAO,CACHC,SAAUL,EACVM,UAAW,CAAE,CAAEC,QAAS3F,EAAe4F,WAAYJ,+BAV9DK,EAAAA,SAAQ3B,KAAA,CAAC,CACR4B,QAAc,GACdC,aAAc,GACdC,QAAc,GACdN,UAAW,gDAU0CN,EAAmBb,WAAA,CAAA,CAAAxD,KAAxDsD,EAAAA,UAAQ,CAAAtD,KAAIkF,EAAAA,kBApBrB7B,EAAAA,WAAUG,WAAA,CAAA,CAAAxD,KAqBDsD,EAAAA,0DTpBgB,CAC9B6B,IAAO,IACPC,IAAO,MACPC,IAAO,IACPC,MAAS","sourcesContent":["import { HttpParameterCodec } from '@angular/common/http';\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport const BASE_PATH = new InjectionToken<string>('basePath');\nexport const COLLECTION_FORMATS = {\n 'csv': ',',\n 'tsv': ' ',\n 'ssv': ' ',\n 'pipes': '|'\n}\n","import { HttpParameterCodec } from '@angular/common/http';\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: {[ key: string ]: string | (() => string | undefined)};\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: {[ key: string ]: string};\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n encoder?: HttpParameterCodec;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: {[ key: string ]: string | (() => string | undefined)};\n\n constructor(configurationParameters: ConfigurationParameters = {}) {\n this.apiKeys = configurationParameters.apiKeys;\n this.username = configurationParameters.username;\n this.password = configurationParameters.password;\n this.accessToken = configurationParameters.accessToken;\n this.basePath = configurationParameters.basePath;\n this.withCredentials = configurationParameters.withCredentials;\n this.encoder = configurationParameters.encoder;\n if (configurationParameters.credentials) {\n this.credentials = configurationParameters.credentials;\n }\n else {\n this.credentials = {};\n }\n\n // init default ApiKeyAuth credential\n if (!this.credentials['ApiKeyAuth']) {\n this.credentials['ApiKeyAuth'] = () => {\n return typeof this.accessToken === 'function'\n ? this.accessToken()\n : this.accessToken;\n };\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType (contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === 'function'\n ? value()\n : value;\n }\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { InlineResponse400Routing } from '../model/models';\nimport { InlineResponse401Routing } from '../model/models';\nimport { InlineResponse404Routing } from '../model/models';\nimport { InlineResponse406Routing } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { MatrixResultRouting } from '../model/models';\nimport { MatrixTaskRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n MatrixServiceInterface,\n BuildMatrixRequestParams\n} from './matrixServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class MatrixService implements MatrixServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Creating a time-distance matrix.\n * Creating time-distance matrices between each pair of locations.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<MatrixResultRouting>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<MatrixResultRouting>>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<MatrixResultRouting>>;\n public buildMatrix(requestParameters: BuildMatrixRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n const matrixTaskRouting = requestParameters.matrixTaskRouting;\n if (matrixTaskRouting === null || matrixTaskRouting === undefined) {\n throw new Error('Required parameter matrixTaskRouting was null or undefined when calling buildMatrix.');\n }\n\n let headers = this.defaultHeaders;\n\n let credential: string | undefined;\n // authentication (ApiKeyAuth) required\n credential = this.configuration.lookupCredential('ApiKeyAuth');\n if (credential) {\n headers = headers.set('Authorization', 'Bearer ' + credential);\n }\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'application/json'\n ];\n const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n headers = headers.set('Content-Type', httpContentTypeSelected);\n }\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.post<MatrixResultRouting>(`${this.configuration.basePath}/routing/matrix`,\n matrixTaskRouting,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { InlineResponse400Routing } from '../model/models';\nimport { InlineResponse401Routing } from '../model/models';\nimport { InlineResponse404Routing } from '../model/models';\nimport { InlineResponse406Routing } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { RouteResultRouting } from '../model/models';\nimport { RouteTaskRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n RouteServiceInterface,\n BuildRouteRequestParams\n} from './routeServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class RouteService implements RouteServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Planning a location-to-location route.\n * Planning a route between locations considering taking traffic jams. \n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<RouteResultRouting>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<RouteResultRouting>>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<RouteResultRouting>>;\n public buildRoute(requestParameters: BuildRouteRequestParams, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n const routeTaskRouting = requestParameters.routeTaskRouting;\n if (routeTaskRouting === null || routeTaskRouting === undefined) {\n throw new Error('Required parameter routeTaskRouting was null or undefined when calling buildRoute.');\n }\n\n let headers = this.defaultHeaders;\n\n let credential: string | undefined;\n // authentication (ApiKeyAuth) required\n credential = this.configuration.lookupCredential('ApiKeyAuth');\n if (credential) {\n headers = headers.set('Authorization', 'Bearer ' + credential);\n }\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n // to determine the Content-Type header\n const consumes: string[] = [\n 'application/json'\n ];\n const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n headers = headers.set('Content-Type', httpContentTypeSelected);\n }\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.post<RouteResultRouting>(`${this.configuration.basePath}/routing/route`,\n routeTaskRouting,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams,\n HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';\nimport { CustomHttpParameterCodec } from '../encoder';\nimport { Observable } from 'rxjs';\n\nimport { CheckResultRouting } from '../model/models';\nimport { InlineResponse415Routing } from '../model/models';\nimport { InlineResponse429Routing } from '../model/models';\nimport { InlineResponse500Routing } from '../model/models';\nimport { InlineResponse501Routing } from '../model/models';\nimport { InlineResponse502Routing } from '../model/models';\nimport { InlineResponse503Routing } from '../model/models';\nimport { InlineResponse504Routing } from '../model/models';\nimport { InlineResponseDefaultRouting } from '../model/models';\nimport { VersionResultRouting } from '../model/models';\n\nimport { BASE_PATH, COLLECTION_FORMATS } from '../variables';\nimport { Configuration } from '../configuration';\nimport {\n SystemServiceInterface\n} from './systemServiceInterface';\n\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SystemService implements SystemServiceInterface {\n\n protected basePath = 'https://api.veeroute.tech/v3';\n public defaultHeaders = new HttpHeaders();\n public configuration = new Configuration();\n public encoder: HttpParameterCodec;\n\n constructor(protected httpClient: HttpClient, @Optional()@Inject(BASE_PATH) basePath: string, @Optional() configuration: Configuration) {\n if (configuration) {\n this.configuration = configuration;\n }\n if (typeof this.configuration.basePath !== 'string') {\n if (typeof basePath !== 'string') {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n\n private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {\n if (typeof value === \"object\" && value instanceof Date === false) {\n httpParams = this.addToHttpParamsRecursive(httpParams, value);\n } else {\n httpParams = this.addToHttpParamsRecursive(httpParams, value, key);\n }\n return httpParams;\n }\n\n private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {\n if (value == null) {\n return httpParams;\n }\n\n if (typeof value === \"object\") {\n if (Array.isArray(value)) {\n (value as any[]).forEach( elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key,\n (value as Date).toISOString().substr(0, 10));\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach( k => httpParams = this.addToHttpParamsRecursive(\n httpParams, value[k], key != null ? `${key}.${k}` : k));\n }\n } else if (key != null) {\n httpParams = httpParams.append(key, value);\n } else {\n throw Error(\"key may not be null if value is not object or array\");\n }\n return httpParams;\n }\n\n /**\n * Checking the service availability.\n * Checking the service availability.\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public check(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<CheckResultRouting>;\n public check(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<CheckResultRouting>>;\n public check(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<CheckResultRouting>>;\n public check(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n\n let headers = this.defaultHeaders;\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.get<CheckResultRouting>(`${this.configuration.basePath}/routing/check`,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n /**\n * Getting the service version.\n * Getting the service version.\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public version(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<VersionResultRouting>;\n public version(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpResponse<VersionResultRouting>>;\n public version(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json'}): Observable<HttpEvent<VersionResultRouting>>;\n public version(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json'}): Observable<any> {\n\n let headers = this.defaultHeaders;\n\n let httpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;\n if (httpHeaderAcceptSelected === undefined) {\n // to determine the Accept header\n const httpHeaderAccepts: string[] = [\n 'application/json'\n ];\n httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);\n }\n if (httpHeaderAcceptSelected !== undefined) {\n headers = headers.set('Accept', httpHeaderAcceptSelected);\n }\n\n\n let responseType_: 'text' | 'json' = 'json';\n if(httpHeaderAcceptSelected && httpHeaderAcceptSelected.startsWith('text')) {\n responseType_ = 'text';\n }\n\n return this.httpClient.get<VersionResultRouting>(`${this.configuration.basePath}/routing/version`,\n {\n responseType: <any>responseType_,\n withCredentials: this.configuration.withCredentials,\n headers: headers,\n observe: observe,\n reportProgress: reportProgress\n }\n );\n }\n\n}\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Data validation result.\n */\nexport interface InlineResponse400ValidationsRouting { \n /**\n * Validation type: * `info` * `warning` * `error` \n */\n type: InlineResponse400ValidationsRoutingTypeEnum;\n /**\n * Entity description.\n */\n entity_key?: string;\n /**\n * Entity type.\n */\n entity_type?: string;\n /**\n * Information about validation.\n */\n info: string;\n}\nexport enum InlineResponse400ValidationsRoutingTypeEnum {\n INFO = 'info',\n WARNING = 'warning',\n ERROR = 'error'\n};\n\n\n\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Data for request tracing.\n */\nexport interface TraceDataRouting { \n /**\n * Unique operation code.\n */\n code: string;\n /**\n * Client ID.\n */\n client?: string;\n /**\n * Server ID.\n */\n server?: string;\n /**\n * Service name.\n */\n service?: TraceDataRoutingServiceEnum;\n /**\n * Method name.\n */\n method?: TraceDataRoutingMethodEnum;\n /**\n * Date and time service method run in the [RFC 3339, section 5.6 (ISO8601)](https://tools.ietf.org/html/rfc3339#section-5.6) format.\n */\n time?: string;\n}\nexport enum TraceDataRoutingServiceEnum {\n LASTMILE = 'LASTMILE',\n DELIVERY = 'DELIVERY',\n FIELDSERVICE = 'FIELDSERVICE',\n MERCHANDISER = 'MERCHANDISER',\n ROUTING = 'ROUTING',\n CLUSTERING = 'CLUSTERING',\n ACCOUNT = 'ACCOUNT',\n STOCK = 'STOCK',\n ADMIN = 'ADMIN'\n};\nexport enum TraceDataRoutingMethodEnum {\n PLAN = 'PLAN',\n REPLAN = 'REPLAN',\n ACTUALIZE = 'ACTUALIZE',\n CONVERT = 'CONVERT',\n ANALYTICS = 'ANALYTICS',\n PREDICT = 'PREDICT',\n VALIDATE = 'VALIDATE',\n ROUTE = 'ROUTE',\n MATRIX = 'MATRIX',\n CLUSTER = 'CLUSTER'\n};\n\n\n\n","/**\n * Veeroute.Routing\n * Veeroute Routing API\n *\n * The version of the OpenAPI document: 3.15.183137\n * Contact: support@veeroute.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n/**\n * Vehicle types: * `CAR` - car * `TRUCK` - truck * `CAR_GT` - fast car * `TUK_TUK` - tuk-tuk * `BICYCLE` - bicycle * `PEDESTRIAN` - pedestrian * `PUBLIC_TRANSPORT` - public transport \n */\nexport enum TransportTypeRouting {\n CAR = 'CAR',\n TRUCK = 'TRUCK',\n CAR_GT = 'CAR_GT',\n TUK_TUK = 'TUK_TUK',\n BICYCLE = 'BICYCLE',\n PEDESTRIAN = 'PEDESTRIAN',\n PUBLIC_TRANSPORT = 'PUBLIC_TRANSPORT'\n};\n\n","export * from './matrixService';\nimport { MatrixService } from './matrixService';\nexport * from './matrixServiceInterface'\nexport * from './routeService';\nimport { RouteService } from './routeService';\nexport * from './routeServiceInterface'\nexport * from './systemService';\nimport { SystemService } from './systemService';\nexport * from './systemServiceInterface'\nexport const APIS = [MatrixService, RouteService, SystemService];\n","import { NgModule, ModuleWithProviders, SkipSelf, Optional } from '@angular/core';\nimport { Configuration } from './configuration';\nimport { HttpClient } from '@angular/common/http';\n\nimport { MatrixService } from './api/matrixService';\nimport { RouteService } from './api/routeService';\nimport { SystemService } from './api/systemService';\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: []\n})\nexport class LssRoutingApiModule {\n public static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<LssRoutingApiModule> {\n return {\n ngModule: LssRoutingApiModule,\n providers: [ { provide: Configuration, useFactory: configurationFactory } ]\n };\n }\n\n constructor( @Optional() @SkipSelf() parentModule: LssRoutingApiModule,\n @Optional() http: HttpClient) {\n if (parentModule) {\n throw new Error('LssRoutingApiModule is already loaded. Import in your base AppModule only.');\n }\n if (!http) {\n throw new Error('You need to import the HttpClientModule in your AppModule! \\n' +\n 'See also https://github.com/angular/angular/issues/20575');\n }\n }\n}\n"]}
|