@aws-sdk/client-geo-places 3.1075.0 → 3.1076.0
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/dist-cjs/index.js +1174 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -57
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/GeoPlacesServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -63
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -914
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultGeoPlacesHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "geo-places",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultGeoPlacesHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,1039 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const m = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "stringEquals", f = "booleanEquals", g = "getAttr", h = { [m]: "Endpoint" }, i = { "fn": g, "argv": [{ [m]: d }, "name"] }, j = { [m]: d }, k = {}, l = [{ [m]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [h]],
|
|
79
|
+
[c, l],
|
|
80
|
+
["aws.partition", l, d],
|
|
81
|
+
[e, [i, "aws-us-gov"]],
|
|
82
|
+
[e, [i, "aws"]],
|
|
83
|
+
[f, [{ [m]: "UseFIPS" }, b]],
|
|
84
|
+
[f, [{ fn: g, argv: [j, "supportsFIPS"] }, b]],
|
|
85
|
+
[f, [{ [m]: "UseDualStack" }, b]],
|
|
86
|
+
[f, [{ fn: g, argv: [j, "supportsDualStack"] }, b]]
|
|
87
|
+
],
|
|
88
|
+
results: [
|
|
89
|
+
[a],
|
|
90
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
91
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
92
|
+
[h, k],
|
|
93
|
+
["https://places.geo.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
94
|
+
["https://places.geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
95
|
+
["https://places.geo-fips.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
96
|
+
["https://places.geo.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
97
|
+
["https://geo-places-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
98
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
99
|
+
["https://geo-places-fips.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
100
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
101
|
+
["https://geo-places.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
102
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
103
|
+
["https://geo-places.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
104
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
105
|
+
]
|
|
106
|
+
};
|
|
107
|
+
const root = 2;
|
|
108
|
+
const r = 100_000_000;
|
|
109
|
+
const nodes = new Int32Array([
|
|
110
|
+
-1, 1, -1,
|
|
111
|
+
0, 17, 3,
|
|
112
|
+
1, 4, r + 15,
|
|
113
|
+
2, 5, r + 15,
|
|
114
|
+
3, 14, 6,
|
|
115
|
+
4, 14, 7,
|
|
116
|
+
5, 10, 8,
|
|
117
|
+
7, 9, r + 14,
|
|
118
|
+
8, r + 12, r + 13,
|
|
119
|
+
6, 12, 11,
|
|
120
|
+
7, r + 9, r + 11,
|
|
121
|
+
7, 13, r + 10,
|
|
122
|
+
8, r + 8, r + 9,
|
|
123
|
+
5, 16, 15,
|
|
124
|
+
7, r + 7, r + 4,
|
|
125
|
+
7, r + 5, r + 6,
|
|
126
|
+
5, r + 1, 18,
|
|
127
|
+
7, r + 2, r + 3,
|
|
128
|
+
]);
|
|
129
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
130
|
+
|
|
131
|
+
const cache = new EndpointCache({
|
|
132
|
+
size: 50,
|
|
133
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
134
|
+
});
|
|
135
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
136
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
137
|
+
endpointParams: endpointParams,
|
|
138
|
+
logger: context.logger,
|
|
139
|
+
}));
|
|
140
|
+
};
|
|
141
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
142
|
+
|
|
143
|
+
class GeoPlacesServiceException extends ServiceException {
|
|
144
|
+
constructor(options) {
|
|
145
|
+
super(options);
|
|
146
|
+
Object.setPrototypeOf(this, GeoPlacesServiceException.prototype);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
class AccessDeniedException extends GeoPlacesServiceException {
|
|
151
|
+
name = "AccessDeniedException";
|
|
152
|
+
$fault = "client";
|
|
153
|
+
Message;
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "AccessDeniedException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
161
|
+
this.Message = opts.Message;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
class InternalServerException extends GeoPlacesServiceException {
|
|
165
|
+
name = "InternalServerException";
|
|
166
|
+
$fault = "server";
|
|
167
|
+
$retryable = {};
|
|
168
|
+
Message;
|
|
169
|
+
constructor(opts) {
|
|
170
|
+
super({
|
|
171
|
+
name: "InternalServerException",
|
|
172
|
+
$fault: "server",
|
|
173
|
+
...opts,
|
|
174
|
+
});
|
|
175
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
176
|
+
this.Message = opts.Message;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
class ThrottlingException extends GeoPlacesServiceException {
|
|
180
|
+
name = "ThrottlingException";
|
|
181
|
+
$fault = "client";
|
|
182
|
+
$retryable = {};
|
|
183
|
+
Message;
|
|
184
|
+
constructor(opts) {
|
|
185
|
+
super({
|
|
186
|
+
name: "ThrottlingException",
|
|
187
|
+
$fault: "client",
|
|
188
|
+
...opts,
|
|
189
|
+
});
|
|
190
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
191
|
+
this.Message = opts.Message;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
class ValidationException extends GeoPlacesServiceException {
|
|
195
|
+
name = "ValidationException";
|
|
196
|
+
$fault = "client";
|
|
197
|
+
Message;
|
|
198
|
+
Reason;
|
|
199
|
+
FieldList;
|
|
200
|
+
constructor(opts) {
|
|
201
|
+
super({
|
|
202
|
+
name: "ValidationException",
|
|
203
|
+
$fault: "client",
|
|
204
|
+
...opts,
|
|
205
|
+
});
|
|
206
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
207
|
+
this.Message = opts.Message;
|
|
208
|
+
this.Reason = opts.Reason;
|
|
209
|
+
this.FieldList = opts.FieldList;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
const _A = "Address";
|
|
214
|
+
const _AAH = "AutocompleteAddressHighlights";
|
|
215
|
+
const _ACMS = "AddressComponentMatchScores";
|
|
216
|
+
const _ACP = "AddressComponentPhonemes";
|
|
217
|
+
const _ADE = "AccessDeniedException";
|
|
218
|
+
const _AF = "AutocompleteFilter";
|
|
219
|
+
const _AFd = "AdditionalFeatures";
|
|
220
|
+
const _AH = "AutocompleteHighlights";
|
|
221
|
+
const _AK = "ApiKey";
|
|
222
|
+
const _AN = "AddressNumber";
|
|
223
|
+
const _ANC = "AddressNumberCorrected";
|
|
224
|
+
const _AP = "AccessPoint";
|
|
225
|
+
const _APL = "AccessPointList";
|
|
226
|
+
const _APc = "AccessPoints";
|
|
227
|
+
const _AR = "AccessRestriction";
|
|
228
|
+
const _ARI = "AutocompleteResultItem";
|
|
229
|
+
const _ARIL = "AutocompleteResultItemList";
|
|
230
|
+
const _ARL = "AccessRestrictionList";
|
|
231
|
+
const _ARc = "AccessRestrictions";
|
|
232
|
+
const _ARu = "AutocompleteRequest";
|
|
233
|
+
const _ARut = "AutocompleteResponse";
|
|
234
|
+
const _Au = "Autocomplete";
|
|
235
|
+
const _B = "Block";
|
|
236
|
+
const _BB = "BoundingBox";
|
|
237
|
+
const _BC = "BusinessChain";
|
|
238
|
+
const _BCL = "BusinessChainList";
|
|
239
|
+
const _BCu = "BusinessChains";
|
|
240
|
+
const _BN = "BaseName";
|
|
241
|
+
const _BP = "BiasPosition";
|
|
242
|
+
const _Bu = "Building";
|
|
243
|
+
const _C = "Categories";
|
|
244
|
+
const _CC = "CountryCode";
|
|
245
|
+
const _CCL = "CountryCodeList";
|
|
246
|
+
const _CCo = "CountryCode2";
|
|
247
|
+
const _CCou = "CountryCode3";
|
|
248
|
+
const _CD = "ContactDetails";
|
|
249
|
+
const _CDL = "ContactDetailsList";
|
|
250
|
+
const _CH = "CountryHighlights";
|
|
251
|
+
const _CL = "CategoryList";
|
|
252
|
+
const _CMS = "ComponentMatchScores";
|
|
253
|
+
const _Ca = "Category";
|
|
254
|
+
const _Ce = "Center";
|
|
255
|
+
const _Ci = "Circle";
|
|
256
|
+
const _Co = "Country";
|
|
257
|
+
const _Cod = "Code2";
|
|
258
|
+
const _Code = "Code3";
|
|
259
|
+
const _Code_ = "Code";
|
|
260
|
+
const _Com = "Components";
|
|
261
|
+
const _Con = "Contacts";
|
|
262
|
+
const _D = "District";
|
|
263
|
+
const _DM = "DistanceMeters";
|
|
264
|
+
const _DS = "DurationSeconds";
|
|
265
|
+
const _De = "Designator";
|
|
266
|
+
const _Di = "Distance";
|
|
267
|
+
const _Dir = "Direction";
|
|
268
|
+
const _Dis = "Display";
|
|
269
|
+
const _E = "Emails";
|
|
270
|
+
const _EBC = "ExcludeBusinessChains";
|
|
271
|
+
const _EC = "ExcludeCategories";
|
|
272
|
+
const _EFT = "ExcludeFoodTypes";
|
|
273
|
+
const _EI = "EndIndex";
|
|
274
|
+
const _F = "Filter";
|
|
275
|
+
const _FBCL = "FilterBusinessChainList";
|
|
276
|
+
const _FC = "FilterCircle";
|
|
277
|
+
const _FCL = "FilterCategoryList";
|
|
278
|
+
const _FFTL = "FilterFoodTypeList";
|
|
279
|
+
const _FL = "FieldList";
|
|
280
|
+
const _FT = "FoodType";
|
|
281
|
+
const _FTL = "FoodTypeList";
|
|
282
|
+
const _FTo = "FoodTypes";
|
|
283
|
+
const _Fa = "Faxes";
|
|
284
|
+
const _G = "Geocode";
|
|
285
|
+
const _GF = "GeocodeFilter";
|
|
286
|
+
const _GFPT = "GeocodeFilterPlaceType";
|
|
287
|
+
const _GFPTL = "GeocodeFilterPlaceTypeList";
|
|
288
|
+
const _GP = "GetPlace";
|
|
289
|
+
const _GPQ = "GeocodeParsedQuery";
|
|
290
|
+
const _GPQAC = "GeocodeParsedQueryAddressComponents";
|
|
291
|
+
const _GPR = "GetPlaceRequest";
|
|
292
|
+
const _GPRe = "GetPlaceResponse";
|
|
293
|
+
const _GQC = "GeocodeQueryComponents";
|
|
294
|
+
const _GR = "GeocodeRequest";
|
|
295
|
+
const _GRI = "GeocodeResultItem";
|
|
296
|
+
const _GRIL = "GeocodeResultItemList";
|
|
297
|
+
const _GRe = "GeocodeResponse";
|
|
298
|
+
const _H = "Heading";
|
|
299
|
+
const _HL = "HighlightList";
|
|
300
|
+
const _Hi = "Highlights";
|
|
301
|
+
const _Hig = "Highlight";
|
|
302
|
+
const _I = "Intersection";
|
|
303
|
+
const _IBC = "IncludeBusinessChains";
|
|
304
|
+
const _IC = "IncludeCountries";
|
|
305
|
+
const _ICn = "IncludeCategories";
|
|
306
|
+
const _IFT = "IncludeFoodTypes";
|
|
307
|
+
const _IHL = "IntersectionHighlightsList";
|
|
308
|
+
const _IL = "IntersectionList";
|
|
309
|
+
const _IPT = "IncludePlaceTypes";
|
|
310
|
+
const _ISE = "InternalServerException";
|
|
311
|
+
const _IU = "IntendedUse";
|
|
312
|
+
const _Id = "Id";
|
|
313
|
+
const _In = "Intersections";
|
|
314
|
+
const _K = "Key";
|
|
315
|
+
const _L = "Label";
|
|
316
|
+
const _LN = "LocalizedName";
|
|
317
|
+
const _La = "Language";
|
|
318
|
+
const _Lo = "Locality";
|
|
319
|
+
const _M = "Message";
|
|
320
|
+
const _MA = "MainAddress";
|
|
321
|
+
const _MQR = "MaxQueryRefinements";
|
|
322
|
+
const _MR = "MaxResults";
|
|
323
|
+
const _MS = "MatchScores";
|
|
324
|
+
const _MSD = "MatchScoreDetails";
|
|
325
|
+
const _MV = "MapView";
|
|
326
|
+
const _N = "Name";
|
|
327
|
+
const _NT = "NextToken";
|
|
328
|
+
const _Nu = "Number";
|
|
329
|
+
const _O = "Overall";
|
|
330
|
+
const _OD = "OpenDuration";
|
|
331
|
+
const _OH = "OpeningHours";
|
|
332
|
+
const _OHC = "OpeningHoursComponents";
|
|
333
|
+
const _OHCL = "OpeningHoursComponentsList";
|
|
334
|
+
const _OHD = "OpeningHoursDisplay";
|
|
335
|
+
const _OHDL = "OpeningHoursDisplayList";
|
|
336
|
+
const _OHL = "OpeningHoursList";
|
|
337
|
+
const _ON = "OpenNow";
|
|
338
|
+
const _OS = "OffsetSeconds";
|
|
339
|
+
const _OT = "OpenTime";
|
|
340
|
+
const _OTr = "OriginalTerm";
|
|
341
|
+
const _Of = "Offset";
|
|
342
|
+
const _P = "Position";
|
|
343
|
+
const _PA = "PostalAuthority";
|
|
344
|
+
const _PB = "PricingBucket";
|
|
345
|
+
const _PC = "PostalCode";
|
|
346
|
+
const _PCD = "PostalCodeDetails";
|
|
347
|
+
const _PCDL = "PostalCodeDetailsList";
|
|
348
|
+
const _PCM = "PostalCodeMode";
|
|
349
|
+
const _PCT = "PostalCodeType";
|
|
350
|
+
const _PD = "PhonemeDetails";
|
|
351
|
+
const _PI = "PlaceId";
|
|
352
|
+
const _PQ = "ParsedQuery";
|
|
353
|
+
const _PQC = "ParsedQueryComponent";
|
|
354
|
+
const _PQCL = "ParsedQueryComponentList";
|
|
355
|
+
const _PQSAC = "ParsedQuerySecondaryAddressComponent";
|
|
356
|
+
const _PQSACL = "ParsedQuerySecondaryAddressComponentList";
|
|
357
|
+
const _PT = "PlaceType";
|
|
358
|
+
const _PTL = "PhonemeTranscriptionList";
|
|
359
|
+
const _PTh = "PhonemeTranscription";
|
|
360
|
+
const _PV = "PoliticalView";
|
|
361
|
+
const _Ph = "Phones";
|
|
362
|
+
const _Pho = "Phonemes";
|
|
363
|
+
const _Pl = "Place";
|
|
364
|
+
const _Pr = "Primary";
|
|
365
|
+
const _Pre = "Preferred";
|
|
366
|
+
const _Pref = "Prefix";
|
|
367
|
+
const _Q = "Query";
|
|
368
|
+
const _QC = "QueryComponents";
|
|
369
|
+
const _QCu = "QueryComponent";
|
|
370
|
+
const _QI = "QueryId";
|
|
371
|
+
const _QP = "QueryPosition";
|
|
372
|
+
const _QR = "QueryRefinement";
|
|
373
|
+
const _QRL = "QueryRefinementList";
|
|
374
|
+
const _QRu = "QueryRadius";
|
|
375
|
+
const _QRue = "QueryRefinements";
|
|
376
|
+
const _QT = "QueryText";
|
|
377
|
+
const _QTu = "QueryType";
|
|
378
|
+
const _R = "Reason";
|
|
379
|
+
const _RD = "RouteDistance";
|
|
380
|
+
const _RG = "ReverseGeocode";
|
|
381
|
+
const _RGF = "ReverseGeocodeFilter";
|
|
382
|
+
const _RGR = "ReverseGeocodeRequest";
|
|
383
|
+
const _RGRI = "ReverseGeocodeResultItem";
|
|
384
|
+
const _RGRIL = "ReverseGeocodeResultItemList";
|
|
385
|
+
const _RGRe = "ReverseGeocodeResponse";
|
|
386
|
+
const _RH = "RegionHighlights";
|
|
387
|
+
const _RI = "ResultItems";
|
|
388
|
+
const _RP = "RelatedPlace";
|
|
389
|
+
const _RPL = "RelatedPlaceList";
|
|
390
|
+
const _RT = "RefinedTerm";
|
|
391
|
+
const _RTC = "RecordTypeCode";
|
|
392
|
+
const _Ra = "Radius";
|
|
393
|
+
const _Re = "Restricted";
|
|
394
|
+
const _Rec = "Recurrence";
|
|
395
|
+
const _Reg = "Region";
|
|
396
|
+
const _S = "Street";
|
|
397
|
+
const _SA = "SecondaryAddresses";
|
|
398
|
+
const _SAC = "SecondaryAddressComponents";
|
|
399
|
+
const _SACL = "SecondaryAddressComponentList";
|
|
400
|
+
const _SACMS = "SecondaryAddressComponentMatchScore";
|
|
401
|
+
const _SACMSL = "SecondaryAddressComponentMatchScoreList";
|
|
402
|
+
const _SACe = "SecondaryAddressComponent";
|
|
403
|
+
const _SAH = "SuggestAddressHighlights";
|
|
404
|
+
const _SB = "SensitiveBoolean";
|
|
405
|
+
const _SBu = "SubBlock";
|
|
406
|
+
const _SC = "StreetComponents";
|
|
407
|
+
const _SCL = "StreetComponentsList";
|
|
408
|
+
const _SD = "SubDistrict";
|
|
409
|
+
const _SF = "SuggestFilter";
|
|
410
|
+
const _SH = "SuggestHighlights";
|
|
411
|
+
const _SI = "StartIndex";
|
|
412
|
+
const _SN = "SearchNearby";
|
|
413
|
+
const _SNF = "SearchNearbyFilter";
|
|
414
|
+
const _SNR = "SearchNearbyRequest";
|
|
415
|
+
const _SNRI = "SearchNearbyResultItem";
|
|
416
|
+
const _SNRIL = "SearchNearbyResultItemList";
|
|
417
|
+
const _SNRe = "SearchNearbyResponse";
|
|
418
|
+
const _SPR = "SuggestPlaceResult";
|
|
419
|
+
const _SQR = "SuggestQueryResult";
|
|
420
|
+
const _SR = "SubRegion";
|
|
421
|
+
const _SRH = "SubRegionHighlights";
|
|
422
|
+
const _SRI = "SuggestResultItem";
|
|
423
|
+
const _SRIL = "SuggestResultItemList";
|
|
424
|
+
const _SRIT = "SuggestResultItemType";
|
|
425
|
+
const _SRu = "SuggestRequest";
|
|
426
|
+
const _SRug = "SuggestResponse";
|
|
427
|
+
const _SS = "SensitiveString";
|
|
428
|
+
const _ST = "SearchText";
|
|
429
|
+
const _STF = "SearchTextFilter";
|
|
430
|
+
const _STR = "SearchTextRequest";
|
|
431
|
+
const _STRI = "SearchTextResultItem";
|
|
432
|
+
const _STRIL = "SearchTextResultItemList";
|
|
433
|
+
const _STRe = "SearchTextResponse";
|
|
434
|
+
const _Su = "Suffix";
|
|
435
|
+
const _Sug = "Suggest";
|
|
436
|
+
const _T = "Title";
|
|
437
|
+
const _TE = "ThrottlingException";
|
|
438
|
+
const _TP = "TypePlacement";
|
|
439
|
+
const _TS = "TypeSeparator";
|
|
440
|
+
const _TZ = "TimeZone";
|
|
441
|
+
const _Ty = "Type";
|
|
442
|
+
const _UZ = "UspsZip";
|
|
443
|
+
const _UZP = "UspsZipPlus4";
|
|
444
|
+
const _V = "Value";
|
|
445
|
+
const _VE = "ValidationException";
|
|
446
|
+
const _VEF = "ValidationExceptionField";
|
|
447
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
448
|
+
const _W = "Websites";
|
|
449
|
+
const _ZCC = "ZipClassificationCode";
|
|
450
|
+
const _af = "additional-features";
|
|
451
|
+
const _c = "client";
|
|
452
|
+
const _e = "error";
|
|
453
|
+
const _fL = "fieldList";
|
|
454
|
+
const _h = "http";
|
|
455
|
+
const _hE = "httpError";
|
|
456
|
+
const _hH = "httpHeader";
|
|
457
|
+
const _hQ = "httpQuery";
|
|
458
|
+
const _iu = "intended-use";
|
|
459
|
+
const _jN = "jsonName";
|
|
460
|
+
const _k = "key";
|
|
461
|
+
const _l = "language";
|
|
462
|
+
const _m = "message";
|
|
463
|
+
const _n = "name";
|
|
464
|
+
const _pv = "political-view";
|
|
465
|
+
const _r = "reason";
|
|
466
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.geoplaces";
|
|
467
|
+
const _se = "server";
|
|
468
|
+
const _xagpb = "x-amz-geo-pricing-bucket";
|
|
469
|
+
const n0 = "com.amazonaws.geoplaces";
|
|
470
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
471
|
+
var GeoPlacesServiceException$ = [-3, _s, "GeoPlacesServiceException", 0, [], []];
|
|
472
|
+
_s_registry.registerError(GeoPlacesServiceException$, GeoPlacesServiceException);
|
|
473
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
474
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
475
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
476
|
+
[_M],
|
|
477
|
+
[[0, { [_jN]: _m }]], 1
|
|
478
|
+
];
|
|
479
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
480
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
481
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
482
|
+
[_M],
|
|
483
|
+
[[0, { [_jN]: _m }]], 1
|
|
484
|
+
];
|
|
485
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
486
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
487
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
488
|
+
[_M],
|
|
489
|
+
[[0, { [_jN]: _m }]], 1
|
|
490
|
+
];
|
|
491
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
492
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
493
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
494
|
+
[_M, _R, _FL],
|
|
495
|
+
[[0, { [_jN]: _m }], [0, { [_jN]: _r }], [() => ValidationExceptionFieldList, { [_jN]: _fL }]], 3
|
|
496
|
+
];
|
|
497
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
498
|
+
const errorTypeRegistries = [
|
|
499
|
+
_s_registry,
|
|
500
|
+
n0_registry,
|
|
501
|
+
];
|
|
502
|
+
var ApiKey = [0, n0, _AK, 8, 0];
|
|
503
|
+
var CountryCode = [0, n0, _CC, 8, 0];
|
|
504
|
+
var CountryCode2 = [0, n0, _CCo, 8, 0];
|
|
505
|
+
var CountryCode3 = [0, n0, _CCou, 8, 0];
|
|
506
|
+
var DistanceMeters = [0, n0, _DM, 8, 1];
|
|
507
|
+
var DurationSeconds = [0, n0, _DS, 8, 1];
|
|
508
|
+
var GeocodeFilterPlaceType$1 = [0, n0, _GFPT, 8, 0];
|
|
509
|
+
var Heading = [0, n0, _H, 8, 1];
|
|
510
|
+
var OpeningHoursDisplay = [0, n0, _OHD, 8, 0];
|
|
511
|
+
var PlaceType$1 = [0, n0, _PT, 8, 0];
|
|
512
|
+
var PostalAuthority$1 = [0, n0, _PA, 8, 0];
|
|
513
|
+
var PostalCodeType$1 = [0, n0, _PCT, 8, 0];
|
|
514
|
+
var RecordTypeCode$1 = [0, n0, _RTC, 8, 0];
|
|
515
|
+
var SensitiveBoolean = [0, n0, _SB, 8, 2];
|
|
516
|
+
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
517
|
+
var ZipClassificationCode$1 = [0, n0, _ZCC, 8, 0];
|
|
518
|
+
var AccessPoint$ = [3, n0, _AP,
|
|
519
|
+
0,
|
|
520
|
+
[_P],
|
|
521
|
+
[[() => Position, 0]]
|
|
522
|
+
];
|
|
523
|
+
var AccessRestriction$ = [3, n0, _AR,
|
|
524
|
+
0,
|
|
525
|
+
[_Re, _C],
|
|
526
|
+
[[() => SensitiveBoolean, 0], [() => CategoryList, 0]]
|
|
527
|
+
];
|
|
528
|
+
var Address$ = [3, n0, _A,
|
|
529
|
+
0,
|
|
530
|
+
[_L, _Co, _Reg, _SR, _Lo, _D, _SD, _PC, _B, _SBu, _I, _S, _SC, _AN, _Bu, _SAC],
|
|
531
|
+
[[() => SensitiveString, 0], [() => Country$, 0], [() => Region$, 0], [() => SubRegion$, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], 64 | 0, [() => SensitiveString, 0], [() => StreetComponentsList, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SecondaryAddressComponentList, 0]]
|
|
532
|
+
];
|
|
533
|
+
var AddressComponentMatchScores$ = [3, n0, _ACMS,
|
|
534
|
+
0,
|
|
535
|
+
[_Co, _Reg, _SR, _Lo, _D, _SD, _PC, _B, _SBu, _I, _AN, _Bu, _SAC],
|
|
536
|
+
[1, 1, 1, 1, 1, 1, 1, 1, 1, 64 | 1, 1, 1, () => SecondaryAddressComponentMatchScoreList]
|
|
537
|
+
];
|
|
538
|
+
var AddressComponentPhonemes$ = [3, n0, _ACP,
|
|
539
|
+
0,
|
|
540
|
+
[_Co, _Reg, _SR, _Lo, _D, _SD, _B, _SBu, _S],
|
|
541
|
+
[[() => PhonemeTranscriptionList, 0], [() => PhonemeTranscriptionList, 0], [() => PhonemeTranscriptionList, 0], [() => PhonemeTranscriptionList, 0], [() => PhonemeTranscriptionList, 0], [() => PhonemeTranscriptionList, 0], [() => PhonemeTranscriptionList, 0], [() => PhonemeTranscriptionList, 0], [() => PhonemeTranscriptionList, 0]]
|
|
542
|
+
];
|
|
543
|
+
var AutocompleteAddressHighlights$ = [3, n0, _AAH,
|
|
544
|
+
0,
|
|
545
|
+
[_L, _Co, _Reg, _SR, _Lo, _D, _SD, _S, _B, _SBu, _I, _PC, _AN, _Bu],
|
|
546
|
+
[[() => HighlightList, 0], [() => CountryHighlights$, 0], [() => RegionHighlights$, 0], [() => SubRegionHighlights$, 0], [() => HighlightList, 0], [() => HighlightList, 0], [() => HighlightList, 0], [() => HighlightList, 0], [() => HighlightList, 0], [() => HighlightList, 0], [() => IntersectionHighlightsList, 0], [() => HighlightList, 0], [() => HighlightList, 0], [() => HighlightList, 0]]
|
|
547
|
+
];
|
|
548
|
+
var AutocompleteFilter$ = [3, n0, _AF,
|
|
549
|
+
0,
|
|
550
|
+
[_BB, _Ci, _IC, _IPT],
|
|
551
|
+
[[() => BoundingBox, 0], [() => FilterCircle$, 0], [() => CountryCodeList, 0], 64 | 0]
|
|
552
|
+
];
|
|
553
|
+
var AutocompleteHighlights$ = [3, n0, _AH,
|
|
554
|
+
0,
|
|
555
|
+
[_T, _A],
|
|
556
|
+
[[() => HighlightList, 0], [() => AutocompleteAddressHighlights$, 0]]
|
|
557
|
+
];
|
|
558
|
+
var AutocompleteRequest$ = [3, n0, _ARu,
|
|
559
|
+
0,
|
|
560
|
+
[_QT, _MR, _BP, _F, _PCM, _AFd, _La, _PV, _IU, _K],
|
|
561
|
+
[[() => SensitiveString, 0], 1, [() => Position, 0], [() => AutocompleteFilter$, 0], 0, 64 | 0, 0, [() => CountryCode, 0], 0, [() => ApiKey, { [_hQ]: _k }]], 1
|
|
562
|
+
];
|
|
563
|
+
var AutocompleteResponse$ = [3, n0, _ARut,
|
|
564
|
+
0,
|
|
565
|
+
[_PB, _RI],
|
|
566
|
+
[[0, { [_hH]: _xagpb }], [() => AutocompleteResultItemList, 0]], 1
|
|
567
|
+
];
|
|
568
|
+
var AutocompleteResultItem$ = [3, n0, _ARI,
|
|
569
|
+
0,
|
|
570
|
+
[_PI, _PT, _T, _A, _Di, _La, _PV, _Hi],
|
|
571
|
+
[[() => SensitiveString, 0], [() => PlaceType$1, 0], [() => SensitiveString, 0], [() => Address$, 0], [() => DistanceMeters, 0], 0, [() => CountryCode3, 0], [() => AutocompleteHighlights$, 0]], 3
|
|
572
|
+
];
|
|
573
|
+
var BusinessChain$ = [3, n0, _BC,
|
|
574
|
+
0,
|
|
575
|
+
[_N, _Id],
|
|
576
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0]]
|
|
577
|
+
];
|
|
578
|
+
var Category$ = [3, n0, _Ca,
|
|
579
|
+
0,
|
|
580
|
+
[_Id, _N, _LN, _Pr],
|
|
581
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveBoolean, 0]], 2
|
|
582
|
+
];
|
|
583
|
+
var ComponentMatchScores$ = [3, n0, _CMS,
|
|
584
|
+
0,
|
|
585
|
+
[_T, _A],
|
|
586
|
+
[1, () => AddressComponentMatchScores$]
|
|
587
|
+
];
|
|
588
|
+
var ContactDetails$ = [3, n0, _CD,
|
|
589
|
+
0,
|
|
590
|
+
[_L, _V, _C],
|
|
591
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], [() => CategoryList, 0]]
|
|
592
|
+
];
|
|
593
|
+
var Contacts$ = [3, n0, _Con,
|
|
594
|
+
0,
|
|
595
|
+
[_Ph, _Fa, _W, _E],
|
|
596
|
+
[[() => ContactDetailsList, 0], [() => ContactDetailsList, 0], [() => ContactDetailsList, 0], [() => ContactDetailsList, 0]]
|
|
597
|
+
];
|
|
598
|
+
var Country$ = [3, n0, _Co,
|
|
599
|
+
0,
|
|
600
|
+
[_Cod, _Code, _N],
|
|
601
|
+
[[() => CountryCode2, 0], [() => CountryCode3, 0], [() => SensitiveString, 0]]
|
|
602
|
+
];
|
|
603
|
+
var CountryHighlights$ = [3, n0, _CH,
|
|
604
|
+
0,
|
|
605
|
+
[_Code_, _N],
|
|
606
|
+
[[() => HighlightList, 0], [() => HighlightList, 0]]
|
|
607
|
+
];
|
|
608
|
+
var FilterCircle$ = [3, n0, _FC,
|
|
609
|
+
8,
|
|
610
|
+
[_Ce, _Ra],
|
|
611
|
+
[[() => Position, 0], [() => DistanceMeters, 0]], 2
|
|
612
|
+
];
|
|
613
|
+
var FoodType$ = [3, n0, _FT,
|
|
614
|
+
0,
|
|
615
|
+
[_LN, _Id, _Pr],
|
|
616
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveBoolean, 0]], 1
|
|
617
|
+
];
|
|
618
|
+
var GeocodeFilter$ = [3, n0, _GF,
|
|
619
|
+
0,
|
|
620
|
+
[_IC, _IPT],
|
|
621
|
+
[[() => CountryCodeList, 0], [() => GeocodeFilterPlaceTypeList, 0]]
|
|
622
|
+
];
|
|
623
|
+
var GeocodeParsedQuery$ = [3, n0, _GPQ,
|
|
624
|
+
0,
|
|
625
|
+
[_T, _A],
|
|
626
|
+
[[() => ParsedQueryComponentList, 0], [() => GeocodeParsedQueryAddressComponents$, 0]]
|
|
627
|
+
];
|
|
628
|
+
var GeocodeParsedQueryAddressComponents$ = [3, n0, _GPQAC,
|
|
629
|
+
0,
|
|
630
|
+
[_Co, _Reg, _SR, _Lo, _D, _SD, _PC, _B, _SBu, _S, _AN, _Bu, _SAC],
|
|
631
|
+
[[() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQueryComponentList, 0], [() => ParsedQuerySecondaryAddressComponentList, 0]]
|
|
632
|
+
];
|
|
633
|
+
var GeocodeQueryComponents$ = [3, n0, _GQC,
|
|
634
|
+
0,
|
|
635
|
+
[_Co, _Reg, _SR, _Lo, _D, _S, _AN, _PC],
|
|
636
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0]]
|
|
637
|
+
];
|
|
638
|
+
var GeocodeRequest$ = [3, n0, _GR,
|
|
639
|
+
0,
|
|
640
|
+
[_QT, _QC, _MR, _BP, _F, _AFd, _La, _PV, _IU, _K],
|
|
641
|
+
[[() => SensitiveString, 0], [() => GeocodeQueryComponents$, 0], 1, [() => Position, 0], [() => GeocodeFilter$, 0], 64 | 0, 0, [() => CountryCode, 0], 0, [() => ApiKey, { [_hQ]: _k }]]
|
|
642
|
+
];
|
|
643
|
+
var GeocodeResponse$ = [3, n0, _GRe,
|
|
644
|
+
0,
|
|
645
|
+
[_PB, _RI],
|
|
646
|
+
[[0, { [_hH]: _xagpb }], [() => GeocodeResultItemList, 0]], 1
|
|
647
|
+
];
|
|
648
|
+
var GeocodeResultItem$ = [3, n0, _GRI,
|
|
649
|
+
0,
|
|
650
|
+
[_PI, _PT, _T, _A, _ANC, _PCD, _P, _Di, _MV, _C, _FTo, _APc, _TZ, _PV, _MS, _PQ, _In, _MA, _SA],
|
|
651
|
+
[[() => SensitiveString, 0], [() => PlaceType$1, 0], [() => SensitiveString, 0], [() => Address$, 0], [() => SensitiveBoolean, 0], [() => PostalCodeDetailsList, 0], [() => Position, 0], [() => DistanceMeters, 0], [() => BoundingBox, 0], [() => CategoryList, 0], [() => FoodTypeList, 0], [() => AccessPointList, 0], [() => TimeZone$, 0], [() => CountryCode3, 0], () => MatchScoreDetails$, [() => GeocodeParsedQuery$, 0], [() => IntersectionList, 0], [() => RelatedPlace$, 0], [() => RelatedPlaceList, 0]], 3
|
|
652
|
+
];
|
|
653
|
+
var GetPlaceRequest$ = [3, n0, _GPR,
|
|
654
|
+
0,
|
|
655
|
+
[_PI, _AFd, _La, _PV, _IU, _K],
|
|
656
|
+
[[() => SensitiveString, 1], [64 | 0, { [_hQ]: _af }], [0, { [_hQ]: _l }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _iu }], [() => ApiKey, { [_hQ]: _k }]], 1
|
|
657
|
+
];
|
|
658
|
+
var GetPlaceResponse$ = [3, n0, _GPRe,
|
|
659
|
+
0,
|
|
660
|
+
[_PI, _PT, _T, _PB, _A, _ANC, _PCD, _P, _MV, _C, _FTo, _BCu, _Con, _OH, _APc, _ARc, _TZ, _PV, _Pho, _MA, _SA],
|
|
661
|
+
[[() => SensitiveString, 0], [() => PlaceType$1, 0], [() => SensitiveString, 0], [0, { [_hH]: _xagpb }], [() => Address$, 0], [() => SensitiveBoolean, 0], [() => PostalCodeDetailsList, 0], [() => Position, 0], [() => BoundingBox, 0], [() => CategoryList, 0], [() => FoodTypeList, 0], [() => BusinessChainList, 0], [() => Contacts$, 0], [() => OpeningHoursList, 0], [() => AccessPointList, 0], [() => AccessRestrictionList, 0], [() => TimeZone$, 0], [() => CountryCode3, 0], [() => PhonemeDetails$, 0], [() => RelatedPlace$, 0], [() => RelatedPlaceList, 0]], 4
|
|
662
|
+
];
|
|
663
|
+
var Highlight$ = [3, n0, _Hig,
|
|
664
|
+
0,
|
|
665
|
+
[_SI, _EI, _V],
|
|
666
|
+
[1, 1, [() => SensitiveString, 0]]
|
|
667
|
+
];
|
|
668
|
+
var Intersection$ = [3, n0, _I,
|
|
669
|
+
0,
|
|
670
|
+
[_PI, _T, _A, _P, _Di, _RD, _MV, _APc],
|
|
671
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], [() => Address$, 0], [() => Position, 0], [() => DistanceMeters, 0], [() => DistanceMeters, 0], [() => BoundingBox, 0], [() => AccessPointList, 0]], 2
|
|
672
|
+
];
|
|
673
|
+
var MatchScoreDetails$ = [3, n0, _MSD,
|
|
674
|
+
0,
|
|
675
|
+
[_O, _Com],
|
|
676
|
+
[1, () => ComponentMatchScores$]
|
|
677
|
+
];
|
|
678
|
+
var OpeningHours$ = [3, n0, _OH,
|
|
679
|
+
0,
|
|
680
|
+
[_Dis, _ON, _Com, _C],
|
|
681
|
+
[[() => OpeningHoursDisplayList, 0], [() => SensitiveBoolean, 0], [() => OpeningHoursComponentsList, 0], [() => CategoryList, 0]]
|
|
682
|
+
];
|
|
683
|
+
var OpeningHoursComponents$ = [3, n0, _OHC,
|
|
684
|
+
0,
|
|
685
|
+
[_OT, _OD, _Rec],
|
|
686
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0]]
|
|
687
|
+
];
|
|
688
|
+
var ParsedQueryComponent$ = [3, n0, _PQC,
|
|
689
|
+
0,
|
|
690
|
+
[_SI, _EI, _V, _QCu],
|
|
691
|
+
[1, 1, [() => SensitiveString, 0], [() => SensitiveString, 0]]
|
|
692
|
+
];
|
|
693
|
+
var ParsedQuerySecondaryAddressComponent$ = [3, n0, _PQSAC,
|
|
694
|
+
0,
|
|
695
|
+
[_SI, _EI, _V, _Nu, _De],
|
|
696
|
+
[1, 1, [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0]], 5
|
|
697
|
+
];
|
|
698
|
+
var PhonemeDetails$ = [3, n0, _PD,
|
|
699
|
+
0,
|
|
700
|
+
[_T, _A],
|
|
701
|
+
[[() => PhonemeTranscriptionList, 0], [() => AddressComponentPhonemes$, 0]]
|
|
702
|
+
];
|
|
703
|
+
var PhonemeTranscription$ = [3, n0, _PTh,
|
|
704
|
+
0,
|
|
705
|
+
[_V, _La, _Pre],
|
|
706
|
+
[[() => SensitiveString, 0], 0, [() => SensitiveBoolean, 0]]
|
|
707
|
+
];
|
|
708
|
+
var PostalCodeDetails$ = [3, n0, _PCD,
|
|
709
|
+
0,
|
|
710
|
+
[_PC, _PA, _PCT, _UZ, _UZP],
|
|
711
|
+
[[() => SensitiveString, 0], [() => PostalAuthority$1, 0], [() => PostalCodeType$1, 0], [() => UspsZip$, 0], [() => UspsZipPlus4$, 0]]
|
|
712
|
+
];
|
|
713
|
+
var QueryRefinement$ = [3, n0, _QR,
|
|
714
|
+
0,
|
|
715
|
+
[_RT, _OTr, _SI, _EI],
|
|
716
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], 1, 1], 4
|
|
717
|
+
];
|
|
718
|
+
var Region$ = [3, n0, _Reg,
|
|
719
|
+
0,
|
|
720
|
+
[_Code_, _N],
|
|
721
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0]]
|
|
722
|
+
];
|
|
723
|
+
var RegionHighlights$ = [3, n0, _RH,
|
|
724
|
+
0,
|
|
725
|
+
[_Code_, _N],
|
|
726
|
+
[[() => HighlightList, 0], [() => HighlightList, 0]]
|
|
727
|
+
];
|
|
728
|
+
var RelatedPlace$ = [3, n0, _RP,
|
|
729
|
+
0,
|
|
730
|
+
[_PI, _PT, _T, _A, _P, _APc],
|
|
731
|
+
[[() => SensitiveString, 0], [() => PlaceType$1, 0], [() => SensitiveString, 0], [() => Address$, 0], [() => Position, 0], [() => AccessPointList, 0]], 3
|
|
732
|
+
];
|
|
733
|
+
var ReverseGeocodeFilter$ = [3, n0, _RGF,
|
|
734
|
+
0,
|
|
735
|
+
[_IPT],
|
|
736
|
+
[64 | 0]
|
|
737
|
+
];
|
|
738
|
+
var ReverseGeocodeRequest$ = [3, n0, _RGR,
|
|
739
|
+
0,
|
|
740
|
+
[_QP, _QRu, _MR, _F, _AFd, _La, _PV, _IU, _K, _H],
|
|
741
|
+
[[() => Position, 0], [() => DistanceMeters, 0], 1, () => ReverseGeocodeFilter$, 64 | 0, 0, [() => CountryCode, 0], 0, [() => ApiKey, { [_hQ]: _k }], [() => Heading, 0]], 1
|
|
742
|
+
];
|
|
743
|
+
var ReverseGeocodeResponse$ = [3, n0, _RGRe,
|
|
744
|
+
0,
|
|
745
|
+
[_PB, _RI],
|
|
746
|
+
[[0, { [_hH]: _xagpb }], [() => ReverseGeocodeResultItemList, 0]], 1
|
|
747
|
+
];
|
|
748
|
+
var ReverseGeocodeResultItem$ = [3, n0, _RGRI,
|
|
749
|
+
0,
|
|
750
|
+
[_PI, _PT, _T, _A, _ANC, _PCD, _P, _Di, _MV, _C, _FTo, _APc, _TZ, _PV, _In],
|
|
751
|
+
[[() => SensitiveString, 0], [() => PlaceType$1, 0], [() => SensitiveString, 0], [() => Address$, 0], [() => SensitiveBoolean, 0], [() => PostalCodeDetailsList, 0], [() => Position, 0], [() => DistanceMeters, 0], [() => BoundingBox, 0], [() => CategoryList, 0], [() => FoodTypeList, 0], [() => AccessPointList, 0], [() => TimeZone$, 0], [() => CountryCode3, 0], [() => IntersectionList, 0]], 3
|
|
752
|
+
];
|
|
753
|
+
var SearchNearbyFilter$ = [3, n0, _SNF,
|
|
754
|
+
0,
|
|
755
|
+
[_BB, _IC, _ICn, _EC, _IBC, _EBC, _IFT, _EFT],
|
|
756
|
+
[[() => BoundingBox, 0], [() => CountryCodeList, 0], [() => FilterCategoryList, 0], [() => FilterCategoryList, 0], [() => FilterBusinessChainList, 0], [() => FilterBusinessChainList, 0], [() => FilterFoodTypeList, 0], [() => FilterFoodTypeList, 0]]
|
|
757
|
+
];
|
|
758
|
+
var SearchNearbyRequest$ = [3, n0, _SNR,
|
|
759
|
+
0,
|
|
760
|
+
[_QP, _QRu, _MR, _F, _AFd, _La, _PV, _IU, _NT, _K],
|
|
761
|
+
[[() => Position, 0], [() => DistanceMeters, 0], 1, [() => SearchNearbyFilter$, 0], 64 | 0, 0, [() => CountryCode, 0], 0, 0, [() => ApiKey, { [_hQ]: _k }]], 1
|
|
762
|
+
];
|
|
763
|
+
var SearchNearbyResponse$ = [3, n0, _SNRe,
|
|
764
|
+
0,
|
|
765
|
+
[_PB, _RI, _NT],
|
|
766
|
+
[[0, { [_hH]: _xagpb }], [() => SearchNearbyResultItemList, 0], 0], 1
|
|
767
|
+
];
|
|
768
|
+
var SearchNearbyResultItem$ = [3, n0, _SNRI,
|
|
769
|
+
0,
|
|
770
|
+
[_PI, _PT, _T, _A, _ANC, _P, _Di, _MV, _C, _FTo, _BCu, _Con, _OH, _APc, _ARc, _TZ, _PV, _Pho],
|
|
771
|
+
[[() => SensitiveString, 0], [() => PlaceType$1, 0], [() => SensitiveString, 0], [() => Address$, 0], [() => SensitiveBoolean, 0], [() => Position, 0], [() => DistanceMeters, 0], [() => BoundingBox, 0], [() => CategoryList, 0], [() => FoodTypeList, 0], [() => BusinessChainList, 0], [() => Contacts$, 0], [() => OpeningHoursList, 0], [() => AccessPointList, 0], [() => AccessRestrictionList, 0], [() => TimeZone$, 0], [() => CountryCode3, 0], [() => PhonemeDetails$, 0]], 3
|
|
772
|
+
];
|
|
773
|
+
var SearchTextFilter$ = [3, n0, _STF,
|
|
774
|
+
0,
|
|
775
|
+
[_BB, _Ci, _IC],
|
|
776
|
+
[[() => BoundingBox, 0], [() => FilterCircle$, 0], [() => CountryCodeList, 0]]
|
|
777
|
+
];
|
|
778
|
+
var SearchTextRequest$ = [3, n0, _STR,
|
|
779
|
+
0,
|
|
780
|
+
[_QT, _QI, _MR, _BP, _F, _AFd, _La, _PV, _IU, _NT, _K],
|
|
781
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], 1, [() => Position, 0], [() => SearchTextFilter$, 0], 64 | 0, 0, [() => CountryCode, 0], 0, 0, [() => ApiKey, { [_hQ]: _k }]]
|
|
782
|
+
];
|
|
783
|
+
var SearchTextResponse$ = [3, n0, _STRe,
|
|
784
|
+
0,
|
|
785
|
+
[_PB, _RI, _NT],
|
|
786
|
+
[[0, { [_hH]: _xagpb }], [() => SearchTextResultItemList, 0], 0], 1
|
|
787
|
+
];
|
|
788
|
+
var SearchTextResultItem$ = [3, n0, _STRI,
|
|
789
|
+
0,
|
|
790
|
+
[_PI, _PT, _T, _A, _ANC, _P, _Di, _MV, _C, _FTo, _BCu, _Con, _OH, _APc, _ARc, _TZ, _PV, _Pho],
|
|
791
|
+
[[() => SensitiveString, 0], [() => PlaceType$1, 0], [() => SensitiveString, 0], [() => Address$, 0], [() => SensitiveBoolean, 0], [() => Position, 0], [() => DistanceMeters, 0], [() => BoundingBox, 0], [() => CategoryList, 0], [() => FoodTypeList, 0], [() => BusinessChainList, 0], [() => Contacts$, 0], [() => OpeningHoursList, 0], [() => AccessPointList, 0], [() => AccessRestrictionList, 0], [() => TimeZone$, 0], [() => CountryCode3, 0], [() => PhonemeDetails$, 0]], 3
|
|
792
|
+
];
|
|
793
|
+
var SecondaryAddressComponent$ = [3, n0, _SACe,
|
|
794
|
+
0,
|
|
795
|
+
[_Nu, _De],
|
|
796
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0]], 1
|
|
797
|
+
];
|
|
798
|
+
var SecondaryAddressComponentMatchScore$ = [3, n0, _SACMS,
|
|
799
|
+
0,
|
|
800
|
+
[_Nu],
|
|
801
|
+
[1]
|
|
802
|
+
];
|
|
803
|
+
var StreetComponents$ = [3, n0, _SC,
|
|
804
|
+
0,
|
|
805
|
+
[_BN, _Ty, _TP, _TS, _Pref, _Su, _Dir, _La],
|
|
806
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], 0, 0, [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], 0]
|
|
807
|
+
];
|
|
808
|
+
var SubRegion$ = [3, n0, _SR,
|
|
809
|
+
0,
|
|
810
|
+
[_Code_, _N],
|
|
811
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0]]
|
|
812
|
+
];
|
|
813
|
+
var SubRegionHighlights$ = [3, n0, _SRH,
|
|
814
|
+
0,
|
|
815
|
+
[_Code_, _N],
|
|
816
|
+
[[() => HighlightList, 0], [() => HighlightList, 0]]
|
|
817
|
+
];
|
|
818
|
+
var SuggestAddressHighlights$ = [3, n0, _SAH,
|
|
819
|
+
0,
|
|
820
|
+
[_L],
|
|
821
|
+
[[() => HighlightList, 0]]
|
|
822
|
+
];
|
|
823
|
+
var SuggestFilter$ = [3, n0, _SF,
|
|
824
|
+
0,
|
|
825
|
+
[_BB, _Ci, _IC],
|
|
826
|
+
[[() => BoundingBox, 0], [() => FilterCircle$, 0], [() => CountryCodeList, 0]]
|
|
827
|
+
];
|
|
828
|
+
var SuggestHighlights$ = [3, n0, _SH,
|
|
829
|
+
0,
|
|
830
|
+
[_T, _A],
|
|
831
|
+
[[() => HighlightList, 0], [() => SuggestAddressHighlights$, 0]]
|
|
832
|
+
];
|
|
833
|
+
var SuggestPlaceResult$ = [3, n0, _SPR,
|
|
834
|
+
0,
|
|
835
|
+
[_PI, _PT, _A, _P, _Di, _MV, _C, _FTo, _BCu, _APc, _ARc, _TZ, _PV, _Pho],
|
|
836
|
+
[[() => SensitiveString, 0], [() => PlaceType$1, 0], [() => Address$, 0], [() => Position, 0], [() => DistanceMeters, 0], [() => BoundingBox, 0], [() => CategoryList, 0], [() => FoodTypeList, 0], [() => BusinessChainList, 0], [() => AccessPointList, 0], [() => AccessRestrictionList, 0], [() => TimeZone$, 0], [() => CountryCode3, 0], [() => PhonemeDetails$, 0]]
|
|
837
|
+
];
|
|
838
|
+
var SuggestQueryResult$ = [3, n0, _SQR,
|
|
839
|
+
0,
|
|
840
|
+
[_QI, _QTu],
|
|
841
|
+
[[() => SensitiveString, 0], 0]
|
|
842
|
+
];
|
|
843
|
+
var SuggestRequest$ = [3, n0, _SRu,
|
|
844
|
+
0,
|
|
845
|
+
[_QT, _MR, _MQR, _BP, _F, _AFd, _La, _PV, _IU, _K],
|
|
846
|
+
[[() => SensitiveString, 0], 1, 1, [() => Position, 0], [() => SuggestFilter$, 0], 64 | 0, 0, [() => CountryCode, 0], 0, [() => ApiKey, { [_hQ]: _k }]], 1
|
|
847
|
+
];
|
|
848
|
+
var SuggestResponse$ = [3, n0, _SRug,
|
|
849
|
+
0,
|
|
850
|
+
[_PB, _RI, _QRue],
|
|
851
|
+
[[0, { [_hH]: _xagpb }], [() => SuggestResultItemList, 0], [() => QueryRefinementList, 0]], 1
|
|
852
|
+
];
|
|
853
|
+
var SuggestResultItem$ = [3, n0, _SRI,
|
|
854
|
+
0,
|
|
855
|
+
[_T, _SRIT, _Pl, _Q, _Hi],
|
|
856
|
+
[[() => SensitiveString, 0], 0, [() => SuggestPlaceResult$, 0], [() => SuggestQueryResult$, 0], [() => SuggestHighlights$, 0]], 2
|
|
857
|
+
];
|
|
858
|
+
var TimeZone$ = [3, n0, _TZ,
|
|
859
|
+
0,
|
|
860
|
+
[_N, _Of, _OS],
|
|
861
|
+
[[() => SensitiveString, 0], [() => SensitiveString, 0], [() => DurationSeconds, 0]], 1
|
|
862
|
+
];
|
|
863
|
+
var UspsZip$ = [3, n0, _UZ,
|
|
864
|
+
0,
|
|
865
|
+
[_ZCC],
|
|
866
|
+
[[() => ZipClassificationCode$1, 0]]
|
|
867
|
+
];
|
|
868
|
+
var UspsZipPlus4$ = [3, n0, _UZP,
|
|
869
|
+
0,
|
|
870
|
+
[_RTC],
|
|
871
|
+
[[() => RecordTypeCode$1, 0]]
|
|
872
|
+
];
|
|
873
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
874
|
+
0,
|
|
875
|
+
[_N, _M],
|
|
876
|
+
[[0, { [_jN]: _n }], [0, { [_jN]: _m }]], 2
|
|
877
|
+
];
|
|
878
|
+
var AccessPointList = [1, n0, _APL,
|
|
879
|
+
0, [() => AccessPoint$,
|
|
880
|
+
0]
|
|
881
|
+
];
|
|
882
|
+
var AccessRestrictionList = [1, n0, _ARL,
|
|
883
|
+
0, [() => AccessRestriction$,
|
|
884
|
+
0]
|
|
885
|
+
];
|
|
886
|
+
var AutocompleteResultItemList = [1, n0, _ARIL,
|
|
887
|
+
0, [() => AutocompleteResultItem$,
|
|
888
|
+
0]
|
|
889
|
+
];
|
|
890
|
+
var BoundingBox = [1, n0, _BB,
|
|
891
|
+
8, 1
|
|
892
|
+
];
|
|
893
|
+
var BusinessChainList = [1, n0, _BCL,
|
|
894
|
+
0, [() => BusinessChain$,
|
|
895
|
+
0]
|
|
896
|
+
];
|
|
897
|
+
var CategoryList = [1, n0, _CL,
|
|
898
|
+
0, [() => Category$,
|
|
899
|
+
0]
|
|
900
|
+
];
|
|
901
|
+
var ContactDetailsList = [1, n0, _CDL,
|
|
902
|
+
0, [() => ContactDetails$,
|
|
903
|
+
0]
|
|
904
|
+
];
|
|
905
|
+
var CountryCodeList = [1, n0, _CCL,
|
|
906
|
+
0, [() => CountryCode,
|
|
907
|
+
0]
|
|
908
|
+
];
|
|
909
|
+
var FilterBusinessChainList = [1, n0, _FBCL,
|
|
910
|
+
0, [() => SensitiveString,
|
|
911
|
+
0]
|
|
912
|
+
];
|
|
913
|
+
var FilterCategoryList = [1, n0, _FCL,
|
|
914
|
+
0, [() => SensitiveString,
|
|
915
|
+
0]
|
|
916
|
+
];
|
|
917
|
+
var FilterFoodTypeList = [1, n0, _FFTL,
|
|
918
|
+
0, [() => SensitiveString,
|
|
919
|
+
0]
|
|
920
|
+
];
|
|
921
|
+
var FoodTypeList = [1, n0, _FTL,
|
|
922
|
+
0, [() => FoodType$,
|
|
923
|
+
0]
|
|
924
|
+
];
|
|
925
|
+
var GeocodeFilterPlaceTypeList = [1, n0, _GFPTL,
|
|
926
|
+
0, [() => GeocodeFilterPlaceType$1,
|
|
927
|
+
0]
|
|
928
|
+
];
|
|
929
|
+
var GeocodeResultItemList = [1, n0, _GRIL,
|
|
930
|
+
0, [() => GeocodeResultItem$,
|
|
931
|
+
0]
|
|
932
|
+
];
|
|
933
|
+
var HighlightList = [1, n0, _HL,
|
|
934
|
+
0, [() => Highlight$,
|
|
935
|
+
0]
|
|
936
|
+
];
|
|
937
|
+
var IntersectionHighlightsList = [1, n0, _IHL,
|
|
938
|
+
0, [() => HighlightList,
|
|
939
|
+
0]
|
|
940
|
+
];
|
|
941
|
+
var IntersectionList = [1, n0, _IL,
|
|
942
|
+
0, [() => Intersection$,
|
|
943
|
+
0]
|
|
944
|
+
];
|
|
945
|
+
var OpeningHoursComponentsList = [1, n0, _OHCL,
|
|
946
|
+
0, [() => OpeningHoursComponents$,
|
|
947
|
+
0]
|
|
948
|
+
];
|
|
949
|
+
var OpeningHoursDisplayList = [1, n0, _OHDL,
|
|
950
|
+
0, [() => OpeningHoursDisplay,
|
|
951
|
+
0]
|
|
952
|
+
];
|
|
953
|
+
var OpeningHoursList = [1, n0, _OHL,
|
|
954
|
+
0, [() => OpeningHours$,
|
|
955
|
+
0]
|
|
956
|
+
];
|
|
957
|
+
var ParsedQueryComponentList = [1, n0, _PQCL,
|
|
958
|
+
0, [() => ParsedQueryComponent$,
|
|
959
|
+
0]
|
|
960
|
+
];
|
|
961
|
+
var ParsedQuerySecondaryAddressComponentList = [1, n0, _PQSACL,
|
|
962
|
+
0, [() => ParsedQuerySecondaryAddressComponent$,
|
|
963
|
+
0]
|
|
964
|
+
];
|
|
965
|
+
var PhonemeTranscriptionList = [1, n0, _PTL,
|
|
966
|
+
0, [() => PhonemeTranscription$,
|
|
967
|
+
0]
|
|
968
|
+
];
|
|
969
|
+
var Position = [1, n0, _P,
|
|
970
|
+
8, 1
|
|
971
|
+
];
|
|
972
|
+
var PostalCodeDetailsList = [1, n0, _PCDL,
|
|
973
|
+
0, [() => PostalCodeDetails$,
|
|
974
|
+
0]
|
|
975
|
+
];
|
|
976
|
+
var QueryRefinementList = [1, n0, _QRL,
|
|
977
|
+
0, [() => QueryRefinement$,
|
|
978
|
+
0]
|
|
979
|
+
];
|
|
980
|
+
var RelatedPlaceList = [1, n0, _RPL,
|
|
981
|
+
0, [() => RelatedPlace$,
|
|
982
|
+
0]
|
|
983
|
+
];
|
|
984
|
+
var ReverseGeocodeResultItemList = [1, n0, _RGRIL,
|
|
985
|
+
0, [() => ReverseGeocodeResultItem$,
|
|
986
|
+
0]
|
|
987
|
+
];
|
|
988
|
+
var SearchNearbyResultItemList = [1, n0, _SNRIL,
|
|
989
|
+
0, [() => SearchNearbyResultItem$,
|
|
990
|
+
0]
|
|
991
|
+
];
|
|
992
|
+
var SearchTextResultItemList = [1, n0, _STRIL,
|
|
993
|
+
0, [() => SearchTextResultItem$,
|
|
994
|
+
0]
|
|
995
|
+
];
|
|
996
|
+
var SecondaryAddressComponentList = [1, n0, _SACL,
|
|
997
|
+
0, [() => SecondaryAddressComponent$,
|
|
998
|
+
0]
|
|
999
|
+
];
|
|
1000
|
+
var SecondaryAddressComponentMatchScoreList = [1, n0, _SACMSL,
|
|
1001
|
+
0, () => SecondaryAddressComponentMatchScore$
|
|
1002
|
+
];
|
|
1003
|
+
var StreetComponentsList = [1, n0, _SCL,
|
|
1004
|
+
0, [() => StreetComponents$,
|
|
1005
|
+
0]
|
|
1006
|
+
];
|
|
1007
|
+
var SuggestResultItemList = [1, n0, _SRIL,
|
|
1008
|
+
0, [() => SuggestResultItem$,
|
|
1009
|
+
0]
|
|
1010
|
+
];
|
|
1011
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
1012
|
+
0, [() => ValidationExceptionField$,
|
|
1013
|
+
0]
|
|
1014
|
+
];
|
|
1015
|
+
var Autocomplete$ = [9, n0, _Au,
|
|
1016
|
+
{ [_h]: ["POST", "/v2/autocomplete", 200] }, () => AutocompleteRequest$, () => AutocompleteResponse$
|
|
1017
|
+
];
|
|
1018
|
+
var Geocode$ = [9, n0, _G,
|
|
1019
|
+
{ [_h]: ["POST", "/v2/geocode", 200] }, () => GeocodeRequest$, () => GeocodeResponse$
|
|
1020
|
+
];
|
|
1021
|
+
var GetPlace$ = [9, n0, _GP,
|
|
1022
|
+
{ [_h]: ["GET", "/v2/place/{PlaceId}", 200] }, () => GetPlaceRequest$, () => GetPlaceResponse$
|
|
1023
|
+
];
|
|
1024
|
+
var ReverseGeocode$ = [9, n0, _RG,
|
|
1025
|
+
{ [_h]: ["POST", "/v2/reverse-geocode", 200] }, () => ReverseGeocodeRequest$, () => ReverseGeocodeResponse$
|
|
1026
|
+
];
|
|
1027
|
+
var SearchNearby$ = [9, n0, _SN,
|
|
1028
|
+
{ [_h]: ["POST", "/v2/search-nearby", 200] }, () => SearchNearbyRequest$, () => SearchNearbyResponse$
|
|
1029
|
+
];
|
|
1030
|
+
var SearchText$ = [9, n0, _ST,
|
|
1031
|
+
{ [_h]: ["POST", "/v2/search-text", 200] }, () => SearchTextRequest$, () => SearchTextResponse$
|
|
1032
|
+
];
|
|
1033
|
+
var Suggest$ = [9, n0, _Sug,
|
|
1034
|
+
{ [_h]: ["POST", "/v2/suggest", 200] }, () => SuggestRequest$, () => SuggestResponse$
|
|
1035
|
+
];
|
|
1036
|
+
|
|
1037
|
+
const getRuntimeConfig$1 = (config) => {
|
|
1038
|
+
return {
|
|
1039
|
+
apiVersion: "2020-11-19",
|
|
1040
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1041
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1042
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1043
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1044
|
+
extensions: config?.extensions ?? [],
|
|
1045
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultGeoPlacesHttpAuthSchemeProvider,
|
|
1046
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1047
|
+
{
|
|
1048
|
+
schemeId: "aws.auth#sigv4",
|
|
1049
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1050
|
+
signer: new AwsSdkSigV4Signer(),
|
|
1051
|
+
},
|
|
1052
|
+
],
|
|
1053
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
1054
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
1055
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1056
|
+
defaultNamespace: "com.amazonaws.geoplaces",
|
|
1057
|
+
errorTypeRegistries,
|
|
1058
|
+
version: "2020-11-19",
|
|
1059
|
+
serviceTarget: "PlacesService",
|
|
1060
|
+
},
|
|
1061
|
+
serviceId: config?.serviceId ?? "Geo Places",
|
|
1062
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
1063
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1064
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
const getRuntimeConfig = (config) => {
|
|
1069
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
1070
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
1071
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
1072
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1073
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1074
|
+
const loaderConfig = {
|
|
1075
|
+
profile: config?.profile,
|
|
1076
|
+
logger: clientSharedValues.logger,
|
|
1077
|
+
};
|
|
1078
|
+
return {
|
|
1079
|
+
...clientSharedValues,
|
|
1080
|
+
...config,
|
|
1081
|
+
runtime: "node",
|
|
1082
|
+
defaultsMode,
|
|
1083
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1084
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
1085
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1086
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1087
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1088
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1089
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1090
|
+
retryMode: config?.retryMode ??
|
|
1091
|
+
loadConfig({
|
|
1092
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1093
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1094
|
+
}, config),
|
|
1095
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1096
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1097
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1098
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1099
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
|
|
34
1103
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
1104
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
1105
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -355,39 +1424,129 @@ const SuggestResultItemType = {
|
|
|
355
1424
|
QUERY: "Query",
|
|
356
1425
|
};
|
|
357
1426
|
|
|
1427
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1428
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1429
|
+
exports.AccessPoint$ = AccessPoint$;
|
|
1430
|
+
exports.AccessRestriction$ = AccessRestriction$;
|
|
1431
|
+
exports.Address$ = Address$;
|
|
1432
|
+
exports.AddressComponentMatchScores$ = AddressComponentMatchScores$;
|
|
1433
|
+
exports.AddressComponentPhonemes$ = AddressComponentPhonemes$;
|
|
1434
|
+
exports.Autocomplete$ = Autocomplete$;
|
|
358
1435
|
exports.AutocompleteAdditionalFeature = AutocompleteAdditionalFeature;
|
|
1436
|
+
exports.AutocompleteAddressHighlights$ = AutocompleteAddressHighlights$;
|
|
359
1437
|
exports.AutocompleteCommand = AutocompleteCommand;
|
|
1438
|
+
exports.AutocompleteFilter$ = AutocompleteFilter$;
|
|
360
1439
|
exports.AutocompleteFilterPlaceType = AutocompleteFilterPlaceType;
|
|
1440
|
+
exports.AutocompleteHighlights$ = AutocompleteHighlights$;
|
|
361
1441
|
exports.AutocompleteIntendedUse = AutocompleteIntendedUse;
|
|
1442
|
+
exports.AutocompleteRequest$ = AutocompleteRequest$;
|
|
1443
|
+
exports.AutocompleteResponse$ = AutocompleteResponse$;
|
|
1444
|
+
exports.AutocompleteResultItem$ = AutocompleteResultItem$;
|
|
1445
|
+
exports.BusinessChain$ = BusinessChain$;
|
|
1446
|
+
exports.Category$ = Category$;
|
|
1447
|
+
exports.ComponentMatchScores$ = ComponentMatchScores$;
|
|
1448
|
+
exports.ContactDetails$ = ContactDetails$;
|
|
1449
|
+
exports.Contacts$ = Contacts$;
|
|
1450
|
+
exports.Country$ = Country$;
|
|
1451
|
+
exports.CountryHighlights$ = CountryHighlights$;
|
|
1452
|
+
exports.FilterCircle$ = FilterCircle$;
|
|
1453
|
+
exports.FoodType$ = FoodType$;
|
|
362
1454
|
exports.GeoPlaces = GeoPlaces;
|
|
363
1455
|
exports.GeoPlacesClient = GeoPlacesClient;
|
|
1456
|
+
exports.GeoPlacesServiceException = GeoPlacesServiceException;
|
|
1457
|
+
exports.GeoPlacesServiceException$ = GeoPlacesServiceException$;
|
|
1458
|
+
exports.Geocode$ = Geocode$;
|
|
364
1459
|
exports.GeocodeAdditionalFeature = GeocodeAdditionalFeature;
|
|
365
1460
|
exports.GeocodeCommand = GeocodeCommand;
|
|
1461
|
+
exports.GeocodeFilter$ = GeocodeFilter$;
|
|
366
1462
|
exports.GeocodeFilterPlaceType = GeocodeFilterPlaceType;
|
|
367
1463
|
exports.GeocodeIntendedUse = GeocodeIntendedUse;
|
|
1464
|
+
exports.GeocodeParsedQuery$ = GeocodeParsedQuery$;
|
|
1465
|
+
exports.GeocodeParsedQueryAddressComponents$ = GeocodeParsedQueryAddressComponents$;
|
|
1466
|
+
exports.GeocodeQueryComponents$ = GeocodeQueryComponents$;
|
|
1467
|
+
exports.GeocodeRequest$ = GeocodeRequest$;
|
|
1468
|
+
exports.GeocodeResponse$ = GeocodeResponse$;
|
|
1469
|
+
exports.GeocodeResultItem$ = GeocodeResultItem$;
|
|
1470
|
+
exports.GetPlace$ = GetPlace$;
|
|
368
1471
|
exports.GetPlaceAdditionalFeature = GetPlaceAdditionalFeature;
|
|
369
1472
|
exports.GetPlaceCommand = GetPlaceCommand;
|
|
370
1473
|
exports.GetPlaceIntendedUse = GetPlaceIntendedUse;
|
|
1474
|
+
exports.GetPlaceRequest$ = GetPlaceRequest$;
|
|
1475
|
+
exports.GetPlaceResponse$ = GetPlaceResponse$;
|
|
1476
|
+
exports.Highlight$ = Highlight$;
|
|
1477
|
+
exports.InternalServerException = InternalServerException;
|
|
1478
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1479
|
+
exports.Intersection$ = Intersection$;
|
|
1480
|
+
exports.MatchScoreDetails$ = MatchScoreDetails$;
|
|
1481
|
+
exports.OpeningHours$ = OpeningHours$;
|
|
1482
|
+
exports.OpeningHoursComponents$ = OpeningHoursComponents$;
|
|
1483
|
+
exports.ParsedQueryComponent$ = ParsedQueryComponent$;
|
|
1484
|
+
exports.ParsedQuerySecondaryAddressComponent$ = ParsedQuerySecondaryAddressComponent$;
|
|
1485
|
+
exports.PhonemeDetails$ = PhonemeDetails$;
|
|
1486
|
+
exports.PhonemeTranscription$ = PhonemeTranscription$;
|
|
371
1487
|
exports.PlaceType = PlaceType;
|
|
372
1488
|
exports.PostalAuthority = PostalAuthority;
|
|
1489
|
+
exports.PostalCodeDetails$ = PostalCodeDetails$;
|
|
373
1490
|
exports.PostalCodeMode = PostalCodeMode;
|
|
374
1491
|
exports.PostalCodeType = PostalCodeType;
|
|
1492
|
+
exports.QueryRefinement$ = QueryRefinement$;
|
|
375
1493
|
exports.QueryType = QueryType;
|
|
376
1494
|
exports.RecordTypeCode = RecordTypeCode;
|
|
1495
|
+
exports.Region$ = Region$;
|
|
1496
|
+
exports.RegionHighlights$ = RegionHighlights$;
|
|
1497
|
+
exports.RelatedPlace$ = RelatedPlace$;
|
|
1498
|
+
exports.ReverseGeocode$ = ReverseGeocode$;
|
|
377
1499
|
exports.ReverseGeocodeAdditionalFeature = ReverseGeocodeAdditionalFeature;
|
|
378
1500
|
exports.ReverseGeocodeCommand = ReverseGeocodeCommand;
|
|
1501
|
+
exports.ReverseGeocodeFilter$ = ReverseGeocodeFilter$;
|
|
379
1502
|
exports.ReverseGeocodeFilterPlaceType = ReverseGeocodeFilterPlaceType;
|
|
380
1503
|
exports.ReverseGeocodeIntendedUse = ReverseGeocodeIntendedUse;
|
|
1504
|
+
exports.ReverseGeocodeRequest$ = ReverseGeocodeRequest$;
|
|
1505
|
+
exports.ReverseGeocodeResponse$ = ReverseGeocodeResponse$;
|
|
1506
|
+
exports.ReverseGeocodeResultItem$ = ReverseGeocodeResultItem$;
|
|
1507
|
+
exports.SearchNearby$ = SearchNearby$;
|
|
381
1508
|
exports.SearchNearbyAdditionalFeature = SearchNearbyAdditionalFeature;
|
|
382
1509
|
exports.SearchNearbyCommand = SearchNearbyCommand;
|
|
1510
|
+
exports.SearchNearbyFilter$ = SearchNearbyFilter$;
|
|
383
1511
|
exports.SearchNearbyIntendedUse = SearchNearbyIntendedUse;
|
|
1512
|
+
exports.SearchNearbyRequest$ = SearchNearbyRequest$;
|
|
1513
|
+
exports.SearchNearbyResponse$ = SearchNearbyResponse$;
|
|
1514
|
+
exports.SearchNearbyResultItem$ = SearchNearbyResultItem$;
|
|
1515
|
+
exports.SearchText$ = SearchText$;
|
|
384
1516
|
exports.SearchTextAdditionalFeature = SearchTextAdditionalFeature;
|
|
385
1517
|
exports.SearchTextCommand = SearchTextCommand;
|
|
1518
|
+
exports.SearchTextFilter$ = SearchTextFilter$;
|
|
386
1519
|
exports.SearchTextIntendedUse = SearchTextIntendedUse;
|
|
1520
|
+
exports.SearchTextRequest$ = SearchTextRequest$;
|
|
1521
|
+
exports.SearchTextResponse$ = SearchTextResponse$;
|
|
1522
|
+
exports.SearchTextResultItem$ = SearchTextResultItem$;
|
|
1523
|
+
exports.SecondaryAddressComponent$ = SecondaryAddressComponent$;
|
|
1524
|
+
exports.SecondaryAddressComponentMatchScore$ = SecondaryAddressComponentMatchScore$;
|
|
1525
|
+
exports.StreetComponents$ = StreetComponents$;
|
|
1526
|
+
exports.SubRegion$ = SubRegion$;
|
|
1527
|
+
exports.SubRegionHighlights$ = SubRegionHighlights$;
|
|
1528
|
+
exports.Suggest$ = Suggest$;
|
|
387
1529
|
exports.SuggestAdditionalFeature = SuggestAdditionalFeature;
|
|
1530
|
+
exports.SuggestAddressHighlights$ = SuggestAddressHighlights$;
|
|
388
1531
|
exports.SuggestCommand = SuggestCommand;
|
|
1532
|
+
exports.SuggestFilter$ = SuggestFilter$;
|
|
1533
|
+
exports.SuggestHighlights$ = SuggestHighlights$;
|
|
389
1534
|
exports.SuggestIntendedUse = SuggestIntendedUse;
|
|
1535
|
+
exports.SuggestPlaceResult$ = SuggestPlaceResult$;
|
|
1536
|
+
exports.SuggestQueryResult$ = SuggestQueryResult$;
|
|
1537
|
+
exports.SuggestRequest$ = SuggestRequest$;
|
|
1538
|
+
exports.SuggestResponse$ = SuggestResponse$;
|
|
1539
|
+
exports.SuggestResultItem$ = SuggestResultItem$;
|
|
390
1540
|
exports.SuggestResultItemType = SuggestResultItemType;
|
|
1541
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1542
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1543
|
+
exports.TimeZone$ = TimeZone$;
|
|
391
1544
|
exports.TypePlacement = TypePlacement;
|
|
1545
|
+
exports.UspsZip$ = UspsZip$;
|
|
1546
|
+
exports.UspsZipPlus4$ = UspsZipPlus4$;
|
|
1547
|
+
exports.ValidationException = ValidationException;
|
|
1548
|
+
exports.ValidationException$ = ValidationException$;
|
|
1549
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
392
1550
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
393
1551
|
exports.ZipClassificationCode = ZipClassificationCode;
|
|
1552
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|