@wix/auto_sdk_gbp_locations 1.0.1 → 1.0.2

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 (37) hide show
  1. package/build/cjs/index.d.ts +4 -4
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +12 -4
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +8 -0
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/schemas.d.ts +7 -0
  8. package/build/cjs/schemas.js +28 -7
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/index.d.mts +4 -4
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +12 -4
  13. package/build/es/index.typings.mjs.map +1 -1
  14. package/build/es/meta.d.mts +8 -0
  15. package/build/es/meta.mjs.map +1 -1
  16. package/build/es/schemas.d.mts +7 -0
  17. package/build/es/schemas.mjs +28 -7
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +4 -4
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +12 -4
  22. package/build/internal/cjs/index.typings.js.map +1 -1
  23. package/build/internal/cjs/meta.d.ts +8 -0
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/cjs/schemas.d.ts +7 -0
  26. package/build/internal/cjs/schemas.js +28 -7
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/index.d.mts +4 -4
  29. package/build/internal/es/index.mjs.map +1 -1
  30. package/build/internal/es/index.typings.d.mts +12 -4
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +8 -0
  33. package/build/internal/es/meta.mjs.map +1 -1
  34. package/build/internal/es/schemas.d.mts +7 -0
  35. package/build/internal/es/schemas.mjs +28 -7
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -40,7 +40,7 @@ interface QueryGoogleLocationsSignature {
40
40
  * [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging),
41
41
  * and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).
42
42
  */
43
- (options?: QueryGoogleLocationsOptions): Promise<NonNullablePaths<QueryGoogleLocationsResponse, `locations` | `locations.${number}.googleLocation.name` | `locations.${number}.googleLocation.title` | `locations.${number}.googleLocation.languageCode` | `locations.${number}.googleLocation.primaryCategory._id` | `locations.${number}.googleLocation.primaryCategory.displayName` | `locations.${number}.googleLocation.profile.description` | `locations.${number}.googleLocation.storefrontAddress.countryCode` | `locations.${number}.googleLocation.storefrontAddress.postalCode` | `locations.${number}.googleLocation.storefrontAddress.administrativeArea` | `locations.${number}.googleLocation.storefrontAddress.locality` | `locations.${number}.googleLocation.serviceArea.businessType` | `locations.${number}.googleLocation.serviceArea.regionCode` | `locations.${number}.googleLocation.primaryPhone` | `locations.${number}.googleLocation.storeCode` | `locations.${number}.googleLocation.latLng.latitude` | `locations.${number}.googleLocation.latLng.longitude` | `locations.${number}.googleLocation.openInfo.status` | `locations.${number}.googleLocation.openInfo.canReopen` | `locations.${number}.googleLocation.metadata.canOperateLodgingData` | `locations.${number}.googleError.code` | `locations.${number}.googleError.description` | `locations.${number}.voiceOfMerchant.hasVoiceOfMerchant` | `locations.${number}.voiceOfMerchant.hasBusinessAuthority` | `locations.${number}.voiceOfMerchant.state` | `locations.${number}.voiceOfMerchant.recommendationReason` | `locations.${number}.voiceOfMerchant.hasPendingVerification` | `locations.${number}.location._id` | `locations.${number}.location.accountId` | `locations.${number}.location.revision` | `locations.${number}.location.googleLocationId`, 6>>;
43
+ (options?: QueryGoogleLocationsOptions): Promise<NonNullablePaths<QueryGoogleLocationsResponse, `locations` | `locations.${number}.googleLocation.name` | `locations.${number}.googleLocation.title` | `locations.${number}.googleLocation.languageCode` | `locations.${number}.googleLocation.primaryCategory._id` | `locations.${number}.googleLocation.primaryCategory.displayName` | `locations.${number}.googleLocation.profile.description` | `locations.${number}.googleLocation.storefrontAddress.countryCode` | `locations.${number}.googleLocation.storefrontAddress.postalCode` | `locations.${number}.googleLocation.storefrontAddress.administrativeArea` | `locations.${number}.googleLocation.storefrontAddress.locality` | `locations.${number}.googleLocation.serviceArea.businessType` | `locations.${number}.googleLocation.serviceArea.regionCode` | `locations.${number}.googleLocation.primaryPhone` | `locations.${number}.googleLocation.storeCode` | `locations.${number}.googleLocation.latLng.latitude` | `locations.${number}.googleLocation.latLng.longitude` | `locations.${number}.googleLocation.openInfo.status` | `locations.${number}.googleLocation.openInfo.canReopen` | `locations.${number}.googleLocation.metadata.canOperateLodgingData` | `locations.${number}.googleLocation.metadata.mapsUri` | `locations.${number}.googleError.code` | `locations.${number}.googleError.description` | `locations.${number}.voiceOfMerchant.hasVoiceOfMerchant` | `locations.${number}.voiceOfMerchant.hasBusinessAuthority` | `locations.${number}.voiceOfMerchant.state` | `locations.${number}.voiceOfMerchant.recommendationReason` | `locations.${number}.voiceOfMerchant.hasPendingVerification` | `locations.${number}.location._id` | `locations.${number}.location.accountId` | `locations.${number}.location.revision` | `locations.${number}.location.googleLocationId`, 6>>;
44
44
  }
