@veeroute/lss-routing-angular 7.32.3215 → 7.34.3275
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 +3 -3
- package/fesm2022/veeroute-lss-routing-angular.mjs +26 -26
- package/fesm2022/veeroute-lss-routing-angular.mjs.map +1 -1
- package/package.json +5 -6
- package/types/veeroute-lss-routing-angular.d.ts +1161 -0
- package/api/api.d.ts +0 -10
- package/api/matrixService.d.ts +0 -35
- package/api/matrixServiceInterface.d.ts +0 -27
- package/api/routeService.d.ts +0 -35
- package/api/routeServiceInterface.d.ts +0 -27
- package/api/systemService.d.ts +0 -78
- package/api/systemServiceInterface.d.ts +0 -37
- package/api.base.service.d.ts +0 -21
- package/api.module.d.ts +0 -11
- package/configuration.d.ts +0 -106
- package/encoder.d.ts +0 -11
- package/esm2022/api/api.mjs +0 -11
- package/esm2022/api/matrixService.mjs +0 -90
- package/esm2022/api/matrixServiceInterface.mjs +0 -2
- package/esm2022/api/routeService.mjs +0 -90
- package/esm2022/api/routeServiceInterface.mjs +0 -2
- package/esm2022/api/systemService.mjs +0 -149
- package/esm2022/api/systemServiceInterface.mjs +0 -2
- package/esm2022/api.base.service.mjs +0 -79
- package/esm2022/api.module.mjs +0 -40
- package/esm2022/configuration.mjs +0 -145
- package/esm2022/encoder.mjs +0 -19
- package/esm2022/index.mjs +0 -8
- package/esm2022/model/attribute.mjs +0 -11
- package/esm2022/model/checkResult.mjs +0 -11
- package/esm2022/model/general400.mjs +0 -2
- package/esm2022/model/general402.mjs +0 -2
- package/esm2022/model/general404.mjs +0 -2
- package/esm2022/model/general404Detail.mjs +0 -2
- package/esm2022/model/general429.mjs +0 -2
- package/esm2022/model/general500.mjs +0 -2
- package/esm2022/model/geoSettings.mjs +0 -2
- package/esm2022/model/geopoint.mjs +0 -11
- package/esm2022/model/matrixResult.mjs +0 -2
- package/esm2022/model/matrixTask.mjs +0 -2
- package/esm2022/model/models.mjs +0 -29
- package/esm2022/model/route.mjs +0 -2
- package/esm2022/model/routeLeg.mjs +0 -2
- package/esm2022/model/routeResult.mjs +0 -2
- package/esm2022/model/routeStatistics.mjs +0 -2
- package/esm2022/model/routeStep.mjs +0 -2
- package/esm2022/model/routeTask.mjs +0 -2
- package/esm2022/model/routeWaypoint.mjs +0 -2
- package/esm2022/model/routingMatrix.mjs +0 -2
- package/esm2022/model/routingMatrixWaypoint.mjs +0 -2
- package/esm2022/model/schemaError.mjs +0 -11
- package/esm2022/model/service.mjs +0 -26
- package/esm2022/model/timeWindow.mjs +0 -11
- package/esm2022/model/tracedata.mjs +0 -2
- package/esm2022/model/trackpoint.mjs +0 -11
- package/esm2022/model/transportType.mjs +0 -32
- package/esm2022/model/versionResult.mjs +0 -11
- package/esm2022/param.mjs +0 -2
- package/esm2022/provide-api.mjs +0 -15
- package/esm2022/variables.mjs +0 -9
- package/esm2022/veeroute-lss-routing-angular.mjs +0 -5
- package/index.d.ts +0 -7
- package/model/attribute.d.ts +0 -23
- package/model/checkResult.d.ts +0 -19
- package/model/general400.d.ts +0 -26
- package/model/general402.d.ts +0 -21
- package/model/general404.d.ts +0 -21
- package/model/general404Detail.d.ts +0 -17
- package/model/general429.d.ts +0 -21
- package/model/general500.d.ts +0 -21
- package/model/geoSettings.d.ts +0 -40
- package/model/geopoint.d.ts +0 -23
- package/model/matrixResult.d.ts +0 -19
- package/model/matrixTask.d.ts +0 -32
- package/model/models.d.ts +0 -28
- package/model/route.d.ts +0 -22
- package/model/routeLeg.d.ts +0 -30
- package/model/routeResult.d.ts +0 -19
- package/model/routeStatistics.d.ts +0 -32
- package/model/routeStep.d.ts +0 -22
- package/model/routeTask.d.ts +0 -52
- package/model/routeWaypoint.d.ts +0 -29
- package/model/routingMatrix.d.ts +0 -28
- package/model/routingMatrixWaypoint.d.ts +0 -21
- package/model/schemaError.d.ts +0 -23
- package/model/service.d.ts +0 -24
- package/model/timeWindow.d.ts +0 -23
- package/model/tracedata.d.ts +0 -49
- package/model/trackpoint.d.ts +0 -27
- package/model/transportType.d.ts +0 -30
- package/model/versionResult.d.ts +0 -27
- package/param.d.ts +0 -37
- package/provide-api.d.ts +0 -3
- package/variables.d.ts +0 -8
|
@@ -0,0 +1,1161 @@
|
|
|
1
|
+
import { HttpParameterCodec, HttpHeaders, HttpParams, HttpClient, HttpContext, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { InjectionToken, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* VRt.Routing [RT]
|
|
8
|
+
*
|
|
9
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
10
|
+
* Contact: support@veeroute.com
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Service name.
|
|
17
|
+
*/
|
|
18
|
+
declare enum ServiceRouting {
|
|
19
|
+
UNIVERSAL = "UNIVERSAL",
|
|
20
|
+
ROUTING = "ROUTING",
|
|
21
|
+
ACCOUNT = "ACCOUNT",
|
|
22
|
+
ADMIN = "ADMIN",
|
|
23
|
+
STUDIO = "STUDIO",
|
|
24
|
+
MONITOR = "MONITOR",
|
|
25
|
+
PACKER = "PACKER",
|
|
26
|
+
AGRO = "AGRO",
|
|
27
|
+
REGISTRY = "REGISTRY",
|
|
28
|
+
SUPPORT = "SUPPORT"
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* VRt.Routing [RT]
|
|
33
|
+
*
|
|
34
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
35
|
+
* Contact: support@veeroute.com
|
|
36
|
+
*
|
|
37
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
38
|
+
* Do not edit the class manually.
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Data for request tracing.
|
|
43
|
+
*/
|
|
44
|
+
interface TracedataRouting {
|
|
45
|
+
[key: string]: any | any;
|
|
46
|
+
/**
|
|
47
|
+
* Unique process identifier. One is created per process, the same for different requests for the same process.
|
|
48
|
+
*/
|
|
49
|
+
process_code: string;
|
|
50
|
+
/**
|
|
51
|
+
* Unique identifier of the request. A new one is created for each request.
|
|
52
|
+
*/
|
|
53
|
+
request_code: string;
|
|
54
|
+
/**
|
|
55
|
+
* Unique username for login.
|
|
56
|
+
*/
|
|
57
|
+
username: string;
|
|
58
|
+
/**
|
|
59
|
+
* Unique company key.
|
|
60
|
+
*/
|
|
61
|
+
company: string;
|
|
62
|
+
service: ServiceRouting;
|
|
63
|
+
/**
|
|
64
|
+
* Operation (request) name.
|
|
65
|
+
*/
|
|
66
|
+
operation: string;
|
|
67
|
+
/**
|
|
68
|
+
* Environment identifier.
|
|
69
|
+
*/
|
|
70
|
+
env: string;
|
|
71
|
+
/**
|
|
72
|
+
* Pod identifier.
|
|
73
|
+
*/
|
|
74
|
+
pod: string;
|
|
75
|
+
/**
|
|
76
|
+
* Date and time service method run in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.
|
|
77
|
+
*/
|
|
78
|
+
time: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* VRt.Routing [RT]
|
|
83
|
+
*
|
|
84
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
85
|
+
* Contact: support@veeroute.com
|
|
86
|
+
*
|
|
87
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
88
|
+
* Do not edit the class manually.
|
|
89
|
+
*/
|
|
90
|
+
/**
|
|
91
|
+
* Geographical point.
|
|
92
|
+
*/
|
|
93
|
+
interface GeopointRouting {
|
|
94
|
+
[key: string]: any | any;
|
|
95
|
+
/**
|
|
96
|
+
* Latitude in degrees.
|
|
97
|
+
*/
|
|
98
|
+
latitude: number;
|
|
99
|
+
/**
|
|
100
|
+
* Longitude in degrees.
|
|
101
|
+
*/
|
|
102
|
+
longitude: number;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* VRt.Routing [RT]
|
|
107
|
+
*
|
|
108
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
109
|
+
* Contact: support@veeroute.com
|
|
110
|
+
*
|
|
111
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
112
|
+
* Do not edit the class manually.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Routing matrix waypoint.
|
|
117
|
+
*/
|
|
118
|
+
interface RoutingMatrixWaypointRouting {
|
|
119
|
+
[key: string]: any | any;
|
|
120
|
+
geopoint: GeopointRouting;
|
|
121
|
+
/**
|
|
122
|
+
* Name of the point. Can be used as an identifier to match the task and the calculation result.
|
|
123
|
+
*/
|
|
124
|
+
name?: string | null;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* VRt.Routing [RT]
|
|
129
|
+
*
|
|
130
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
131
|
+
* Contact: support@veeroute.com
|
|
132
|
+
*
|
|
133
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
134
|
+
* Do not edit the class manually.
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Routing matrix. Contains durations and distances between points.
|
|
139
|
+
*/
|
|
140
|
+
interface RoutingMatrixRouting {
|
|
141
|
+
[key: string]: any | any;
|
|
142
|
+
/**
|
|
143
|
+
* Array of geographical points with distances and times calculated between them.
|
|
144
|
+
*/
|
|
145
|
+
waypoints: Array<RoutingMatrixWaypointRouting>;
|
|
146
|
+
/**
|
|
147
|
+
* Routes length between two neighbors locations, in meters. The values in the array are ordered according to the elements order in the `waypoints` parameter. Each matrix row is an array of distances from the desired point to every other point. A negative value (-1) means that it is not possible to drive between the specified locations.
|
|
148
|
+
*/
|
|
149
|
+
distances: Array<Array<number>>;
|
|
150
|
+
/**
|
|
151
|
+
* An array of route durations between points, in seconds. The values in the array are ordered according to the order of the elements in the `waypoints` parameter. Each row of the matrix is an array of travel times from the desired point to each other point. A negative value (-1) means that it is impossible to travel between the specified points.
|
|
152
|
+
*/
|
|
153
|
+
durations: Array<Array<number>>;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* VRt.Routing [RT]
|
|
158
|
+
*
|
|
159
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
160
|
+
* Contact: support@veeroute.com
|
|
161
|
+
*
|
|
162
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
163
|
+
* Do not edit the class manually.
|
|
164
|
+
*/
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Matrix calculation result.
|
|
168
|
+
*/
|
|
169
|
+
interface MatrixResultRouting {
|
|
170
|
+
[key: string]: any | any;
|
|
171
|
+
tracedata: TracedataRouting;
|
|
172
|
+
matrix: RoutingMatrixRouting;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Standard parameter styles defined by OpenAPI spec
|
|
177
|
+
*/
|
|
178
|
+
type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
179
|
+
/**
|
|
180
|
+
* The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
|
|
181
|
+
*/
|
|
182
|
+
type ParamStyle = StandardParamStyle | string;
|
|
183
|
+
/**
|
|
184
|
+
* Standard parameter locations defined by OpenAPI spec
|
|
185
|
+
*/
|
|
186
|
+
type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
187
|
+
/**
|
|
188
|
+
* Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
189
|
+
*/
|
|
190
|
+
type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
|
|
191
|
+
/**
|
|
192
|
+
* Standard {@link DataType}s plus your own types/classes.
|
|
193
|
+
*/
|
|
194
|
+
type DataType = StandardDataType | string;
|
|
195
|
+
/**
|
|
196
|
+
* Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
197
|
+
*/
|
|
198
|
+
type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
|
|
199
|
+
type DataFormat = StandardDataFormat | string;
|
|
200
|
+
/**
|
|
201
|
+
* The parameter to encode.
|
|
202
|
+
*/
|
|
203
|
+
interface Param {
|
|
204
|
+
name: string;
|
|
205
|
+
value: unknown;
|
|
206
|
+
in: ParamLocation;
|
|
207
|
+
style: ParamStyle;
|
|
208
|
+
explode: boolean;
|
|
209
|
+
dataType: DataType;
|
|
210
|
+
dataFormat: DataFormat | undefined;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
interface ConfigurationParameters {
|
|
214
|
+
/**
|
|
215
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
216
|
+
*/
|
|
217
|
+
apiKeys?: {
|
|
218
|
+
[key: string]: string;
|
|
219
|
+
};
|
|
220
|
+
username?: string;
|
|
221
|
+
password?: string;
|
|
222
|
+
/**
|
|
223
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
224
|
+
*/
|
|
225
|
+
accessToken?: string | (() => string);
|
|
226
|
+
basePath?: string;
|
|
227
|
+
withCredentials?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* Takes care of encoding query- and form-parameters.
|
|
230
|
+
*/
|
|
231
|
+
encoder?: HttpParameterCodec;
|
|
232
|
+
/**
|
|
233
|
+
* Override the default method for encoding path parameters in various
|
|
234
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
235
|
+
* <p>
|
|
236
|
+
* See {@link README.md} for more details
|
|
237
|
+
* </p>
|
|
238
|
+
*/
|
|
239
|
+
encodeParam?: (param: Param) => string;
|
|
240
|
+
/**
|
|
241
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
242
|
+
* document. They should map to the value used for authentication
|
|
243
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
244
|
+
*/
|
|
245
|
+
credentials?: {
|
|
246
|
+
[key: string]: string | (() => string | undefined);
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
declare class Configuration {
|
|
250
|
+
/**
|
|
251
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
252
|
+
*/
|
|
253
|
+
apiKeys?: {
|
|
254
|
+
[key: string]: string;
|
|
255
|
+
};
|
|
256
|
+
username?: string;
|
|
257
|
+
password?: string;
|
|
258
|
+
/**
|
|
259
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
260
|
+
*/
|
|
261
|
+
accessToken?: string | (() => string);
|
|
262
|
+
basePath?: string;
|
|
263
|
+
withCredentials?: boolean;
|
|
264
|
+
/**
|
|
265
|
+
* Takes care of encoding query- and form-parameters.
|
|
266
|
+
*/
|
|
267
|
+
encoder?: HttpParameterCodec;
|
|
268
|
+
/**
|
|
269
|
+
* Encoding of various path parameter
|
|
270
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
271
|
+
* <p>
|
|
272
|
+
* See {@link README.md} for more details
|
|
273
|
+
* </p>
|
|
274
|
+
*/
|
|
275
|
+
encodeParam: (param: Param) => string;
|
|
276
|
+
/**
|
|
277
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
278
|
+
* document. They should map to the value used for authentication
|
|
279
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
280
|
+
*/
|
|
281
|
+
credentials: {
|
|
282
|
+
[key: string]: string | (() => string | undefined);
|
|
283
|
+
};
|
|
284
|
+
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }?: ConfigurationParameters);
|
|
285
|
+
/**
|
|
286
|
+
* Select the correct content-type to use for a request.
|
|
287
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
288
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
289
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
290
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
291
|
+
*/
|
|
292
|
+
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
293
|
+
/**
|
|
294
|
+
* Select the correct accept content-type to use for a request.
|
|
295
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
296
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
297
|
+
* @param accepts - the array of content types that are available for selection.
|
|
298
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
299
|
+
*/
|
|
300
|
+
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* Check if the given MIME is a JSON MIME.
|
|
303
|
+
* JSON MIME examples:
|
|
304
|
+
* application/json
|
|
305
|
+
* application/json; charset=UTF8
|
|
306
|
+
* APPLICATION/JSON
|
|
307
|
+
* application/vnd.company+json
|
|
308
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
309
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
310
|
+
*/
|
|
311
|
+
isJsonMime(mime: string): boolean;
|
|
312
|
+
lookupCredential(key: string): string | undefined;
|
|
313
|
+
addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders;
|
|
314
|
+
addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams;
|
|
315
|
+
private defaultEncodeParam;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* VRt.Routing [RT]
|
|
320
|
+
*
|
|
321
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
322
|
+
* Contact: support@veeroute.com
|
|
323
|
+
*
|
|
324
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
325
|
+
* Do not edit the class manually.
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
declare class BaseService {
|
|
329
|
+
protected basePath: string;
|
|
330
|
+
defaultHeaders: HttpHeaders;
|
|
331
|
+
configuration: Configuration;
|
|
332
|
+
encoder: HttpParameterCodec;
|
|
333
|
+
constructor(basePath?: string | string[], configuration?: Configuration);
|
|
334
|
+
protected canConsumeForm(consumes: string[]): boolean;
|
|
335
|
+
protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep?: boolean): HttpParams;
|
|
336
|
+
protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep?: boolean): HttpParams;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* VRt.Routing [RT]
|
|
341
|
+
*
|
|
342
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
343
|
+
* Contact: support@veeroute.com
|
|
344
|
+
*
|
|
345
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
346
|
+
* Do not edit the class manually.
|
|
347
|
+
*/
|
|
348
|
+
/**
|
|
349
|
+
* Attribute.
|
|
350
|
+
*/
|
|
351
|
+
interface AttributeRouting {
|
|
352
|
+
[key: string]: any | any;
|
|
353
|
+
/**
|
|
354
|
+
* Attribute\'s key.
|
|
355
|
+
*/
|
|
356
|
+
key: string;
|
|
357
|
+
/**
|
|
358
|
+
* Attribute\'s value.
|
|
359
|
+
*/
|
|
360
|
+
value: string;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* VRt.Routing [RT]
|
|
365
|
+
*
|
|
366
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
367
|
+
* Contact: support@veeroute.com
|
|
368
|
+
*
|
|
369
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
370
|
+
* Do not edit the class manually.
|
|
371
|
+
*/
|
|
372
|
+
/**
|
|
373
|
+
* Service availability result.
|
|
374
|
+
*/
|
|
375
|
+
interface CheckResultRouting {
|
|
376
|
+
[key: string]: any | any;
|
|
377
|
+
/**
|
|
378
|
+
* The current health indicator of the service. * `0.0` means the service is not ready to perform tasks. * `1.0` means the service is fully ready to perform tasks.
|
|
379
|
+
*/
|
|
380
|
+
health: number;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* VRt.Routing [RT]
|
|
385
|
+
*
|
|
386
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
387
|
+
* Contact: support@veeroute.com
|
|
388
|
+
*
|
|
389
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
390
|
+
* Do not edit the class manually.
|
|
391
|
+
*/
|
|
392
|
+
/**
|
|
393
|
+
* Data error by schema.
|
|
394
|
+
*/
|
|
395
|
+
interface SchemaErrorRouting {
|
|
396
|
+
[key: string]: any | any;
|
|
397
|
+
/**
|
|
398
|
+
* Target entity identifier.
|
|
399
|
+
*/
|
|
400
|
+
entity: string | null;
|
|
401
|
+
/**
|
|
402
|
+
* Error message.
|
|
403
|
+
*/
|
|
404
|
+
message: string;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* VRt.Routing [RT]
|
|
409
|
+
*
|
|
410
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
411
|
+
* Contact: support@veeroute.com
|
|
412
|
+
*
|
|
413
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
414
|
+
* Do not edit the class manually.
|
|
415
|
+
*/
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Error details for 400 `Bad Request`.
|
|
419
|
+
*/
|
|
420
|
+
interface General400Routing {
|
|
421
|
+
[key: string]: any | any;
|
|
422
|
+
tracedata: TracedataRouting;
|
|
423
|
+
/**
|
|
424
|
+
* Error message.
|
|
425
|
+
*/
|
|
426
|
+
message?: string | null;
|
|
427
|
+
/**
|
|
428
|
+
* List of syntax errors - data does not match the schema.
|
|
429
|
+
*/
|
|
430
|
+
schema_errors?: Array<SchemaErrorRouting>;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* VRt.Routing [RT]
|
|
435
|
+
*
|
|
436
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
437
|
+
* Contact: support@veeroute.com
|
|
438
|
+
*
|
|
439
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
440
|
+
* Do not edit the class manually.
|
|
441
|
+
*/
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Error details for 402 `Payment Required`.
|
|
445
|
+
*/
|
|
446
|
+
interface General402Routing {
|
|
447
|
+
[key: string]: any | any;
|
|
448
|
+
tracedata: TracedataRouting;
|
|
449
|
+
/**
|
|
450
|
+
* Error message.
|
|
451
|
+
*/
|
|
452
|
+
message?: string | null;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* VRt.Routing [RT]
|
|
457
|
+
*
|
|
458
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
459
|
+
* Contact: support@veeroute.com
|
|
460
|
+
*
|
|
461
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
462
|
+
* Do not edit the class manually.
|
|
463
|
+
*/
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Resource details.
|
|
467
|
+
*/
|
|
468
|
+
interface General404DetailRouting {
|
|
469
|
+
[key: string]: any | any;
|
|
470
|
+
tracedata: TracedataRouting;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* VRt.Routing [RT]
|
|
475
|
+
*
|
|
476
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
477
|
+
* Contact: support@veeroute.com
|
|
478
|
+
*
|
|
479
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
480
|
+
* Do not edit the class manually.
|
|
481
|
+
*/
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* 404 Error details.
|
|
485
|
+
*/
|
|
486
|
+
interface General404Routing {
|
|
487
|
+
[key: string]: any | any;
|
|
488
|
+
/**
|
|
489
|
+
* Resource identifier.
|
|
490
|
+
*/
|
|
491
|
+
resource_key?: string | null;
|
|
492
|
+
detail?: General404DetailRouting | null;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* VRt.Routing [RT]
|
|
497
|
+
*
|
|
498
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
499
|
+
* Contact: support@veeroute.com
|
|
500
|
+
*
|
|
501
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
502
|
+
* Do not edit the class manually.
|
|
503
|
+
*/
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Error details for 429 `Too Many Requests`.
|
|
507
|
+
*/
|
|
508
|
+
interface General429Routing {
|
|
509
|
+
[key: string]: any | any;
|
|
510
|
+
tracedata: TracedataRouting;
|
|
511
|
+
/**
|
|
512
|
+
* Error message.
|
|
513
|
+
*/
|
|
514
|
+
message?: string | null;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* VRt.Routing [RT]
|
|
519
|
+
*
|
|
520
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
521
|
+
* Contact: support@veeroute.com
|
|
522
|
+
*
|
|
523
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
524
|
+
* Do not edit the class manually.
|
|
525
|
+
*/
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Error details for 500 `Internal Server Error`.
|
|
529
|
+
*/
|
|
530
|
+
interface General500Routing {
|
|
531
|
+
[key: string]: any | any;
|
|
532
|
+
tracedata: TracedataRouting;
|
|
533
|
+
/**
|
|
534
|
+
* Error message.
|
|
535
|
+
*/
|
|
536
|
+
message?: string | null;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* VRt.Routing [RT]
|
|
541
|
+
*
|
|
542
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
543
|
+
* Contact: support@veeroute.com
|
|
544
|
+
*
|
|
545
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
546
|
+
* Do not edit the class manually.
|
|
547
|
+
*/
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Geodata usage settings.
|
|
551
|
+
*/
|
|
552
|
+
interface GeoSettingsRouting {
|
|
553
|
+
[key: string]: any | any;
|
|
554
|
+
/**
|
|
555
|
+
* Geodata provider: * `VRT` - geo-data and traffic jams from Veeroute, work all over the world. A specific provider may be specified for a specific region, availability depending on customer settings.
|
|
556
|
+
*/
|
|
557
|
+
geo_provider?: string;
|
|
558
|
+
/**
|
|
559
|
+
* Use toll roads.
|
|
560
|
+
*/
|
|
561
|
+
toll_roads?: boolean;
|
|
562
|
+
/**
|
|
563
|
+
* Use ferry crossing.
|
|
564
|
+
*/
|
|
565
|
+
ferry_crossing?: boolean;
|
|
566
|
+
/**
|
|
567
|
+
* Accounting for traffic during the route planning.
|
|
568
|
+
*/
|
|
569
|
+
traffic_jams?: boolean;
|
|
570
|
+
/**
|
|
571
|
+
* Use for calculating straight line distances. If `false` is specified, distances are calculated by roads. When this parameter is enabled, geo-provider not used and traffic (`traffic_jams`) is automatically disabled.
|
|
572
|
+
*/
|
|
573
|
+
flight_distance?: boolean;
|
|
574
|
+
/**
|
|
575
|
+
* Attributes. Used to add service information.
|
|
576
|
+
*/
|
|
577
|
+
attributes?: Array<AttributeRouting>;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* VRt.Routing [RT]
|
|
582
|
+
*
|
|
583
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
584
|
+
* Contact: support@veeroute.com
|
|
585
|
+
*
|
|
586
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
587
|
+
* Do not edit the class manually.
|
|
588
|
+
*/
|
|
589
|
+
/**
|
|
590
|
+
* Transport types: * `CAR` - car * `TRUCK_1500` - truck with permissible weight 1500 kg * `TRUCK_3000` - truck with permissible weight 3000 kg * `TRUCK_5000` - truck with permissible weight 5000 kg * `TRUCK_10000` - truck with permissible weight 10000 kg * `TRUCK_20000` - truck with permissible weight 20000 kg * `TRUCK_10000_L75_H35_W24_6000` - a truck with a permitted weight of no more than 10,000 kg, dimensions of 7.5 x 3.5 x 2.4 meters, and a permissible axle load of 6,000 kg * `TRUCK_18000_L95_H40_W26_11000` - a truck with a permitted weight of no more than 18,000 kg, dimensions of 9.5 x 4.0 x 2.6 meters, and a permissible axle load of 11,000 kg * `TRUCK_26000_L120_H40_W26_8000` - a truck with a permitted weight of no more than 26,000 kg, dimensions of 12.0 x 4.0 x 2.6 meters, and a permissible axle load of 8000 kg * `TRUCK_GARBAGE_1` - truck for transporting garbage (type 1) * `TRUCK_GARBAGE_2` - truck for transporting garbage (type 2) * `TUK_TUK` - tuk-tuk * `BICYCLE` - bicycle * `PEDESTRIAN` - pedestrian * `PUBLIC_TRANSPORT` - public transport * `TELEPORT` - teleport (instant movement between points) Permissible weight is the weight of the equipped transport with cargo and driver, set by the manufacturer as the maximum allowable.
|
|
591
|
+
*/
|
|
592
|
+
declare enum TransportTypeRouting {
|
|
593
|
+
CAR = "CAR",
|
|
594
|
+
TRUCK_1500 = "TRUCK_1500",
|
|
595
|
+
TRUCK_3000 = "TRUCK_3000",
|
|
596
|
+
TRUCK_5000 = "TRUCK_5000",
|
|
597
|
+
TRUCK_10000 = "TRUCK_10000",
|
|
598
|
+
TRUCK_20000 = "TRUCK_20000",
|
|
599
|
+
TRUCK_10000_L75_H35_W24_6000 = "TRUCK_10000_L75_H35_W24_6000",
|
|
600
|
+
TRUCK_18000_L95_H40_W26_11000 = "TRUCK_18000_L95_H40_W26_11000",
|
|
601
|
+
TRUCK_26000_L120_H40_W26_8000 = "TRUCK_26000_L120_H40_W26_8000",
|
|
602
|
+
TRUCK_GARBAGE_1 = "TRUCK_GARBAGE_1",
|
|
603
|
+
TRUCK_GARBAGE_2 = "TRUCK_GARBAGE_2",
|
|
604
|
+
TUK_TUK = "TUK_TUK",
|
|
605
|
+
BICYCLE = "BICYCLE",
|
|
606
|
+
PEDESTRIAN = "PEDESTRIAN",
|
|
607
|
+
PUBLIC_TRANSPORT = "PUBLIC_TRANSPORT",
|
|
608
|
+
TELEPORT = "TELEPORT"
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* VRt.Routing [RT]
|
|
613
|
+
*
|
|
614
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
615
|
+
* Contact: support@veeroute.com
|
|
616
|
+
*
|
|
617
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
618
|
+
* Do not edit the class manually.
|
|
619
|
+
*/
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Task for calculating a matrix.
|
|
623
|
+
*/
|
|
624
|
+
interface MatrixTaskRouting {
|
|
625
|
+
[key: string]: any | any;
|
|
626
|
+
/**
|
|
627
|
+
* Array of geographical points to calculate the distances and times between them. The for all matrices (with different `transport_type`) must be in the same order.
|
|
628
|
+
*/
|
|
629
|
+
waypoints: Array<RoutingMatrixWaypointRouting>;
|
|
630
|
+
transport_type?: TransportTypeRouting;
|
|
631
|
+
geo_settings?: GeoSettingsRouting;
|
|
632
|
+
/**
|
|
633
|
+
* Departure date and time according to the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6).
|
|
634
|
+
*/
|
|
635
|
+
departure_time?: string | null;
|
|
636
|
+
/**
|
|
637
|
+
* The name of the dataset. A technical field that does not affect calculation.
|
|
638
|
+
*/
|
|
639
|
+
dataset_name?: string;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* VRt.Routing [RT]
|
|
644
|
+
*
|
|
645
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
646
|
+
* Contact: support@veeroute.com
|
|
647
|
+
*
|
|
648
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
649
|
+
* Do not edit the class manually.
|
|
650
|
+
*/
|
|
651
|
+
/**
|
|
652
|
+
* Time window.
|
|
653
|
+
*/
|
|
654
|
+
interface TimeWindowRouting {
|
|
655
|
+
[key: string]: any | any;
|
|
656
|
+
/**
|
|
657
|
+
* Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.
|
|
658
|
+
*/
|
|
659
|
+
from: string;
|
|
660
|
+
/**
|
|
661
|
+
* Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.
|
|
662
|
+
*/
|
|
663
|
+
to: string;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* VRt.Routing [RT]
|
|
668
|
+
*
|
|
669
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
670
|
+
* Contact: support@veeroute.com
|
|
671
|
+
*
|
|
672
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
673
|
+
* Do not edit the class manually.
|
|
674
|
+
*/
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* General route statistics.
|
|
678
|
+
*/
|
|
679
|
+
interface RouteStatisticsRouting {
|
|
680
|
+
[key: string]: any | any;
|
|
681
|
+
/**
|
|
682
|
+
* Time window for the beginning and end of the movement.
|
|
683
|
+
*/
|
|
684
|
+
time_window: TimeWindowRouting;
|
|
685
|
+
/**
|
|
686
|
+
* Total length, in meters.
|
|
687
|
+
*/
|
|
688
|
+
distance: number;
|
|
689
|
+
/**
|
|
690
|
+
* Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
|
|
691
|
+
*/
|
|
692
|
+
duration: string;
|
|
693
|
+
/**
|
|
694
|
+
* Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
|
|
695
|
+
*/
|
|
696
|
+
stopping_time: string;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* VRt.Routing [RT]
|
|
701
|
+
*
|
|
702
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
703
|
+
* Contact: support@veeroute.com
|
|
704
|
+
*
|
|
705
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
706
|
+
* Do not edit the class manually.
|
|
707
|
+
*/
|
|
708
|
+
/**
|
|
709
|
+
* A geographic point with a time reference.
|
|
710
|
+
*/
|
|
711
|
+
interface TrackpointRouting {
|
|
712
|
+
[key: string]: any | any;
|
|
713
|
+
/**
|
|
714
|
+
* Latitude in degrees.
|
|
715
|
+
*/
|
|
716
|
+
latitude: number;
|
|
717
|
+
/**
|
|
718
|
+
* Longitude in degrees.
|
|
719
|
+
*/
|
|
720
|
+
longitude: number;
|
|
721
|
+
/**
|
|
722
|
+
* Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.
|
|
723
|
+
*/
|
|
724
|
+
time?: string | null;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* VRt.Routing [RT]
|
|
729
|
+
*
|
|
730
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
731
|
+
* Contact: support@veeroute.com
|
|
732
|
+
*
|
|
733
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
734
|
+
* Do not edit the class manually.
|
|
735
|
+
*/
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Route segment step (a separate step for a separate type of transports).
|
|
739
|
+
*/
|
|
740
|
+
interface RouteStepRouting {
|
|
741
|
+
[key: string]: any | any;
|
|
742
|
+
transport_type: TransportTypeRouting;
|
|
743
|
+
/**
|
|
744
|
+
* An array of geographic points with time reference between which a path is built.
|
|
745
|
+
*/
|
|
746
|
+
polyline: Array<TrackpointRouting>;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* VRt.Routing [RT]
|
|
751
|
+
*
|
|
752
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
753
|
+
* Contact: support@veeroute.com
|
|
754
|
+
*
|
|
755
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
756
|
+
* Do not edit the class manually.
|
|
757
|
+
*/
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* The route leg between two locations.
|
|
761
|
+
*/
|
|
762
|
+
interface RouteLegRouting {
|
|
763
|
+
[key: string]: any | any;
|
|
764
|
+
/**
|
|
765
|
+
* Steps required to pass a route leg.
|
|
766
|
+
*/
|
|
767
|
+
steps: Array<RouteStepRouting>;
|
|
768
|
+
/**
|
|
769
|
+
* Name of the departure point. Filled in if specified in the source data.
|
|
770
|
+
*/
|
|
771
|
+
departure_name?: string | null;
|
|
772
|
+
/**
|
|
773
|
+
* Name of the destination. Filled in if specified in the source data.
|
|
774
|
+
*/
|
|
775
|
+
destination_name?: string | null;
|
|
776
|
+
statistics: RouteStatisticsRouting;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* VRt.Routing [RT]
|
|
781
|
+
*
|
|
782
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
783
|
+
* Contact: support@veeroute.com
|
|
784
|
+
*
|
|
785
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
786
|
+
* Do not edit the class manually.
|
|
787
|
+
*/
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Information about the planned route.
|
|
791
|
+
*/
|
|
792
|
+
interface RouteRouting {
|
|
793
|
+
[key: string]: any | any;
|
|
794
|
+
/**
|
|
795
|
+
* Route segments between locations specified in the parameter `waypoints`.
|
|
796
|
+
*/
|
|
797
|
+
legs: Array<RouteLegRouting>;
|
|
798
|
+
statistics: RouteStatisticsRouting;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* VRt.Routing [RT]
|
|
803
|
+
*
|
|
804
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
805
|
+
* Contact: support@veeroute.com
|
|
806
|
+
*
|
|
807
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
808
|
+
* Do not edit the class manually.
|
|
809
|
+
*/
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Routing result.
|
|
813
|
+
*/
|
|
814
|
+
interface RouteResultRouting {
|
|
815
|
+
[key: string]: any | any;
|
|
816
|
+
tracedata: TracedataRouting;
|
|
817
|
+
route: RouteRouting;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* VRt.Routing [RT]
|
|
822
|
+
*
|
|
823
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
824
|
+
* Contact: support@veeroute.com
|
|
825
|
+
*
|
|
826
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
827
|
+
* Do not edit the class manually.
|
|
828
|
+
*/
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* A waypoint with the time of the stop at it.
|
|
832
|
+
*/
|
|
833
|
+
interface RouteWaypointRouting {
|
|
834
|
+
[key: string]: any | any;
|
|
835
|
+
geopoint: GeopointRouting;
|
|
836
|
+
/**
|
|
837
|
+
* Name of the point. Can be used as an identifier to match the task and the calculation result.
|
|
838
|
+
*/
|
|
839
|
+
name?: string | null;
|
|
840
|
+
/**
|
|
841
|
+
* Departure date and time in [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If specified, replaces the estimated time. If it is set for one point, it must be set for all.
|
|
842
|
+
*/
|
|
843
|
+
departure_time?: string | null;
|
|
844
|
+
/**
|
|
845
|
+
* Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
|
|
846
|
+
*/
|
|
847
|
+
duration?: string | null;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* VRt.Routing [RT]
|
|
852
|
+
*
|
|
853
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
854
|
+
* Contact: support@veeroute.com
|
|
855
|
+
*
|
|
856
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
857
|
+
* Do not edit the class manually.
|
|
858
|
+
*/
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Task for route planning. The departure time considers traffic jams.
|
|
862
|
+
*/
|
|
863
|
+
interface RouteTaskRouting {
|
|
864
|
+
[key: string]: any | any;
|
|
865
|
+
/**
|
|
866
|
+
* Array of geographical points to build path between them.
|
|
867
|
+
*/
|
|
868
|
+
waypoints: Array<RouteWaypointRouting>;
|
|
869
|
+
transport_type?: TransportTypeRouting;
|
|
870
|
+
geo_settings?: GeoSettingsRouting;
|
|
871
|
+
/**
|
|
872
|
+
* Departure date and time according to the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6).
|
|
873
|
+
*/
|
|
874
|
+
departure_time?: string | null;
|
|
875
|
+
/**
|
|
876
|
+
* Timezone.
|
|
877
|
+
*/
|
|
878
|
+
result_timezone?: number;
|
|
879
|
+
/**
|
|
880
|
+
* Building a detailed route - adds paths from points that are not on roads to nearby roads.
|
|
881
|
+
*/
|
|
882
|
+
detail?: boolean;
|
|
883
|
+
/**
|
|
884
|
+
* Return a complete list of route segments. If the option is disabled, a short list is returned for simplified route display.
|
|
885
|
+
*/
|
|
886
|
+
full_segments?: boolean;
|
|
887
|
+
/**
|
|
888
|
+
* Generate a polyline between points.
|
|
889
|
+
*/
|
|
890
|
+
polyline?: boolean;
|
|
891
|
+
/**
|
|
892
|
+
* Generate times at intermediate points along the track.
|
|
893
|
+
*/
|
|
894
|
+
trackpoint_time?: boolean;
|
|
895
|
+
/**
|
|
896
|
+
* The name of the dataset. A technical field that does not affect calculation.
|
|
897
|
+
*/
|
|
898
|
+
dataset_name?: string;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* VRt.Routing [RT]
|
|
903
|
+
*
|
|
904
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
905
|
+
* Contact: support@veeroute.com
|
|
906
|
+
*
|
|
907
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
908
|
+
* Do not edit the class manually.
|
|
909
|
+
*/
|
|
910
|
+
/**
|
|
911
|
+
* Service version.
|
|
912
|
+
*/
|
|
913
|
+
interface VersionResultRouting {
|
|
914
|
+
[key: string]: any | any;
|
|
915
|
+
/**
|
|
916
|
+
* Product version. Within a single version, compatibility of common data structures between services is guaranteed. A version change indicates changes that are incompatible with previous versions of the product (and all services).
|
|
917
|
+
*/
|
|
918
|
+
major: number;
|
|
919
|
+
/**
|
|
920
|
+
* Minor version of the service. A version change indicates new functionality. The update is backward compatible with the major version of the service.
|
|
921
|
+
*/
|
|
922
|
+
minor: number;
|
|
923
|
+
/**
|
|
924
|
+
* Build version. Contains backwards compatible bug fixes and docs update.
|
|
925
|
+
*/
|
|
926
|
+
build: string;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* VRt.Routing [RT]
|
|
931
|
+
*
|
|
932
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
933
|
+
* Contact: support@veeroute.com
|
|
934
|
+
*
|
|
935
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
936
|
+
* Do not edit the class manually.
|
|
937
|
+
*/
|
|
938
|
+
|
|
939
|
+
interface RunMatrixCalculationRequestParams {
|
|
940
|
+
matrixTaskRouting: MatrixTaskRouting;
|
|
941
|
+
}
|
|
942
|
+
interface MatrixServiceInterface {
|
|
943
|
+
defaultHeaders: HttpHeaders;
|
|
944
|
+
configuration: Configuration;
|
|
945
|
+
/**
|
|
946
|
+
* Time-distance matrix
|
|
947
|
+
* Creating time-distance matrices between each pair of locations. The result of this method may slightly differ from the `route` method.
|
|
948
|
+
* @param requestParameters
|
|
949
|
+
*/
|
|
950
|
+
runMatrixCalculation(requestParameters: RunMatrixCalculationRequestParams, extraHttpRequestParams?: any): Observable<MatrixResultRouting>;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
declare class MatrixService extends BaseService implements MatrixServiceInterface {
|
|
954
|
+
protected httpClient: HttpClient;
|
|
955
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
956
|
+
/**
|
|
957
|
+
* Time-distance matrix
|
|
958
|
+
* Creating time-distance matrices between each pair of locations. The result of this method may slightly differ from the `route` method.
|
|
959
|
+
* @param requestParameters
|
|
960
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
961
|
+
* @param reportProgress flag to report request and response progress.
|
|
962
|
+
*/
|
|
963
|
+
runMatrixCalculation(requestParameters: RunMatrixCalculationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
964
|
+
httpHeaderAccept?: 'application/json';
|
|
965
|
+
context?: HttpContext;
|
|
966
|
+
transferCache?: boolean;
|
|
967
|
+
}): Observable<MatrixResultRouting>;
|
|
968
|
+
runMatrixCalculation(requestParameters: RunMatrixCalculationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
969
|
+
httpHeaderAccept?: 'application/json';
|
|
970
|
+
context?: HttpContext;
|
|
971
|
+
transferCache?: boolean;
|
|
972
|
+
}): Observable<HttpResponse<MatrixResultRouting>>;
|
|
973
|
+
runMatrixCalculation(requestParameters: RunMatrixCalculationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
974
|
+
httpHeaderAccept?: 'application/json';
|
|
975
|
+
context?: HttpContext;
|
|
976
|
+
transferCache?: boolean;
|
|
977
|
+
}): Observable<HttpEvent<MatrixResultRouting>>;
|
|
978
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatrixService, [null, { optional: true; }, { optional: true; }]>;
|
|
979
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatrixService>;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* VRt.Routing [RT]
|
|
984
|
+
*
|
|
985
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
986
|
+
* Contact: support@veeroute.com
|
|
987
|
+
*
|
|
988
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
989
|
+
* Do not edit the class manually.
|
|
990
|
+
*/
|
|
991
|
+
|
|
992
|
+
interface RunRouteCalculationRequestParams {
|
|
993
|
+
routeTaskRouting: RouteTaskRouting;
|
|
994
|
+
}
|
|
995
|
+
interface RouteServiceInterface {
|
|
996
|
+
defaultHeaders: HttpHeaders;
|
|
997
|
+
configuration: Configuration;
|
|
998
|
+
/**
|
|
999
|
+
* Route between points
|
|
1000
|
+
* Constructing a route between points, taking into account the specified order and time at each stop. When specifying the departure time `departure_time`, traffic jams are taken into account.
|
|
1001
|
+
* @param requestParameters
|
|
1002
|
+
*/
|
|
1003
|
+
runRouteCalculation(requestParameters: RunRouteCalculationRequestParams, extraHttpRequestParams?: any): Observable<RouteResultRouting>;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
declare class RouteService extends BaseService implements RouteServiceInterface {
|
|
1007
|
+
protected httpClient: HttpClient;
|
|
1008
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1009
|
+
/**
|
|
1010
|
+
* Route between points
|
|
1011
|
+
* Constructing a route between points, taking into account the specified order and time at each stop. When specifying the departure time `departure_time`, traffic jams are taken into account.
|
|
1012
|
+
* @param requestParameters
|
|
1013
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1014
|
+
* @param reportProgress flag to report request and response progress.
|
|
1015
|
+
*/
|
|
1016
|
+
runRouteCalculation(requestParameters: RunRouteCalculationRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1017
|
+
httpHeaderAccept?: 'application/json';
|
|
1018
|
+
context?: HttpContext;
|
|
1019
|
+
transferCache?: boolean;
|
|
1020
|
+
}): Observable<RouteResultRouting>;
|
|
1021
|
+
runRouteCalculation(requestParameters: RunRouteCalculationRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1022
|
+
httpHeaderAccept?: 'application/json';
|
|
1023
|
+
context?: HttpContext;
|
|
1024
|
+
transferCache?: boolean;
|
|
1025
|
+
}): Observable<HttpResponse<RouteResultRouting>>;
|
|
1026
|
+
runRouteCalculation(requestParameters: RunRouteCalculationRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1027
|
+
httpHeaderAccept?: 'application/json';
|
|
1028
|
+
context?: HttpContext;
|
|
1029
|
+
transferCache?: boolean;
|
|
1030
|
+
}): Observable<HttpEvent<RouteResultRouting>>;
|
|
1031
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouteService, [null, { optional: true; }, { optional: true; }]>;
|
|
1032
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RouteService>;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* VRt.Routing [RT]
|
|
1037
|
+
*
|
|
1038
|
+
* The version of the OpenAPI document: 7.34.3275
|
|
1039
|
+
* Contact: support@veeroute.com
|
|
1040
|
+
*
|
|
1041
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
1042
|
+
* Do not edit the class manually.
|
|
1043
|
+
*/
|
|
1044
|
+
|
|
1045
|
+
interface FileRequestParams {
|
|
1046
|
+
filename: string;
|
|
1047
|
+
}
|
|
1048
|
+
interface SystemServiceInterface {
|
|
1049
|
+
defaultHeaders: HttpHeaders;
|
|
1050
|
+
configuration: Configuration;
|
|
1051
|
+
/**
|
|
1052
|
+
* Checking the availability
|
|
1053
|
+
* Checking the service availability.
|
|
1054
|
+
*/
|
|
1055
|
+
check(extraHttpRequestParams?: any): Observable<CheckResultRouting>;
|
|
1056
|
+
/**
|
|
1057
|
+
* Getting the documentation
|
|
1058
|
+
* Getting the file with this service documentation.
|
|
1059
|
+
* @param requestParameters
|
|
1060
|
+
*/
|
|
1061
|
+
file(requestParameters: FileRequestParams, extraHttpRequestParams?: any): Observable<string>;
|
|
1062
|
+
/**
|
|
1063
|
+
* Getting the service version
|
|
1064
|
+
* Getting the service version.
|
|
1065
|
+
*/
|
|
1066
|
+
version(extraHttpRequestParams?: any): Observable<VersionResultRouting>;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
declare class SystemService extends BaseService implements SystemServiceInterface {
|
|
1070
|
+
protected httpClient: HttpClient;
|
|
1071
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1072
|
+
/**
|
|
1073
|
+
* Checking the availability
|
|
1074
|
+
* Checking the service availability.
|
|
1075
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1076
|
+
* @param reportProgress flag to report request and response progress.
|
|
1077
|
+
*/
|
|
1078
|
+
check(observe?: 'body', reportProgress?: boolean, options?: {
|
|
1079
|
+
httpHeaderAccept?: 'application/json';
|
|
1080
|
+
context?: HttpContext;
|
|
1081
|
+
transferCache?: boolean;
|
|
1082
|
+
}): Observable<CheckResultRouting>;
|
|
1083
|
+
check(observe?: 'response', reportProgress?: boolean, options?: {
|
|
1084
|
+
httpHeaderAccept?: 'application/json';
|
|
1085
|
+
context?: HttpContext;
|
|
1086
|
+
transferCache?: boolean;
|
|
1087
|
+
}): Observable<HttpResponse<CheckResultRouting>>;
|
|
1088
|
+
check(observe?: 'events', reportProgress?: boolean, options?: {
|
|
1089
|
+
httpHeaderAccept?: 'application/json';
|
|
1090
|
+
context?: HttpContext;
|
|
1091
|
+
transferCache?: boolean;
|
|
1092
|
+
}): Observable<HttpEvent<CheckResultRouting>>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Getting the documentation
|
|
1095
|
+
* Getting the file with this service documentation.
|
|
1096
|
+
* @param requestParameters
|
|
1097
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1098
|
+
* @param reportProgress flag to report request and response progress.
|
|
1099
|
+
*/
|
|
1100
|
+
file(requestParameters: FileRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1101
|
+
httpHeaderAccept?: 'text/html' | 'text/plain' | 'application/json';
|
|
1102
|
+
context?: HttpContext;
|
|
1103
|
+
transferCache?: boolean;
|
|
1104
|
+
}): Observable<string>;
|
|
1105
|
+
file(requestParameters: FileRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1106
|
+
httpHeaderAccept?: 'text/html' | 'text/plain' | 'application/json';
|
|
1107
|
+
context?: HttpContext;
|
|
1108
|
+
transferCache?: boolean;
|
|
1109
|
+
}): Observable<HttpResponse<string>>;
|
|
1110
|
+
file(requestParameters: FileRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1111
|
+
httpHeaderAccept?: 'text/html' | 'text/plain' | 'application/json';
|
|
1112
|
+
context?: HttpContext;
|
|
1113
|
+
transferCache?: boolean;
|
|
1114
|
+
}): Observable<HttpEvent<string>>;
|
|
1115
|
+
/**
|
|
1116
|
+
* Getting the service version
|
|
1117
|
+
* Getting the service version.
|
|
1118
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1119
|
+
* @param reportProgress flag to report request and response progress.
|
|
1120
|
+
*/
|
|
1121
|
+
version(observe?: 'body', reportProgress?: boolean, options?: {
|
|
1122
|
+
httpHeaderAccept?: 'application/json';
|
|
1123
|
+
context?: HttpContext;
|
|
1124
|
+
transferCache?: boolean;
|
|
1125
|
+
}): Observable<VersionResultRouting>;
|
|
1126
|
+
version(observe?: 'response', reportProgress?: boolean, options?: {
|
|
1127
|
+
httpHeaderAccept?: 'application/json';
|
|
1128
|
+
context?: HttpContext;
|
|
1129
|
+
transferCache?: boolean;
|
|
1130
|
+
}): Observable<HttpResponse<VersionResultRouting>>;
|
|
1131
|
+
version(observe?: 'events', reportProgress?: boolean, options?: {
|
|
1132
|
+
httpHeaderAccept?: 'application/json';
|
|
1133
|
+
context?: HttpContext;
|
|
1134
|
+
transferCache?: boolean;
|
|
1135
|
+
}): Observable<HttpEvent<VersionResultRouting>>;
|
|
1136
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SystemService, [null, { optional: true; }, { optional: true; }]>;
|
|
1137
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SystemService>;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
declare const APIS: (typeof MatrixService | typeof RouteService | typeof SystemService)[];
|
|
1141
|
+
|
|
1142
|
+
declare const BASE_PATH: InjectionToken<string>;
|
|
1143
|
+
declare const COLLECTION_FORMATS: {
|
|
1144
|
+
csv: string;
|
|
1145
|
+
tsv: string;
|
|
1146
|
+
ssv: string;
|
|
1147
|
+
pipes: string;
|
|
1148
|
+
};
|
|
1149
|
+
|
|
1150
|
+
declare class LssRoutingApiModule {
|
|
1151
|
+
static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<LssRoutingApiModule>;
|
|
1152
|
+
constructor(parentModule: LssRoutingApiModule, http: HttpClient);
|
|
1153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LssRoutingApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
|
|
1154
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LssRoutingApiModule, never, never, never>;
|
|
1155
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LssRoutingApiModule>;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
1159
|
+
|
|
1160
|
+
export { APIS, BASE_PATH, COLLECTION_FORMATS, Configuration, LssRoutingApiModule, MatrixService, RouteService, ServiceRouting, SystemService, TransportTypeRouting, provideApi };
|
|
1161
|
+
export type { AttributeRouting, CheckResultRouting, ConfigurationParameters, DataFormat, DataType, FileRequestParams, General400Routing, General402Routing, General404DetailRouting, General404Routing, General429Routing, General500Routing, GeoSettingsRouting, GeopointRouting, MatrixResultRouting, MatrixServiceInterface, MatrixTaskRouting, Param, ParamLocation, ParamStyle, RouteLegRouting, RouteResultRouting, RouteRouting, RouteServiceInterface, RouteStatisticsRouting, RouteStepRouting, RouteTaskRouting, RouteWaypointRouting, RoutingMatrixRouting, RoutingMatrixWaypointRouting, RunMatrixCalculationRequestParams, RunRouteCalculationRequestParams, SchemaErrorRouting, StandardDataFormat, StandardDataType, StandardParamStyle, SystemServiceInterface, TimeWindowRouting, TracedataRouting, TrackpointRouting, VersionResultRouting };
|