@aws-sdk/client-geo-places 3.928.0 → 3.930.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.
Files changed (31) hide show
  1. package/dist-cjs/index.js +1527 -1426
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/GeoPlacesClient.js +2 -0
  4. package/dist-es/commands/AutocompleteCommand.js +3 -10
  5. package/dist-es/commands/GeocodeCommand.js +3 -10
  6. package/dist-es/commands/GetPlaceCommand.js +3 -10
  7. package/dist-es/commands/ReverseGeocodeCommand.js +3 -10
  8. package/dist-es/commands/SearchNearbyCommand.js +3 -10
  9. package/dist-es/commands/SearchTextCommand.js +3 -10
  10. package/dist-es/commands/SuggestCommand.js +3 -10
  11. package/dist-es/models/models_0.js +0 -567
  12. package/dist-es/runtimeConfig.shared.js +2 -0
  13. package/dist-es/schemas/schemas_0.js +1508 -0
  14. package/dist-types/GeoPlacesClient.d.ts +10 -1
  15. package/dist-types/models/models_0.d.ts +0 -264
  16. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  17. package/dist-types/runtimeConfig.d.ts +1 -0
  18. package/dist-types/runtimeConfig.native.d.ts +1 -0
  19. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  20. package/dist-types/schemas/schemas_0.d.ts +146 -0
  21. package/dist-types/ts3.4/GeoPlacesClient.d.ts +4 -0
  22. package/dist-types/ts3.4/models/models_0.d.ts +0 -166
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +152 -0
  28. package/package.json +33 -33
  29. package/dist-es/protocols/Aws_restJson1.js +0 -732
  30. package/dist-types/protocols/Aws_restJson1.d.ts +0 -65
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -89
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class GeoPlacesClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class GeoPlacesClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class GeoPlacesServiceException extends smithyClient.ServiceException {
113
+ let GeoPlacesServiceException$1 = class GeoPlacesServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, GeoPlacesServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends GeoPlacesServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends GeoPlacesServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,7 +130,7 @@ class AccessDeniedException extends GeoPlacesServiceException {
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- }
133
+ };
134
134
  const TypePlacement = {
135
135
  AFTER_BASE_NAME: "AfterBaseName",
136
136
  BEFORE_BASE_NAME: "BeforeBaseName",
@@ -149,7 +149,7 @@ const PostalCodeMode = {
149
149
  ENUMERATE_SPANNED_LOCALITIES: "EnumerateSpannedLocalities",
150
150
  MERGE_ALL_SPANNED_LOCALITIES: "MergeAllSpannedLocalities",
151
151
  };
152
- const PlaceType = {
152
+ const PlaceType$1 = {
153
153
  BLOCK: "Block",
154
154
  COUNTRY: "Country",
155
155
  DISTRICT: "District",
@@ -166,7 +166,7 @@ const PlaceType = {
166
166
  SUB_DISTRICT: "SubDistrict",
167
167
  SUB_REGION: "SubRegion",
168
168
  };
169
- class InternalServerException extends GeoPlacesServiceException {
169
+ let InternalServerException$1 = class InternalServerException extends GeoPlacesServiceException$1 {
170
170
  name = "InternalServerException";
171
171
  $fault = "server";
172
172
  $retryable = {};
@@ -180,8 +180,8 @@ class InternalServerException extends GeoPlacesServiceException {
180
180
  Object.setPrototypeOf(this, InternalServerException.prototype);
181
181
  this.Message = opts.Message;
182
182
  }
183
- }
184
- class ThrottlingException extends GeoPlacesServiceException {
183
+ };
184
+ let ThrottlingException$1 = class ThrottlingException extends GeoPlacesServiceException$1 {
185
185
  name = "ThrottlingException";
186
186
  $fault = "client";
187
187
  $retryable = {};
@@ -195,7 +195,7 @@ class ThrottlingException extends GeoPlacesServiceException {
195
195
  Object.setPrototypeOf(this, ThrottlingException.prototype);
196
196
  this.Message = opts.Message;
197
197
  }
198
- }
198
+ };
199
199
  const ValidationExceptionReason = {
200
200
  CANNOT_PARSE: "CannotParse",
201
201
  FIELD_VALIDATION_FAILED: "FieldValidationFailed",
@@ -204,7 +204,7 @@ const ValidationExceptionReason = {
204
204
  UNKNOWN_FIELD: "UnknownField",
205
205
  UNKNOWN_OPERATION: "UnknownOperation",
206
206
  };
207
- class ValidationException extends GeoPlacesServiceException {
207
+ let ValidationException$1 = class ValidationException extends GeoPlacesServiceException$1 {
208
208
  name = "ValidationException";
209
209
  $fault = "client";
210
210
  Message;
@@ -221,14 +221,14 @@ class ValidationException extends GeoPlacesServiceException {
221
221
  this.Reason = opts.Reason;
222
222
  this.FieldList = opts.FieldList;
223
223
  }
224
- }
224
+ };
225
225
  const GeocodeAdditionalFeature = {
226
226
  ACCESS: "Access",
227
227
  INTERSECTIONS: "Intersections",
228
228
  SECONDARY_ADDRESSES: "SecondaryAddresses",
229
229
  TIME_ZONE: "TimeZone",
230
230
  };
231
- const GeocodeFilterPlaceType = {
231
+ const GeocodeFilterPlaceType$1 = {
232
232
  INTERPOLATED_ADDRESS: "InterpolatedAddress",
233
233
  INTERSECTION: "Intersection",
234
234
  LOCALITY: "Locality",
@@ -240,19 +240,19 @@ const GeocodeIntendedUse = {
240
240
  SINGLE_USE: "SingleUse",
241
241
  STORAGE: "Storage",
242
242
  };
243
- const PostalAuthority = {
243
+ const PostalAuthority$1 = {
244
244
  USPS: "Usps",
245
245
  };
246
- const PostalCodeType = {
246
+ const PostalCodeType$1 = {
247
247
  USPS_ZIP: "UspsZip",
248
248
  USPS_ZIP_PLUS_4: "UspsZipPlus4",
249
249
  };
250
- const ZipClassificationCode = {
250
+ const ZipClassificationCode$1 = {
251
251
  MILITARY: "Military",
252
252
  POST_OFFICE_BOXES: "PostOfficeBoxes",
253
253
  UNIQUE: "Unique",
254
254
  };
255
- const RecordTypeCode = {
255
+ const RecordTypeCode$1 = {
256
256
  FIRM: "Firm",
257
257
  GENERAL: "General",
258
258
  HIGH_RISE: "HighRise",
@@ -324,1314 +324,1511 @@ const SuggestResultItemType = {
324
324
  PLACE: "Place",
325
325
  QUERY: "Query",
326
326
  };
327
- const AccessPointFilterSensitiveLog = (obj) => ({
328
- ...obj,
329
- ...(obj.Position && { Position: smithyClient.SENSITIVE_STRING }),
330
- });
331
- const CategoryFilterSensitiveLog = (obj) => ({
332
- ...obj,
333
- ...(obj.Id && { Id: smithyClient.SENSITIVE_STRING }),
334
- ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
335
- ...(obj.LocalizedName && { LocalizedName: smithyClient.SENSITIVE_STRING }),
336
- ...(obj.Primary && { Primary: smithyClient.SENSITIVE_STRING }),
337
- });
338
- const AccessRestrictionFilterSensitiveLog = (obj) => ({
339
- ...obj,
340
- ...(obj.Restricted && { Restricted: smithyClient.SENSITIVE_STRING }),
341
- ...(obj.Categories && { Categories: obj.Categories.map((item) => CategoryFilterSensitiveLog(item)) }),
342
- });
343
- const CountryFilterSensitiveLog = (obj) => ({
344
- ...obj,
345
- ...(obj.Code2 && { Code2: smithyClient.SENSITIVE_STRING }),
346
- ...(obj.Code3 && { Code3: smithyClient.SENSITIVE_STRING }),
347
- ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
348
- });
349
- const RegionFilterSensitiveLog = (obj) => ({
350
- ...obj,
351
- ...(obj.Code && { Code: smithyClient.SENSITIVE_STRING }),
352
- ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
353
- });
354
- const SecondaryAddressComponentFilterSensitiveLog = (obj) => ({
355
- ...obj,
356
- ...(obj.Number && { Number: smithyClient.SENSITIVE_STRING }),
357
- });
358
- const StreetComponentsFilterSensitiveLog = (obj) => ({
359
- ...obj,
360
- ...(obj.BaseName && { BaseName: smithyClient.SENSITIVE_STRING }),
361
- ...(obj.Type && { Type: smithyClient.SENSITIVE_STRING }),
362
- ...(obj.Prefix && { Prefix: smithyClient.SENSITIVE_STRING }),
363
- ...(obj.Suffix && { Suffix: smithyClient.SENSITIVE_STRING }),
364
- ...(obj.Direction && { Direction: smithyClient.SENSITIVE_STRING }),
365
- });
366
- const SubRegionFilterSensitiveLog = (obj) => ({
367
- ...obj,
368
- ...(obj.Code && { Code: smithyClient.SENSITIVE_STRING }),
369
- ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
370
- });
371
- const AddressFilterSensitiveLog = (obj) => ({
372
- ...obj,
373
- ...(obj.Label && { Label: smithyClient.SENSITIVE_STRING }),
374
- ...(obj.Country && { Country: CountryFilterSensitiveLog(obj.Country) }),
375
- ...(obj.Region && { Region: RegionFilterSensitiveLog(obj.Region) }),
376
- ...(obj.SubRegion && { SubRegion: SubRegionFilterSensitiveLog(obj.SubRegion) }),
377
- ...(obj.Locality && { Locality: smithyClient.SENSITIVE_STRING }),
378
- ...(obj.District && { District: smithyClient.SENSITIVE_STRING }),
379
- ...(obj.SubDistrict && { SubDistrict: smithyClient.SENSITIVE_STRING }),
380
- ...(obj.PostalCode && { PostalCode: smithyClient.SENSITIVE_STRING }),
381
- ...(obj.Block && { Block: smithyClient.SENSITIVE_STRING }),
382
- ...(obj.SubBlock && { SubBlock: smithyClient.SENSITIVE_STRING }),
383
- ...(obj.Street && { Street: smithyClient.SENSITIVE_STRING }),
384
- ...(obj.StreetComponents && {
385
- StreetComponents: obj.StreetComponents.map((item) => StreetComponentsFilterSensitiveLog(item)),
386
- }),
387
- ...(obj.AddressNumber && { AddressNumber: smithyClient.SENSITIVE_STRING }),
388
- ...(obj.Building && { Building: smithyClient.SENSITIVE_STRING }),
389
- ...(obj.SecondaryAddressComponents && {
390
- SecondaryAddressComponents: obj.SecondaryAddressComponents.map((item) => SecondaryAddressComponentFilterSensitiveLog(item)),
391
- }),
392
- });
393
- const PhonemeTranscriptionFilterSensitiveLog = (obj) => ({
394
- ...obj,
395
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
396
- ...(obj.Preferred && { Preferred: smithyClient.SENSITIVE_STRING }),
397
- });
398
- const AddressComponentPhonemesFilterSensitiveLog = (obj) => ({
399
- ...obj,
400
- ...(obj.Country && { Country: obj.Country.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
401
- ...(obj.Region && { Region: obj.Region.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
402
- ...(obj.SubRegion && { SubRegion: obj.SubRegion.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
403
- ...(obj.Locality && { Locality: obj.Locality.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
404
- ...(obj.District && { District: obj.District.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
405
- ...(obj.SubDistrict && { SubDistrict: obj.SubDistrict.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
406
- ...(obj.Block && { Block: obj.Block.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
407
- ...(obj.SubBlock && { SubBlock: obj.SubBlock.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
408
- ...(obj.Street && { Street: obj.Street.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
409
- });
410
- const FilterCircleFilterSensitiveLog = (obj) => ({
411
- ...obj,
412
- ...(obj.Center && { Center: smithyClient.SENSITIVE_STRING }),
413
- ...(obj.Radius && { Radius: smithyClient.SENSITIVE_STRING }),
414
- });
415
- const AutocompleteFilterFilterSensitiveLog = (obj) => ({
416
- ...obj,
417
- ...(obj.BoundingBox && { BoundingBox: smithyClient.SENSITIVE_STRING }),
418
- ...(obj.Circle && { Circle: smithyClient.SENSITIVE_STRING }),
419
- ...(obj.IncludeCountries && { IncludeCountries: smithyClient.SENSITIVE_STRING }),
420
- });
421
- const AutocompleteRequestFilterSensitiveLog = (obj) => ({
422
- ...obj,
423
- ...(obj.QueryText && { QueryText: smithyClient.SENSITIVE_STRING }),
424
- ...(obj.BiasPosition && { BiasPosition: smithyClient.SENSITIVE_STRING }),
425
- ...(obj.Filter && { Filter: AutocompleteFilterFilterSensitiveLog(obj.Filter) }),
426
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
427
- ...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
428
- });
429
- const HighlightFilterSensitiveLog = (obj) => ({
430
- ...obj,
431
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
432
- });
433
- const CountryHighlightsFilterSensitiveLog = (obj) => ({
434
- ...obj,
435
- ...(obj.Code && { Code: obj.Code.map((item) => HighlightFilterSensitiveLog(item)) }),
436
- ...(obj.Name && { Name: obj.Name.map((item) => HighlightFilterSensitiveLog(item)) }),
437
- });
438
- const RegionHighlightsFilterSensitiveLog = (obj) => ({
439
- ...obj,
440
- ...(obj.Code && { Code: obj.Code.map((item) => HighlightFilterSensitiveLog(item)) }),
441
- ...(obj.Name && { Name: obj.Name.map((item) => HighlightFilterSensitiveLog(item)) }),
442
- });
443
- const SubRegionHighlightsFilterSensitiveLog = (obj) => ({
444
- ...obj,
445
- ...(obj.Code && { Code: obj.Code.map((item) => HighlightFilterSensitiveLog(item)) }),
446
- ...(obj.Name && { Name: obj.Name.map((item) => HighlightFilterSensitiveLog(item)) }),
447
- });
448
- const AutocompleteAddressHighlightsFilterSensitiveLog = (obj) => ({
449
- ...obj,
450
- ...(obj.Label && { Label: obj.Label.map((item) => HighlightFilterSensitiveLog(item)) }),
451
- ...(obj.Country && { Country: CountryHighlightsFilterSensitiveLog(obj.Country) }),
452
- ...(obj.Region && { Region: RegionHighlightsFilterSensitiveLog(obj.Region) }),
453
- ...(obj.SubRegion && { SubRegion: SubRegionHighlightsFilterSensitiveLog(obj.SubRegion) }),
454
- ...(obj.Locality && { Locality: obj.Locality.map((item) => HighlightFilterSensitiveLog(item)) }),
455
- ...(obj.District && { District: obj.District.map((item) => HighlightFilterSensitiveLog(item)) }),
456
- ...(obj.SubDistrict && { SubDistrict: obj.SubDistrict.map((item) => HighlightFilterSensitiveLog(item)) }),
457
- ...(obj.Street && { Street: obj.Street.map((item) => HighlightFilterSensitiveLog(item)) }),
458
- ...(obj.Block && { Block: obj.Block.map((item) => HighlightFilterSensitiveLog(item)) }),
459
- ...(obj.SubBlock && { SubBlock: obj.SubBlock.map((item) => HighlightFilterSensitiveLog(item)) }),
460
- ...(obj.Intersection && {
461
- Intersection: obj.Intersection.map((item) => item.map((item) => HighlightFilterSensitiveLog(item))),
462
- }),
463
- ...(obj.PostalCode && { PostalCode: obj.PostalCode.map((item) => HighlightFilterSensitiveLog(item)) }),
464
- ...(obj.AddressNumber && { AddressNumber: obj.AddressNumber.map((item) => HighlightFilterSensitiveLog(item)) }),
465
- ...(obj.Building && { Building: obj.Building.map((item) => HighlightFilterSensitiveLog(item)) }),
466
- });
467
- const AutocompleteHighlightsFilterSensitiveLog = (obj) => ({
468
- ...obj,
469
- ...(obj.Title && { Title: obj.Title.map((item) => HighlightFilterSensitiveLog(item)) }),
470
- ...(obj.Address && { Address: AutocompleteAddressHighlightsFilterSensitiveLog(obj.Address) }),
471
- });
472
- const AutocompleteResultItemFilterSensitiveLog = (obj) => ({
473
- ...obj,
474
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
475
- ...(obj.PlaceType && { PlaceType: smithyClient.SENSITIVE_STRING }),
476
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
477
- ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }),
478
- ...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
479
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
480
- ...(obj.Highlights && { Highlights: AutocompleteHighlightsFilterSensitiveLog(obj.Highlights) }),
481
- });
482
- const AutocompleteResponseFilterSensitiveLog = (obj) => ({
483
- ...obj,
484
- ...(obj.ResultItems && {
485
- ResultItems: obj.ResultItems.map((item) => AutocompleteResultItemFilterSensitiveLog(item)),
486
- }),
487
- });
488
- const BusinessChainFilterSensitiveLog = (obj) => ({
489
- ...obj,
490
- ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
491
- ...(obj.Id && { Id: smithyClient.SENSITIVE_STRING }),
492
- });
493
- const ContactDetailsFilterSensitiveLog = (obj) => ({
494
- ...obj,
495
- ...(obj.Label && { Label: smithyClient.SENSITIVE_STRING }),
496
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
497
- ...(obj.Categories && { Categories: obj.Categories.map((item) => CategoryFilterSensitiveLog(item)) }),
498
- });
499
- const ContactsFilterSensitiveLog = (obj) => ({
500
- ...obj,
501
- ...(obj.Phones && { Phones: obj.Phones.map((item) => ContactDetailsFilterSensitiveLog(item)) }),
502
- ...(obj.Faxes && { Faxes: obj.Faxes.map((item) => ContactDetailsFilterSensitiveLog(item)) }),
503
- ...(obj.Websites && { Websites: obj.Websites.map((item) => ContactDetailsFilterSensitiveLog(item)) }),
504
- ...(obj.Emails && { Emails: obj.Emails.map((item) => ContactDetailsFilterSensitiveLog(item)) }),
505
- });
506
- const FoodTypeFilterSensitiveLog = (obj) => ({
507
- ...obj,
508
- ...(obj.LocalizedName && { LocalizedName: smithyClient.SENSITIVE_STRING }),
509
- ...(obj.Id && { Id: smithyClient.SENSITIVE_STRING }),
510
- ...(obj.Primary && { Primary: smithyClient.SENSITIVE_STRING }),
511
- });
512
- const GeocodeFilterFilterSensitiveLog = (obj) => ({
513
- ...obj,
514
- ...(obj.IncludeCountries && { IncludeCountries: smithyClient.SENSITIVE_STRING }),
515
- ...(obj.IncludePlaceTypes && { IncludePlaceTypes: smithyClient.SENSITIVE_STRING }),
516
- });
517
- const GeocodeQueryComponentsFilterSensitiveLog = (obj) => ({
518
- ...obj,
519
- ...(obj.Country && { Country: smithyClient.SENSITIVE_STRING }),
520
- ...(obj.Region && { Region: smithyClient.SENSITIVE_STRING }),
521
- ...(obj.SubRegion && { SubRegion: smithyClient.SENSITIVE_STRING }),
522
- ...(obj.Locality && { Locality: smithyClient.SENSITIVE_STRING }),
523
- ...(obj.District && { District: smithyClient.SENSITIVE_STRING }),
524
- ...(obj.Street && { Street: smithyClient.SENSITIVE_STRING }),
525
- ...(obj.AddressNumber && { AddressNumber: smithyClient.SENSITIVE_STRING }),
526
- ...(obj.PostalCode && { PostalCode: smithyClient.SENSITIVE_STRING }),
527
- });
528
- const GeocodeRequestFilterSensitiveLog = (obj) => ({
529
- ...obj,
530
- ...(obj.QueryText && { QueryText: smithyClient.SENSITIVE_STRING }),
531
- ...(obj.QueryComponents && { QueryComponents: GeocodeQueryComponentsFilterSensitiveLog(obj.QueryComponents) }),
532
- ...(obj.BiasPosition && { BiasPosition: smithyClient.SENSITIVE_STRING }),
533
- ...(obj.Filter && { Filter: GeocodeFilterFilterSensitiveLog(obj.Filter) }),
534
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
535
- ...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
536
- });
537
- const IntersectionFilterSensitiveLog = (obj) => ({
538
- ...obj,
539
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
540
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
541
- ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }),
542
- ...(obj.Position && { Position: smithyClient.SENSITIVE_STRING }),
543
- ...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
544
- ...(obj.RouteDistance && { RouteDistance: smithyClient.SENSITIVE_STRING }),
545
- ...(obj.MapView && { MapView: smithyClient.SENSITIVE_STRING }),
546
- ...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
547
- });
548
- const RelatedPlaceFilterSensitiveLog = (obj) => ({
549
- ...obj,
550
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
551
- ...(obj.PlaceType && { PlaceType: smithyClient.SENSITIVE_STRING }),
552
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
553
- ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }),
554
- ...(obj.Position && { Position: smithyClient.SENSITIVE_STRING }),
555
- ...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
556
- });
557
- const ParsedQueryComponentFilterSensitiveLog = (obj) => ({
558
- ...obj,
559
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
560
- ...(obj.QueryComponent && { QueryComponent: smithyClient.SENSITIVE_STRING }),
561
- });
562
- const ParsedQuerySecondaryAddressComponentFilterSensitiveLog = (obj) => ({
563
- ...obj,
564
- ...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
565
- ...(obj.Number && { Number: smithyClient.SENSITIVE_STRING }),
566
- ...(obj.Designator && { Designator: smithyClient.SENSITIVE_STRING }),
567
- });
568
- const GeocodeParsedQueryAddressComponentsFilterSensitiveLog = (obj) => ({
569
- ...obj,
570
- ...(obj.Country && { Country: obj.Country.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
571
- ...(obj.Region && { Region: obj.Region.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
572
- ...(obj.SubRegion && { SubRegion: obj.SubRegion.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
573
- ...(obj.Locality && { Locality: obj.Locality.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
574
- ...(obj.District && { District: obj.District.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
575
- ...(obj.SubDistrict && { SubDistrict: obj.SubDistrict.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
576
- ...(obj.PostalCode && { PostalCode: obj.PostalCode.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
577
- ...(obj.Block && { Block: obj.Block.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
578
- ...(obj.SubBlock && { SubBlock: obj.SubBlock.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
579
- ...(obj.Street && { Street: obj.Street.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
580
- ...(obj.AddressNumber && {
581
- AddressNumber: obj.AddressNumber.map((item) => ParsedQueryComponentFilterSensitiveLog(item)),
582
- }),
583
- ...(obj.Building && { Building: obj.Building.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
584
- ...(obj.SecondaryAddressComponents && {
585
- SecondaryAddressComponents: obj.SecondaryAddressComponents.map((item) => ParsedQuerySecondaryAddressComponentFilterSensitiveLog(item)),
586
- }),
587
- });
588
- const GeocodeParsedQueryFilterSensitiveLog = (obj) => ({
589
- ...obj,
590
- ...(obj.Title && { Title: obj.Title.map((item) => ParsedQueryComponentFilterSensitiveLog(item)) }),
591
- ...(obj.Address && { Address: GeocodeParsedQueryAddressComponentsFilterSensitiveLog(obj.Address) }),
592
- });
593
- const UspsZipFilterSensitiveLog = (obj) => ({
594
- ...obj,
595
- ...(obj.ZipClassificationCode && { ZipClassificationCode: smithyClient.SENSITIVE_STRING }),
596
- });
597
- const UspsZipPlus4FilterSensitiveLog = (obj) => ({
598
- ...obj,
599
- ...(obj.RecordTypeCode && { RecordTypeCode: smithyClient.SENSITIVE_STRING }),
600
- });
601
- const PostalCodeDetailsFilterSensitiveLog = (obj) => ({
602
- ...obj,
603
- ...(obj.PostalCode && { PostalCode: smithyClient.SENSITIVE_STRING }),
604
- ...(obj.PostalAuthority && { PostalAuthority: smithyClient.SENSITIVE_STRING }),
605
- ...(obj.PostalCodeType && { PostalCodeType: smithyClient.SENSITIVE_STRING }),
606
- ...(obj.UspsZip && { UspsZip: UspsZipFilterSensitiveLog(obj.UspsZip) }),
607
- ...(obj.UspsZipPlus4 && { UspsZipPlus4: UspsZipPlus4FilterSensitiveLog(obj.UspsZipPlus4) }),
608
- });
609
- const TimeZoneFilterSensitiveLog = (obj) => ({
610
- ...obj,
611
- ...(obj.Name && { Name: smithyClient.SENSITIVE_STRING }),
612
- ...(obj.Offset && { Offset: smithyClient.SENSITIVE_STRING }),
613
- ...(obj.OffsetSeconds && { OffsetSeconds: smithyClient.SENSITIVE_STRING }),
614
- });
615
- const GeocodeResultItemFilterSensitiveLog = (obj) => ({
616
- ...obj,
617
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
618
- ...(obj.PlaceType && { PlaceType: smithyClient.SENSITIVE_STRING }),
619
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
620
- ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }),
621
- ...(obj.AddressNumberCorrected && { AddressNumberCorrected: smithyClient.SENSITIVE_STRING }),
622
- ...(obj.PostalCodeDetails && {
623
- PostalCodeDetails: obj.PostalCodeDetails.map((item) => PostalCodeDetailsFilterSensitiveLog(item)),
624
- }),
625
- ...(obj.Position && { Position: smithyClient.SENSITIVE_STRING }),
626
- ...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
627
- ...(obj.MapView && { MapView: smithyClient.SENSITIVE_STRING }),
628
- ...(obj.Categories && { Categories: obj.Categories.map((item) => CategoryFilterSensitiveLog(item)) }),
629
- ...(obj.FoodTypes && { FoodTypes: obj.FoodTypes.map((item) => FoodTypeFilterSensitiveLog(item)) }),
630
- ...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
631
- ...(obj.TimeZone && { TimeZone: TimeZoneFilterSensitiveLog(obj.TimeZone) }),
632
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
633
- ...(obj.ParsedQuery && { ParsedQuery: GeocodeParsedQueryFilterSensitiveLog(obj.ParsedQuery) }),
634
- ...(obj.Intersections && { Intersections: obj.Intersections.map((item) => IntersectionFilterSensitiveLog(item)) }),
635
- ...(obj.MainAddress && { MainAddress: RelatedPlaceFilterSensitiveLog(obj.MainAddress) }),
636
- ...(obj.SecondaryAddresses && {
637
- SecondaryAddresses: obj.SecondaryAddresses.map((item) => RelatedPlaceFilterSensitiveLog(item)),
638
- }),
639
- });
640
- const GeocodeResponseFilterSensitiveLog = (obj) => ({
641
- ...obj,
642
- ...(obj.ResultItems && { ResultItems: obj.ResultItems.map((item) => GeocodeResultItemFilterSensitiveLog(item)) }),
643
- });
644
- const GetPlaceRequestFilterSensitiveLog = (obj) => ({
645
- ...obj,
646
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
647
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
648
- ...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
649
- });
650
- const OpeningHoursComponentsFilterSensitiveLog = (obj) => ({
651
- ...obj,
652
- ...(obj.OpenTime && { OpenTime: smithyClient.SENSITIVE_STRING }),
653
- ...(obj.OpenDuration && { OpenDuration: smithyClient.SENSITIVE_STRING }),
654
- ...(obj.Recurrence && { Recurrence: smithyClient.SENSITIVE_STRING }),
655
- });
656
- const OpeningHoursFilterSensitiveLog = (obj) => ({
657
- ...obj,
658
- ...(obj.Display && { Display: smithyClient.SENSITIVE_STRING }),
659
- ...(obj.OpenNow && { OpenNow: smithyClient.SENSITIVE_STRING }),
660
- ...(obj.Components && { Components: obj.Components.map((item) => OpeningHoursComponentsFilterSensitiveLog(item)) }),
661
- ...(obj.Categories && { Categories: obj.Categories.map((item) => CategoryFilterSensitiveLog(item)) }),
662
- });
663
- const PhonemeDetailsFilterSensitiveLog = (obj) => ({
664
- ...obj,
665
- ...(obj.Title && { Title: obj.Title.map((item) => PhonemeTranscriptionFilterSensitiveLog(item)) }),
666
- ...(obj.Address && { Address: AddressComponentPhonemesFilterSensitiveLog(obj.Address) }),
667
- });
668
- const GetPlaceResponseFilterSensitiveLog = (obj) => ({
669
- ...obj,
670
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
671
- ...(obj.PlaceType && { PlaceType: smithyClient.SENSITIVE_STRING }),
672
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
673
- ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }),
674
- ...(obj.AddressNumberCorrected && { AddressNumberCorrected: smithyClient.SENSITIVE_STRING }),
675
- ...(obj.PostalCodeDetails && {
676
- PostalCodeDetails: obj.PostalCodeDetails.map((item) => PostalCodeDetailsFilterSensitiveLog(item)),
677
- }),
678
- ...(obj.Position && { Position: smithyClient.SENSITIVE_STRING }),
679
- ...(obj.MapView && { MapView: smithyClient.SENSITIVE_STRING }),
680
- ...(obj.Categories && { Categories: obj.Categories.map((item) => CategoryFilterSensitiveLog(item)) }),
681
- ...(obj.FoodTypes && { FoodTypes: obj.FoodTypes.map((item) => FoodTypeFilterSensitiveLog(item)) }),
682
- ...(obj.BusinessChains && {
683
- BusinessChains: obj.BusinessChains.map((item) => BusinessChainFilterSensitiveLog(item)),
684
- }),
685
- ...(obj.Contacts && { Contacts: ContactsFilterSensitiveLog(obj.Contacts) }),
686
- ...(obj.OpeningHours && { OpeningHours: obj.OpeningHours.map((item) => OpeningHoursFilterSensitiveLog(item)) }),
687
- ...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
688
- ...(obj.AccessRestrictions && {
689
- AccessRestrictions: obj.AccessRestrictions.map((item) => AccessRestrictionFilterSensitiveLog(item)),
690
- }),
691
- ...(obj.TimeZone && { TimeZone: TimeZoneFilterSensitiveLog(obj.TimeZone) }),
692
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
693
- ...(obj.Phonemes && { Phonemes: PhonemeDetailsFilterSensitiveLog(obj.Phonemes) }),
694
- ...(obj.MainAddress && { MainAddress: RelatedPlaceFilterSensitiveLog(obj.MainAddress) }),
695
- ...(obj.SecondaryAddresses && {
696
- SecondaryAddresses: obj.SecondaryAddresses.map((item) => RelatedPlaceFilterSensitiveLog(item)),
697
- }),
698
- });
699
- const ReverseGeocodeRequestFilterSensitiveLog = (obj) => ({
700
- ...obj,
701
- ...(obj.QueryPosition && { QueryPosition: smithyClient.SENSITIVE_STRING }),
702
- ...(obj.QueryRadius && { QueryRadius: smithyClient.SENSITIVE_STRING }),
703
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
704
- ...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
705
- });
706
- const ReverseGeocodeResultItemFilterSensitiveLog = (obj) => ({
707
- ...obj,
708
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
709
- ...(obj.PlaceType && { PlaceType: smithyClient.SENSITIVE_STRING }),
710
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
711
- ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }),
712
- ...(obj.AddressNumberCorrected && { AddressNumberCorrected: smithyClient.SENSITIVE_STRING }),
713
- ...(obj.PostalCodeDetails && {
714
- PostalCodeDetails: obj.PostalCodeDetails.map((item) => PostalCodeDetailsFilterSensitiveLog(item)),
715
- }),
716
- ...(obj.Position && { Position: smithyClient.SENSITIVE_STRING }),
717
- ...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
718
- ...(obj.MapView && { MapView: smithyClient.SENSITIVE_STRING }),
719
- ...(obj.Categories && { Categories: obj.Categories.map((item) => CategoryFilterSensitiveLog(item)) }),
720
- ...(obj.FoodTypes && { FoodTypes: obj.FoodTypes.map((item) => FoodTypeFilterSensitiveLog(item)) }),
721
- ...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
722
- ...(obj.TimeZone && { TimeZone: TimeZoneFilterSensitiveLog(obj.TimeZone) }),
723
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
724
- ...(obj.Intersections && { Intersections: obj.Intersections.map((item) => IntersectionFilterSensitiveLog(item)) }),
725
- });
726
- const ReverseGeocodeResponseFilterSensitiveLog = (obj) => ({
727
- ...obj,
728
- ...(obj.ResultItems && {
729
- ResultItems: obj.ResultItems.map((item) => ReverseGeocodeResultItemFilterSensitiveLog(item)),
730
- }),
731
- });
732
- const SearchNearbyFilterFilterSensitiveLog = (obj) => ({
733
- ...obj,
734
- ...(obj.BoundingBox && { BoundingBox: smithyClient.SENSITIVE_STRING }),
735
- ...(obj.IncludeCountries && { IncludeCountries: smithyClient.SENSITIVE_STRING }),
736
- ...(obj.IncludeCategories && { IncludeCategories: smithyClient.SENSITIVE_STRING }),
737
- ...(obj.ExcludeCategories && { ExcludeCategories: smithyClient.SENSITIVE_STRING }),
738
- ...(obj.IncludeBusinessChains && { IncludeBusinessChains: smithyClient.SENSITIVE_STRING }),
739
- ...(obj.ExcludeBusinessChains && { ExcludeBusinessChains: smithyClient.SENSITIVE_STRING }),
740
- ...(obj.IncludeFoodTypes && { IncludeFoodTypes: smithyClient.SENSITIVE_STRING }),
741
- ...(obj.ExcludeFoodTypes && { ExcludeFoodTypes: smithyClient.SENSITIVE_STRING }),
742
- });
743
- const SearchNearbyRequestFilterSensitiveLog = (obj) => ({
744
- ...obj,
745
- ...(obj.QueryPosition && { QueryPosition: smithyClient.SENSITIVE_STRING }),
746
- ...(obj.QueryRadius && { QueryRadius: smithyClient.SENSITIVE_STRING }),
747
- ...(obj.Filter && { Filter: SearchNearbyFilterFilterSensitiveLog(obj.Filter) }),
748
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
749
- ...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
750
- });
751
- const SearchNearbyResultItemFilterSensitiveLog = (obj) => ({
752
- ...obj,
753
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
754
- ...(obj.PlaceType && { PlaceType: smithyClient.SENSITIVE_STRING }),
755
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
756
- ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }),
757
- ...(obj.AddressNumberCorrected && { AddressNumberCorrected: smithyClient.SENSITIVE_STRING }),
758
- ...(obj.Position && { Position: smithyClient.SENSITIVE_STRING }),
759
- ...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
760
- ...(obj.MapView && { MapView: smithyClient.SENSITIVE_STRING }),
761
- ...(obj.Categories && { Categories: obj.Categories.map((item) => CategoryFilterSensitiveLog(item)) }),
762
- ...(obj.FoodTypes && { FoodTypes: obj.FoodTypes.map((item) => FoodTypeFilterSensitiveLog(item)) }),
763
- ...(obj.BusinessChains && {
764
- BusinessChains: obj.BusinessChains.map((item) => BusinessChainFilterSensitiveLog(item)),
765
- }),
766
- ...(obj.Contacts && { Contacts: ContactsFilterSensitiveLog(obj.Contacts) }),
767
- ...(obj.OpeningHours && { OpeningHours: obj.OpeningHours.map((item) => OpeningHoursFilterSensitiveLog(item)) }),
768
- ...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
769
- ...(obj.AccessRestrictions && {
770
- AccessRestrictions: obj.AccessRestrictions.map((item) => AccessRestrictionFilterSensitiveLog(item)),
771
- }),
772
- ...(obj.TimeZone && { TimeZone: TimeZoneFilterSensitiveLog(obj.TimeZone) }),
773
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
774
- ...(obj.Phonemes && { Phonemes: PhonemeDetailsFilterSensitiveLog(obj.Phonemes) }),
775
- });
776
- const SearchNearbyResponseFilterSensitiveLog = (obj) => ({
777
- ...obj,
778
- ...(obj.ResultItems && {
779
- ResultItems: obj.ResultItems.map((item) => SearchNearbyResultItemFilterSensitiveLog(item)),
780
- }),
781
- });
782
- const SearchTextFilterFilterSensitiveLog = (obj) => ({
783
- ...obj,
784
- ...(obj.BoundingBox && { BoundingBox: smithyClient.SENSITIVE_STRING }),
785
- ...(obj.Circle && { Circle: smithyClient.SENSITIVE_STRING }),
786
- ...(obj.IncludeCountries && { IncludeCountries: smithyClient.SENSITIVE_STRING }),
787
- });
788
- const SearchTextRequestFilterSensitiveLog = (obj) => ({
789
- ...obj,
790
- ...(obj.QueryText && { QueryText: smithyClient.SENSITIVE_STRING }),
791
- ...(obj.QueryId && { QueryId: smithyClient.SENSITIVE_STRING }),
792
- ...(obj.BiasPosition && { BiasPosition: smithyClient.SENSITIVE_STRING }),
793
- ...(obj.Filter && { Filter: SearchTextFilterFilterSensitiveLog(obj.Filter) }),
794
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
795
- ...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
796
- });
797
- const SearchTextResultItemFilterSensitiveLog = (obj) => ({
798
- ...obj,
799
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
800
- ...(obj.PlaceType && { PlaceType: smithyClient.SENSITIVE_STRING }),
801
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
802
- ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }),
803
- ...(obj.AddressNumberCorrected && { AddressNumberCorrected: smithyClient.SENSITIVE_STRING }),
804
- ...(obj.Position && { Position: smithyClient.SENSITIVE_STRING }),
805
- ...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
806
- ...(obj.MapView && { MapView: smithyClient.SENSITIVE_STRING }),
807
- ...(obj.Categories && { Categories: obj.Categories.map((item) => CategoryFilterSensitiveLog(item)) }),
808
- ...(obj.FoodTypes && { FoodTypes: obj.FoodTypes.map((item) => FoodTypeFilterSensitiveLog(item)) }),
809
- ...(obj.BusinessChains && {
810
- BusinessChains: obj.BusinessChains.map((item) => BusinessChainFilterSensitiveLog(item)),
811
- }),
812
- ...(obj.Contacts && { Contacts: ContactsFilterSensitiveLog(obj.Contacts) }),
813
- ...(obj.OpeningHours && { OpeningHours: obj.OpeningHours.map((item) => OpeningHoursFilterSensitiveLog(item)) }),
814
- ...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
815
- ...(obj.AccessRestrictions && {
816
- AccessRestrictions: obj.AccessRestrictions.map((item) => AccessRestrictionFilterSensitiveLog(item)),
817
- }),
818
- ...(obj.TimeZone && { TimeZone: TimeZoneFilterSensitiveLog(obj.TimeZone) }),
819
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
820
- ...(obj.Phonemes && { Phonemes: PhonemeDetailsFilterSensitiveLog(obj.Phonemes) }),
821
- });
822
- const SearchTextResponseFilterSensitiveLog = (obj) => ({
823
- ...obj,
824
- ...(obj.ResultItems && { ResultItems: obj.ResultItems.map((item) => SearchTextResultItemFilterSensitiveLog(item)) }),
825
- });
826
- const SuggestFilterFilterSensitiveLog = (obj) => ({
827
- ...obj,
828
- ...(obj.BoundingBox && { BoundingBox: smithyClient.SENSITIVE_STRING }),
829
- ...(obj.Circle && { Circle: smithyClient.SENSITIVE_STRING }),
830
- ...(obj.IncludeCountries && { IncludeCountries: smithyClient.SENSITIVE_STRING }),
831
- });
832
- const SuggestRequestFilterSensitiveLog = (obj) => ({
833
- ...obj,
834
- ...(obj.QueryText && { QueryText: smithyClient.SENSITIVE_STRING }),
835
- ...(obj.BiasPosition && { BiasPosition: smithyClient.SENSITIVE_STRING }),
836
- ...(obj.Filter && { Filter: SuggestFilterFilterSensitiveLog(obj.Filter) }),
837
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
838
- ...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
839
- });
840
- const QueryRefinementFilterSensitiveLog = (obj) => ({
841
- ...obj,
842
- ...(obj.RefinedTerm && { RefinedTerm: smithyClient.SENSITIVE_STRING }),
843
- ...(obj.OriginalTerm && { OriginalTerm: smithyClient.SENSITIVE_STRING }),
844
- });
845
- const SuggestAddressHighlightsFilterSensitiveLog = (obj) => ({
846
- ...obj,
847
- ...(obj.Label && { Label: obj.Label.map((item) => HighlightFilterSensitiveLog(item)) }),
848
- });
849
- const SuggestHighlightsFilterSensitiveLog = (obj) => ({
850
- ...obj,
851
- ...(obj.Title && { Title: obj.Title.map((item) => HighlightFilterSensitiveLog(item)) }),
852
- ...(obj.Address && { Address: SuggestAddressHighlightsFilterSensitiveLog(obj.Address) }),
853
- });
854
- const SuggestPlaceResultFilterSensitiveLog = (obj) => ({
855
- ...obj,
856
- ...(obj.PlaceId && { PlaceId: smithyClient.SENSITIVE_STRING }),
857
- ...(obj.PlaceType && { PlaceType: smithyClient.SENSITIVE_STRING }),
858
- ...(obj.Address && { Address: AddressFilterSensitiveLog(obj.Address) }),
859
- ...(obj.Position && { Position: smithyClient.SENSITIVE_STRING }),
860
- ...(obj.Distance && { Distance: smithyClient.SENSITIVE_STRING }),
861
- ...(obj.MapView && { MapView: smithyClient.SENSITIVE_STRING }),
862
- ...(obj.Categories && { Categories: obj.Categories.map((item) => CategoryFilterSensitiveLog(item)) }),
863
- ...(obj.FoodTypes && { FoodTypes: obj.FoodTypes.map((item) => FoodTypeFilterSensitiveLog(item)) }),
864
- ...(obj.BusinessChains && {
865
- BusinessChains: obj.BusinessChains.map((item) => BusinessChainFilterSensitiveLog(item)),
866
- }),
867
- ...(obj.AccessPoints && { AccessPoints: obj.AccessPoints.map((item) => AccessPointFilterSensitiveLog(item)) }),
868
- ...(obj.AccessRestrictions && {
869
- AccessRestrictions: obj.AccessRestrictions.map((item) => AccessRestrictionFilterSensitiveLog(item)),
870
- }),
871
- ...(obj.TimeZone && { TimeZone: TimeZoneFilterSensitiveLog(obj.TimeZone) }),
872
- ...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
873
- ...(obj.Phonemes && { Phonemes: PhonemeDetailsFilterSensitiveLog(obj.Phonemes) }),
874
- });
875
- const SuggestQueryResultFilterSensitiveLog = (obj) => ({
876
- ...obj,
877
- ...(obj.QueryId && { QueryId: smithyClient.SENSITIVE_STRING }),
878
- });
879
- const SuggestResultItemFilterSensitiveLog = (obj) => ({
880
- ...obj,
881
- ...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
882
- ...(obj.Place && { Place: SuggestPlaceResultFilterSensitiveLog(obj.Place) }),
883
- ...(obj.Query && { Query: SuggestQueryResultFilterSensitiveLog(obj.Query) }),
884
- ...(obj.Highlights && { Highlights: SuggestHighlightsFilterSensitiveLog(obj.Highlights) }),
885
- });
886
- const SuggestResponseFilterSensitiveLog = (obj) => ({
887
- ...obj,
888
- ...(obj.ResultItems && { ResultItems: obj.ResultItems.map((item) => SuggestResultItemFilterSensitiveLog(item)) }),
889
- ...(obj.QueryRefinements && {
890
- QueryRefinements: obj.QueryRefinements.map((item) => QueryRefinementFilterSensitiveLog(item)),
891
- }),
892
- });
893
327
 
894
- const se_AutocompleteCommand = async (input, context) => {
895
- const b = core.requestBuilder(input, context);
896
- const headers = {
897
- "content-type": "application/json",
898
- };
899
- b.bp("/autocomplete");
900
- const query = smithyClient.map({
901
- [_k]: [, input[_K]],
902
- });
903
- let body;
904
- body = JSON.stringify(smithyClient.take(input, {
905
- AdditionalFeatures: (_) => smithyClient._json(_),
906
- BiasPosition: (_) => se_Position(_),
907
- Filter: (_) => se_AutocompleteFilter(_),
908
- IntendedUse: [],
909
- Language: [],
910
- MaxResults: [],
911
- PoliticalView: [],
912
- PostalCodeMode: [],
913
- QueryText: [],
914
- }));
915
- b.m("POST").h(headers).q(query).b(body);
916
- return b.build();
917
- };
918
- const se_GeocodeCommand = async (input, context) => {
919
- const b = core.requestBuilder(input, context);
920
- const headers = {
921
- "content-type": "application/json",
922
- };
923
- b.bp("/geocode");
924
- const query = smithyClient.map({
925
- [_k]: [, input[_K]],
926
- });
927
- let body;
928
- body = JSON.stringify(smithyClient.take(input, {
929
- AdditionalFeatures: (_) => smithyClient._json(_),
930
- BiasPosition: (_) => se_Position(_),
931
- Filter: (_) => smithyClient._json(_),
932
- IntendedUse: [],
933
- Language: [],
934
- MaxResults: [],
935
- PoliticalView: [],
936
- QueryComponents: (_) => smithyClient._json(_),
937
- QueryText: [],
938
- }));
939
- b.m("POST").h(headers).q(query).b(body);
940
- return b.build();
941
- };
942
- const se_GetPlaceCommand = async (input, context) => {
943
- const b = core.requestBuilder(input, context);
944
- const headers = {};
945
- b.bp("/place/{PlaceId}");
946
- b.p("PlaceId", () => input.PlaceId, "{PlaceId}", false);
947
- const query = smithyClient.map({
948
- [_af]: [() => input.AdditionalFeatures !== void 0, () => input[_AF] || []],
949
- [_l]: [, input[_L]],
950
- [_pv]: [, input[_PV]],
951
- [_iu]: [, input[_IU]],
952
- [_k]: [, input[_K]],
953
- });
954
- let body;
955
- b.m("GET").h(headers).q(query).b(body);
956
- return b.build();
957
- };
958
- const se_ReverseGeocodeCommand = async (input, context) => {
959
- const b = core.requestBuilder(input, context);
960
- const headers = {
961
- "content-type": "application/json",
962
- };
963
- b.bp("/reverse-geocode");
964
- const query = smithyClient.map({
965
- [_k]: [, input[_K]],
966
- });
967
- let body;
968
- body = JSON.stringify(smithyClient.take(input, {
969
- AdditionalFeatures: (_) => smithyClient._json(_),
970
- Filter: (_) => smithyClient._json(_),
971
- IntendedUse: [],
972
- Language: [],
973
- MaxResults: [],
974
- PoliticalView: [],
975
- QueryPosition: (_) => se_Position(_),
976
- QueryRadius: [],
977
- }));
978
- b.m("POST").h(headers).q(query).b(body);
979
- return b.build();
980
- };
981
- const se_SearchNearbyCommand = async (input, context) => {
982
- const b = core.requestBuilder(input, context);
983
- const headers = {
984
- "content-type": "application/json",
985
- };
986
- b.bp("/search-nearby");
987
- const query = smithyClient.map({
988
- [_k]: [, input[_K]],
989
- });
990
- let body;
991
- body = JSON.stringify(smithyClient.take(input, {
992
- AdditionalFeatures: (_) => smithyClient._json(_),
993
- Filter: (_) => se_SearchNearbyFilter(_),
994
- IntendedUse: [],
995
- Language: [],
996
- MaxResults: [],
997
- NextToken: [],
998
- PoliticalView: [],
999
- QueryPosition: (_) => se_Position(_),
1000
- QueryRadius: [],
1001
- }));
1002
- b.m("POST").h(headers).q(query).b(body);
1003
- return b.build();
1004
- };
1005
- const se_SearchTextCommand = async (input, context) => {
1006
- const b = core.requestBuilder(input, context);
1007
- const headers = {
1008
- "content-type": "application/json",
1009
- };
1010
- b.bp("/search-text");
1011
- const query = smithyClient.map({
1012
- [_k]: [, input[_K]],
1013
- });
1014
- let body;
1015
- body = JSON.stringify(smithyClient.take(input, {
1016
- AdditionalFeatures: (_) => smithyClient._json(_),
1017
- BiasPosition: (_) => se_Position(_),
1018
- Filter: (_) => se_SearchTextFilter(_),
1019
- IntendedUse: [],
1020
- Language: [],
1021
- MaxResults: [],
1022
- NextToken: [],
1023
- PoliticalView: [],
1024
- QueryId: [],
1025
- QueryText: [],
1026
- }));
1027
- b.m("POST").h(headers).q(query).b(body);
1028
- return b.build();
1029
- };
1030
- const se_SuggestCommand = async (input, context) => {
1031
- const b = core.requestBuilder(input, context);
1032
- const headers = {
1033
- "content-type": "application/json",
1034
- };
1035
- b.bp("/suggest");
1036
- const query = smithyClient.map({
1037
- [_k]: [, input[_K]],
1038
- });
1039
- let body;
1040
- body = JSON.stringify(smithyClient.take(input, {
1041
- AdditionalFeatures: (_) => smithyClient._json(_),
1042
- BiasPosition: (_) => se_Position(_),
1043
- Filter: (_) => se_SuggestFilter(_),
1044
- IntendedUse: [],
1045
- Language: [],
1046
- MaxQueryRefinements: [],
1047
- MaxResults: [],
1048
- PoliticalView: [],
1049
- QueryText: [],
1050
- }));
1051
- b.m("POST").h(headers).q(query).b(body);
1052
- return b.build();
1053
- };
1054
- const de_AutocompleteCommand = async (output, context) => {
1055
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1056
- return de_CommandError(output, context);
1057
- }
1058
- const contents = smithyClient.map({
1059
- $metadata: deserializeMetadata(output),
1060
- [_PB]: [, output.headers[_xagpb]],
1061
- });
1062
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1063
- const doc = smithyClient.take(data, {
1064
- ResultItems: smithyClient._json,
1065
- });
1066
- Object.assign(contents, doc);
1067
- return contents;
1068
- };
1069
- const de_GeocodeCommand = async (output, context) => {
1070
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1071
- return de_CommandError(output, context);
1072
- }
1073
- const contents = smithyClient.map({
1074
- $metadata: deserializeMetadata(output),
1075
- [_PB]: [, output.headers[_xagpb]],
1076
- });
1077
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1078
- const doc = smithyClient.take(data, {
1079
- ResultItems: (_) => de_GeocodeResultItemList(_),
1080
- });
1081
- Object.assign(contents, doc);
1082
- return contents;
1083
- };
1084
- const de_GetPlaceCommand = async (output, context) => {
1085
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1086
- return de_CommandError(output, context);
1087
- }
1088
- const contents = smithyClient.map({
1089
- $metadata: deserializeMetadata(output),
1090
- [_PB]: [, output.headers[_xagpb]],
1091
- });
1092
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1093
- const doc = smithyClient.take(data, {
1094
- AccessPoints: (_) => de_AccessPointList(_),
1095
- AccessRestrictions: smithyClient._json,
1096
- Address: smithyClient._json,
1097
- AddressNumberCorrected: smithyClient.expectBoolean,
1098
- BusinessChains: smithyClient._json,
1099
- Categories: smithyClient._json,
1100
- Contacts: smithyClient._json,
1101
- FoodTypes: smithyClient._json,
1102
- MainAddress: (_) => de_RelatedPlace(_),
1103
- MapView: (_) => de_BoundingBox(_),
1104
- OpeningHours: smithyClient._json,
1105
- Phonemes: smithyClient._json,
1106
- PlaceId: smithyClient.expectString,
1107
- PlaceType: smithyClient.expectString,
1108
- PoliticalView: smithyClient.expectString,
1109
- Position: (_) => de_Position(_),
1110
- PostalCodeDetails: smithyClient._json,
1111
- SecondaryAddresses: (_) => de_RelatedPlaceList(_),
1112
- TimeZone: smithyClient._json,
1113
- Title: smithyClient.expectString,
1114
- });
1115
- Object.assign(contents, doc);
1116
- return contents;
1117
- };
1118
- const de_ReverseGeocodeCommand = async (output, context) => {
1119
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1120
- return de_CommandError(output, context);
1121
- }
1122
- const contents = smithyClient.map({
1123
- $metadata: deserializeMetadata(output),
1124
- [_PB]: [, output.headers[_xagpb]],
1125
- });
1126
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1127
- const doc = smithyClient.take(data, {
1128
- ResultItems: (_) => de_ReverseGeocodeResultItemList(_),
1129
- });
1130
- Object.assign(contents, doc);
1131
- return contents;
1132
- };
1133
- const de_SearchNearbyCommand = async (output, context) => {
1134
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1135
- return de_CommandError(output, context);
1136
- }
1137
- const contents = smithyClient.map({
1138
- $metadata: deserializeMetadata(output),
1139
- [_PB]: [, output.headers[_xagpb]],
1140
- });
1141
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1142
- const doc = smithyClient.take(data, {
1143
- NextToken: smithyClient.expectString,
1144
- ResultItems: (_) => de_SearchNearbyResultItemList(_),
1145
- });
1146
- Object.assign(contents, doc);
1147
- return contents;
1148
- };
1149
- const de_SearchTextCommand = async (output, context) => {
1150
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1151
- return de_CommandError(output, context);
1152
- }
1153
- const contents = smithyClient.map({
1154
- $metadata: deserializeMetadata(output),
1155
- [_PB]: [, output.headers[_xagpb]],
1156
- });
1157
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1158
- const doc = smithyClient.take(data, {
1159
- NextToken: smithyClient.expectString,
1160
- ResultItems: (_) => de_SearchTextResultItemList(_),
1161
- });
1162
- Object.assign(contents, doc);
1163
- return contents;
1164
- };
1165
- const de_SuggestCommand = async (output, context) => {
1166
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1167
- return de_CommandError(output, context);
1168
- }
1169
- const contents = smithyClient.map({
1170
- $metadata: deserializeMetadata(output),
1171
- [_PB]: [, output.headers[_xagpb]],
1172
- });
1173
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1174
- const doc = smithyClient.take(data, {
1175
- QueryRefinements: smithyClient._json,
1176
- ResultItems: (_) => de_SuggestResultItemList(_),
1177
- });
1178
- Object.assign(contents, doc);
1179
- return contents;
1180
- };
1181
- const de_CommandError = async (output, context) => {
1182
- const parsedOutput = {
1183
- ...output,
1184
- body: await core$1.parseJsonErrorBody(output.body, context),
1185
- };
1186
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1187
- switch (errorCode) {
1188
- case "AccessDeniedException":
1189
- case "com.amazonaws.geoplaces#AccessDeniedException":
1190
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1191
- case "InternalServerException":
1192
- case "com.amazonaws.geoplaces#InternalServerException":
1193
- throw await de_InternalServerExceptionRes(parsedOutput);
1194
- case "ThrottlingException":
1195
- case "com.amazonaws.geoplaces#ThrottlingException":
1196
- throw await de_ThrottlingExceptionRes(parsedOutput);
1197
- case "ValidationException":
1198
- case "com.amazonaws.geoplaces#ValidationException":
1199
- throw await de_ValidationExceptionRes(parsedOutput);
1200
- default:
1201
- const parsedBody = parsedOutput.body;
1202
- return throwDefaultError({
1203
- output,
1204
- parsedBody,
1205
- errorCode,
1206
- });
1207
- }
1208
- };
1209
- const throwDefaultError = smithyClient.withBaseException(GeoPlacesServiceException);
1210
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1211
- const contents = smithyClient.map({});
1212
- const data = parsedOutput.body;
1213
- const doc = smithyClient.take(data, {
1214
- Message: [, smithyClient.expectString, `message`],
1215
- });
1216
- Object.assign(contents, doc);
1217
- const exception = new AccessDeniedException({
1218
- $metadata: deserializeMetadata(parsedOutput),
1219
- ...contents,
1220
- });
1221
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1222
- };
1223
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1224
- const contents = smithyClient.map({});
1225
- const data = parsedOutput.body;
1226
- const doc = smithyClient.take(data, {
1227
- Message: [, smithyClient.expectString, `message`],
1228
- });
1229
- Object.assign(contents, doc);
1230
- const exception = new InternalServerException({
1231
- $metadata: deserializeMetadata(parsedOutput),
1232
- ...contents,
1233
- });
1234
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1235
- };
1236
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1237
- const contents = smithyClient.map({});
1238
- const data = parsedOutput.body;
1239
- const doc = smithyClient.take(data, {
1240
- Message: [, smithyClient.expectString, `message`],
1241
- });
1242
- Object.assign(contents, doc);
1243
- const exception = new ThrottlingException({
1244
- $metadata: deserializeMetadata(parsedOutput),
1245
- ...contents,
1246
- });
1247
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1248
- };
1249
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1250
- const contents = smithyClient.map({});
1251
- const data = parsedOutput.body;
1252
- const doc = smithyClient.take(data, {
1253
- FieldList: [, (_) => de_ValidationExceptionFieldList(_), `fieldList`],
1254
- Message: [, smithyClient.expectString, `message`],
1255
- Reason: [, smithyClient.expectString, `reason`],
1256
- });
1257
- Object.assign(contents, doc);
1258
- const exception = new ValidationException({
1259
- $metadata: deserializeMetadata(parsedOutput),
1260
- ...contents,
1261
- });
1262
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1263
- };
1264
- const se_AutocompleteFilter = (input, context) => {
1265
- return smithyClient.take(input, {
1266
- BoundingBox: (_) => se_BoundingBox(_),
1267
- Circle: (_) => se_FilterCircle(_),
1268
- IncludeCountries: smithyClient._json,
1269
- IncludePlaceTypes: smithyClient._json,
1270
- });
1271
- };
1272
- const se_BoundingBox = (input, context) => {
1273
- return input
1274
- .filter((e) => e != null)
1275
- .map((entry) => {
1276
- return smithyClient.serializeFloat(entry);
1277
- });
1278
- };
1279
- const se_FilterCircle = (input, context) => {
1280
- return smithyClient.take(input, {
1281
- Center: (_) => se_Position(_),
1282
- Radius: [],
1283
- });
1284
- };
1285
- const se_Position = (input, context) => {
1286
- return input
1287
- .filter((e) => e != null)
1288
- .map((entry) => {
1289
- return smithyClient.serializeFloat(entry);
1290
- });
1291
- };
1292
- const se_SearchNearbyFilter = (input, context) => {
1293
- return smithyClient.take(input, {
1294
- BoundingBox: (_) => se_BoundingBox(_),
1295
- ExcludeBusinessChains: smithyClient._json,
1296
- ExcludeCategories: smithyClient._json,
1297
- ExcludeFoodTypes: smithyClient._json,
1298
- IncludeBusinessChains: smithyClient._json,
1299
- IncludeCategories: smithyClient._json,
1300
- IncludeCountries: smithyClient._json,
1301
- IncludeFoodTypes: smithyClient._json,
1302
- });
1303
- };
1304
- const se_SearchTextFilter = (input, context) => {
1305
- return smithyClient.take(input, {
1306
- BoundingBox: (_) => se_BoundingBox(_),
1307
- Circle: (_) => se_FilterCircle(_),
1308
- IncludeCountries: smithyClient._json,
1309
- });
1310
- };
1311
- const se_SuggestFilter = (input, context) => {
1312
- return smithyClient.take(input, {
1313
- BoundingBox: (_) => se_BoundingBox(_),
1314
- Circle: (_) => se_FilterCircle(_),
1315
- IncludeCountries: smithyClient._json,
1316
- });
1317
- };
1318
- const de_AccessPoint = (output, context) => {
1319
- return smithyClient.take(output, {
1320
- Position: (_) => de_Position(_),
1321
- });
1322
- };
1323
- const de_AccessPointList = (output, context) => {
1324
- const retVal = (output || [])
1325
- .filter((e) => e != null)
1326
- .map((entry) => {
1327
- return de_AccessPoint(entry);
1328
- });
1329
- return retVal;
1330
- };
1331
- const de_AddressComponentMatchScores = (output, context) => {
1332
- return smithyClient.take(output, {
1333
- AddressNumber: smithyClient.limitedParseDouble,
1334
- Block: smithyClient.limitedParseDouble,
1335
- Building: smithyClient.limitedParseDouble,
1336
- Country: smithyClient.limitedParseDouble,
1337
- District: smithyClient.limitedParseDouble,
1338
- Intersection: (_) => de_MatchScoreList(_),
1339
- Locality: smithyClient.limitedParseDouble,
1340
- PostalCode: smithyClient.limitedParseDouble,
1341
- Region: smithyClient.limitedParseDouble,
1342
- SecondaryAddressComponents: (_) => de_SecondaryAddressComponentMatchScoreList(_),
1343
- SubBlock: smithyClient.limitedParseDouble,
1344
- SubDistrict: smithyClient.limitedParseDouble,
1345
- SubRegion: smithyClient.limitedParseDouble,
1346
- });
1347
- };
1348
- const de_BoundingBox = (output, context) => {
1349
- const retVal = (output || [])
1350
- .filter((e) => e != null)
1351
- .map((entry) => {
1352
- return smithyClient.limitedParseDouble(entry);
1353
- });
1354
- return retVal;
1355
- };
1356
- const de_ComponentMatchScores = (output, context) => {
1357
- return smithyClient.take(output, {
1358
- Address: (_) => de_AddressComponentMatchScores(_),
1359
- Title: smithyClient.limitedParseDouble,
1360
- });
1361
- };
1362
- const de_GeocodeResultItem = (output, context) => {
1363
- return smithyClient.take(output, {
1364
- AccessPoints: (_) => de_AccessPointList(_),
1365
- Address: smithyClient._json,
1366
- AddressNumberCorrected: smithyClient.expectBoolean,
1367
- Categories: smithyClient._json,
1368
- Distance: smithyClient.expectLong,
1369
- FoodTypes: smithyClient._json,
1370
- Intersections: (_) => de_IntersectionList(_),
1371
- MainAddress: (_) => de_RelatedPlace(_),
1372
- MapView: (_) => de_BoundingBox(_),
1373
- MatchScores: (_) => de_MatchScoreDetails(_),
1374
- ParsedQuery: smithyClient._json,
1375
- PlaceId: smithyClient.expectString,
1376
- PlaceType: smithyClient.expectString,
1377
- PoliticalView: smithyClient.expectString,
1378
- Position: (_) => de_Position(_),
1379
- PostalCodeDetails: smithyClient._json,
1380
- SecondaryAddresses: (_) => de_RelatedPlaceList(_),
1381
- TimeZone: smithyClient._json,
1382
- Title: smithyClient.expectString,
1383
- });
1384
- };
1385
- const de_GeocodeResultItemList = (output, context) => {
1386
- const retVal = (output || [])
1387
- .filter((e) => e != null)
1388
- .map((entry) => {
1389
- return de_GeocodeResultItem(entry);
1390
- });
1391
- return retVal;
1392
- };
1393
- const de_Intersection = (output, context) => {
1394
- return smithyClient.take(output, {
1395
- AccessPoints: (_) => de_AccessPointList(_),
1396
- Address: smithyClient._json,
1397
- Distance: smithyClient.expectLong,
1398
- MapView: (_) => de_BoundingBox(_),
1399
- PlaceId: smithyClient.expectString,
1400
- Position: (_) => de_Position(_),
1401
- RouteDistance: smithyClient.expectLong,
1402
- Title: smithyClient.expectString,
1403
- });
1404
- };
1405
- const de_IntersectionList = (output, context) => {
1406
- const retVal = (output || [])
1407
- .filter((e) => e != null)
1408
- .map((entry) => {
1409
- return de_Intersection(entry);
1410
- });
1411
- return retVal;
1412
- };
1413
- const de_MatchScoreDetails = (output, context) => {
1414
- return smithyClient.take(output, {
1415
- Components: (_) => de_ComponentMatchScores(_),
1416
- Overall: smithyClient.limitedParseDouble,
1417
- });
1418
- };
1419
- const de_MatchScoreList = (output, context) => {
1420
- const retVal = (output || [])
1421
- .filter((e) => e != null)
1422
- .map((entry) => {
1423
- return smithyClient.limitedParseDouble(entry);
1424
- });
1425
- return retVal;
1426
- };
1427
- const de_Position = (output, context) => {
1428
- const retVal = (output || [])
1429
- .filter((e) => e != null)
1430
- .map((entry) => {
1431
- return smithyClient.limitedParseDouble(entry);
1432
- });
1433
- return retVal;
1434
- };
1435
- const de_RelatedPlace = (output, context) => {
1436
- return smithyClient.take(output, {
1437
- AccessPoints: (_) => de_AccessPointList(_),
1438
- Address: smithyClient._json,
1439
- PlaceId: smithyClient.expectString,
1440
- PlaceType: smithyClient.expectString,
1441
- Position: (_) => de_Position(_),
1442
- Title: smithyClient.expectString,
1443
- });
1444
- };
1445
- const de_RelatedPlaceList = (output, context) => {
1446
- const retVal = (output || [])
1447
- .filter((e) => e != null)
1448
- .map((entry) => {
1449
- return de_RelatedPlace(entry);
1450
- });
1451
- return retVal;
1452
- };
1453
- const de_ReverseGeocodeResultItem = (output, context) => {
1454
- return smithyClient.take(output, {
1455
- AccessPoints: (_) => de_AccessPointList(_),
1456
- Address: smithyClient._json,
1457
- AddressNumberCorrected: smithyClient.expectBoolean,
1458
- Categories: smithyClient._json,
1459
- Distance: smithyClient.expectLong,
1460
- FoodTypes: smithyClient._json,
1461
- Intersections: (_) => de_IntersectionList(_),
1462
- MapView: (_) => de_BoundingBox(_),
1463
- PlaceId: smithyClient.expectString,
1464
- PlaceType: smithyClient.expectString,
1465
- PoliticalView: smithyClient.expectString,
1466
- Position: (_) => de_Position(_),
1467
- PostalCodeDetails: smithyClient._json,
1468
- TimeZone: smithyClient._json,
1469
- Title: smithyClient.expectString,
1470
- });
1471
- };
1472
- const de_ReverseGeocodeResultItemList = (output, context) => {
1473
- const retVal = (output || [])
1474
- .filter((e) => e != null)
1475
- .map((entry) => {
1476
- return de_ReverseGeocodeResultItem(entry);
1477
- });
1478
- return retVal;
1479
- };
1480
- const de_SearchNearbyResultItem = (output, context) => {
1481
- return smithyClient.take(output, {
1482
- AccessPoints: (_) => de_AccessPointList(_),
1483
- AccessRestrictions: smithyClient._json,
1484
- Address: smithyClient._json,
1485
- AddressNumberCorrected: smithyClient.expectBoolean,
1486
- BusinessChains: smithyClient._json,
1487
- Categories: smithyClient._json,
1488
- Contacts: smithyClient._json,
1489
- Distance: smithyClient.expectLong,
1490
- FoodTypes: smithyClient._json,
1491
- MapView: (_) => de_BoundingBox(_),
1492
- OpeningHours: smithyClient._json,
1493
- Phonemes: smithyClient._json,
1494
- PlaceId: smithyClient.expectString,
1495
- PlaceType: smithyClient.expectString,
1496
- PoliticalView: smithyClient.expectString,
1497
- Position: (_) => de_Position(_),
1498
- TimeZone: smithyClient._json,
1499
- Title: smithyClient.expectString,
1500
- });
1501
- };
1502
- const de_SearchNearbyResultItemList = (output, context) => {
1503
- const retVal = (output || [])
1504
- .filter((e) => e != null)
1505
- .map((entry) => {
1506
- return de_SearchNearbyResultItem(entry);
1507
- });
1508
- return retVal;
1509
- };
1510
- const de_SearchTextResultItem = (output, context) => {
1511
- return smithyClient.take(output, {
1512
- AccessPoints: (_) => de_AccessPointList(_),
1513
- AccessRestrictions: smithyClient._json,
1514
- Address: smithyClient._json,
1515
- AddressNumberCorrected: smithyClient.expectBoolean,
1516
- BusinessChains: smithyClient._json,
1517
- Categories: smithyClient._json,
1518
- Contacts: smithyClient._json,
1519
- Distance: smithyClient.expectLong,
1520
- FoodTypes: smithyClient._json,
1521
- MapView: (_) => de_BoundingBox(_),
1522
- OpeningHours: smithyClient._json,
1523
- Phonemes: smithyClient._json,
1524
- PlaceId: smithyClient.expectString,
1525
- PlaceType: smithyClient.expectString,
1526
- PoliticalView: smithyClient.expectString,
1527
- Position: (_) => de_Position(_),
1528
- TimeZone: smithyClient._json,
1529
- Title: smithyClient.expectString,
1530
- });
1531
- };
1532
- const de_SearchTextResultItemList = (output, context) => {
1533
- const retVal = (output || [])
1534
- .filter((e) => e != null)
1535
- .map((entry) => {
1536
- return de_SearchTextResultItem(entry);
1537
- });
1538
- return retVal;
1539
- };
1540
- const de_SecondaryAddressComponentMatchScore = (output, context) => {
1541
- return smithyClient.take(output, {
1542
- Number: smithyClient.limitedParseDouble,
1543
- });
1544
- };
1545
- const de_SecondaryAddressComponentMatchScoreList = (output, context) => {
1546
- const retVal = (output || [])
1547
- .filter((e) => e != null)
1548
- .map((entry) => {
1549
- return de_SecondaryAddressComponentMatchScore(entry);
1550
- });
1551
- return retVal;
1552
- };
1553
- const de_SuggestPlaceResult = (output, context) => {
1554
- return smithyClient.take(output, {
1555
- AccessPoints: (_) => de_AccessPointList(_),
1556
- AccessRestrictions: smithyClient._json,
1557
- Address: smithyClient._json,
1558
- BusinessChains: smithyClient._json,
1559
- Categories: smithyClient._json,
1560
- Distance: smithyClient.expectLong,
1561
- FoodTypes: smithyClient._json,
1562
- MapView: (_) => de_BoundingBox(_),
1563
- Phonemes: smithyClient._json,
1564
- PlaceId: smithyClient.expectString,
1565
- PlaceType: smithyClient.expectString,
1566
- PoliticalView: smithyClient.expectString,
1567
- Position: (_) => de_Position(_),
1568
- TimeZone: smithyClient._json,
1569
- });
1570
- };
1571
- const de_SuggestResultItem = (output, context) => {
1572
- return smithyClient.take(output, {
1573
- Highlights: smithyClient._json,
1574
- Place: (_) => de_SuggestPlaceResult(_),
1575
- Query: smithyClient._json,
1576
- SuggestResultItemType: smithyClient.expectString,
1577
- Title: smithyClient.expectString,
1578
- });
1579
- };
1580
- const de_SuggestResultItemList = (output, context) => {
1581
- const retVal = (output || [])
1582
- .filter((e) => e != null)
1583
- .map((entry) => {
1584
- return de_SuggestResultItem(entry);
1585
- });
1586
- return retVal;
1587
- };
1588
- const de_ValidationExceptionField = (output, context) => {
1589
- return smithyClient.take(output, {
1590
- Message: [, smithyClient.expectString, `message`],
1591
- Name: [, smithyClient.expectString, `name`],
1592
- });
1593
- };
1594
- const de_ValidationExceptionFieldList = (output, context) => {
1595
- const retVal = (output || [])
1596
- .filter((e) => e != null)
1597
- .map((entry) => {
1598
- return de_ValidationExceptionField(entry);
1599
- });
1600
- return retVal;
1601
- };
1602
- const deserializeMetadata = (output) => ({
1603
- httpStatusCode: output.statusCode,
1604
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1605
- extendedRequestId: output.headers["x-amz-id-2"],
1606
- cfId: output.headers["x-amz-cf-id"],
1607
- });
1608
- const _AF = "AdditionalFeatures";
328
+ const _A = "Address";
329
+ const _AAH = "AutocompleteAddressHighlights";
330
+ const _ACMS = "AddressComponentMatchScores";
331
+ const _ACP = "AddressComponentPhonemes";
332
+ const _ADE = "AccessDeniedException";
333
+ const _AF = "AutocompleteFilter";
334
+ const _AFd = "AdditionalFeatures";
335
+ const _AH = "AutocompleteHighlights";
336
+ const _AK = "ApiKey";
337
+ const _AN = "AddressNumber";
338
+ const _ANC = "AddressNumberCorrected";
339
+ const _AP = "AccessPoint";
340
+ const _APL = "AccessPointList";
341
+ const _APc = "AccessPoints";
342
+ const _AR = "AccessRestriction";
343
+ const _ARI = "AutocompleteResultItem";
344
+ const _ARIL = "AutocompleteResultItemList";
345
+ const _ARL = "AccessRestrictionList";
346
+ const _ARc = "AccessRestrictions";
347
+ const _ARu = "AutocompleteRequest";
348
+ const _ARut = "AutocompleteResponse";
349
+ const _Au = "Autocomplete";
350
+ const _B = "Block";
351
+ const _BB = "BoundingBox";
352
+ const _BC = "BusinessChain";
353
+ const _BCL = "BusinessChainList";
354
+ const _BCu = "BusinessChains";
355
+ const _BN = "BaseName";
356
+ const _BP = "BiasPosition";
357
+ const _Bu = "Building";
358
+ const _C = "Categories";
359
+ const _CC = "CountryCode";
360
+ const _CCL = "CountryCodeList";
361
+ const _CCo = "CountryCode2";
362
+ const _CCou = "CountryCode3";
363
+ const _CD = "ContactDetails";
364
+ const _CDL = "ContactDetailsList";
365
+ const _CH = "CountryHighlights";
366
+ const _CL = "CategoryList";
367
+ const _CMS = "ComponentMatchScores";
368
+ const _Ca = "Category";
369
+ const _Ce = "Center";
370
+ const _Ci = "Circle";
371
+ const _Co = "Country";
372
+ const _Cod = "Code2";
373
+ const _Code = "Code3";
374
+ const _Code_ = "Code";
375
+ const _Com = "Components";
376
+ const _Con = "Contacts";
377
+ const _D = "District";
378
+ const _DM = "DistanceMeters";
379
+ const _DS = "DurationSeconds";
380
+ const _De = "Designator";
381
+ const _Di = "Distance";
382
+ const _Dir = "Direction";
383
+ const _Dis = "Display";
384
+ const _E = "Emails";
385
+ const _EBC = "ExcludeBusinessChains";
386
+ const _EC = "ExcludeCategories";
387
+ const _EFT = "ExcludeFoodTypes";
388
+ const _EI = "EndIndex";
389
+ const _F = "Filter";
390
+ const _FBCL = "FilterBusinessChainList";
391
+ const _FC = "FilterCircle";
392
+ const _FCL = "FilterCategoryList";
393
+ const _FFTL = "FilterFoodTypeList";
394
+ const _FL = "FieldList";
395
+ const _FT = "FoodType";
396
+ const _FTL = "FoodTypeList";
397
+ const _FTo = "FoodTypes";
398
+ const _Fa = "Faxes";
399
+ const _G = "Geocode";
400
+ const _GF = "GeocodeFilter";
401
+ const _GFPT = "GeocodeFilterPlaceType";
402
+ const _GFPTL = "GeocodeFilterPlaceTypeList";
403
+ const _GP = "GetPlace";
404
+ const _GPQ = "GeocodeParsedQuery";
405
+ const _GPQAC = "GeocodeParsedQueryAddressComponents";
406
+ const _GPR = "GetPlaceRequest";
407
+ const _GPRe = "GetPlaceResponse";
408
+ const _GQC = "GeocodeQueryComponents";
409
+ const _GR = "GeocodeRequest";
410
+ const _GRI = "GeocodeResultItem";
411
+ const _GRIL = "GeocodeResultItemList";
412
+ const _GRe = "GeocodeResponse";
413
+ const _H = "Highlights";
414
+ const _HL = "HighlightList";
415
+ const _Hi = "Highlight";
416
+ const _I = "Intersection";
417
+ const _IBC = "IncludeBusinessChains";
418
+ const _IC = "IncludeCountries";
419
+ const _ICn = "IncludeCategories";
420
+ const _IFT = "IncludeFoodTypes";
421
+ const _IHL = "IntersectionHighlightsList";
422
+ const _IL = "IntersectionList";
423
+ const _IPT = "IncludePlaceTypes";
424
+ const _ISE = "InternalServerException";
1609
425
  const _IU = "IntendedUse";
426
+ const _Id = "Id";
427
+ const _In = "Intersections";
1610
428
  const _K = "Key";
1611
- const _L = "Language";
429
+ const _L = "Label";
430
+ const _LN = "LocalizedName";
431
+ const _La = "Language";
432
+ const _Lo = "Locality";
433
+ const _M = "Message";
434
+ const _MA = "MainAddress";
435
+ const _MQR = "MaxQueryRefinements";
436
+ const _MR = "MaxResults";
437
+ const _MS = "MatchScores";
438
+ const _MSD = "MatchScoreDetails";
439
+ const _MV = "MapView";
440
+ const _N = "Name";
441
+ const _NT = "NextToken";
442
+ const _Nu = "Number";
443
+ const _O = "Overall";
444
+ const _OD = "OpenDuration";
445
+ const _OH = "OpeningHours";
446
+ const _OHC = "OpeningHoursComponents";
447
+ const _OHCL = "OpeningHoursComponentsList";
448
+ const _OHD = "OpeningHoursDisplay";
449
+ const _OHDL = "OpeningHoursDisplayList";
450
+ const _OHL = "OpeningHoursList";
451
+ const _ON = "OpenNow";
452
+ const _OS = "OffsetSeconds";
453
+ const _OT = "OpenTime";
454
+ const _OTr = "OriginalTerm";
455
+ const _Of = "Offset";
456
+ const _P = "Position";
457
+ const _PA = "PostalAuthority";
1612
458
  const _PB = "PricingBucket";
459
+ const _PC = "PostalCode";
460
+ const _PCD = "PostalCodeDetails";
461
+ const _PCDL = "PostalCodeDetailsList";
462
+ const _PCM = "PostalCodeMode";
463
+ const _PCT = "PostalCodeType";
464
+ const _PD = "PhonemeDetails";
465
+ const _PI = "PlaceId";
466
+ const _PQ = "ParsedQuery";
467
+ const _PQC = "ParsedQueryComponent";
468
+ const _PQCL = "ParsedQueryComponentList";
469
+ const _PQSAC = "ParsedQuerySecondaryAddressComponent";
470
+ const _PQSACL = "ParsedQuerySecondaryAddressComponentList";
471
+ const _PT = "PlaceType";
472
+ const _PTL = "PhonemeTranscriptionList";
473
+ const _PTh = "PhonemeTranscription";
1613
474
  const _PV = "PoliticalView";
475
+ const _Ph = "Phones";
476
+ const _Pho = "Phonemes";
477
+ const _Pl = "Place";
478
+ const _Pr = "Primary";
479
+ const _Pre = "Preferred";
480
+ const _Pref = "Prefix";
481
+ const _Q = "Query";
482
+ const _QC = "QueryComponents";
483
+ const _QCu = "QueryComponent";
484
+ const _QI = "QueryId";
485
+ const _QP = "QueryPosition";
486
+ const _QR = "QueryRefinement";
487
+ const _QRL = "QueryRefinementList";
488
+ const _QRu = "QueryRadius";
489
+ const _QRue = "QueryRefinements";
490
+ const _QT = "QueryText";
491
+ const _QTu = "QueryType";
492
+ const _R = "Restricted";
493
+ const _RD = "RouteDistance";
494
+ const _RG = "ReverseGeocode";
495
+ const _RGF = "ReverseGeocodeFilter";
496
+ const _RGR = "ReverseGeocodeRequest";
497
+ const _RGRI = "ReverseGeocodeResultItem";
498
+ const _RGRIL = "ReverseGeocodeResultItemList";
499
+ const _RGRe = "ReverseGeocodeResponse";
500
+ const _RH = "RegionHighlights";
501
+ const _RI = "ResultItems";
502
+ const _RP = "RelatedPlace";
503
+ const _RPL = "RelatedPlaceList";
504
+ const _RT = "RefinedTerm";
505
+ const _RTC = "RecordTypeCode";
506
+ const _Ra = "Radius";
507
+ const _Re = "Region";
508
+ const _Rea = "Reason";
509
+ const _Rec = "Recurrence";
510
+ const _S = "Street";
511
+ const _SA = "SecondaryAddresses";
512
+ const _SAC = "SecondaryAddressComponents";
513
+ const _SACL = "SecondaryAddressComponentList";
514
+ const _SACMS = "SecondaryAddressComponentMatchScore";
515
+ const _SACMSL = "SecondaryAddressComponentMatchScoreList";
516
+ const _SACe = "SecondaryAddressComponent";
517
+ const _SAH = "SuggestAddressHighlights";
518
+ const _SB = "SensitiveBoolean";
519
+ const _SBu = "SubBlock";
520
+ const _SC = "StreetComponents";
521
+ const _SCL = "StreetComponentsList";
522
+ const _SD = "SubDistrict";
523
+ const _SF = "SuggestFilter";
524
+ const _SH = "SuggestHighlights";
525
+ const _SI = "StartIndex";
526
+ const _SN = "SearchNearby";
527
+ const _SNF = "SearchNearbyFilter";
528
+ const _SNR = "SearchNearbyRequest";
529
+ const _SNRI = "SearchNearbyResultItem";
530
+ const _SNRIL = "SearchNearbyResultItemList";
531
+ const _SNRe = "SearchNearbyResponse";
532
+ const _SPR = "SuggestPlaceResult";
533
+ const _SQR = "SuggestQueryResult";
534
+ const _SR = "SubRegion";
535
+ const _SRH = "SubRegionHighlights";
536
+ const _SRI = "SuggestResultItem";
537
+ const _SRIL = "SuggestResultItemList";
538
+ const _SRIT = "SuggestResultItemType";
539
+ const _SRu = "SuggestRequest";
540
+ const _SRug = "SuggestResponse";
541
+ const _SS = "SensitiveString";
542
+ const _ST = "SearchText";
543
+ const _STF = "SearchTextFilter";
544
+ const _STR = "SearchTextRequest";
545
+ const _STRI = "SearchTextResultItem";
546
+ const _STRIL = "SearchTextResultItemList";
547
+ const _STRe = "SearchTextResponse";
548
+ const _Su = "Suffix";
549
+ const _Sug = "Suggest";
550
+ const _T = "Title";
551
+ const _TE = "ThrottlingException";
552
+ const _TP = "TypePlacement";
553
+ const _TS = "TypeSeparator";
554
+ const _TZ = "TimeZone";
555
+ const _Ty = "Type";
556
+ const _UZ = "UspsZip";
557
+ const _UZP = "UspsZipPlus4";
558
+ const _V = "Value";
559
+ const _VE = "ValidationException";
560
+ const _VEF = "ValidationExceptionField";
561
+ const _VEFL = "ValidationExceptionFieldList";
562
+ const _W = "Websites";
563
+ const _ZCC = "ZipClassificationCode";
1614
564
  const _af = "additional-features";
565
+ const _c = "client";
566
+ const _e = "error";
567
+ const _fL = "fieldList";
568
+ const _h = "http";
569
+ const _hE = "httpError";
570
+ const _hH = "httpHeader";
571
+ const _hQ = "httpQuery";
1615
572
  const _iu = "intended-use";
573
+ const _jN = "jsonName";
1616
574
  const _k = "key";
1617
575
  const _l = "language";
576
+ const _m = "message";
577
+ const _n = "name";
1618
578
  const _pv = "political-view";
579
+ const _r = "reason";
580
+ const _s = "server";
581
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.geoplaces";
1619
582
  const _xagpb = "x-amz-geo-pricing-bucket";
583
+ const n0 = "com.amazonaws.geoplaces";
584
+ var ApiKey = [0, n0, _AK, 8, 0];
585
+ var CountryCode = [0, n0, _CC, 8, 0];
586
+ var CountryCode2 = [0, n0, _CCo, 8, 0];
587
+ var CountryCode3 = [0, n0, _CCou, 8, 0];
588
+ var DistanceMeters = [0, n0, _DM, 8, 1];
589
+ var DurationSeconds = [0, n0, _DS, 8, 1];
590
+ var GeocodeFilterPlaceType = [0, n0, _GFPT, 8, 0];
591
+ var OpeningHoursDisplay = [0, n0, _OHD, 8, 0];
592
+ var PlaceType = [0, n0, _PT, 8, 0];
593
+ var PostalAuthority = [0, n0, _PA, 8, 0];
594
+ var PostalCodeType = [0, n0, _PCT, 8, 0];
595
+ var RecordTypeCode = [0, n0, _RTC, 8, 0];
596
+ var SensitiveBoolean = [0, n0, _SB, 8, 2];
597
+ var SensitiveString = [0, n0, _SS, 8, 0];
598
+ var ZipClassificationCode = [0, n0, _ZCC, 8, 0];
599
+ var AccessDeniedException = [
600
+ -3,
601
+ n0,
602
+ _ADE,
603
+ {
604
+ [_e]: _c,
605
+ [_hE]: 403,
606
+ },
607
+ [_M],
608
+ [
609
+ [
610
+ 0,
611
+ {
612
+ [_jN]: _m,
613
+ },
614
+ ],
615
+ ],
616
+ ];
617
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
618
+ var AccessPoint = [3, n0, _AP, 0, [_P], [[() => Position, 0]]];
619
+ var AccessRestriction = [
620
+ 3,
621
+ n0,
622
+ _AR,
623
+ 0,
624
+ [_R, _C],
625
+ [
626
+ [() => SensitiveBoolean, 0],
627
+ [() => CategoryList, 0],
628
+ ],
629
+ ];
630
+ var Address = [
631
+ 3,
632
+ n0,
633
+ _A,
634
+ 0,
635
+ [_L, _Co, _Re, _SR, _Lo, _D, _SD, _PC, _B, _SBu, _I, _S, _SC, _AN, _Bu, _SAC],
636
+ [
637
+ [() => SensitiveString, 0],
638
+ [() => Country, 0],
639
+ [() => Region, 0],
640
+ [() => SubRegion, 0],
641
+ [() => SensitiveString, 0],
642
+ [() => SensitiveString, 0],
643
+ [() => SensitiveString, 0],
644
+ [() => SensitiveString, 0],
645
+ [() => SensitiveString, 0],
646
+ [() => SensitiveString, 0],
647
+ 64 | 0,
648
+ [() => SensitiveString, 0],
649
+ [() => StreetComponentsList, 0],
650
+ [() => SensitiveString, 0],
651
+ [() => SensitiveString, 0],
652
+ [() => SecondaryAddressComponentList, 0],
653
+ ],
654
+ ];
655
+ var AddressComponentMatchScores = [
656
+ 3,
657
+ n0,
658
+ _ACMS,
659
+ 0,
660
+ [_Co, _Re, _SR, _Lo, _D, _SD, _PC, _B, _SBu, _I, _AN, _Bu, _SAC],
661
+ [1, 1, 1, 1, 1, 1, 1, 1, 1, 64 | 1, 1, 1, () => SecondaryAddressComponentMatchScoreList],
662
+ ];
663
+ var AddressComponentPhonemes = [
664
+ 3,
665
+ n0,
666
+ _ACP,
667
+ 0,
668
+ [_Co, _Re, _SR, _Lo, _D, _SD, _B, _SBu, _S],
669
+ [
670
+ [() => PhonemeTranscriptionList, 0],
671
+ [() => PhonemeTranscriptionList, 0],
672
+ [() => PhonemeTranscriptionList, 0],
673
+ [() => PhonemeTranscriptionList, 0],
674
+ [() => PhonemeTranscriptionList, 0],
675
+ [() => PhonemeTranscriptionList, 0],
676
+ [() => PhonemeTranscriptionList, 0],
677
+ [() => PhonemeTranscriptionList, 0],
678
+ [() => PhonemeTranscriptionList, 0],
679
+ ],
680
+ ];
681
+ var AutocompleteAddressHighlights = [
682
+ 3,
683
+ n0,
684
+ _AAH,
685
+ 0,
686
+ [_L, _Co, _Re, _SR, _Lo, _D, _SD, _S, _B, _SBu, _I, _PC, _AN, _Bu],
687
+ [
688
+ [() => HighlightList, 0],
689
+ [() => CountryHighlights, 0],
690
+ [() => RegionHighlights, 0],
691
+ [() => SubRegionHighlights, 0],
692
+ [() => HighlightList, 0],
693
+ [() => HighlightList, 0],
694
+ [() => HighlightList, 0],
695
+ [() => HighlightList, 0],
696
+ [() => HighlightList, 0],
697
+ [() => HighlightList, 0],
698
+ [() => IntersectionHighlightsList, 0],
699
+ [() => HighlightList, 0],
700
+ [() => HighlightList, 0],
701
+ [() => HighlightList, 0],
702
+ ],
703
+ ];
704
+ var AutocompleteFilter = [
705
+ 3,
706
+ n0,
707
+ _AF,
708
+ 0,
709
+ [_BB, _Ci, _IC, _IPT],
710
+ [[() => BoundingBox, 0], [() => FilterCircle, 0], [() => CountryCodeList, 0], 64 | 0],
711
+ ];
712
+ var AutocompleteHighlights = [
713
+ 3,
714
+ n0,
715
+ _AH,
716
+ 0,
717
+ [_T, _A],
718
+ [
719
+ [() => HighlightList, 0],
720
+ [() => AutocompleteAddressHighlights, 0],
721
+ ],
722
+ ];
723
+ var AutocompleteRequest = [
724
+ 3,
725
+ n0,
726
+ _ARu,
727
+ 0,
728
+ [_QT, _MR, _BP, _F, _PCM, _AFd, _La, _PV, _IU, _K],
729
+ [
730
+ [() => SensitiveString, 0],
731
+ 1,
732
+ [() => Position, 0],
733
+ [() => AutocompleteFilter, 0],
734
+ 0,
735
+ 64 | 0,
736
+ 0,
737
+ [() => CountryCode, 0],
738
+ 0,
739
+ [
740
+ () => ApiKey,
741
+ {
742
+ [_hQ]: _k,
743
+ },
744
+ ],
745
+ ],
746
+ ];
747
+ var AutocompleteResponse = [
748
+ 3,
749
+ n0,
750
+ _ARut,
751
+ 0,
752
+ [_PB, _RI],
753
+ [
754
+ [
755
+ 0,
756
+ {
757
+ [_hH]: _xagpb,
758
+ },
759
+ ],
760
+ [() => AutocompleteResultItemList, 0],
761
+ ],
762
+ ];
763
+ var AutocompleteResultItem = [
764
+ 3,
765
+ n0,
766
+ _ARI,
767
+ 0,
768
+ [_PI, _PT, _T, _A, _Di, _La, _PV, _H],
769
+ [
770
+ [() => SensitiveString, 0],
771
+ [() => PlaceType, 0],
772
+ [() => SensitiveString, 0],
773
+ [() => Address, 0],
774
+ [() => DistanceMeters, 0],
775
+ 0,
776
+ [() => CountryCode3, 0],
777
+ [() => AutocompleteHighlights, 0],
778
+ ],
779
+ ];
780
+ var BusinessChain = [
781
+ 3,
782
+ n0,
783
+ _BC,
784
+ 0,
785
+ [_N, _Id],
786
+ [
787
+ [() => SensitiveString, 0],
788
+ [() => SensitiveString, 0],
789
+ ],
790
+ ];
791
+ var Category = [
792
+ 3,
793
+ n0,
794
+ _Ca,
795
+ 0,
796
+ [_Id, _N, _LN, _Pr],
797
+ [
798
+ [() => SensitiveString, 0],
799
+ [() => SensitiveString, 0],
800
+ [() => SensitiveString, 0],
801
+ [() => SensitiveBoolean, 0],
802
+ ],
803
+ ];
804
+ var ComponentMatchScores = [
805
+ 3,
806
+ n0,
807
+ _CMS,
808
+ 0,
809
+ [_T, _A],
810
+ [1, () => AddressComponentMatchScores],
811
+ ];
812
+ var ContactDetails = [
813
+ 3,
814
+ n0,
815
+ _CD,
816
+ 0,
817
+ [_L, _V, _C],
818
+ [
819
+ [() => SensitiveString, 0],
820
+ [() => SensitiveString, 0],
821
+ [() => CategoryList, 0],
822
+ ],
823
+ ];
824
+ var Contacts = [
825
+ 3,
826
+ n0,
827
+ _Con,
828
+ 0,
829
+ [_Ph, _Fa, _W, _E],
830
+ [
831
+ [() => ContactDetailsList, 0],
832
+ [() => ContactDetailsList, 0],
833
+ [() => ContactDetailsList, 0],
834
+ [() => ContactDetailsList, 0],
835
+ ],
836
+ ];
837
+ var Country = [
838
+ 3,
839
+ n0,
840
+ _Co,
841
+ 0,
842
+ [_Cod, _Code, _N],
843
+ [
844
+ [() => CountryCode2, 0],
845
+ [() => CountryCode3, 0],
846
+ [() => SensitiveString, 0],
847
+ ],
848
+ ];
849
+ var CountryHighlights = [
850
+ 3,
851
+ n0,
852
+ _CH,
853
+ 0,
854
+ [_Code_, _N],
855
+ [
856
+ [() => HighlightList, 0],
857
+ [() => HighlightList, 0],
858
+ ],
859
+ ];
860
+ var FilterCircle = [
861
+ 3,
862
+ n0,
863
+ _FC,
864
+ 8,
865
+ [_Ce, _Ra],
866
+ [
867
+ [() => Position, 0],
868
+ [() => DistanceMeters, 0],
869
+ ],
870
+ ];
871
+ var FoodType = [
872
+ 3,
873
+ n0,
874
+ _FT,
875
+ 0,
876
+ [_LN, _Id, _Pr],
877
+ [
878
+ [() => SensitiveString, 0],
879
+ [() => SensitiveString, 0],
880
+ [() => SensitiveBoolean, 0],
881
+ ],
882
+ ];
883
+ var GeocodeFilter = [
884
+ 3,
885
+ n0,
886
+ _GF,
887
+ 0,
888
+ [_IC, _IPT],
889
+ [
890
+ [() => CountryCodeList, 0],
891
+ [() => GeocodeFilterPlaceTypeList, 0],
892
+ ],
893
+ ];
894
+ var GeocodeParsedQuery = [
895
+ 3,
896
+ n0,
897
+ _GPQ,
898
+ 0,
899
+ [_T, _A],
900
+ [
901
+ [() => ParsedQueryComponentList, 0],
902
+ [() => GeocodeParsedQueryAddressComponents, 0],
903
+ ],
904
+ ];
905
+ var GeocodeParsedQueryAddressComponents = [
906
+ 3,
907
+ n0,
908
+ _GPQAC,
909
+ 0,
910
+ [_Co, _Re, _SR, _Lo, _D, _SD, _PC, _B, _SBu, _S, _AN, _Bu, _SAC],
911
+ [
912
+ [() => ParsedQueryComponentList, 0],
913
+ [() => ParsedQueryComponentList, 0],
914
+ [() => ParsedQueryComponentList, 0],
915
+ [() => ParsedQueryComponentList, 0],
916
+ [() => ParsedQueryComponentList, 0],
917
+ [() => ParsedQueryComponentList, 0],
918
+ [() => ParsedQueryComponentList, 0],
919
+ [() => ParsedQueryComponentList, 0],
920
+ [() => ParsedQueryComponentList, 0],
921
+ [() => ParsedQueryComponentList, 0],
922
+ [() => ParsedQueryComponentList, 0],
923
+ [() => ParsedQueryComponentList, 0],
924
+ [() => ParsedQuerySecondaryAddressComponentList, 0],
925
+ ],
926
+ ];
927
+ var GeocodeQueryComponents = [
928
+ 3,
929
+ n0,
930
+ _GQC,
931
+ 0,
932
+ [_Co, _Re, _SR, _Lo, _D, _S, _AN, _PC],
933
+ [
934
+ [() => SensitiveString, 0],
935
+ [() => SensitiveString, 0],
936
+ [() => SensitiveString, 0],
937
+ [() => SensitiveString, 0],
938
+ [() => SensitiveString, 0],
939
+ [() => SensitiveString, 0],
940
+ [() => SensitiveString, 0],
941
+ [() => SensitiveString, 0],
942
+ ],
943
+ ];
944
+ var GeocodeRequest = [
945
+ 3,
946
+ n0,
947
+ _GR,
948
+ 0,
949
+ [_QT, _QC, _MR, _BP, _F, _AFd, _La, _PV, _IU, _K],
950
+ [
951
+ [() => SensitiveString, 0],
952
+ [() => GeocodeQueryComponents, 0],
953
+ 1,
954
+ [() => Position, 0],
955
+ [() => GeocodeFilter, 0],
956
+ 64 | 0,
957
+ 0,
958
+ [() => CountryCode, 0],
959
+ 0,
960
+ [
961
+ () => ApiKey,
962
+ {
963
+ [_hQ]: _k,
964
+ },
965
+ ],
966
+ ],
967
+ ];
968
+ var GeocodeResponse = [
969
+ 3,
970
+ n0,
971
+ _GRe,
972
+ 0,
973
+ [_PB, _RI],
974
+ [
975
+ [
976
+ 0,
977
+ {
978
+ [_hH]: _xagpb,
979
+ },
980
+ ],
981
+ [() => GeocodeResultItemList, 0],
982
+ ],
983
+ ];
984
+ var GeocodeResultItem = [
985
+ 3,
986
+ n0,
987
+ _GRI,
988
+ 0,
989
+ [_PI, _PT, _T, _A, _ANC, _PCD, _P, _Di, _MV, _C, _FTo, _APc, _TZ, _PV, _MS, _PQ, _In, _MA, _SA],
990
+ [
991
+ [() => SensitiveString, 0],
992
+ [() => PlaceType, 0],
993
+ [() => SensitiveString, 0],
994
+ [() => Address, 0],
995
+ [() => SensitiveBoolean, 0],
996
+ [() => PostalCodeDetailsList, 0],
997
+ [() => Position, 0],
998
+ [() => DistanceMeters, 0],
999
+ [() => BoundingBox, 0],
1000
+ [() => CategoryList, 0],
1001
+ [() => FoodTypeList, 0],
1002
+ [() => AccessPointList, 0],
1003
+ [() => TimeZone, 0],
1004
+ [() => CountryCode3, 0],
1005
+ () => MatchScoreDetails,
1006
+ [() => GeocodeParsedQuery, 0],
1007
+ [() => IntersectionList, 0],
1008
+ [() => RelatedPlace, 0],
1009
+ [() => RelatedPlaceList, 0],
1010
+ ],
1011
+ ];
1012
+ var GetPlaceRequest = [
1013
+ 3,
1014
+ n0,
1015
+ _GPR,
1016
+ 0,
1017
+ [_PI, _AFd, _La, _PV, _IU, _K],
1018
+ [
1019
+ [() => SensitiveString, 1],
1020
+ [
1021
+ 64 | 0,
1022
+ {
1023
+ [_hQ]: _af,
1024
+ },
1025
+ ],
1026
+ [
1027
+ 0,
1028
+ {
1029
+ [_hQ]: _l,
1030
+ },
1031
+ ],
1032
+ [
1033
+ () => CountryCode,
1034
+ {
1035
+ [_hQ]: _pv,
1036
+ },
1037
+ ],
1038
+ [
1039
+ 0,
1040
+ {
1041
+ [_hQ]: _iu,
1042
+ },
1043
+ ],
1044
+ [
1045
+ () => ApiKey,
1046
+ {
1047
+ [_hQ]: _k,
1048
+ },
1049
+ ],
1050
+ ],
1051
+ ];
1052
+ var GetPlaceResponse = [
1053
+ 3,
1054
+ n0,
1055
+ _GPRe,
1056
+ 0,
1057
+ [_PI, _PT, _T, _PB, _A, _ANC, _PCD, _P, _MV, _C, _FTo, _BCu, _Con, _OH, _APc, _ARc, _TZ, _PV, _Pho, _MA, _SA],
1058
+ [
1059
+ [() => SensitiveString, 0],
1060
+ [() => PlaceType, 0],
1061
+ [() => SensitiveString, 0],
1062
+ [
1063
+ 0,
1064
+ {
1065
+ [_hH]: _xagpb,
1066
+ },
1067
+ ],
1068
+ [() => Address, 0],
1069
+ [() => SensitiveBoolean, 0],
1070
+ [() => PostalCodeDetailsList, 0],
1071
+ [() => Position, 0],
1072
+ [() => BoundingBox, 0],
1073
+ [() => CategoryList, 0],
1074
+ [() => FoodTypeList, 0],
1075
+ [() => BusinessChainList, 0],
1076
+ [() => Contacts, 0],
1077
+ [() => OpeningHoursList, 0],
1078
+ [() => AccessPointList, 0],
1079
+ [() => AccessRestrictionList, 0],
1080
+ [() => TimeZone, 0],
1081
+ [() => CountryCode3, 0],
1082
+ [() => PhonemeDetails, 0],
1083
+ [() => RelatedPlace, 0],
1084
+ [() => RelatedPlaceList, 0],
1085
+ ],
1086
+ ];
1087
+ var Highlight = [3, n0, _Hi, 0, [_SI, _EI, _V], [1, 1, [() => SensitiveString, 0]]];
1088
+ var InternalServerException = [
1089
+ -3,
1090
+ n0,
1091
+ _ISE,
1092
+ {
1093
+ [_e]: _s,
1094
+ [_hE]: 500,
1095
+ },
1096
+ [_M],
1097
+ [
1098
+ [
1099
+ 0,
1100
+ {
1101
+ [_jN]: _m,
1102
+ },
1103
+ ],
1104
+ ],
1105
+ ];
1106
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1107
+ var Intersection = [
1108
+ 3,
1109
+ n0,
1110
+ _I,
1111
+ 0,
1112
+ [_PI, _T, _A, _P, _Di, _RD, _MV, _APc],
1113
+ [
1114
+ [() => SensitiveString, 0],
1115
+ [() => SensitiveString, 0],
1116
+ [() => Address, 0],
1117
+ [() => Position, 0],
1118
+ [() => DistanceMeters, 0],
1119
+ [() => DistanceMeters, 0],
1120
+ [() => BoundingBox, 0],
1121
+ [() => AccessPointList, 0],
1122
+ ],
1123
+ ];
1124
+ var MatchScoreDetails = [3, n0, _MSD, 0, [_O, _Com], [1, () => ComponentMatchScores]];
1125
+ var OpeningHours = [
1126
+ 3,
1127
+ n0,
1128
+ _OH,
1129
+ 0,
1130
+ [_Dis, _ON, _Com, _C],
1131
+ [
1132
+ [() => OpeningHoursDisplayList, 0],
1133
+ [() => SensitiveBoolean, 0],
1134
+ [() => OpeningHoursComponentsList, 0],
1135
+ [() => CategoryList, 0],
1136
+ ],
1137
+ ];
1138
+ var OpeningHoursComponents = [
1139
+ 3,
1140
+ n0,
1141
+ _OHC,
1142
+ 0,
1143
+ [_OT, _OD, _Rec],
1144
+ [
1145
+ [() => SensitiveString, 0],
1146
+ [() => SensitiveString, 0],
1147
+ [() => SensitiveString, 0],
1148
+ ],
1149
+ ];
1150
+ var ParsedQueryComponent = [
1151
+ 3,
1152
+ n0,
1153
+ _PQC,
1154
+ 0,
1155
+ [_SI, _EI, _V, _QCu],
1156
+ [1, 1, [() => SensitiveString, 0], [() => SensitiveString, 0]],
1157
+ ];
1158
+ var ParsedQuerySecondaryAddressComponent = [
1159
+ 3,
1160
+ n0,
1161
+ _PQSAC,
1162
+ 0,
1163
+ [_SI, _EI, _V, _Nu, _De],
1164
+ [1, 1, [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0]],
1165
+ ];
1166
+ var PhonemeDetails = [
1167
+ 3,
1168
+ n0,
1169
+ _PD,
1170
+ 0,
1171
+ [_T, _A],
1172
+ [
1173
+ [() => PhonemeTranscriptionList, 0],
1174
+ [() => AddressComponentPhonemes, 0],
1175
+ ],
1176
+ ];
1177
+ var PhonemeTranscription = [
1178
+ 3,
1179
+ n0,
1180
+ _PTh,
1181
+ 0,
1182
+ [_V, _La, _Pre],
1183
+ [[() => SensitiveString, 0], 0, [() => SensitiveBoolean, 0]],
1184
+ ];
1185
+ var PostalCodeDetails = [
1186
+ 3,
1187
+ n0,
1188
+ _PCD,
1189
+ 0,
1190
+ [_PC, _PA, _PCT, _UZ, _UZP],
1191
+ [
1192
+ [() => SensitiveString, 0],
1193
+ [() => PostalAuthority, 0],
1194
+ [() => PostalCodeType, 0],
1195
+ [() => UspsZip, 0],
1196
+ [() => UspsZipPlus4, 0],
1197
+ ],
1198
+ ];
1199
+ var QueryRefinement = [
1200
+ 3,
1201
+ n0,
1202
+ _QR,
1203
+ 0,
1204
+ [_RT, _OTr, _SI, _EI],
1205
+ [[() => SensitiveString, 0], [() => SensitiveString, 0], 1, 1],
1206
+ ];
1207
+ var Region = [
1208
+ 3,
1209
+ n0,
1210
+ _Re,
1211
+ 0,
1212
+ [_Code_, _N],
1213
+ [
1214
+ [() => SensitiveString, 0],
1215
+ [() => SensitiveString, 0],
1216
+ ],
1217
+ ];
1218
+ var RegionHighlights = [
1219
+ 3,
1220
+ n0,
1221
+ _RH,
1222
+ 0,
1223
+ [_Code_, _N],
1224
+ [
1225
+ [() => HighlightList, 0],
1226
+ [() => HighlightList, 0],
1227
+ ],
1228
+ ];
1229
+ var RelatedPlace = [
1230
+ 3,
1231
+ n0,
1232
+ _RP,
1233
+ 0,
1234
+ [_PI, _PT, _T, _A, _P, _APc],
1235
+ [
1236
+ [() => SensitiveString, 0],
1237
+ [() => PlaceType, 0],
1238
+ [() => SensitiveString, 0],
1239
+ [() => Address, 0],
1240
+ [() => Position, 0],
1241
+ [() => AccessPointList, 0],
1242
+ ],
1243
+ ];
1244
+ var ReverseGeocodeFilter = [3, n0, _RGF, 0, [_IPT], [64 | 0]];
1245
+ var ReverseGeocodeRequest = [
1246
+ 3,
1247
+ n0,
1248
+ _RGR,
1249
+ 0,
1250
+ [_QP, _QRu, _MR, _F, _AFd, _La, _PV, _IU, _K],
1251
+ [
1252
+ [() => Position, 0],
1253
+ [() => DistanceMeters, 0],
1254
+ 1,
1255
+ () => ReverseGeocodeFilter,
1256
+ 64 | 0,
1257
+ 0,
1258
+ [() => CountryCode, 0],
1259
+ 0,
1260
+ [
1261
+ () => ApiKey,
1262
+ {
1263
+ [_hQ]: _k,
1264
+ },
1265
+ ],
1266
+ ],
1267
+ ];
1268
+ var ReverseGeocodeResponse = [
1269
+ 3,
1270
+ n0,
1271
+ _RGRe,
1272
+ 0,
1273
+ [_PB, _RI],
1274
+ [
1275
+ [
1276
+ 0,
1277
+ {
1278
+ [_hH]: _xagpb,
1279
+ },
1280
+ ],
1281
+ [() => ReverseGeocodeResultItemList, 0],
1282
+ ],
1283
+ ];
1284
+ var ReverseGeocodeResultItem = [
1285
+ 3,
1286
+ n0,
1287
+ _RGRI,
1288
+ 0,
1289
+ [_PI, _PT, _T, _A, _ANC, _PCD, _P, _Di, _MV, _C, _FTo, _APc, _TZ, _PV, _In],
1290
+ [
1291
+ [() => SensitiveString, 0],
1292
+ [() => PlaceType, 0],
1293
+ [() => SensitiveString, 0],
1294
+ [() => Address, 0],
1295
+ [() => SensitiveBoolean, 0],
1296
+ [() => PostalCodeDetailsList, 0],
1297
+ [() => Position, 0],
1298
+ [() => DistanceMeters, 0],
1299
+ [() => BoundingBox, 0],
1300
+ [() => CategoryList, 0],
1301
+ [() => FoodTypeList, 0],
1302
+ [() => AccessPointList, 0],
1303
+ [() => TimeZone, 0],
1304
+ [() => CountryCode3, 0],
1305
+ [() => IntersectionList, 0],
1306
+ ],
1307
+ ];
1308
+ var SearchNearbyFilter = [
1309
+ 3,
1310
+ n0,
1311
+ _SNF,
1312
+ 0,
1313
+ [_BB, _IC, _ICn, _EC, _IBC, _EBC, _IFT, _EFT],
1314
+ [
1315
+ [() => BoundingBox, 0],
1316
+ [() => CountryCodeList, 0],
1317
+ [() => FilterCategoryList, 0],
1318
+ [() => FilterCategoryList, 0],
1319
+ [() => FilterBusinessChainList, 0],
1320
+ [() => FilterBusinessChainList, 0],
1321
+ [() => FilterFoodTypeList, 0],
1322
+ [() => FilterFoodTypeList, 0],
1323
+ ],
1324
+ ];
1325
+ var SearchNearbyRequest = [
1326
+ 3,
1327
+ n0,
1328
+ _SNR,
1329
+ 0,
1330
+ [_QP, _QRu, _MR, _F, _AFd, _La, _PV, _IU, _NT, _K],
1331
+ [
1332
+ [() => Position, 0],
1333
+ [() => DistanceMeters, 0],
1334
+ 1,
1335
+ [() => SearchNearbyFilter, 0],
1336
+ 64 | 0,
1337
+ 0,
1338
+ [() => CountryCode, 0],
1339
+ 0,
1340
+ 0,
1341
+ [
1342
+ () => ApiKey,
1343
+ {
1344
+ [_hQ]: _k,
1345
+ },
1346
+ ],
1347
+ ],
1348
+ ];
1349
+ var SearchNearbyResponse = [
1350
+ 3,
1351
+ n0,
1352
+ _SNRe,
1353
+ 0,
1354
+ [_PB, _RI, _NT],
1355
+ [
1356
+ [
1357
+ 0,
1358
+ {
1359
+ [_hH]: _xagpb,
1360
+ },
1361
+ ],
1362
+ [() => SearchNearbyResultItemList, 0],
1363
+ 0,
1364
+ ],
1365
+ ];
1366
+ var SearchNearbyResultItem = [
1367
+ 3,
1368
+ n0,
1369
+ _SNRI,
1370
+ 0,
1371
+ [_PI, _PT, _T, _A, _ANC, _P, _Di, _MV, _C, _FTo, _BCu, _Con, _OH, _APc, _ARc, _TZ, _PV, _Pho],
1372
+ [
1373
+ [() => SensitiveString, 0],
1374
+ [() => PlaceType, 0],
1375
+ [() => SensitiveString, 0],
1376
+ [() => Address, 0],
1377
+ [() => SensitiveBoolean, 0],
1378
+ [() => Position, 0],
1379
+ [() => DistanceMeters, 0],
1380
+ [() => BoundingBox, 0],
1381
+ [() => CategoryList, 0],
1382
+ [() => FoodTypeList, 0],
1383
+ [() => BusinessChainList, 0],
1384
+ [() => Contacts, 0],
1385
+ [() => OpeningHoursList, 0],
1386
+ [() => AccessPointList, 0],
1387
+ [() => AccessRestrictionList, 0],
1388
+ [() => TimeZone, 0],
1389
+ [() => CountryCode3, 0],
1390
+ [() => PhonemeDetails, 0],
1391
+ ],
1392
+ ];
1393
+ var SearchTextFilter = [
1394
+ 3,
1395
+ n0,
1396
+ _STF,
1397
+ 0,
1398
+ [_BB, _Ci, _IC],
1399
+ [
1400
+ [() => BoundingBox, 0],
1401
+ [() => FilterCircle, 0],
1402
+ [() => CountryCodeList, 0],
1403
+ ],
1404
+ ];
1405
+ var SearchTextRequest = [
1406
+ 3,
1407
+ n0,
1408
+ _STR,
1409
+ 0,
1410
+ [_QT, _QI, _MR, _BP, _F, _AFd, _La, _PV, _IU, _NT, _K],
1411
+ [
1412
+ [() => SensitiveString, 0],
1413
+ [() => SensitiveString, 0],
1414
+ 1,
1415
+ [() => Position, 0],
1416
+ [() => SearchTextFilter, 0],
1417
+ 64 | 0,
1418
+ 0,
1419
+ [() => CountryCode, 0],
1420
+ 0,
1421
+ 0,
1422
+ [
1423
+ () => ApiKey,
1424
+ {
1425
+ [_hQ]: _k,
1426
+ },
1427
+ ],
1428
+ ],
1429
+ ];
1430
+ var SearchTextResponse = [
1431
+ 3,
1432
+ n0,
1433
+ _STRe,
1434
+ 0,
1435
+ [_PB, _RI, _NT],
1436
+ [
1437
+ [
1438
+ 0,
1439
+ {
1440
+ [_hH]: _xagpb,
1441
+ },
1442
+ ],
1443
+ [() => SearchTextResultItemList, 0],
1444
+ 0,
1445
+ ],
1446
+ ];
1447
+ var SearchTextResultItem = [
1448
+ 3,
1449
+ n0,
1450
+ _STRI,
1451
+ 0,
1452
+ [_PI, _PT, _T, _A, _ANC, _P, _Di, _MV, _C, _FTo, _BCu, _Con, _OH, _APc, _ARc, _TZ, _PV, _Pho],
1453
+ [
1454
+ [() => SensitiveString, 0],
1455
+ [() => PlaceType, 0],
1456
+ [() => SensitiveString, 0],
1457
+ [() => Address, 0],
1458
+ [() => SensitiveBoolean, 0],
1459
+ [() => Position, 0],
1460
+ [() => DistanceMeters, 0],
1461
+ [() => BoundingBox, 0],
1462
+ [() => CategoryList, 0],
1463
+ [() => FoodTypeList, 0],
1464
+ [() => BusinessChainList, 0],
1465
+ [() => Contacts, 0],
1466
+ [() => OpeningHoursList, 0],
1467
+ [() => AccessPointList, 0],
1468
+ [() => AccessRestrictionList, 0],
1469
+ [() => TimeZone, 0],
1470
+ [() => CountryCode3, 0],
1471
+ [() => PhonemeDetails, 0],
1472
+ ],
1473
+ ];
1474
+ var SecondaryAddressComponent = [3, n0, _SACe, 0, [_Nu], [[() => SensitiveString, 0]]];
1475
+ var SecondaryAddressComponentMatchScore = [3, n0, _SACMS, 0, [_Nu], [1]];
1476
+ var StreetComponents = [
1477
+ 3,
1478
+ n0,
1479
+ _SC,
1480
+ 0,
1481
+ [_BN, _Ty, _TP, _TS, _Pref, _Su, _Dir, _La],
1482
+ [
1483
+ [() => SensitiveString, 0],
1484
+ [() => SensitiveString, 0],
1485
+ 0,
1486
+ 0,
1487
+ [() => SensitiveString, 0],
1488
+ [() => SensitiveString, 0],
1489
+ [() => SensitiveString, 0],
1490
+ 0,
1491
+ ],
1492
+ ];
1493
+ var SubRegion = [
1494
+ 3,
1495
+ n0,
1496
+ _SR,
1497
+ 0,
1498
+ [_Code_, _N],
1499
+ [
1500
+ [() => SensitiveString, 0],
1501
+ [() => SensitiveString, 0],
1502
+ ],
1503
+ ];
1504
+ var SubRegionHighlights = [
1505
+ 3,
1506
+ n0,
1507
+ _SRH,
1508
+ 0,
1509
+ [_Code_, _N],
1510
+ [
1511
+ [() => HighlightList, 0],
1512
+ [() => HighlightList, 0],
1513
+ ],
1514
+ ];
1515
+ var SuggestAddressHighlights = [3, n0, _SAH, 0, [_L], [[() => HighlightList, 0]]];
1516
+ var SuggestFilter = [
1517
+ 3,
1518
+ n0,
1519
+ _SF,
1520
+ 0,
1521
+ [_BB, _Ci, _IC],
1522
+ [
1523
+ [() => BoundingBox, 0],
1524
+ [() => FilterCircle, 0],
1525
+ [() => CountryCodeList, 0],
1526
+ ],
1527
+ ];
1528
+ var SuggestHighlights = [
1529
+ 3,
1530
+ n0,
1531
+ _SH,
1532
+ 0,
1533
+ [_T, _A],
1534
+ [
1535
+ [() => HighlightList, 0],
1536
+ [() => SuggestAddressHighlights, 0],
1537
+ ],
1538
+ ];
1539
+ var SuggestPlaceResult = [
1540
+ 3,
1541
+ n0,
1542
+ _SPR,
1543
+ 0,
1544
+ [_PI, _PT, _A, _P, _Di, _MV, _C, _FTo, _BCu, _APc, _ARc, _TZ, _PV, _Pho],
1545
+ [
1546
+ [() => SensitiveString, 0],
1547
+ [() => PlaceType, 0],
1548
+ [() => Address, 0],
1549
+ [() => Position, 0],
1550
+ [() => DistanceMeters, 0],
1551
+ [() => BoundingBox, 0],
1552
+ [() => CategoryList, 0],
1553
+ [() => FoodTypeList, 0],
1554
+ [() => BusinessChainList, 0],
1555
+ [() => AccessPointList, 0],
1556
+ [() => AccessRestrictionList, 0],
1557
+ [() => TimeZone, 0],
1558
+ [() => CountryCode3, 0],
1559
+ [() => PhonemeDetails, 0],
1560
+ ],
1561
+ ];
1562
+ var SuggestQueryResult = [3, n0, _SQR, 0, [_QI, _QTu], [[() => SensitiveString, 0], 0]];
1563
+ var SuggestRequest = [
1564
+ 3,
1565
+ n0,
1566
+ _SRu,
1567
+ 0,
1568
+ [_QT, _MR, _MQR, _BP, _F, _AFd, _La, _PV, _IU, _K],
1569
+ [
1570
+ [() => SensitiveString, 0],
1571
+ 1,
1572
+ 1,
1573
+ [() => Position, 0],
1574
+ [() => SuggestFilter, 0],
1575
+ 64 | 0,
1576
+ 0,
1577
+ [() => CountryCode, 0],
1578
+ 0,
1579
+ [
1580
+ () => ApiKey,
1581
+ {
1582
+ [_hQ]: _k,
1583
+ },
1584
+ ],
1585
+ ],
1586
+ ];
1587
+ var SuggestResponse = [
1588
+ 3,
1589
+ n0,
1590
+ _SRug,
1591
+ 0,
1592
+ [_PB, _RI, _QRue],
1593
+ [
1594
+ [
1595
+ 0,
1596
+ {
1597
+ [_hH]: _xagpb,
1598
+ },
1599
+ ],
1600
+ [() => SuggestResultItemList, 0],
1601
+ [() => QueryRefinementList, 0],
1602
+ ],
1603
+ ];
1604
+ var SuggestResultItem = [
1605
+ 3,
1606
+ n0,
1607
+ _SRI,
1608
+ 0,
1609
+ [_T, _SRIT, _Pl, _Q, _H],
1610
+ [
1611
+ [() => SensitiveString, 0],
1612
+ 0,
1613
+ [() => SuggestPlaceResult, 0],
1614
+ [() => SuggestQueryResult, 0],
1615
+ [() => SuggestHighlights, 0],
1616
+ ],
1617
+ ];
1618
+ var ThrottlingException = [
1619
+ -3,
1620
+ n0,
1621
+ _TE,
1622
+ {
1623
+ [_e]: _c,
1624
+ [_hE]: 429,
1625
+ },
1626
+ [_M],
1627
+ [
1628
+ [
1629
+ 0,
1630
+ {
1631
+ [_jN]: _m,
1632
+ },
1633
+ ],
1634
+ ],
1635
+ ];
1636
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1637
+ var TimeZone = [
1638
+ 3,
1639
+ n0,
1640
+ _TZ,
1641
+ 0,
1642
+ [_N, _Of, _OS],
1643
+ [
1644
+ [() => SensitiveString, 0],
1645
+ [() => SensitiveString, 0],
1646
+ [() => DurationSeconds, 0],
1647
+ ],
1648
+ ];
1649
+ var UspsZip = [3, n0, _UZ, 0, [_ZCC], [[() => ZipClassificationCode, 0]]];
1650
+ var UspsZipPlus4 = [3, n0, _UZP, 0, [_RTC], [[() => RecordTypeCode, 0]]];
1651
+ var ValidationException = [
1652
+ -3,
1653
+ n0,
1654
+ _VE,
1655
+ {
1656
+ [_e]: _c,
1657
+ [_hE]: 400,
1658
+ },
1659
+ [_M, _Rea, _FL],
1660
+ [
1661
+ [
1662
+ 0,
1663
+ {
1664
+ [_jN]: _m,
1665
+ },
1666
+ ],
1667
+ [
1668
+ 0,
1669
+ {
1670
+ [_jN]: _r,
1671
+ },
1672
+ ],
1673
+ [
1674
+ () => ValidationExceptionFieldList,
1675
+ {
1676
+ [_jN]: _fL,
1677
+ },
1678
+ ],
1679
+ ],
1680
+ ];
1681
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1682
+ var ValidationExceptionField = [
1683
+ 3,
1684
+ n0,
1685
+ _VEF,
1686
+ 0,
1687
+ [_N, _M],
1688
+ [
1689
+ [
1690
+ 0,
1691
+ {
1692
+ [_jN]: _n,
1693
+ },
1694
+ ],
1695
+ [
1696
+ 0,
1697
+ {
1698
+ [_jN]: _m,
1699
+ },
1700
+ ],
1701
+ ],
1702
+ ];
1703
+ var GeoPlacesServiceException = [-3, _sm, "GeoPlacesServiceException", 0, [], []];
1704
+ schema.TypeRegistry.for(_sm).registerError(GeoPlacesServiceException, GeoPlacesServiceException$1);
1705
+ var AccessPointList = [1, n0, _APL, 0, [() => AccessPoint, 0]];
1706
+ var AccessRestrictionList = [1, n0, _ARL, 0, [() => AccessRestriction, 0]];
1707
+ var AutocompleteResultItemList = [1, n0, _ARIL, 0, [() => AutocompleteResultItem, 0]];
1708
+ var BoundingBox = [1, n0, _BB, 8, 1];
1709
+ var BusinessChainList = [1, n0, _BCL, 0, [() => BusinessChain, 0]];
1710
+ var CategoryList = [1, n0, _CL, 0, [() => Category, 0]];
1711
+ var ContactDetailsList = [1, n0, _CDL, 0, [() => ContactDetails, 0]];
1712
+ var CountryCodeList = [1, n0, _CCL, 0, [() => CountryCode, 0]];
1713
+ var FilterBusinessChainList = [1, n0, _FBCL, 0, [() => SensitiveString, 0]];
1714
+ var FilterCategoryList = [1, n0, _FCL, 0, [() => SensitiveString, 0]];
1715
+ var FilterFoodTypeList = [1, n0, _FFTL, 0, [() => SensitiveString, 0]];
1716
+ var FoodTypeList = [1, n0, _FTL, 0, [() => FoodType, 0]];
1717
+ var GeocodeFilterPlaceTypeList = [1, n0, _GFPTL, 0, [() => GeocodeFilterPlaceType, 0]];
1718
+ var GeocodeResultItemList = [1, n0, _GRIL, 0, [() => GeocodeResultItem, 0]];
1719
+ var HighlightList = [1, n0, _HL, 0, [() => Highlight, 0]];
1720
+ var IntersectionHighlightsList = [1, n0, _IHL, 0, [() => HighlightList, 0]];
1721
+ var IntersectionList = [1, n0, _IL, 0, [() => Intersection, 0]];
1722
+ var OpeningHoursComponentsList = [1, n0, _OHCL, 0, [() => OpeningHoursComponents, 0]];
1723
+ var OpeningHoursDisplayList = [1, n0, _OHDL, 0, [() => OpeningHoursDisplay, 0]];
1724
+ var OpeningHoursList = [1, n0, _OHL, 0, [() => OpeningHours, 0]];
1725
+ var ParsedQueryComponentList = [1, n0, _PQCL, 0, [() => ParsedQueryComponent, 0]];
1726
+ var ParsedQuerySecondaryAddressComponentList = [
1727
+ 1,
1728
+ n0,
1729
+ _PQSACL,
1730
+ 0,
1731
+ [() => ParsedQuerySecondaryAddressComponent, 0],
1732
+ ];
1733
+ var PhonemeTranscriptionList = [1, n0, _PTL, 0, [() => PhonemeTranscription, 0]];
1734
+ var Position = [1, n0, _P, 8, 1];
1735
+ var PostalCodeDetailsList = [1, n0, _PCDL, 0, [() => PostalCodeDetails, 0]];
1736
+ var QueryRefinementList = [1, n0, _QRL, 0, [() => QueryRefinement, 0]];
1737
+ var RelatedPlaceList = [1, n0, _RPL, 0, [() => RelatedPlace, 0]];
1738
+ var ReverseGeocodeResultItemList = [1, n0, _RGRIL, 0, [() => ReverseGeocodeResultItem, 0]];
1739
+ var SearchNearbyResultItemList = [1, n0, _SNRIL, 0, [() => SearchNearbyResultItem, 0]];
1740
+ var SearchTextResultItemList = [1, n0, _STRIL, 0, [() => SearchTextResultItem, 0]];
1741
+ var SecondaryAddressComponentList = [1, n0, _SACL, 0, [() => SecondaryAddressComponent, 0]];
1742
+ var SecondaryAddressComponentMatchScoreList = [
1743
+ 1,
1744
+ n0,
1745
+ _SACMSL,
1746
+ 0,
1747
+ () => SecondaryAddressComponentMatchScore,
1748
+ ];
1749
+ var StreetComponentsList = [1, n0, _SCL, 0, [() => StreetComponents, 0]];
1750
+ var SuggestResultItemList = [1, n0, _SRIL, 0, [() => SuggestResultItem, 0]];
1751
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField, 0]];
1752
+ var Autocomplete = [
1753
+ 9,
1754
+ n0,
1755
+ _Au,
1756
+ {
1757
+ [_h]: ["POST", "/autocomplete", 200],
1758
+ },
1759
+ () => AutocompleteRequest,
1760
+ () => AutocompleteResponse,
1761
+ ];
1762
+ var Geocode = [
1763
+ 9,
1764
+ n0,
1765
+ _G,
1766
+ {
1767
+ [_h]: ["POST", "/geocode", 200],
1768
+ },
1769
+ () => GeocodeRequest,
1770
+ () => GeocodeResponse,
1771
+ ];
1772
+ var GetPlace = [
1773
+ 9,
1774
+ n0,
1775
+ _GP,
1776
+ {
1777
+ [_h]: ["GET", "/place/{PlaceId}", 200],
1778
+ },
1779
+ () => GetPlaceRequest,
1780
+ () => GetPlaceResponse,
1781
+ ];
1782
+ var ReverseGeocode = [
1783
+ 9,
1784
+ n0,
1785
+ _RG,
1786
+ {
1787
+ [_h]: ["POST", "/reverse-geocode", 200],
1788
+ },
1789
+ () => ReverseGeocodeRequest,
1790
+ () => ReverseGeocodeResponse,
1791
+ ];
1792
+ var SearchNearby = [
1793
+ 9,
1794
+ n0,
1795
+ _SN,
1796
+ {
1797
+ [_h]: ["POST", "/search-nearby", 200],
1798
+ },
1799
+ () => SearchNearbyRequest,
1800
+ () => SearchNearbyResponse,
1801
+ ];
1802
+ var SearchText = [
1803
+ 9,
1804
+ n0,
1805
+ _ST,
1806
+ {
1807
+ [_h]: ["POST", "/search-text", 200],
1808
+ },
1809
+ () => SearchTextRequest,
1810
+ () => SearchTextResponse,
1811
+ ];
1812
+ var Suggest = [
1813
+ 9,
1814
+ n0,
1815
+ _Sug,
1816
+ {
1817
+ [_h]: ["POST", "/suggest", 200],
1818
+ },
1819
+ () => SuggestRequest,
1820
+ () => SuggestResponse,
1821
+ ];
1620
1822
 
1621
1823
  class AutocompleteCommand extends smithyClient.Command
1622
1824
  .classBuilder()
1623
1825
  .ep(commonParams)
1624
1826
  .m(function (Command, cs, config, o) {
1625
- return [
1626
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1627
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1628
- ];
1827
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
1828
  })
1630
1829
  .s("PlacesService", "Autocomplete", {})
1631
1830
  .n("GeoPlacesClient", "AutocompleteCommand")
1632
- .f(AutocompleteRequestFilterSensitiveLog, AutocompleteResponseFilterSensitiveLog)
1633
- .ser(se_AutocompleteCommand)
1634
- .de(de_AutocompleteCommand)
1831
+ .sc(Autocomplete)
1635
1832
  .build() {
1636
1833
  }
1637
1834
 
@@ -1639,16 +1836,11 @@ class GeocodeCommand extends smithyClient.Command
1639
1836
  .classBuilder()
1640
1837
  .ep(commonParams)
1641
1838
  .m(function (Command, cs, config, o) {
1642
- return [
1643
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1644
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1645
- ];
1839
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1646
1840
  })
1647
1841
  .s("PlacesService", "Geocode", {})
1648
1842
  .n("GeoPlacesClient", "GeocodeCommand")
1649
- .f(GeocodeRequestFilterSensitiveLog, GeocodeResponseFilterSensitiveLog)
1650
- .ser(se_GeocodeCommand)
1651
- .de(de_GeocodeCommand)
1843
+ .sc(Geocode)
1652
1844
  .build() {
1653
1845
  }
1654
1846
 
@@ -1656,16 +1848,11 @@ class GetPlaceCommand extends smithyClient.Command
1656
1848
  .classBuilder()
1657
1849
  .ep(commonParams)
1658
1850
  .m(function (Command, cs, config, o) {
1659
- return [
1660
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1661
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1662
- ];
1851
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1663
1852
  })
1664
1853
  .s("PlacesService", "GetPlace", {})
1665
1854
  .n("GeoPlacesClient", "GetPlaceCommand")
1666
- .f(GetPlaceRequestFilterSensitiveLog, GetPlaceResponseFilterSensitiveLog)
1667
- .ser(se_GetPlaceCommand)
1668
- .de(de_GetPlaceCommand)
1855
+ .sc(GetPlace)
1669
1856
  .build() {
1670
1857
  }
1671
1858
 
@@ -1673,16 +1860,11 @@ class ReverseGeocodeCommand extends smithyClient.Command
1673
1860
  .classBuilder()
1674
1861
  .ep(commonParams)
1675
1862
  .m(function (Command, cs, config, o) {
1676
- return [
1677
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1678
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1679
- ];
1863
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1680
1864
  })
1681
1865
  .s("PlacesService", "ReverseGeocode", {})
1682
1866
  .n("GeoPlacesClient", "ReverseGeocodeCommand")
1683
- .f(ReverseGeocodeRequestFilterSensitiveLog, ReverseGeocodeResponseFilterSensitiveLog)
1684
- .ser(se_ReverseGeocodeCommand)
1685
- .de(de_ReverseGeocodeCommand)
1867
+ .sc(ReverseGeocode)
1686
1868
  .build() {
1687
1869
  }
1688
1870
 
@@ -1690,16 +1872,11 @@ class SearchNearbyCommand extends smithyClient.Command
1690
1872
  .classBuilder()
1691
1873
  .ep(commonParams)
1692
1874
  .m(function (Command, cs, config, o) {
1693
- return [
1694
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1695
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1696
- ];
1875
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1697
1876
  })
1698
1877
  .s("PlacesService", "SearchNearby", {})
1699
1878
  .n("GeoPlacesClient", "SearchNearbyCommand")
1700
- .f(SearchNearbyRequestFilterSensitiveLog, SearchNearbyResponseFilterSensitiveLog)
1701
- .ser(se_SearchNearbyCommand)
1702
- .de(de_SearchNearbyCommand)
1879
+ .sc(SearchNearby)
1703
1880
  .build() {
1704
1881
  }
1705
1882
 
@@ -1707,16 +1884,11 @@ class SearchTextCommand extends smithyClient.Command
1707
1884
  .classBuilder()
1708
1885
  .ep(commonParams)
1709
1886
  .m(function (Command, cs, config, o) {
1710
- return [
1711
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1712
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1713
- ];
1887
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1714
1888
  })
1715
1889
  .s("PlacesService", "SearchText", {})
1716
1890
  .n("GeoPlacesClient", "SearchTextCommand")
1717
- .f(SearchTextRequestFilterSensitiveLog, SearchTextResponseFilterSensitiveLog)
1718
- .ser(se_SearchTextCommand)
1719
- .de(de_SearchTextCommand)
1891
+ .sc(SearchText)
1720
1892
  .build() {
1721
1893
  }
1722
1894
 
@@ -1724,16 +1896,11 @@ class SuggestCommand extends smithyClient.Command
1724
1896
  .classBuilder()
1725
1897
  .ep(commonParams)
1726
1898
  .m(function (Command, cs, config, o) {
1727
- return [
1728
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1729
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1730
- ];
1899
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1731
1900
  })
1732
1901
  .s("PlacesService", "Suggest", {})
1733
1902
  .n("GeoPlacesClient", "SuggestCommand")
1734
- .f(SuggestRequestFilterSensitiveLog, SuggestResponseFilterSensitiveLog)
1735
- .ser(se_SuggestCommand)
1736
- .de(de_SuggestCommand)
1903
+ .sc(Suggest)
1737
1904
  .build() {
1738
1905
  }
1739
1906
 
@@ -1758,110 +1925,44 @@ Object.defineProperty(exports, "__Client", {
1758
1925
  enumerable: true,
1759
1926
  get: function () { return smithyClient.Client; }
1760
1927
  });
1761
- exports.AccessDeniedException = AccessDeniedException;
1762
- exports.AccessPointFilterSensitiveLog = AccessPointFilterSensitiveLog;
1763
- exports.AccessRestrictionFilterSensitiveLog = AccessRestrictionFilterSensitiveLog;
1764
- exports.AddressComponentPhonemesFilterSensitiveLog = AddressComponentPhonemesFilterSensitiveLog;
1765
- exports.AddressFilterSensitiveLog = AddressFilterSensitiveLog;
1928
+ exports.AccessDeniedException = AccessDeniedException$1;
1766
1929
  exports.AutocompleteAdditionalFeature = AutocompleteAdditionalFeature;
1767
- exports.AutocompleteAddressHighlightsFilterSensitiveLog = AutocompleteAddressHighlightsFilterSensitiveLog;
1768
1930
  exports.AutocompleteCommand = AutocompleteCommand;
1769
- exports.AutocompleteFilterFilterSensitiveLog = AutocompleteFilterFilterSensitiveLog;
1770
1931
  exports.AutocompleteFilterPlaceType = AutocompleteFilterPlaceType;
1771
- exports.AutocompleteHighlightsFilterSensitiveLog = AutocompleteHighlightsFilterSensitiveLog;
1772
1932
  exports.AutocompleteIntendedUse = AutocompleteIntendedUse;
1773
- exports.AutocompleteRequestFilterSensitiveLog = AutocompleteRequestFilterSensitiveLog;
1774
- exports.AutocompleteResponseFilterSensitiveLog = AutocompleteResponseFilterSensitiveLog;
1775
- exports.AutocompleteResultItemFilterSensitiveLog = AutocompleteResultItemFilterSensitiveLog;
1776
- exports.BusinessChainFilterSensitiveLog = BusinessChainFilterSensitiveLog;
1777
- exports.CategoryFilterSensitiveLog = CategoryFilterSensitiveLog;
1778
- exports.ContactDetailsFilterSensitiveLog = ContactDetailsFilterSensitiveLog;
1779
- exports.ContactsFilterSensitiveLog = ContactsFilterSensitiveLog;
1780
- exports.CountryFilterSensitiveLog = CountryFilterSensitiveLog;
1781
- exports.CountryHighlightsFilterSensitiveLog = CountryHighlightsFilterSensitiveLog;
1782
- exports.FilterCircleFilterSensitiveLog = FilterCircleFilterSensitiveLog;
1783
- exports.FoodTypeFilterSensitiveLog = FoodTypeFilterSensitiveLog;
1784
1933
  exports.GeoPlaces = GeoPlaces;
1785
1934
  exports.GeoPlacesClient = GeoPlacesClient;
1786
- exports.GeoPlacesServiceException = GeoPlacesServiceException;
1935
+ exports.GeoPlacesServiceException = GeoPlacesServiceException$1;
1787
1936
  exports.GeocodeAdditionalFeature = GeocodeAdditionalFeature;
1788
1937
  exports.GeocodeCommand = GeocodeCommand;
1789
- exports.GeocodeFilterFilterSensitiveLog = GeocodeFilterFilterSensitiveLog;
1790
- exports.GeocodeFilterPlaceType = GeocodeFilterPlaceType;
1938
+ exports.GeocodeFilterPlaceType = GeocodeFilterPlaceType$1;
1791
1939
  exports.GeocodeIntendedUse = GeocodeIntendedUse;
1792
- exports.GeocodeParsedQueryAddressComponentsFilterSensitiveLog = GeocodeParsedQueryAddressComponentsFilterSensitiveLog;
1793
- exports.GeocodeParsedQueryFilterSensitiveLog = GeocodeParsedQueryFilterSensitiveLog;
1794
- exports.GeocodeQueryComponentsFilterSensitiveLog = GeocodeQueryComponentsFilterSensitiveLog;
1795
- exports.GeocodeRequestFilterSensitiveLog = GeocodeRequestFilterSensitiveLog;
1796
- exports.GeocodeResponseFilterSensitiveLog = GeocodeResponseFilterSensitiveLog;
1797
- exports.GeocodeResultItemFilterSensitiveLog = GeocodeResultItemFilterSensitiveLog;
1798
1940
  exports.GetPlaceAdditionalFeature = GetPlaceAdditionalFeature;
1799
1941
  exports.GetPlaceCommand = GetPlaceCommand;
1800
1942
  exports.GetPlaceIntendedUse = GetPlaceIntendedUse;
1801
- exports.GetPlaceRequestFilterSensitiveLog = GetPlaceRequestFilterSensitiveLog;
1802
- exports.GetPlaceResponseFilterSensitiveLog = GetPlaceResponseFilterSensitiveLog;
1803
- exports.HighlightFilterSensitiveLog = HighlightFilterSensitiveLog;
1804
- exports.InternalServerException = InternalServerException;
1805
- exports.IntersectionFilterSensitiveLog = IntersectionFilterSensitiveLog;
1806
- exports.OpeningHoursComponentsFilterSensitiveLog = OpeningHoursComponentsFilterSensitiveLog;
1807
- exports.OpeningHoursFilterSensitiveLog = OpeningHoursFilterSensitiveLog;
1808
- exports.ParsedQueryComponentFilterSensitiveLog = ParsedQueryComponentFilterSensitiveLog;
1809
- exports.ParsedQuerySecondaryAddressComponentFilterSensitiveLog = ParsedQuerySecondaryAddressComponentFilterSensitiveLog;
1810
- exports.PhonemeDetailsFilterSensitiveLog = PhonemeDetailsFilterSensitiveLog;
1811
- exports.PhonemeTranscriptionFilterSensitiveLog = PhonemeTranscriptionFilterSensitiveLog;
1812
- exports.PlaceType = PlaceType;
1813
- exports.PostalAuthority = PostalAuthority;
1814
- exports.PostalCodeDetailsFilterSensitiveLog = PostalCodeDetailsFilterSensitiveLog;
1943
+ exports.InternalServerException = InternalServerException$1;
1944
+ exports.PlaceType = PlaceType$1;
1945
+ exports.PostalAuthority = PostalAuthority$1;
1815
1946
  exports.PostalCodeMode = PostalCodeMode;
1816
- exports.PostalCodeType = PostalCodeType;
1817
- exports.QueryRefinementFilterSensitiveLog = QueryRefinementFilterSensitiveLog;
1947
+ exports.PostalCodeType = PostalCodeType$1;
1818
1948
  exports.QueryType = QueryType;
1819
- exports.RecordTypeCode = RecordTypeCode;
1820
- exports.RegionFilterSensitiveLog = RegionFilterSensitiveLog;
1821
- exports.RegionHighlightsFilterSensitiveLog = RegionHighlightsFilterSensitiveLog;
1822
- exports.RelatedPlaceFilterSensitiveLog = RelatedPlaceFilterSensitiveLog;
1949
+ exports.RecordTypeCode = RecordTypeCode$1;
1823
1950
  exports.ReverseGeocodeAdditionalFeature = ReverseGeocodeAdditionalFeature;
1824
1951
  exports.ReverseGeocodeCommand = ReverseGeocodeCommand;
1825
1952
  exports.ReverseGeocodeFilterPlaceType = ReverseGeocodeFilterPlaceType;
1826
1953
  exports.ReverseGeocodeIntendedUse = ReverseGeocodeIntendedUse;
1827
- exports.ReverseGeocodeRequestFilterSensitiveLog = ReverseGeocodeRequestFilterSensitiveLog;
1828
- exports.ReverseGeocodeResponseFilterSensitiveLog = ReverseGeocodeResponseFilterSensitiveLog;
1829
- exports.ReverseGeocodeResultItemFilterSensitiveLog = ReverseGeocodeResultItemFilterSensitiveLog;
1830
1954
  exports.SearchNearbyAdditionalFeature = SearchNearbyAdditionalFeature;
1831
1955
  exports.SearchNearbyCommand = SearchNearbyCommand;
1832
- exports.SearchNearbyFilterFilterSensitiveLog = SearchNearbyFilterFilterSensitiveLog;
1833
1956
  exports.SearchNearbyIntendedUse = SearchNearbyIntendedUse;
1834
- exports.SearchNearbyRequestFilterSensitiveLog = SearchNearbyRequestFilterSensitiveLog;
1835
- exports.SearchNearbyResponseFilterSensitiveLog = SearchNearbyResponseFilterSensitiveLog;
1836
- exports.SearchNearbyResultItemFilterSensitiveLog = SearchNearbyResultItemFilterSensitiveLog;
1837
1957
  exports.SearchTextAdditionalFeature = SearchTextAdditionalFeature;
1838
1958
  exports.SearchTextCommand = SearchTextCommand;
1839
- exports.SearchTextFilterFilterSensitiveLog = SearchTextFilterFilterSensitiveLog;
1840
1959
  exports.SearchTextIntendedUse = SearchTextIntendedUse;
1841
- exports.SearchTextRequestFilterSensitiveLog = SearchTextRequestFilterSensitiveLog;
1842
- exports.SearchTextResponseFilterSensitiveLog = SearchTextResponseFilterSensitiveLog;
1843
- exports.SearchTextResultItemFilterSensitiveLog = SearchTextResultItemFilterSensitiveLog;
1844
- exports.SecondaryAddressComponentFilterSensitiveLog = SecondaryAddressComponentFilterSensitiveLog;
1845
- exports.StreetComponentsFilterSensitiveLog = StreetComponentsFilterSensitiveLog;
1846
- exports.SubRegionFilterSensitiveLog = SubRegionFilterSensitiveLog;
1847
- exports.SubRegionHighlightsFilterSensitiveLog = SubRegionHighlightsFilterSensitiveLog;
1848
1960
  exports.SuggestAdditionalFeature = SuggestAdditionalFeature;
1849
- exports.SuggestAddressHighlightsFilterSensitiveLog = SuggestAddressHighlightsFilterSensitiveLog;
1850
1961
  exports.SuggestCommand = SuggestCommand;
1851
- exports.SuggestFilterFilterSensitiveLog = SuggestFilterFilterSensitiveLog;
1852
- exports.SuggestHighlightsFilterSensitiveLog = SuggestHighlightsFilterSensitiveLog;
1853
1962
  exports.SuggestIntendedUse = SuggestIntendedUse;
1854
- exports.SuggestPlaceResultFilterSensitiveLog = SuggestPlaceResultFilterSensitiveLog;
1855
- exports.SuggestQueryResultFilterSensitiveLog = SuggestQueryResultFilterSensitiveLog;
1856
- exports.SuggestRequestFilterSensitiveLog = SuggestRequestFilterSensitiveLog;
1857
- exports.SuggestResponseFilterSensitiveLog = SuggestResponseFilterSensitiveLog;
1858
- exports.SuggestResultItemFilterSensitiveLog = SuggestResultItemFilterSensitiveLog;
1859
1963
  exports.SuggestResultItemType = SuggestResultItemType;
1860
- exports.ThrottlingException = ThrottlingException;
1861
- exports.TimeZoneFilterSensitiveLog = TimeZoneFilterSensitiveLog;
1964
+ exports.ThrottlingException = ThrottlingException$1;
1862
1965
  exports.TypePlacement = TypePlacement;
1863
- exports.UspsZipFilterSensitiveLog = UspsZipFilterSensitiveLog;
1864
- exports.UspsZipPlus4FilterSensitiveLog = UspsZipPlus4FilterSensitiveLog;
1865
- exports.ValidationException = ValidationException;
1966
+ exports.ValidationException = ValidationException$1;
1866
1967
  exports.ValidationExceptionReason = ValidationExceptionReason;
1867
- exports.ZipClassificationCode = ZipClassificationCode;
1968
+ exports.ZipClassificationCode = ZipClassificationCode$1;