@wix/auto_sdk_gbp_locations 1.0.9 → 1.0.11
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 +41 -35
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +55 -38
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +41 -35
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +55 -38
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +42 -36
- package/build/internal/cjs/index.typings.d.ts +56 -39
- package/build/internal/cjs/meta.d.ts +13 -2
- package/build/internal/es/index.d.mts +42 -36
- package/build/internal/es/index.typings.d.mts +56 -39
- package/build/internal/es/meta.d.mts +13 -2
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ interface GetGbpLocationSignature {
|
|
|
14
14
|
* @param - ID of the location to retrieve. This is Google's location identifier.
|
|
15
15
|
* @returns The retrieved location.
|
|
16
16
|
*/
|
|
17
|
-
(locationId: string): Promise<NonNullablePaths<GBPLocation, `_id` | `accountId` | `serviceAreaPostalAddress.countryCode` | `serviceAreaPostalAddress.postalCode` | `serviceAreaPostalAddress.administrativeArea` | `serviceAreaPostalAddress.locality` | `serviceAreaPostalAddress.addressLines` | `revision` | `googleLocationId`,
|
|
17
|
+
(locationId: string): Promise<NonNullablePaths<GBPLocation, `_id` | `accountId` | `serviceAreaPostalAddress.countryCode` | `serviceAreaPostalAddress.postalCode` | `serviceAreaPostalAddress.administrativeArea` | `serviceAreaPostalAddress.locality` | `serviceAreaPostalAddress.addressLines` | `revision` | `googleLocationId`, 1>>;
|
|
18
18
|
}
|
|
19
19
|
declare function queryGoogleLocations$1(httpClient: HttpClient): QueryGoogleLocationsSignature;
|
|
20
20
|
interface QueryGoogleLocationsSignature {
|
|
@@ -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}.googleLocation.metadata.mapsUri` | `locations.${number}.googleLocation.metadata.canHaveFoodMenus` | `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`,
|
|
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}.googleLocation.metadata.canHaveFoodMenus` | `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`, 4>>;
|
|
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.googleLocation.metadata.mapsUri` | `location.googleLocation.metadata.canHaveFoodMenus` | `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`,
|
|
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.googleLocation.metadata.canHaveFoodMenus` | `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`, 5>>;
|
|
58
58
|
}
|
|
59
59
|
declare function createLocation$1(httpClient: HttpClient): CreateLocationSignature;
|
|
60
60
|
interface CreateLocationSignature {
|
|
@@ -77,7 +77,7 @@ interface CreateLocationSignature {
|
|
|
77
77
|
* too, because it identifies which Google account holds the listing.
|
|
78
78
|
* @returns The created location.
|
|
79
79
|
*/
|
|
80
|
-
(location: NonNullablePaths<GBPLocation, `_id` | `accountId`,
|
|
80
|
+
(location: NonNullablePaths<GBPLocation, `_id` | `accountId`, 0>): Promise<NonNullablePaths<GBPLocation, `_id` | `accountId` | `serviceAreaPostalAddress.countryCode` | `serviceAreaPostalAddress.postalCode` | `serviceAreaPostalAddress.administrativeArea` | `serviceAreaPostalAddress.locality` | `serviceAreaPostalAddress.addressLines` | `revision` | `googleLocationId`, 1> & {
|
|
81
81
|
__applicationErrorsType?: CreateLocationApplicationErrors;
|
|
82
82
|
}>;
|
|
83
83
|
}
|
|
@@ -96,7 +96,7 @@ interface UpdateLocationSignature {
|
|
|
96
96
|
* @param - Google's opaque location identifier on the public API.
|
|
97
97
|
* @returns The updated location.
|
|
98
98
|
*/
|
|
99
|
-
(_id: string, location: UpdateLocation): Promise<NonNullablePaths<GBPLocation, `_id` | `accountId` | `serviceAreaPostalAddress.countryCode` | `serviceAreaPostalAddress.postalCode` | `serviceAreaPostalAddress.administrativeArea` | `serviceAreaPostalAddress.locality` | `serviceAreaPostalAddress.addressLines` | `revision` | `googleLocationId`,
|
|
99
|
+
(_id: string, location: UpdateLocation): Promise<NonNullablePaths<GBPLocation, `_id` | `accountId` | `serviceAreaPostalAddress.countryCode` | `serviceAreaPostalAddress.postalCode` | `serviceAreaPostalAddress.administrativeArea` | `serviceAreaPostalAddress.locality` | `serviceAreaPostalAddress.addressLines` | `revision` | `googleLocationId`, 1>>;
|
|
100
100
|
}
|
|
101
101
|
declare function deleteLocation$1(httpClient: HttpClient): DeleteLocationSignature;
|
|
102
102
|
interface DeleteLocationSignature {
|
|
@@ -151,7 +151,7 @@ interface CreateGoogleLocationSignature {
|
|
|
151
151
|
* @param - GBP account id (numeric, no "accounts/" prefix). The server forms the
|
|
152
152
|
* Google resource name as "accounts/{account_id}".
|
|
153
153
|
*/
|
|
154
|
-
(accountId: string, options?: NonNullablePaths<CreateGoogleLocationOptions, `location` | `location.languageCode` | `location.primaryCategory` | `location.primaryCategory._id` | `location.title`,
|
|
154
|
+
(accountId: string, options?: NonNullablePaths<CreateGoogleLocationOptions, `location` | `location.languageCode` | `location.primaryCategory` | `location.primaryCategory._id` | `location.title`, 2>): Promise<NonNullablePaths<CreateGoogleLocationResponse, `location._id` | `location.accountId` | `location.serviceAreaPostalAddress.countryCode` | `location.serviceAreaPostalAddress.postalCode` | `location.serviceAreaPostalAddress.administrativeArea` | `location.serviceAreaPostalAddress.locality` | `location.serviceAreaPostalAddress.addressLines` | `location.revision` | `location.googleLocationId`, 2> & {
|
|
155
155
|
__applicationErrorsType?: CreateGoogleLocationApplicationErrors;
|
|
156
156
|
}>;
|
|
157
157
|
}
|
|
@@ -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`,
|
|
245
|
+
(locationId: string, location: GoogleLocation, options: NonNullablePaths<UpdateGoogleLocationOptions, `fieldMask`, 0>): 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` | `location.metadata.canHaveFoodMenus`, 4> & {
|
|
246
246
|
__applicationErrorsType?: UpdateGoogleLocationApplicationErrors;
|
|
247
247
|
}>;
|
|
248
248
|
}
|
|
@@ -264,7 +264,7 @@ interface BulkCreateLocationsSignature {
|
|
|
264
264
|
* To import a single location, call Create Location.
|
|
265
265
|
* @param - The locations to record for this site. Set `id` and `accountId` on each.
|
|
266
266
|
*/
|
|
267
|
-
(locations: GBPLocation[], options?: BulkCreateLocationsOptions): Promise<NonNullablePaths<BulkCreateLocationsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item._id` | `results.${number}.item.accountId` | `results.${number}.item.serviceAreaPostalAddress.countryCode` | `results.${number}.item.serviceAreaPostalAddress.postalCode` | `results.${number}.item.serviceAreaPostalAddress.administrativeArea` | `results.${number}.item.serviceAreaPostalAddress.locality` | `results.${number}.item.revision` | `results.${number}.item.googleLocationId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`,
|
|
267
|
+
(locations: GBPLocation[], options?: BulkCreateLocationsOptions): Promise<NonNullablePaths<BulkCreateLocationsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item._id` | `results.${number}.item.accountId` | `results.${number}.item.serviceAreaPostalAddress.countryCode` | `results.${number}.item.serviceAreaPostalAddress.postalCode` | `results.${number}.item.serviceAreaPostalAddress.administrativeArea` | `results.${number}.item.serviceAreaPostalAddress.locality` | `results.${number}.item.revision` | `results.${number}.item.googleLocationId` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4> & {
|
|
268
268
|
__applicationErrorsType?: BulkCreateLocationsApplicationErrors;
|
|
269
269
|
}>;
|
|
270
270
|
}
|
|
@@ -284,7 +284,7 @@ interface BulkDeleteLocationsSignature {
|
|
|
284
284
|
* status.
|
|
285
285
|
* @param - IDs of the locations to delete. These are Google's location identifiers.
|
|
286
286
|
*/
|
|
287
|
-
(locationIds: string[]): Promise<NonNullablePaths<BulkDeleteLocationsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`,
|
|
287
|
+
(locationIds: string[]): Promise<NonNullablePaths<BulkDeleteLocationsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
|
|
288
288
|
}
|
|
289
289
|
declare function listGbpAccounts$1(httpClient: HttpClient): ListGbpAccountsSignature;
|
|
290
290
|
interface ListGbpAccountsSignature {
|
|
@@ -299,7 +299,7 @@ interface ListGbpAccountsSignature {
|
|
|
299
299
|
* A Google account must be connected first. See the
|
|
300
300
|
* [Connection API](https://dev.wix.com/docs/api-reference/business-management/google-business-profile/connection-v1).
|
|
301
301
|
*/
|
|
302
|
-
(options?: ListGbpAccountsOptions): Promise<NonNullablePaths<ListGbpAccountsResponse, `accounts` | `accounts.${number}.accountId` | `accounts.${number}.displayName` | `accounts.${number}.accountType`,
|
|
302
|
+
(options?: ListGbpAccountsOptions): Promise<NonNullablePaths<ListGbpAccountsResponse, `accounts` | `accounts.${number}.accountId` | `accounts.${number}.displayName` | `accounts.${number}.accountType`, 2> & {
|
|
303
303
|
__applicationErrorsType?: ListGbpAccountsApplicationErrors;
|
|
304
304
|
}>;
|
|
305
305
|
}
|
|
@@ -316,7 +316,7 @@ interface ListUnimportedLocationsSignature {
|
|
|
316
316
|
* [Connection API](https://dev.wix.com/docs/api-reference/business-management/google-business-profile/connection-v1).
|
|
317
317
|
* @param - GBP Account ID to list locations for.
|
|
318
318
|
*/
|
|
319
|
-
(accountId: string, options?: ListUnimportedLocationsOptions): Promise<NonNullablePaths<ListUnimportedLocationsResponse, `locations` | `locations.${number}.googleLocationId` | `locations.${number}.title` | `locations.${number}.storefrontAddress.countryCode` | `locations.${number}.storefrontAddress.postalCode` | `locations.${number}.storefrontAddress.administrativeArea` | `locations.${number}.storefrontAddress.locality` | `locations.${number}.serviceArea.businessType` | `locations.${number}.serviceArea.regionCode`,
|
|
319
|
+
(accountId: string, options?: ListUnimportedLocationsOptions): Promise<NonNullablePaths<ListUnimportedLocationsResponse, `locations` | `locations.${number}.googleLocationId` | `locations.${number}.title` | `locations.${number}.storefrontAddress.countryCode` | `locations.${number}.storefrontAddress.postalCode` | `locations.${number}.storefrontAddress.administrativeArea` | `locations.${number}.storefrontAddress.locality` | `locations.${number}.serviceArea.businessType` | `locations.${number}.serviceArea.regionCode`, 3> & {
|
|
320
320
|
__applicationErrorsType?: ListUnimportedLocationsApplicationErrors;
|
|
321
321
|
}>;
|
|
322
322
|
}
|
|
@@ -335,7 +335,7 @@ interface ListReviewsSignature {
|
|
|
335
335
|
* Those cover every review on the profile, not just the current page.
|
|
336
336
|
* @param - Location ID. This is Google's location identifier.
|
|
337
337
|
*/
|
|
338
|
-
(locationId: string, options?: ListReviewsOptions): Promise<NonNullablePaths<ListReviewsResponse, `reviews` | `reviews.${number}.reviewId` | `reviews.${number}.starRating` | `reviews.${number}.comment` | `reviews.${number}.createTime` | `reviews.${number}.reviewerDisplayName` | `reviews.${number}.anonymousReviewer` | `reviews.${number}.reply.text` | `reviews.${number}.reply.updateTime` | `metrics.averageRating` | `metrics.totalReviewCount`,
|
|
338
|
+
(locationId: string, options?: ListReviewsOptions): Promise<NonNullablePaths<ListReviewsResponse, `reviews` | `reviews.${number}.reviewId` | `reviews.${number}.starRating` | `reviews.${number}.comment` | `reviews.${number}.createTime` | `reviews.${number}.reviewerDisplayName` | `reviews.${number}.anonymousReviewer` | `reviews.${number}.reply.text` | `reviews.${number}.reply.updateTime` | `metrics.averageRating` | `metrics.totalReviewCount`, 3> & {
|
|
339
339
|
__applicationErrorsType?: ListReviewsApplicationErrors;
|
|
340
340
|
}>;
|
|
341
341
|
}
|
|
@@ -349,7 +349,7 @@ interface PutReviewReplySignature {
|
|
|
349
349
|
* next to the review, attributed to the business.
|
|
350
350
|
* @param - Reply text to post or replace.
|
|
351
351
|
*/
|
|
352
|
-
(identifiers: NonNullablePaths<PutReviewReplyIdentifiers, `locationId` | `reviewId`,
|
|
352
|
+
(identifiers: NonNullablePaths<PutReviewReplyIdentifiers, `locationId` | `reviewId`, 0>, text: string): Promise<NonNullablePaths<PutReviewReplyResponse, `reply.text` | `reply.updateTime`, 1> & {
|
|
353
353
|
__applicationErrorsType?: PutReviewReplyApplicationErrors;
|
|
354
354
|
}>;
|
|
355
355
|
}
|
|
@@ -361,7 +361,7 @@ interface DeleteReviewReplySignature {
|
|
|
361
361
|
* The review itself isn't affected. Reviews belong to Google and can't be
|
|
362
362
|
* deleted through this API.
|
|
363
363
|
*/
|
|
364
|
-
(identifiers: NonNullablePaths<DeleteReviewReplyIdentifiers, `locationId` | `reviewId`,
|
|
364
|
+
(identifiers: NonNullablePaths<DeleteReviewReplyIdentifiers, `locationId` | `reviewId`, 0>): Promise<void & {
|
|
365
365
|
__applicationErrorsType?: DeleteReviewReplyApplicationErrors;
|
|
366
366
|
}>;
|
|
367
367
|
}
|
|
@@ -390,7 +390,7 @@ interface ListMediaSignature {
|
|
|
390
390
|
* response are in the error payload.
|
|
391
391
|
* @param - Location ID. This is Google's location identifier.
|
|
392
392
|
*/
|
|
393
|
-
(locationId: string, options?: ListMediaOptions): Promise<NonNullablePaths<ListMediaResponse, `mediaItems` | `mediaItems.${number}.mediaKey` | `mediaItems.${number}.format` | `mediaItems.${number}.googleUrl` | `mediaItems.${number}.category` | `mediaItems.${number}.thumbnailUrl` | `mediaItems.${number}.description` | `mediaItems.${number}.sourceUrl` | `mediaItems.${number}.attribution.profileName` | `mediaItems.${number}.attribution.profilePhotoUrl` | `mediaItems.${number}.attribution.takedownUrl` | `mediaItems.${number}.attribution.profileUrl`,
|
|
393
|
+
(locationId: string, options?: ListMediaOptions): Promise<NonNullablePaths<ListMediaResponse, `mediaItems` | `mediaItems.${number}.mediaKey` | `mediaItems.${number}.format` | `mediaItems.${number}.googleUrl` | `mediaItems.${number}.category` | `mediaItems.${number}.thumbnailUrl` | `mediaItems.${number}.description` | `mediaItems.${number}.sourceUrl` | `mediaItems.${number}.attribution.profileName` | `mediaItems.${number}.attribution.profilePhotoUrl` | `mediaItems.${number}.attribution.takedownUrl` | `mediaItems.${number}.attribution.profileUrl`, 3> & {
|
|
394
394
|
__applicationErrorsType?: ListMediaApplicationErrors;
|
|
395
395
|
}>;
|
|
396
396
|
}
|
|
@@ -427,7 +427,7 @@ interface CreateMediaSignature {
|
|
|
427
427
|
* @param - Publicly accessible URL of the media file to add. Google fetches the bytes
|
|
428
428
|
* from this URL server-side, so it must be reachable without auth.
|
|
429
429
|
*/
|
|
430
|
-
(locationId: string, sourceUrl: string, options: NonNullablePaths<CreateMediaOptions, `category` | `format`,
|
|
430
|
+
(locationId: string, sourceUrl: string, options: NonNullablePaths<CreateMediaOptions, `category` | `format`, 0>): Promise<NonNullablePaths<CreateMediaResponse, `mediaItem.mediaKey` | `mediaItem.format` | `mediaItem.googleUrl` | `mediaItem.category` | `mediaItem.thumbnailUrl` | `mediaItem.description` | `mediaItem.sourceUrl` | `mediaItem.attribution.profileName` | `mediaItem.attribution.profilePhotoUrl` | `mediaItem.attribution.takedownUrl` | `mediaItem.attribution.profileUrl`, 2> & {
|
|
431
431
|
__applicationErrorsType?: CreateMediaApplicationErrors;
|
|
432
432
|
}>;
|
|
433
433
|
}
|
|
@@ -455,7 +455,7 @@ interface DeleteMediaSignature {
|
|
|
455
455
|
* A malformed media key, or one belonging to a different location, also comes
|
|
456
456
|
* back as `GOOGLE_API_CALL_FAILED` rather than `NOT_FOUND`.
|
|
457
457
|
*/
|
|
458
|
-
(identifiers: NonNullablePaths<DeleteMediaIdentifiers, `locationId` | `mediaKey`,
|
|
458
|
+
(identifiers: NonNullablePaths<DeleteMediaIdentifiers, `locationId` | `mediaKey`, 0>): Promise<void & {
|
|
459
459
|
__applicationErrorsType?: DeleteMediaApplicationErrors;
|
|
460
460
|
}>;
|
|
461
461
|
}
|
|
@@ -499,7 +499,7 @@ interface UpdateLocationAttributesSignature {
|
|
|
499
499
|
* listing is left alone. An entry with a `valueJson` sets that attribute, and
|
|
500
500
|
* an entry with an empty `valueJson` deletes it.
|
|
501
501
|
*/
|
|
502
|
-
(locationId: string, attributes: LocationAttribute[]): Promise<NonNullablePaths<UpdateLocationAttributesResponse, `attributes` | `attributes.${number}.attributeId` | `attributes.${number}.valueJson`,
|
|
502
|
+
(locationId: string, attributes: LocationAttribute[]): Promise<NonNullablePaths<UpdateLocationAttributesResponse, `attributes` | `attributes.${number}.attributeId` | `attributes.${number}.valueJson`, 2> & {
|
|
503
503
|
__applicationErrorsType?: UpdateLocationAttributesApplicationErrors;
|
|
504
504
|
}>;
|
|
505
505
|
}
|
|
@@ -518,7 +518,7 @@ interface GetLocationAttributesSignature {
|
|
|
518
518
|
* response are in the error payload.
|
|
519
519
|
* @param - Location ID. This is Google's location identifier.
|
|
520
520
|
*/
|
|
521
|
-
(locationId: string): Promise<NonNullablePaths<GetLocationAttributesResponse, `attributes` | `attributes.${number}.attributeId` | `attributes.${number}.valueJson`,
|
|
521
|
+
(locationId: string): Promise<NonNullablePaths<GetLocationAttributesResponse, `attributes` | `attributes.${number}.attributeId` | `attributes.${number}.valueJson`, 2> & {
|
|
522
522
|
__applicationErrorsType?: GetLocationAttributesApplicationErrors;
|
|
523
523
|
}>;
|
|
524
524
|
}
|
|
@@ -534,11 +534,14 @@ interface GetLocationLodgingSignature {
|
|
|
534
534
|
*
|
|
535
535
|
* Errors:
|
|
536
536
|
* - `NOT_FOUND`: the location isn't recorded for this site. Google isn't called.
|
|
537
|
+
* - `LODGING_NOT_OPERABLE`: the location isn't a lodging business, so Google holds
|
|
538
|
+
* no lodging data for it. Check `metadata.canOperateLodgingData` on the location
|
|
539
|
+
* first. Retrying won't help.
|
|
537
540
|
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status and
|
|
538
541
|
* response are in the error payload.
|
|
539
542
|
* @param - Location ID. This is Google's location identifier.
|
|
540
543
|
*/
|
|
541
|
-
(locationId: string): Promise<NonNullablePaths<GetLocationLodgingResponse, `lodging.accessibility.mobilityAccessibleElevatorException` | `lodging.accessibility.mobilityAccessibleException` | `lodging.accessibility.mobilityAccessibleParkingException` | `lodging.accessibility.mobilityAccessiblePoolException` | `lodging.activities.beachAccessException` | `lodging.activities.beachFrontException` | `lodging.activities.bicycleRentalException` | `lodging.activities.boutiqueStoresException` | `lodging.activities.casinoException` | `lodging.activities.freeBicycleRentalException` | `lodging.activities.freeWatercraftRentalException` | `lodging.activities.gameRoomException` | `lodging.activities.golfException` | `lodging.activities.horsebackRidingException` | `lodging.activities.nightclubException` | `lodging.activities.privateBeachException` | `lodging.activities.scubaException` | `lodging.activities.snorkelingException` | `lodging.activities.tennisException` | `lodging.activities.waterSkiingException` | `lodging.activities.watercraftRentalException` | `lodging.allUnits.bungalowOrVillaException` | `lodging.allUnits.connectingUnitAvailableException` | `lodging.allUnits.executiveFloorException` | `lodging.allUnits.maxAdultOccupantsCountException` | `lodging.allUnits.maxChildOccupantsCountException` | `lodging.allUnits.maxOccupantsCountException` | `lodging.allUnits.privateHomeException` | `lodging.allUnits.suiteException` | `lodging.allUnits.tier` | `lodging.allUnits.tierException` | `lodging.allUnits.totalLivingAreas.accessibility.adaCompliantUnitException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleDoorbellException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleFireAlarmException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleUnitException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleBathtubException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleShowerException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleToiletException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleUnitException` | `lodging.allUnits.totalLivingAreas.eating.coffeeMakerException` | `lodging.allUnits.totalLivingAreas.eating.cookwareException` | `lodging.allUnits.totalLivingAreas.eating.dishwasherException` | `lodging.allUnits.totalLivingAreas.eating.indoorGrillException` | `lodging.allUnits.totalLivingAreas.eating.kettleException` | `lodging.allUnits.totalLivingAreas.eating.kitchenAvailableException` | `lodging.allUnits.totalLivingAreas.eating.microwaveException` | `lodging.allUnits.totalLivingAreas.eating.minibarException` | `lodging.allUnits.totalLivingAreas.eating.outdoorGrillException` | `lodging.allUnits.totalLivingAreas.eating.ovenException` | `lodging.allUnits.totalLivingAreas.eating.refrigeratorException` | `lodging.allUnits.totalLivingAreas.eating.sinkException` | `lodging.allUnits.totalLivingAreas.eating.snackbarException` | `lodging.allUnits.totalLivingAreas.eating.stoveException` | `lodging.allUnits.totalLivingAreas.eating.teaStationException` | `lodging.allUnits.totalLivingAreas.eating.toasterException` | `lodging.allUnits.totalLivingAreas.features.airConditioningException` | `lodging.allUnits.totalLivingAreas.features.bathtubException` | `lodging.allUnits.totalLivingAreas.features.bidetException` | `lodging.allUnits.totalLivingAreas.features.dryerException` | `lodging.allUnits.totalLivingAreas.features.electronicRoomKeyException` | `lodging.allUnits.totalLivingAreas.features.fireplaceException` | `lodging.allUnits.totalLivingAreas.features.hairdryerException` | `lodging.allUnits.totalLivingAreas.features.heatingException` | `lodging.allUnits.totalLivingAreas.features.inunitSafeException` | `lodging.allUnits.totalLivingAreas.features.inunitWifiAvailableException` | `lodging.allUnits.totalLivingAreas.features.ironingEquipmentException` | `lodging.allUnits.totalLivingAreas.features.payPerViewMoviesException` | `lodging.allUnits.totalLivingAreas.features.privateBathroomException` | `lodging.allUnits.totalLivingAreas.features.showerException` | `lodging.allUnits.totalLivingAreas.features.toiletException` | `lodging.allUnits.totalLivingAreas.features.tvCastingException` | `lodging.allUnits.totalLivingAreas.features.tvException` | `lodging.allUnits.totalLivingAreas.features.tvStreamingException` | `lodging.allUnits.totalLivingAreas.features.universalPowerAdaptersException` | `lodging.allUnits.totalLivingAreas.features.washerException` | `lodging.allUnits.totalLivingAreas.layout.balconyException` | `lodging.allUnits.totalLivingAreas.layout.livingAreaSqMetersException` | `lodging.allUnits.totalLivingAreas.layout.loftException` | `lodging.allUnits.totalLivingAreas.layout.nonSmokingException` | `lodging.allUnits.totalLivingAreas.layout.patioException` | `lodging.allUnits.totalLivingAreas.layout.stairsException` | `lodging.allUnits.totalLivingAreas.sleeping.bedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.bunkBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.cribsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.doubleBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.featherPillowsException` | `lodging.allUnits.totalLivingAreas.sleeping.hypoallergenicBeddingException` | `lodging.allUnits.totalLivingAreas.sleeping.kingBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.memoryFoamPillowsException` | `lodging.allUnits.totalLivingAreas.sleeping.otherBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.queenBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.rollAwayBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.singleOrTwinBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.sofaBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.syntheticPillowsException` | `lodging.allUnits.views.beachViewException` | `lodging.allUnits.views.cityViewException` | `lodging.allUnits.views.gardenViewException` | `lodging.allUnits.views.lakeViewException` | `lodging.allUnits.views.landmarkViewException` | `lodging.allUnits.views.oceanViewException` | `lodging.allUnits.views.poolViewException` | `lodging.allUnits.views.valleyViewException` | `lodging.business.businessCenterException` | `lodging.business.meetingRoomsCountException` | `lodging.business.meetingRoomsException` | `lodging.connectivity.freeWifiException` | `lodging.connectivity.publicAreaWifiAvailableException` | `lodging.connectivity.publicInternetTerminalException` | `lodging.connectivity.wifiAvailableException` | `lodging.families.babysittingException` | `lodging.families.kidsActivitiesException` | `lodging.families.kidsClubException` | `lodging.families.kidsFriendlyException` | `lodging.foodAndDrink.barException` | `lodging.foodAndDrink.breakfastAvailableException` | `lodging.foodAndDrink.breakfastBuffetException` | `lodging.foodAndDrink.buffetException` | `lodging.foodAndDrink.dinnerBuffetException` | `lodging.foodAndDrink.freeBreakfastException` | `lodging.foodAndDrink.restaurantException` | `lodging.foodAndDrink.restaurantsCountException` | `lodging.foodAndDrink.roomServiceException` | `lodging.foodAndDrink.tableServiceException` | `lodging.foodAndDrink.twentyFourHourRoomServiceException` | `lodging.foodAndDrink.vendingMachineException` | `lodging.guestUnits` | `lodging.guestUnits.${number}.label` | `lodging.healthAndSafety.enhancedCleaning.commercialGradeDisinfectantCleaningException` | `lodging.healthAndSafety.enhancedCleaning.commonAreasEnhancedCleaningException` | `lodging.healthAndSafety.enhancedCleaning.employeesTrainedCleaningProceduresException` | `lodging.healthAndSafety.enhancedCleaning.employeesTrainedThoroughHandWashingException` | `lodging.healthAndSafety.enhancedCleaning.employeesWearProtectiveEquipmentException` | `lodging.healthAndSafety.enhancedCleaning.guestRoomsEnhancedCleaningException` | `lodging.healthAndSafety.increasedFoodSafety.diningAreasAdditionalSanitationException` | `lodging.healthAndSafety.increasedFoodSafety.disposableFlatwareException` | `lodging.healthAndSafety.increasedFoodSafety.foodPreparationAndServingAdditionalSafetyException` | `lodging.healthAndSafety.increasedFoodSafety.individualPackagedMealsException` | `lodging.healthAndSafety.increasedFoodSafety.singleUseFoodMenusException` | `lodging.healthAndSafety.minimizedContact.contactlessCheckinCheckoutException` | `lodging.healthAndSafety.minimizedContact.digitalGuestRoomKeysException` | `lodging.healthAndSafety.minimizedContact.housekeepingScheduledRequestOnlyException` | `lodging.healthAndSafety.minimizedContact.noHighTouchItemsCommonAreasException` | `lodging.healthAndSafety.minimizedContact.noHighTouchItemsGuestRoomsException` | `lodging.healthAndSafety.minimizedContact.plasticKeycardsDisinfectedException` | `lodging.healthAndSafety.minimizedContact.roomBookingsBufferException` | `lodging.healthAndSafety.personalProtection.commonAreasOfferSanitizingItemsException` | `lodging.healthAndSafety.personalProtection.faceMaskRequiredException` | `lodging.healthAndSafety.personalProtection.guestRoomHygieneKitsAvailableException` | `lodging.healthAndSafety.personalProtection.protectiveEquipmentAvailableException` | `lodging.healthAndSafety.physicalDistancing.commonAreasPhysicalDistancingArrangedException` | `lodging.healthAndSafety.physicalDistancing.physicalDistancingRequiredException` | `lodging.healthAndSafety.physicalDistancing.safetyDividersException` | `lodging.healthAndSafety.physicalDistancing.sharedAreasLimitedOccupancyException` | `lodging.healthAndSafety.physicalDistancing.wellnessAreasHavePrivateSpacesException` | `lodging.housekeeping.dailyHousekeepingException` | `lodging.housekeeping.housekeepingAvailableException` | `lodging.housekeeping.turndownServiceException` | `lodging.parking.electricCarChargingStationsException` | `lodging.parking.freeParkingException` | `lodging.parking.freeSelfParkingException` | `lodging.parking.freeValetParkingException` | `lodging.parking.parkingAvailableException` | `lodging.parking.selfParkingAvailableException` | `lodging.parking.valetParkingAvailableException` | `lodging.pets.catsAllowedException` | `lodging.pets.dogsAllowedException` | `lodging.pets.petsAllowedException` | `lodging.pets.petsAllowedFreeException` | `lodging.policies.allInclusiveAvailableException` | `lodging.policies.allInclusiveOnlyException` | `lodging.policies.checkinTimeException` | `lodging.policies.checkoutTimeException` | `lodging.policies.kidsStayFreeException` | `lodging.policies.maxChildAgeException` | `lodging.policies.maxKidsStayFreeCountException` | `lodging.policies.paymentOptions.cashException` | `lodging.policies.paymentOptions.chequeException` | `lodging.policies.paymentOptions.creditCardException` | `lodging.policies.paymentOptions.debitCardException` | `lodging.policies.paymentOptions.mobileNfcException` | `lodging.policies.smokeFreePropertyException` | `lodging.pools.adultPoolException` | `lodging.pools.hotTubException` | `lodging.pools.indoorPoolException` | `lodging.pools.indoorPoolsCountException` | `lodging.pools.lazyRiverException` | `lodging.pools.lifeguardException` | `lodging.pools.outdoorPoolException` | `lodging.pools.outdoorPoolsCountException` | `lodging.pools.poolException` | `lodging.pools.poolsCountException` | `lodging.pools.wadingPoolException` | `lodging.pools.waterParkException` | `lodging.pools.waterslideException` | `lodging.pools.wavePoolException` | `lodging.property.builtYearException` | `lodging.property.floorsCountException` | `lodging.property.lastRenovatedYearException` | `lodging.property.roomsCountException` | `lodging.services.baggageStorageException` | `lodging.services.conciergeException` | `lodging.services.convenienceStoreException` | `lodging.services.currencyExchangeException` | `lodging.services.elevatorException` | `lodging.services.frontDeskException` | `lodging.services.fullServiceLaundryException` | `lodging.services.giftShopException` | `lodging.services.languagesSpoken` | `lodging.services.languagesSpoken.${number}.languageCode` | `lodging.services.languagesSpoken.${number}.spokenException` | `lodging.services.selfServiceLaundryException` | `lodging.services.socialHourException` | `lodging.services.twentyFourHourFrontDeskException` | `lodging.services.wakeUpCallsException` | `lodging.sustainability.energyEfficiency.carbonFreeEnergySourcesException` | `lodging.sustainability.energyEfficiency.energyConservationProgramException` | `lodging.sustainability.energyEfficiency.energyEfficientHeatingAndCoolingSystemsException` | `lodging.sustainability.energyEfficiency.energyEfficientLightingException` | `lodging.sustainability.energyEfficiency.energySavingThermostatsException` | `lodging.sustainability.energyEfficiency.greenBuildingDesignException` | `lodging.sustainability.energyEfficiency.independentOrganizationAuditsEnergyUseException` | `lodging.sustainability.sustainabilityCertifications.breeamCertification` | `lodging.sustainability.sustainabilityCertifications.breeamCertificationException` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications.${number}.awardedException` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications.${number}.ecoCertificate` | `lodging.sustainability.sustainabilityCertifications.leedCertification` | `lodging.sustainability.sustainabilityCertifications.leedCertificationException` | `lodging.sustainability.sustainableSourcing.ecoFriendlyToiletriesException` | `lodging.sustainability.sustainableSourcing.locallySourcedFoodAndBeveragesException` | `lodging.sustainability.sustainableSourcing.organicCageFreeEggsException` | `lodging.sustainability.sustainableSourcing.organicFoodAndBeveragesException` | `lodging.sustainability.sustainableSourcing.responsiblePurchasingPolicyException` | `lodging.sustainability.sustainableSourcing.responsiblySourcesSeafoodException` | `lodging.sustainability.sustainableSourcing.veganMealsException` | `lodging.sustainability.sustainableSourcing.vegetarianMealsException` | `lodging.sustainability.wasteReduction.compostableFoodContainersAndCutleryException` | `lodging.sustainability.wasteReduction.compostsExcessFoodException` | `lodging.sustainability.wasteReduction.donatesExcessFoodException` | `lodging.sustainability.wasteReduction.foodWasteReductionProgramException` | `lodging.sustainability.wasteReduction.noSingleUsePlasticStrawsException` | `lodging.sustainability.wasteReduction.noSingleUsePlasticWaterBottlesException` | `lodging.sustainability.wasteReduction.noStyrofoamFoodContainersException` | `lodging.sustainability.wasteReduction.recyclingProgramException` | `lodging.sustainability.wasteReduction.refillableToiletryContainersException` | `lodging.sustainability.wasteReduction.safelyDisposesBatteriesException` | `lodging.sustainability.wasteReduction.safelyDisposesElectronicsException` | `lodging.sustainability.wasteReduction.safelyDisposesLightbulbsException` | `lodging.sustainability.wasteReduction.safelyHandlesHazardousSubstancesException` | `lodging.sustainability.wasteReduction.soapDonationProgramException` | `lodging.sustainability.wasteReduction.toiletryDonationProgramException` | `lodging.sustainability.wasteReduction.waterBottleFillingStationsException` | `lodging.sustainability.waterConservation.independentOrganizationAuditsWaterUseException` | `lodging.sustainability.waterConservation.linenReuseProgramException` | `lodging.sustainability.waterConservation.towelReuseProgramException` | `lodging.sustainability.waterConservation.waterSavingShowersException` | `lodging.sustainability.waterConservation.waterSavingSinksException` | `lodging.sustainability.waterConservation.waterSavingToiletsException` | `lodging.transportation.airportShuttleException` | `lodging.transportation.carRentalOnPropertyException` | `lodging.transportation.freeAirportShuttleException` | `lodging.transportation.freePrivateCarServiceException` | `lodging.transportation.localShuttleException` | `lodging.transportation.privateCarServiceException` | `lodging.transportation.transferException` | `lodging.wellness.doctorOnCallException` | `lodging.wellness.ellipticalMachineException` | `lodging.wellness.fitnessCenterException` | `lodging.wellness.freeFitnessCenterException` | `lodging.wellness.freeWeightsException` | `lodging.wellness.massageException` | `lodging.wellness.salonException` | `lodging.wellness.saunaException` | `lodging.wellness.spaException` | `lodging.wellness.treadmillException` | `lodging.wellness.weightMachineException`, 7> & {
|
|
544
|
+
(locationId: string): Promise<NonNullablePaths<GetLocationLodgingResponse, `lodging.accessibility.mobilityAccessibleElevatorException` | `lodging.accessibility.mobilityAccessibleException` | `lodging.accessibility.mobilityAccessibleParkingException` | `lodging.accessibility.mobilityAccessiblePoolException` | `lodging.activities.beachAccessException` | `lodging.activities.beachFrontException` | `lodging.activities.bicycleRentalException` | `lodging.activities.boutiqueStoresException` | `lodging.activities.casinoException` | `lodging.activities.freeBicycleRentalException` | `lodging.activities.freeWatercraftRentalException` | `lodging.activities.gameRoomException` | `lodging.activities.golfException` | `lodging.activities.horsebackRidingException` | `lodging.activities.nightclubException` | `lodging.activities.privateBeachException` | `lodging.activities.scubaException` | `lodging.activities.snorkelingException` | `lodging.activities.tennisException` | `lodging.activities.waterSkiingException` | `lodging.activities.watercraftRentalException` | `lodging.allUnits.bungalowOrVillaException` | `lodging.allUnits.connectingUnitAvailableException` | `lodging.allUnits.executiveFloorException` | `lodging.allUnits.maxAdultOccupantsCountException` | `lodging.allUnits.maxChildOccupantsCountException` | `lodging.allUnits.maxOccupantsCountException` | `lodging.allUnits.privateHomeException` | `lodging.allUnits.suiteException` | `lodging.allUnits.tier` | `lodging.allUnits.tierException` | `lodging.allUnits.totalLivingAreas.accessibility.adaCompliantUnitException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleDoorbellException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleFireAlarmException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleUnitException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleBathtubException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleShowerException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleToiletException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleUnitException` | `lodging.allUnits.totalLivingAreas.eating.coffeeMakerException` | `lodging.allUnits.totalLivingAreas.eating.cookwareException` | `lodging.allUnits.totalLivingAreas.eating.dishwasherException` | `lodging.allUnits.totalLivingAreas.eating.indoorGrillException` | `lodging.allUnits.totalLivingAreas.eating.kettleException` | `lodging.allUnits.totalLivingAreas.eating.kitchenAvailableException` | `lodging.allUnits.totalLivingAreas.eating.microwaveException` | `lodging.allUnits.totalLivingAreas.eating.minibarException` | `lodging.allUnits.totalLivingAreas.eating.outdoorGrillException` | `lodging.allUnits.totalLivingAreas.eating.ovenException` | `lodging.allUnits.totalLivingAreas.eating.refrigeratorException` | `lodging.allUnits.totalLivingAreas.eating.sinkException` | `lodging.allUnits.totalLivingAreas.eating.snackbarException` | `lodging.allUnits.totalLivingAreas.eating.stoveException` | `lodging.allUnits.totalLivingAreas.eating.teaStationException` | `lodging.allUnits.totalLivingAreas.eating.toasterException` | `lodging.allUnits.totalLivingAreas.features.airConditioningException` | `lodging.allUnits.totalLivingAreas.features.bathtubException` | `lodging.allUnits.totalLivingAreas.features.bidetException` | `lodging.allUnits.totalLivingAreas.features.dryerException` | `lodging.allUnits.totalLivingAreas.features.electronicRoomKeyException` | `lodging.allUnits.totalLivingAreas.features.fireplaceException` | `lodging.allUnits.totalLivingAreas.features.hairdryerException` | `lodging.allUnits.totalLivingAreas.features.heatingException` | `lodging.allUnits.totalLivingAreas.features.inunitSafeException` | `lodging.allUnits.totalLivingAreas.features.inunitWifiAvailableException` | `lodging.allUnits.totalLivingAreas.features.ironingEquipmentException` | `lodging.allUnits.totalLivingAreas.features.payPerViewMoviesException` | `lodging.allUnits.totalLivingAreas.features.privateBathroomException` | `lodging.allUnits.totalLivingAreas.features.showerException` | `lodging.allUnits.totalLivingAreas.features.toiletException` | `lodging.allUnits.totalLivingAreas.features.tvCastingException` | `lodging.allUnits.totalLivingAreas.features.tvException` | `lodging.allUnits.totalLivingAreas.features.tvStreamingException` | `lodging.allUnits.totalLivingAreas.features.universalPowerAdaptersException` | `lodging.allUnits.totalLivingAreas.features.washerException` | `lodging.allUnits.totalLivingAreas.layout.balconyException` | `lodging.allUnits.totalLivingAreas.layout.livingAreaSqMetersException` | `lodging.allUnits.totalLivingAreas.layout.loftException` | `lodging.allUnits.totalLivingAreas.layout.nonSmokingException` | `lodging.allUnits.totalLivingAreas.layout.patioException` | `lodging.allUnits.totalLivingAreas.layout.stairsException` | `lodging.allUnits.totalLivingAreas.sleeping.bedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.bunkBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.cribsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.doubleBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.featherPillowsException` | `lodging.allUnits.totalLivingAreas.sleeping.hypoallergenicBeddingException` | `lodging.allUnits.totalLivingAreas.sleeping.kingBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.memoryFoamPillowsException` | `lodging.allUnits.totalLivingAreas.sleeping.otherBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.queenBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.rollAwayBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.singleOrTwinBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.sofaBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.syntheticPillowsException` | `lodging.allUnits.views.beachViewException` | `lodging.allUnits.views.cityViewException` | `lodging.allUnits.views.gardenViewException` | `lodging.allUnits.views.lakeViewException` | `lodging.allUnits.views.landmarkViewException` | `lodging.allUnits.views.oceanViewException` | `lodging.allUnits.views.poolViewException` | `lodging.allUnits.views.valleyViewException` | `lodging.business.businessCenterException` | `lodging.business.meetingRoomsCountException` | `lodging.business.meetingRoomsException` | `lodging.connectivity.freeWifiException` | `lodging.connectivity.publicAreaWifiAvailableException` | `lodging.connectivity.publicInternetTerminalException` | `lodging.connectivity.wifiAvailableException` | `lodging.families.babysittingException` | `lodging.families.kidsActivitiesException` | `lodging.families.kidsClubException` | `lodging.families.kidsFriendlyException` | `lodging.foodAndDrink.barException` | `lodging.foodAndDrink.breakfastAvailableException` | `lodging.foodAndDrink.breakfastBuffetException` | `lodging.foodAndDrink.buffetException` | `lodging.foodAndDrink.dinnerBuffetException` | `lodging.foodAndDrink.freeBreakfastException` | `lodging.foodAndDrink.restaurantException` | `lodging.foodAndDrink.restaurantsCountException` | `lodging.foodAndDrink.roomServiceException` | `lodging.foodAndDrink.tableServiceException` | `lodging.foodAndDrink.twentyFourHourRoomServiceException` | `lodging.foodAndDrink.vendingMachineException` | `lodging.guestUnits` | `lodging.guestUnits.${number}.label` | `lodging.healthAndSafety.enhancedCleaning.commercialGradeDisinfectantCleaningException` | `lodging.healthAndSafety.enhancedCleaning.commonAreasEnhancedCleaningException` | `lodging.healthAndSafety.enhancedCleaning.employeesTrainedCleaningProceduresException` | `lodging.healthAndSafety.enhancedCleaning.employeesTrainedThoroughHandWashingException` | `lodging.healthAndSafety.enhancedCleaning.employeesWearProtectiveEquipmentException` | `lodging.healthAndSafety.enhancedCleaning.guestRoomsEnhancedCleaningException` | `lodging.healthAndSafety.increasedFoodSafety.diningAreasAdditionalSanitationException` | `lodging.healthAndSafety.increasedFoodSafety.disposableFlatwareException` | `lodging.healthAndSafety.increasedFoodSafety.foodPreparationAndServingAdditionalSafetyException` | `lodging.healthAndSafety.increasedFoodSafety.individualPackagedMealsException` | `lodging.healthAndSafety.increasedFoodSafety.singleUseFoodMenusException` | `lodging.healthAndSafety.minimizedContact.contactlessCheckinCheckoutException` | `lodging.healthAndSafety.minimizedContact.digitalGuestRoomKeysException` | `lodging.healthAndSafety.minimizedContact.housekeepingScheduledRequestOnlyException` | `lodging.healthAndSafety.minimizedContact.noHighTouchItemsCommonAreasException` | `lodging.healthAndSafety.minimizedContact.noHighTouchItemsGuestRoomsException` | `lodging.healthAndSafety.minimizedContact.plasticKeycardsDisinfectedException` | `lodging.healthAndSafety.minimizedContact.roomBookingsBufferException` | `lodging.healthAndSafety.personalProtection.commonAreasOfferSanitizingItemsException` | `lodging.healthAndSafety.personalProtection.faceMaskRequiredException` | `lodging.healthAndSafety.personalProtection.guestRoomHygieneKitsAvailableException` | `lodging.healthAndSafety.personalProtection.protectiveEquipmentAvailableException` | `lodging.healthAndSafety.physicalDistancing.commonAreasPhysicalDistancingArrangedException` | `lodging.healthAndSafety.physicalDistancing.physicalDistancingRequiredException` | `lodging.healthAndSafety.physicalDistancing.safetyDividersException` | `lodging.healthAndSafety.physicalDistancing.sharedAreasLimitedOccupancyException` | `lodging.healthAndSafety.physicalDistancing.wellnessAreasHavePrivateSpacesException` | `lodging.housekeeping.dailyHousekeepingException` | `lodging.housekeeping.housekeepingAvailableException` | `lodging.housekeeping.turndownServiceException` | `lodging.parking.electricCarChargingStationsException` | `lodging.parking.freeParkingException` | `lodging.parking.freeSelfParkingException` | `lodging.parking.freeValetParkingException` | `lodging.parking.parkingAvailableException` | `lodging.parking.selfParkingAvailableException` | `lodging.parking.valetParkingAvailableException` | `lodging.pets.catsAllowedException` | `lodging.pets.dogsAllowedException` | `lodging.pets.petsAllowedException` | `lodging.pets.petsAllowedFreeException` | `lodging.policies.allInclusiveAvailableException` | `lodging.policies.allInclusiveOnlyException` | `lodging.policies.checkinTimeException` | `lodging.policies.checkoutTimeException` | `lodging.policies.kidsStayFreeException` | `lodging.policies.maxChildAgeException` | `lodging.policies.maxKidsStayFreeCountException` | `lodging.policies.paymentOptions.cashException` | `lodging.policies.paymentOptions.chequeException` | `lodging.policies.paymentOptions.creditCardException` | `lodging.policies.paymentOptions.debitCardException` | `lodging.policies.paymentOptions.mobileNfcException` | `lodging.policies.smokeFreePropertyException` | `lodging.pools.adultPoolException` | `lodging.pools.hotTubException` | `lodging.pools.indoorPoolException` | `lodging.pools.indoorPoolsCountException` | `lodging.pools.lazyRiverException` | `lodging.pools.lifeguardException` | `lodging.pools.outdoorPoolException` | `lodging.pools.outdoorPoolsCountException` | `lodging.pools.poolException` | `lodging.pools.poolsCountException` | `lodging.pools.wadingPoolException` | `lodging.pools.waterParkException` | `lodging.pools.waterslideException` | `lodging.pools.wavePoolException` | `lodging.property.builtYearException` | `lodging.property.floorsCountException` | `lodging.property.lastRenovatedYearException` | `lodging.property.roomsCountException` | `lodging.services.baggageStorageException` | `lodging.services.conciergeException` | `lodging.services.convenienceStoreException` | `lodging.services.currencyExchangeException` | `lodging.services.elevatorException` | `lodging.services.frontDeskException` | `lodging.services.fullServiceLaundryException` | `lodging.services.giftShopException` | `lodging.services.languagesSpoken` | `lodging.services.languagesSpoken.${number}.languageCode` | `lodging.services.languagesSpoken.${number}.spokenException` | `lodging.services.selfServiceLaundryException` | `lodging.services.socialHourException` | `lodging.services.twentyFourHourFrontDeskException` | `lodging.services.wakeUpCallsException` | `lodging.sustainability.energyEfficiency.carbonFreeEnergySourcesException` | `lodging.sustainability.energyEfficiency.energyConservationProgramException` | `lodging.sustainability.energyEfficiency.energyEfficientHeatingAndCoolingSystemsException` | `lodging.sustainability.energyEfficiency.energyEfficientLightingException` | `lodging.sustainability.energyEfficiency.energySavingThermostatsException` | `lodging.sustainability.energyEfficiency.greenBuildingDesignException` | `lodging.sustainability.energyEfficiency.independentOrganizationAuditsEnergyUseException` | `lodging.sustainability.sustainabilityCertifications.breeamCertification` | `lodging.sustainability.sustainabilityCertifications.breeamCertificationException` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications.${number}.awardedException` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications.${number}.ecoCertificate` | `lodging.sustainability.sustainabilityCertifications.leedCertification` | `lodging.sustainability.sustainabilityCertifications.leedCertificationException` | `lodging.sustainability.sustainableSourcing.ecoFriendlyToiletriesException` | `lodging.sustainability.sustainableSourcing.locallySourcedFoodAndBeveragesException` | `lodging.sustainability.sustainableSourcing.organicCageFreeEggsException` | `lodging.sustainability.sustainableSourcing.organicFoodAndBeveragesException` | `lodging.sustainability.sustainableSourcing.responsiblePurchasingPolicyException` | `lodging.sustainability.sustainableSourcing.responsiblySourcesSeafoodException` | `lodging.sustainability.sustainableSourcing.veganMealsException` | `lodging.sustainability.sustainableSourcing.vegetarianMealsException` | `lodging.sustainability.wasteReduction.compostableFoodContainersAndCutleryException` | `lodging.sustainability.wasteReduction.compostsExcessFoodException` | `lodging.sustainability.wasteReduction.donatesExcessFoodException` | `lodging.sustainability.wasteReduction.foodWasteReductionProgramException` | `lodging.sustainability.wasteReduction.noSingleUsePlasticStrawsException` | `lodging.sustainability.wasteReduction.noSingleUsePlasticWaterBottlesException` | `lodging.sustainability.wasteReduction.noStyrofoamFoodContainersException` | `lodging.sustainability.wasteReduction.recyclingProgramException` | `lodging.sustainability.wasteReduction.refillableToiletryContainersException` | `lodging.sustainability.wasteReduction.safelyDisposesBatteriesException` | `lodging.sustainability.wasteReduction.safelyDisposesElectronicsException` | `lodging.sustainability.wasteReduction.safelyDisposesLightbulbsException` | `lodging.sustainability.wasteReduction.safelyHandlesHazardousSubstancesException` | `lodging.sustainability.wasteReduction.soapDonationProgramException` | `lodging.sustainability.wasteReduction.toiletryDonationProgramException` | `lodging.sustainability.wasteReduction.waterBottleFillingStationsException` | `lodging.sustainability.waterConservation.independentOrganizationAuditsWaterUseException` | `lodging.sustainability.waterConservation.linenReuseProgramException` | `lodging.sustainability.waterConservation.towelReuseProgramException` | `lodging.sustainability.waterConservation.waterSavingShowersException` | `lodging.sustainability.waterConservation.waterSavingSinksException` | `lodging.sustainability.waterConservation.waterSavingToiletsException` | `lodging.transportation.airportShuttleException` | `lodging.transportation.carRentalOnPropertyException` | `lodging.transportation.freeAirportShuttleException` | `lodging.transportation.freePrivateCarServiceException` | `lodging.transportation.localShuttleException` | `lodging.transportation.privateCarServiceException` | `lodging.transportation.transferException` | `lodging.wellness.doctorOnCallException` | `lodging.wellness.ellipticalMachineException` | `lodging.wellness.fitnessCenterException` | `lodging.wellness.freeFitnessCenterException` | `lodging.wellness.freeWeightsException` | `lodging.wellness.massageException` | `lodging.wellness.salonException` | `lodging.wellness.saunaException` | `lodging.wellness.spaException` | `lodging.wellness.treadmillException` | `lodging.wellness.weightMachineException`, 5> & {
|
|
542
545
|
__applicationErrorsType?: GetLocationLodgingApplicationErrors;
|
|
543
546
|
}>;
|
|
544
547
|
}
|
|
@@ -567,13 +570,16 @@ interface UpdateLocationLodgingSignature {
|
|
|
567
570
|
* - `INVALID_UPDATE_MASK`: the mask is empty, or a path doesn't exist or reaches
|
|
568
571
|
* into a repeated field. Google isn't called.
|
|
569
572
|
* - `NOT_FOUND`: the location isn't recorded for this site. Google isn't called.
|
|
573
|
+
* - `LODGING_NOT_OPERABLE`: the location isn't a lodging business, so Google holds
|
|
574
|
+
* no lodging data for it. Check `metadata.canOperateLodgingData` on the location
|
|
575
|
+
* first. Retrying won't help.
|
|
570
576
|
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status and
|
|
571
577
|
* response are in the error payload.
|
|
572
578
|
* @param - Location ID. This is Google's location identifier.
|
|
573
579
|
* @param - The hotel data to set. Only the fields named in `fieldMask` are read, so this
|
|
574
580
|
* can be as sparse as the change you're making.
|
|
575
581
|
*/
|
|
576
|
-
(locationId: string, lodging: Lodging, options: NonNullablePaths<UpdateLocationLodgingOptions, `fieldMask`, 2>): Promise<NonNullablePaths<UpdateLocationLodgingResponse, `lodging.accessibility.mobilityAccessibleElevatorException` | `lodging.accessibility.mobilityAccessibleException` | `lodging.accessibility.mobilityAccessibleParkingException` | `lodging.accessibility.mobilityAccessiblePoolException` | `lodging.activities.beachAccessException` | `lodging.activities.beachFrontException` | `lodging.activities.bicycleRentalException` | `lodging.activities.boutiqueStoresException` | `lodging.activities.casinoException` | `lodging.activities.freeBicycleRentalException` | `lodging.activities.freeWatercraftRentalException` | `lodging.activities.gameRoomException` | `lodging.activities.golfException` | `lodging.activities.horsebackRidingException` | `lodging.activities.nightclubException` | `lodging.activities.privateBeachException` | `lodging.activities.scubaException` | `lodging.activities.snorkelingException` | `lodging.activities.tennisException` | `lodging.activities.waterSkiingException` | `lodging.activities.watercraftRentalException` | `lodging.allUnits.bungalowOrVillaException` | `lodging.allUnits.connectingUnitAvailableException` | `lodging.allUnits.executiveFloorException` | `lodging.allUnits.maxAdultOccupantsCountException` | `lodging.allUnits.maxChildOccupantsCountException` | `lodging.allUnits.maxOccupantsCountException` | `lodging.allUnits.privateHomeException` | `lodging.allUnits.suiteException` | `lodging.allUnits.tier` | `lodging.allUnits.tierException` | `lodging.allUnits.totalLivingAreas.accessibility.adaCompliantUnitException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleDoorbellException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleFireAlarmException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleUnitException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleBathtubException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleShowerException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleToiletException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleUnitException` | `lodging.allUnits.totalLivingAreas.eating.coffeeMakerException` | `lodging.allUnits.totalLivingAreas.eating.cookwareException` | `lodging.allUnits.totalLivingAreas.eating.dishwasherException` | `lodging.allUnits.totalLivingAreas.eating.indoorGrillException` | `lodging.allUnits.totalLivingAreas.eating.kettleException` | `lodging.allUnits.totalLivingAreas.eating.kitchenAvailableException` | `lodging.allUnits.totalLivingAreas.eating.microwaveException` | `lodging.allUnits.totalLivingAreas.eating.minibarException` | `lodging.allUnits.totalLivingAreas.eating.outdoorGrillException` | `lodging.allUnits.totalLivingAreas.eating.ovenException` | `lodging.allUnits.totalLivingAreas.eating.refrigeratorException` | `lodging.allUnits.totalLivingAreas.eating.sinkException` | `lodging.allUnits.totalLivingAreas.eating.snackbarException` | `lodging.allUnits.totalLivingAreas.eating.stoveException` | `lodging.allUnits.totalLivingAreas.eating.teaStationException` | `lodging.allUnits.totalLivingAreas.eating.toasterException` | `lodging.allUnits.totalLivingAreas.features.airConditioningException` | `lodging.allUnits.totalLivingAreas.features.bathtubException` | `lodging.allUnits.totalLivingAreas.features.bidetException` | `lodging.allUnits.totalLivingAreas.features.dryerException` | `lodging.allUnits.totalLivingAreas.features.electronicRoomKeyException` | `lodging.allUnits.totalLivingAreas.features.fireplaceException` | `lodging.allUnits.totalLivingAreas.features.hairdryerException` | `lodging.allUnits.totalLivingAreas.features.heatingException` | `lodging.allUnits.totalLivingAreas.features.inunitSafeException` | `lodging.allUnits.totalLivingAreas.features.inunitWifiAvailableException` | `lodging.allUnits.totalLivingAreas.features.ironingEquipmentException` | `lodging.allUnits.totalLivingAreas.features.payPerViewMoviesException` | `lodging.allUnits.totalLivingAreas.features.privateBathroomException` | `lodging.allUnits.totalLivingAreas.features.showerException` | `lodging.allUnits.totalLivingAreas.features.toiletException` | `lodging.allUnits.totalLivingAreas.features.tvCastingException` | `lodging.allUnits.totalLivingAreas.features.tvException` | `lodging.allUnits.totalLivingAreas.features.tvStreamingException` | `lodging.allUnits.totalLivingAreas.features.universalPowerAdaptersException` | `lodging.allUnits.totalLivingAreas.features.washerException` | `lodging.allUnits.totalLivingAreas.layout.balconyException` | `lodging.allUnits.totalLivingAreas.layout.livingAreaSqMetersException` | `lodging.allUnits.totalLivingAreas.layout.loftException` | `lodging.allUnits.totalLivingAreas.layout.nonSmokingException` | `lodging.allUnits.totalLivingAreas.layout.patioException` | `lodging.allUnits.totalLivingAreas.layout.stairsException` | `lodging.allUnits.totalLivingAreas.sleeping.bedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.bunkBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.cribsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.doubleBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.featherPillowsException` | `lodging.allUnits.totalLivingAreas.sleeping.hypoallergenicBeddingException` | `lodging.allUnits.totalLivingAreas.sleeping.kingBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.memoryFoamPillowsException` | `lodging.allUnits.totalLivingAreas.sleeping.otherBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.queenBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.rollAwayBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.singleOrTwinBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.sofaBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.syntheticPillowsException` | `lodging.allUnits.views.beachViewException` | `lodging.allUnits.views.cityViewException` | `lodging.allUnits.views.gardenViewException` | `lodging.allUnits.views.lakeViewException` | `lodging.allUnits.views.landmarkViewException` | `lodging.allUnits.views.oceanViewException` | `lodging.allUnits.views.poolViewException` | `lodging.allUnits.views.valleyViewException` | `lodging.business.businessCenterException` | `lodging.business.meetingRoomsCountException` | `lodging.business.meetingRoomsException` | `lodging.connectivity.freeWifiException` | `lodging.connectivity.publicAreaWifiAvailableException` | `lodging.connectivity.publicInternetTerminalException` | `lodging.connectivity.wifiAvailableException` | `lodging.families.babysittingException` | `lodging.families.kidsActivitiesException` | `lodging.families.kidsClubException` | `lodging.families.kidsFriendlyException` | `lodging.foodAndDrink.barException` | `lodging.foodAndDrink.breakfastAvailableException` | `lodging.foodAndDrink.breakfastBuffetException` | `lodging.foodAndDrink.buffetException` | `lodging.foodAndDrink.dinnerBuffetException` | `lodging.foodAndDrink.freeBreakfastException` | `lodging.foodAndDrink.restaurantException` | `lodging.foodAndDrink.restaurantsCountException` | `lodging.foodAndDrink.roomServiceException` | `lodging.foodAndDrink.tableServiceException` | `lodging.foodAndDrink.twentyFourHourRoomServiceException` | `lodging.foodAndDrink.vendingMachineException` | `lodging.guestUnits` | `lodging.guestUnits.${number}.label` | `lodging.healthAndSafety.enhancedCleaning.commercialGradeDisinfectantCleaningException` | `lodging.healthAndSafety.enhancedCleaning.commonAreasEnhancedCleaningException` | `lodging.healthAndSafety.enhancedCleaning.employeesTrainedCleaningProceduresException` | `lodging.healthAndSafety.enhancedCleaning.employeesTrainedThoroughHandWashingException` | `lodging.healthAndSafety.enhancedCleaning.employeesWearProtectiveEquipmentException` | `lodging.healthAndSafety.enhancedCleaning.guestRoomsEnhancedCleaningException` | `lodging.healthAndSafety.increasedFoodSafety.diningAreasAdditionalSanitationException` | `lodging.healthAndSafety.increasedFoodSafety.disposableFlatwareException` | `lodging.healthAndSafety.increasedFoodSafety.foodPreparationAndServingAdditionalSafetyException` | `lodging.healthAndSafety.increasedFoodSafety.individualPackagedMealsException` | `lodging.healthAndSafety.increasedFoodSafety.singleUseFoodMenusException` | `lodging.healthAndSafety.minimizedContact.contactlessCheckinCheckoutException` | `lodging.healthAndSafety.minimizedContact.digitalGuestRoomKeysException` | `lodging.healthAndSafety.minimizedContact.housekeepingScheduledRequestOnlyException` | `lodging.healthAndSafety.minimizedContact.noHighTouchItemsCommonAreasException` | `lodging.healthAndSafety.minimizedContact.noHighTouchItemsGuestRoomsException` | `lodging.healthAndSafety.minimizedContact.plasticKeycardsDisinfectedException` | `lodging.healthAndSafety.minimizedContact.roomBookingsBufferException` | `lodging.healthAndSafety.personalProtection.commonAreasOfferSanitizingItemsException` | `lodging.healthAndSafety.personalProtection.faceMaskRequiredException` | `lodging.healthAndSafety.personalProtection.guestRoomHygieneKitsAvailableException` | `lodging.healthAndSafety.personalProtection.protectiveEquipmentAvailableException` | `lodging.healthAndSafety.physicalDistancing.commonAreasPhysicalDistancingArrangedException` | `lodging.healthAndSafety.physicalDistancing.physicalDistancingRequiredException` | `lodging.healthAndSafety.physicalDistancing.safetyDividersException` | `lodging.healthAndSafety.physicalDistancing.sharedAreasLimitedOccupancyException` | `lodging.healthAndSafety.physicalDistancing.wellnessAreasHavePrivateSpacesException` | `lodging.housekeeping.dailyHousekeepingException` | `lodging.housekeeping.housekeepingAvailableException` | `lodging.housekeeping.turndownServiceException` | `lodging.parking.electricCarChargingStationsException` | `lodging.parking.freeParkingException` | `lodging.parking.freeSelfParkingException` | `lodging.parking.freeValetParkingException` | `lodging.parking.parkingAvailableException` | `lodging.parking.selfParkingAvailableException` | `lodging.parking.valetParkingAvailableException` | `lodging.pets.catsAllowedException` | `lodging.pets.dogsAllowedException` | `lodging.pets.petsAllowedException` | `lodging.pets.petsAllowedFreeException` | `lodging.policies.allInclusiveAvailableException` | `lodging.policies.allInclusiveOnlyException` | `lodging.policies.checkinTimeException` | `lodging.policies.checkoutTimeException` | `lodging.policies.kidsStayFreeException` | `lodging.policies.maxChildAgeException` | `lodging.policies.maxKidsStayFreeCountException` | `lodging.policies.paymentOptions.cashException` | `lodging.policies.paymentOptions.chequeException` | `lodging.policies.paymentOptions.creditCardException` | `lodging.policies.paymentOptions.debitCardException` | `lodging.policies.paymentOptions.mobileNfcException` | `lodging.policies.smokeFreePropertyException` | `lodging.pools.adultPoolException` | `lodging.pools.hotTubException` | `lodging.pools.indoorPoolException` | `lodging.pools.indoorPoolsCountException` | `lodging.pools.lazyRiverException` | `lodging.pools.lifeguardException` | `lodging.pools.outdoorPoolException` | `lodging.pools.outdoorPoolsCountException` | `lodging.pools.poolException` | `lodging.pools.poolsCountException` | `lodging.pools.wadingPoolException` | `lodging.pools.waterParkException` | `lodging.pools.waterslideException` | `lodging.pools.wavePoolException` | `lodging.property.builtYearException` | `lodging.property.floorsCountException` | `lodging.property.lastRenovatedYearException` | `lodging.property.roomsCountException` | `lodging.services.baggageStorageException` | `lodging.services.conciergeException` | `lodging.services.convenienceStoreException` | `lodging.services.currencyExchangeException` | `lodging.services.elevatorException` | `lodging.services.frontDeskException` | `lodging.services.fullServiceLaundryException` | `lodging.services.giftShopException` | `lodging.services.languagesSpoken` | `lodging.services.languagesSpoken.${number}.languageCode` | `lodging.services.languagesSpoken.${number}.spokenException` | `lodging.services.selfServiceLaundryException` | `lodging.services.socialHourException` | `lodging.services.twentyFourHourFrontDeskException` | `lodging.services.wakeUpCallsException` | `lodging.sustainability.energyEfficiency.carbonFreeEnergySourcesException` | `lodging.sustainability.energyEfficiency.energyConservationProgramException` | `lodging.sustainability.energyEfficiency.energyEfficientHeatingAndCoolingSystemsException` | `lodging.sustainability.energyEfficiency.energyEfficientLightingException` | `lodging.sustainability.energyEfficiency.energySavingThermostatsException` | `lodging.sustainability.energyEfficiency.greenBuildingDesignException` | `lodging.sustainability.energyEfficiency.independentOrganizationAuditsEnergyUseException` | `lodging.sustainability.sustainabilityCertifications.breeamCertification` | `lodging.sustainability.sustainabilityCertifications.breeamCertificationException` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications.${number}.awardedException` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications.${number}.ecoCertificate` | `lodging.sustainability.sustainabilityCertifications.leedCertification` | `lodging.sustainability.sustainabilityCertifications.leedCertificationException` | `lodging.sustainability.sustainableSourcing.ecoFriendlyToiletriesException` | `lodging.sustainability.sustainableSourcing.locallySourcedFoodAndBeveragesException` | `lodging.sustainability.sustainableSourcing.organicCageFreeEggsException` | `lodging.sustainability.sustainableSourcing.organicFoodAndBeveragesException` | `lodging.sustainability.sustainableSourcing.responsiblePurchasingPolicyException` | `lodging.sustainability.sustainableSourcing.responsiblySourcesSeafoodException` | `lodging.sustainability.sustainableSourcing.veganMealsException` | `lodging.sustainability.sustainableSourcing.vegetarianMealsException` | `lodging.sustainability.wasteReduction.compostableFoodContainersAndCutleryException` | `lodging.sustainability.wasteReduction.compostsExcessFoodException` | `lodging.sustainability.wasteReduction.donatesExcessFoodException` | `lodging.sustainability.wasteReduction.foodWasteReductionProgramException` | `lodging.sustainability.wasteReduction.noSingleUsePlasticStrawsException` | `lodging.sustainability.wasteReduction.noSingleUsePlasticWaterBottlesException` | `lodging.sustainability.wasteReduction.noStyrofoamFoodContainersException` | `lodging.sustainability.wasteReduction.recyclingProgramException` | `lodging.sustainability.wasteReduction.refillableToiletryContainersException` | `lodging.sustainability.wasteReduction.safelyDisposesBatteriesException` | `lodging.sustainability.wasteReduction.safelyDisposesElectronicsException` | `lodging.sustainability.wasteReduction.safelyDisposesLightbulbsException` | `lodging.sustainability.wasteReduction.safelyHandlesHazardousSubstancesException` | `lodging.sustainability.wasteReduction.soapDonationProgramException` | `lodging.sustainability.wasteReduction.toiletryDonationProgramException` | `lodging.sustainability.wasteReduction.waterBottleFillingStationsException` | `lodging.sustainability.waterConservation.independentOrganizationAuditsWaterUseException` | `lodging.sustainability.waterConservation.linenReuseProgramException` | `lodging.sustainability.waterConservation.towelReuseProgramException` | `lodging.sustainability.waterConservation.waterSavingShowersException` | `lodging.sustainability.waterConservation.waterSavingSinksException` | `lodging.sustainability.waterConservation.waterSavingToiletsException` | `lodging.transportation.airportShuttleException` | `lodging.transportation.carRentalOnPropertyException` | `lodging.transportation.freeAirportShuttleException` | `lodging.transportation.freePrivateCarServiceException` | `lodging.transportation.localShuttleException` | `lodging.transportation.privateCarServiceException` | `lodging.transportation.transferException` | `lodging.wellness.doctorOnCallException` | `lodging.wellness.ellipticalMachineException` | `lodging.wellness.fitnessCenterException` | `lodging.wellness.freeFitnessCenterException` | `lodging.wellness.freeWeightsException` | `lodging.wellness.massageException` | `lodging.wellness.salonException` | `lodging.wellness.saunaException` | `lodging.wellness.spaException` | `lodging.wellness.treadmillException` | `lodging.wellness.weightMachineException`, 7> & {
|
|
582
|
+
(locationId: string, lodging: Lodging, options: NonNullablePaths<UpdateLocationLodgingOptions, `fieldMask`, 0>): Promise<NonNullablePaths<UpdateLocationLodgingResponse, `lodging.accessibility.mobilityAccessibleElevatorException` | `lodging.accessibility.mobilityAccessibleException` | `lodging.accessibility.mobilityAccessibleParkingException` | `lodging.accessibility.mobilityAccessiblePoolException` | `lodging.activities.beachAccessException` | `lodging.activities.beachFrontException` | `lodging.activities.bicycleRentalException` | `lodging.activities.boutiqueStoresException` | `lodging.activities.casinoException` | `lodging.activities.freeBicycleRentalException` | `lodging.activities.freeWatercraftRentalException` | `lodging.activities.gameRoomException` | `lodging.activities.golfException` | `lodging.activities.horsebackRidingException` | `lodging.activities.nightclubException` | `lodging.activities.privateBeachException` | `lodging.activities.scubaException` | `lodging.activities.snorkelingException` | `lodging.activities.tennisException` | `lodging.activities.waterSkiingException` | `lodging.activities.watercraftRentalException` | `lodging.allUnits.bungalowOrVillaException` | `lodging.allUnits.connectingUnitAvailableException` | `lodging.allUnits.executiveFloorException` | `lodging.allUnits.maxAdultOccupantsCountException` | `lodging.allUnits.maxChildOccupantsCountException` | `lodging.allUnits.maxOccupantsCountException` | `lodging.allUnits.privateHomeException` | `lodging.allUnits.suiteException` | `lodging.allUnits.tier` | `lodging.allUnits.tierException` | `lodging.allUnits.totalLivingAreas.accessibility.adaCompliantUnitException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleDoorbellException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleFireAlarmException` | `lodging.allUnits.totalLivingAreas.accessibility.hearingAccessibleUnitException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleBathtubException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleShowerException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleToiletException` | `lodging.allUnits.totalLivingAreas.accessibility.mobilityAccessibleUnitException` | `lodging.allUnits.totalLivingAreas.eating.coffeeMakerException` | `lodging.allUnits.totalLivingAreas.eating.cookwareException` | `lodging.allUnits.totalLivingAreas.eating.dishwasherException` | `lodging.allUnits.totalLivingAreas.eating.indoorGrillException` | `lodging.allUnits.totalLivingAreas.eating.kettleException` | `lodging.allUnits.totalLivingAreas.eating.kitchenAvailableException` | `lodging.allUnits.totalLivingAreas.eating.microwaveException` | `lodging.allUnits.totalLivingAreas.eating.minibarException` | `lodging.allUnits.totalLivingAreas.eating.outdoorGrillException` | `lodging.allUnits.totalLivingAreas.eating.ovenException` | `lodging.allUnits.totalLivingAreas.eating.refrigeratorException` | `lodging.allUnits.totalLivingAreas.eating.sinkException` | `lodging.allUnits.totalLivingAreas.eating.snackbarException` | `lodging.allUnits.totalLivingAreas.eating.stoveException` | `lodging.allUnits.totalLivingAreas.eating.teaStationException` | `lodging.allUnits.totalLivingAreas.eating.toasterException` | `lodging.allUnits.totalLivingAreas.features.airConditioningException` | `lodging.allUnits.totalLivingAreas.features.bathtubException` | `lodging.allUnits.totalLivingAreas.features.bidetException` | `lodging.allUnits.totalLivingAreas.features.dryerException` | `lodging.allUnits.totalLivingAreas.features.electronicRoomKeyException` | `lodging.allUnits.totalLivingAreas.features.fireplaceException` | `lodging.allUnits.totalLivingAreas.features.hairdryerException` | `lodging.allUnits.totalLivingAreas.features.heatingException` | `lodging.allUnits.totalLivingAreas.features.inunitSafeException` | `lodging.allUnits.totalLivingAreas.features.inunitWifiAvailableException` | `lodging.allUnits.totalLivingAreas.features.ironingEquipmentException` | `lodging.allUnits.totalLivingAreas.features.payPerViewMoviesException` | `lodging.allUnits.totalLivingAreas.features.privateBathroomException` | `lodging.allUnits.totalLivingAreas.features.showerException` | `lodging.allUnits.totalLivingAreas.features.toiletException` | `lodging.allUnits.totalLivingAreas.features.tvCastingException` | `lodging.allUnits.totalLivingAreas.features.tvException` | `lodging.allUnits.totalLivingAreas.features.tvStreamingException` | `lodging.allUnits.totalLivingAreas.features.universalPowerAdaptersException` | `lodging.allUnits.totalLivingAreas.features.washerException` | `lodging.allUnits.totalLivingAreas.layout.balconyException` | `lodging.allUnits.totalLivingAreas.layout.livingAreaSqMetersException` | `lodging.allUnits.totalLivingAreas.layout.loftException` | `lodging.allUnits.totalLivingAreas.layout.nonSmokingException` | `lodging.allUnits.totalLivingAreas.layout.patioException` | `lodging.allUnits.totalLivingAreas.layout.stairsException` | `lodging.allUnits.totalLivingAreas.sleeping.bedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.bunkBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.cribsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.doubleBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.featherPillowsException` | `lodging.allUnits.totalLivingAreas.sleeping.hypoallergenicBeddingException` | `lodging.allUnits.totalLivingAreas.sleeping.kingBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.memoryFoamPillowsException` | `lodging.allUnits.totalLivingAreas.sleeping.otherBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.queenBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.rollAwayBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.singleOrTwinBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.sofaBedsCountException` | `lodging.allUnits.totalLivingAreas.sleeping.syntheticPillowsException` | `lodging.allUnits.views.beachViewException` | `lodging.allUnits.views.cityViewException` | `lodging.allUnits.views.gardenViewException` | `lodging.allUnits.views.lakeViewException` | `lodging.allUnits.views.landmarkViewException` | `lodging.allUnits.views.oceanViewException` | `lodging.allUnits.views.poolViewException` | `lodging.allUnits.views.valleyViewException` | `lodging.business.businessCenterException` | `lodging.business.meetingRoomsCountException` | `lodging.business.meetingRoomsException` | `lodging.connectivity.freeWifiException` | `lodging.connectivity.publicAreaWifiAvailableException` | `lodging.connectivity.publicInternetTerminalException` | `lodging.connectivity.wifiAvailableException` | `lodging.families.babysittingException` | `lodging.families.kidsActivitiesException` | `lodging.families.kidsClubException` | `lodging.families.kidsFriendlyException` | `lodging.foodAndDrink.barException` | `lodging.foodAndDrink.breakfastAvailableException` | `lodging.foodAndDrink.breakfastBuffetException` | `lodging.foodAndDrink.buffetException` | `lodging.foodAndDrink.dinnerBuffetException` | `lodging.foodAndDrink.freeBreakfastException` | `lodging.foodAndDrink.restaurantException` | `lodging.foodAndDrink.restaurantsCountException` | `lodging.foodAndDrink.roomServiceException` | `lodging.foodAndDrink.tableServiceException` | `lodging.foodAndDrink.twentyFourHourRoomServiceException` | `lodging.foodAndDrink.vendingMachineException` | `lodging.guestUnits` | `lodging.guestUnits.${number}.label` | `lodging.healthAndSafety.enhancedCleaning.commercialGradeDisinfectantCleaningException` | `lodging.healthAndSafety.enhancedCleaning.commonAreasEnhancedCleaningException` | `lodging.healthAndSafety.enhancedCleaning.employeesTrainedCleaningProceduresException` | `lodging.healthAndSafety.enhancedCleaning.employeesTrainedThoroughHandWashingException` | `lodging.healthAndSafety.enhancedCleaning.employeesWearProtectiveEquipmentException` | `lodging.healthAndSafety.enhancedCleaning.guestRoomsEnhancedCleaningException` | `lodging.healthAndSafety.increasedFoodSafety.diningAreasAdditionalSanitationException` | `lodging.healthAndSafety.increasedFoodSafety.disposableFlatwareException` | `lodging.healthAndSafety.increasedFoodSafety.foodPreparationAndServingAdditionalSafetyException` | `lodging.healthAndSafety.increasedFoodSafety.individualPackagedMealsException` | `lodging.healthAndSafety.increasedFoodSafety.singleUseFoodMenusException` | `lodging.healthAndSafety.minimizedContact.contactlessCheckinCheckoutException` | `lodging.healthAndSafety.minimizedContact.digitalGuestRoomKeysException` | `lodging.healthAndSafety.minimizedContact.housekeepingScheduledRequestOnlyException` | `lodging.healthAndSafety.minimizedContact.noHighTouchItemsCommonAreasException` | `lodging.healthAndSafety.minimizedContact.noHighTouchItemsGuestRoomsException` | `lodging.healthAndSafety.minimizedContact.plasticKeycardsDisinfectedException` | `lodging.healthAndSafety.minimizedContact.roomBookingsBufferException` | `lodging.healthAndSafety.personalProtection.commonAreasOfferSanitizingItemsException` | `lodging.healthAndSafety.personalProtection.faceMaskRequiredException` | `lodging.healthAndSafety.personalProtection.guestRoomHygieneKitsAvailableException` | `lodging.healthAndSafety.personalProtection.protectiveEquipmentAvailableException` | `lodging.healthAndSafety.physicalDistancing.commonAreasPhysicalDistancingArrangedException` | `lodging.healthAndSafety.physicalDistancing.physicalDistancingRequiredException` | `lodging.healthAndSafety.physicalDistancing.safetyDividersException` | `lodging.healthAndSafety.physicalDistancing.sharedAreasLimitedOccupancyException` | `lodging.healthAndSafety.physicalDistancing.wellnessAreasHavePrivateSpacesException` | `lodging.housekeeping.dailyHousekeepingException` | `lodging.housekeeping.housekeepingAvailableException` | `lodging.housekeeping.turndownServiceException` | `lodging.parking.electricCarChargingStationsException` | `lodging.parking.freeParkingException` | `lodging.parking.freeSelfParkingException` | `lodging.parking.freeValetParkingException` | `lodging.parking.parkingAvailableException` | `lodging.parking.selfParkingAvailableException` | `lodging.parking.valetParkingAvailableException` | `lodging.pets.catsAllowedException` | `lodging.pets.dogsAllowedException` | `lodging.pets.petsAllowedException` | `lodging.pets.petsAllowedFreeException` | `lodging.policies.allInclusiveAvailableException` | `lodging.policies.allInclusiveOnlyException` | `lodging.policies.checkinTimeException` | `lodging.policies.checkoutTimeException` | `lodging.policies.kidsStayFreeException` | `lodging.policies.maxChildAgeException` | `lodging.policies.maxKidsStayFreeCountException` | `lodging.policies.paymentOptions.cashException` | `lodging.policies.paymentOptions.chequeException` | `lodging.policies.paymentOptions.creditCardException` | `lodging.policies.paymentOptions.debitCardException` | `lodging.policies.paymentOptions.mobileNfcException` | `lodging.policies.smokeFreePropertyException` | `lodging.pools.adultPoolException` | `lodging.pools.hotTubException` | `lodging.pools.indoorPoolException` | `lodging.pools.indoorPoolsCountException` | `lodging.pools.lazyRiverException` | `lodging.pools.lifeguardException` | `lodging.pools.outdoorPoolException` | `lodging.pools.outdoorPoolsCountException` | `lodging.pools.poolException` | `lodging.pools.poolsCountException` | `lodging.pools.wadingPoolException` | `lodging.pools.waterParkException` | `lodging.pools.waterslideException` | `lodging.pools.wavePoolException` | `lodging.property.builtYearException` | `lodging.property.floorsCountException` | `lodging.property.lastRenovatedYearException` | `lodging.property.roomsCountException` | `lodging.services.baggageStorageException` | `lodging.services.conciergeException` | `lodging.services.convenienceStoreException` | `lodging.services.currencyExchangeException` | `lodging.services.elevatorException` | `lodging.services.frontDeskException` | `lodging.services.fullServiceLaundryException` | `lodging.services.giftShopException` | `lodging.services.languagesSpoken` | `lodging.services.languagesSpoken.${number}.languageCode` | `lodging.services.languagesSpoken.${number}.spokenException` | `lodging.services.selfServiceLaundryException` | `lodging.services.socialHourException` | `lodging.services.twentyFourHourFrontDeskException` | `lodging.services.wakeUpCallsException` | `lodging.sustainability.energyEfficiency.carbonFreeEnergySourcesException` | `lodging.sustainability.energyEfficiency.energyConservationProgramException` | `lodging.sustainability.energyEfficiency.energyEfficientHeatingAndCoolingSystemsException` | `lodging.sustainability.energyEfficiency.energyEfficientLightingException` | `lodging.sustainability.energyEfficiency.energySavingThermostatsException` | `lodging.sustainability.energyEfficiency.greenBuildingDesignException` | `lodging.sustainability.energyEfficiency.independentOrganizationAuditsEnergyUseException` | `lodging.sustainability.sustainabilityCertifications.breeamCertification` | `lodging.sustainability.sustainabilityCertifications.breeamCertificationException` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications.${number}.awardedException` | `lodging.sustainability.sustainabilityCertifications.ecoCertifications.${number}.ecoCertificate` | `lodging.sustainability.sustainabilityCertifications.leedCertification` | `lodging.sustainability.sustainabilityCertifications.leedCertificationException` | `lodging.sustainability.sustainableSourcing.ecoFriendlyToiletriesException` | `lodging.sustainability.sustainableSourcing.locallySourcedFoodAndBeveragesException` | `lodging.sustainability.sustainableSourcing.organicCageFreeEggsException` | `lodging.sustainability.sustainableSourcing.organicFoodAndBeveragesException` | `lodging.sustainability.sustainableSourcing.responsiblePurchasingPolicyException` | `lodging.sustainability.sustainableSourcing.responsiblySourcesSeafoodException` | `lodging.sustainability.sustainableSourcing.veganMealsException` | `lodging.sustainability.sustainableSourcing.vegetarianMealsException` | `lodging.sustainability.wasteReduction.compostableFoodContainersAndCutleryException` | `lodging.sustainability.wasteReduction.compostsExcessFoodException` | `lodging.sustainability.wasteReduction.donatesExcessFoodException` | `lodging.sustainability.wasteReduction.foodWasteReductionProgramException` | `lodging.sustainability.wasteReduction.noSingleUsePlasticStrawsException` | `lodging.sustainability.wasteReduction.noSingleUsePlasticWaterBottlesException` | `lodging.sustainability.wasteReduction.noStyrofoamFoodContainersException` | `lodging.sustainability.wasteReduction.recyclingProgramException` | `lodging.sustainability.wasteReduction.refillableToiletryContainersException` | `lodging.sustainability.wasteReduction.safelyDisposesBatteriesException` | `lodging.sustainability.wasteReduction.safelyDisposesElectronicsException` | `lodging.sustainability.wasteReduction.safelyDisposesLightbulbsException` | `lodging.sustainability.wasteReduction.safelyHandlesHazardousSubstancesException` | `lodging.sustainability.wasteReduction.soapDonationProgramException` | `lodging.sustainability.wasteReduction.toiletryDonationProgramException` | `lodging.sustainability.wasteReduction.waterBottleFillingStationsException` | `lodging.sustainability.waterConservation.independentOrganizationAuditsWaterUseException` | `lodging.sustainability.waterConservation.linenReuseProgramException` | `lodging.sustainability.waterConservation.towelReuseProgramException` | `lodging.sustainability.waterConservation.waterSavingShowersException` | `lodging.sustainability.waterConservation.waterSavingSinksException` | `lodging.sustainability.waterConservation.waterSavingToiletsException` | `lodging.transportation.airportShuttleException` | `lodging.transportation.carRentalOnPropertyException` | `lodging.transportation.freeAirportShuttleException` | `lodging.transportation.freePrivateCarServiceException` | `lodging.transportation.localShuttleException` | `lodging.transportation.privateCarServiceException` | `lodging.transportation.transferException` | `lodging.wellness.doctorOnCallException` | `lodging.wellness.ellipticalMachineException` | `lodging.wellness.fitnessCenterException` | `lodging.wellness.freeFitnessCenterException` | `lodging.wellness.freeWeightsException` | `lodging.wellness.massageException` | `lodging.wellness.salonException` | `lodging.wellness.saunaException` | `lodging.wellness.spaException` | `lodging.wellness.treadmillException` | `lodging.wellness.weightMachineException`, 5> & {
|
|
577
583
|
__applicationErrorsType?: UpdateLocationLodgingApplicationErrors;
|
|
578
584
|
}>;
|
|
579
585
|
}
|
|
@@ -600,7 +606,7 @@ interface ListAttributeMetadataSignature {
|
|
|
600
606
|
* - `GOOGLE_API_CALL_FAILED`: the call to Google failed. Google's status and
|
|
601
607
|
* response are in the error payload.
|
|
602
608
|
*/
|
|
603
|
-
(options?: ListAttributeMetadataOptions): Promise<NonNullablePaths<ListAttributeMetadataResponse, `attributeMetadata` | `attributeMetadata.${number}.attributeId` | `attributeMetadata.${number}.valueType` | `attributeMetadata.${number}.displayName` | `attributeMetadata.${number}.groupDisplayName` | `attributeMetadata.${number}.repeatable` | `attributeMetadata.${number}.deprecated`,
|
|
609
|
+
(options?: ListAttributeMetadataOptions): Promise<NonNullablePaths<ListAttributeMetadataResponse, `attributeMetadata` | `attributeMetadata.${number}.attributeId` | `attributeMetadata.${number}.valueType` | `attributeMetadata.${number}.displayName` | `attributeMetadata.${number}.groupDisplayName` | `attributeMetadata.${number}.repeatable` | `attributeMetadata.${number}.deprecated`, 2> & {
|
|
604
610
|
__applicationErrorsType?: ListAttributeMetadataApplicationErrors;
|
|
605
611
|
}>;
|
|
606
612
|
}
|
|
@@ -631,7 +637,7 @@ interface ListCategoriesSignature {
|
|
|
631
637
|
* @param - ISO 3166-1 alpha-2 country code (e.g. "US") the catalog is scoped to.
|
|
632
638
|
* Categories differ per country, so this is required.
|
|
633
639
|
*/
|
|
634
|
-
(regionCode: string, options?: NonNullablePaths<ListCategoriesOptions, `languageCode`,
|
|
640
|
+
(regionCode: string, options?: NonNullablePaths<ListCategoriesOptions, `languageCode`, 0>): Promise<NonNullablePaths<ListCategoriesResponse, `categories` | `categories.${number}._id` | `categories.${number}.displayName`, 2> & {
|
|
635
641
|
__applicationErrorsType?: ListCategoriesApplicationErrors;
|
|
636
642
|
}>;
|
|
637
643
|
}
|
|
@@ -651,7 +657,7 @@ interface GetVerificationOptionsSignature {
|
|
|
651
657
|
* It defaults to English.
|
|
652
658
|
* @param - Location ID. This is Google's location identifier.
|
|
653
659
|
*/
|
|
654
|
-
(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` | `options.${number}.displayData`,
|
|
660
|
+
(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` | `options.${number}.displayData`, 4> & {
|
|
655
661
|
__applicationErrorsType?: GetVerificationOptionsApplicationErrors;
|
|
656
662
|
}>;
|
|
657
663
|
}
|
|
@@ -676,7 +682,7 @@ interface StartVerificationSignature {
|
|
|
676
682
|
* @param - Location ID. This is Google's location identifier.
|
|
677
683
|
* @param - Verification method chosen by the merchant.
|
|
678
684
|
*/
|
|
679
|
-
(locationId: string, method: VerificationMethodWithLiterals, options?: StartVerificationOptions): Promise<NonNullablePaths<StartVerificationResponse, `pendingVerificationId` | `verificationState`,
|
|
685
|
+
(locationId: string, method: VerificationMethodWithLiterals, options?: StartVerificationOptions): Promise<NonNullablePaths<StartVerificationResponse, `pendingVerificationId` | `verificationState`, 0> & {
|
|
680
686
|
__applicationErrorsType?: StartVerificationApplicationErrors;
|
|
681
687
|
}>;
|
|
682
688
|
}
|
|
@@ -693,7 +699,7 @@ interface CompleteVerificationSignature {
|
|
|
693
699
|
* @param - Location ID. This is Google's location identifier.
|
|
694
700
|
* @param - The PIN the site owner received by the method they chose.
|
|
695
701
|
*/
|
|
696
|
-
(locationId: string, pin: string, options: NonNullablePaths<CompleteVerificationOptions, `pendingVerificationId`,
|
|
702
|
+
(locationId: string, pin: string, options: NonNullablePaths<CompleteVerificationOptions, `pendingVerificationId`, 0>): Promise<NonNullablePaths<CompleteVerificationResponse, `verificationState`, 0> & {
|
|
697
703
|
__applicationErrorsType?: CompleteVerificationApplicationErrors;
|
|
698
704
|
}>;
|
|
699
705
|
}
|
|
@@ -710,7 +716,7 @@ interface GetVoiceOfMerchantSignature {
|
|
|
710
716
|
* Google's guidelines, or resolving who owns the listing.
|
|
711
717
|
* @param - Location ID. This is Google's location identifier.
|
|
712
718
|
*/
|
|
713
|
-
(locationId: string): Promise<NonNullablePaths<GetVoiceOfMerchantResponse, `voiceOfMerchant.hasVoiceOfMerchant` | `voiceOfMerchant.hasBusinessAuthority` | `voiceOfMerchant.state` | `voiceOfMerchant.recommendationReason` | `voiceOfMerchant.hasPendingVerification`,
|
|
719
|
+
(locationId: string): Promise<NonNullablePaths<GetVoiceOfMerchantResponse, `voiceOfMerchant.hasVoiceOfMerchant` | `voiceOfMerchant.hasBusinessAuthority` | `voiceOfMerchant.state` | `voiceOfMerchant.recommendationReason` | `voiceOfMerchant.hasPendingVerification`, 1>>;
|
|
714
720
|
}
|
|
715
721
|
declare function getLocationInsights$1(httpClient: HttpClient): GetLocationInsightsSignature;
|
|
716
722
|
interface GetLocationInsightsSignature {
|
|
@@ -727,7 +733,7 @@ interface GetLocationInsightsSignature {
|
|
|
727
733
|
* @param - Location ID. This is Google's location identifier.
|
|
728
734
|
* @param - Time range for the insights query.
|
|
729
735
|
*/
|
|
730
|
-
(locationId: string, timeRange: InsightsTimeRange, options: NonNullablePaths<GetLocationInsightsOptions, `metricTypes`,
|
|
736
|
+
(locationId: string, timeRange: InsightsTimeRange, options: NonNullablePaths<GetLocationInsightsOptions, `metricTypes`, 0>): Promise<NonNullablePaths<GetLocationInsightsResponse, `metrics` | `metrics.${number}.metricType` | `metrics.${number}.totalValue`, 2>>;
|
|
731
737
|
}
|
|
732
738
|
declare function listSearchKeywordImpressions$1(httpClient: HttpClient): ListSearchKeywordImpressionsSignature;
|
|
733
739
|
interface ListSearchKeywordImpressionsSignature {
|
|
@@ -744,7 +750,7 @@ interface ListSearchKeywordImpressionsSignature {
|
|
|
744
750
|
* @param - Location ID. This is Google's location identifier.
|
|
745
751
|
* @param - Inclusive calendar-month range to query.
|
|
746
752
|
*/
|
|
747
|
-
(locationId: string, monthlyRange: MonthlyRange, options?: ListSearchKeywordImpressionsOptions): Promise<NonNullablePaths<ListSearchKeywordImpressionsResponse, `keywordImpressions` | `keywordImpressions.${number}.value` | `keywordImpressions.${number}.threshold` | `keywordImpressions.${number}.searchKeyword`,
|
|
753
|
+
(locationId: string, monthlyRange: MonthlyRange, options?: ListSearchKeywordImpressionsOptions): Promise<NonNullablePaths<ListSearchKeywordImpressionsResponse, `keywordImpressions` | `keywordImpressions.${number}.value` | `keywordImpressions.${number}.threshold` | `keywordImpressions.${number}.searchKeyword`, 2> & {
|
|
748
754
|
__applicationErrorsType?: ListSearchKeywordImpressionsApplicationErrors;
|
|
749
755
|
}>;
|
|
750
756
|
}
|
|
@@ -763,7 +769,7 @@ interface InviteAdminToLocationSignature {
|
|
|
763
769
|
* @param - Location ID (Google's opaque location id) to invite the account to manage.
|
|
764
770
|
* @param - The email of the Google account to invite as a manager. PII.
|
|
765
771
|
*/
|
|
766
|
-
(locationId: string, email: string, options: NonNullablePaths<InviteAdminToLocationOptions, `role`,
|
|
772
|
+
(locationId: string, email: string, options: NonNullablePaths<InviteAdminToLocationOptions, `role`, 0>): Promise<InviteAdminToLocationResponse>;
|
|
767
773
|
}
|
|
768
774
|
declare function getLocationAdmins$1(httpClient: HttpClient): GetLocationAdminsSignature;
|
|
769
775
|
interface GetLocationAdminsSignature {
|
|
@@ -776,7 +782,7 @@ interface GetLocationAdminsSignature {
|
|
|
776
782
|
* location.
|
|
777
783
|
* @param - Location ID (Google's opaque location id) to list admins for.
|
|
778
784
|
*/
|
|
779
|
-
(locationId: string): Promise<NonNullablePaths<GetLocationAdminsResponse, `locationAdmins` | `locationAdmins.${number}._id` | `locationAdmins.${number}.googleLocationId` | `locationAdmins.${number}.accountResourceName` | `locationAdmins.${number}.role` | `locationAdmins.${number}.pendingInvitation`,
|
|
785
|
+
(locationId: string): Promise<NonNullablePaths<GetLocationAdminsResponse, `locationAdmins` | `locationAdmins.${number}._id` | `locationAdmins.${number}.googleLocationId` | `locationAdmins.${number}.accountResourceName` | `locationAdmins.${number}.role` | `locationAdmins.${number}.pendingInvitation`, 2>>;
|
|
780
786
|
}
|
|
781
787
|
declare function getAddressSchemaByCountryCode$1(httpClient: HttpClient): GetAddressSchemaByCountryCodeSignature;
|
|
782
788
|
interface GetAddressSchemaByCountryCodeSignature {
|
|
@@ -792,7 +798,7 @@ interface GetAddressSchemaByCountryCodeSignature {
|
|
|
792
798
|
* while creating a location.
|
|
793
799
|
* @param - ISO 3166-1 alpha-2 country code (e.g. "US", "UA", "KR").
|
|
794
800
|
*/
|
|
795
|
-
(countryCode: string, options?: GetAddressSchemaByCountryCodeOptions): Promise<NonNullablePaths<GetAddressSchemaByCountryCodeResponse, `schema.countryCode` | `schema.fields` | `schema.requiredFields` | `schema.administrativeAreas` | `schema.postalFormat` | `schema.languages` | `schema.administrativeAreaType` | `schema.localityType` | `schema.subLocalityType` | `schema.postalCodeType`,
|
|
801
|
+
(countryCode: string, options?: GetAddressSchemaByCountryCodeOptions): Promise<NonNullablePaths<GetAddressSchemaByCountryCodeResponse, `schema.countryCode` | `schema.fields` | `schema.requiredFields` | `schema.administrativeAreas` | `schema.postalFormat` | `schema.languages` | `schema.administrativeAreaType` | `schema.localityType` | `schema.subLocalityType` | `schema.postalCodeType`, 1> & {
|
|
796
802
|
__applicationErrorsType?: GetAddressSchemaByCountryCodeApplicationErrors;
|
|
797
803
|
}>;
|
|
798
804
|
}
|
|
@@ -813,7 +819,7 @@ interface SuggestRegionsSignature {
|
|
|
813
819
|
* Queries shorter than 3 chars return an empty list (handled server-side),
|
|
814
820
|
* not an error.
|
|
815
821
|
*/
|
|
816
|
-
(query: string, options?: NonNullablePaths<SuggestRegionsOptions, `countryCode`,
|
|
822
|
+
(query: string, options?: NonNullablePaths<SuggestRegionsOptions, `countryCode`, 0>): Promise<NonNullablePaths<SuggestRegionsResponse, `suggestions` | `suggestions.${number}.placeId` | `suggestions.${number}.description` | `suggestions.${number}.mainText` | `suggestions.${number}.secondaryText`, 2> & {
|
|
817
823
|
__applicationErrorsType?: SuggestRegionsApplicationErrors;
|
|
818
824
|
}>;
|
|
819
825
|
}
|
|
@@ -837,7 +843,7 @@ interface SuggestEstablishmentsSignature {
|
|
|
837
843
|
* this prefix. Queries shorter than 3 chars return an empty list
|
|
838
844
|
* (handled server-side), not an error.
|
|
839
845
|
*/
|
|
840
|
-
(query: string, options?: SuggestEstablishmentsOptions): Promise<NonNullablePaths<SuggestEstablishmentsResponse, `suggestions` | `suggestions.${number}.placeId` | `suggestions.${number}.description` | `suggestions.${number}.mainText` | `suggestions.${number}.secondaryText`,
|
|
846
|
+
(query: string, options?: SuggestEstablishmentsOptions): Promise<NonNullablePaths<SuggestEstablishmentsResponse, `suggestions` | `suggestions.${number}.placeId` | `suggestions.${number}.description` | `suggestions.${number}.mainText` | `suggestions.${number}.secondaryText`, 2> & {
|
|
841
847
|
__applicationErrorsType?: SuggestEstablishmentsApplicationErrors;
|
|
842
848
|
}>;
|
|
843
849
|
}
|
|
@@ -865,7 +871,7 @@ interface SearchGoogleLocationsSignature {
|
|
|
865
871
|
* For lighter-weight suggestions while someone types, call Suggest
|
|
866
872
|
* Establishments, which returns autocomplete hints rather than catalog entries.
|
|
867
873
|
*/
|
|
868
|
-
(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}.location.metadata.canHaveFoodMenus` | `matches.${number}.status`,
|
|
874
|
+
(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}.location.metadata.canHaveFoodMenus` | `matches.${number}.status`, 4> & {
|
|
869
875
|
__applicationErrorsType?: SearchGoogleLocationsApplicationErrors;
|
|
870
876
|
}>;
|
|
871
877
|
}
|