@wix/auto_sdk_gbp_locations 1.0.12 → 1.0.13
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 +49 -4
- package/build/cjs/index.js +135 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +196 -14
- package/build/cjs/index.typings.js +117 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +126 -14
- package/build/cjs/meta.js +105 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +49 -4
- package/build/es/index.mjs +132 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +196 -14
- package/build/es/index.typings.mjs +114 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +126 -14
- package/build/es/meta.mjs +101 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +49 -4
- package/build/internal/cjs/index.typings.d.ts +196 -14
- package/build/internal/cjs/meta.d.ts +126 -14
- package/build/internal/es/index.d.mts +49 -4
- package/build/internal/es/index.typings.d.mts +196 -14
- package/build/internal/es/meta.d.mts +126 -14
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
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, UpdateLocationFoodMenusOptions, UpdateLocationFoodMenusResponse, UpdateLocationFoodMenusApplicationErrors, LocationAttribute, UpdateLocationAttributesResponse, UpdateLocationAttributesApplicationErrors, GetLocationAttributesResponse, GetLocationAttributesApplicationErrors, GetLocationLodgingResponse, GetLocationLodgingApplicationErrors, Lodging, UpdateLocationLodgingOptions, UpdateLocationLodgingResponse, UpdateLocationLodgingApplicationErrors, ListAttributeMetadataOptions, ListAttributeMetadataResponse, ListAttributeMetadataApplicationErrors, ListCategoriesOptions, ListCategoriesResponse, ListCategoriesApplicationErrors, GetVerificationOptions, 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, AddressVerificationData, 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, EmailVerificationData, 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, UpdateLocationFoodMenusRequest, UpdateLocationLodgingRequest, UpdateLocationRequest, UpdateLocationResponse, VerificationMethod, VerificationOption, VerificationOptionDataOneOf, VerificationState, VerificationStateWithLiterals, ViewsFromUnit, Violation, VoiceOfMerchantState, WasteReduction, WaterConservation, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Wellness, utils } from './index.typings.js';
|
|
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, GetNotificationSettingResponse, GetNotificationSettingApplicationErrors, UpdateNotificationSetting, UpdateNotificationSettingOptions, UpdateNotificationSettingResponse, UpdateNotificationSettingApplicationErrors, ListReviewsOptions, ListReviewsResponse, ListReviewsApplicationErrors, PutReviewReplyIdentifiers, PutReviewReplyResponse, PutReviewReplyApplicationErrors, DeleteReviewReplyIdentifiers, DeleteReviewReplyApplicationErrors, ListMediaOptions, ListMediaResponse, ListMediaApplicationErrors, CreateMediaOptions, CreateMediaResponse, CreateMediaApplicationErrors, DeleteMediaIdentifiers, DeleteMediaApplicationErrors, UpdateLocationFoodMenusOptions, UpdateLocationFoodMenusResponse, UpdateLocationFoodMenusApplicationErrors, LocationAttribute, UpdateLocationAttributesResponse, UpdateLocationAttributesApplicationErrors, GetLocationAttributesResponse, GetLocationAttributesApplicationErrors, GetLocationLodgingResponse, GetLocationLodgingApplicationErrors, Lodging, UpdateLocationLodgingOptions, UpdateLocationLodgingResponse, UpdateLocationLodgingApplicationErrors, ListAttributeMetadataOptions, ListAttributeMetadataResponse, ListAttributeMetadataApplicationErrors, ListCategoriesOptions, ListCategoriesResponse, ListCategoriesApplicationErrors, GetVerificationOptions, 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, AddressVerificationData, 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, EmailVerificationData, Empty, EnergyEfficiency, EnhancedCleaning, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstablishmentSuggestion, Families, FieldViolation, FoodAndDrink, FoodMenuResult, GBPLocationQuerySpec, GbpAccount, GetAddressSchemaByCountryCodeRequest, GetGBPLocationRequest, GetGBPLocationResponse, GetGoogleLocationRequest, GetLocationAdminsRequest, GetLocationAttributesRequest, GetLocationInsightsRequest, GetLocationLodgingRequest, GetNotificationSettingRequest, 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, NotificationSetting, NotificationType, NotificationTypeWithLiterals, 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, UpdateLocationFoodMenusRequest, UpdateLocationLodgingRequest, UpdateLocationRequest, UpdateLocationResponse, UpdateNotificationSettingRequest, VerificationMethod, VerificationOption, VerificationOptionDataOneOf, 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 {
|
|
@@ -324,6 +324,49 @@ interface ListUnimportedLocationsSignature {
|
|
|
324
324
|
__applicationErrorsType?: ListUnimportedLocationsApplicationErrors;
|
|
325
325
|
}>;
|
|
326
326
|
}
|
|
327
|
+
declare function getNotificationSetting$1(httpClient: HttpClient): GetNotificationSettingSignature;
|
|
328
|
+
interface GetNotificationSettingSignature {
|
|
329
|
+
/**
|
|
330
|
+
* Retrieves a Google Business Profile account's notification setting: the
|
|
331
|
+
* Pub/Sub topic Google publishes to, and which types of change it publishes.
|
|
332
|
+
*
|
|
333
|
+
* Each account has exactly one notification setting. If none was ever set, the
|
|
334
|
+
* setting comes back with an empty `pubsubTopic` and no `notificationTypes`.
|
|
335
|
+
*
|
|
336
|
+
* A Google account must be connected first. See the
|
|
337
|
+
* [Connection API](https://dev.wix.com/docs/api-reference/business-management/google-business-profile/connection-v1).
|
|
338
|
+
* @param - GBP Account ID to retrieve the notification setting for.
|
|
339
|
+
*/
|
|
340
|
+
(accountId: string): Promise<NonNullablePaths<GetNotificationSettingResponse, `notificationSetting.accountId` | `notificationSetting.pubsubTopic` | `notificationSetting.notificationTypes`, 1> & {
|
|
341
|
+
__applicationErrorsType?: GetNotificationSettingApplicationErrors;
|
|
342
|
+
}>;
|
|
343
|
+
}
|
|
344
|
+
declare function updateNotificationSetting$1(httpClient: HttpClient): UpdateNotificationSettingSignature;
|
|
345
|
+
interface UpdateNotificationSettingSignature {
|
|
346
|
+
/**
|
|
347
|
+
* Updates a Google Business Profile account's notification setting.
|
|
348
|
+
*
|
|
349
|
+
* `notificationTypes` replaces the whole list. To stop all notifications for the
|
|
350
|
+
* account, update it to an empty list. That also clears `pubsubTopic`, so the
|
|
351
|
+
* account is left with no notification setting at all.
|
|
352
|
+
*
|
|
353
|
+
* The Pub/Sub topic is set by Wix, so `pubsubTopic` can't be changed here.
|
|
354
|
+
*
|
|
355
|
+
* Errors:
|
|
356
|
+
* - `INVALID_NOTIFICATION_TYPE`: `notificationTypes` contains
|
|
357
|
+
* `NOTIFICATION_TYPE_UNKNOWN` or a value this API doesn't recognize. Google
|
|
358
|
+
* isn't called, so the current setting is left as it was.
|
|
359
|
+
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status and
|
|
360
|
+
* response are in the error payload.
|
|
361
|
+
*
|
|
362
|
+
* A Google account must be connected first. See the
|
|
363
|
+
* [Connection API](https://dev.wix.com/docs/api-reference/business-management/google-business-profile/connection-v1).
|
|
364
|
+
* @param - Google GBP Account ID the setting belongs to.
|
|
365
|
+
*/
|
|
366
|
+
(accountId: string, notificationSetting: UpdateNotificationSetting, options?: UpdateNotificationSettingOptions): Promise<NonNullablePaths<UpdateNotificationSettingResponse, `notificationSetting.accountId` | `notificationSetting.pubsubTopic` | `notificationSetting.notificationTypes`, 1> & {
|
|
367
|
+
__applicationErrorsType?: UpdateNotificationSettingApplicationErrors;
|
|
368
|
+
}>;
|
|
369
|
+
}
|
|
327
370
|
declare function listReviews$1(httpClient: HttpClient): ListReviewsSignature;
|
|
328
371
|
interface ListReviewsSignature {
|
|
329
372
|
/**
|
|
@@ -676,7 +719,7 @@ interface GetVerificationOptionsSignature {
|
|
|
676
719
|
* It defaults to English.
|
|
677
720
|
* @param - Location ID. This is Google's location identifier.
|
|
678
721
|
*/
|
|
679
|
-
(locationId: string, options?: GetVerificationOptions): Promise<NonNullablePaths<GetVerificationOptionsResponse, `options` | `options.${number}.phoneNumber` | `options.${number}.emailData.domain` | `options.${number}.emailData.user` | `options.${number}.emailData.userNameEditable` | `options.${number}.addressData.business` | `options.${number}.addressData.address.countryCode` | `options.${number}.addressData.address.postalCode` | `options.${number}.addressData.address.administrativeArea` | `options.${number}.addressData.address.locality` | `options.${number}.method
|
|
722
|
+
(locationId: string, options?: GetVerificationOptions): Promise<NonNullablePaths<GetVerificationOptionsResponse, `options` | `options.${number}.phoneNumber` | `options.${number}.emailData.domain` | `options.${number}.emailData.user` | `options.${number}.emailData.userNameEditable` | `options.${number}.addressData.business` | `options.${number}.addressData.address.countryCode` | `options.${number}.addressData.address.postalCode` | `options.${number}.addressData.address.administrativeArea` | `options.${number}.addressData.address.locality` | `options.${number}.method`, 4> & {
|
|
680
723
|
__applicationErrorsType?: GetVerificationOptionsApplicationErrors;
|
|
681
724
|
}>;
|
|
682
725
|
}
|
|
@@ -912,6 +955,8 @@ declare const bulkCreateLocations: MaybeContext<BuildRESTFunction<typeof bulkCre
|
|
|
912
955
|
declare const bulkDeleteLocations: MaybeContext<BuildRESTFunction<typeof bulkDeleteLocations$1> & typeof bulkDeleteLocations$1>;
|
|
913
956
|
declare const listGbpAccounts: MaybeContext<BuildRESTFunction<typeof listGbpAccounts$1> & typeof listGbpAccounts$1>;
|
|
914
957
|
declare const listUnimportedLocations: MaybeContext<BuildRESTFunction<typeof listUnimportedLocations$1> & typeof listUnimportedLocations$1>;
|
|
958
|
+
declare const getNotificationSetting: MaybeContext<BuildRESTFunction<typeof getNotificationSetting$1> & typeof getNotificationSetting$1>;
|
|
959
|
+
declare const updateNotificationSetting: MaybeContext<BuildRESTFunction<typeof updateNotificationSetting$1> & typeof updateNotificationSetting$1>;
|
|
915
960
|
declare const listReviews: MaybeContext<BuildRESTFunction<typeof listReviews$1> & typeof listReviews$1>;
|
|
916
961
|
declare const putReviewReply: MaybeContext<BuildRESTFunction<typeof putReviewReply$1> & typeof putReviewReply$1>;
|
|
917
962
|
declare const deleteReviewReply: MaybeContext<BuildRESTFunction<typeof deleteReviewReply$1> & typeof deleteReviewReply$1>;
|
|
@@ -940,4 +985,4 @@ declare const suggestEstablishments: MaybeContext<BuildRESTFunction<typeof sugge
|
|
|
940
985
|
declare const searchGoogleLocations: MaybeContext<BuildRESTFunction<typeof searchGoogleLocations$1> & typeof searchGoogleLocations$1>;
|
|
941
986
|
declare const queryGbpLocations: MaybeContext<BuildRESTFunction<typeof customQueryGbpLocations> & typeof customQueryGbpLocations>;
|
|
942
987
|
|
|
943
|
-
export { BulkCreateLocationsApplicationErrors, BulkCreateLocationsOptions, BulkCreateLocationsResponse, BulkDeleteLocationsResponse, CompleteVerificationApplicationErrors, CompleteVerificationOptions, CompleteVerificationResponse, CreateGoogleLocationApplicationErrors, CreateGoogleLocationOptions, CreateGoogleLocationResponse, CreateLocationApplicationErrors, CreateMediaApplicationErrors, CreateMediaOptions, CreateMediaResponse, DeleteGoogleLocationApplicationErrors, DeleteMediaApplicationErrors, DeleteMediaIdentifiers, DeleteReviewReplyApplicationErrors, DeleteReviewReplyIdentifiers, GBPLocation, GBPLocationQuery, GetAddressSchemaByCountryCodeApplicationErrors, GetAddressSchemaByCountryCodeOptions, GetAddressSchemaByCountryCodeResponse, GetGoogleLocationResponse, GetLocationAdminsResponse, GetLocationAttributesApplicationErrors, GetLocationAttributesResponse, GetLocationInsightsOptions, GetLocationInsightsResponse, GetLocationLodgingApplicationErrors, GetLocationLodgingResponse, GetVerificationOptions, GetVerificationOptionsApplicationErrors, GetVerificationOptionsResponse, GetVoiceOfMerchantResponse, GoogleLocation, InsightsTimeRange, InviteAdminToLocationOptions, InviteAdminToLocationResponse, ListAttributeMetadataApplicationErrors, ListAttributeMetadataOptions, ListAttributeMetadataResponse, ListCategoriesApplicationErrors, ListCategoriesOptions, ListCategoriesResponse, ListGbpAccountsApplicationErrors, ListGbpAccountsOptions, ListGbpAccountsResponse, ListMediaApplicationErrors, ListMediaOptions, ListMediaResponse, ListReviewsApplicationErrors, ListReviewsOptions, ListReviewsResponse, ListSearchKeywordImpressionsApplicationErrors, ListSearchKeywordImpressionsOptions, ListSearchKeywordImpressionsResponse, ListUnimportedLocationsApplicationErrors, ListUnimportedLocationsOptions, ListUnimportedLocationsResponse, LocationAttribute, LocationsQueryBuilder, Lodging, MonthlyRange, PutReviewReplyApplicationErrors, PutReviewReplyIdentifiers, PutReviewReplyResponse, QueryGoogleLocationsOptions, QueryGoogleLocationsResponse, SearchGoogleLocationsApplicationErrors, SearchGoogleLocationsOptions, SearchGoogleLocationsResponse, StartVerificationApplicationErrors, StartVerificationOptions, StartVerificationResponse, SuggestEstablishmentsApplicationErrors, SuggestEstablishmentsOptions, SuggestEstablishmentsResponse, SuggestRegionsApplicationErrors, SuggestRegionsOptions, SuggestRegionsResponse, UpdateGoogleLocationApplicationErrors, UpdateGoogleLocationOptions, UpdateGoogleLocationResponse, UpdateLocation, UpdateLocationAttributesApplicationErrors, UpdateLocationAttributesResponse, UpdateLocationFoodMenusApplicationErrors, UpdateLocationFoodMenusOptions, UpdateLocationFoodMenusResponse, UpdateLocationLodgingApplicationErrors, UpdateLocationLodgingOptions, UpdateLocationLodgingResponse, VerificationMethodWithLiterals, bulkCreateLocations, bulkDeleteLocations, completeVerification, createGoogleLocation, createLocation, createMedia, deleteGoogleLocation, deleteLocation, deleteMedia, deleteReviewReply, getAddressSchemaByCountryCode, getGbpLocation, getGoogleLocation, getLocationAdmins, getLocationAttributes, getLocationInsights, getLocationLodging, getVerificationOptions, getVoiceOfMerchant, inviteAdminToLocation, listAttributeMetadata, listCategories, listGbpAccounts, listMedia, listReviews, listSearchKeywordImpressions, listUnimportedLocations, putReviewReply, queryGbpLocations, queryGoogleLocations, searchGoogleLocations, startVerification, suggestEstablishments, suggestRegions, updateGoogleLocation, updateLocation, updateLocationAttributes, updateLocationFoodMenus, updateLocationLodging };
|
|
988
|
+
export { BulkCreateLocationsApplicationErrors, BulkCreateLocationsOptions, BulkCreateLocationsResponse, BulkDeleteLocationsResponse, CompleteVerificationApplicationErrors, CompleteVerificationOptions, CompleteVerificationResponse, CreateGoogleLocationApplicationErrors, CreateGoogleLocationOptions, CreateGoogleLocationResponse, CreateLocationApplicationErrors, CreateMediaApplicationErrors, CreateMediaOptions, CreateMediaResponse, DeleteGoogleLocationApplicationErrors, DeleteMediaApplicationErrors, DeleteMediaIdentifiers, DeleteReviewReplyApplicationErrors, DeleteReviewReplyIdentifiers, GBPLocation, GBPLocationQuery, GetAddressSchemaByCountryCodeApplicationErrors, GetAddressSchemaByCountryCodeOptions, GetAddressSchemaByCountryCodeResponse, GetGoogleLocationResponse, GetLocationAdminsResponse, GetLocationAttributesApplicationErrors, GetLocationAttributesResponse, GetLocationInsightsOptions, GetLocationInsightsResponse, GetLocationLodgingApplicationErrors, GetLocationLodgingResponse, GetNotificationSettingApplicationErrors, GetNotificationSettingResponse, GetVerificationOptions, GetVerificationOptionsApplicationErrors, GetVerificationOptionsResponse, GetVoiceOfMerchantResponse, GoogleLocation, InsightsTimeRange, InviteAdminToLocationOptions, InviteAdminToLocationResponse, ListAttributeMetadataApplicationErrors, ListAttributeMetadataOptions, ListAttributeMetadataResponse, ListCategoriesApplicationErrors, ListCategoriesOptions, ListCategoriesResponse, ListGbpAccountsApplicationErrors, ListGbpAccountsOptions, ListGbpAccountsResponse, ListMediaApplicationErrors, ListMediaOptions, ListMediaResponse, ListReviewsApplicationErrors, ListReviewsOptions, ListReviewsResponse, ListSearchKeywordImpressionsApplicationErrors, ListSearchKeywordImpressionsOptions, ListSearchKeywordImpressionsResponse, ListUnimportedLocationsApplicationErrors, ListUnimportedLocationsOptions, ListUnimportedLocationsResponse, LocationAttribute, LocationsQueryBuilder, Lodging, MonthlyRange, PutReviewReplyApplicationErrors, PutReviewReplyIdentifiers, PutReviewReplyResponse, QueryGoogleLocationsOptions, QueryGoogleLocationsResponse, SearchGoogleLocationsApplicationErrors, SearchGoogleLocationsOptions, SearchGoogleLocationsResponse, StartVerificationApplicationErrors, StartVerificationOptions, StartVerificationResponse, SuggestEstablishmentsApplicationErrors, SuggestEstablishmentsOptions, SuggestEstablishmentsResponse, SuggestRegionsApplicationErrors, SuggestRegionsOptions, SuggestRegionsResponse, UpdateGoogleLocationApplicationErrors, UpdateGoogleLocationOptions, UpdateGoogleLocationResponse, UpdateLocation, UpdateLocationAttributesApplicationErrors, UpdateLocationAttributesResponse, UpdateLocationFoodMenusApplicationErrors, UpdateLocationFoodMenusOptions, UpdateLocationFoodMenusResponse, UpdateLocationLodgingApplicationErrors, UpdateLocationLodgingOptions, UpdateLocationLodgingResponse, UpdateNotificationSetting, UpdateNotificationSettingApplicationErrors, UpdateNotificationSettingOptions, UpdateNotificationSettingResponse, VerificationMethodWithLiterals, bulkCreateLocations, bulkDeleteLocations, completeVerification, createGoogleLocation, createLocation, createMedia, deleteGoogleLocation, deleteLocation, deleteMedia, deleteReviewReply, getAddressSchemaByCountryCode, getGbpLocation, getGoogleLocation, getLocationAdmins, getLocationAttributes, getLocationInsights, getLocationLodging, getNotificationSetting, getVerificationOptions, getVoiceOfMerchant, inviteAdminToLocation, listAttributeMetadata, listCategories, listGbpAccounts, listMedia, listReviews, listSearchKeywordImpressions, listUnimportedLocations, putReviewReply, queryGbpLocations, queryGoogleLocations, searchGoogleLocations, startVerification, suggestEstablishments, suggestRegions, updateGoogleLocation, updateLocation, updateLocationAttributes, updateLocationFoodMenus, updateLocationLodging, updateNotificationSetting };
|
|
@@ -1142,6 +1142,100 @@ interface UnimportedLocation {
|
|
|
1142
1142
|
*/
|
|
1143
1143
|
serviceArea?: ServiceArea;
|
|
1144
1144
|
}
|
|
1145
|
+
interface GetNotificationSettingRequest {
|
|
1146
|
+
/**
|
|
1147
|
+
* GBP Account ID to retrieve the notification setting for.
|
|
1148
|
+
* @minLength 1
|
|
1149
|
+
* @maxLength 255
|
|
1150
|
+
*/
|
|
1151
|
+
accountId: string;
|
|
1152
|
+
}
|
|
1153
|
+
interface GetNotificationSettingResponse {
|
|
1154
|
+
/** The account's notification setting, as Google holds it. */
|
|
1155
|
+
notificationSetting?: NotificationSetting;
|
|
1156
|
+
}
|
|
1157
|
+
/**
|
|
1158
|
+
* Which Google Business Profile events Google publishes to a Pub/Sub topic for
|
|
1159
|
+
* the locations in an account. Mirrors Google's `NotificationSetting`. Each
|
|
1160
|
+
* account has exactly one.
|
|
1161
|
+
*/
|
|
1162
|
+
interface NotificationSetting {
|
|
1163
|
+
/**
|
|
1164
|
+
* Google GBP Account ID the setting belongs to.
|
|
1165
|
+
* @maxLength 255
|
|
1166
|
+
*/
|
|
1167
|
+
accountId?: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Google Cloud Pub/Sub topic that receives notifications when locations managed
|
|
1170
|
+
* by this account are updated, in the format
|
|
1171
|
+
* `projects/{project_id}/topics/{topic_id}`. When empty, no notifications are
|
|
1172
|
+
* posted.
|
|
1173
|
+
*
|
|
1174
|
+
* Set by Wix on every update; any value you send is ignored.
|
|
1175
|
+
* @maxLength 512
|
|
1176
|
+
* @readonly
|
|
1177
|
+
*/
|
|
1178
|
+
pubsubTopic?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* Types of notifications sent to the Pub/Sub topic. Updating to an empty list
|
|
1181
|
+
* stops all notifications for the account and clears `pubsubTopic`.
|
|
1182
|
+
* @maxSize 10
|
|
1183
|
+
*/
|
|
1184
|
+
notificationTypes?: NotificationTypeWithLiterals[];
|
|
1185
|
+
}
|
|
1186
|
+
/**
|
|
1187
|
+
* A kind of Google Business Profile change that can be published to Pub/Sub.
|
|
1188
|
+
* Values match Google's `NotificationType`. Google's deprecated values (the
|
|
1189
|
+
* discontinued Q&A notifications and `LOSS_OF_MERCHANT_VOICE`) aren't supported.
|
|
1190
|
+
*/
|
|
1191
|
+
declare enum NotificationType {
|
|
1192
|
+
/**
|
|
1193
|
+
* The location has Google updates for review. The notification carries the
|
|
1194
|
+
* location's resource name.
|
|
1195
|
+
*/
|
|
1196
|
+
GOOGLE_UPDATE = "GOOGLE_UPDATE",
|
|
1197
|
+
/**
|
|
1198
|
+
* A new review was added to the location. The notification carries the review
|
|
1199
|
+
* and location resource names.
|
|
1200
|
+
*/
|
|
1201
|
+
NEW_REVIEW = "NEW_REVIEW",
|
|
1202
|
+
/**
|
|
1203
|
+
* A review on the location was updated. The notification carries the review and
|
|
1204
|
+
* location resource names.
|
|
1205
|
+
*/
|
|
1206
|
+
UPDATED_REVIEW = "UPDATED_REVIEW",
|
|
1207
|
+
/**
|
|
1208
|
+
* A Google Maps user added new media to the location. The notification carries
|
|
1209
|
+
* the new media's resource name.
|
|
1210
|
+
*/
|
|
1211
|
+
NEW_CUSTOMER_MEDIA = "NEW_CUSTOMER_MEDIA",
|
|
1212
|
+
/** The duplicate-location field in the location's metadata changed. */
|
|
1213
|
+
DUPLICATE_LOCATION = "DUPLICATE_LOCATION",
|
|
1214
|
+
/**
|
|
1215
|
+
* The location's Voice of Merchant status changed. Voice of Merchant says whether
|
|
1216
|
+
* the location is in good standing and the merchant controls the business on
|
|
1217
|
+
* Google.
|
|
1218
|
+
*/
|
|
1219
|
+
VOICE_OF_MERCHANT_UPDATED = "VOICE_OF_MERCHANT_UPDATED"
|
|
1220
|
+
}
|
|
1221
|
+
/** @enumType */
|
|
1222
|
+
type NotificationTypeWithLiterals = NotificationType | 'GOOGLE_UPDATE' | 'NEW_REVIEW' | 'UPDATED_REVIEW' | 'NEW_CUSTOMER_MEDIA' | 'DUPLICATE_LOCATION' | 'VOICE_OF_MERCHANT_UPDATED';
|
|
1223
|
+
interface UpdateNotificationSettingRequest {
|
|
1224
|
+
/**
|
|
1225
|
+
* The notification setting to apply. `accountId` identifies the account and
|
|
1226
|
+
* `notificationTypes` is the complete list to set.
|
|
1227
|
+
*/
|
|
1228
|
+
notificationSetting: NotificationSetting;
|
|
1229
|
+
/**
|
|
1230
|
+
* Not used yet: every update is a full update, applying `notificationTypes`
|
|
1231
|
+
* as given. Reserved for future partial updates.
|
|
1232
|
+
*/
|
|
1233
|
+
fieldMask?: string[];
|
|
1234
|
+
}
|
|
1235
|
+
interface UpdateNotificationSettingResponse {
|
|
1236
|
+
/** The account's notification setting after the update, as Google returned it. */
|
|
1237
|
+
notificationSetting?: NotificationSetting;
|
|
1238
|
+
}
|
|
1145
1239
|
interface ListReviewsRequest {
|
|
1146
1240
|
/**
|
|
1147
1241
|
* Location ID. This is Google's location identifier.
|
|
@@ -4171,18 +4265,6 @@ interface VerificationOption extends VerificationOptionDataOneOf {
|
|
|
4171
4265
|
addressData?: AddressVerificationData;
|
|
4172
4266
|
/** The verification method. */
|
|
4173
4267
|
method?: VerificationMethodWithLiterals;
|
|
4174
|
-
/**
|
|
4175
|
-
* Deprecated: read the method-specific `data` fields instead.
|
|
4176
|
-
* Flattened display string: the phone number (PHONE_CALL/SMS), the email
|
|
4177
|
-
* address (EMAIL), or a single-line postal address (ADDRESS). Empty for AUTO.
|
|
4178
|
-
* @maxLength 255
|
|
4179
|
-
* @deprecated Deprecated: read the method-specific `data` fields instead.
|
|
4180
|
-
* Flattened display string: the phone number (PHONE_CALL/SMS), the email
|
|
4181
|
-
* address (EMAIL), or a single-line postal address (ADDRESS). Empty for AUTO.
|
|
4182
|
-
* @replacedBy data
|
|
4183
|
-
* @targetRemovalDate 2026-11-30
|
|
4184
|
-
*/
|
|
4185
|
-
displayData?: string;
|
|
4186
4268
|
}
|
|
4187
4269
|
/** @oneof */
|
|
4188
4270
|
interface VerificationOptionDataOneOf {
|
|
@@ -5050,6 +5132,30 @@ type ListUnimportedLocationsApplicationErrors = {
|
|
|
5050
5132
|
data?: Record<string, any>;
|
|
5051
5133
|
};
|
|
5052
5134
|
/** @docsIgnore */
|
|
5135
|
+
type GetNotificationSettingApplicationErrors = {
|
|
5136
|
+
code?: 'CONNECTION_NOT_FOUND';
|
|
5137
|
+
description?: string;
|
|
5138
|
+
data?: Record<string, any>;
|
|
5139
|
+
} | {
|
|
5140
|
+
code?: 'GOOGLE_API_CALL_FAILED';
|
|
5141
|
+
description?: string;
|
|
5142
|
+
data?: GoogleApiCallFailedError;
|
|
5143
|
+
};
|
|
5144
|
+
/** @docsIgnore */
|
|
5145
|
+
type UpdateNotificationSettingApplicationErrors = {
|
|
5146
|
+
code?: 'CONNECTION_NOT_FOUND';
|
|
5147
|
+
description?: string;
|
|
5148
|
+
data?: Record<string, any>;
|
|
5149
|
+
} | {
|
|
5150
|
+
code?: 'INVALID_NOTIFICATION_TYPE';
|
|
5151
|
+
description?: string;
|
|
5152
|
+
data?: Record<string, any>;
|
|
5153
|
+
} | {
|
|
5154
|
+
code?: 'GOOGLE_API_CALL_FAILED';
|
|
5155
|
+
description?: string;
|
|
5156
|
+
data?: GoogleApiCallFailedError;
|
|
5157
|
+
};
|
|
5158
|
+
/** @docsIgnore */
|
|
5053
5159
|
type ListReviewsApplicationErrors = {
|
|
5054
5160
|
code?: 'GOOGLE_API_CALL_FAILED';
|
|
5055
5161
|
description?: string;
|
|
@@ -5908,6 +6014,82 @@ interface ListUnimportedLocationsOptions {
|
|
|
5908
6014
|
*/
|
|
5909
6015
|
paging?: CursorPaging;
|
|
5910
6016
|
}
|
|
6017
|
+
/**
|
|
6018
|
+
* Retrieves a Google Business Profile account's notification setting: the
|
|
6019
|
+
* Pub/Sub topic Google publishes to, and which types of change it publishes.
|
|
6020
|
+
*
|
|
6021
|
+
* Each account has exactly one notification setting. If none was ever set, the
|
|
6022
|
+
* setting comes back with an empty `pubsubTopic` and no `notificationTypes`.
|
|
6023
|
+
*
|
|
6024
|
+
* A Google account must be connected first. See the
|
|
6025
|
+
* [Connection API](https://dev.wix.com/docs/api-reference/business-management/google-business-profile/connection-v1).
|
|
6026
|
+
* @param accountId - GBP Account ID to retrieve the notification setting for.
|
|
6027
|
+
* @public
|
|
6028
|
+
* @documentationMaturity preview
|
|
6029
|
+
* @requiredField accountId
|
|
6030
|
+
* @permissionId gbp:location:v1:gbplocation:get_notification_setting
|
|
6031
|
+
* @applicableIdentity APP
|
|
6032
|
+
* @fqn wix.gbp.location.v1.GbpLocationsService.GetNotificationSetting
|
|
6033
|
+
*/
|
|
6034
|
+
declare function getNotificationSetting(accountId: string): Promise<NonNullablePaths<GetNotificationSettingResponse, `notificationSetting.accountId` | `notificationSetting.pubsubTopic` | `notificationSetting.notificationTypes`, 1> & {
|
|
6035
|
+
__applicationErrorsType?: GetNotificationSettingApplicationErrors;
|
|
6036
|
+
}>;
|
|
6037
|
+
/**
|
|
6038
|
+
* Updates a Google Business Profile account's notification setting.
|
|
6039
|
+
*
|
|
6040
|
+
* `notificationTypes` replaces the whole list. To stop all notifications for the
|
|
6041
|
+
* account, update it to an empty list. That also clears `pubsubTopic`, so the
|
|
6042
|
+
* account is left with no notification setting at all.
|
|
6043
|
+
*
|
|
6044
|
+
* The Pub/Sub topic is set by Wix, so `pubsubTopic` can't be changed here.
|
|
6045
|
+
*
|
|
6046
|
+
* Errors:
|
|
6047
|
+
* - `INVALID_NOTIFICATION_TYPE`: `notificationTypes` contains
|
|
6048
|
+
* `NOTIFICATION_TYPE_UNKNOWN` or a value this API doesn't recognize. Google
|
|
6049
|
+
* isn't called, so the current setting is left as it was.
|
|
6050
|
+
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status and
|
|
6051
|
+
* response are in the error payload.
|
|
6052
|
+
*
|
|
6053
|
+
* A Google account must be connected first. See the
|
|
6054
|
+
* [Connection API](https://dev.wix.com/docs/api-reference/business-management/google-business-profile/connection-v1).
|
|
6055
|
+
* @param accountId - Google GBP Account ID the setting belongs to.
|
|
6056
|
+
* @public
|
|
6057
|
+
* @documentationMaturity preview
|
|
6058
|
+
* @requiredField accountId
|
|
6059
|
+
* @requiredField notificationSetting
|
|
6060
|
+
* @permissionId gbp:location:v1:gbplocation:update_notification_setting
|
|
6061
|
+
* @applicableIdentity APP
|
|
6062
|
+
* @fqn wix.gbp.location.v1.GbpLocationsService.UpdateNotificationSetting
|
|
6063
|
+
*/
|
|
6064
|
+
declare function updateNotificationSetting(accountId: string, notificationSetting: UpdateNotificationSetting, options?: UpdateNotificationSettingOptions): Promise<NonNullablePaths<UpdateNotificationSettingResponse, `notificationSetting.accountId` | `notificationSetting.pubsubTopic` | `notificationSetting.notificationTypes`, 1> & {
|
|
6065
|
+
__applicationErrorsType?: UpdateNotificationSettingApplicationErrors;
|
|
6066
|
+
}>;
|
|
6067
|
+
interface UpdateNotificationSetting {
|
|
6068
|
+
/**
|
|
6069
|
+
* Google Cloud Pub/Sub topic that receives notifications when locations managed
|
|
6070
|
+
* by this account are updated, in the format
|
|
6071
|
+
* `projects/{project_id}/topics/{topic_id}`. When empty, no notifications are
|
|
6072
|
+
* posted.
|
|
6073
|
+
*
|
|
6074
|
+
* Set by Wix on every update; any value you send is ignored.
|
|
6075
|
+
* @maxLength 512
|
|
6076
|
+
* @readonly
|
|
6077
|
+
*/
|
|
6078
|
+
pubsubTopic?: string;
|
|
6079
|
+
/**
|
|
6080
|
+
* Types of notifications sent to the Pub/Sub topic. Updating to an empty list
|
|
6081
|
+
* stops all notifications for the account and clears `pubsubTopic`.
|
|
6082
|
+
* @maxSize 10
|
|
6083
|
+
*/
|
|
6084
|
+
notificationTypes?: NotificationTypeWithLiterals[];
|
|
6085
|
+
}
|
|
6086
|
+
interface UpdateNotificationSettingOptions {
|
|
6087
|
+
/**
|
|
6088
|
+
* Not used yet: every update is a full update, applying `notificationTypes`
|
|
6089
|
+
* as given. Reserved for future partial updates.
|
|
6090
|
+
*/
|
|
6091
|
+
fieldMask?: string[];
|
|
6092
|
+
}
|
|
5911
6093
|
/**
|
|
5912
6094
|
* Retrieves a list of up to 100 reviews for a location, given the provided
|
|
5913
6095
|
* paging and sorting.
|
|
@@ -6479,7 +6661,7 @@ interface ListCategoriesOptions {
|
|
|
6479
6661
|
* @applicableIdentity APP
|
|
6480
6662
|
* @fqn wix.gbp.location.v1.GbpLocationsService.GetVerificationOptions
|
|
6481
6663
|
*/
|
|
6482
|
-
declare function getVerificationOptions(locationId: string, options?: GetVerificationOptions): Promise<NonNullablePaths<GetVerificationOptionsResponse, `options` | `options.${number}.phoneNumber` | `options.${number}.emailData.domain` | `options.${number}.emailData.user` | `options.${number}.emailData.userNameEditable` | `options.${number}.addressData.business` | `options.${number}.addressData.address.countryCode` | `options.${number}.addressData.address.postalCode` | `options.${number}.addressData.address.administrativeArea` | `options.${number}.addressData.address.locality` | `options.${number}.method
|
|
6664
|
+
declare function getVerificationOptions(locationId: string, options?: GetVerificationOptions): Promise<NonNullablePaths<GetVerificationOptionsResponse, `options` | `options.${number}.phoneNumber` | `options.${number}.emailData.domain` | `options.${number}.emailData.user` | `options.${number}.emailData.userNameEditable` | `options.${number}.addressData.business` | `options.${number}.addressData.address.countryCode` | `options.${number}.addressData.address.postalCode` | `options.${number}.addressData.address.administrativeArea` | `options.${number}.addressData.address.locality` | `options.${number}.method`, 4> & {
|
|
6483
6665
|
__applicationErrorsType?: GetVerificationOptionsApplicationErrors;
|
|
6484
6666
|
}>;
|
|
6485
6667
|
interface GetVerificationOptions {
|
|
@@ -6858,4 +7040,4 @@ interface SearchGoogleLocationsOptionsCriteriaOneOf {
|
|
|
6858
7040
|
location?: GoogleLocation;
|
|
6859
7041
|
}
|
|
6860
7042
|
|
|
6861
|
-
export { type Accessibility, type AccountInfo, type ActionEvent, type Activities, AddressFieldType, type AddressFieldTypeWithLiterals, type AddressSchema, type AddressVerificationData, AmenityException, type AmenityExceptionWithLiterals, type ApplicationError, type AttributeMetadata, type AttributeValueMetadata, type AttributeValueMetadataValueOneOf, AttributeValueType, type AttributeValueTypeWithLiterals, BreeamCertification, type BreeamCertificationWithLiterals, type BulkActionMetadata, type BulkCreateLocationResult, type BulkCreateLocationsApplicationErrors, type BulkCreateLocationsOptions, type BulkCreateLocationsRequest, type BulkCreateLocationsResponse, type BulkDeleteLocationResult, type BulkDeleteLocationsRequest, type BulkDeleteLocationsResponse, type Business, type BusinessHours, BusinessType, type BusinessTypeWithLiterals, type CalendarMonth, type Category, type CategoryMetadata, type CategoryRegion, CategoryView, type CategoryViewWithLiterals, type CommonQueryWithEntityContext, type CompleteVerificationApplicationErrors, type CompleteVerificationOptions, type CompleteVerificationRequest, type CompleteVerificationResponse, type Connectivity, type CreateGoogleLocationApplicationErrors, type CreateGoogleLocationOptions, type CreateGoogleLocationRequest, type CreateGoogleLocationResponse, type CreateLocationApplicationErrors, type CreateLocationRequest, type CreateLocationResponse, type CreateMediaApplicationErrors, type CreateMediaOptions, type CreateMediaRequest, type CreateMediaResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, DailyMetric, type DailyMetricValue, type DailyMetricWithLiterals, DayOfWeek, type DayOfWeekWithLiterals, type DeleteGoogleLocationApplicationErrors, type DeleteGoogleLocationRequest, type DeleteGoogleLocationResponse, type DeleteLocationRequest, type DeleteLocationResponse, type DeleteMediaApplicationErrors, type DeleteMediaIdentifiers, type DeleteMediaRequest, type DeleteMediaResponse, type DeleteReviewReplyApplicationErrors, type DeleteReviewReplyIdentifiers, type DeleteReviewReplyRequest, type DeleteReviewReplyResponse, type DomainEvent, type DomainEventBodyOneOf, EcoCertificate, type EcoCertificateWithLiterals, type EcoCertification, type EmailVerificationData, type Empty, type EnergyEfficiency, type EnhancedCleaning, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstablishmentSuggestion, type Families, type FieldViolation, type FoodAndDrink, type FoodMenuResult, type GBPLocation, type GBPLocationQuery, type GBPLocationQuerySpec, type GbpAccount, type GetAddressSchemaByCountryCodeApplicationErrors, type GetAddressSchemaByCountryCodeOptions, type GetAddressSchemaByCountryCodeRequest, type GetAddressSchemaByCountryCodeResponse, type GetGBPLocationRequest, type GetGBPLocationResponse, type GetGoogleLocationRequest, type GetGoogleLocationResponse, type GetLocationAdminsRequest, type GetLocationAdminsResponse, type GetLocationAttributesApplicationErrors, type GetLocationAttributesRequest, type GetLocationAttributesResponse, type GetLocationInsightsOptions, type GetLocationInsightsRequest, type GetLocationInsightsResponse, type GetLocationLodgingApplicationErrors, type GetLocationLodgingRequest, type GetLocationLodgingResponse, type GetVerificationOptions, type GetVerificationOptionsApplicationErrors, type GetVerificationOptionsRequest, type GetVerificationOptionsResponse, type GetVoiceOfMerchantRequest, type GetVoiceOfMerchantResponse, type GoogleApiCallFailedError, type GoogleLocation, type GoogleLocationMatch, type GoogleLocationValidationError, type GuestUnitFeatures, type GuestUnitType, type HealthAndSafety, type Housekeeping, type IdentificationData, type IdentificationDataIdOneOf, type IncreasedFoodSafety, type InsightsMetric, type InsightsTimeRange, type InvalidUpdateMaskError, type InvalidValueJsonError, type InviteAdminToLocationOptions, type InviteAdminToLocationRequest, type InviteAdminToLocationResponse, type ItemMetadata, type LanguageSpoken, type LatLng, LeedCertification, type LeedCertificationWithLiterals, type ListAttributeMetadataApplicationErrors, type ListAttributeMetadataOptions, type ListAttributeMetadataOptionsLookupOneOf, type ListAttributeMetadataRequest, type ListAttributeMetadataRequestLookupOneOf, type ListAttributeMetadataResponse, type ListCategoriesApplicationErrors, type ListCategoriesOptions, type ListCategoriesRequest, type ListCategoriesResponse, type ListGbpAccountsApplicationErrors, type ListGbpAccountsOptions, type ListGbpAccountsRequest, type ListGbpAccountsResponse, type ListMediaApplicationErrors, type ListMediaOptions, type ListMediaRequest, type ListMediaResponse, type ListReviewsApplicationErrors, type ListReviewsOptions, type ListReviewsRequest, type ListReviewsResponse, type ListSearchKeywordImpressionsApplicationErrors, type ListSearchKeywordImpressionsOptions, type ListSearchKeywordImpressionsRequest, type ListSearchKeywordImpressionsResponse, type ListUnimportedLocationsApplicationErrors, type ListUnimportedLocationsOptions, type ListUnimportedLocationsRequest, type ListUnimportedLocationsResponse, type LivingArea, type LivingAreaAccessibility, type LivingAreaEating, type LivingAreaFeatures, type LivingAreaLayout, type LivingAreaSleeping, type LocationAdmin, type LocationAttribute, type LocationDbPersistFailedError, type LocationNotDeletableViaApiError, type LocationWithGoogle, type LocationWithGoogleGoogleResultOneOf, type LocationWithGoogleVoiceOfMerchantResultOneOf, type LocationsQueryBuilder, type LocationsQueryResult, type Lodging, type LodgingMetadata, type LodgingTimeOfDay, MatchStatus, type MatchStatusWithLiterals, MediaCategory, type MediaCategoryWithLiterals, MediaFormat, type MediaFormatWithLiterals, type MediaItem, type MediaItemAttribution, type MessageEnvelope, type Metadata, type MinimizedContact, type MonthlyRange, type MoreHoursType, type OpenInfo, type Parking, type PaymentOptions, type PersonalProtection, type Pets, type PhysicalDistancing, type PlaceInfo, type Policies, type Pools, type PostalAddress, type Profile, type Property, type PutReviewReplyApplicationErrors, type PutReviewReplyIdentifiers, type PutReviewReplyRequest, type PutReviewReplyResponse, type QueryGBPLocationsRequest, type QueryGBPLocationsResponse, type QueryGoogleLocationsOptions, type QueryGoogleLocationsRequest, type QueryGoogleLocationsResponse, RecommendationReason, type RecommendationReasonWithLiterals, type RegionSuggestion, type RestoreInfo, type Review, type ReviewMetrics, type ReviewReply, ReviewSortOrder, type ReviewSortOrderWithLiterals, Role, type RoleWithLiterals, type SearchGoogleLocationsApplicationErrors, type SearchGoogleLocationsOptions, type SearchGoogleLocationsOptionsCriteriaOneOf, type SearchGoogleLocationsRequest, type SearchGoogleLocationsRequestCriteriaOneOf, type SearchGoogleLocationsResponse, type SearchKeywordImpression, type SearchKeywordImpressionImpressionsOneOf, type ServiceArea, type ServiceType, type Services, SortOrder, type SortOrderWithLiterals, type Sorting, type StartVerificationApplicationErrors, type StartVerificationOptions, type StartVerificationRequest, type StartVerificationResponse, State, type StateWithLiterals, Status, type StatusWithLiterals, type SuggestEstablishmentsApplicationErrors, type SuggestEstablishmentsOptions, type SuggestEstablishmentsRequest, type SuggestEstablishmentsResponse, type SuggestRegionsApplicationErrors, type SuggestRegionsOptions, type SuggestRegionsRequest, type SuggestRegionsResponse, type Sustainability, type SustainabilityCertifications, type SustainableSourcing, type TimeOfDay, type Transportation, type UnimportedLocation, UnitTier, type UnitTierWithLiterals, type UpdateGoogleLocationApplicationErrors, type UpdateGoogleLocationOptions, type UpdateGoogleLocationRequest, type UpdateGoogleLocationResponse, type UpdateLocation, type UpdateLocationAttributesApplicationErrors, type UpdateLocationAttributesRequest, type UpdateLocationAttributesResponse, type UpdateLocationFoodMenusApplicationErrors, type UpdateLocationFoodMenusOptions, type UpdateLocationFoodMenusRequest, type UpdateLocationFoodMenusResponse, type UpdateLocationLodgingApplicationErrors, type UpdateLocationLodgingOptions, type UpdateLocationLodgingRequest, type UpdateLocationLodgingResponse, type UpdateLocationRequest, type UpdateLocationResponse, VerificationMethod, type VerificationMethodWithLiterals, type VerificationOption, type VerificationOptionDataOneOf, VerificationState, type VerificationStateWithLiterals, type ViewsFromUnit, type Violation, type VoiceOfMerchantState, type WasteReduction, type WaterConservation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type Wellness, bulkCreateLocations, bulkDeleteLocations, completeVerification, createGoogleLocation, createLocation, createMedia, deleteGoogleLocation, deleteLocation, deleteMedia, deleteReviewReply, getAddressSchemaByCountryCode, getGbpLocation, getGoogleLocation, getLocationAdmins, getLocationAttributes, getLocationInsights, getLocationLodging, getVerificationOptions, getVoiceOfMerchant, inviteAdminToLocation, listAttributeMetadata, listCategories, listGbpAccounts, listMedia, listReviews, listSearchKeywordImpressions, listUnimportedLocations, putReviewReply, queryGbpLocations, queryGoogleLocations, searchGoogleLocations, startVerification, suggestEstablishments, suggestRegions, typedQueryGbpLocations, updateGoogleLocation, updateLocation, updateLocationAttributes, updateLocationFoodMenus, updateLocationLodging, utils };
|
|
7043
|
+
export { type Accessibility, type AccountInfo, type ActionEvent, type Activities, AddressFieldType, type AddressFieldTypeWithLiterals, type AddressSchema, type AddressVerificationData, AmenityException, type AmenityExceptionWithLiterals, type ApplicationError, type AttributeMetadata, type AttributeValueMetadata, type AttributeValueMetadataValueOneOf, AttributeValueType, type AttributeValueTypeWithLiterals, BreeamCertification, type BreeamCertificationWithLiterals, type BulkActionMetadata, type BulkCreateLocationResult, type BulkCreateLocationsApplicationErrors, type BulkCreateLocationsOptions, type BulkCreateLocationsRequest, type BulkCreateLocationsResponse, type BulkDeleteLocationResult, type BulkDeleteLocationsRequest, type BulkDeleteLocationsResponse, type Business, type BusinessHours, BusinessType, type BusinessTypeWithLiterals, type CalendarMonth, type Category, type CategoryMetadata, type CategoryRegion, CategoryView, type CategoryViewWithLiterals, type CommonQueryWithEntityContext, type CompleteVerificationApplicationErrors, type CompleteVerificationOptions, type CompleteVerificationRequest, type CompleteVerificationResponse, type Connectivity, type CreateGoogleLocationApplicationErrors, type CreateGoogleLocationOptions, type CreateGoogleLocationRequest, type CreateGoogleLocationResponse, type CreateLocationApplicationErrors, type CreateLocationRequest, type CreateLocationResponse, type CreateMediaApplicationErrors, type CreateMediaOptions, type CreateMediaRequest, type CreateMediaResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, DailyMetric, type DailyMetricValue, type DailyMetricWithLiterals, DayOfWeek, type DayOfWeekWithLiterals, type DeleteGoogleLocationApplicationErrors, type DeleteGoogleLocationRequest, type DeleteGoogleLocationResponse, type DeleteLocationRequest, type DeleteLocationResponse, type DeleteMediaApplicationErrors, type DeleteMediaIdentifiers, type DeleteMediaRequest, type DeleteMediaResponse, type DeleteReviewReplyApplicationErrors, type DeleteReviewReplyIdentifiers, type DeleteReviewReplyRequest, type DeleteReviewReplyResponse, type DomainEvent, type DomainEventBodyOneOf, EcoCertificate, type EcoCertificateWithLiterals, type EcoCertification, type EmailVerificationData, type Empty, type EnergyEfficiency, type EnhancedCleaning, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstablishmentSuggestion, type Families, type FieldViolation, type FoodAndDrink, type FoodMenuResult, type GBPLocation, type GBPLocationQuery, type GBPLocationQuerySpec, type GbpAccount, type GetAddressSchemaByCountryCodeApplicationErrors, type GetAddressSchemaByCountryCodeOptions, type GetAddressSchemaByCountryCodeRequest, type GetAddressSchemaByCountryCodeResponse, type GetGBPLocationRequest, type GetGBPLocationResponse, type GetGoogleLocationRequest, type GetGoogleLocationResponse, type GetLocationAdminsRequest, type GetLocationAdminsResponse, type GetLocationAttributesApplicationErrors, type GetLocationAttributesRequest, type GetLocationAttributesResponse, type GetLocationInsightsOptions, type GetLocationInsightsRequest, type GetLocationInsightsResponse, type GetLocationLodgingApplicationErrors, type GetLocationLodgingRequest, type GetLocationLodgingResponse, type GetNotificationSettingApplicationErrors, type GetNotificationSettingRequest, type GetNotificationSettingResponse, type GetVerificationOptions, type GetVerificationOptionsApplicationErrors, type GetVerificationOptionsRequest, type GetVerificationOptionsResponse, type GetVoiceOfMerchantRequest, type GetVoiceOfMerchantResponse, type GoogleApiCallFailedError, type GoogleLocation, type GoogleLocationMatch, type GoogleLocationValidationError, type GuestUnitFeatures, type GuestUnitType, type HealthAndSafety, type Housekeeping, type IdentificationData, type IdentificationDataIdOneOf, type IncreasedFoodSafety, type InsightsMetric, type InsightsTimeRange, type InvalidUpdateMaskError, type InvalidValueJsonError, type InviteAdminToLocationOptions, type InviteAdminToLocationRequest, type InviteAdminToLocationResponse, type ItemMetadata, type LanguageSpoken, type LatLng, LeedCertification, type LeedCertificationWithLiterals, type ListAttributeMetadataApplicationErrors, type ListAttributeMetadataOptions, type ListAttributeMetadataOptionsLookupOneOf, type ListAttributeMetadataRequest, type ListAttributeMetadataRequestLookupOneOf, type ListAttributeMetadataResponse, type ListCategoriesApplicationErrors, type ListCategoriesOptions, type ListCategoriesRequest, type ListCategoriesResponse, type ListGbpAccountsApplicationErrors, type ListGbpAccountsOptions, type ListGbpAccountsRequest, type ListGbpAccountsResponse, type ListMediaApplicationErrors, type ListMediaOptions, type ListMediaRequest, type ListMediaResponse, type ListReviewsApplicationErrors, type ListReviewsOptions, type ListReviewsRequest, type ListReviewsResponse, type ListSearchKeywordImpressionsApplicationErrors, type ListSearchKeywordImpressionsOptions, type ListSearchKeywordImpressionsRequest, type ListSearchKeywordImpressionsResponse, type ListUnimportedLocationsApplicationErrors, type ListUnimportedLocationsOptions, type ListUnimportedLocationsRequest, type ListUnimportedLocationsResponse, type LivingArea, type LivingAreaAccessibility, type LivingAreaEating, type LivingAreaFeatures, type LivingAreaLayout, type LivingAreaSleeping, type LocationAdmin, type LocationAttribute, type LocationDbPersistFailedError, type LocationNotDeletableViaApiError, type LocationWithGoogle, type LocationWithGoogleGoogleResultOneOf, type LocationWithGoogleVoiceOfMerchantResultOneOf, type LocationsQueryBuilder, type LocationsQueryResult, type Lodging, type LodgingMetadata, type LodgingTimeOfDay, MatchStatus, type MatchStatusWithLiterals, MediaCategory, type MediaCategoryWithLiterals, MediaFormat, type MediaFormatWithLiterals, type MediaItem, type MediaItemAttribution, type MessageEnvelope, type Metadata, type MinimizedContact, type MonthlyRange, type MoreHoursType, type NotificationSetting, NotificationType, type NotificationTypeWithLiterals, type OpenInfo, type Parking, type PaymentOptions, type PersonalProtection, type Pets, type PhysicalDistancing, type PlaceInfo, type Policies, type Pools, type PostalAddress, type Profile, type Property, type PutReviewReplyApplicationErrors, type PutReviewReplyIdentifiers, type PutReviewReplyRequest, type PutReviewReplyResponse, type QueryGBPLocationsRequest, type QueryGBPLocationsResponse, type QueryGoogleLocationsOptions, type QueryGoogleLocationsRequest, type QueryGoogleLocationsResponse, RecommendationReason, type RecommendationReasonWithLiterals, type RegionSuggestion, type RestoreInfo, type Review, type ReviewMetrics, type ReviewReply, ReviewSortOrder, type ReviewSortOrderWithLiterals, Role, type RoleWithLiterals, type SearchGoogleLocationsApplicationErrors, type SearchGoogleLocationsOptions, type SearchGoogleLocationsOptionsCriteriaOneOf, type SearchGoogleLocationsRequest, type SearchGoogleLocationsRequestCriteriaOneOf, type SearchGoogleLocationsResponse, type SearchKeywordImpression, type SearchKeywordImpressionImpressionsOneOf, type ServiceArea, type ServiceType, type Services, SortOrder, type SortOrderWithLiterals, type Sorting, type StartVerificationApplicationErrors, type StartVerificationOptions, type StartVerificationRequest, type StartVerificationResponse, State, type StateWithLiterals, Status, type StatusWithLiterals, type SuggestEstablishmentsApplicationErrors, type SuggestEstablishmentsOptions, type SuggestEstablishmentsRequest, type SuggestEstablishmentsResponse, type SuggestRegionsApplicationErrors, type SuggestRegionsOptions, type SuggestRegionsRequest, type SuggestRegionsResponse, type Sustainability, type SustainabilityCertifications, type SustainableSourcing, type TimeOfDay, type Transportation, type UnimportedLocation, UnitTier, type UnitTierWithLiterals, type UpdateGoogleLocationApplicationErrors, type UpdateGoogleLocationOptions, type UpdateGoogleLocationRequest, type UpdateGoogleLocationResponse, type UpdateLocation, type UpdateLocationAttributesApplicationErrors, type UpdateLocationAttributesRequest, type UpdateLocationAttributesResponse, type UpdateLocationFoodMenusApplicationErrors, type UpdateLocationFoodMenusOptions, type UpdateLocationFoodMenusRequest, type UpdateLocationFoodMenusResponse, type UpdateLocationLodgingApplicationErrors, type UpdateLocationLodgingOptions, type UpdateLocationLodgingRequest, type UpdateLocationLodgingResponse, type UpdateLocationRequest, type UpdateLocationResponse, type UpdateNotificationSetting, type UpdateNotificationSettingApplicationErrors, type UpdateNotificationSettingOptions, type UpdateNotificationSettingRequest, type UpdateNotificationSettingResponse, VerificationMethod, type VerificationMethodWithLiterals, type VerificationOption, type VerificationOptionDataOneOf, VerificationState, type VerificationStateWithLiterals, type ViewsFromUnit, type Violation, type VoiceOfMerchantState, type WasteReduction, type WaterConservation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type Wellness, bulkCreateLocations, bulkDeleteLocations, completeVerification, createGoogleLocation, createLocation, createMedia, deleteGoogleLocation, deleteLocation, deleteMedia, deleteReviewReply, getAddressSchemaByCountryCode, getGbpLocation, getGoogleLocation, getLocationAdmins, getLocationAttributes, getLocationInsights, getLocationLodging, getNotificationSetting, getVerificationOptions, getVoiceOfMerchant, inviteAdminToLocation, listAttributeMetadata, listCategories, listGbpAccounts, listMedia, listReviews, listSearchKeywordImpressions, listUnimportedLocations, putReviewReply, queryGbpLocations, queryGoogleLocations, searchGoogleLocations, startVerification, suggestEstablishments, suggestRegions, typedQueryGbpLocations, updateGoogleLocation, updateLocation, updateLocationAttributes, updateLocationFoodMenus, updateLocationLodging, updateNotificationSetting, utils };
|