@azure-rest/maps-search 2.0.0-beta.3 → 2.0.0-beta.4
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/CHANGELOG.md +59 -0
- package/dist/browser/generated/isUnexpected.js +5 -6
- package/dist/browser/generated/isUnexpected.js.map +1 -1
- package/dist/browser/generated/mapsSearchClient.js +13 -11
- package/dist/browser/generated/mapsSearchClient.js.map +1 -1
- package/dist/commonjs/generated/isUnexpected.js +5 -6
- package/dist/commonjs/generated/isUnexpected.js.map +1 -1
- package/dist/commonjs/generated/mapsSearchClient.js +13 -11
- package/dist/commonjs/generated/mapsSearchClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/generated/isUnexpected.js +5 -6
- package/dist/esm/generated/isUnexpected.js.map +1 -1
- package/dist/esm/generated/mapsSearchClient.js +13 -11
- package/dist/esm/generated/mapsSearchClient.js.map +1 -1
- package/dist/react-native/generated/isUnexpected.js +5 -6
- package/dist/react-native/generated/isUnexpected.js.map +1 -1
- package/dist/react-native/generated/mapsSearchClient.js +13 -11
- package/dist/react-native/generated/mapsSearchClient.js.map +1 -1
- package/package.json +39 -46
- package/review/maps-search-node.api.md +549 -0
|
@@ -0,0 +1,549 @@
|
|
|
1
|
+
## API Report File for "@azure-rest/maps-search"
|
|
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 type { AzureKeyCredential } from '@azure/core-auth';
|
|
8
|
+
import type { 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 { RawHttpHeaders } from '@azure/core-rest-pipeline';
|
|
13
|
+
import { RequestParameters } from '@azure-rest/core-client';
|
|
14
|
+
import { StreamableMethod } from '@azure-rest/core-client';
|
|
15
|
+
import type { TokenCredential } from '@azure/core-auth';
|
|
16
|
+
|
|
17
|
+
// @public (undocumented)
|
|
18
|
+
export interface AddressAdminDistrictsItemOutput {
|
|
19
|
+
name?: string;
|
|
20
|
+
shortName?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// @public (undocumented)
|
|
24
|
+
export interface AddressCountryRegionOutput {
|
|
25
|
+
ISO?: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// @public
|
|
30
|
+
export interface AddressOutput {
|
|
31
|
+
addressLine?: string;
|
|
32
|
+
adminDistricts?: Array<AddressAdminDistrictsItemOutput>;
|
|
33
|
+
// (undocumented)
|
|
34
|
+
countryRegion?: AddressCountryRegionOutput;
|
|
35
|
+
formattedAddress?: string;
|
|
36
|
+
intersection?: IntersectionOutput;
|
|
37
|
+
locality?: string;
|
|
38
|
+
neighborhood?: string;
|
|
39
|
+
postalCode?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// @public
|
|
43
|
+
export interface BoundaryOutput extends GeoJsonFeatureOutputParent, BoundaryPropertiesOutput {
|
|
44
|
+
// (undocumented)
|
|
45
|
+
type: "Boundary";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// @public
|
|
49
|
+
export interface BoundaryPropertiesOutput {
|
|
50
|
+
copyright?: string;
|
|
51
|
+
copyrightURL?: string;
|
|
52
|
+
geometriesCopyright?: Array<GeometryCopyrightOutput>;
|
|
53
|
+
name?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// @public
|
|
57
|
+
export interface ErrorAdditionalInfoOutput {
|
|
58
|
+
readonly info?: Record<string, unknown>;
|
|
59
|
+
readonly type?: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// @public
|
|
63
|
+
export interface ErrorDetailOutput {
|
|
64
|
+
readonly additionalInfo?: Array<ErrorAdditionalInfoOutput>;
|
|
65
|
+
readonly code?: string;
|
|
66
|
+
readonly details?: Array<ErrorDetailOutput>;
|
|
67
|
+
readonly message?: string;
|
|
68
|
+
readonly target?: string;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// @public
|
|
72
|
+
export interface ErrorResponseOutput {
|
|
73
|
+
error?: ErrorDetailOutput;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// @public (undocumented)
|
|
77
|
+
export interface FeaturesItemOutput {
|
|
78
|
+
bbox?: Array<number>;
|
|
79
|
+
geometry: GeoJsonPointOutput;
|
|
80
|
+
id?: string;
|
|
81
|
+
// (undocumented)
|
|
82
|
+
properties?: FeaturesItemPropertiesOutput;
|
|
83
|
+
type?: "Feature";
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// @public (undocumented)
|
|
87
|
+
export interface FeaturesItemPropertiesOutput {
|
|
88
|
+
address?: AddressOutput;
|
|
89
|
+
confidence?: "High" | "Medium" | "Low";
|
|
90
|
+
geocodePoints?: Array<GeocodePointsItemOutput>;
|
|
91
|
+
matchCodes?: Array<"Good" | "Ambiguous" | "UpHierarchy">;
|
|
92
|
+
type?: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// @public (undocumented)
|
|
96
|
+
export interface GeocodePointsItemOutput {
|
|
97
|
+
calculationMethod?: "Interpolation" | "InterpolationOffset" | "Parcel" | "Rooftop";
|
|
98
|
+
geometry?: GeoJsonPointOutput;
|
|
99
|
+
usageTypes?: Array<"Display" | "Route">;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// @public
|
|
103
|
+
export interface GeocodingBatchRequestBody {
|
|
104
|
+
batchItems?: Array<GeocodingBatchRequestItem>;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// @public
|
|
108
|
+
export interface GeocodingBatchRequestItem {
|
|
109
|
+
addressLine?: string;
|
|
110
|
+
adminDistrict?: string;
|
|
111
|
+
adminDistrict2?: string;
|
|
112
|
+
adminDistrict3?: string;
|
|
113
|
+
bbox?: Array<number>;
|
|
114
|
+
coordinates?: Array<number>;
|
|
115
|
+
countryRegion?: string;
|
|
116
|
+
locality?: string;
|
|
117
|
+
optionalId?: string;
|
|
118
|
+
postalCode?: string;
|
|
119
|
+
query?: string;
|
|
120
|
+
top?: number;
|
|
121
|
+
view?: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// @public (undocumented)
|
|
125
|
+
export interface GeocodingBatchResponseItemOutput {
|
|
126
|
+
error?: ErrorDetailOutput;
|
|
127
|
+
// (undocumented)
|
|
128
|
+
features?: Array<FeaturesItemOutput>;
|
|
129
|
+
nextLink?: string;
|
|
130
|
+
optionalId?: string;
|
|
131
|
+
type?: "FeatureCollection";
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// @public
|
|
135
|
+
export interface GeocodingBatchResponseOutput {
|
|
136
|
+
batchItems?: Array<GeocodingBatchResponseItemOutput>;
|
|
137
|
+
nextLink?: string;
|
|
138
|
+
summary?: GeocodingBatchResponseSummaryOutput;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// @public
|
|
142
|
+
export interface GeocodingBatchResponseSummaryOutput {
|
|
143
|
+
successfulRequests?: number;
|
|
144
|
+
totalRequests?: number;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// @public
|
|
148
|
+
export interface GeocodingResponseOutput {
|
|
149
|
+
// (undocumented)
|
|
150
|
+
features?: Array<FeaturesItemOutput>;
|
|
151
|
+
nextLink?: string;
|
|
152
|
+
type?: "FeatureCollection";
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// @public (undocumented)
|
|
156
|
+
export interface GeoJsonFeatureCollectionDataOutput {
|
|
157
|
+
features: Array<GeoJsonFeatureOutput>;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// @public
|
|
161
|
+
export interface GeoJsonFeatureCollectionOutput extends GeoJsonObjectOutputParent, GeoJsonFeatureCollectionDataOutput {
|
|
162
|
+
// (undocumented)
|
|
163
|
+
type: "FeatureCollection";
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// @public (undocumented)
|
|
167
|
+
export interface GeoJsonFeatureDataOutput {
|
|
168
|
+
featureType?: string;
|
|
169
|
+
geometry: GeoJsonGeometryOutput;
|
|
170
|
+
id?: string;
|
|
171
|
+
properties?: Record<string, unknown>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// @public
|
|
175
|
+
export type GeoJsonFeatureOutput = GeoJsonFeatureOutputParent | BoundaryOutput;
|
|
176
|
+
|
|
177
|
+
// @public
|
|
178
|
+
export interface GeoJsonFeatureOutputParent extends GeoJsonObjectOutputParent, GeoJsonFeatureDataOutput {
|
|
179
|
+
// (undocumented)
|
|
180
|
+
type: "Feature" | "Boundary";
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// @public (undocumented)
|
|
184
|
+
export interface GeoJsonGeometryCollectionDataOutput {
|
|
185
|
+
geometries: Array<GeoJsonGeometryOutput>;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// @public
|
|
189
|
+
export interface GeoJsonGeometryCollectionOutput extends GeoJsonGeometryOutputParent, GeoJsonGeometryCollectionDataOutput {
|
|
190
|
+
// (undocumented)
|
|
191
|
+
type: "GeometryCollection";
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// @public
|
|
195
|
+
export type GeoJsonGeometryOutput = GeoJsonGeometryOutputParent | GeoJsonPointOutput | GeoJsonMultiPointOutput | GeoJsonLineStringOutput | GeoJsonMultiLineStringOutput | GeoJsonPolygonOutput | GeoJsonMultiPolygonOutput | GeoJsonGeometryCollectionOutput;
|
|
196
|
+
|
|
197
|
+
// @public
|
|
198
|
+
export interface GeoJsonGeometryOutputParent extends GeoJsonObjectOutputParent {
|
|
199
|
+
// (undocumented)
|
|
200
|
+
type: "GeoJsonGeometry" | "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon" | "GeometryCollection";
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// @public (undocumented)
|
|
204
|
+
export interface GeoJsonLineStringDataOutput {
|
|
205
|
+
coordinates: Array<Array<number>>;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// @public
|
|
209
|
+
export interface GeoJsonLineStringOutput extends GeoJsonGeometryOutputParent, GeoJsonLineStringDataOutput {
|
|
210
|
+
// (undocumented)
|
|
211
|
+
type: "LineString";
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// @public (undocumented)
|
|
215
|
+
export interface GeoJsonMultiLineStringDataOutput {
|
|
216
|
+
coordinates: Array<Array<Array<number>>>;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// @public
|
|
220
|
+
export interface GeoJsonMultiLineStringOutput extends GeoJsonGeometryOutputParent, GeoJsonMultiLineStringDataOutput {
|
|
221
|
+
// (undocumented)
|
|
222
|
+
type: "MultiLineString";
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// @public
|
|
226
|
+
export interface GeoJsonMultiPointDataOutput {
|
|
227
|
+
coordinates: Array<Array<number>>;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// @public
|
|
231
|
+
export interface GeoJsonMultiPointOutput extends GeoJsonGeometryOutputParent, GeoJsonMultiPointDataOutput {
|
|
232
|
+
// (undocumented)
|
|
233
|
+
type: "MultiPoint";
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
// @public (undocumented)
|
|
237
|
+
export interface GeoJsonMultiPolygonDataOutput {
|
|
238
|
+
coordinates: Array<Array<Array<Array<number>>>>;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// @public
|
|
242
|
+
export interface GeoJsonMultiPolygonOutput extends GeoJsonGeometryOutputParent, GeoJsonMultiPolygonDataOutput {
|
|
243
|
+
// (undocumented)
|
|
244
|
+
type: "MultiPolygon";
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
// @public
|
|
248
|
+
export type GeoJsonObjectOutput = GeoJsonGeometryOutput | GeoJsonPointOutput | GeoJsonFeatureOutput | BoundaryOutput | GeoJsonMultiPointOutput | GeoJsonLineStringOutput | GeoJsonMultiLineStringOutput | GeoJsonPolygonOutput | GeoJsonMultiPolygonOutput | GeoJsonGeometryCollectionOutput | GeoJsonFeatureCollectionOutput;
|
|
249
|
+
|
|
250
|
+
// @public
|
|
251
|
+
export interface GeoJsonObjectOutputParent {
|
|
252
|
+
bbox?: Array<number>;
|
|
253
|
+
// (undocumented)
|
|
254
|
+
type: "GeoJsonObject" | "GeoJsonGeometry" | "Point" | "Feature" | "Boundary" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon" | "GeometryCollection" | "FeatureCollection";
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// @public
|
|
258
|
+
export interface GeoJsonPointDataOutput {
|
|
259
|
+
coordinates: Array<number>;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
// @public
|
|
263
|
+
export interface GeoJsonPointOutput extends GeoJsonGeometryOutputParent, GeoJsonPointDataOutput {
|
|
264
|
+
// (undocumented)
|
|
265
|
+
type: "Point";
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// @public (undocumented)
|
|
269
|
+
export interface GeoJsonPolygonDataOutput {
|
|
270
|
+
coordinates: Array<Array<Array<number>>>;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
// @public
|
|
274
|
+
export interface GeoJsonPolygonOutput extends GeoJsonGeometryOutputParent, GeoJsonPolygonDataOutput {
|
|
275
|
+
// (undocumented)
|
|
276
|
+
type: "Polygon";
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// @public
|
|
280
|
+
export interface GeometryCopyrightOutput {
|
|
281
|
+
copyright?: string;
|
|
282
|
+
sourceName?: string;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
// @public (undocumented)
|
|
286
|
+
export interface GetGeocoding {
|
|
287
|
+
get(options?: SearchGetGeocodingParameters): StreamableMethod<SearchGetGeocoding200Response | SearchGetGeocodingDefaultResponse>;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// @public (undocumented)
|
|
291
|
+
export interface GetGeocodingBatch {
|
|
292
|
+
post(options: SearchGetGeocodingBatchParameters): StreamableMethod<SearchGetGeocodingBatch200Response | SearchGetGeocodingBatchDefaultResponse>;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// @public (undocumented)
|
|
296
|
+
export interface GetPolygon {
|
|
297
|
+
get(options: SearchGetPolygonParameters): StreamableMethod<SearchGetPolygon200Response | SearchGetPolygonDefaultResponse>;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// @public (undocumented)
|
|
301
|
+
export interface GetReverseGeocoding {
|
|
302
|
+
get(options: SearchGetReverseGeocodingParameters): StreamableMethod<SearchGetReverseGeocoding200Response | SearchGetReverseGeocodingDefaultResponse>;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// @public (undocumented)
|
|
306
|
+
export interface GetReverseGeocodingBatch {
|
|
307
|
+
post(options: SearchGetReverseGeocodingBatchParameters): StreamableMethod<SearchGetReverseGeocodingBatch200Response | SearchGetReverseGeocodingBatchDefaultResponse>;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
// @public
|
|
311
|
+
export interface IntersectionOutput {
|
|
312
|
+
baseStreet?: string;
|
|
313
|
+
displayName?: string;
|
|
314
|
+
intersectionType?: string;
|
|
315
|
+
secondaryStreet1?: string;
|
|
316
|
+
secondaryStreet2?: string;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
// @public (undocumented)
|
|
320
|
+
export function isUnexpected(response: SearchGetGeocoding200Response | SearchGetGeocodingDefaultResponse): response is SearchGetGeocodingDefaultResponse;
|
|
321
|
+
|
|
322
|
+
// @public (undocumented)
|
|
323
|
+
export function isUnexpected(response: SearchGetGeocodingBatch200Response | SearchGetGeocodingBatchDefaultResponse): response is SearchGetGeocodingBatchDefaultResponse;
|
|
324
|
+
|
|
325
|
+
// @public (undocumented)
|
|
326
|
+
export function isUnexpected(response: SearchGetPolygon200Response | SearchGetPolygonDefaultResponse): response is SearchGetPolygonDefaultResponse;
|
|
327
|
+
|
|
328
|
+
// @public (undocumented)
|
|
329
|
+
export function isUnexpected(response: SearchGetReverseGeocoding200Response | SearchGetReverseGeocodingDefaultResponse): response is SearchGetReverseGeocodingDefaultResponse;
|
|
330
|
+
|
|
331
|
+
// @public (undocumented)
|
|
332
|
+
export function isUnexpected(response: SearchGetReverseGeocodingBatch200Response | SearchGetReverseGeocodingBatchDefaultResponse): response is SearchGetReverseGeocodingBatchDefaultResponse;
|
|
333
|
+
|
|
334
|
+
// @public
|
|
335
|
+
function MapsSearch(credential: AzureKeyCredential, options?: ClientOptions): MapsSearchClient;
|
|
336
|
+
|
|
337
|
+
// @public
|
|
338
|
+
function MapsSearch(credential: TokenCredential, mapsAccountClientId: string, options?: ClientOptions): MapsSearchClient;
|
|
339
|
+
|
|
340
|
+
// @public
|
|
341
|
+
function MapsSearch(credential: AzureSASCredential, options?: ClientOptions): MapsSearchClient;
|
|
342
|
+
export default MapsSearch;
|
|
343
|
+
|
|
344
|
+
// @public (undocumented)
|
|
345
|
+
export type MapsSearchClient = Client & {
|
|
346
|
+
path: Routes;
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
// @public
|
|
350
|
+
export interface MapsSearchClientOptions extends ClientOptions {
|
|
351
|
+
apiVersion?: string;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
// @public
|
|
355
|
+
export interface ReverseGeocodingBatchRequestBody {
|
|
356
|
+
batchItems?: Array<ReverseGeocodingBatchRequestItem>;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
// @public
|
|
360
|
+
export interface ReverseGeocodingBatchRequestItem {
|
|
361
|
+
coordinates?: Array<number>;
|
|
362
|
+
optionalId?: string;
|
|
363
|
+
resultTypes?: Array<"Address" | "Neighborhood" | "PopulatedPlace" | "Postcode1" | "AdminDivision1" | "AdminDivision2" | "CountryRegion">;
|
|
364
|
+
view?: string;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// @public (undocumented)
|
|
368
|
+
export interface Routes {
|
|
369
|
+
(path: "/geocode"): GetGeocoding;
|
|
370
|
+
(path: "/geocode:batch"): GetGeocodingBatch;
|
|
371
|
+
(path: "/search/polygon"): GetPolygon;
|
|
372
|
+
(path: "/reverseGeocode"): GetReverseGeocoding;
|
|
373
|
+
(path: "/reverseGeocode:batch"): GetReverseGeocodingBatch;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// @public (undocumented)
|
|
377
|
+
export interface SearchGetGeocoding200Headers {
|
|
378
|
+
"x-ms-request-id"?: string;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
// @public
|
|
382
|
+
export interface SearchGetGeocoding200Response extends HttpResponse {
|
|
383
|
+
// (undocumented)
|
|
384
|
+
body: GeocodingResponseOutput;
|
|
385
|
+
// (undocumented)
|
|
386
|
+
headers: RawHttpHeaders & SearchGetGeocoding200Headers;
|
|
387
|
+
// (undocumented)
|
|
388
|
+
status: "200";
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
// @public
|
|
392
|
+
export interface SearchGetGeocodingBatch200Response extends HttpResponse {
|
|
393
|
+
// (undocumented)
|
|
394
|
+
body: GeocodingBatchResponseOutput;
|
|
395
|
+
// (undocumented)
|
|
396
|
+
status: "200";
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// @public (undocumented)
|
|
400
|
+
export interface SearchGetGeocodingBatchBodyParam {
|
|
401
|
+
body: GeocodingBatchRequestBody;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// @public
|
|
405
|
+
export interface SearchGetGeocodingBatchDefaultResponse extends HttpResponse {
|
|
406
|
+
// (undocumented)
|
|
407
|
+
body: ErrorResponseOutput;
|
|
408
|
+
// (undocumented)
|
|
409
|
+
status: string;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
// @public (undocumented)
|
|
413
|
+
export interface SearchGetGeocodingBatchMediaTypesParam {
|
|
414
|
+
contentType?: "application/json";
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
// @public (undocumented)
|
|
418
|
+
export type SearchGetGeocodingBatchParameters = SearchGetGeocodingBatchMediaTypesParam & SearchGetGeocodingBatchBodyParam & RequestParameters;
|
|
419
|
+
|
|
420
|
+
// @public
|
|
421
|
+
export interface SearchGetGeocodingDefaultResponse extends HttpResponse {
|
|
422
|
+
// (undocumented)
|
|
423
|
+
body: ErrorResponseOutput;
|
|
424
|
+
// (undocumented)
|
|
425
|
+
status: string;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
// @public (undocumented)
|
|
429
|
+
export type SearchGetGeocodingParameters = SearchGetGeocodingQueryParam & RequestParameters;
|
|
430
|
+
|
|
431
|
+
// @public (undocumented)
|
|
432
|
+
export interface SearchGetGeocodingQueryParam {
|
|
433
|
+
// (undocumented)
|
|
434
|
+
queryParameters?: SearchGetGeocodingQueryParamProperties;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
// @public (undocumented)
|
|
438
|
+
export interface SearchGetGeocodingQueryParamProperties {
|
|
439
|
+
addressLine?: string;
|
|
440
|
+
adminDistrict?: string;
|
|
441
|
+
adminDistrict2?: string;
|
|
442
|
+
adminDistrict3?: string;
|
|
443
|
+
bbox?: Array<number>;
|
|
444
|
+
coordinates?: Array<number>;
|
|
445
|
+
countryRegion?: string;
|
|
446
|
+
locality?: string;
|
|
447
|
+
postalCode?: string;
|
|
448
|
+
query?: string;
|
|
449
|
+
top?: number;
|
|
450
|
+
view?: string;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// @public
|
|
454
|
+
export interface SearchGetPolygon200Response extends HttpResponse {
|
|
455
|
+
// (undocumented)
|
|
456
|
+
body: BoundaryOutput;
|
|
457
|
+
// (undocumented)
|
|
458
|
+
status: "200";
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
// @public
|
|
462
|
+
export interface SearchGetPolygonDefaultResponse extends HttpResponse {
|
|
463
|
+
// (undocumented)
|
|
464
|
+
body: ErrorResponseOutput;
|
|
465
|
+
// (undocumented)
|
|
466
|
+
status: string;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
// @public (undocumented)
|
|
470
|
+
export type SearchGetPolygonParameters = SearchGetPolygonQueryParam & RequestParameters;
|
|
471
|
+
|
|
472
|
+
// @public (undocumented)
|
|
473
|
+
export interface SearchGetPolygonQueryParam {
|
|
474
|
+
// (undocumented)
|
|
475
|
+
queryParameters: SearchGetPolygonQueryParamProperties;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
// @public (undocumented)
|
|
479
|
+
export interface SearchGetPolygonQueryParamProperties {
|
|
480
|
+
coordinates: Array<number>;
|
|
481
|
+
resolution?: "small" | "medium" | "large" | "huge";
|
|
482
|
+
resultType?: "countryRegion" | "adminDistrict" | "adminDistrict2" | "postalCode" | "postalCode2" | "postalCode3" | "postalCode4" | "neighborhood" | "locality";
|
|
483
|
+
view?: string;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
// @public
|
|
487
|
+
export interface SearchGetReverseGeocoding200Response extends HttpResponse {
|
|
488
|
+
// (undocumented)
|
|
489
|
+
body: GeocodingResponseOutput;
|
|
490
|
+
// (undocumented)
|
|
491
|
+
status: "200";
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
// @public
|
|
495
|
+
export interface SearchGetReverseGeocodingBatch200Response extends HttpResponse {
|
|
496
|
+
// (undocumented)
|
|
497
|
+
body: GeocodingBatchResponseOutput;
|
|
498
|
+
// (undocumented)
|
|
499
|
+
status: "200";
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
// @public (undocumented)
|
|
503
|
+
export interface SearchGetReverseGeocodingBatchBodyParam {
|
|
504
|
+
body: ReverseGeocodingBatchRequestBody;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
// @public
|
|
508
|
+
export interface SearchGetReverseGeocodingBatchDefaultResponse extends HttpResponse {
|
|
509
|
+
// (undocumented)
|
|
510
|
+
body: ErrorResponseOutput;
|
|
511
|
+
// (undocumented)
|
|
512
|
+
status: string;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
// @public (undocumented)
|
|
516
|
+
export interface SearchGetReverseGeocodingBatchMediaTypesParam {
|
|
517
|
+
contentType?: "application/json";
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
// @public (undocumented)
|
|
521
|
+
export type SearchGetReverseGeocodingBatchParameters = SearchGetReverseGeocodingBatchMediaTypesParam & SearchGetReverseGeocodingBatchBodyParam & RequestParameters;
|
|
522
|
+
|
|
523
|
+
// @public
|
|
524
|
+
export interface SearchGetReverseGeocodingDefaultResponse extends HttpResponse {
|
|
525
|
+
// (undocumented)
|
|
526
|
+
body: ErrorResponseOutput;
|
|
527
|
+
// (undocumented)
|
|
528
|
+
status: string;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
// @public (undocumented)
|
|
532
|
+
export type SearchGetReverseGeocodingParameters = SearchGetReverseGeocodingQueryParam & RequestParameters;
|
|
533
|
+
|
|
534
|
+
// @public (undocumented)
|
|
535
|
+
export interface SearchGetReverseGeocodingQueryParam {
|
|
536
|
+
// (undocumented)
|
|
537
|
+
queryParameters: SearchGetReverseGeocodingQueryParamProperties;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
// @public (undocumented)
|
|
541
|
+
export interface SearchGetReverseGeocodingQueryParamProperties {
|
|
542
|
+
coordinates: Array<number>;
|
|
543
|
+
resultTypes?: Array<"Address" | "Neighborhood" | "PopulatedPlace" | "Postcode1" | "AdminDivision1" | "AdminDivision2" | "CountryRegion">;
|
|
544
|
+
view?: string;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
// (No @packageDocumentation comment for this package)
|
|
548
|
+
|
|
549
|
+
```
|