@aws-sdk/client-geo-places 3.1080.0 → 3.1082.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.
@@ -1,12 +1,18 @@
1
1
  import {
2
+ AccessPointType,
3
+ AddressTranslationComponent,
4
+ AdminNamesPreference,
2
5
  AutocompleteAdditionalFeature,
3
6
  AutocompleteFilterPlaceType,
4
7
  AutocompleteIntendedUse,
5
8
  GeocodeAdditionalFeature,
9
+ GeocodeAddressNamesMode,
6
10
  GeocodeFilterPlaceType,
7
11
  GeocodeIntendedUse,
8
12
  GetPlaceAdditionalFeature,
13
+ GetPlaceAddressNamesMode,
9
14
  GetPlaceIntendedUse,
15
+ PlaceAttribute,
10
16
  PlaceType,
11
17
  PostalAuthority,
12
18
  PostalCodeMode,
@@ -14,20 +20,27 @@ import {
14
20
  QueryType,
15
21
  RecordTypeCode,
16
22
  ReverseGeocodeAdditionalFeature,
23
+ ReverseGeocodeAddressNamesMode,
17
24
  ReverseGeocodeFilterPlaceType,
18
25
  ReverseGeocodeIntendedUse,
19
26
  SearchNearbyAdditionalFeature,
20
27
  SearchNearbyIntendedUse,
21
28
  SearchTextAdditionalFeature,
22
29
  SearchTextIntendedUse,
30
+ SearchTextTravelMode,
23
31
  SuggestAdditionalFeature,
24
32
  SuggestIntendedUse,
25
33
  SuggestResultItemType,
34
+ SuggestTravelMode,
35
+ TranslationNameType,
26
36
  TypePlacement,
27
37
  ZipClassificationCode,
28
38
  } from "./enums";
29
39
  export interface AccessPoint {
30
40
  Position?: number[] | undefined;
41
+ Type?: AccessPointType | undefined;
42
+ Primary?: boolean | undefined;
43
+ Label?: string | undefined;
31
44
  }
32
45
  export interface Category {
33
46
  Id: string | undefined;
@@ -120,6 +133,17 @@ export interface AddressComponentPhonemes {
120
133
  SubBlock?: PhonemeTranscription[] | undefined;
121
134
  Street?: PhonemeTranscription[] | undefined;
122
135
  }
136
+ export interface TranslationName {
137
+ Value: string | undefined;
138
+ Language?: string | undefined;
139
+ Type: TranslationNameType | undefined;
140
+ Primary?: boolean | undefined;
141
+ Transliterated?: boolean | undefined;
142
+ }
143
+ export interface AdminNames {
144
+ Names: TranslationName[] | undefined;
145
+ Preference?: AdminNamesPreference | undefined;
146
+ }
123
147
  export interface FilterCircle {
124
148
  Center: number[] | undefined;
125
149
  Radius: number | undefined;
@@ -188,6 +212,7 @@ export interface AutocompleteResultItem {
188
212
  Language?: string | undefined;
189
213
  PoliticalView?: string | undefined;
190
214
  Highlights?: AutocompleteHighlights | undefined;
215
+ EstimatedPointAddress?: boolean | undefined;
191
216
  }
192
217
  export interface AutocompleteResponse {
193
218
  PricingBucket: string | undefined;
@@ -216,6 +241,11 @@ export interface Contacts {
216
241
  Websites?: ContactDetails[] | undefined;
217
242
  Emails?: ContactDetails[] | undefined;
218
243
  }
244
+ export interface CrossReference {
245
+ Source: string | undefined;
246
+ SourcePlaceId: string | undefined;
247
+ SourceCategories?: Category[] | undefined;
248
+ }
219
249
  export interface FoodType {
220
250
  LocalizedName: string | undefined;
221
251
  Id?: string | undefined;
@@ -246,6 +276,9 @@ export interface GeocodeRequest {
246
276
  PoliticalView?: string | undefined;
247
277
  IntendedUse?: GeocodeIntendedUse | undefined;
248
278
  Key?: string | undefined;
279
+ PostalCodeMode?: PostalCodeMode | undefined;
280
+ AddressTranslations?: AddressTranslationComponent[] | undefined;
281
+ AddressNamesMode?: GeocodeAddressNamesMode | undefined;
249
282
  }
250
283
  export interface Intersection {
251
284
  PlaceId: string | undefined;
@@ -298,6 +331,7 @@ export interface GeocodeParsedQueryAddressComponents {
298
331
  SecondaryAddressComponents?:
299
332
  | ParsedQuerySecondaryAddressComponent[]
300
333
  | undefined;
334
+ OtherComponents?: ParsedQueryComponent[] | undefined;
301
335
  }
302
336
  export interface GeocodeParsedQuery {
303
337
  Title?: ParsedQueryComponent[] | undefined;
@@ -321,6 +355,12 @@ export interface TimeZone {
321
355
  Offset?: string | undefined;
322
356
  OffsetSeconds?: number | undefined;
323
357
  }
358
+ export interface TranslationDetails {
359
+ Locality?: AdminNames[] | undefined;
360
+ Region?: AdminNames[] | undefined;
361
+ District?: AdminNames[] | undefined;
362
+ SubRegion?: AdminNames[] | undefined;
363
+ }
324
364
  export interface GeocodeResultItem {
325
365
  PlaceId: string | undefined;
326
366
  PlaceType: PlaceType | undefined;
@@ -341,6 +381,8 @@ export interface GeocodeResultItem {
341
381
  Intersections?: Intersection[] | undefined;
342
382
  MainAddress?: RelatedPlace | undefined;
343
383
  SecondaryAddresses?: RelatedPlace[] | undefined;
384
+ Translations?: TranslationDetails | undefined;
385
+ EstimatedPointAddress?: boolean | undefined;
344
386
  }
345
387
  export interface GeocodeResponse {
346
388
  PricingBucket: string | undefined;
@@ -353,6 +395,7 @@ export interface GetPlaceRequest {
353
395
  PoliticalView?: string | undefined;
354
396
  IntendedUse?: GetPlaceIntendedUse | undefined;
355
397
  Key?: string | undefined;
398
+ AddressNamesMode?: GetPlaceAddressNamesMode | undefined;
356
399
  }
357
400
  export interface OpeningHoursComponents {
358
401
  OpenTime?: string | undefined;
@@ -391,6 +434,9 @@ export interface GetPlaceResponse {
391
434
  Phonemes?: PhonemeDetails | undefined;
392
435
  MainAddress?: RelatedPlace | undefined;
393
436
  SecondaryAddresses?: RelatedPlace[] | undefined;
437
+ PlaceAttributes?: PlaceAttribute[] | undefined;
438
+ EstimatedPointAddress?: boolean | undefined;
439
+ CrossReferences?: CrossReference[] | undefined;
394
440
  }
395
441
  export interface ReverseGeocodeFilter {
396
442
  IncludePlaceTypes?: ReverseGeocodeFilterPlaceType[] | undefined;
@@ -406,6 +452,7 @@ export interface ReverseGeocodeRequest {
406
452
  IntendedUse?: ReverseGeocodeIntendedUse | undefined;
407
453
  Key?: string | undefined;
408
454
  Heading?: number | undefined;
455
+ AddressNamesMode?: ReverseGeocodeAddressNamesMode | undefined;
409
456
  }
410
457
  export interface ReverseGeocodeResultItem {
411
458
  PlaceId: string | undefined;
@@ -423,6 +470,8 @@ export interface ReverseGeocodeResultItem {
423
470
  TimeZone?: TimeZone | undefined;
424
471
  PoliticalView?: string | undefined;
425
472
  Intersections?: Intersection[] | undefined;
473
+ MainAddress?: RelatedPlace | undefined;
474
+ EstimatedPointAddress?: boolean | undefined;
426
475
  }
427
476
  export interface ReverseGeocodeResponse {
428
477
  PricingBucket: string | undefined;
@@ -469,6 +518,8 @@ export interface SearchNearbyResultItem {
469
518
  TimeZone?: TimeZone | undefined;
470
519
  PoliticalView?: string | undefined;
471
520
  Phonemes?: PhonemeDetails | undefined;
521
+ PlaceAttributes?: PlaceAttribute[] | undefined;
522
+ CrossReferences?: CrossReference[] | undefined;
472
523
  }
473
524
  export interface SearchNearbyResponse {
474
525
  PricingBucket: string | undefined;
@@ -491,6 +542,7 @@ export interface SearchTextRequest {
491
542
  PoliticalView?: string | undefined;
492
543
  IntendedUse?: SearchTextIntendedUse | undefined;
493
544
  NextToken?: string | undefined;
545
+ TravelMode?: SearchTextTravelMode | undefined;
494
546
  Key?: string | undefined;
495
547
  }
496
548
  export interface SearchTextResultItem {
@@ -512,6 +564,8 @@ export interface SearchTextResultItem {
512
564
  TimeZone?: TimeZone | undefined;
513
565
  PoliticalView?: string | undefined;
514
566
  Phonemes?: PhonemeDetails | undefined;
567
+ PlaceAttributes?: PlaceAttribute[] | undefined;
568
+ CrossReferences?: CrossReference[] | undefined;
515
569
  }
516
570
  export interface SearchTextResponse {
517
571
  PricingBucket: string | undefined;
@@ -533,6 +587,7 @@ export interface SuggestRequest {
533
587
  Language?: string | undefined;
534
588
  PoliticalView?: string | undefined;
535
589
  IntendedUse?: SuggestIntendedUse | undefined;
590
+ TravelMode?: SuggestTravelMode | undefined;
536
591
  Key?: string | undefined;
537
592
  }
538
593
  export interface QueryRefinement {
@@ -563,6 +618,8 @@ export interface SuggestPlaceResult {
563
618
  TimeZone?: TimeZone | undefined;
564
619
  PoliticalView?: string | undefined;
565
620
  Phonemes?: PhonemeDetails | undefined;
621
+ PlaceAttributes?: PlaceAttribute[] | undefined;
622
+ CrossReferences?: CrossReference[] | undefined;
566
623
  }
567
624
  export interface SuggestQueryResult {
568
625
  QueryId?: string | undefined;
@@ -15,6 +15,7 @@ export declare var AccessRestriction$: StaticStructureSchema;
15
15
  export declare var Address$: StaticStructureSchema;
16
16
  export declare var AddressComponentMatchScores$: StaticStructureSchema;
17
17
  export declare var AddressComponentPhonemes$: StaticStructureSchema;
18
+ export declare var AdminNames$: StaticStructureSchema;
18
19
  export declare var AutocompleteAddressHighlights$: StaticStructureSchema;
19
20
  export declare var AutocompleteFilter$: StaticStructureSchema;
20
21
  export declare var AutocompleteHighlights$: StaticStructureSchema;
@@ -28,6 +29,7 @@ export declare var ContactDetails$: StaticStructureSchema;
28
29
  export declare var Contacts$: StaticStructureSchema;
29
30
  export declare var Country$: StaticStructureSchema;
30
31
  export declare var CountryHighlights$: StaticStructureSchema;
32
+ export declare var CrossReference$: StaticStructureSchema;
31
33
  export declare var FilterCircle$: StaticStructureSchema;
32
34
  export declare var FoodType$: StaticStructureSchema;
33
35
  export declare var GeocodeFilter$: StaticStructureSchema;
@@ -79,6 +81,8 @@ export declare var SuggestRequest$: StaticStructureSchema;
79
81
  export declare var SuggestResponse$: StaticStructureSchema;
80
82
  export declare var SuggestResultItem$: StaticStructureSchema;
81
83
  export declare var TimeZone$: StaticStructureSchema;
84
+ export declare var TranslationDetails$: StaticStructureSchema;
85
+ export declare var TranslationName$: StaticStructureSchema;
82
86
  export declare var UspsZip$: StaticStructureSchema;
83
87
  export declare var UspsZipPlus4$: StaticStructureSchema;
84
88
  export declare var ValidationExceptionField$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-geo-places",
3
3
  "description": "AWS SDK for JavaScript Geo Places Client for Node.js, Browser and React Native",
4
- "version": "3.1080.0",
4
+ "version": "3.1082.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.28",
23
- "@aws-sdk/credential-provider-node": "^3.972.63",
24
- "@aws-sdk/types": "^3.973.15",
25
- "@smithy/core": "^3.29.0",
26
- "@smithy/fetch-http-handler": "^5.6.2",
27
- "@smithy/node-http-handler": "^4.9.2",
28
- "@smithy/types": "^4.15.1",
22
+ "@aws-sdk/core": "^3.975.0",
23
+ "@aws-sdk/credential-provider-node": "^3.972.65",
24
+ "@aws-sdk/types": "^3.974.0",
25
+ "@smithy/core": "^3.29.2",
26
+ "@smithy/fetch-http-handler": "^5.6.4",
27
+ "@smithy/node-http-handler": "^4.9.4",
28
+ "@smithy/types": "^4.16.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {