@wix/auto_sdk_gbp_locations 1.0.0 → 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.
- package/build/cjs/index.d.ts +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +25 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +21 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +7 -0
- package/build/cjs/schemas.js +28 -7
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +25 -10
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +21 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +7 -0
- package/build/es/schemas.mjs +28 -7
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -11
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +29 -14
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +21 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +7 -0
- package/build/internal/cjs/schemas.js +28 -7
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -11
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +29 -14
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +21 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +7 -0
- package/build/internal/es/schemas.mjs +28 -7
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { GBPLocation, QueryGoogleLocationsOptions, QueryGoogleLocationsResponse, GetGoogleLocationResponse, CreateLocationApplicationErrors, UpdateLocation, CreateGoogleLocationOptions, CreateGoogleLocationResponse, CreateGoogleLocationApplicationErrors, DeleteGoogleLocationApplicationErrors, GoogleLocation, UpdateGoogleLocationOptions, UpdateGoogleLocationResponse, UpdateGoogleLocationApplicationErrors, BulkCreateLocationsOptions, BulkCreateLocationsResponse, BulkCreateLocationsApplicationErrors, BulkDeleteLocationsResponse, ListGbpAccountsOptions, ListGbpAccountsResponse, ListGbpAccountsApplicationErrors, ListUnimportedLocationsOptions, ListUnimportedLocationsResponse, ListUnimportedLocationsApplicationErrors, ListReviewsOptions, ListReviewsResponse, ListReviewsApplicationErrors, PutReviewReplyIdentifiers, PutReviewReplyResponse, PutReviewReplyApplicationErrors, DeleteReviewReplyIdentifiers, DeleteReviewReplyApplicationErrors, ListMediaOptions, ListMediaResponse, ListMediaApplicationErrors, CreateMediaOptions, CreateMediaResponse, CreateMediaApplicationErrors, DeleteMediaIdentifiers, DeleteMediaApplicationErrors, LocationAttribute, UpdateLocationAttributesResponse, UpdateLocationAttributesApplicationErrors, GetLocationAttributesResponse, GetLocationAttributesApplicationErrors, GetLocationLodgingResponse, GetLocationLodgingApplicationErrors, Lodging, UpdateLocationLodgingOptions, UpdateLocationLodgingResponse, UpdateLocationLodgingApplicationErrors, ListAttributeMetadataOptions, ListAttributeMetadataResponse, ListAttributeMetadataApplicationErrors, ListCategoriesOptions, ListCategoriesResponse, ListCategoriesApplicationErrors, GetVerificationOptionsResponse, GetVerificationOptionsApplicationErrors, VerificationMethodWithLiterals, StartVerificationOptions, StartVerificationResponse, StartVerificationApplicationErrors, CompleteVerificationOptions, CompleteVerificationResponse, CompleteVerificationApplicationErrors, GetVoiceOfMerchantResponse, InsightsTimeRange, GetLocationInsightsOptions, GetLocationInsightsResponse, MonthlyRange, ListSearchKeywordImpressionsOptions, ListSearchKeywordImpressionsResponse, ListSearchKeywordImpressionsApplicationErrors, InviteAdminToLocationOptions, InviteAdminToLocationResponse, GetLocationAdminsResponse, GetAddressSchemaByCountryCodeOptions, GetAddressSchemaByCountryCodeResponse, GetAddressSchemaByCountryCodeApplicationErrors, SuggestRegionsOptions, SuggestRegionsResponse, SuggestRegionsApplicationErrors, SuggestEstablishmentsOptions, SuggestEstablishmentsResponse, SuggestEstablishmentsApplicationErrors, SearchGoogleLocationsOptions, SearchGoogleLocationsResponse, SearchGoogleLocationsApplicationErrors, LocationsQueryBuilder, GBPLocationQuery, typedQueryGbpLocations } from './index.typings.js';
|
|
3
|
-
export { Accessibility, AccountInfo, ActionEvent, Activities, AddressFieldType, AddressFieldTypeWithLiterals, AddressSchema, AmenityException, AmenityExceptionWithLiterals, ApplicationError, AttributeMetadata, AttributeValueMetadata, AttributeValueMetadataValueOneOf, AttributeValueType, AttributeValueTypeWithLiterals, BreeamCertification, BreeamCertificationWithLiterals, BulkActionMetadata, BulkCreateLocationResult, BulkCreateLocationsRequest, BulkDeleteLocationResult, BulkDeleteLocationsRequest, Business, BusinessHours, BusinessType, BusinessTypeWithLiterals, CalendarMonth, Category, CategoryMetadata, CategoryRegion, CategoryView, CategoryViewWithLiterals, CommonQueryWithEntityContext, CompleteVerificationRequest, Connectivity, CreateGoogleLocationRequest, CreateLocationRequest, CreateLocationResponse, CreateMediaRequest, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DailyMetric, DailyMetricValue, DailyMetricWithLiterals, DayOfWeek, DayOfWeekWithLiterals, DeleteGoogleLocationRequest, DeleteGoogleLocationResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteMediaRequest, DeleteMediaResponse, DeleteReviewReplyRequest, DeleteReviewReplyResponse, DomainEvent, DomainEventBodyOneOf, EcoCertificate, EcoCertificateWithLiterals, EcoCertification, Empty, EnergyEfficiency, EnhancedCleaning, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstablishmentSuggestion, Families, FieldViolation, FoodAndDrink, GBPLocationQuerySpec, GbpAccount, GetAddressSchemaByCountryCodeRequest, GetGBPLocationRequest, GetGBPLocationResponse, GetGoogleLocationRequest, GetLocationAdminsRequest, GetLocationAttributesRequest, GetLocationInsightsRequest, GetLocationLodgingRequest, GetVerificationOptionsRequest, GetVoiceOfMerchantRequest, GoogleApiCallFailedError, GoogleLocationMatch, GoogleLocationValidationError, GuestUnitFeatures, GuestUnitType, HealthAndSafety, Housekeeping, IdentificationData, IdentificationDataIdOneOf, IncreasedFoodSafety, InsightsMetric, InvalidUpdateMaskError, InvalidValueJsonError, InviteAdminToLocationRequest, ItemMetadata, LanguageSpoken, LatLng, LeedCertification, LeedCertificationWithLiterals, ListAttributeMetadataOptionsLookupOneOf, ListAttributeMetadataRequest, ListAttributeMetadataRequestLookupOneOf, ListCategoriesRequest, ListGbpAccountsRequest, ListMediaRequest, ListReviewsRequest, ListSearchKeywordImpressionsRequest, ListUnimportedLocationsRequest, LivingArea, LivingAreaAccessibility, LivingAreaEating, LivingAreaFeatures, LivingAreaLayout, LivingAreaSleeping, LocationAdmin, LocationDbPersistFailedError, LocationNotDeletableViaApiError, LocationWithGoogle, LocationWithGoogleGoogleResultOneOf, LocationWithGoogleVoiceOfMerchantResultOneOf, LocationsQueryResult, LodgingMetadata, LodgingTimeOfDay, MatchStatus, MatchStatusWithLiterals, MediaCategory, MediaCategoryWithLiterals, MediaFormat, MediaFormatWithLiterals, MediaItem, MediaItemAttribution, MessageEnvelope, Metadata, MinimizedContact, MoreHoursType, OpenInfo, Parking, PaymentOptions, PersonalProtection, Pets, PhysicalDistancing, PlaceInfo, Policies, Pools, PostalAddress, Profile, Property, PutReviewReplyRequest, QueryGBPLocationsRequest, QueryGBPLocationsResponse, QueryGoogleLocationsRequest, RecommendationReason, RecommendationReasonWithLiterals, RegionSuggestion, RestoreInfo, Review, ReviewMetrics, ReviewReply, ReviewSortOrder, ReviewSortOrderWithLiterals, Role, RoleWithLiterals, SearchGoogleLocationsOptionsCriteriaOneOf, SearchGoogleLocationsRequest, SearchGoogleLocationsRequestCriteriaOneOf, SearchKeywordImpression, SearchKeywordImpressionImpressionsOneOf, ServiceArea, ServiceType, Services, SortOrder, SortOrderWithLiterals, Sorting, StartVerificationRequest, State, StateWithLiterals, Status, StatusWithLiterals, SuggestEstablishmentsRequest, SuggestRegionsRequest, Sustainability, SustainabilityCertifications, SustainableSourcing, TimeOfDay, Transportation, UnimportedLocation, UnitTier, UnitTierWithLiterals, UpdateGoogleLocationRequest, UpdateLocationAttributesRequest, UpdateLocationFoodMenusApplicationErrors, UpdateLocationFoodMenusOptions, UpdateLocationFoodMenusRequest, UpdateLocationFoodMenusResponse, UpdateLocationLodgingRequest, UpdateLocationRequest, UpdateLocationResponse, VerificationMethod, VerificationOption, VerificationState, VerificationStateWithLiterals, ViewsFromUnit, Violation, VoiceOfMerchantState, WasteReduction, WaterConservation, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Wellness, utils } from './index.typings.js';
|
|
3
|
+
export { Accessibility, AccountInfo, ActionEvent, Activities, AddressFieldType, AddressFieldTypeWithLiterals, AddressSchema, AmenityException, AmenityExceptionWithLiterals, ApplicationError, AttributeMetadata, AttributeValueMetadata, AttributeValueMetadataValueOneOf, AttributeValueType, AttributeValueTypeWithLiterals, BreeamCertification, BreeamCertificationWithLiterals, BulkActionMetadata, BulkCreateLocationResult, BulkCreateLocationsRequest, BulkDeleteLocationResult, BulkDeleteLocationsRequest, Business, BusinessHours, BusinessType, BusinessTypeWithLiterals, CalendarMonth, Category, CategoryMetadata, CategoryRegion, CategoryView, CategoryViewWithLiterals, CommonQueryWithEntityContext, CompleteVerificationRequest, Connectivity, CreateGoogleLocationRequest, CreateLocationRequest, CreateLocationResponse, CreateMediaRequest, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DailyMetric, DailyMetricValue, DailyMetricWithLiterals, DayOfWeek, DayOfWeekWithLiterals, DeleteGoogleLocationRequest, DeleteGoogleLocationResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteMediaRequest, DeleteMediaResponse, DeleteReviewReplyRequest, DeleteReviewReplyResponse, DomainEvent, DomainEventBodyOneOf, EcoCertificate, EcoCertificateWithLiterals, EcoCertification, Empty, EnergyEfficiency, EnhancedCleaning, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstablishmentSuggestion, Families, FieldViolation, FoodAndDrink, FoodMenuResult, GBPLocationQuerySpec, GbpAccount, GetAddressSchemaByCountryCodeRequest, GetGBPLocationRequest, GetGBPLocationResponse, GetGoogleLocationRequest, GetLocationAdminsRequest, GetLocationAttributesRequest, GetLocationInsightsRequest, GetLocationLodgingRequest, GetVerificationOptionsRequest, GetVoiceOfMerchantRequest, GoogleApiCallFailedError, GoogleLocationMatch, GoogleLocationValidationError, GuestUnitFeatures, GuestUnitType, HealthAndSafety, Housekeeping, IdentificationData, IdentificationDataIdOneOf, IncreasedFoodSafety, InsightsMetric, InvalidUpdateMaskError, InvalidValueJsonError, InviteAdminToLocationRequest, ItemMetadata, LanguageSpoken, LatLng, LeedCertification, LeedCertificationWithLiterals, ListAttributeMetadataOptionsLookupOneOf, ListAttributeMetadataRequest, ListAttributeMetadataRequestLookupOneOf, ListCategoriesRequest, ListGbpAccountsRequest, ListMediaRequest, ListReviewsRequest, ListSearchKeywordImpressionsRequest, ListUnimportedLocationsRequest, LivingArea, LivingAreaAccessibility, LivingAreaEating, LivingAreaFeatures, LivingAreaLayout, LivingAreaSleeping, LocationAdmin, LocationDbPersistFailedError, LocationNotDeletableViaApiError, LocationWithGoogle, LocationWithGoogleGoogleResultOneOf, LocationWithGoogleVoiceOfMerchantResultOneOf, LocationsQueryResult, LodgingMetadata, LodgingTimeOfDay, MatchStatus, MatchStatusWithLiterals, MediaCategory, MediaCategoryWithLiterals, MediaFormat, MediaFormatWithLiterals, MediaItem, MediaItemAttribution, MessageEnvelope, Metadata, MinimizedContact, MoreHoursType, OpenInfo, Parking, PaymentOptions, PersonalProtection, Pets, PhysicalDistancing, PlaceInfo, Policies, Pools, PostalAddress, Profile, Property, PutReviewReplyRequest, QueryGBPLocationsRequest, QueryGBPLocationsResponse, QueryGoogleLocationsRequest, RecommendationReason, RecommendationReasonWithLiterals, RegionSuggestion, RestoreInfo, Review, ReviewMetrics, ReviewReply, ReviewSortOrder, ReviewSortOrderWithLiterals, Role, RoleWithLiterals, SearchGoogleLocationsOptionsCriteriaOneOf, SearchGoogleLocationsRequest, SearchGoogleLocationsRequestCriteriaOneOf, SearchKeywordImpression, SearchKeywordImpressionImpressionsOneOf, ServiceArea, ServiceType, Services, SortOrder, SortOrderWithLiterals, Sorting, StartVerificationRequest, State, StateWithLiterals, Status, StatusWithLiterals, SuggestEstablishmentsRequest, SuggestRegionsRequest, Sustainability, SustainabilityCertifications, SustainableSourcing, TimeOfDay, Transportation, UnimportedLocation, UnitTier, UnitTierWithLiterals, UpdateGoogleLocationRequest, UpdateLocationAttributesRequest, UpdateLocationFoodMenusApplicationErrors, UpdateLocationFoodMenusOptions, UpdateLocationFoodMenusRequest, UpdateLocationFoodMenusResponse, UpdateLocationLodgingRequest, UpdateLocationRequest, UpdateLocationResponse, VerificationMethod, VerificationOption, VerificationState, VerificationStateWithLiterals, ViewsFromUnit, Violation, VoiceOfMerchantState, WasteReduction, WaterConservation, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Wellness, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function getGbpLocation$1(httpClient: HttpClient): GetGbpLocationSignature;
|
|
6
6
|
interface GetGbpLocationSignature {
|
|
@@ -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
|
}
|