@azure-rest/maps-route 1.0.0-beta.3 → 1.0.0-beta.5
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/LICENSE +4 -4
- package/README.md +81 -67
- package/dist/browser/generated/clientDefinitions.d.ts +617 -0
- package/dist/browser/generated/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/generated/clientDefinitions.js +4 -0
- package/dist/browser/generated/clientDefinitions.js.map +1 -0
- package/dist/browser/generated/index.d.ts +12 -0
- package/dist/browser/generated/index.d.ts.map +1 -0
- package/dist/browser/generated/index.js +14 -0
- package/dist/browser/generated/index.js.map +1 -0
- package/dist/browser/generated/isUnexpected.d.ts +7 -0
- package/dist/browser/generated/isUnexpected.d.ts.map +1 -0
- package/dist/browser/generated/isUnexpected.js +79 -0
- package/dist/browser/generated/isUnexpected.js.map +1 -0
- package/dist/browser/generated/logger.d.ts +2 -0
- package/dist/browser/generated/logger.d.ts.map +1 -0
- package/dist/browser/generated/logger.js +5 -0
- package/dist/browser/generated/logger.js.map +1 -0
- package/dist/browser/generated/mapsRouteClient.d.ts +15 -0
- package/dist/browser/generated/mapsRouteClient.d.ts.map +1 -0
- package/dist/browser/generated/mapsRouteClient.js +42 -0
- package/dist/browser/generated/mapsRouteClient.js.map +1 -0
- package/dist/browser/generated/models.d.ts +130 -0
- package/dist/browser/generated/models.d.ts.map +1 -0
- package/dist/browser/generated/models.js +4 -0
- package/dist/browser/generated/models.js.map +1 -0
- package/dist/browser/generated/outputModels.d.ts +286 -0
- package/dist/browser/generated/outputModels.d.ts.map +1 -0
- package/dist/browser/generated/outputModels.js +4 -0
- package/dist/browser/generated/outputModels.js.map +1 -0
- package/dist/browser/generated/parameters.d.ts +937 -0
- package/dist/browser/generated/parameters.d.ts.map +1 -0
- package/dist/browser/generated/parameters.js +4 -0
- package/dist/browser/generated/parameters.js.map +1 -0
- package/dist/browser/generated/pollingHelper.d.ts +76 -0
- package/dist/browser/generated/pollingHelper.d.ts.map +1 -0
- package/dist/browser/generated/pollingHelper.js +105 -0
- package/dist/browser/generated/pollingHelper.js.map +1 -0
- package/dist/browser/generated/responses.d.ts +1409 -0
- package/dist/browser/generated/responses.d.ts.map +1 -0
- package/dist/browser/generated/responses.js +4 -0
- package/dist/browser/generated/responses.js.map +1 -0
- package/dist/browser/generated/serializeHelper.d.ts +2 -0
- package/dist/browser/generated/serializeHelper.d.ts.map +1 -0
- package/dist/browser/generated/serializeHelper.js +13 -0
- package/dist/browser/generated/serializeHelper.js.map +1 -0
- package/dist/browser/helpers.d.ts +18 -0
- package/dist/browser/helpers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/helpers.js +1 -1
- package/dist/browser/helpers.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +7 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/mapsRoute.d.ts +53 -0
- package/dist/browser/mapsRoute.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/mapsRoute.js +5 -5
- package/dist/browser/mapsRoute.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/commonjs/generated/clientDefinitions.d.ts +617 -0
- package/dist/commonjs/generated/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/generated/clientDefinitions.js +5 -0
- package/dist/commonjs/generated/clientDefinitions.js.map +1 -0
- package/dist/commonjs/generated/index.d.ts +12 -0
- package/dist/commonjs/generated/index.d.ts.map +1 -0
- package/dist/commonjs/generated/index.js +17 -0
- package/dist/commonjs/generated/index.js.map +1 -0
- package/dist/commonjs/generated/isUnexpected.d.ts +7 -0
- package/dist/commonjs/generated/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/generated/isUnexpected.js +82 -0
- package/dist/commonjs/generated/isUnexpected.js.map +1 -0
- package/dist/commonjs/generated/logger.d.ts +2 -0
- package/dist/commonjs/generated/logger.d.ts.map +1 -0
- package/dist/commonjs/generated/logger.js +8 -0
- package/dist/commonjs/generated/logger.js.map +1 -0
- package/dist/commonjs/generated/mapsRouteClient.d.ts +15 -0
- package/dist/commonjs/generated/mapsRouteClient.d.ts.map +1 -0
- package/dist/commonjs/generated/mapsRouteClient.js +45 -0
- package/dist/commonjs/generated/mapsRouteClient.js.map +1 -0
- package/dist/commonjs/generated/models.d.ts +130 -0
- package/dist/commonjs/generated/models.d.ts.map +1 -0
- package/dist/commonjs/generated/models.js +5 -0
- package/dist/commonjs/generated/models.js.map +1 -0
- package/dist/commonjs/generated/outputModels.d.ts +286 -0
- package/dist/commonjs/generated/outputModels.d.ts.map +1 -0
- package/dist/commonjs/generated/outputModels.js +5 -0
- package/dist/commonjs/generated/outputModels.js.map +1 -0
- package/dist/commonjs/generated/parameters.d.ts +937 -0
- package/dist/commonjs/generated/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/parameters.js +5 -0
- package/dist/commonjs/generated/parameters.js.map +1 -0
- package/dist/commonjs/generated/pollingHelper.d.ts +76 -0
- package/dist/commonjs/generated/pollingHelper.d.ts.map +1 -0
- package/dist/commonjs/generated/pollingHelper.js +108 -0
- package/dist/commonjs/generated/pollingHelper.js.map +1 -0
- package/dist/commonjs/generated/responses.d.ts +1409 -0
- package/dist/commonjs/generated/responses.d.ts.map +1 -0
- package/dist/commonjs/generated/responses.js +5 -0
- package/dist/commonjs/generated/responses.js.map +1 -0
- package/dist/commonjs/generated/serializeHelper.d.ts +2 -0
- package/dist/commonjs/generated/serializeHelper.d.ts.map +1 -0
- package/dist/commonjs/generated/serializeHelper.js +16 -0
- package/dist/commonjs/generated/serializeHelper.js.map +1 -0
- package/dist/commonjs/helpers.d.ts +18 -0
- package/dist/commonjs/helpers.d.ts.map +1 -0
- package/dist/commonjs/helpers.js +47 -0
- package/dist/commonjs/helpers.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +10 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/mapsRoute.d.ts +53 -0
- package/dist/commonjs/mapsRoute.d.ts.map +1 -0
- package/dist/commonjs/mapsRoute.js +44 -0
- package/dist/commonjs/mapsRoute.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/generated/clientDefinitions.d.ts +617 -0
- package/dist/esm/generated/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/generated/clientDefinitions.js +4 -0
- package/dist/esm/generated/clientDefinitions.js.map +1 -0
- package/dist/esm/generated/index.d.ts +12 -0
- package/dist/esm/generated/index.d.ts.map +1 -0
- package/dist/esm/generated/index.js +14 -0
- package/dist/esm/generated/index.js.map +1 -0
- package/dist/esm/generated/isUnexpected.d.ts +7 -0
- package/dist/esm/generated/isUnexpected.d.ts.map +1 -0
- package/dist/esm/generated/isUnexpected.js +79 -0
- package/dist/esm/generated/isUnexpected.js.map +1 -0
- package/dist/esm/generated/logger.d.ts +2 -0
- package/dist/esm/generated/logger.d.ts.map +1 -0
- package/dist/esm/generated/logger.js +5 -0
- package/dist/esm/generated/logger.js.map +1 -0
- package/dist/esm/generated/mapsRouteClient.d.ts +15 -0
- package/dist/esm/generated/mapsRouteClient.d.ts.map +1 -0
- package/dist/esm/generated/mapsRouteClient.js +42 -0
- package/dist/esm/generated/mapsRouteClient.js.map +1 -0
- package/dist/esm/generated/models.d.ts +130 -0
- package/dist/esm/generated/models.d.ts.map +1 -0
- package/dist/esm/generated/models.js +4 -0
- package/dist/esm/generated/models.js.map +1 -0
- package/dist/esm/generated/outputModels.d.ts +286 -0
- package/dist/esm/generated/outputModels.d.ts.map +1 -0
- package/dist/esm/generated/outputModels.js +4 -0
- package/dist/esm/generated/outputModels.js.map +1 -0
- package/dist/esm/generated/parameters.d.ts +937 -0
- package/dist/esm/generated/parameters.d.ts.map +1 -0
- package/dist/esm/generated/parameters.js +4 -0
- package/dist/esm/generated/parameters.js.map +1 -0
- package/dist/esm/generated/pollingHelper.d.ts +76 -0
- package/dist/esm/generated/pollingHelper.d.ts.map +1 -0
- package/dist/esm/generated/pollingHelper.js +105 -0
- package/dist/esm/generated/pollingHelper.js.map +1 -0
- package/dist/esm/generated/responses.d.ts +1409 -0
- package/dist/esm/generated/responses.d.ts.map +1 -0
- package/dist/esm/generated/responses.js +4 -0
- package/dist/esm/generated/responses.js.map +1 -0
- package/dist/esm/generated/serializeHelper.d.ts +2 -0
- package/dist/esm/generated/serializeHelper.d.ts.map +1 -0
- package/dist/esm/generated/serializeHelper.js +13 -0
- package/dist/esm/generated/serializeHelper.js.map +1 -0
- package/dist/esm/helpers.d.ts +18 -0
- package/dist/esm/helpers.d.ts.map +1 -0
- package/dist/esm/helpers.js +43 -0
- package/dist/esm/helpers.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/mapsRoute.d.ts +53 -0
- package/dist/esm/mapsRoute.d.ts.map +1 -0
- package/dist/esm/mapsRoute.js +40 -0
- package/dist/esm/mapsRoute.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/react-native/generated/clientDefinitions.d.ts +617 -0
- package/dist/react-native/generated/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/generated/clientDefinitions.js +4 -0
- package/dist/react-native/generated/clientDefinitions.js.map +1 -0
- package/dist/react-native/generated/index.d.ts +12 -0
- package/dist/react-native/generated/index.d.ts.map +1 -0
- package/dist/react-native/generated/index.js +14 -0
- package/dist/react-native/generated/index.js.map +1 -0
- package/dist/react-native/generated/isUnexpected.d.ts +7 -0
- package/dist/react-native/generated/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/generated/isUnexpected.js +79 -0
- package/dist/react-native/generated/isUnexpected.js.map +1 -0
- package/dist/react-native/generated/logger.d.ts +2 -0
- package/dist/react-native/generated/logger.d.ts.map +1 -0
- package/dist/react-native/generated/logger.js +5 -0
- package/dist/react-native/generated/logger.js.map +1 -0
- package/dist/react-native/generated/mapsRouteClient.d.ts +15 -0
- package/dist/react-native/generated/mapsRouteClient.d.ts.map +1 -0
- package/dist/react-native/generated/mapsRouteClient.js +42 -0
- package/dist/react-native/generated/mapsRouteClient.js.map +1 -0
- package/dist/react-native/generated/models.d.ts +130 -0
- package/dist/react-native/generated/models.d.ts.map +1 -0
- package/dist/react-native/generated/models.js +4 -0
- package/dist/react-native/generated/models.js.map +1 -0
- package/dist/react-native/generated/outputModels.d.ts +286 -0
- package/dist/react-native/generated/outputModels.d.ts.map +1 -0
- package/dist/react-native/generated/outputModels.js +4 -0
- package/dist/react-native/generated/outputModels.js.map +1 -0
- package/dist/react-native/generated/parameters.d.ts +937 -0
- package/dist/react-native/generated/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/parameters.js +4 -0
- package/dist/react-native/generated/parameters.js.map +1 -0
- package/dist/react-native/generated/pollingHelper.d.ts +76 -0
- package/dist/react-native/generated/pollingHelper.d.ts.map +1 -0
- package/dist/react-native/generated/pollingHelper.js +105 -0
- package/dist/react-native/generated/pollingHelper.js.map +1 -0
- package/dist/react-native/generated/responses.d.ts +1409 -0
- package/dist/react-native/generated/responses.d.ts.map +1 -0
- package/dist/react-native/generated/responses.js +4 -0
- package/dist/react-native/generated/responses.js.map +1 -0
- package/dist/react-native/generated/serializeHelper.d.ts +2 -0
- package/dist/react-native/generated/serializeHelper.d.ts.map +1 -0
- package/dist/react-native/generated/serializeHelper.js +13 -0
- package/dist/react-native/generated/serializeHelper.js.map +1 -0
- package/dist/react-native/helpers.d.ts +18 -0
- package/dist/react-native/helpers.d.ts.map +1 -0
- package/dist/react-native/helpers.js +43 -0
- package/dist/react-native/helpers.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +7 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/mapsRoute.d.ts +53 -0
- package/dist/react-native/mapsRoute.d.ts.map +1 -0
- package/dist/react-native/mapsRoute.js +40 -0
- package/dist/react-native/mapsRoute.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/package.json +80 -63
- package/dist/index.js +0 -257
- package/dist/index.js.map +0 -1
- package/dist-esm/src/generated/clientDefinitions.js +0 -4
- package/dist-esm/src/generated/clientDefinitions.js.map +0 -1
- package/dist-esm/src/generated/index.js +0 -13
- package/dist-esm/src/generated/index.js.map +0 -1
- package/dist-esm/src/generated/isUnexpected.js +0 -76
- package/dist-esm/src/generated/isUnexpected.js.map +0 -1
- package/dist-esm/src/generated/mapsRouteClient.js +0 -30
- package/dist-esm/src/generated/mapsRouteClient.js.map +0 -1
- package/dist-esm/src/generated/models.js +0 -4
- package/dist-esm/src/generated/models.js.map +0 -1
- package/dist-esm/src/generated/outputModels.js +0 -4
- package/dist-esm/src/generated/outputModels.js.map +0 -1
- package/dist-esm/src/generated/parameters.js +0 -4
- package/dist-esm/src/generated/parameters.js.map +0 -1
- package/dist-esm/src/generated/pollingHelper.js +0 -55
- package/dist-esm/src/generated/pollingHelper.js.map +0 -1
- package/dist-esm/src/generated/responses.js +0 -4
- package/dist-esm/src/generated/responses.js.map +0 -1
- package/dist-esm/src/helpers.js.map +0 -1
- package/dist-esm/src/index.js +0 -7
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/mapsRoute.js.map +0 -1
- package/review/maps-route.api.md +0 -911
- package/types/maps-route-rest.d.ts +0 -3431
package/review/maps-route.api.md
DELETED
|
@@ -1,911 +0,0 @@
|
|
|
1
|
-
## API Report File for "@azure-rest/maps-route"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { AzureKeyCredential } from '@azure/core-auth';
|
|
8
|
-
import { AzureSASCredential } from '@azure/core-auth';
|
|
9
|
-
import { Client } from '@azure-rest/core-client';
|
|
10
|
-
import { ClientOptions } from '@azure-rest/core-client';
|
|
11
|
-
import { HttpResponse } from '@azure-rest/core-client';
|
|
12
|
-
import { LatLon } from '@azure/maps-common';
|
|
13
|
-
import { LroEngineOptions } from '@azure/core-lro';
|
|
14
|
-
import { PollerLike } from '@azure/core-lro';
|
|
15
|
-
import { PollOperationState } from '@azure/core-lro';
|
|
16
|
-
import { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
17
|
-
import { RequestParameters } from '@azure-rest/core-client';
|
|
18
|
-
import { StreamableMethod } from '@azure-rest/core-client';
|
|
19
|
-
import { TokenCredential } from '@azure/core-auth';
|
|
20
|
-
|
|
21
|
-
// @public
|
|
22
|
-
export interface BatchRequest {
|
|
23
|
-
batchItems?: Array<BatchRequestItem>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// @public
|
|
27
|
-
export interface BatchRequestItem {
|
|
28
|
-
query?: string;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// @public
|
|
32
|
-
export interface BatchResultItemOutput {
|
|
33
|
-
statusCode: number;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// @public
|
|
37
|
-
export interface BatchResultOutput {
|
|
38
|
-
summary: BatchResultSummaryOutput;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// @public
|
|
42
|
-
export interface BatchResultSummaryOutput {
|
|
43
|
-
successfulRequests: number;
|
|
44
|
-
totalRequests: number;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// @public
|
|
48
|
-
export function createRouteDirectionsBatchRequest(queryParamProperties: RouteGetRouteDirectionsQueryParamProperties[]): BatchRequest;
|
|
49
|
-
|
|
50
|
-
// @public
|
|
51
|
-
export interface EffectiveSettingOutput {
|
|
52
|
-
key: string;
|
|
53
|
-
value: string;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// @public
|
|
57
|
-
export interface ErrorDetailOutput {
|
|
58
|
-
code?: string;
|
|
59
|
-
message?: string;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// @public
|
|
63
|
-
export interface ErrorResponseOutput {
|
|
64
|
-
error?: ErrorDetailOutput;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// @public
|
|
68
|
-
export interface GeoJsonFeature extends GeoJsonObjectParent, GeoJsonFeatureData {
|
|
69
|
-
// (undocumented)
|
|
70
|
-
type: "Feature";
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// @public
|
|
74
|
-
export interface GeoJsonFeatureCollection extends GeoJsonObjectParent, GeoJsonFeatureCollectionData {
|
|
75
|
-
// (undocumented)
|
|
76
|
-
type: "FeatureCollection";
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
// @public (undocumented)
|
|
80
|
-
export interface GeoJsonFeatureCollectionData {
|
|
81
|
-
features: Array<GeoJsonFeature>;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// @public (undocumented)
|
|
85
|
-
export interface GeoJsonFeatureData {
|
|
86
|
-
featureType?: string;
|
|
87
|
-
geometry: GeoJsonGeometry;
|
|
88
|
-
id?: string;
|
|
89
|
-
properties?: Record<string, unknown>;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// @public
|
|
93
|
-
export type GeoJsonGeometry = GeoJsonGeometryParent | GeoJsonMultiPoint | GeoJsonMultiPolygon | GeoJsonPoint | GeoJsonLineString | GeoJsonMultiLineString | GeoJsonPolygon | GeoJsonGeometryCollection;
|
|
94
|
-
|
|
95
|
-
// @public
|
|
96
|
-
export interface GeoJsonGeometryCollection extends GeoJsonGeometryParent, GeoJsonGeometryCollectionData {
|
|
97
|
-
// (undocumented)
|
|
98
|
-
type: "GeometryCollection";
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// @public (undocumented)
|
|
102
|
-
export interface GeoJsonGeometryCollectionData {
|
|
103
|
-
geometries: Array<GeoJsonGeometry>;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// @public
|
|
107
|
-
export interface GeoJsonGeometryParent extends GeoJsonObjectParent {
|
|
108
|
-
// (undocumented)
|
|
109
|
-
type: "GeoJsonGeometry" | "MultiPoint" | "MultiPolygon" | "Point" | "LineString" | "MultiLineString" | "Polygon" | "GeometryCollection";
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// @public
|
|
113
|
-
export interface GeoJsonLineString extends GeoJsonGeometryParent, GeoJsonLineStringData {
|
|
114
|
-
// (undocumented)
|
|
115
|
-
type: "LineString";
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// @public (undocumented)
|
|
119
|
-
export interface GeoJsonLineStringData {
|
|
120
|
-
coordinates: Array<Array<number>>;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// @public
|
|
124
|
-
export interface GeoJsonMultiLineString extends GeoJsonGeometryParent, GeoJsonMultiLineStringData {
|
|
125
|
-
// (undocumented)
|
|
126
|
-
type: "MultiLineString";
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// @public (undocumented)
|
|
130
|
-
export interface GeoJsonMultiLineStringData {
|
|
131
|
-
coordinates: Array<Array<Array<number>>>;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// @public
|
|
135
|
-
export interface GeoJsonMultiPoint extends GeoJsonGeometryParent, GeoJsonMultiPointData {
|
|
136
|
-
// (undocumented)
|
|
137
|
-
type: "MultiPoint";
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// @public
|
|
141
|
-
export interface GeoJsonMultiPointData {
|
|
142
|
-
coordinates: Array<Array<number>>;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// @public
|
|
146
|
-
export interface GeoJsonMultiPolygon extends GeoJsonGeometryParent, GeoJsonMultiPolygonData {
|
|
147
|
-
// (undocumented)
|
|
148
|
-
type: "MultiPolygon";
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
// @public (undocumented)
|
|
152
|
-
export interface GeoJsonMultiPolygonData {
|
|
153
|
-
coordinates: Array<Array<Array<Array<number>>>>;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
// @public
|
|
157
|
-
export type GeoJsonObject = GeoJsonGeometry | GeoJsonMultiPoint | GeoJsonMultiPolygon | GeoJsonPoint | GeoJsonLineString | GeoJsonMultiLineString | GeoJsonPolygon | GeoJsonGeometryCollection | GeoJsonFeature | GeoJsonFeatureCollection;
|
|
158
|
-
|
|
159
|
-
// @public
|
|
160
|
-
export interface GeoJsonObjectParent {
|
|
161
|
-
// (undocumented)
|
|
162
|
-
type: "GeoJsonObject" | "GeoJsonGeometry" | "MultiPoint" | "MultiPolygon" | "Point" | "LineString" | "MultiLineString" | "Polygon" | "GeometryCollection" | "Feature" | "FeatureCollection";
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// @public
|
|
166
|
-
export interface GeoJsonPoint extends GeoJsonGeometryParent, GeoJsonPointData {
|
|
167
|
-
// (undocumented)
|
|
168
|
-
type: "Point";
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
// @public
|
|
172
|
-
export interface GeoJsonPointData {
|
|
173
|
-
coordinates: Array<number>;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
// @public
|
|
177
|
-
export interface GeoJsonPolygon extends GeoJsonGeometryParent, GeoJsonPolygonData {
|
|
178
|
-
// (undocumented)
|
|
179
|
-
type: "Polygon";
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// @public (undocumented)
|
|
183
|
-
export interface GeoJsonPolygonData {
|
|
184
|
-
coordinates: Array<Array<Array<number>>>;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// @public
|
|
188
|
-
export function getLongRunningPoller<TResult extends HttpResponse>(client: Client, initialResponse: TResult, options?: LroEngineOptions<TResult, PollOperationState<TResult>>): PollerLike<PollOperationState<TResult>, TResult>;
|
|
189
|
-
|
|
190
|
-
// @public (undocumented)
|
|
191
|
-
export interface GetRouteDirections {
|
|
192
|
-
get(options: RouteGetRouteDirectionsParameters): StreamableMethod<RouteGetRouteDirections200Response | RouteGetRouteDirectionsDefaultResponse>;
|
|
193
|
-
post(options: RouteGetRouteDirectionsWithAdditionalParametersParameters): StreamableMethod<RouteGetRouteDirectionsWithAdditionalParameters200Response | RouteGetRouteDirectionsWithAdditionalParametersDefaultResponse>;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// @public (undocumented)
|
|
197
|
-
export interface GetRouteRange {
|
|
198
|
-
get(options: RouteGetRouteRangeParameters): StreamableMethod<RouteGetRouteRange200Response | RouteGetRouteRangeDefaultResponse>;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
// @public (undocumented)
|
|
202
|
-
export function isUnexpected(response: RouteRequestRouteMatrixSync200Response | RouteRequestRouteMatrixSync408Response | RouteRequestRouteMatrixSyncDefaultResponse): response is RouteRequestRouteMatrixSync408Response;
|
|
203
|
-
|
|
204
|
-
// @public (undocumented)
|
|
205
|
-
export function isUnexpected(response: RouteGetRouteDirections200Response | RouteGetRouteDirectionsDefaultResponse): response is RouteGetRouteDirectionsDefaultResponse;
|
|
206
|
-
|
|
207
|
-
// @public (undocumented)
|
|
208
|
-
export function isUnexpected(response: RouteGetRouteDirectionsWithAdditionalParameters200Response | RouteGetRouteDirectionsWithAdditionalParametersDefaultResponse): response is RouteGetRouteDirectionsWithAdditionalParametersDefaultResponse;
|
|
209
|
-
|
|
210
|
-
// @public (undocumented)
|
|
211
|
-
export function isUnexpected(response: RouteGetRouteRange200Response | RouteGetRouteRangeDefaultResponse): response is RouteGetRouteRangeDefaultResponse;
|
|
212
|
-
|
|
213
|
-
// @public (undocumented)
|
|
214
|
-
export function isUnexpected(response: RouteRequestRouteDirectionsBatchSync200Response | RouteRequestRouteDirectionsBatchSync408Response | RouteRequestRouteDirectionsBatchSyncDefaultResponse): response is RouteRequestRouteDirectionsBatchSync408Response;
|
|
215
|
-
|
|
216
|
-
// @public
|
|
217
|
-
export interface LatLongPairOutput {
|
|
218
|
-
latitude: number;
|
|
219
|
-
longitude: number;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
// @public
|
|
223
|
-
function MapsRoute(credential: AzureKeyCredential, options?: ClientOptions): MapsRouteClient;
|
|
224
|
-
|
|
225
|
-
// @public
|
|
226
|
-
function MapsRoute(credential: TokenCredential, mapsAccountClientId: string, options?: ClientOptions): MapsRouteClient;
|
|
227
|
-
|
|
228
|
-
// @public
|
|
229
|
-
function MapsRoute(credential: AzureSASCredential, options?: ClientOptions): MapsRouteClient;
|
|
230
|
-
export default MapsRoute;
|
|
231
|
-
|
|
232
|
-
// @public (undocumented)
|
|
233
|
-
export type MapsRouteClient = Client & {
|
|
234
|
-
path: Routes;
|
|
235
|
-
};
|
|
236
|
-
|
|
237
|
-
// @public (undocumented)
|
|
238
|
-
export interface RequestRouteDirectionsBatch {
|
|
239
|
-
get(options?: RouteGetRouteDirectionsBatchParameters): StreamableMethod<RouteGetRouteDirectionsBatch200Response | RouteGetRouteDirectionsBatch202Response>;
|
|
240
|
-
post(options: RouteRequestRouteDirectionsBatchParameters): StreamableMethod<RouteRequestRouteDirectionsBatch200Response | RouteRequestRouteDirectionsBatch202Response>;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
// @public (undocumented)
|
|
244
|
-
export interface RequestRouteDirectionsBatchSync {
|
|
245
|
-
post(options: RouteRequestRouteDirectionsBatchSyncParameters): StreamableMethod<RouteRequestRouteDirectionsBatchSync200Response | RouteRequestRouteDirectionsBatchSync408Response | RouteRequestRouteDirectionsBatchSyncDefaultResponse>;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
// @public (undocumented)
|
|
249
|
-
export interface RequestRouteMatrix {
|
|
250
|
-
get(options?: RouteGetRouteMatrixParameters): StreamableMethod<RouteGetRouteMatrix200Response | RouteGetRouteMatrix202Response>;
|
|
251
|
-
post(options: RouteRequestRouteMatrixParameters): StreamableMethod<RouteRequestRouteMatrix200Response | RouteRequestRouteMatrix202Response>;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// @public (undocumented)
|
|
255
|
-
export interface RequestRouteMatrixSync {
|
|
256
|
-
post(options: RouteRequestRouteMatrixSyncParameters): StreamableMethod<RouteRequestRouteMatrixSync200Response | RouteRequestRouteMatrixSync408Response | RouteRequestRouteMatrixSyncDefaultResponse>;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
// @public
|
|
260
|
-
export interface RouteDirectionParameters {
|
|
261
|
-
allowVignette?: Array<string>;
|
|
262
|
-
avoidAreas?: GeoJsonMultiPolygon;
|
|
263
|
-
avoidVignette?: Array<string>;
|
|
264
|
-
supportingPoints?: Record<string, unknown>;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
// @public
|
|
268
|
-
export interface RouteDirectionsBatchItemOutput extends BatchResultItemOutput {
|
|
269
|
-
response: RouteDirectionsBatchItemResponseOutput;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
// @public
|
|
273
|
-
export interface RouteDirectionsBatchItemResponseOutput extends RouteDirectionsOutput, ErrorResponseOutput {
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
// @public
|
|
277
|
-
export interface RouteDirectionsBatchResultOutput extends BatchResultOutput {
|
|
278
|
-
batchItems: Array<RouteDirectionsBatchItemOutput>;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
// @public
|
|
282
|
-
export interface RouteDirectionsOutput {
|
|
283
|
-
formatVersion?: string;
|
|
284
|
-
optimizedWaypoints?: Array<RouteOptimizedWaypointOutput>;
|
|
285
|
-
report?: RouteReportOutput;
|
|
286
|
-
routes: Array<RouteOutput>;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
// @public
|
|
290
|
-
export interface RouteGetRouteDirections200Response extends HttpResponse {
|
|
291
|
-
// (undocumented)
|
|
292
|
-
body: RouteDirectionsOutput;
|
|
293
|
-
// (undocumented)
|
|
294
|
-
status: "200";
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
// @public
|
|
298
|
-
export interface RouteGetRouteDirectionsBatch200Response extends HttpResponse {
|
|
299
|
-
// (undocumented)
|
|
300
|
-
body: RouteDirectionsBatchResultOutput;
|
|
301
|
-
// (undocumented)
|
|
302
|
-
status: "200";
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
// @public (undocumented)
|
|
306
|
-
export interface RouteGetRouteDirectionsBatch202Headers {
|
|
307
|
-
location?: string;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
// @public
|
|
311
|
-
export interface RouteGetRouteDirectionsBatch202Response extends HttpResponse {
|
|
312
|
-
// (undocumented)
|
|
313
|
-
body: Record<string, unknown>;
|
|
314
|
-
// (undocumented)
|
|
315
|
-
headers: RawHttpHeaders & RouteGetRouteDirectionsBatch202Headers;
|
|
316
|
-
// (undocumented)
|
|
317
|
-
status: "202";
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
// @public (undocumented)
|
|
321
|
-
export type RouteGetRouteDirectionsBatchParameters = RequestParameters;
|
|
322
|
-
|
|
323
|
-
// @public
|
|
324
|
-
export interface RouteGetRouteDirectionsDefaultResponse extends HttpResponse {
|
|
325
|
-
// (undocumented)
|
|
326
|
-
body: ErrorResponseOutput;
|
|
327
|
-
// (undocumented)
|
|
328
|
-
status: string;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
// @public (undocumented)
|
|
332
|
-
export type RouteGetRouteDirectionsParameters = RouteGetRouteDirectionsQueryParam & RequestParameters;
|
|
333
|
-
|
|
334
|
-
// @public (undocumented)
|
|
335
|
-
export interface RouteGetRouteDirectionsQueryParam {
|
|
336
|
-
// (undocumented)
|
|
337
|
-
queryParameters: RouteGetRouteDirectionsQueryParamProperties;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
// @public (undocumented)
|
|
341
|
-
export interface RouteGetRouteDirectionsQueryParamProperties {
|
|
342
|
-
accelerationEfficiency?: number;
|
|
343
|
-
alternativeType?: "anyRoute" | "betterRoute";
|
|
344
|
-
arriveAt?: Date | string;
|
|
345
|
-
auxiliaryPowerInkW?: number;
|
|
346
|
-
auxiliaryPowerInLitersPerHour?: number;
|
|
347
|
-
avoid?: Array<"tollRoads" | "motorways" | "ferries" | "unpavedRoads" | "carpools" | "alreadyUsedRoads" | "borderCrossings">;
|
|
348
|
-
computeBestOrder?: boolean;
|
|
349
|
-
computeTravelTimeFor?: "none" | "all";
|
|
350
|
-
constantSpeedConsumptionInkWhPerHundredkm?: string;
|
|
351
|
-
constantSpeedConsumptionInLitersPerHundredkm?: string;
|
|
352
|
-
currentChargeInkWh?: number;
|
|
353
|
-
currentFuelInLiters?: number;
|
|
354
|
-
decelerationEfficiency?: number;
|
|
355
|
-
departAt?: Date | string;
|
|
356
|
-
downhillEfficiency?: number;
|
|
357
|
-
fuelEnergyDensityInMJoulesPerLiter?: number;
|
|
358
|
-
hilliness?: "low" | "normal" | "high";
|
|
359
|
-
instructionsType?: "coded" | "text" | "tagged";
|
|
360
|
-
language?: string;
|
|
361
|
-
maxAlternatives?: number;
|
|
362
|
-
maxChargeInkWh?: number;
|
|
363
|
-
minDeviationDistance?: number;
|
|
364
|
-
minDeviationTime?: number;
|
|
365
|
-
query: string;
|
|
366
|
-
report?: "effectiveSettings";
|
|
367
|
-
routeRepresentation?: "polyline" | "summaryOnly" | "none";
|
|
368
|
-
routeType?: "fastest" | "shortest" | "eco" | "thrilling";
|
|
369
|
-
sectionType?: "carTrain" | "country" | "ferry" | "motorway" | "pedestrian" | "tollRoad" | "tollVignette" | "traffic" | "travelMode" | "tunnel" | "carpool" | "urban";
|
|
370
|
-
traffic?: boolean;
|
|
371
|
-
travelMode?: "car" | "truck" | "taxi" | "bus" | "van" | "motorcycle" | "bicycle" | "pedestrian";
|
|
372
|
-
uphillEfficiency?: number;
|
|
373
|
-
vehicleAxleWeight?: number;
|
|
374
|
-
vehicleCommercial?: boolean;
|
|
375
|
-
vehicleEngineType?: "combustion" | "electric";
|
|
376
|
-
vehicleHeading?: number;
|
|
377
|
-
vehicleHeight?: number;
|
|
378
|
-
vehicleLength?: number;
|
|
379
|
-
vehicleLoadType?: "USHazmatClass1" | "USHazmatClass2" | "USHazmatClass3" | "USHazmatClass4" | "USHazmatClass5" | "USHazmatClass6" | "USHazmatClass7" | "USHazmatClass8" | "USHazmatClass9" | "otherHazmatExplosive" | "otherHazmatGeneral" | "otherHazmatHarmfulToWater";
|
|
380
|
-
vehicleMaxSpeed?: number;
|
|
381
|
-
vehicleWeight?: number;
|
|
382
|
-
vehicleWidth?: number;
|
|
383
|
-
windingness?: "low" | "normal" | "high";
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
// @public
|
|
387
|
-
export interface RouteGetRouteDirectionsWithAdditionalParameters200Response extends HttpResponse {
|
|
388
|
-
// (undocumented)
|
|
389
|
-
body: RouteDirectionsOutput;
|
|
390
|
-
// (undocumented)
|
|
391
|
-
status: "200";
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
// @public (undocumented)
|
|
395
|
-
export interface RouteGetRouteDirectionsWithAdditionalParametersBodyParam {
|
|
396
|
-
body: RouteDirectionParameters;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
// @public
|
|
400
|
-
export interface RouteGetRouteDirectionsWithAdditionalParametersDefaultResponse extends HttpResponse {
|
|
401
|
-
// (undocumented)
|
|
402
|
-
body: ErrorResponseOutput;
|
|
403
|
-
// (undocumented)
|
|
404
|
-
status: string;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
// @public (undocumented)
|
|
408
|
-
export interface RouteGetRouteDirectionsWithAdditionalParametersMediaTypesParam {
|
|
409
|
-
contentType?: "application/json";
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
// @public (undocumented)
|
|
413
|
-
export type RouteGetRouteDirectionsWithAdditionalParametersParameters = RouteGetRouteDirectionsWithAdditionalParametersQueryParam & RouteGetRouteDirectionsWithAdditionalParametersMediaTypesParam & RouteGetRouteDirectionsWithAdditionalParametersBodyParam & RequestParameters;
|
|
414
|
-
|
|
415
|
-
// @public (undocumented)
|
|
416
|
-
export interface RouteGetRouteDirectionsWithAdditionalParametersQueryParam {
|
|
417
|
-
// (undocumented)
|
|
418
|
-
queryParameters: RouteGetRouteDirectionsWithAdditionalParametersQueryParamProperties;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
// @public (undocumented)
|
|
422
|
-
export interface RouteGetRouteDirectionsWithAdditionalParametersQueryParamProperties {
|
|
423
|
-
accelerationEfficiency?: number;
|
|
424
|
-
alternativeType?: "anyRoute" | "betterRoute";
|
|
425
|
-
arriveAt?: Date | string;
|
|
426
|
-
auxiliaryPowerInkW?: number;
|
|
427
|
-
auxiliaryPowerInLitersPerHour?: number;
|
|
428
|
-
avoid?: Array<"tollRoads" | "motorways" | "ferries" | "unpavedRoads" | "carpools" | "alreadyUsedRoads" | "borderCrossings">;
|
|
429
|
-
computeBestOrder?: boolean;
|
|
430
|
-
computeTravelTimeFor?: "none" | "all";
|
|
431
|
-
constantSpeedConsumptionInkWhPerHundredkm?: string;
|
|
432
|
-
constantSpeedConsumptionInLitersPerHundredkm?: string;
|
|
433
|
-
currentChargeInkWh?: number;
|
|
434
|
-
currentFuelInLiters?: number;
|
|
435
|
-
decelerationEfficiency?: number;
|
|
436
|
-
departAt?: Date | string;
|
|
437
|
-
downhillEfficiency?: number;
|
|
438
|
-
fuelEnergyDensityInMJoulesPerLiter?: number;
|
|
439
|
-
hilliness?: "low" | "normal" | "high";
|
|
440
|
-
instructionsType?: "coded" | "text" | "tagged";
|
|
441
|
-
language?: string;
|
|
442
|
-
maxAlternatives?: number;
|
|
443
|
-
maxChargeInkWh?: number;
|
|
444
|
-
minDeviationDistance?: number;
|
|
445
|
-
minDeviationTime?: number;
|
|
446
|
-
query: string;
|
|
447
|
-
report?: "effectiveSettings";
|
|
448
|
-
routeRepresentation?: "polyline" | "summaryOnly" | "none";
|
|
449
|
-
routeType?: "fastest" | "shortest" | "eco" | "thrilling";
|
|
450
|
-
sectionType?: "carTrain" | "country" | "ferry" | "motorway" | "pedestrian" | "tollRoad" | "tollVignette" | "traffic" | "travelMode" | "tunnel" | "carpool" | "urban";
|
|
451
|
-
traffic?: boolean;
|
|
452
|
-
travelMode?: "car" | "truck" | "taxi" | "bus" | "van" | "motorcycle" | "bicycle" | "pedestrian";
|
|
453
|
-
uphillEfficiency?: number;
|
|
454
|
-
vehicleAxleWeight?: number;
|
|
455
|
-
vehicleCommercial?: boolean;
|
|
456
|
-
vehicleEngineType?: "combustion" | "electric";
|
|
457
|
-
vehicleHeading?: number;
|
|
458
|
-
vehicleHeight?: number;
|
|
459
|
-
vehicleLength?: number;
|
|
460
|
-
vehicleLoadType?: "USHazmatClass1" | "USHazmatClass2" | "USHazmatClass3" | "USHazmatClass4" | "USHazmatClass5" | "USHazmatClass6" | "USHazmatClass7" | "USHazmatClass8" | "USHazmatClass9" | "otherHazmatExplosive" | "otherHazmatGeneral" | "otherHazmatHarmfulToWater";
|
|
461
|
-
vehicleMaxSpeed?: number;
|
|
462
|
-
vehicleWeight?: number;
|
|
463
|
-
vehicleWidth?: number;
|
|
464
|
-
windingness?: "low" | "normal" | "high";
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
// @public
|
|
468
|
-
export interface RouteGetRouteMatrix200Response extends HttpResponse {
|
|
469
|
-
// (undocumented)
|
|
470
|
-
body: RouteMatrixResultOutput;
|
|
471
|
-
// (undocumented)
|
|
472
|
-
status: "200";
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
// @public (undocumented)
|
|
476
|
-
export interface RouteGetRouteMatrix202Headers {
|
|
477
|
-
location?: string;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
// @public
|
|
481
|
-
export interface RouteGetRouteMatrix202Response extends HttpResponse {
|
|
482
|
-
// (undocumented)
|
|
483
|
-
body: Record<string, unknown>;
|
|
484
|
-
// (undocumented)
|
|
485
|
-
headers: RawHttpHeaders & RouteGetRouteMatrix202Headers;
|
|
486
|
-
// (undocumented)
|
|
487
|
-
status: "202";
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
// @public (undocumented)
|
|
491
|
-
export type RouteGetRouteMatrixParameters = RequestParameters;
|
|
492
|
-
|
|
493
|
-
// @public
|
|
494
|
-
export interface RouteGetRouteRange200Response extends HttpResponse {
|
|
495
|
-
// (undocumented)
|
|
496
|
-
body: RouteRangeResultOutput;
|
|
497
|
-
// (undocumented)
|
|
498
|
-
status: "200";
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
// @public
|
|
502
|
-
export interface RouteGetRouteRangeDefaultResponse extends HttpResponse {
|
|
503
|
-
// (undocumented)
|
|
504
|
-
body: ErrorResponseOutput;
|
|
505
|
-
// (undocumented)
|
|
506
|
-
status: string;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
// @public (undocumented)
|
|
510
|
-
export type RouteGetRouteRangeParameters = RouteGetRouteRangeQueryParam & RequestParameters;
|
|
511
|
-
|
|
512
|
-
// @public (undocumented)
|
|
513
|
-
export interface RouteGetRouteRangeQueryParam {
|
|
514
|
-
// (undocumented)
|
|
515
|
-
queryParameters: RouteGetRouteRangeQueryParamProperties;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
// @public (undocumented)
|
|
519
|
-
export interface RouteGetRouteRangeQueryParamProperties {
|
|
520
|
-
accelerationEfficiency?: number;
|
|
521
|
-
auxiliaryPowerInkW?: number;
|
|
522
|
-
auxiliaryPowerInLitersPerHour?: number;
|
|
523
|
-
avoid?: Array<"tollRoads" | "motorways" | "ferries" | "unpavedRoads" | "carpools" | "alreadyUsedRoads" | "borderCrossings">;
|
|
524
|
-
constantSpeedConsumptionInkWhPerHundredkm?: string;
|
|
525
|
-
constantSpeedConsumptionInLitersPerHundredkm?: string;
|
|
526
|
-
currentChargeInkWh?: number;
|
|
527
|
-
currentFuelInLiters?: number;
|
|
528
|
-
decelerationEfficiency?: number;
|
|
529
|
-
departAt?: Date | string;
|
|
530
|
-
distanceBudgetInMeters?: number;
|
|
531
|
-
downhillEfficiency?: number;
|
|
532
|
-
energyBudgetInkWh?: number;
|
|
533
|
-
fuelBudgetInLiters?: number;
|
|
534
|
-
fuelEnergyDensityInMJoulesPerLiter?: number;
|
|
535
|
-
hilliness?: "low" | "normal" | "high";
|
|
536
|
-
maxChargeInkWh?: number;
|
|
537
|
-
query: Array<number>;
|
|
538
|
-
routeType?: "fastest" | "shortest" | "eco" | "thrilling";
|
|
539
|
-
timeBudgetInSec?: number;
|
|
540
|
-
traffic?: boolean;
|
|
541
|
-
travelMode?: "car" | "truck" | "taxi" | "bus" | "van" | "motorcycle" | "bicycle" | "pedestrian";
|
|
542
|
-
uphillEfficiency?: number;
|
|
543
|
-
vehicleAxleWeight?: number;
|
|
544
|
-
vehicleCommercial?: boolean;
|
|
545
|
-
vehicleEngineType?: "combustion" | "electric";
|
|
546
|
-
vehicleHeight?: number;
|
|
547
|
-
vehicleLength?: number;
|
|
548
|
-
vehicleLoadType?: "USHazmatClass1" | "USHazmatClass2" | "USHazmatClass3" | "USHazmatClass4" | "USHazmatClass5" | "USHazmatClass6" | "USHazmatClass7" | "USHazmatClass8" | "USHazmatClass9" | "otherHazmatExplosive" | "otherHazmatGeneral" | "otherHazmatHarmfulToWater";
|
|
549
|
-
vehicleMaxSpeed?: number;
|
|
550
|
-
vehicleWeight?: number;
|
|
551
|
-
vehicleWidth?: number;
|
|
552
|
-
windingness?: "low" | "normal" | "high";
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
// @public
|
|
556
|
-
export interface RouteGuidanceOutput {
|
|
557
|
-
instructionGroups: Array<RouteInstructionGroupOutput>;
|
|
558
|
-
instructions: Array<RouteInstructionOutput>;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
// @public
|
|
562
|
-
export interface RouteInstructionGroupOutput {
|
|
563
|
-
firstInstructionIndex?: number;
|
|
564
|
-
groupLengthInMeters?: number;
|
|
565
|
-
groupMessage?: string;
|
|
566
|
-
lastInstructionIndex?: number;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
// @public
|
|
570
|
-
export interface RouteInstructionOutput {
|
|
571
|
-
combinedMessage?: string;
|
|
572
|
-
countryCode?: string;
|
|
573
|
-
drivingSide?: "LEFT" | "RIGHT";
|
|
574
|
-
exitNumber?: string;
|
|
575
|
-
instructionType?: "TURN" | "ROAD_CHANGE" | "LOCATION_DEPARTURE" | "LOCATION_ARRIVAL" | "DIRECTION_INFO" | "LOCATION_WAYPOINT";
|
|
576
|
-
junctionType?: "REGULAR" | "ROUNDABOUT" | "BIFURCATION";
|
|
577
|
-
maneuver?: "ARRIVE" | "ARRIVE_LEFT" | "ARRIVE_RIGHT" | "DEPART" | "STRAIGHT" | "KEEP_RIGHT" | "BEAR_RIGHT" | "TURN_RIGHT" | "SHARP_RIGHT" | "KEEP_LEFT" | "BEAR_LEFT" | "TURN_LEFT" | "SHARP_LEFT" | "MAKE_UTURN" | "ENTER_MOTORWAY" | "ENTER_FREEWAY" | "ENTER_HIGHWAY" | "TAKE_EXIT" | "MOTORWAY_EXIT_LEFT" | "MOTORWAY_EXIT_RIGHT" | "TAKE_FERRY" | "ROUNDABOUT_CROSS" | "ROUNDABOUT_RIGHT" | "ROUNDABOUT_LEFT" | "ROUNDABOUT_BACK" | "TRY_MAKE_UTURN" | "FOLLOW" | "SWITCH_PARALLEL_ROAD" | "SWITCH_MAIN_ROAD" | "ENTRANCE_RAMP" | "WAYPOINT_LEFT" | "WAYPOINT_RIGHT" | "WAYPOINT_REACHED";
|
|
578
|
-
message?: string;
|
|
579
|
-
point?: LatLongPairOutput;
|
|
580
|
-
pointIndex?: number;
|
|
581
|
-
possibleCombineWithNext?: boolean;
|
|
582
|
-
roadNumbers?: Array<string>;
|
|
583
|
-
roundaboutExitNumber?: string;
|
|
584
|
-
routeOffsetInMeters?: number;
|
|
585
|
-
signpostText?: string;
|
|
586
|
-
stateCode?: string;
|
|
587
|
-
street?: string;
|
|
588
|
-
travelTimeInSeconds?: number;
|
|
589
|
-
turnAngleInDecimalDegrees?: number;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
// @public
|
|
593
|
-
export interface RouteLegOutput {
|
|
594
|
-
points: Array<LatLongPairOutput>;
|
|
595
|
-
summary: RouteSummaryOutput;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
// @public
|
|
599
|
-
export interface RouteMatrixOutput {
|
|
600
|
-
response?: RouteMatrixResultResponseOutput;
|
|
601
|
-
statusCode: number;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
// @public
|
|
605
|
-
export interface RouteMatrixQuery {
|
|
606
|
-
destinations: GeoJsonMultiPoint;
|
|
607
|
-
origins: GeoJsonMultiPoint;
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
// @public
|
|
611
|
-
export interface RouteMatrixResultOutput {
|
|
612
|
-
formatVersion?: string;
|
|
613
|
-
matrix: Array<Array<RouteMatrixOutput>>;
|
|
614
|
-
summary: RouteMatrixSummaryOutput;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
// @public
|
|
618
|
-
export interface RouteMatrixResultResponseOutput {
|
|
619
|
-
routeSummary?: RouteSummaryOutput;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
// @public
|
|
623
|
-
export interface RouteMatrixSummaryOutput {
|
|
624
|
-
successfulRoutes: number;
|
|
625
|
-
totalRoutes: number;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
// @public
|
|
629
|
-
export interface RouteOptimizedWaypointOutput {
|
|
630
|
-
optimizedIndex: number;
|
|
631
|
-
providedIndex: number;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
// @public (undocumented)
|
|
635
|
-
export interface RouteOutput {
|
|
636
|
-
guidance?: RouteGuidanceOutput;
|
|
637
|
-
legs: Array<RouteLegOutput>;
|
|
638
|
-
sections?: Array<RouteSectionOutput>;
|
|
639
|
-
summary: RouteSummaryOutput;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
// @public
|
|
643
|
-
export interface RouteRangeOutput {
|
|
644
|
-
boundary: Array<LatLongPairOutput>;
|
|
645
|
-
center: LatLongPairOutput;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
// @public
|
|
649
|
-
export interface RouteRangeResultOutput {
|
|
650
|
-
formatVersion?: string;
|
|
651
|
-
reachableRange: RouteRangeOutput;
|
|
652
|
-
report?: RouteReportOutput;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
// @public
|
|
656
|
-
export interface RouteReportOutput {
|
|
657
|
-
effectiveSettings: Array<EffectiveSettingOutput>;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
// @public
|
|
661
|
-
export interface RouteRequestRouteDirectionsBatch200Response extends HttpResponse {
|
|
662
|
-
// (undocumented)
|
|
663
|
-
body: RouteDirectionsBatchResultOutput;
|
|
664
|
-
// (undocumented)
|
|
665
|
-
status: "200";
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
// @public (undocumented)
|
|
669
|
-
export interface RouteRequestRouteDirectionsBatch202Headers {
|
|
670
|
-
location?: string;
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
// @public
|
|
674
|
-
export interface RouteRequestRouteDirectionsBatch202Response extends HttpResponse {
|
|
675
|
-
// (undocumented)
|
|
676
|
-
body: Record<string, unknown>;
|
|
677
|
-
// (undocumented)
|
|
678
|
-
headers: RawHttpHeaders & RouteRequestRouteDirectionsBatch202Headers;
|
|
679
|
-
// (undocumented)
|
|
680
|
-
status: "202";
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
// @public (undocumented)
|
|
684
|
-
export interface RouteRequestRouteDirectionsBatchBodyParam {
|
|
685
|
-
body: BatchRequest;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
// @public (undocumented)
|
|
689
|
-
export interface RouteRequestRouteDirectionsBatchMediaTypesParam {
|
|
690
|
-
contentType?: "application/json";
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
// @public (undocumented)
|
|
694
|
-
export type RouteRequestRouteDirectionsBatchParameters = RouteRequestRouteDirectionsBatchMediaTypesParam & RouteRequestRouteDirectionsBatchBodyParam & RequestParameters;
|
|
695
|
-
|
|
696
|
-
// @public
|
|
697
|
-
export interface RouteRequestRouteDirectionsBatchSync200Response extends HttpResponse {
|
|
698
|
-
// (undocumented)
|
|
699
|
-
body: RouteDirectionsBatchResultOutput;
|
|
700
|
-
// (undocumented)
|
|
701
|
-
status: "200";
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
// @public
|
|
705
|
-
export interface RouteRequestRouteDirectionsBatchSync408Response extends HttpResponse {
|
|
706
|
-
// (undocumented)
|
|
707
|
-
body: ErrorResponseOutput;
|
|
708
|
-
// (undocumented)
|
|
709
|
-
status: "408";
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
// @public (undocumented)
|
|
713
|
-
export interface RouteRequestRouteDirectionsBatchSyncBodyParam {
|
|
714
|
-
body: BatchRequest;
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
// @public
|
|
718
|
-
export interface RouteRequestRouteDirectionsBatchSyncDefaultResponse extends HttpResponse {
|
|
719
|
-
// (undocumented)
|
|
720
|
-
body: ErrorResponseOutput;
|
|
721
|
-
// (undocumented)
|
|
722
|
-
status: string;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
// @public (undocumented)
|
|
726
|
-
export interface RouteRequestRouteDirectionsBatchSyncMediaTypesParam {
|
|
727
|
-
contentType?: "application/json";
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
// @public (undocumented)
|
|
731
|
-
export type RouteRequestRouteDirectionsBatchSyncParameters = RouteRequestRouteDirectionsBatchSyncMediaTypesParam & RouteRequestRouteDirectionsBatchSyncBodyParam & RequestParameters;
|
|
732
|
-
|
|
733
|
-
// @public
|
|
734
|
-
export interface RouteRequestRouteMatrix200Response extends HttpResponse {
|
|
735
|
-
// (undocumented)
|
|
736
|
-
body: RouteMatrixResultOutput;
|
|
737
|
-
// (undocumented)
|
|
738
|
-
status: "200";
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
// @public (undocumented)
|
|
742
|
-
export interface RouteRequestRouteMatrix202Headers {
|
|
743
|
-
location?: string;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
// @public
|
|
747
|
-
export interface RouteRequestRouteMatrix202Response extends HttpResponse {
|
|
748
|
-
// (undocumented)
|
|
749
|
-
body: Record<string, unknown>;
|
|
750
|
-
// (undocumented)
|
|
751
|
-
headers: RawHttpHeaders & RouteRequestRouteMatrix202Headers;
|
|
752
|
-
// (undocumented)
|
|
753
|
-
status: "202";
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
// @public (undocumented)
|
|
757
|
-
export interface RouteRequestRouteMatrixBodyParam {
|
|
758
|
-
body: RouteMatrixQuery;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
// @public (undocumented)
|
|
762
|
-
export interface RouteRequestRouteMatrixMediaTypesParam {
|
|
763
|
-
contentType?: "application/json";
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
// @public (undocumented)
|
|
767
|
-
export type RouteRequestRouteMatrixParameters = RouteRequestRouteMatrixQueryParam & RouteRequestRouteMatrixMediaTypesParam & RouteRequestRouteMatrixBodyParam & RequestParameters;
|
|
768
|
-
|
|
769
|
-
// @public (undocumented)
|
|
770
|
-
export interface RouteRequestRouteMatrixQueryParam {
|
|
771
|
-
// (undocumented)
|
|
772
|
-
queryParameters?: RouteRequestRouteMatrixQueryParamProperties;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
// @public (undocumented)
|
|
776
|
-
export interface RouteRequestRouteMatrixQueryParamProperties {
|
|
777
|
-
arriveAt?: Date | string;
|
|
778
|
-
avoid?: Array<"tollRoads" | "motorways" | "ferries" | "unpavedRoads" | "carpools" | "alreadyUsedRoads" | "borderCrossings">;
|
|
779
|
-
computeTravelTimeFor?: "none" | "all";
|
|
780
|
-
departAt?: Date | string;
|
|
781
|
-
hilliness?: "low" | "normal" | "high";
|
|
782
|
-
routeType?: "fastest" | "shortest" | "eco" | "thrilling";
|
|
783
|
-
sectionType?: "carTrain" | "country" | "ferry" | "motorway" | "pedestrian" | "tollRoad" | "tollVignette" | "traffic" | "travelMode" | "tunnel" | "carpool" | "urban";
|
|
784
|
-
traffic?: boolean;
|
|
785
|
-
travelMode?: "car" | "truck" | "taxi" | "bus" | "van" | "motorcycle" | "bicycle" | "pedestrian";
|
|
786
|
-
vehicleAxleWeight?: number;
|
|
787
|
-
vehicleHeight?: number;
|
|
788
|
-
vehicleLength?: number;
|
|
789
|
-
vehicleLoadType?: "USHazmatClass1" | "USHazmatClass2" | "USHazmatClass3" | "USHazmatClass4" | "USHazmatClass5" | "USHazmatClass6" | "USHazmatClass7" | "USHazmatClass8" | "USHazmatClass9" | "otherHazmatExplosive" | "otherHazmatGeneral" | "otherHazmatHarmfulToWater";
|
|
790
|
-
vehicleMaxSpeed?: number;
|
|
791
|
-
vehicleWeight?: number;
|
|
792
|
-
vehicleWidth?: number;
|
|
793
|
-
waitForResults?: boolean;
|
|
794
|
-
windingness?: "low" | "normal" | "high";
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
// @public
|
|
798
|
-
export interface RouteRequestRouteMatrixSync200Response extends HttpResponse {
|
|
799
|
-
// (undocumented)
|
|
800
|
-
body: RouteMatrixResultOutput;
|
|
801
|
-
// (undocumented)
|
|
802
|
-
status: "200";
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
// @public
|
|
806
|
-
export interface RouteRequestRouteMatrixSync408Response extends HttpResponse {
|
|
807
|
-
// (undocumented)
|
|
808
|
-
body: ErrorResponseOutput;
|
|
809
|
-
// (undocumented)
|
|
810
|
-
status: "408";
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
// @public (undocumented)
|
|
814
|
-
export interface RouteRequestRouteMatrixSyncBodyParam {
|
|
815
|
-
body: RouteMatrixQuery;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
// @public
|
|
819
|
-
export interface RouteRequestRouteMatrixSyncDefaultResponse extends HttpResponse {
|
|
820
|
-
// (undocumented)
|
|
821
|
-
body: ErrorResponseOutput;
|
|
822
|
-
// (undocumented)
|
|
823
|
-
status: string;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
// @public (undocumented)
|
|
827
|
-
export interface RouteRequestRouteMatrixSyncMediaTypesParam {
|
|
828
|
-
contentType?: "application/json";
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
// @public (undocumented)
|
|
832
|
-
export type RouteRequestRouteMatrixSyncParameters = RouteRequestRouteMatrixSyncQueryParam & RouteRequestRouteMatrixSyncMediaTypesParam & RouteRequestRouteMatrixSyncBodyParam & RequestParameters;
|
|
833
|
-
|
|
834
|
-
// @public (undocumented)
|
|
835
|
-
export interface RouteRequestRouteMatrixSyncQueryParam {
|
|
836
|
-
// (undocumented)
|
|
837
|
-
queryParameters?: RouteRequestRouteMatrixSyncQueryParamProperties;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
// @public (undocumented)
|
|
841
|
-
export interface RouteRequestRouteMatrixSyncQueryParamProperties {
|
|
842
|
-
arriveAt?: Date | string;
|
|
843
|
-
avoid?: Array<"tollRoads" | "motorways" | "ferries" | "unpavedRoads" | "carpools" | "alreadyUsedRoads" | "borderCrossings">;
|
|
844
|
-
computeTravelTimeFor?: "none" | "all";
|
|
845
|
-
departAt?: Date | string;
|
|
846
|
-
hilliness?: "low" | "normal" | "high";
|
|
847
|
-
routeType?: "fastest" | "shortest" | "eco" | "thrilling";
|
|
848
|
-
sectionType?: "carTrain" | "country" | "ferry" | "motorway" | "pedestrian" | "tollRoad" | "tollVignette" | "traffic" | "travelMode" | "tunnel" | "carpool" | "urban";
|
|
849
|
-
traffic?: boolean;
|
|
850
|
-
travelMode?: "car" | "truck" | "taxi" | "bus" | "van" | "motorcycle" | "bicycle" | "pedestrian";
|
|
851
|
-
vehicleAxleWeight?: number;
|
|
852
|
-
vehicleHeight?: number;
|
|
853
|
-
vehicleLength?: number;
|
|
854
|
-
vehicleLoadType?: "USHazmatClass1" | "USHazmatClass2" | "USHazmatClass3" | "USHazmatClass4" | "USHazmatClass5" | "USHazmatClass6" | "USHazmatClass7" | "USHazmatClass8" | "USHazmatClass9" | "otherHazmatExplosive" | "otherHazmatGeneral" | "otherHazmatHarmfulToWater";
|
|
855
|
-
vehicleMaxSpeed?: number;
|
|
856
|
-
vehicleWeight?: number;
|
|
857
|
-
vehicleWidth?: number;
|
|
858
|
-
waitForResults?: boolean;
|
|
859
|
-
windingness?: "low" | "normal" | "high";
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
// @public (undocumented)
|
|
863
|
-
export interface Routes {
|
|
864
|
-
(path: "/route/matrix/{format}", format: "json"): RequestRouteMatrix;
|
|
865
|
-
(path: "/route/matrix/sync/{format}", format: "json"): RequestRouteMatrixSync;
|
|
866
|
-
(path: "/route/directions/{format}", format: "json" | "xml"): GetRouteDirections;
|
|
867
|
-
(path: "/route/range/{format}", format: "json" | "xml"): GetRouteRange;
|
|
868
|
-
(path: "/route/directions/batch/{format}", format: "json"): RequestRouteDirectionsBatch;
|
|
869
|
-
(path: "/route/directions/batch/sync/{format}", format: "json"): RequestRouteDirectionsBatchSync;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
// @public
|
|
873
|
-
export interface RouteSectionOutput {
|
|
874
|
-
delayInSeconds?: number;
|
|
875
|
-
effectiveSpeedInKmh?: number;
|
|
876
|
-
endPointIndex: number;
|
|
877
|
-
magnitudeOfDelay?: "0" | "1" | "2" | "3" | "4";
|
|
878
|
-
sectionType: "CAR_TRAIN" | "COUNTRY" | "FERRY" | "MOTORWAY" | "PEDESTRIAN" | "TOLL_ROAD" | "TOLL_VIGNETTE" | "TRAFFIC" | "TRAVEL_MODE" | "TUNNEL" | "CARPOOL" | "URBAN";
|
|
879
|
-
simpleCategory?: "JAM" | "ROAD_WORK" | "ROAD_CLOSURE" | "OTHER";
|
|
880
|
-
startPointIndex: number;
|
|
881
|
-
tec?: RouteSectionTecOutput;
|
|
882
|
-
travelMode?: "car" | "truck" | "taxi" | "bus" | "van" | "motorcycle" | "bicycle" | "pedestrian" | "other";
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
// @public
|
|
886
|
-
export interface RouteSectionTecCauseOutput {
|
|
887
|
-
mainCauseCode?: number;
|
|
888
|
-
subCauseCode?: number;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
// @public
|
|
892
|
-
export interface RouteSectionTecOutput {
|
|
893
|
-
causes?: Array<RouteSectionTecCauseOutput>;
|
|
894
|
-
effectCode?: number;
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
// @public
|
|
898
|
-
export interface RouteSummaryOutput {
|
|
899
|
-
arrivalTime: string;
|
|
900
|
-
departureTime: string;
|
|
901
|
-
lengthInMeters: number;
|
|
902
|
-
trafficDelayInSeconds: number;
|
|
903
|
-
travelTimeInSeconds: number;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
// @public
|
|
907
|
-
export function toColonDelimitedLatLonString(coordinates: LatLon[]): string;
|
|
908
|
-
|
|
909
|
-
// (No @packageDocumentation comment for this package)
|
|
910
|
-
|
|
911
|
-
```
|