45
45
  declare function getGoogleLocation$1(httpClient: HttpClient): GetGoogleLocationSignature;
46
46
  interface GetGoogleLocationSignature {
@@ -54,7 +54,7 @@ interface GetGoogleLocationSignature {
54
54
  * If the location isn't found, the call fails and Google isn't contacted.
55
55
  * @param - ID of the location to retrieve. This is Google's location identifier.
56
56
  */
57
- (locationId: string): Promise<NonNullablePaths<GetGoogleLocationResponse, `location.googleLocation.name` | `location.googleLocation.title` | `location.googleLocation.languageCode` | `location.googleLocation.primaryCategory._id` | `location.googleLocation.primaryCategory.displayName` | `location.googleLocation.additionalCategories` | `location.googleLocation.profile.description` | `location.googleLocation.storefrontAddress.countryCode` | `location.googleLocation.storefrontAddress.postalCode` | `location.googleLocation.storefrontAddress.administrativeArea` | `location.googleLocation.storefrontAddress.locality` | `location.googleLocation.storefrontAddress.addressLines` | `location.googleLocation.serviceArea.businessType` | `location.googleLocation.serviceArea.places` | `location.googleLocation.serviceArea.places.${number}.placeName` | `location.googleLocation.serviceArea.places.${number}.placeId` | `location.googleLocation.serviceArea.regionCode` | `location.googleLocation.primaryPhone` | `location.googleLocation.additionalPhones` | `location.googleLocation.storeCode` | `location.googleLocation.regularHours` | `location.googleLocation.regularHours.${number}.openDay` | `location.googleLocation.regularHours.${number}.openTime.hours` | `location.googleLocation.regularHours.${number}.openTime.minutes` | `location.googleLocation.regularHours.${number}.closeDay` | `location.googleLocation.latLng.latitude` | `location.googleLocation.latLng.longitude` | `location.googleLocation.openInfo.status` | `location.googleLocation.openInfo.canReopen` | `location.googleLocation.metadata.canOperateLodgingData` | `location.googleError.code` | `location.googleError.description` | `location.voiceOfMerchant.hasVoiceOfMerchant` | `location.voiceOfMerchant.hasBusinessAuthority` | `location.voiceOfMerchant.state` | `location.voiceOfMerchant.recommendationReason` | `location.voiceOfMerchant.hasPendingVerification` | `location.location._id` | `location.location.accountId` | `location.location.revision` | `location.location.googleLocationId`, 7>>;
57
+ (locationId: string): Promise<NonNullablePaths<GetGoogleLocationResponse, `location.googleLocation.name` | `location.googleLocation.title` | `location.googleLocation.languageCode` | `location.googleLocation.primaryCategory._id` | `location.googleLocation.primaryCategory.displayName` | `location.googleLocation.additionalCategories` | `location.googleLocation.profile.description` | `location.googleLocation.storefrontAddress.countryCode` | `location.googleLocation.storefrontAddress.postalCode` | `location.googleLocation.storefrontAddress.administrativeArea` | `location.googleLocation.storefrontAddress.locality` | `location.googleLocation.storefrontAddress.addressLines` | `location.googleLocation.serviceArea.businessType` | `location.googleLocation.serviceArea.places` | `location.googleLocation.serviceArea.places.${number}.placeName` | `location.googleLocation.serviceArea.places.${number}.placeId` | `location.googleLocation.serviceArea.regionCode` | `location.googleLocation.primaryPhone` | `location.googleLocation.additionalPhones` | `location.googleLocation.storeCode` | `location.googleLocation.regularHours` | `location.googleLocation.regularHours.${number}.openDay` | `location.googleLocation.regularHours.${number}.openTime.hours` | `location.googleLocation.regularHours.${number}.openTime.minutes` | `location.googleLocation.regularHours.${number}.closeDay` | `location.googleLocation.latLng.latitude` | `location.googleLocation.latLng.longitude` | `location.googleLocation.openInfo.status` | `location.googleLocation.openInfo.canReopen` | `location.googleLocation.metadata.canOperateLodgingData` | `location.googleLocation.metadata.mapsUri` | `location.googleError.code` | `location.googleError.description` | `location.voiceOfMerchant.hasVoiceOfMerchant` | `location.voiceOfMerchant.hasBusinessAuthority` | `location.voiceOfMerchant.state` | `location.voiceOfMerchant.recommendationReason` | `location.voiceOfMerchant.hasPendingVerification` | `location.location._id` | `location.location.accountId` | `location.location.revision` | `location.location.googleLocationId`, 7>>;
58
58
  }
59
59
  declare function createLocation$1(httpClient: HttpClient): CreateLocationSignature;
60
60
  interface CreateLocationSignature {
@@ -242,7 +242,7 @@ interface UpdateGoogleLocationSignature {
242
242
  * @param - The profile values to set. Only the fields named in `fieldMask` are sent to
243
243
  * Google, so this can be partial.
244
244
  */
245
- (locationId: string, location: GoogleLocation, options: NonNullablePaths<UpdateGoogleLocationOptions, `fieldMask`, 2>): Promise<NonNullablePaths<UpdateGoogleLocationResponse, `location.name` | `location.title` | `location.languageCode` | `location.primaryCategory._id` | `location.primaryCategory.displayName` | `location.additionalCategories` | `location.profile.description` | `location.storefrontAddress.countryCode` | `location.storefrontAddress.postalCode` | `location.storefrontAddress.administrativeArea` | `location.storefrontAddress.locality` | `location.storefrontAddress.addressLines` | `location.serviceArea.businessType` | `location.serviceArea.places` | `location.serviceArea.places.${number}.placeName` | `location.serviceArea.places.${number}.placeId` | `location.serviceArea.regionCode` | `location.primaryPhone` | `location.additionalPhones` | `location.storeCode` | `location.regularHours` | `location.regularHours.${number}.openDay` | `location.regularHours.${number}.openTime.hours` | `location.regularHours.${number}.openTime.minutes` | `location.regularHours.${number}.closeDay` | `location.latLng.latitude` | `location.latLng.longitude` | `location.openInfo.status` | `location.openInfo.canReopen` | `location.metadata.canOperateLodgingData`, 6> & {
245
+ (locationId: string, location: GoogleLocation, options: NonNullablePaths<UpdateGoogleLocationOptions, `fieldMask`, 2>): Promise<NonNullablePaths<UpdateGoogleLocationResponse, `location.name` | `location.title` | `location.languageCode` | `location.primaryCategory._id` | `location.primaryCategory.displayName` | `location.additionalCategories` | `location.profile.description` | `location.storefrontAddress.countryCode` | `location.storefrontAddress.postalCode` | `location.storefrontAddress.administrativeArea` | `location.storefrontAddress.locality` | `location.storefrontAddress.addressLines` | `location.serviceArea.businessType` | `location.serviceArea.places` | `location.serviceArea.places.${number}.placeName` | `location.serviceArea.places.${number}.placeId` | `location.serviceArea.regionCode` | `location.primaryPhone` | `location.additionalPhones` | `location.storeCode` | `location.regularHours` | `location.regularHours.${number}.openDay` | `location.regularHours.${number}.openTime.hours` | `location.regularHours.${number}.openTime.minutes` | `location.regularHours.${number}.closeDay` | `location.latLng.latitude` | `location.latLng.longitude` | `location.openInfo.status` | `location.openInfo.canReopen` | `location.metadata.canOperateLodgingData` | `location.metadata.mapsUri`, 6> & {
246
246
  __applicationErrorsType?: UpdateGoogleLocationApplicationErrors;
247
247
  }>;
248
248
  }
@@ -862,7 +862,7 @@ interface SearchGoogleLocationsSignature {
862
862
  * For lighter-weight suggestions while someone types, call Suggest
863
863
  * Establishments, which returns autocomplete hints rather than catalog entries.
864
864
  */
865
- (options: SearchGoogleLocationsOptions): Promise<NonNullablePaths<SearchGoogleLocationsResponse, `matches` | `matches.${number}.location.name` | `matches.${number}.location.title` | `matches.${number}.location.languageCode` | `matches.${number}.location.primaryCategory._id` | `matches.${number}.location.primaryCategory.displayName` | `matches.${number}.location.profile.description` | `matches.${number}.location.storefrontAddress.countryCode` | `matches.${number}.location.storefrontAddress.postalCode` | `matches.${number}.location.storefrontAddress.administrativeArea` | `matches.${number}.location.storefrontAddress.locality` | `matches.${number}.location.serviceArea.businessType` | `matches.${number}.location.serviceArea.regionCode` | `matches.${number}.location.primaryPhone` | `matches.${number}.location.storeCode` | `matches.${number}.location.latLng.latitude` | `matches.${number}.location.latLng.longitude` | `matches.${number}.location.openInfo.status` | `matches.${number}.location.openInfo.canReopen` | `matches.${number}.location.metadata.canOperateLodgingData` | `matches.${number}.status`, 6> & {
865
+ (options: SearchGoogleLocationsOptions): Promise<NonNullablePaths<SearchGoogleLocationsResponse, `matches` | `matches.${number}.location.name` | `matches.${number}.location.title` | `matches.${number}.location.languageCode` | `matches.${number}.location.primaryCategory._id` | `matches.${number}.location.primaryCategory.displayName` | `matches.${number}.location.profile.description` | `matches.${number}.location.storefrontAddress.countryCode` | `matches.${number}.location.storefrontAddress.postalCode` | `matches.${number}.location.storefrontAddress.administrativeArea` | `matches.${number}.location.storefrontAddress.locality` | `matches.${number}.location.serviceArea.businessType` | `matches.${number}.location.serviceArea.regionCode` | `matches.${number}.location.primaryPhone` | `matches.${number}.location.storeCode` | `matches.${number}.location.latLng.latitude` | `matches.${number}.location.latLng.longitude` | `matches.${number}.location.openInfo.status` | `matches.${number}.location.openInfo.canReopen` | `matches.${number}.location.metadata.canOperateLodgingData` | `matches.${number}.location.metadata.mapsUri` | `matches.${number}.status`, 6> & {
866
866
  __applicationErrorsType?: SearchGoogleLocationsApplicationErrors;
867
867
  }>;
868
868
  }