import { GetGBPLocationRequest as GetGBPLocationRequest$1, GetGBPLocationResponse as GetGBPLocationResponse$1, QueryGBPLocationsRequest as QueryGBPLocationsRequest$1, QueryGBPLocationsResponse as QueryGBPLocationsResponse$1, QueryGoogleLocationsRequest as QueryGoogleLocationsRequest$1, QueryGoogleLocationsResponse as QueryGoogleLocationsResponse$1, GetGoogleLocationRequest as GetGoogleLocationRequest$1, GetGoogleLocationResponse as GetGoogleLocationResponse$1, CreateLocationRequest as CreateLocationRequest$1, CreateLocationResponse as CreateLocationResponse$1, UpdateLocationRequest as UpdateLocationRequest$1, UpdateLocationResponse as UpdateLocationResponse$1, DeleteLocationRequest as DeleteLocationRequest$1, DeleteLocationResponse as DeleteLocationResponse$1, CreateGoogleLocationRequest as CreateGoogleLocationRequest$1, CreateGoogleLocationResponse as CreateGoogleLocationResponse$1, DeleteGoogleLocationRequest as DeleteGoogleLocationRequest$1, DeleteGoogleLocationResponse as DeleteGoogleLocationResponse$1, UpdateGoogleLocationRequest as UpdateGoogleLocationRequest$1, UpdateGoogleLocationResponse as UpdateGoogleLocationResponse$1, BulkCreateLocationsRequest as BulkCreateLocationsRequest$1, BulkCreateLocationsResponse as BulkCreateLocationsResponse$1, BulkDeleteLocationsRequest as BulkDeleteLocationsRequest$1, BulkDeleteLocationsResponse as BulkDeleteLocationsResponse$1, ListGbpAccountsRequest as ListGbpAccountsRequest$1, ListGbpAccountsResponse as ListGbpAccountsResponse$1, ListUnimportedLocationsRequest as ListUnimportedLocationsRequest$1, ListUnimportedLocationsResponse as ListUnimportedLocationsResponse$1, GetNotificationSettingRequest as GetNotificationSettingRequest$1, GetNotificationSettingResponse as GetNotificationSettingResponse$1, UpdateNotificationSettingRequest as UpdateNotificationSettingRequest$1, UpdateNotificationSettingResponse as UpdateNotificationSettingResponse$1, ListReviewsRequest as ListReviewsRequest$1, ListReviewsResponse as ListReviewsResponse$1, PutReviewReplyRequest as PutReviewReplyRequest$1, PutReviewReplyResponse as PutReviewReplyResponse$1, DeleteReviewReplyRequest as DeleteReviewReplyRequest$1, DeleteReviewReplyResponse as DeleteReviewReplyResponse$1, ListMediaRequest as ListMediaRequest$1, ListMediaResponse as ListMediaResponse$1, CreateMediaRequest as CreateMediaRequest$1, CreateMediaResponse as CreateMediaResponse$1, DeleteMediaRequest as DeleteMediaRequest$1, DeleteMediaResponse as DeleteMediaResponse$1, CreateLocalPostRequest as CreateLocalPostRequest$1, CreateLocalPostResponse as CreateLocalPostResponse$1, ListLocalPostsRequest as ListLocalPostsRequest$1, ListLocalPostsResponse as ListLocalPostsResponse$1, GetLocalPostRequest as GetLocalPostRequest$1, GetLocalPostResponse as GetLocalPostResponse$1, UpdateLocalPostRequest as UpdateLocalPostRequest$1, UpdateLocalPostResponse as UpdateLocalPostResponse$1, DeleteLocalPostRequest as DeleteLocalPostRequest$1, DeleteLocalPostResponse as DeleteLocalPostResponse$1, ReportLocalPostInsightsRequest as ReportLocalPostInsightsRequest$1, ReportLocalPostInsightsResponse as ReportLocalPostInsightsResponse$1, UpdateLocationFoodMenusRequest as UpdateLocationFoodMenusRequest$1, UpdateLocationFoodMenusResponse as UpdateLocationFoodMenusResponse$1, UpdateLocationAttributesRequest as UpdateLocationAttributesRequest$1, UpdateLocationAttributesResponse as UpdateLocationAttributesResponse$1, GetLocationAttributesRequest as GetLocationAttributesRequest$1, GetLocationAttributesResponse as GetLocationAttributesResponse$1, GetLocationLodgingRequest as GetLocationLodgingRequest$1, GetLocationLodgingResponse as GetLocationLodgingResponse$1, UpdateLocationLodgingRequest as UpdateLocationLodgingRequest$1, UpdateLocationLodgingResponse as UpdateLocationLodgingResponse$1, ListAttributeMetadataRequest as ListAttributeMetadataRequest$1, ListAttributeMetadataResponse as ListAttributeMetadataResponse$1, ListCategoriesRequest as ListCategoriesRequest$1, ListCategoriesResponse as ListCategoriesResponse$1, GetVerificationOptionsRequest as GetVerificationOptionsRequest$1, GetVerificationOptionsResponse as GetVerificationOptionsResponse$1, StartVerificationRequest as StartVerificationRequest$1, StartVerificationResponse as StartVerificationResponse$1, CompleteVerificationRequest as CompleteVerificationRequest$1, CompleteVerificationResponse as CompleteVerificationResponse$1, GetVoiceOfMerchantRequest as GetVoiceOfMerchantRequest$1, GetVoiceOfMerchantResponse as GetVoiceOfMerchantResponse$1, GetLocationInsightsRequest as GetLocationInsightsRequest$1, GetLocationInsightsResponse as GetLocationInsightsResponse$1, ListSearchKeywordImpressionsRequest as ListSearchKeywordImpressionsRequest$1, ListSearchKeywordImpressionsResponse as ListSearchKeywordImpressionsResponse$1, InviteAdminToLocationRequest as InviteAdminToLocationRequest$1, InviteAdminToLocationResponse as InviteAdminToLocationResponse$1, GetLocationAdminsRequest as GetLocationAdminsRequest$1, GetLocationAdminsResponse as GetLocationAdminsResponse$1, GetAddressSchemaByCountryCodeRequest as GetAddressSchemaByCountryCodeRequest$1, GetAddressSchemaByCountryCodeResponse as GetAddressSchemaByCountryCodeResponse$1, SuggestRegionsRequest as SuggestRegionsRequest$1, SuggestRegionsResponse as SuggestRegionsResponse$1, SuggestEstablishmentsRequest as SuggestEstablishmentsRequest$1, SuggestEstablishmentsResponse as SuggestEstablishmentsResponse$1, SearchGoogleLocationsRequest as SearchGoogleLocationsRequest$1, SearchGoogleLocationsResponse as SearchGoogleLocationsResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; /** * A GBP location is a site's stable record of one Google Business Profile * location. * * It holds the identifiers and operational metadata needed to work with that * location on Google's behalf. It doesn't store the Google-owned profile data * itself: name, address, opening hours, photos, reviews, attributes and insights * are all retrieved live from Google on each call, so they're never stale here * and never edited here. * * `id` is Google's own location identifier, so you can use it to correlate a * location with data you retrieve from Google directly. * * The only personal data on a GBP location is `serviceAreaPostalAddress`, which * is set for service-area businesses. It's often a home address, so it's stored * encrypted and is covered by the site's data-deletion requests. * * A Google account must be connected before locations can be imported, and before * any call that reads or writes a specific location's profile. See the * [Connection API](https://dev.wix.com/docs/api-reference/business-management/google-business-profile/connection-v1). * * Two methods work without a connection, because they read Google's public catalog * rather than a site's own profile: Search Google Locations, and List Attribute * Metadata when called with `categoryRegion`. Both are useful before a site owner * has connected anything. */ interface GBPLocation { /** * Google's opaque location identifier on the public API. * @immutable * @minLength 1 * @maxLength 255 */ id?: string; /** * ID of the Google Business Profile account that holds this location, what * Google calls a location group. * * One site can have locations in more than one account, because a single * Google login can own several. * @immutable * @maxLength 255 */ accountId?: string; /** * Saved postal address for service-area businesses. Used as the `context` * parameter in Google's FetchVerificationOptions call for service-area * verification flows. Null for storefront businesses. */ serviceAreaPostalAddress?: PostalAddress; /** * Date and time the location was imported into Wix. * @readonly */ createdDate?: Date | null; /** * Date and time the location was last updated. * @readonly */ updatedDate?: Date | null; /** * Revision number, incremented on every update. Used for optimistic locking. * @readonly */ revision?: string; /** * Google's location identifier for this location, the same value as `id`. * Filter and sort on this field in Query GBP Locations. * @immutable * @maxLength 255 * @readonly */ googleLocationId?: string; /** * Identity this location is published under in Google partner feeds, used as * the entity ID, merchant ID or parent entity ID across Reserve with Google, * Order with Google and Dine with Google. * * Can be set once. A location that already has a value keeps it, and a request * that tries to change it is rejected: Google has already ingested the value as * the merchant's identity, so changing it withdraws the business from those * feeds and can remove its booking and ordering buttons. Setting it on a * location that doesn't have one yet is allowed. * * Locations created through this API are given a value automatically, so you * usually don't need to set it. Specify it only when migrating a location whose * identity Google already knows. * @maxLength 288 */ feedEntityId?: string | null; } /** * An address stored on a service-area GBP location and used to verify it with * Google. * * This isn't a copy of the address on the Google Business Profile. It's the * address Google needs as context when verifying a business that serves an area * rather than operating from a storefront. */ interface PostalAddress { /** * ISO 3166-1 alpha-2 country code (e.g. "US", "GB"). * @format COUNTRY */ countryCode?: string; /** * Postal/ZIP code. * @maxLength 20 */ postalCode?: string; /** * Administrative area (state, province, region). * @maxLength 100 */ administrativeArea?: string; /** * City or locality. * @maxLength 100 */ locality?: string; /** * Street address lines. Up to 5 lines. * @maxSize 5 * @maxLength 255 */ addressLines?: string[]; } interface GetGBPLocationRequest { /** * ID of the location to retrieve. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; } interface GetGBPLocationResponse { /** The retrieved location. */ gbplocation?: GBPLocation; } interface QueryGBPLocationsRequest { /** * Query to filter, sort and page the results. * * Supported properties: `id`, `googleLocationId`, `accountId`. */ query?: CursorQuery; } interface CursorQuery extends CursorQueryPagingMethodOneOf { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging; /** * Filter object. * * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section). */ filter?: Record | null; /** * Sort object. * * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section). * @maxSize 5 */ sort?: Sorting[]; } /** @oneof */ interface CursorQueryPagingMethodOneOf { /** * Cursor paging options. * * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging). */ cursorPaging?: CursorPaging; } interface Sorting { /** * Name of the field to sort by. * @maxLength 512 */ fieldName?: string; /** Sort order. */ order?: SortOrderWithLiterals; } declare enum SortOrder { ASC = "ASC", DESC = "DESC" } /** @enumType */ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC'; interface CursorPaging { /** * Maximum number of items to return in the results. * @max 100 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. * @maxLength 16000 */ cursor?: string | null; } interface QueryGBPLocationsResponse { /** List of GBPLocations matching the query. */ locations?: GBPLocation[]; /** Cursor paging metadata. */ pagingMetadata?: CursorPagingMetadata; } interface CursorPagingMetadata { /** Number of items returned in current page. */ count?: number | null; /** Cursor strings that point to the next page, previous page, or both. */ cursors?: Cursors; /** * Whether there are more pages to retrieve following the current page. * * + `true`: Another page of results can be retrieved. * + `false`: This is the last page. */ hasNext?: boolean | null; } interface Cursors { /** * Cursor string pointing to the next page in the list of results. * @maxLength 16000 */ next?: string | null; /** * Cursor pointing to the previous page in the list of results. * @maxLength 16000 */ prev?: string | null; } interface QueryGoogleLocationsRequest { /** * Query to filter, sort and page the results. Takes the same properties as * Query GBP Locations. The default and maximum `cursorPaging.limit` is 20; * larger limits are rejected. Set `cursorPaging.cursor` to the previous * response's `pagingMetadata.cursors.next` while `pagingMetadata.hasNext` is true. * * Supported properties: `id`, `googleLocationId`, `accountId`. */ query?: CursorQuery; } interface QueryGoogleLocationsResponse { /** * Retrieved locations, each with its Google data or, if that couldn't be * retrieved, a `googleError` explaining why. */ locations?: LocationWithGoogle[]; /** * Paging metadata. Paging reflects the site's stored locations, so a location * whose Google data couldn't be retrieved still occupies its place in the page. */ pagingMetadata?: CursorPagingMetadata; } /** * A location together with the outcome of retrieving its Google data. * * Each location carries either `googleLocation` or `googleError`, and separately * either `voiceOfMerchant` or `voiceOfMerchantError`. The two are retrieved * independently, so one can succeed while the other fails. * * A failure on either doesn't fail the call. Check these fields per location rather * than relying on the response status. * * Failures use the same error codes as the methods that write to Google, so * existing handling can be reused: * * - `GOOGLE_API_CALL_FAILED`: Google returned an error, or the call didn't reach * it. `data.googleHttpStatus` carries Google's status, or `-1` if no response * arrived. On this path that's the only detail available: `googleResponseBody` * and `googleErrorMessage` aren't populated here, though they are when a write * method returns the same code. Check whether a field is present rather than * assuming it is. * - `GBP_TOKEN_UNAVAILABLE`: the site's Google credentials couldn't be used, so * Google wasn't called. This one is temporary - a Google or service outage, or * a connection that's missing the business-listings permission. Retry it. It * does not mean the site owner has to connect again. * - `GBP_TOKEN_REJECTED`: Google rejected the site's stored credentials, so * Google wasn't called. This is the only code here that means the site owner * has to connect their Google account again. * - `MIXED_CONNECTION_ID`: this location belongs to a different Google account * than the rest of the page, so it was skipped. */ interface LocationWithGoogle extends LocationWithGoogleGoogleResultOneOf, LocationWithGoogleVoiceOfMerchantResultOneOf { /** The location's current profile data from Google. */ googleLocation?: GoogleLocation; /** * Why the profile data couldn't be retrieved for this location. See the * description of this object for the error codes. */ googleError?: ApplicationError; /** Whether Google considers this location's profile trusted and live. */ voiceOfMerchant?: VoiceOfMerchantState; /** * Why the Voice of Merchant state couldn't be retrieved for this location. * Same error codes as `googleError`. */ voiceOfMerchantError?: ApplicationError; /** * The location as it's stored for the site, including its `id` and * `accountId`. */ location?: GBPLocation; } /** @oneof */ interface LocationWithGoogleGoogleResultOneOf { /** The location's current profile data from Google. */ googleLocation?: GoogleLocation; /** * Why the profile data couldn't be retrieved for this location. See the * description of this object for the error codes. */ googleError?: ApplicationError; } /** @oneof */ interface LocationWithGoogleVoiceOfMerchantResultOneOf { /** Whether Google considers this location's profile trusted and live. */ voiceOfMerchant?: VoiceOfMerchantState; /** * Why the Voice of Merchant state couldn't be retrieved for this location. * Same error codes as `googleError`. */ voiceOfMerchantError?: ApplicationError; } /** * The Google Business Profile data for a location. * * Mostly the details that appear on the public profile, with the exception of * `storeCode`, which is a free-form identifier only the site owner sees. * * This is Google-owned data. It's retrieved from Google when you read it and sent * to Google when you write it, so it's never cached for the site. * * `storefrontAddress` and `serviceArea` aren't mutually exclusive. At least one is * required when creating a location, and both can be set when * `serviceArea.businessType` is `CUSTOMER_AND_BUSINESS_LOCATION`, which is how a * business that both has premises and travels to customers is represented. */ interface GoogleLocation { /** * Google resource name, e.g. "locations/12345678901234567890". * Empty on create request; populated on response. * @maxLength 200 */ name?: string; /** * Business name shown on the listing (Google's "title"). * @minLength 1 * @maxLength 300 */ title?: string; /** * BCP-47 language tag, e.g. "en-US". Required when creating a location and * immutable afterwards. Not used by SearchGoogleLocations. * @format LANGUAGE_TAG * @immutable */ languageCode?: string; /** Primary business category. Required by Google. */ primaryCategory?: Category; /** * Additional categories. Google caps at 9. * @maxSize 9 */ additionalCategories?: Category[]; /** * Optional. Google asks for a description for every category except lodging * but doesn't enforce it, so neither does this API. Both an absent profile and * one with an empty description are accepted. */ profile?: Profile; /** * Storefront postal address. Required for a business that serves customers at * its premises, and allowed alongside `serviceArea` when that field's * `businessType` is `CUSTOMER_AND_BUSINESS_LOCATION`. */ storefrontAddress?: PostalAddress; /** * Service-area definition (for businesses that serve customers at the * customer's location, exclusively or in addition to their storefront). */ serviceArea?: ServiceArea; /** * Primary business phone. * @maxLength 50 */ primaryPhone?: string; /** * Additional phones. Google caps at 2. * @maxSize 2 * @maxLength 50 */ additionalPhones?: string[]; /** * Business website. * * Clear it by masking `websiteUri` on Update Google Location and sending * `null`. Sending an empty string is rejected. * @format WEB_URL * @maxLength 1000 */ websiteUri?: string | null; /** * Merchant-defined store code (free-form identifier shown only to the merchant). * @maxLength 64 */ storeCode?: string; /** * Regular weekly business hours. * @maxSize 14 */ regularHours?: BusinessHours[]; /** * Hours for specific dates that override `regularHours`, such as holidays or * one-off closures. Each entry covers one date. * * Google accepts special hours only on a location that has `regularHours`. * Update Google Location refuses 7 or more consecutive closed dates with * `SPECIAL_HOURS_CLOSURE_TOO_LONG`. For a closure that long, set `openInfo.status` * to `CLOSED_TEMPORARILY` instead, and back to `OPEN` when the business reopens. * To clear every special hour, mask `specialHours` on Update Google Location * and send none: Google replaces the whole list with what you send. * @maxSize 500 */ specialHours?: SpecialHourPeriod[]; /** Geographic coordinates of the storefront. */ latLng?: LatLng; /** Open/closed state of the listing. */ openInfo?: OpenInfo; /** * Read-only signals Google reports about the listing. * * Only populated on the read paths (Query Google Locations, Get Google * Location) and on the Update Google Location response. Search Google * Locations reads Google's catalog rather than the merchant's own listing, * so it leaves this unset — don't read a default there as a "no". * @readonly */ metadata?: Metadata; } /** Google Business Profile category. */ interface Category { /** * Google's category identifier, such as `categories/gcid:restaurant`. * * The `categories/` prefix is optional when you send it. A bare `gcid:...` is * accepted and prefixed for you. * @minLength 1 * @maxLength 200 */ id?: string; /** * Display name of the category. Returned by Google, and ignored if you send * it. * @maxLength 200 * @readonly */ displayName?: string; } /** * Business description shown on the public listing. * * Not to be confused with `storeCode`, which only the site owner sees. */ interface Profile { /** * Description of the location in the site owner's own words. Optional, and an * empty value clears it on the listing. Google allows up to 750 characters. * @maxLength 750 */ description?: string; } /** * Service-area definition for businesses that serve customers at the * customer's location (CUSTOMER_LOCATION_ONLY) or at a mix of the * customer's location and the business storefront (CUSTOMER_AND_BUSINESS_LOCATION). */ interface ServiceArea { /** Type of service-area business. */ businessType?: BusinessTypeWithLiterals; /** * Places served. Google caps at 20. * @maxSize 20 */ places?: PlaceInfo[]; /** * ISO 3166-1 alpha-2 country code. Required by Google for * CUSTOMER_LOCATION_ONLY businesses; ignored otherwise. * @format COUNTRY */ regionCode?: string; } declare enum BusinessType { CUSTOMER_LOCATION_ONLY = "CUSTOMER_LOCATION_ONLY", CUSTOMER_AND_BUSINESS_LOCATION = "CUSTOMER_AND_BUSINESS_LOCATION" } /** @enumType */ type BusinessTypeWithLiterals = BusinessType | 'CUSTOMER_LOCATION_ONLY' | 'CUSTOMER_AND_BUSINESS_LOCATION'; /** * Reference to a Place (city, region, or other geographic area) served * by a service-area business. */ interface PlaceInfo { /** * Human-readable place name (e.g. "Brooklyn, NY"). * @maxLength 200 */ placeName?: string; /** * Google Place ID (opaque). * @maxLength 200 */ placeId?: string; } /** * Weekly business-hours window. One BusinessHours per open/close span. * A business that's open Mon-Fri 9-5 has 5 BusinessHours entries. */ interface BusinessHours { /** Day of the week when this open/close window starts. */ openDay?: DayOfWeekWithLiterals; /** Wall-clock time the business opens on `openDay`. */ openTime?: TimeOfDay; /** Day of the week when this open/close window ends. */ closeDay?: DayOfWeekWithLiterals; /** Wall-clock time the business closes on `closeDay`. */ closeTime?: TimeOfDay; } /** Day of the week. */ declare enum DayOfWeek { MONDAY = "MONDAY", TUESDAY = "TUESDAY", WEDNESDAY = "WEDNESDAY", THURSDAY = "THURSDAY", FRIDAY = "FRIDAY", SATURDAY = "SATURDAY", SUNDAY = "SUNDAY" } /** @enumType */ type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY'; /** Time of day in 24-hour wall-clock format. */ interface TimeOfDay { /** * Hour of day, from 0 to 24. `24` means midnight at the end of the day, and is valid only * with `minutes` 0. Google's TimePeriod admits 00:00-24:00, and a close at midnight set in * Google's own UI comes back as `24:00`, so a value read from Google must be accepted back * unchanged on an update. * @max 24 */ hours?: number; /** * Minute of the hour, from 0 to 59. * @max 59 */ minutes?: number; } /** * Business hours for one date, overriding the regular weekly hours. * * Either the business is closed all day (`closed` is `true`, and no times are * set), or it's open between `openTime` on `startDate` and `closeTime` on * `endDate`. */ interface SpecialHourPeriod { /** Date the special hours apply to. Required. */ startDate?: _Date; /** Time the business opens on `startDate`. Required unless `closed` is `true`. */ openTime?: TimeOfDay; /** * Date the business closes, when it closes after midnight. Must be the same * as `startDate` or the day after it. Defaults to `startDate`. */ endDate?: _Date; /** * Time the business closes on `endDate`. Required unless `closed` is `true`. * `24:00` means midnight at the end of `endDate`. */ closeTime?: TimeOfDay; /** * Whether the business is closed all day on `startDate`. When `true`, leave * `openTime`, `closeTime` and `endDate` out. */ closed?: boolean; } /** A calendar date with no time zone. */ interface _Date { /** * Year, from 1 to 9999. * @min 1 * @max 9999 */ year?: number; /** * Month, from 1 to 12. * @min 1 * @max 12 */ month?: number; /** * Day of the month, from 1 to 31. * @min 1 * @max 31 */ day?: number; } /** Geographic coordinates. */ interface LatLng { /** Latitude in degrees. Must be in [-90, 90]. */ latitude?: number; /** Longitude in degrees. Must be in [-180, 180]. */ longitude?: number; } /** Open/closed state of a Business Profile listing. */ interface OpenInfo { /** Current listing status. */ status?: StatusWithLiterals; /** Whether the listing can be reopened (only relevant for CLOSED_PERMANENTLY). */ canReopen?: boolean; } declare enum Status { OPEN = "OPEN", CLOSED_PERMANENTLY = "CLOSED_PERMANENTLY", CLOSED_TEMPORARILY = "CLOSED_TEMPORARILY" } /** @enumType */ type StatusWithLiterals = Status | 'OPEN' | 'CLOSED_PERMANENTLY' | 'CLOSED_TEMPORARILY'; /** * Read-only signals Google reports about the listing itself, as opposed to * the profile content on it. Mirrors a subset of Google's * `Location.metadata`. */ interface Metadata { /** * Whether this location can carry lodging (hotel) data — that is, whether * Get/Update Google Location Lodging are usable for it. Google derives it * from the primary category, so it flips when the category changes. */ canOperateLodgingData?: boolean; /** * Link to the location's page on Google Maps. Google returns it only once * the listing is on Maps, so it stays empty for a listing that is still * unverified or suspended. * @format WEB_URL * @maxLength 1000 */ mapsUri?: string; /** * Whether this location is eligible for food menus. Callers must check * this flag before using Update Location Food Menus. * @readonly */ canHaveFoodMenus?: boolean; /** * Link to the page on Google Search where a customer can leave a review * for this location: the one a business sends customers when it asks for * a review. Output only on Google's side. Google does not document when * it is filled, so an empty value means there is no link to send yet. * @format WEB_URL * @maxLength 1000 * @readonly */ newReviewUri?: string; } interface ApplicationError { /** Error code. */ code?: string; /** Description of the error. */ description?: string; /** Data related to the error. */ data?: Record | null; } /** * Whether Google considers a location's profile trusted and live, and if not, what * the site owner needs to do about it. * * Google calls this Voice of Merchant. A location can be verified and still not * have it, so this is the signal to check before telling a site owner their profile * is live. See * [Google's documentation](https://developers.google.com/my-business/reference/verifications/rest/v1/locations/getVoiceOfMerchantState). * * `state` says what's needed. Two states carry extra detail, and each detail field * is only meaningful for its own state: `recommendationReason` for * `COMPLY_WITH_GUIDELINES`, and `hasPendingVerification` for `VERIFY`. */ interface VoiceOfMerchantState { /** Whether the location is ready to be acted on by the merchant. */ hasVoiceOfMerchant?: boolean; /** Whether the merchant has business-authority (claim) for the location. */ hasBusinessAuthority?: boolean; /** * The action (if any) Google recommends the merchant take to obtain or * restore voice-of-merchant. `STATE_NONE` means no action is required at * this time. */ state?: StateWithLiterals; /** * Set when `state == COMPLY_WITH_GUIDELINES`: why Google is asking the * merchant to review the guidelines. */ recommendationReason?: RecommendationReasonWithLiterals; /** * Set when `state == VERIFY`: true when a Verification resource is already * in flight for the location (StartVerification was already called and the * PIN is in transit). */ hasPendingVerification?: boolean; } /** Mirrors the `state` union in Google's spec. */ declare enum State { /** Google is still assessing the location. Nothing to do but wait. */ WAIT_FOR_VOICE_OF_MERCHANT = "WAIT_FOR_VOICE_OF_MERCHANT", /** * Someone else claims this location. The site owner has to resolve it with * Google directly. */ RESOLVE_OWNERSHIP_CONFLICT = "RESOLVE_OWNERSHIP_CONFLICT", /** * The location needs to comply with Google's guidelines. Check * `recommendationReason` for what Google flagged. */ COMPLY_WITH_GUIDELINES = "COMPLY_WITH_GUIDELINES", /** * The location needs to be verified. Check `hasPendingVerification` to see * whether one is already under way before starting another. */ VERIFY = "VERIFY" } /** @enumType */ type StateWithLiterals = State | 'WAIT_FOR_VOICE_OF_MERCHANT' | 'RESOLVE_OWNERSHIP_CONFLICT' | 'COMPLY_WITH_GUIDELINES' | 'VERIFY'; /** * Reason behind a ComplyWithGuidelines recommendation. Mirrors Google's * enum values. */ declare enum RecommendationReason { /** Listing has been suspended for guideline violations. */ BUSINESS_LOCATION_SUSPENDED = "BUSINESS_LOCATION_SUSPENDED", /** Listing has been disabled. */ BUSINESS_LOCATION_DISABLED = "BUSINESS_LOCATION_DISABLED" } /** @enumType */ type RecommendationReasonWithLiterals = RecommendationReason | 'BUSINESS_LOCATION_SUSPENDED' | 'BUSINESS_LOCATION_DISABLED'; interface GetGoogleLocationRequest { /** * ID of the location to retrieve. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; } interface GetGoogleLocationResponse { /** * The location, with its Google profile data or the reason that couldn't be * retrieved. */ location?: LocationWithGoogle; } interface CreateLocationRequest { /** * The location to record for this site. * * `id` is required and must be Google's location ID. `accountId` is required * too, because it identifies which Google account holds the listing. */ location: GBPLocation; } interface CreateLocationResponse { /** The created location. */ location?: GBPLocation; } interface UpdateLocationRequest { /** The location to update. Can be partial. */ location: GBPLocation; } interface UpdateLocationResponse { /** The updated location. */ location?: GBPLocation; } interface DeleteLocationRequest { /** * ID of the location to delete. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; } interface DeleteLocationResponse { } interface CreateGoogleLocationRequest { /** * GBP account id (numeric, no "accounts/" prefix). The server forms the * Google resource name as "accounts/{account_id}". * @minLength 1 * @maxLength 255 */ accountId: string; /** * The Google Location to create. The `name` field is ignored on input * and populated by Google on response. */ location: GoogleLocation; /** * Dry run. When true the payload is sent to Google's * accounts.locations.create with its `validateOnly` query param set, so * Google runs its full validation (categories, address, phone, hours, * pin-drop requirements) and creates nothing. * * A dry run reports failures exactly as a real create does — the same * GOOGLE_LOCATION_VALIDATION_FAILED reasons, the same INVALID_LOCATION_PAYLOAD * for the storefront_address / service_area combinations this service checks * itself — which is the point: a caller can pre-flight a form before * committing. * * On success nothing is created at Google, nothing is persisted here, no * GBPLocation.CREATED event is emitted, and the response's `location` is * UNSET (Google returns no resource name for a validate-only call). Callers * must treat an absent `location` as "validation passed", not as a failure. */ validateOnly?: boolean; } interface CreateGoogleLocationResponse { /** * The created location, with `id` set to the ID Google assigned and `accountId` * carried through from the request. * * UNSET when the request had `validate_only` set: Google validated the payload * and created nothing, so there is no location to return. */ location?: GBPLocation; } /** * Details for `GOOGLE_API_CALL_FAILED`. * * How much of it is filled in depends on what the method does: * * - A method that writes to Google, such as Create Google Location or Delete * Google Location, sets all three fields. You're fixing a request you wrote, * and when Google rejects it without giving reasons, its raw response is the * only thing to go on. * - A method that reads sets `googleHttpStatus` only. That covers `googleError` * and `voiceOfMerchantError` on Query Google Locations and Get Google * Location, and whole-call failures on the other reads such as List Reviews * (other than HTTP 404, which is `REVIEWS_LOCATION_NOT_FOUND`), Search Google * Locations and Get Voice Of Merchant. Reads serve data you * didn't author, so Google's own text is kept server-side (visibility * events) rather than forwarded. * Always test presence on the two string fields before reading them. */ interface GoogleApiCallFailedError { /** * The HTTP status Google returned. -1 represents transport/parse failures * before a valid upstream HTTP response was available. Always set. */ googleHttpStatus?: number; /** * Response body Google returned, if any. * * Set only by methods that write to Google. A method that reads is never * populated here, whether the failure is on the call as a whole or on a single * location, so check whether the field is present rather than assuming it is. * @maxLength 10000 */ googleResponseBody?: string; /** * What went wrong while calling Google. Set only by methods that write to * Google. * @maxLength 1000 */ googleErrorMessage?: string; } /** * Details for `GOOGLE_LOCATION_VALIDATION_FAILED`, returned when Google rejects * the location data and says why, with reasons such as `INVALID_PHONE_NUMBER`, * `PIN_DROP_REQUIRED` or `INVALID_ADDRESS`. * * Unlike `GOOGLE_API_CALL_FAILED`, this one is fixable from the response: * correct the fields it names and try again. */ interface GoogleLocationValidationError { /** * The distinct ErrorInfo `reason` tokens Google returned in the 400 body's * details[]. Raw Google tokens (SCREAMING_SNAKE_CASE), de-duplicated and * order-preserved. * @maxSize 50 * @maxLength 200 */ reasons?: string[]; /** * Per-field detail behind `reasons`, when Google named the fields. Empty when * Google gave reasons without naming fields. * * `reasons` is always the authoritative list. This adds detail to it. * @maxSize 50 */ violations?: FieldViolation[]; /** * The raw 400 body Google returned, verbatim. Carried so a reason we do not * yet decompose into `violations` is still diagnosable from the error alone * (the body names the field even when our parser cannot locate it). * @maxLength 10000 */ googleResponseBody?: string; } /** * A location field Google objected to, with what it said about that field. * * Exactly one of `reason` and `description` is set, depending on which form * Google reported. Branch on whichever is non-empty. */ interface FieldViolation { /** * The field Google objected to, named as Google names it, such as * `storefrontAddress.regionCode` or `categories.primaryCategory`. * * Never empty. A reason Google reported without naming a field appears in * `reasons` instead, with no violation here. * @maxLength 500 */ field?: string; /** * The reason token this violation belongs to, such as * `REQUIRED_FIELD_MISSING_VALUE`. Stable enough to match on, and it also * appears in `reasons`. Empty when Google reported prose instead, in which * case read `description`. * @maxLength 1000 */ reason?: string; /** * Google's free-text explanation, such as "Primary category is required." * * Prose meant for a human, not a stable contract, so show it rather than * matching on it. Empty when Google reported a token instead, in which case * read `reason`. * @maxLength 1000 */ description?: string; } /** * Error payload for LOCATION_DB_PERSIST_FAILED. Carries the Google-assigned * location id so the caller can reconcile the orphaned listing (e.g. via * CreateLocation directly with this id, or via a manual repair flow). */ interface LocationDbPersistFailedError { /** * Location ID (Google's opaque location id, without "locations/" prefix). * @maxLength 255 */ locationId?: string; /** * The GBP account id the location was created under. * @maxLength 255 */ accountId?: string; } interface DeleteGoogleLocationRequest { /** * ID of the location to delete. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; } interface DeleteGoogleLocationResponse { } /** * Details for `LOCATION_NOT_DELETABLE_VIA_API`, returned when Google won't allow a * listing to be deleted through its API. This usually means the listing is verified * or claimed, is managed as part of a chain, is suspended, or the connected account * doesn't have a role that permits deleting it. * * The location is left in place. The site owner has to remove the listing at * business.google.com, after which Delete Location removes it from the site. */ interface LocationNotDeletableViaApiError { /** * Location ID (Google's opaque location id, without "locations/" prefix). * @maxLength 255 */ locationId?: string; } interface UpdateGoogleLocationRequest { /** * ID of the location to update. This is Google's location identifier, without * the `locations/` prefix. * @minLength 1 * @maxLength 255 */ locationId: string; /** * The profile values to set. Only the fields named in `fieldMask` are sent to * Google, so this can be partial. */ location: GoogleLocation; /** * The fields to update. Required: there's no inference, so send it explicitly. * * Only these top-level paths are accepted: `title`, `storeCode`, * `primaryPhone`, `additionalPhones`, `primaryCategory`, * `additionalCategories`, `storefrontAddress`, `websiteUri`, `regularHours`, * `specialHours`, `serviceArea`, `latLng`, `openInfo`, `profile`. * * Paths are checked as sent. An unknown path, a nested one, the wrong case, or * an empty mask is rejected as * INVALID_UPDATE_MASK before any Google call. * * Categories replace as a whole. Mask `primaryCategory` and * `additionalCategories` together, because a mask naming only one is rejected * with `INVALID_UPDATE_MASK`, and send the complete set you want, including a * valid `primaryCategory` or the call fails with `INVALID_CATEGORIES`. Google * replaces the whole set, so any additional category you want to keep has to be * resent or it's deleted. * * Phone numbers replace as a whole too. Mask `primaryPhone` and * `additionalPhones` together, and send the complete set you want. Any * additional phone you want to keep has to be resent or it's deleted. Unlike * categories, no primary is required, so masking both with none set clears * every phone number. * * Only top-level fields are valid. A nested path such as `serviceArea.places` * or `profile.description` is rejected with `INVALID_UPDATE_MASK`. Send the * top-level field instead, and Google replaces that whole part of the * profile. */ fieldMask: string[]; } interface UpdateGoogleLocationResponse { /** * The location's full profile as Google now holds it, not just the fields you * changed. */ location?: GoogleLocation; } /** * Error payload for INVALID_UPDATE_MASK. Returned when field_mask contains * paths that are not patchable via UpdateGoogleLocation. The caller can * resubmit with only the allowed paths listed in the RPC docs. */ interface InvalidUpdateMaskError { /** * The `fieldMask` paths that can't be updated by this method. Resubmit with * only the paths the method documents. * @maxSize 50 * @maxLength 200 */ unknownPaths?: string[]; } /** * Details for `SPECIAL_HOURS_CLOSURE_TOO_LONG`, returned by Update Google Location * when `specialHours` closes the business for 7 or more consecutive dates. * * Special hours are for holidays and short one-off closures. For a longer closure, * update `openInfo` with status `CLOSED_TEMPORARILY` instead, and set it back to * `OPEN` when the business reopens. Google isn't called when this error is * returned. */ interface SpecialHoursClosureTooLongError { /** First closed date of the run that was refused. */ firstClosedDate?: _Date; /** Last closed date of the run that was refused. */ lastClosedDate?: _Date; /** * Number of consecutive closed dates in the run, from `firstClosedDate` to * `lastClosedDate` inclusive. */ closedDays?: number; /** The most consecutive closed dates `specialHours` accepts. */ maxClosedDays?: number; } interface BulkCreateLocationsRequest { /** * The locations to record for this site. Set `id` and `accountId` on each. * @minSize 1 * @maxSize 100 */ locations: GBPLocation[]; /** * Whether to return each created location in `results.item`. Defaults to * `false`, which keeps the response small for a large batch. */ returnEntity?: boolean; } interface BulkCreateLocationsResponse { /** * Results in the order the locations were sent. Each carries its own * `itemMetadata.originalIndex`. * @minSize 1 * @maxSize 100 */ results?: BulkCreateLocationResult[]; /** How many locations succeeded and failed. */ bulkActionMetadata?: BulkActionMetadata; } interface ItemMetadata { /** * Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed. * @format GUID */ id?: string | null; /** Index of the item within the request array. Allows for correlation between request and response items. */ originalIndex?: number; /** Whether the requested action for this item was successful. When `false`, the `error` field is returned. */ success?: boolean; /** Details about the error in case of failure. */ error?: ApplicationError; } interface BulkCreateLocationResult { /** Whether this location was created, and why not if it wasn't. */ itemMetadata?: ItemMetadata; /** The created location. Returned only when `returnEntity` is `true`. */ item?: GBPLocation; } interface BulkActionMetadata { /** Number of items that were successfully processed. */ totalSuccesses?: number; /** Number of items that couldn't be processed. */ totalFailures?: number; /** Number of failures without details because detailed failure threshold was exceeded. */ undetailedFailures?: number; } interface BulkDeleteLocationsRequest { /** * IDs of the locations to delete. These are Google's location identifiers. * @minSize 1 * @maxSize 100 * @maxLength 255 */ locationIds: string[]; } interface BulkDeleteLocationsResponse { /** * Per-item results. * @minSize 1 * @maxSize 100 */ results?: BulkDeleteLocationResult[]; /** Overall bulk operation metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkDeleteLocationResult { /** Metadata for this individual delete operation. */ itemMetadata?: ItemMetadata; } interface ListGbpAccountsRequest { /** * Cursor-based paging. Unset `limit` uses a server default of 20; `cursor` * is the `next`/`prev` token returned by a previous response. */ paging?: CursorPaging; } interface ListGbpAccountsResponse { /** GBP accounts accessible to the connected Gmail for this Wix site. */ accounts?: GbpAccount[]; /** * Paging metadata. `cursors.next` is the token to specify for the next page, and * `hasNext` says whether there is one. */ pagingMetadata?: CursorPagingMetadata; } interface GbpAccount { /** * Google GBP Account ID. * @maxLength 255 */ accountId?: string; /** * Display name of the GBP Account. * @maxLength 255 */ displayName?: string; /** * Type of the GBP Account (e.g. PERSONAL, LOCATION_GROUP, ORGANIZATION). * @maxLength 64 */ accountType?: string; } interface ListUnimportedLocationsRequest { /** * GBP Account ID to list locations for. * @maxLength 255 */ accountId: string; /** * Cursor-based paging. Unset `limit` uses a server default of 100; `cursor` * is the `next` token returned by a previous response (opaque Google token). */ paging?: CursorPaging; } interface ListUnimportedLocationsResponse { /** * Paging metadata. `cursors.next` is the token to specify for the next page, and * `hasNext` says whether there is one. */ pagingMetadata?: CursorPagingMetadata; /** * Locations from THIS page that are not yet imported into this Wix site under * the given account. Order preserved from Google. * @maxSize 100 */ locations?: UnimportedLocation[]; } /** * A Google Business Profile location on the current page that has not yet been * imported into this Wix site. Carries only the few fields the import picker * needs to render a choice; full details are fetched on import. */ interface UnimportedLocation { /** * Google location ID (no `locations/` prefix). * @maxLength 255 */ googleLocationId?: string; /** * Business name shown on the Google listing (Google's `title`). * @maxLength 300 */ title?: string; /** Storefront postal address; absent for service-area-only businesses. */ storefrontAddress?: PostalAddress; /** * Places served by a service-area business. Absent for a business that only * has premises. * * When `businessType` is `CUSTOMER_AND_BUSINESS_LOCATION`, both this and * `storefrontAddress` are set. */ serviceArea?: ServiceArea; } interface GetNotificationSettingRequest { /** * GBP Account ID to retrieve the notification setting for. * @minLength 1 * @maxLength 255 */ accountId: string; } interface GetNotificationSettingResponse { /** The account's notification setting, as Google holds it. */ notificationSetting?: NotificationSetting; } /** * Which Google Business Profile events Google publishes to a Pub/Sub topic for * the locations in an account. Mirrors Google's `NotificationSetting`. Each * account has exactly one. */ interface NotificationSetting { /** * Google GBP Account ID the setting belongs to. * @maxLength 255 */ accountId?: string; /** * Google Cloud Pub/Sub topic that receives notifications when locations managed * by this account are updated, in the format * `projects/{project_id}/topics/{topic_id}`. When empty, no notifications are * posted. * * Set by Wix on every update; any value you send is ignored. * @maxLength 512 * @readonly */ pubsubTopic?: string; /** * Types of notifications sent to the Pub/Sub topic. Updating to an empty list * stops all notifications for the account and clears `pubsubTopic`. * @maxSize 10 */ notificationTypes?: NotificationTypeWithLiterals[]; } /** * A kind of Google Business Profile change that can be published to Pub/Sub. * Values match Google's `NotificationType`. Google's deprecated values (the * discontinued Q&A notifications and `LOSS_OF_MERCHANT_VOICE`) aren't supported. */ declare enum NotificationType { /** * The location has Google updates for review. The notification carries the * location's resource name. */ GOOGLE_UPDATE = "GOOGLE_UPDATE", /** * A new review was added to the location. The notification carries the review * and location resource names. */ NEW_REVIEW = "NEW_REVIEW", /** * A review on the location was updated. The notification carries the review and * location resource names. */ UPDATED_REVIEW = "UPDATED_REVIEW", /** * A Google Maps user added new media to the location. The notification carries * the new media's resource name. */ NEW_CUSTOMER_MEDIA = "NEW_CUSTOMER_MEDIA", /** The duplicate-location field in the location's metadata changed. */ DUPLICATE_LOCATION = "DUPLICATE_LOCATION", /** * The location's Voice of Merchant status changed. Voice of Merchant says whether * the location is in good standing and the merchant controls the business on * Google. */ VOICE_OF_MERCHANT_UPDATED = "VOICE_OF_MERCHANT_UPDATED" } /** @enumType */ type NotificationTypeWithLiterals = NotificationType | 'GOOGLE_UPDATE' | 'NEW_REVIEW' | 'UPDATED_REVIEW' | 'NEW_CUSTOMER_MEDIA' | 'DUPLICATE_LOCATION' | 'VOICE_OF_MERCHANT_UPDATED'; interface UpdateNotificationSettingRequest { /** * The notification setting to apply. `accountId` identifies the account and * `notificationTypes` is the complete list to set. */ notificationSetting: NotificationSetting; /** * Not used yet: every update is a full update, applying `notificationTypes` * as given. Reserved for future partial updates. */ fieldMask?: string[]; } interface UpdateNotificationSettingResponse { /** The account's notification setting after the update, as Google returned it. */ notificationSetting?: NotificationSetting; } interface ListReviewsRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** Sort order for reviews. */ orderBy?: ReviewSortOrderWithLiterals; /** * Cursor-based paging. Unset `limit` uses a server default of 20; `cursor` * is the `next` token returned by a previous response (opaque Google token). * Google caps `limit` at 50. */ paging?: CursorPaging; } /** Sort order for listing reviews. */ declare enum ReviewSortOrder { NEWEST = "NEWEST", HIGHEST_RATING = "HIGHEST_RATING", LOWEST_RATING = "LOWEST_RATING" } /** @enumType */ type ReviewSortOrderWithLiterals = ReviewSortOrder | 'NEWEST' | 'HIGHEST_RATING' | 'LOWEST_RATING'; interface ListReviewsResponse { /** Reviews for the location. */ reviews?: Review[]; /** * Paging metadata. `cursors.next` is the token to specify for the next page, and * `hasNext` says whether there is one. */ pagingMetadata?: CursorPagingMetadata; /** Aggregate review metrics for the location. */ metrics?: ReviewMetrics; } interface Review { /** * Google's opaque review ID. * @maxLength 255 */ reviewId?: string; /** * Star rating, from 1 to 5. * @min 1 * @max 5 */ starRating?: number; /** * Review comment text. * @maxLength 4096 */ comment?: string; /** * ISO 8601 timestamp of when the review was written. * @maxLength 64 */ createTime?: string; /** * Reviewer's display name. * @maxLength 255 */ reviewerDisplayName?: string; /** Whether the reviewer chose to remain anonymous. */ anonymousReviewer?: boolean; /** The merchant's current reply to this review, if any. */ reply?: ReviewReply; /** * ISO 8601 timestamp of when the review was last changed. Never earlier than `createTime`. * Listing with `NEWEST` sorts by this time, newest first. * @maxLength 64 */ updateTime?: string; } interface ReviewReply { /** * The reply text. * @maxLength 4096 */ text?: string; /** * ISO 8601 timestamp of when the reply was last updated. * @maxLength 64 */ updateTime?: string; } interface ReviewMetrics { /** Average star rating, from 1.0 to 5.0, across every review on the profile. */ averageRating?: number; /** Total number of reviews. */ totalReviewCount?: number; } interface PutReviewReplyRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * Google's opaque review ID. * @maxLength 255 */ reviewId: string; /** * Reply text to post or replace. * @minLength 1 * @maxLength 4096 */ text: string; } interface PutReviewReplyResponse { /** The created or updated review reply. */ reply?: ReviewReply; } interface DeleteReviewReplyRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * Google's opaque review ID. * @maxLength 255 */ reviewId: string; } interface DeleteReviewReplyResponse { } interface ListMediaRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * Cursor-based paging. `limit` maps to Google's page size (unset uses a server * default of 100, max 100); `cursor` is the `next` token returned by a previous * response (an opaque Google page token). */ paging?: CursorPaging; } interface ListMediaResponse { /** Media items for this page of the location's media. */ mediaItems?: MediaItem[]; /** * Paging metadata. `cursors.next` is the token to specify for the next page, and * `hasNext` says whether there is one. */ pagingMetadata?: CursorPagingMetadata; } interface MediaItem { /** * Google's opaque media key (used to reference/delete media). * @maxLength 255 */ mediaKey?: string; /** Whether this item is a photo or a video. */ format?: MediaFormatWithLiterals; /** * Google-hosted URL the media is served at. * * Not stable: it can change over time, so use `mediaKey` as the durable * identifier rather than this. For a video, this is a preview image rather * than the stream. * @format WEB_URL * @maxLength 2048 */ googleUrl?: string; /** Category of the media (e.g. EXTERIOR, INTERIOR, LOGO). */ category?: MediaCategoryWithLiterals; /** * Google-hosted thumbnail URL. Like `googleUrl`, this can change over time. * @format WEB_URL * @maxLength 2048 */ thumbnailUrl?: string; /** * Caption or description of the media item. * @maxLength 5000 */ description?: string; /** * The URL the image was originally fetched from, echoing the `sourceUrl` it * was created with. Present on media the site owner posted, and absent on * media contributed by customers. * @format WEB_URL * @maxLength 2048 */ sourceUrl?: string; /** * Attribution of the contributor, for customer-contributed media. Empty for * merchant-posted media (e.g. items added via CreateMedia). */ attribution?: MediaItemAttribution; } /** Format of a media item. Mirrors Google's mybusiness v4 MediaFormat. */ declare enum MediaFormat { PHOTO = "PHOTO", VIDEO = "VIDEO" } /** @enumType */ type MediaFormatWithLiterals = MediaFormat | 'PHOTO' | 'VIDEO'; /** * Where a media item is shown on the listing. Mirrors Google's mybusiness v4 * LocationAssociation.Category. */ declare enum MediaCategory { /** The banner image at the top of the profile. One per location. */ COVER = "COVER", /** The profile image shown alongside the business name. */ PROFILE = "PROFILE", /** The business's logo. One per location. */ LOGO = "LOGO", /** The outside of the premises, including the storefront. */ EXTERIOR = "EXTERIOR", /** The inside of the premises. */ INTERIOR = "INTERIOR", /** A product the business sells. */ PRODUCT = "PRODUCT", /** The team at work, such as staff serving customers. */ AT_WORK = "AT_WORK", /** Food or drink the business serves. */ FOOD_AND_DRINK = "FOOD_AND_DRINK", /** The menu, for a business that serves food or drink. */ MENU = "MENU", /** A shared space, such as a lobby or a waiting area. */ COMMON_AREA = "COMMON_AREA", /** Guest rooms, for accommodation businesses. */ ROOMS = "ROOMS", /** The people who work at the business. */ TEAMS = "TEAMS", /** * Anything that doesn't fit the other categories. This is the default for a * gallery photo. */ ADDITIONAL = "ADDITIONAL" } /** @enumType */ type MediaCategoryWithLiterals = MediaCategory | 'COVER' | 'PROFILE' | 'LOGO' | 'EXTERIOR' | 'INTERIOR' | 'PRODUCT' | 'AT_WORK' | 'FOOD_AND_DRINK' | 'MENU' | 'COMMON_AREA' | 'ROOMS' | 'TEAMS' | 'ADDITIONAL'; /** * Attribution for customer-contributed media (Google's v4 * MediaItem.Attribution). All fields are Google-populated, read-only. */ interface MediaItemAttribution { /** * Display name of the contributor. * @maxLength 255 */ profileName?: string; /** * URL of the contributor's profile photo. * @format WEB_URL * @maxLength 2048 */ profilePhotoUrl?: string; /** * URL to report the media or request its takedown. * @format WEB_URL * @maxLength 2048 */ takedownUrl?: string; /** * URL of the contributor's profile. * @format WEB_URL * @maxLength 2048 */ profileUrl?: string; } interface CreateMediaRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * Publicly accessible URL of the media file to add. Google fetches the bytes * from this URL server-side, so it must be reachable without auth. * @format WEB_URL * @maxLength 2048 */ sourceUrl: string; /** Where the media is shown on the listing (e.g. EXTERIOR, INTERIOR, LOGO). */ category: MediaCategoryWithLiterals; /** PHOTO or VIDEO. */ format: MediaFormatWithLiterals; } interface CreateMediaResponse { /** The created media item. */ mediaItem?: MediaItem; } interface DeleteMediaRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * Google's opaque media key. * @maxLength 255 */ mediaKey: string; } interface DeleteMediaResponse { } interface CreateLocalPostRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** The post to create. */ localPost: LocalPost; } /** A post on a location's Business Profile, shown in Google Search and Maps. */ interface LocalPost { /** * Post ID. Use it to read, update or delete the post. * @maxLength 255 * @readonly */ localPostId?: string; /** * Kind of post: `STANDARD` for an update, `EVENT` for an event, or `OFFER` * for a promotion. Can't be changed after the post is created. * * `EVENT` requires `event.title` and `event.schedule`. `OFFER` requires * `event.title` and `event.schedule` and accepts `offer`. `STANDARD` accepts * neither `event` nor `offer`. */ topicType?: LocalPostTopicTypeWithLiterals; /** * Language of the post, as a BCP-47 tag such as `en` or `en-US`. * @format LANGUAGE_TAG */ languageCode?: string | null; /** * Body text of the post. Google applies its own length limit and rejects a * longer text. * @maxLength 10000 */ summary?: string; /** Button shown on the post. */ callToAction?: CallToAction; /** Event details. Required for `EVENT` and `OFFER` posts. */ event?: LocalPostEvent; /** Offer details. Allowed only on `OFFER` posts. */ offer?: LocalPostOffer; /** * Photo shown on the post. Specify at most 1 when you create or update a * post. A post created on Google directly can come back with more. * @maxSize 10 */ media?: LocalPostMedia[]; /** * Review state of the post on Google. * * A new or edited post is usually `PROCESSING` while Google reviews it. Read * the post again later to see whether it became `LIVE` or `REJECTED`. * @readonly */ state?: LocalPostStateWithLiterals; /** * Link to the post in Google Search. * @format WEB_URL * @maxLength 2048 * @readonly */ searchUrl?: string | null; /** * Date and time the post was created. * @readonly */ createdDate?: Date | null; /** * Date and time the post was last updated. * @readonly */ updatedDate?: Date | null; } /** Kind of local post. */ declare enum LocalPostTopicType { /** An update with text and an optional photo. */ STANDARD = "STANDARD", /** An event with a title and a date range. */ EVENT = "EVENT", /** A promotion with a title, a date range, and optional coupon details. */ OFFER = "OFFER" } /** @enumType */ type LocalPostTopicTypeWithLiterals = LocalPostTopicType | 'STANDARD' | 'EVENT' | 'OFFER'; /** A button on a local post. */ interface CallToAction { /** What the button does. */ actionType?: ActionTypeWithLiterals; /** * Page the button opens. Required for every `actionType` except `CALL`, which * doesn't accept one. * @format WEB_URL * @maxLength 2048 */ url?: string | null; } /** What the button does. */ declare enum ActionType { /** Book an appointment, a table, or something similar. */ BOOK = "BOOK", /** Order something. */ ORDER = "ORDER", /** Browse a product catalog. */ SHOP = "SHOP", /** Read more on a website. */ LEARN_MORE = "LEARN_MORE", /** Register, sign up, or join something. */ SIGN_UP = "SIGN_UP", /** * Call the business. Google dials the phone number on the Business * Profile, so this type takes no `url`. */ CALL = "CALL" } /** @enumType */ type ActionTypeWithLiterals = ActionType | 'BOOK' | 'ORDER' | 'SHOP' | 'LEARN_MORE' | 'SIGN_UP' | 'CALL'; /** Event details of an `EVENT` or `OFFER` post. */ interface LocalPostEvent { /** * Name of the event or offer. * @maxLength 1000 */ title?: string; /** When the event or offer runs. */ schedule?: LocalPostSchedule; } /** Date range of an event or offer, in the business's local time. */ interface LocalPostSchedule { /** First day. Required. */ startDate?: LocalPostDate; /** Start time on `startDate`. Leave it out for an all-day range. */ startTime?: LocalPostTimeOfDay; /** Last day. Required. */ endDate?: LocalPostDate; /** End time on `endDate`. Leave it out for an all-day range. */ endTime?: LocalPostTimeOfDay; } /** A calendar date with no time zone. */ interface LocalPostDate { /** * Year, from 1 to 9999. * @min 1 * @max 9999 */ year?: number; /** * Month, from 1 to 12. * @min 1 * @max 12 */ month?: number; /** * Day of the month, from 1 to 31. * @min 1 * @max 31 */ day?: number; } /** A time of day in 24-hour wall-clock format, with no time zone. */ interface LocalPostTimeOfDay { /** * Hour, from 0 to 23. * @max 23 */ hours?: number; /** * Minute, from 0 to 59. * @max 59 */ minutes?: number; } /** Offer details of an `OFFER` post. All fields are optional. */ interface LocalPostOffer { /** * Coupon code to use in store or online. * @maxLength 255 */ couponCode?: string; /** * Page where the offer can be redeemed. * @format WEB_URL * @maxLength 2048 */ redeemOnlineUrl?: string | null; /** * Terms and conditions of the offer. * @maxLength 5000 */ termsConditions?: string; } /** A photo on a local post. */ interface LocalPostMedia { /** * Public URL of the photo. Google fetches the image from this URL, so it must * be an absolute `http` or `https` URL that's reachable without signing in. * * On a post read from Google, this is the URL the photo was created from, or * Google's own copy of it when Google doesn't report the original. * @format WEB_URL * @maxLength 2048 */ sourceUrl?: string; } /** Review state of a local post on Google. */ declare enum LocalPostState { /** Google is reviewing the post. It isn't visible yet. */ PROCESSING = "PROCESSING", /** The post is visible on the Business Profile. */ LIVE = "LIVE", /** Google rejected the post for a content policy violation. */ REJECTED = "REJECTED", /** The post is scheduled to go live later. */ SCHEDULED = "SCHEDULED", /** The post repeats on a schedule. */ RECURRING = "RECURRING" } /** @enumType */ type LocalPostStateWithLiterals = LocalPostState | 'PROCESSING' | 'LIVE' | 'REJECTED' | 'SCHEDULED' | 'RECURRING'; interface CreateLocalPostResponse { /** The created post, including its ID and review `state`. */ localPost?: LocalPost; } /** * Details for `LOCAL_POST_INVALID_FOR_TOPIC` and `INVALID_LOCAL_POST_REQUEST`. * * Names the field that was rejected, so you can correct it and try again. * Google isn't called when either error is returned. */ interface LocalPostFieldError { /** * The rejected field, such as `event.schedule` or `callToAction.url`. * @maxLength 200 */ field?: string; /** * Why the field was rejected. * @maxLength 1000 */ reason?: string; } interface ListLocalPostsRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * Cursor paging. `limit` defaults to 20, and can be at most 100. `cursor` is * `pagingMetadata.cursors.next` from the previous page. */ paging?: CursorPaging; } interface ListLocalPostsResponse { /** * Posts on this page. * @maxSize 100 */ localPosts?: LocalPost[]; /** * Paging metadata. `cursors.next` is the cursor for the next page, and * `hasNext` says whether there is one. */ pagingMetadata?: CursorPagingMetadata; } interface GetLocalPostRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * ID of the post to retrieve. * @minLength 1 * @maxLength 255 */ localPostId: string; } interface GetLocalPostResponse { /** The retrieved post. */ localPost?: LocalPost; } interface UpdateLocalPostRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * ID of the post to update. * @minLength 1 * @maxLength 255 */ localPostId: string; /** * The values to set. Only the fields named in `fieldMask` are sent to Google, * so this can be partial. */ localPost: LocalPost; /** * The fields to update. Accepted paths: `summary`, `callToAction`, `event`, * `offer`, `media`, `languageCode`. Any other path, a nested path, or an * empty mask is rejected with `INVALID_UPDATE_MASK`. */ fieldMask: string[]; } interface UpdateLocalPostResponse { /** The post as Google now holds it. */ localPost?: LocalPost; } interface DeleteLocalPostRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * ID of the post to delete. * @minLength 1 * @maxLength 255 */ localPostId: string; } interface DeleteLocalPostResponse { } interface ReportLocalPostInsightsRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * IDs of the posts to report on. Every post must belong to the location. * @minSize 1 * @maxSize 100 * @maxLength 255 */ localPostIds: string[]; /** * Metrics to report. * @minSize 1 * @maxSize 2 */ metrics: LocalPostMetricWithLiterals[]; /** * Window to report on. Both dates are inclusive and truncated to UTC * midnight. */ timeRange: InsightsTimeRange; } /** A post metric Google reports. */ declare enum LocalPostMetric { /** Number of times the post was viewed on Google Search. */ LOCAL_POST_VIEWS_SEARCH = "LOCAL_POST_VIEWS_SEARCH", /** Number of times the post's button was clicked. */ LOCAL_POST_ACTIONS_CALL_TO_ACTION = "LOCAL_POST_ACTIONS_CALL_TO_ACTION" } /** @enumType */ type LocalPostMetricWithLiterals = LocalPostMetric | 'LOCAL_POST_VIEWS_SEARCH' | 'LOCAL_POST_ACTIONS_CALL_TO_ACTION'; interface InsightsTimeRange { /** Start of the time range (inclusive). Truncated to UTC midnight. */ startDate?: Date | null; /** End of the time range (inclusive). Truncated to UTC midnight. */ endDate?: Date | null; } interface ReportLocalPostInsightsResponse { /** * One entry per post Google reported on. * @maxSize 100 */ localPostInsights?: LocalPostInsights[]; /** * Time zone Google reported the data in, as an IANA ID such as * `Europe/London`. * @maxLength 100 */ timeZone?: string; } /** Metric totals for one post. */ interface LocalPostInsights { /** * Post ID. * @maxLength 255 */ localPostId?: string; /** * One total per requested metric, in request order. * @maxSize 2 */ metrics?: LocalPostMetricValue[]; } /** Total of one metric over the requested time range. */ interface LocalPostMetricValue { /** The metric. */ metric?: LocalPostMetricWithLiterals; /** Total over the requested time range. `0` when Google reported no data. */ totalValue?: string; } interface UpdateLocationFoodMenusRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * IDs of the Wix menus to publish to Google. * * This is the complete set: any menu you don't include is removed from * Google. An empty list * clears all menus on the location. * * Up to 20 menus. * @maxSize 20 * @format GUID */ menuIds?: string[]; } interface UpdateLocationFoodMenusResponse { /** * One fetch-and-translation result per requested Wix menu id, in request order. * @maxSize 20 */ results?: FoodMenuResult[]; /** Aggregate counts for the per-menu results. */ bulkActionMetadata?: BulkActionMetadata; } interface FoodMenuResult { /** Menu id, original request index, and either success or the exclusion reason. */ itemMetadata?: ItemMetadata; } interface UpdateLocationAttributesRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * The attributes to set or delete, keyed by `attributeId`. * * Only the attributes you name are touched. Every other attribute on the * listing is left alone. An entry with a `valueJson` sets that attribute, and * an entry with an empty `valueJson` deletes it. * @minSize 1 * @maxSize 50 */ attributes: LocationAttribute[]; } interface LocationAttribute { /** * Attribute key without the "attributes/" prefix (e.g. "has_wifi", * "accepts_credit_cards"). The prefix Google requires on the wire is applied * for you. * @maxLength 255 */ attributeId?: string; /** * The attribute's value, as the JSON object Google expects, for example * `{"valueType":"BOOL","values":[true]}` or * `{"valueType":"URL","uriValues":[{"uri":"https://..."}]}`. * * Passed through as-is, so its shape has to match what the attribute accepts. * Call List Attribute Metadata to find out what that is. * * On Update Location Attributes, leaving this empty deletes the attribute from * the location. On a response, and on Get Location Attributes, it's always * set. * @maxLength 4096 */ valueJson?: string; } interface UpdateLocationAttributesResponse { /** Full updated list of attributes for the location. */ attributes?: LocationAttribute[]; } /** * Details for `INVALID_VALUE_JSON`, returned when one or more attributes you sent * to Update Location Attributes carry a `valueJson` that Google's attribute format * doesn't accept. The expected shape is like * `{"valueType":"BOOL","values":[true]}`. * * Every rejected attribute is reported at once, so you can fix them in one go. */ interface InvalidValueJsonError { /** * One entry per rejected attribute, in request order. * @maxSize 50 */ violations?: Violation[]; } interface Violation { /** Zero-based index of the rejected attribute in the `attributes` you sent. */ index?: number; /** * The `attributeId` of the rejected attribute, echoed back so you can match * this violation to what you sent. * @maxLength 255 */ attributeId?: string; /** * Human-readable reason from the JSON parser. * @maxLength 1000 */ reason?: string; } interface GetLocationAttributesRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; } interface GetLocationAttributesResponse { /** Attribute values currently set on the location. */ attributes?: LocationAttribute[]; } interface GetLocationLodgingRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; } interface GetLocationLodgingResponse { /** * The location's hotel data. Fields the property has no answer on record for * are left unset. */ lodging?: Lodging; } /** Lodging of a location that provides accomodations. */ interface Lodging { /** * Physical adaptations made to the property in consideration of varying levels of human physical * ability. */ accessibility?: Accessibility; /** Amenities and features related to leisure and play. */ activities?: Activities; /** * Output only. All units on the property have at least these attributes. * @readonly */ allUnits?: GuestUnitFeatures; /** Features of the property of specific interest to the business traveler. */ business?: Business; /** Features of the shared living areas available in this Lodging. */ commonLivingArea?: LivingArea; /** The ways in which the property provides guests with the ability to access the internet. */ connectivity?: Connectivity; /** Services and amenities for families and young guests. */ families?: Families; /** Meals, snacks, and beverages available at the property. */ foodAndDrink?: FoodAndDrink; /** * Individual GuestUnitTypes that are available in this Lodging. * @maxSize 100 */ guestUnits?: GuestUnitType[]; /** Health and safety measures implemented by the hotel during COVID-19. */ healthAndSafety?: HealthAndSafety; /** Conveniences provided in guest units to facilitate an easier, more comfortable stay. */ housekeeping?: Housekeeping; /** * Required. Metadata for the lodging. * @readonly */ metadata?: LodgingMetadata; /** Parking options at the property. */ parking?: Parking; /** Policies regarding guest-owned animals. */ pets?: Pets; /** Property rules that impact guests. */ policies?: Policies; /** Swimming pool or recreational water facilities available at the hotel. */ pools?: Pools; /** General factual information about the property's physical structure and important dates. */ property?: Property; /** Conveniences or help provided by the property to facilitate an easier, more comfortable stay. */ services?: Services; /** * Output only. Some units on the property have as much as these attributes. * @readonly */ someUnits?: GuestUnitFeatures; /** Sustainability practices implemented at the hotel. */ sustainability?: Sustainability; /** Vehicles or vehicular services facilitated or owned by the property. */ transportation?: Transportation; /** Guest facilities at the property to promote or maintain health, beauty, and fitness. */ wellness?: Wellness; } declare enum AmenityException { /** Amenity or service is unavailable due to ongoing work orders. */ UNDER_CONSTRUCTION = "UNDER_CONSTRUCTION", /** Amenity or service availability is seasonal. */ DEPENDENT_ON_SEASON = "DEPENDENT_ON_SEASON", /** Amenity or service availability depends on the day of the week. */ DEPENDENT_ON_DAY_OF_WEEK = "DEPENDENT_ON_DAY_OF_WEEK" } /** @enumType */ type AmenityExceptionWithLiterals = AmenityException | 'UNDER_CONSTRUCTION' | 'DEPENDENT_ON_SEASON' | 'DEPENDENT_ON_DAY_OF_WEEK'; declare enum EcoCertificate { /** ISO14001. */ ISO14001 = "ISO14001", /** ISO50001. */ ISO50001 = "ISO50001", /** Asian Ecotourism Standard for Accommodations (AESA). */ ASIAN_ECOTOURISM = "ASIAN_ECOTOURISM", /** Biosphere Responsible Tourism Standard. */ BIOSPHERE_RESPOSNIBLE_TOURISM = "BIOSPHERE_RESPOSNIBLE_TOURISM", /** Bureau Veritas. */ BUREAU_VERITAS = "BUREAU_VERITAS", /** Control Union. */ CONTROL_UNION = "CONTROL_UNION", /** EarthCheck. */ EARTHCHECK = "EARTHCHECK", /** Eco-Certification Malta Standard. */ ECO_CERTIFICATION_MALTA = "ECO_CERTIFICATION_MALTA", /** Ecotourism Australia's ECO Certification Standard. */ ECOTOURISM_AUSTRALIAS_ECO = "ECOTOURISM_AUSTRALIAS_ECO", /** GREAT Green Deal Certification. */ GREAT_GREEN_DEAL = "GREAT_GREEN_DEAL", /** Green Globe. */ GREEN_GLOBE = "GREEN_GLOBE", /** Green Growth 2050 Standard. */ GREEN_GROWTH2050 = "GREEN_GROWTH2050", /** Green Key. */ GREEN_KEY = "GREEN_KEY", /** Geen Key Eco Rating. */ GREEN_KEY_ECO_RATING = "GREEN_KEY_ECO_RATING", /** Green Seal. */ GREEN_SEAL = "GREEN_SEAL", /** Green Star Hotel Standard. */ GREEN_STAR = "GREEN_STAR", /** Green Tourism Active Standard. */ GREEN_TOURISM_ACTIVE = "GREEN_TOURISM_ACTIVE", /** Hilton LightStay. */ HILTON_LIGHTSTAY = "HILTON_LIGHTSTAY", /** Hostelling International's Quality and Sustainability Standard. */ HOSTELLING_INTERNATIONALS_QUALITY_AND_SUSTAINABILITY = "HOSTELLING_INTERNATIONALS_QUALITY_AND_SUSTAINABILITY", /** Hoteles más Verdes (AHT) Standard. */ HOTELES_MAS_VERDES = "HOTELES_MAS_VERDES", /** Nordic Swan Ecolabel. */ NORDIC_SWAN_ECOLABEL = "NORDIC_SWAN_ECOLABEL", /** Preferred by Nature Sustainable Tourism Standard for Accommodation. */ PREFERRED_BY_NATURE_SUSTAINABLE_TOURISM = "PREFERRED_BY_NATURE_SUSTAINABLE_TOURISM", /** Sustainable Travel Ireland – GSTC Industry Criteria. */ SUSTAINABLE_TRAVEL_IRELAND = "SUSTAINABLE_TRAVEL_IRELAND", /** TOFTigers Initiative's Pug Standard. */ TOF_TIGERS_INITITIVES_PUG = "TOF_TIGERS_INITITIVES_PUG", /** Travelife Standard for Hotels & Accommodations. */ TRAVELIFE = "TRAVELIFE", /** United Certification Systems Limited. */ UNITED_CERTIFICATION_SYSTEMS_LIMITED = "UNITED_CERTIFICATION_SYSTEMS_LIMITED", /** Vireo Srl. */ VIREO_SRL = "VIREO_SRL" } /** @enumType */ type EcoCertificateWithLiterals = EcoCertificate | 'ISO14001' | 'ISO50001' | 'ASIAN_ECOTOURISM' | 'BIOSPHERE_RESPOSNIBLE_TOURISM' | 'BUREAU_VERITAS' | 'CONTROL_UNION' | 'EARTHCHECK' | 'ECO_CERTIFICATION_MALTA' | 'ECOTOURISM_AUSTRALIAS_ECO' | 'GREAT_GREEN_DEAL' | 'GREEN_GLOBE' | 'GREEN_GROWTH2050' | 'GREEN_KEY' | 'GREEN_KEY_ECO_RATING' | 'GREEN_SEAL' | 'GREEN_STAR' | 'GREEN_TOURISM_ACTIVE' | 'HILTON_LIGHTSTAY' | 'HOSTELLING_INTERNATIONALS_QUALITY_AND_SUSTAINABILITY' | 'HOTELES_MAS_VERDES' | 'NORDIC_SWAN_ECOLABEL' | 'PREFERRED_BY_NATURE_SUSTAINABLE_TOURISM' | 'SUSTAINABLE_TRAVEL_IRELAND' | 'TOF_TIGERS_INITITIVES_PUG' | 'TRAVELIFE' | 'UNITED_CERTIFICATION_SYSTEMS_LIMITED' | 'VIREO_SRL'; declare enum UnitTier { /** * Standard unit. The predominant and most basic guestroom type available at the hotel. All * other guestroom types include the features/amenities of this room, as well as additional * features/amenities. */ STANDARD_UNIT = "STANDARD_UNIT", /** * Deluxe unit. A guestroom type that builds on the features of the standard guestroom by * offering additional amenities and/or more space, and/or views. The room rate is higher * than that of the standard room type. Also known as Superior. Only allowed if another unit * type is a standard tier. */ DELUXE_UNIT = "DELUXE_UNIT" } /** @enumType */ type UnitTierWithLiterals = UnitTier | 'STANDARD_UNIT' | 'DELUXE_UNIT'; /** An individual room, such as kitchen, bathroom, bedroom, within a bookable guest unit. */ interface LivingArea { /** Accessibility features of the living area. */ accessibility?: LivingAreaAccessibility; /** Information about eating features in the living area. */ eating?: LivingAreaEating; /** Features in the living area. */ features?: LivingAreaFeatures; /** Information about the layout of the living area. */ layout?: LivingAreaLayout; /** Information about sleeping features in the living area. */ sleeping?: LivingAreaSleeping; } /** Accessibility features of the living area. */ interface LivingAreaAccessibility { /** * ADA compliant unit. A guestroom designed to accommodate the physical challenges of a guest * with mobility and/or auditory and/or visual issues, as determined by legislative policy. * Usually features enlarged doorways, roll-in showers with seats, bathroom grab bars, and * communication equipment for the hearing and sight challenged. */ adaCompliantUnit?: boolean | null; /** ADA compliant unit exception. */ adaCompliantUnitException?: AmenityExceptionWithLiterals; /** Hearing-accessible doorbell. A visual indicator(s) of a knock or ring at the door. */ hearingAccessibleDoorbell?: boolean | null; /** Hearing-accessible doorbell exception. */ hearingAccessibleDoorbellException?: AmenityExceptionWithLiterals; /** * Hearing-accessible fire alarm. A device that gives warning of a fire through flashing * lights. */ hearingAccessibleFireAlarm?: boolean | null; /** Hearing-accessible fire alarm exception. */ hearingAccessibleFireAlarmException?: AmenityExceptionWithLiterals; /** * Hearing-accessible unit. A guestroom designed to accommodate the physical challenges of a * guest with auditory issues. */ hearingAccessibleUnit?: boolean | null; /** Hearing-accessible unit exception. */ hearingAccessibleUnitException?: AmenityExceptionWithLiterals; /** * Mobility-accessible bathtub. A bathtub that accomodates the physically challenged with * additional railings or hand grips, a transfer seat or lift, and/or a door to enable walking * into the tub. */ mobilityAccessibleBathtub?: boolean | null; /** Mobility-accessible bathtub exception. */ mobilityAccessibleBathtubException?: AmenityExceptionWithLiterals; /** * Mobility-accessible shower. A shower with an enlarged door or access point to accommodate a * wheelchair or a waterproof seat for the physically challenged. */ mobilityAccessibleShower?: boolean | null; /** Mobility-accessible shower exception. */ mobilityAccessibleShowerException?: AmenityExceptionWithLiterals; /** * Mobility-accessible toilet. A toilet with a higher seat, grab bars, and/or a larger area * around it to accommodate the physically challenged. */ mobilityAccessibleToilet?: boolean | null; /** Mobility-accessible toilet exception. */ mobilityAccessibleToiletException?: AmenityExceptionWithLiterals; /** * Mobility-accessible unit. A guestroom designed to accommodate the physical challenges of a * guest with mobility and/or auditory and/or visual issues. Usually features enlarged * doorways, roll-in showers with seats, bathroom grab bars, and communication equipment for * the hearing and sight challenged. */ mobilityAccessibleUnit?: boolean | null; /** Mobility-accessible unit exception. */ mobilityAccessibleUnitException?: AmenityExceptionWithLiterals; } /** Information about eating features in the living area. */ interface LivingAreaEating { /** * Coffee maker. An electric appliance that brews coffee by heating and forcing water through * ground coffee. */ coffeeMaker?: boolean | null; /** Coffee maker exception. */ coffeeMakerException?: AmenityExceptionWithLiterals; /** Cookware. Kitchen pots, pans and utensils used in connection with the preparation of food. */ cookware?: boolean | null; /** Cookware exception. */ cookwareException?: AmenityExceptionWithLiterals; /** * Dishwasher. A counter-height electrical cabinet containing racks for dirty dishware, * cookware and cutlery, and a dispenser for soap built into the pull-down door. The cabinet is * attached to the plumbing system to facilitate the automatic cleaning of its contents. */ dishwasher?: boolean | null; /** Dishwasher exception. */ dishwasherException?: AmenityExceptionWithLiterals; /** * Indoor grill. Metal grates built into an indoor cooktop on which food is cooked over an open * flame or electric heat source. */ indoorGrill?: boolean | null; /** Indoor grill exception. */ indoorGrillException?: AmenityExceptionWithLiterals; /** Kettle. A covered container with a handle and a spout used for boiling water. */ kettle?: boolean | null; /** Kettle exception. */ kettleException?: AmenityExceptionWithLiterals; /** * Kitchen available. An area of the guestroom designated for the preparation and storage of * food via the presence of a refrigerator, cook top, oven and sink, as well as cutlery, dishes * and cookware. Usually includes small appliances such a coffee maker and a microwave. May or * may not include an automatic dishwasher. */ kitchenAvailable?: boolean | null; /** Kitchen available exception. */ kitchenAvailableException?: AmenityExceptionWithLiterals; /** * Microwave. An electric oven that quickly cooks and heats food by microwave energy. Smaller * than a standing or wall mounted oven. Usually placed on a kitchen counter, a shelf or * tabletop or mounted above a cooktop. */ microwave?: boolean | null; /** Microwave exception. */ microwaveException?: AmenityExceptionWithLiterals; /** * Minibar. A small refrigerated cabinet in the guestroom containing bottles/cans of soft * drinks, mini bottles of alcohol, and snacks. The items are most commonly available for a * fee. */ minibar?: boolean | null; /** Minibar exception. */ minibarException?: AmenityExceptionWithLiterals; /** * Outdoor grill. Metal grates on which food is cooked over an open flame or electric heat * source. Part of an outdoor apparatus that supports the grates. Also known as barbecue grill * or barbecue. */ outdoorGrill?: boolean | null; /** Outdoor grill exception. */ outdoorGrillException?: AmenityExceptionWithLiterals; /** * Oven. A temperature controlled, heated metal cabinet powered by gas or electricity in which * food is placed for the purpose of cooking or reheating. */ oven?: boolean | null; /** Oven exception. */ ovenException?: AmenityExceptionWithLiterals; /** * Refrigerator. A large, climate-controlled electrical cabinet with vertical doors. Built for * the purpose of chilling and storing perishable foods. */ refrigerator?: boolean | null; /** Refrigerator exception. */ refrigeratorException?: AmenityExceptionWithLiterals; /** * Sink. A basin with a faucet attached to a water source and used for the purpose of washing * and rinsing. */ sink?: boolean | null; /** Sink exception. */ sinkException?: AmenityExceptionWithLiterals; /** * Snackbar. A small cabinet in the guestroom containing snacks. The items are most commonly * available for a fee. */ snackbar?: boolean | null; /** Snackbar exception. */ snackbarException?: AmenityExceptionWithLiterals; /** * Stove. A kitchen appliance powered by gas or electricity for the purpose of creating a flame * or hot surface on which pots of food can be cooked. Also known as cooktop or hob. */ stove?: boolean | null; /** Stove exception. */ stoveException?: AmenityExceptionWithLiterals; /** Tea station. A small area with the supplies needed to heat water and make tea. */ teaStation?: boolean | null; /** Tea station exception. */ teaStationException?: AmenityExceptionWithLiterals; /** * Toaster. A small, temperature controlled electric appliance with rectangular slots at the * top that are lined with heated coils for the purpose of browning slices of bread products. */ toaster?: boolean | null; /** Toaster exception. */ toasterException?: AmenityExceptionWithLiterals; } /** Features in the living area. */ interface LivingAreaFeatures { /** Air conditioning. An electrical machine used to cool the temperature of the guestroom. */ airConditioning?: boolean | null; /** Air conditioning exception. */ airConditioningException?: AmenityExceptionWithLiterals; /** * Bathtub. A fixed plumbing feature set on the floor and consisting of a large container that * accommodates the body of an adult for the purpose of seated bathing. Includes knobs or * fixtures to control the temperature of the water, a faucet through which the water flows, * and a drain that can be closed for filling and opened for draining. */ bathtub?: boolean | null; /** Bathtub exception. */ bathtubException?: AmenityExceptionWithLiterals; /** * Bidet. A plumbing fixture attached to a toilet or a low, fixed sink designed for the purpose * of washing after toilet use. */ bidet?: boolean | null; /** Bidet exception. */ bidetException?: AmenityExceptionWithLiterals; /** Dryer. An electrical machine designed to dry clothing. */ dryer?: boolean | null; /** Dryer exception. */ dryerException?: AmenityExceptionWithLiterals; /** * Electronic room key. A card coded by the check-in computer that is read by the lock on the * hotel guestroom door to allow for entry. */ electronicRoomKey?: boolean | null; /** Electronic room key exception. */ electronicRoomKeyException?: AmenityExceptionWithLiterals; /** * Fireplace. A framed opening (aka hearth) at the base of a chimney in which logs or an * electrical fire feature are burned to provide a relaxing ambiance or to heat the room. Often * made of bricks or stone. */ fireplace?: boolean | null; /** Fireplace exception. */ fireplaceException?: AmenityExceptionWithLiterals; /** * Hairdryer. A handheld electric appliance that blows temperature-controlled air for the * purpose of drying wet hair. Can be mounted to a bathroom wall or a freestanding device * stored in the guestroom's bathroom or closet. */ hairdryer?: boolean | null; /** Hairdryer exception. */ hairdryerException?: AmenityExceptionWithLiterals; /** Heating. An electrical machine used to warm the temperature of the guestroom. */ heating?: boolean | null; /** Heating exception. */ heatingException?: AmenityExceptionWithLiterals; /** * In-unit safe. A strong fireproof cabinet with a programmable lock, used for the protected * storage of valuables in a guestroom. Often built into a closet. */ inunitSafe?: boolean | null; /** In-unit safe exception. */ inunitSafeException?: AmenityExceptionWithLiterals; /** * In-unit Wifi available. Guests can wirelessly connect to the Internet in the guestroom. Can * be free or for a fee. */ inunitWifiAvailable?: boolean | null; /** In-unit Wifi available exception. */ inunitWifiAvailableException?: AmenityExceptionWithLiterals; /** * Ironing equipment. A device, usually with a flat metal base, that is heated to smooth, * finish, or press clothes and a flat, padded, cloth-covered surface on which the clothes are * worked. */ ironingEquipment?: boolean | null; /** Ironing equipment exception. */ ironingEquipmentException?: AmenityExceptionWithLiterals; /** * Pay per view movies. Televisions with channels that offer films that can be viewed for a * fee, and have an interface to allow the viewer to accept the terms and approve payment. */ payPerViewMovies?: boolean | null; /** Pay per view movies exception. */ payPerViewMoviesException?: AmenityExceptionWithLiterals; /** * Private bathroom. A bathroom designated for the express use of the guests staying in a * specific guestroom. */ privateBathroom?: boolean | null; /** Private bathroom exception. */ privateBathroomException?: AmenityExceptionWithLiterals; /** * Shower. A fixed plumbing fixture for standing bathing that features a tall spray spout or * faucet through which water flows, a knob or knobs that control the water's temperature, and * a drain in the floor. */ shower?: boolean | null; /** Shower exception. */ showerException?: AmenityExceptionWithLiterals; /** * Toilet. A fixed bathroom feature connected to a sewer or septic system and consisting of a * water-flushed bowl with a seat, as well as a device that elicites the water-flushing action. * Used for the process and disposal of human waste. */ toilet?: boolean | null; /** Toilet exception. */ toiletException?: AmenityExceptionWithLiterals; /** TV. A television is available in the guestroom. */ tv?: boolean | null; /** * TV casting. A television equipped with a device through which the video entertainment * accessed on a personal computer, phone or tablet can be wirelessly delivered to and viewed * on the guestroom's television. */ tvCasting?: boolean | null; /** TV exception. */ tvCastingException?: AmenityExceptionWithLiterals; /** TV exception. */ tvException?: AmenityExceptionWithLiterals; /** * TV streaming. Televisions that embed a range of web-based apps to allow for watching media * from those apps. */ tvStreaming?: boolean | null; /** TV streaming exception. */ tvStreamingException?: AmenityExceptionWithLiterals; /** * Universal power adapters. A power supply for electronic devices which plugs into a wall for * the purpose of converting AC to a single DC voltage. Also know as AC adapter or charger. */ universalPowerAdapters?: boolean | null; /** Universal power adapters exception. */ universalPowerAdaptersException?: AmenityExceptionWithLiterals; /** * Washer. An electrical machine connected to a running water source designed to launder * clothing. */ washer?: boolean | null; /** Washer exception. */ washerException?: AmenityExceptionWithLiterals; } /** Information about the layout of the living area. */ interface LivingAreaLayout { /** * Balcony. An outdoor platform attached to a building and surrounded by a short wall, fence or * other safety railing. The balcony is accessed through a door in a guestroom or suite and is * for use by the guest staying in that room. May or may not include seating or outdoor * furniture. Is not located on the ground floor. Also lanai. */ balcony?: boolean | null; /** Balcony exception. */ balconyException?: AmenityExceptionWithLiterals; /** Living area sq meters. The measurement in meters of the area of a guestroom's living space. */ livingAreaSqMeters?: number | null; /** Living area sq meters exception. */ livingAreaSqMetersException?: AmenityExceptionWithLiterals; /** * Loft. A three-walled upper area accessed by stairs or a ladder that overlooks the lower area * of a room. */ loft?: boolean | null; /** Loft exception. */ loftException?: AmenityExceptionWithLiterals; /** Non smoking. A guestroom in which the smoking of cigarettes, cigars and pipes is prohibited. */ nonSmoking?: boolean | null; /** Non smoking exception. */ nonSmokingException?: AmenityExceptionWithLiterals; /** * Patio. A paved, outdoor area with seating attached to and accessed through a ground-floor * guestroom for use by the occupants of the guestroom. */ patio?: boolean | null; /** Patio exception. */ patioException?: AmenityExceptionWithLiterals; /** Stairs. There are steps leading from one level or story to another in the unit. */ stairs?: boolean | null; /** Stairs exception. */ stairsException?: AmenityExceptionWithLiterals; } /** Information about sleeping features in the living area. */ interface LivingAreaSleeping { /** * Beds count. The number of permanent beds present in a guestroom. Does not include rollaway * beds, cribs or sofabeds. */ bedsCount?: number | null; /** Beds count exception. */ bedsCountException?: AmenityExceptionWithLiterals; /** * Bunk beds count. The number of furniture pieces in which one framed mattress is fixed * directly above another by means of a physical frame. This allows one person(s) to sleep in * the bottom bunk and one person(s) to sleep in the top bunk. Also known as double decker bed. */ bunkBedsCount?: number | null; /** Bunk beds count exception. */ bunkBedsCountException?: AmenityExceptionWithLiterals; /** * Cribs count. The number of small beds for an infant or toddler that the guestroom can * obtain. The bed is surrounded by a high railing to prevent the child from falling or * climbing out of the bed */ cribsCount?: number | null; /** Cribs count exception. */ cribsCountException?: AmenityExceptionWithLiterals; /** * Double beds count. The number of medium beds measuring 53"W x 75"L (135cm x 191cm). Also * known as full size bed. */ doubleBedsCount?: number | null; /** Double beds count exception. */ doubleBedsCountException?: AmenityExceptionWithLiterals; /** * Feather pillows. The option for guests to obtain bed pillows that are stuffed with the * feathers and down of ducks or geese. */ featherPillows?: boolean | null; /** Feather pillows exception. */ featherPillowsException?: AmenityExceptionWithLiterals; /** * Hypoallergenic bedding. Bedding such as linens, pillows, mattress covers and/or mattresses * that are made of materials known to be resistant to allergens such as mold, dust and dander. */ hypoallergenicBedding?: boolean | null; /** Hypoallergenic bedding exception. */ hypoallergenicBeddingException?: AmenityExceptionWithLiterals; /** * King beds count. The number of large beds measuring 76"W x 80"L (193cm x 102cm). Most often * meant to accompany two people. Includes California king and super king. */ kingBedsCount?: number | null; /** King beds count exception. */ kingBedsCountException?: AmenityExceptionWithLiterals; /** * Memory foam pillows. The option for guests to obtain bed pillows that are stuffed with a * man-made foam that responds to body heat by conforming to the body closely, and then * recovers its shape when the pillow cools down. */ memoryFoamPillows?: boolean | null; /** Memory foam pillows exception. */ memoryFoamPillowsException?: AmenityExceptionWithLiterals; /** * Other beds count. The number of beds that are not standard mattress and boxspring setups * such as Japanese tatami mats, trundle beds, air mattresses and cots. */ otherBedsCount?: number | null; /** Other beds count exception. */ otherBedsCountException?: AmenityExceptionWithLiterals; /** Queen beds count. The number of medium-large beds measuring 60"W x 80"L (152cm x 102cm). */ queenBedsCount?: number | null; /** Queen beds count exception. */ queenBedsCountException?: AmenityExceptionWithLiterals; /** * Roll away beds count. The number of mattresses on wheeled frames that can be folded in half * and rolled away for easy storage that the guestroom can obtain upon request. */ rollAwayBedsCount?: number | null; /** Roll away beds count exception. */ rollAwayBedsCountException?: AmenityExceptionWithLiterals; /** * Single or twin count beds. The number of smaller beds measuring 38"W x 75"L (97cm x 191cm) * that can accommodate one adult. */ singleOrTwinBedsCount?: number | null; /** Single or twin beds count exception. */ singleOrTwinBedsCountException?: AmenityExceptionWithLiterals; /** * Sofa beds count. The number of specially designed sofas that can be made to serve as a bed * by lowering its hinged upholstered back to horizontal position or by pulling out a concealed * mattress. */ sofaBedsCount?: number | null; /** Sofa beds count exception. */ sofaBedsCountException?: AmenityExceptionWithLiterals; /** * Synthetic pillows. The option for guests to obtain bed pillows stuffed with polyester * material crafted to reproduce the feel of a pillow stuffed with down and feathers. */ syntheticPillows?: boolean | null; /** Synthetic pillows exception. */ syntheticPillowsException?: AmenityExceptionWithLiterals; } /** Views available from the guest unit itself. */ interface ViewsFromUnit { /** Beach view. A guestroom that features a window through which guests can see the beach. */ beachView?: boolean | null; /** Beach view exception. */ beachViewException?: AmenityExceptionWithLiterals; /** * City view. A guestroom that features a window through which guests can see the buildings, * parks and/or streets of the city. */ cityView?: boolean | null; /** City view exception. */ cityViewException?: AmenityExceptionWithLiterals; /** Garden view. A guestroom that features a window through which guests can see a garden. */ gardenView?: boolean | null; /** Garden view exception. */ gardenViewException?: AmenityExceptionWithLiterals; /** Lake view. */ lakeView?: boolean | null; /** Lake view exception. */ lakeViewException?: AmenityExceptionWithLiterals; /** * Landmark view. A guestroom that features a window through which guests can see a landmark * such as the countryside, a golf course, the forest, a park, a rain forst, a mountain or a * slope. */ landmarkView?: boolean | null; /** Landmark view exception. */ landmarkViewException?: AmenityExceptionWithLiterals; /** Ocean view. A guestroom that features a window through which guests can see the ocean. */ oceanView?: boolean | null; /** Ocean view exception. */ oceanViewException?: AmenityExceptionWithLiterals; /** * Pool view. A guestroom that features a window through which guests can see the hotel's * swimming pool. */ poolView?: boolean | null; /** Pool view exception. */ poolViewException?: AmenityExceptionWithLiterals; /** Valley view. A guestroom that features a window through which guests can see over a valley. */ valleyView?: boolean | null; /** Valley view exception. */ valleyViewException?: AmenityExceptionWithLiterals; } /** Features and available amenities in the guest unit. */ interface GuestUnitFeatures { /** * Bungalow or villa. An independent structure that is part of a hotel or resort that is rented * to one party for a vacation stay. The hotel or resort may be completely comprised of * bungalows or villas, or they may be one of several guestroom options. Guests in the * bungalows or villas most often have the same, if not more, amenities and services offered to * guests in other guestroom types. */ bungalowOrVilla?: boolean | null; /** Bungalow or villa exception. */ bungalowOrVillaException?: AmenityExceptionWithLiterals; /** * Connecting unit available. A guestroom type that features access to an adjacent guestroom * for the purpose of booking both rooms. Most often used by families who need more than one * room to accommodate the number of people in their group. */ connectingUnitAvailable?: boolean | null; /** Connecting unit available exception. */ connectingUnitAvailableException?: AmenityExceptionWithLiterals; /** * Executive floor. A floor of the hotel where the guestrooms are only bookable by members of * the hotel's frequent guest membership program. Benefits of this room class include access to * a designated lounge which may or may not feature free breakfast, cocktails or other perks * specific to members of the program. */ executiveFloor?: boolean | null; /** Executive floor exception. */ executiveFloorException?: AmenityExceptionWithLiterals; /** * Max adult occupants count. The total number of adult guests allowed to stay overnight in the * guestroom. */ maxAdultOccupantsCount?: number | null; /** Max adult occupants count exception. */ maxAdultOccupantsCountException?: AmenityExceptionWithLiterals; /** * Max child occupants count. The total number of children allowed to stay overnight in the * room. */ maxChildOccupantsCount?: number | null; /** Max child occupants count exception. */ maxChildOccupantsCountException?: AmenityExceptionWithLiterals; /** Max occupants count. The total number of guests allowed to stay overnight in the guestroom. */ maxOccupantsCount?: number | null; /** Max occupants count exception. */ maxOccupantsCountException?: AmenityExceptionWithLiterals; /** * Private home. A privately owned home (house, townhouse, apartment, cabin, bungalow etc) that * may or not serve as the owner's residence, but is rented out in its entirety or by the * room(s) to paying guest(s) for vacation stays. Not for lease-based, long-term residency. */ privateHome?: boolean | null; /** Private home exception. */ privateHomeException?: AmenityExceptionWithLiterals; /** * Suite. A guestroom category that implies both a bedroom area and a separate living area. * There may or may not be full walls and doors separating the two areas, but regardless, they * are very distinct. Does not mean a couch or chair in a bedroom. */ suite?: boolean | null; /** Suite exception. */ suiteException?: AmenityExceptionWithLiterals; /** * Tier. Classification of the unit based on available features/amenities. A non-standard tier * is only permitted if at least one other unit type falls under the standard tier. */ tier?: UnitTierWithLiterals; /** Tier exception. */ tierException?: AmenityExceptionWithLiterals; /** Features available in the living areas in the guest unit. */ totalLivingAreas?: LivingArea; /** Views available from the guest unit itself. */ views?: ViewsFromUnit; } /** Enhanced cleaning measures implemented by the hotel during COVID-19. */ interface EnhancedCleaning { /** Commercial-grade disinfectant used to clean the property. */ commercialGradeDisinfectantCleaning?: boolean | null; /** Commercial grade disinfectant cleaning exception. */ commercialGradeDisinfectantCleaningException?: AmenityExceptionWithLiterals; /** Enhanced cleaning of common areas. */ commonAreasEnhancedCleaning?: boolean | null; /** Common areas enhanced cleaning exception. */ commonAreasEnhancedCleaningException?: AmenityExceptionWithLiterals; /** Employees trained in COVID-19 cleaning procedures. */ employeesTrainedCleaningProcedures?: boolean | null; /** Employees trained cleaning procedures exception. */ employeesTrainedCleaningProceduresException?: AmenityExceptionWithLiterals; /** Employees trained in thorough hand-washing. */ employeesTrainedThoroughHandWashing?: boolean | null; /** Employees trained thorough hand washing exception. */ employeesTrainedThoroughHandWashingException?: AmenityExceptionWithLiterals; /** Employees wear masks, face shields, and/or gloves. */ employeesWearProtectiveEquipment?: boolean | null; /** Employees wear protective equipment exception. */ employeesWearProtectiveEquipmentException?: AmenityExceptionWithLiterals; /** Enhanced cleaning of guest rooms. */ guestRoomsEnhancedCleaning?: boolean | null; /** Guest rooms enhanced cleaning exception. */ guestRoomsEnhancedCleaningException?: AmenityExceptionWithLiterals; } /** Increased food safety measures implemented by the hotel during COVID-19. */ interface IncreasedFoodSafety { /** Additional sanitation in dining areas. */ diningAreasAdditionalSanitation?: boolean | null; /** Dining areas additional sanitation exception. */ diningAreasAdditionalSanitationException?: AmenityExceptionWithLiterals; /** Disposable flatware. */ disposableFlatware?: boolean | null; /** Disposable flatware exception. */ disposableFlatwareException?: AmenityExceptionWithLiterals; /** Additional safety measures during food prep and serving. */ foodPreparationAndServingAdditionalSafety?: boolean | null; /** Food preparation and serving additional safety exception. */ foodPreparationAndServingAdditionalSafetyException?: AmenityExceptionWithLiterals; /** Individually-packaged meals. */ individualPackagedMeals?: boolean | null; /** Individual packaged meals exception. */ individualPackagedMealsException?: AmenityExceptionWithLiterals; /** Single-use menus. */ singleUseFoodMenus?: boolean | null; /** Single use food menus exception. */ singleUseFoodMenusException?: AmenityExceptionWithLiterals; } /** Minimized contact measures implemented by the hotel during COVID-19. */ interface MinimizedContact { /** No-contact check-in and check-out. */ contactlessCheckinCheckout?: boolean | null; /** Contactless check-in check-out exception. */ contactlessCheckinCheckoutException?: AmenityExceptionWithLiterals; /** Keyless mobile entry to guest rooms. */ digitalGuestRoomKeys?: boolean | null; /** Digital guest room keys exception. */ digitalGuestRoomKeysException?: AmenityExceptionWithLiterals; /** Housekeeping scheduled by request only. */ housekeepingScheduledRequestOnly?: boolean | null; /** Housekeeping scheduled request only exception. */ housekeepingScheduledRequestOnlyException?: AmenityExceptionWithLiterals; /** High-touch items, such as magazines, removed from common areas. */ noHighTouchItemsCommonAreas?: boolean | null; /** No high touch items common areas exception. */ noHighTouchItemsCommonAreasException?: AmenityExceptionWithLiterals; /** High-touch items, such as decorative pillows, removed from guest rooms. */ noHighTouchItemsGuestRooms?: boolean | null; /** No high touch items guest rooms exception. */ noHighTouchItemsGuestRoomsException?: AmenityExceptionWithLiterals; /** Plastic key cards are disinfected or discarded. */ plasticKeycardsDisinfected?: boolean | null; /** Plastic keycards disinfected exception. */ plasticKeycardsDisinfectedException?: AmenityExceptionWithLiterals; /** Buffer maintained between room bookings. */ roomBookingsBuffer?: boolean | null; /** Room bookings buffer exception. */ roomBookingsBufferException?: AmenityExceptionWithLiterals; } /** Personal protection measures implemented by the hotel during COVID-19. */ interface PersonalProtection { /** Hand-sanitizer and/or sanitizing wipes are offered in common areas. */ commonAreasOfferSanitizingItems?: boolean | null; /** Common areas offer sanitizing items exception. */ commonAreasOfferSanitizingItemsException?: AmenityExceptionWithLiterals; /** Masks required on the property. */ faceMaskRequired?: boolean | null; /** Face mask required exception. */ faceMaskRequiredException?: AmenityExceptionWithLiterals; /** In-room hygiene kits with masks, hand sanitizer, and/or antibacterial wipes. */ guestRoomHygieneKitsAvailable?: boolean | null; /** Guest room hygiene kits available exception. */ guestRoomHygieneKitsAvailableException?: AmenityExceptionWithLiterals; /** Masks and/or gloves available for guests. */ protectiveEquipmentAvailable?: boolean | null; /** Protective equipment available exception. */ protectiveEquipmentAvailableException?: AmenityExceptionWithLiterals; } /** Physical distancing measures implemented by the hotel during COVID-19. */ interface PhysicalDistancing { /** Common areas arranged to maintain physical distancing. */ commonAreasPhysicalDistancingArranged?: boolean | null; /** Common areas physical distancing arranged exception. */ commonAreasPhysicalDistancingArrangedException?: AmenityExceptionWithLiterals; /** Physical distancing required. */ physicalDistancingRequired?: boolean | null; /** Physical distancing required exception. */ physicalDistancingRequiredException?: AmenityExceptionWithLiterals; /** Safety dividers at front desk and other locations. */ safetyDividers?: boolean | null; /** Safety dividers exception. */ safetyDividersException?: AmenityExceptionWithLiterals; /** Guest occupancy limited within shared facilities. */ sharedAreasLimitedOccupancy?: boolean | null; /** Shared areas limited occupancy exception. */ sharedAreasLimitedOccupancyException?: AmenityExceptionWithLiterals; /** Private spaces designated in spa and wellness areas. */ wellnessAreasHavePrivateSpaces?: boolean | null; /** Wellness areas have private spaces exception. */ wellnessAreasHavePrivateSpacesException?: AmenityExceptionWithLiterals; } /** * Represents a time of day. The date and time zone are either not significant or are specified * elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and * `google.protobuf.Timestamp`. */ interface LodgingTimeOfDay { /** * Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be * less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like * business closing time. */ hours?: number | null; /** Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59. */ minutes?: number | null; /** * Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or * equal to 999,999,999. */ nanos?: number | null; /** * Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or * equal to 59. An API may allow the value 60 if it allows leap-seconds. */ seconds?: number | null; } /** Forms of payment accepted at the property. */ interface PaymentOptions { /** Cash. The hotel accepts payment by paper/coin currency. */ cash?: boolean | null; /** Cash exception. */ cashException?: AmenityExceptionWithLiterals; /** * Cheque. The hotel accepts a printed document issued by the guest's bank in the guest's name * as a form of payment. */ cheque?: boolean | null; /** Cheque exception. */ chequeException?: AmenityExceptionWithLiterals; /** * Credit card. The hotel accepts payment by a card issued by a bank or credit card company. * Also known as charge card, debit card, bank card, or charge plate. */ creditCard?: boolean | null; /** Credit card exception. */ creditCardException?: AmenityExceptionWithLiterals; /** * Debit card. The hotel accepts a bank-issued card that immediately deducts the charged funds * from the guest's bank account upon processing. */ debitCard?: boolean | null; /** Debit card exception. */ debitCardException?: AmenityExceptionWithLiterals; /** * Mobile nfc. The hotel has the compatible computer hardware terminal that reads and charges a * payment app on the guest's smartphone without requiring the two devices to make physical * contact. Also known as Apple Pay, Google Pay, Samsung Pay. */ mobileNfc?: boolean | null; /** Mobile nfc exception. */ mobileNfcException?: AmenityExceptionWithLiterals; } /** Language spoken by at least one staff member. */ interface LanguageSpoken { /** * Required. The BCP-47 language code for the spoken language. Currently accepted codes: ar, * de, en, es, fil, fr, hi, id, it, ja, ko, nl, pt, ru, vi, yue, zh. * @format LANGUAGE_TAG */ languageCode?: string; /** At least one member of the staff can speak the language. */ spoken?: boolean | null; /** Spoken exception. */ spokenException?: AmenityExceptionWithLiterals; } /** Energy efficiency practices implemented at the hotel. */ interface EnergyEfficiency { /** * Carbon free energy sources. Property sources carbon-free electricity via at least one of the * following methods: on-site clean energy generation, power purchase agreement(s) with clean * energy generators, green power provided by electricity supplier, or purchases of Energy * Attribute Certificates (such as Renewable Energy Certificates or Guarantees of Origin). */ carbonFreeEnergySources?: boolean | null; /** Carbon free energy sources exception. */ carbonFreeEnergySourcesException?: AmenityExceptionWithLiterals; /** * Energy conservation program. The property tracks corporate-level Scope 1 and 2 GHG * emissions, and Scope 3 emissions if available. The property has a commitment to implement * initiatives that reduce GHG emissions year over year. The property has shown an absolute * reduction in emissions for at least 2 years. Emissions are either verfied by a third-party * and/or published in external communications. */ energyConservationProgram?: boolean | null; /** Energy conservation program exception. */ energyConservationProgramException?: AmenityExceptionWithLiterals; /** * Energy efficient heating and cooling systems. The property doesn't use chlorofluorocarbon * (CFC)-based refrigerants in heating, ventilating, and air-conditioning systems unless a * third-party audit shows it's not economically feasible. The CFC-based refrigerants which are * used should have a Global Warming Potential (GWP) ≤ 10. The property uses occupancy sensors * on HVAC systems in back-of-house spaces, meeting rooms, and other low-traffic areas. */ energyEfficientHeatingAndCoolingSystems?: boolean | null; /** Energy efficient heating and cooling systems exception. */ energyEfficientHeatingAndCoolingSystemsException?: AmenityExceptionWithLiterals; /** * Energy efficient lighting. At least 75% of the property's lighting is energy efficient, * using lighting that is more than 45 lumens per watt – typically LED or CFL lightbulbs. */ energyEfficientLighting?: boolean | null; /** Energy efficient lighting exception. */ energyEfficientLightingException?: AmenityExceptionWithLiterals; /** * Energy saving thermostats. The property installed energy-saving thermostats throughout the * building to conserve energy when rooms or areas are not in use. Energy-saving thermostats * are devices that control heating/cooling in the building by learning temperature preferences * and automatically adjusting to energy-saving temperatures as the default. The thermostats * are automatically set to a temperature between 68-78 degrees F (20-26 °C), depending on * seasonality. In the winter, set the thermostat to 68°F (20°C) when the room is occupied, * lowering room temperature when unoccupied. In the summer, set the thermostat to 78°F (26°C) * when the room is occupied. */ energySavingThermostats?: boolean | null; /** Energy saving thermostats exception. */ energySavingThermostatsException?: AmenityExceptionWithLiterals; /** * Output only. Green building design. True if the property has been awarded a relevant * certification. * @readonly */ greenBuildingDesign?: boolean | null; /** * Output only. Green building design exception. * @readonly */ greenBuildingDesignException?: AmenityExceptionWithLiterals; /** * Independent organization audits energy use. The property conducts an energy audit at least * every 5 years, the results of which are either verified by a third-party and/or published in * external communications. An energy audit is a detailed assessment of the facility which * provides recommendations to existing operations and procedures to improve energy efficiency, * available incentives or rebates,and opportunities for improvements through renovations or * upgrades. Examples of organizations that conduct credible third party audits include: Engie * Impact, DNV GL (EU), Dexma, and local utility providers (they often provide energy and water * audits). */ independentOrganizationAuditsEnergyUse?: boolean | null; /** Independent organization audits energy use exception. */ independentOrganizationAuditsEnergyUseException?: AmenityExceptionWithLiterals; } /** * Sustainability certifications the hotel has been awarded. Deprecated: this message is no * longer populated. All certification data is now provided by BeCause. */ interface SustainabilityCertifications { /** BREEAM certification. */ breeamCertification?: BreeamCertificationWithLiterals; /** BREEAM certification exception. */ breeamCertificationException?: AmenityExceptionWithLiterals; /** * The eco certificates awarded to the hotel. * @maxSize 50 */ ecoCertifications?: EcoCertification[]; /** LEED certification. */ leedCertification?: LeedCertificationWithLiterals; /** LEED certification exception. */ leedCertificationException?: AmenityExceptionWithLiterals; } declare enum BreeamCertification { /** Not certified. */ NO_BREEAM_CERTIFICATION = "NO_BREEAM_CERTIFICATION", /** BREEAM Pass. */ BREEAM_PASS = "BREEAM_PASS", /** BREEAM Good. */ BREEAM_GOOD = "BREEAM_GOOD", /** BREEAM Very Good. */ BREEAM_VERY_GOOD = "BREEAM_VERY_GOOD", /** BREEAM Excellent. */ BREEAM_EXCELLENT = "BREEAM_EXCELLENT", /** BREEAM Outstanding. */ BREEAM_OUTSTANDING = "BREEAM_OUTSTANDING" } /** @enumType */ type BreeamCertificationWithLiterals = BreeamCertification | 'NO_BREEAM_CERTIFICATION' | 'BREEAM_PASS' | 'BREEAM_GOOD' | 'BREEAM_VERY_GOOD' | 'BREEAM_EXCELLENT' | 'BREEAM_OUTSTANDING'; /** * An eco certificate awarded to the hotel. Deprecated: this message is no longer populated. All * certification data is now provided by BeCause. */ interface EcoCertification { /** Whether the eco certificate was awarded or not. */ awarded?: boolean | null; /** Awarded exception. */ awardedException?: AmenityExceptionWithLiterals; /** Required. The eco certificate. */ ecoCertificate?: EcoCertificateWithLiterals; } declare enum LeedCertification { /** Not certified. */ NO_LEED_CERTIFICATION = "NO_LEED_CERTIFICATION", /** LEED Certified. */ LEED_CERTIFIED = "LEED_CERTIFIED", /** LEED Silver. */ LEED_SILVER = "LEED_SILVER", /** LEED Gold. */ LEED_GOLD = "LEED_GOLD", /** LEED Platinum. */ LEED_PLATINUM = "LEED_PLATINUM" } /** @enumType */ type LeedCertificationWithLiterals = LeedCertification | 'NO_LEED_CERTIFICATION' | 'LEED_CERTIFIED' | 'LEED_SILVER' | 'LEED_GOLD' | 'LEED_PLATINUM'; /** Sustainable sourcing practices implemented at the hotel. */ interface SustainableSourcing { /** * Eco friendly toiletries. Soap, shampoo, lotion, and other toiletries provided for guests * have a nationally or internationally recognized sustainability certification, such as USDA * Organic, EU Organic, or cruelty-free. */ ecoFriendlyToiletries?: boolean | null; /** Eco friendly toiletries exception. */ ecoFriendlyToiletriesException?: AmenityExceptionWithLiterals; /** * Locally sourced food and beverages. Property sources locally in order to lower the * environmental footprint from reduced transportation and to stimulate the local economy. * Products produced less than 62 miles from the establishment are normally considered as * locally produced. */ locallySourcedFoodAndBeverages?: boolean | null; /** Locally sourced food and beverages exception. */ locallySourcedFoodAndBeveragesException?: AmenityExceptionWithLiterals; /** * Organic cage free eggs. The property sources 100% certified organic and cage-free eggs * (shell, liquid, and egg products). Cage-free means hens are able to walk, spread their wings * and lay their eggs in nests). */ organicCageFreeEggs?: boolean | null; /** Organic cage free eggs exception. */ organicCageFreeEggsException?: AmenityExceptionWithLiterals; /** * Organic food and beverages. At least 25% of food and beverages, by spend, are certified * organic. Organic means products that are certified to one of the organic standard listed in * the IFOAM family of standards. Qualifying certifications include USDA Organic and EU * Organic, among others. */ organicFoodAndBeverages?: boolean | null; /** Organic food and beverages exception. */ organicFoodAndBeveragesException?: AmenityExceptionWithLiterals; /** * Responsible purchasing policy. The property has a responsible procurement policy in place. * Responsible means integration of social, ethical, and/or environmental performance factors * into the procurement process when selecting suppliers. */ responsiblePurchasingPolicy?: boolean | null; /** Responsible purchasing policy exception. */ responsiblePurchasingPolicyException?: AmenityExceptionWithLiterals; /** * Responsibly sources seafood. The property does not source seafood from the Monterey Bay * Aquarium Seafood Watch "avoid" list, and must sustainably source seafood listed as "good * alternative," "eco-certified," and "best choice". The property has a policy outlining a * commitment to source Marine Stewardship Council (MSC) and/or Aquaculture Stewardship Council * (ASC) Chain of Custody certified seafood. */ responsiblySourcesSeafood?: boolean | null; /** Responsibly sources seafood exception. */ responsiblySourcesSeafoodException?: AmenityExceptionWithLiterals; /** * Vegan meals. The property provides vegan menu options for guests. Vegan food does not * contain animal products or byproducts. */ veganMeals?: boolean | null; /** Vegan meals exception. */ veganMealsException?: AmenityExceptionWithLiterals; /** * Vegetarian meals. The property provides vegetarian menu options for guests. Vegetarian food * does not contain meat, poultry, fish, or seafood. */ vegetarianMeals?: boolean | null; /** Vegetarian meals exception. */ vegetarianMealsException?: AmenityExceptionWithLiterals; } /** Waste reduction practices implemented at the hotel. */ interface WasteReduction { /** * Compostable food containers and cutlery. 100% of food service containers and to-go cutlery * are compostable, and reusable utensils are offered wherever possible. Compostable materials * are capable of undergoing biological decomposition in a compost site, such that material is * not visually distinguishable and breaks down into carbon dioxide, water, inorganic * compounds, and biomass. */ compostableFoodContainersAndCutlery?: boolean | null; /** Compostable food containers and cutlery exception. */ compostableFoodContainersAndCutleryException?: AmenityExceptionWithLiterals; /** * Composts excess food. The property has a program and/or policy for diverting waste from * landfill by composting food and yard waste, either through compost collection and off-site * processing or on-site compost processing. */ compostsExcessFood?: boolean | null; /** Composts excess food exception. */ compostsExcessFoodException?: AmenityExceptionWithLiterals; /** * Donates excess food. The property has a program and/or policy for diverting waste from * landfill that may include efforts to donate for human consumption or divert food for animal * feed. */ donatesExcessFood?: boolean | null; /** Donates excess food exception. */ donatesExcessFoodException?: AmenityExceptionWithLiterals; /** * Food waste reduction program. The property has established a food waste reduction and * donation program, aiming to reduce food waste by half. These programs typically use tools * such as the Hotel Kitchen Toolkit and others to track waste and measure progress. */ foodWasteReductionProgram?: boolean | null; /** Food waste reduction program exception. */ foodWasteReductionProgramException?: AmenityExceptionWithLiterals; /** No single use plastic straws. The property bans single-use plastic straws. */ noSingleUsePlasticStraws?: boolean | null; /** No single use plastic straws exception. */ noSingleUsePlasticStrawsException?: AmenityExceptionWithLiterals; /** No single use plastic water bottles. The property bans single-use plastic water bottles. */ noSingleUsePlasticWaterBottles?: boolean | null; /** No single use plastic water bottles exception. */ noSingleUsePlasticWaterBottlesException?: AmenityExceptionWithLiterals; /** * No styrofoam food containers. The property eliminates the use of Styrofoam in disposable * food service items. */ noStyrofoamFoodContainers?: boolean | null; /** No styrofoam food containers exception. */ noStyrofoamFoodContainersException?: AmenityExceptionWithLiterals; /** * Recycling program. The property has a recycling program, aligned with LEED waste * requirements, and a policy outlining efforts to send less than 50% of waste to landfill. The * recycling program includes storage locations for recyclable materials, including mixed * paper, corrugated cardboard, glass, plastics, and metals. */ recyclingProgram?: boolean | null; /** Recycling program exception. */ recyclingProgramException?: AmenityExceptionWithLiterals; /** * Refillable toiletry containers. The property has replaced miniature individual containers * with refillable amenity dispensers for shampoo, conditioner, soap, and lotion. */ refillableToiletryContainers?: boolean | null; /** Refillable toiletry containers exception. */ refillableToiletryContainersException?: AmenityExceptionWithLiterals; /** Safely disposes batteries. The property safely stores and disposes batteries. */ safelyDisposesBatteries?: boolean | null; /** Safely disposes batteries exception. */ safelyDisposesBatteriesException?: AmenityExceptionWithLiterals; /** * Safely disposes electronics. The property has a reputable recycling program that keeps * hazardous electronic parts and chemical compounds out of landfills, dumps and other * unauthorized abandonment sites, and recycles/reuses applicable materials. (e.g. certified * electronics recyclers). */ safelyDisposesElectronics?: boolean | null; /** Safely disposes electronics exception. */ safelyDisposesElectronicsException?: AmenityExceptionWithLiterals; /** Safely disposes lightbulbs. The property safely stores and disposes lightbulbs. */ safelyDisposesLightbulbs?: boolean | null; /** Safely disposes lightbulbs exception. */ safelyDisposesLightbulbsException?: AmenityExceptionWithLiterals; /** * Safely handles hazardous substances. The property has a hazardous waste management program * aligned wit GreenSeal and LEED requirements, and meets all regulatory requirements for * hazardous waste disposal and recycling. Hazardous means substances that are classified as * "hazardous" by an authoritative body (such as OSHA or DOT), are labeled with signal words * such as "Danger," "Caution," "Warning," or are flammable, corrosive, or ignitable. * Requirements include: - The property shall maintain records of the efforts it has made to * replace the hazardous substances it uses with less hazardous alternatives. - An inventory of * the hazardous materials stored on-site. - Products intended for cleaning, dishwashing, * laundry, and pool maintenance shall be stored in clearly labeled containers. These * containers shall be checked regularly for leaks, and replaced a necessary. - Spill * containment devices shall be installed to collect spills, drips, or leaching of chemicals. */ safelyHandlesHazardousSubstances?: boolean | null; /** Safely handles hazardous substances exception. */ safelyHandlesHazardousSubstancesException?: AmenityExceptionWithLiterals; /** * Soap donation program. The property participates in a soap donation program such as Clean * the World or something similar. */ soapDonationProgram?: boolean | null; /** Soap donation program exception. */ soapDonationProgramException?: AmenityExceptionWithLiterals; /** * Toiletry donation program. The property participates in a toiletry donation program such as * Clean the World or something similar. */ toiletryDonationProgram?: boolean | null; /** Toiletry donation program exception. */ toiletryDonationProgramException?: AmenityExceptionWithLiterals; /** * Water bottle filling stations. The property offers water stations throughout the building * for guest use. */ waterBottleFillingStations?: boolean | null; /** Water bottle filling stations exception. */ waterBottleFillingStationsException?: AmenityExceptionWithLiterals; } /** Water conservation practices implemented at the hotel. */ interface WaterConservation { /** * Independent organization audits water use. The property conducts a water conservation audit * every 5 years, the results of which are either verified by a third-party and/or published in * external communications. A water conservation audit is a detailed assessment of the * facility, providing recommendations to existing operations and procedures to improve water * efficiency, available incentives or rebates, and opportunities for improvements through * renovations or upgrades. Examples of organizations who conduct credible third party audits * include: Engie Impact, and local utility providers (they often provide energy and water * audits). */ independentOrganizationAuditsWaterUse?: boolean | null; /** Independent organization audits water use exception. */ independentOrganizationAuditsWaterUseException?: AmenityExceptionWithLiterals; /** Linen reuse program. The property offers a linen reuse program. */ linenReuseProgram?: boolean | null; /** Linen reuse program exception. */ linenReuseProgramException?: AmenityExceptionWithLiterals; /** Towel reuse program. The property offers a towel reuse program. */ towelReuseProgram?: boolean | null; /** Towel reuse program exception. */ towelReuseProgramException?: AmenityExceptionWithLiterals; /** * Water saving showers. All of the property's guest rooms have shower heads that use no more * than 2.0 gallons per minute (gpm). */ waterSavingShowers?: boolean | null; /** Water saving showers exception. */ waterSavingShowersException?: AmenityExceptionWithLiterals; /** * Water saving sinks. All of the property's guest rooms have bathroom faucets that use a * maximum of 1.5 gallons per minute (gpm), public restroom faucets do not exceed 0.5 gpm, and * kitchen faucets (excluding faucets used exclusively for filling operations) do not exceed * 2.2 gpm. */ waterSavingSinks?: boolean | null; /** Water saving sinks exception. */ waterSavingSinksException?: AmenityExceptionWithLiterals; /** Water saving toilets. All of the property's toilets use 1.6 gallons per flush, or less. */ waterSavingToilets?: boolean | null; /** Water saving toilets exception. */ waterSavingToiletsException?: AmenityExceptionWithLiterals; } /** * Physical adaptations made to the property in consideration of varying levels of human physical * ability. */ interface Accessibility { /** * Mobility accessible. Throughout the property there are physical adaptations to ease the stay * of a person in a wheelchair, such as auto-opening doors, wide elevators, wide bathrooms or * ramps. */ mobilityAccessible?: boolean | null; /** * Mobility accessible elevator. A lift that transports people from one level to another and is * built to accommodate a wheelchair-using passenger owing to the width of its doors and * placement of call buttons. */ mobilityAccessibleElevator?: boolean | null; /** Mobility accessible elevator exception. */ mobilityAccessibleElevatorException?: AmenityExceptionWithLiterals; /** Mobility accessible exception. */ mobilityAccessibleException?: AmenityExceptionWithLiterals; /** * Mobility accessible parking. The presence of a marked, designated area of prescribed size in * which only registered, labeled vehicles transporting a person with physical challenges may * park. */ mobilityAccessibleParking?: boolean | null; /** Mobility accessible parking exception. */ mobilityAccessibleParkingException?: AmenityExceptionWithLiterals; /** * Mobility accessible pool. A swimming pool equipped with a mechanical chair that can be * lowered and raised for the purpose of moving physically challenged guests into and out of * the pool. May be powered by electricity or water. Also known as pool lift. */ mobilityAccessiblePool?: boolean | null; /** Mobility accessible pool exception. */ mobilityAccessiblePoolException?: AmenityExceptionWithLiterals; } /** Amenities and features related to leisure and play. */ interface Activities { /** * Beach access. The hotel property is in close proximity to a beach and offers a way to get to * that beach. This can include a route to the beach such as stairs down if hotel is on a * bluff, or a short trail. Not the same as beachfront (with beach access, the hotel's * proximity is close to but not right on the beach). */ beachAccess?: boolean | null; /** Beach access exception. */ beachAccessException?: AmenityExceptionWithLiterals; /** * Breach front. The hotel property is physically located on the beach alongside an ocean, sea, * gulf, or bay. It is not on a lake, river, stream, or pond. The hotel is not separated from * the beach by a public road allowing vehicular, pedestrian, or bicycle traffic. */ beachFront?: boolean | null; /** Beach front exception. */ beachFrontException?: AmenityExceptionWithLiterals; /** * Bicycle rental. The hotel owns bicycles that it permits guests to borrow and use. Can be * free or for a fee. */ bicycleRental?: boolean | null; /** Bicycle rental exception. */ bicycleRentalException?: AmenityExceptionWithLiterals; /** * Boutique stores. There are stores selling clothing, jewelry, art and decor either on hotel * premises or very close by. Does not refer to the hotel gift shop or convenience store. */ boutiqueStores?: boolean | null; /** Boutique stores exception. */ boutiqueStoresException?: AmenityExceptionWithLiterals; /** * Casino. A space designated for gambling and gaming featuring croupier-run table and card * games, as well as electronic slot machines. May be on hotel premises or located nearby. */ casino?: boolean | null; /** Casino exception. */ casinoException?: AmenityExceptionWithLiterals; /** * Free bicycle rental. The hotel owns bicycles that it permits guests to borrow and use for * free. */ freeBicycleRental?: boolean | null; /** Free bicycle rental exception. */ freeBicycleRentalException?: AmenityExceptionWithLiterals; /** * Free watercraft rental. The hotel owns watercraft that it permits guests to borrow and use * for free. */ freeWatercraftRental?: boolean | null; /** Free Watercraft rental exception. */ freeWatercraftRentalException?: AmenityExceptionWithLiterals; /** * Game room. There is a room at the hotel containing electronic machines for play such as * pinball, prize machines, driving simulators, and other items commonly found at a family fun * center or arcade. May also include non-electronic games like pool, foosball, darts, and * more. May or may not be designed for children. Also known as arcade, fun room, or family fun * center. */ gameRoom?: boolean | null; /** Game room exception. */ gameRoomException?: AmenityExceptionWithLiterals; /** * Golf. There is a golf course on hotel grounds or there is a nearby, independently run golf * course that allows use by hotel guests. Can be free or for a fee. */ golf?: boolean | null; /** Golf exception. */ golfException?: AmenityExceptionWithLiterals; /** * Horseback riding. The hotel has a horse barn onsite or an affiliation with a nearby barn to * allow for guests to sit astride a horse and direct it to walk, trot, cantor, gallop and/or * jump. Can be in a riding ring, on designated paths, or in the wilderness. May or may not * involve instruction. */ horsebackRiding?: boolean | null; /** Horseback riding exception. */ horsebackRidingException?: AmenityExceptionWithLiterals; /** * Nightclub. There is a room at the hotel with a bar, a dance floor, and seating where * designated staffers play dance music. There may also be a designated area for the * performance of live music, singing and comedy acts. */ nightclub?: boolean | null; /** Nightclub exception. */ nightclubException?: AmenityExceptionWithLiterals; /** Private beach. The beach which is in close proximity to the hotel is open only to guests. */ privateBeach?: boolean | null; /** Private beach exception. */ privateBeachException?: AmenityExceptionWithLiterals; /** * Scuba. The provision for guests to dive under naturally occurring water fitted with a self- * contained underwater breathing apparatus (SCUBA) for the purpose of exploring underwater * life. Apparatus consists of a tank providing oxygen to the diver through a mask. Requires * certification of the diver and supervision. The hotel may have the activity at its own * waterfront or have an affiliation with a nearby facility. Required equipment is most often * supplied to guests. Can be free or for a fee. Not snorkeling. Not done in a swimming pool. */ scuba?: boolean | null; /** Scuba exception. */ scubaException?: AmenityExceptionWithLiterals; /** * Snorkeling. The provision for guests to participate in a recreational water activity in * which swimmers wear a diving mask, a simple, shaped breathing tube and flippers/swim fins * for the purpose of exploring below the surface of an ocean, gulf or lake. Does not usually * require user certification or professional supervision. Equipment may or may not be * available for rent or purchase. Not scuba diving. */ snorkeling?: boolean | null; /** Snorkeling exception. */ snorkelingException?: AmenityExceptionWithLiterals; /** * Tennis. The hotel has the requisite court(s) on site or has an affiliation with a nearby * facility for the purpose of providing guests with the opportunity to play a two-sided court- * based game in which players use a stringed racquet to hit a ball across a net to the side of * the opposing player. The court can be indoors or outdoors. Instructors, racquets and balls * may or may not be provided. */ tennis?: boolean | null; /** Tennis exception. */ tennisException?: AmenityExceptionWithLiterals; /** * Water skiing. The provision of giving guests the opportunity to be pulled across naturally * occurring water while standing on skis and holding a tow rope attached to a motorboat. Can * occur on hotel premises or at a nearby waterfront. Most often performed in a lake or ocean. */ waterSkiing?: boolean | null; /** Water skiing exception. */ waterSkiingException?: AmenityExceptionWithLiterals; /** * Watercraft rental. The hotel owns water vessels that it permits guests to borrow and use. * Can be free or for a fee. Watercraft may include boats, pedal boats, rowboats, sailboats, * powerboats, canoes, kayaks, or personal watercraft (such as a Jet Ski). */ watercraftRental?: boolean | null; /** Watercraft rental exception. */ watercraftRentalException?: AmenityExceptionWithLiterals; } /** Features of the property of specific interest to the business traveler. */ interface Business { /** * Business center. A designated room at the hotel with one or more desks and equipped with * guest-use computers, printers, fax machines and/or photocopiers. May or may not be open * 24/7. May or may not require a key to access. Not a meeting room or conference room. */ businessCenter?: boolean | null; /** Business center exception. */ businessCenterException?: AmenityExceptionWithLiterals; /** * Meeting rooms. Rooms at the hotel designated for business-related gatherings. Rooms are * usually equipped with tables or desks, office chairs and audio/visual facilities to allow * for presentations and conference calls. Also known as conference rooms. */ meetingRooms?: boolean | null; /** Meeting rooms count. The number of meeting rooms at the property. */ meetingRoomsCount?: number | null; /** Meeting rooms count exception. */ meetingRoomsCountException?: AmenityExceptionWithLiterals; /** Meeting rooms exception. */ meetingRoomsException?: AmenityExceptionWithLiterals; } /** The ways in which the property provides guests with the ability to access the internet. */ interface Connectivity { /** Free wifi. The hotel offers guests wifi for free. */ freeWifi?: boolean | null; /** Free wifi exception. */ freeWifiException?: AmenityExceptionWithLiterals; /** * Public area wifi available. Guests have the ability to wirelessly connect to the internet in * the areas of the hotel accessible to anyone. Can be free or for a fee. */ publicAreaWifiAvailable?: boolean | null; /** Public area wifi available exception. */ publicAreaWifiAvailableException?: AmenityExceptionWithLiterals; /** * Public internet terminal. An area of the hotel supplied with computers and designated for * the purpose of providing guests with the ability to access the internet. */ publicInternetTerminal?: boolean | null; /** Public internet terminal exception. */ publicInternetTerminalException?: AmenityExceptionWithLiterals; /** * Wifi available. The hotel provides the ability for guests to wirelessly connect to the * internet. Can be in the public areas of the hotel and/or in the guest rooms. Can be free or * for a fee. */ wifiAvailable?: boolean | null; /** Wifi available exception. */ wifiAvailableException?: AmenityExceptionWithLiterals; } /** Services and amenities for families and young guests. */ interface Families { /** * Babysitting. Child care that is offered by hotel staffers or coordinated by hotel staffers * with local child care professionals. Can be free or for a fee. */ babysitting?: boolean | null; /** Babysitting exception. */ babysittingException?: AmenityExceptionWithLiterals; /** * Kids activities. Recreational options such as sports, films, crafts and games designed for * the enjoyment of children and offered at the hotel. May or may not be supervised. May or may * not be at a designated time or place. Cab be free or for a fee. */ kidsActivities?: boolean | null; /** Kids activities exception. */ kidsActivitiesException?: AmenityExceptionWithLiterals; /** * Kids club. An organized program of group activities held at the hotel and designed for the * enjoyment of children. Facilitated by hotel staff (or staff procured by the hotel) in an * area(s) designated for the purpose of entertaining children without their parents. May * include games, outings, water sports, team sports, arts and crafts, and films. Usually has * set hours. Can be free or for a fee. Also known as Kids Camp or Kids program. */ kidsClub?: boolean | null; /** Kids club exception. */ kidsClubException?: AmenityExceptionWithLiterals; /** * Kids friendly. The hotel has one or more special features for families with children, such * as reduced rates, child-sized beds, kids' club, babysitting service, or suitable place to * play on premises. */ kidsFriendly?: boolean | null; /** Kids friendly exception. */ kidsFriendlyException?: AmenityExceptionWithLiterals; } /** Meals, snacks, and beverages available at the property. */ interface FoodAndDrink { /** * Bar. A designated room, lounge or area of an on-site restaurant with seating at a counter * behind which a hotel staffer takes the guest's order and provides the requested alcoholic * drink. Can be indoors or outdoors. Also known as Pub. */ bar?: boolean | null; /** Bar exception. */ barException?: AmenityExceptionWithLiterals; /** Breakfast available. The morning meal is offered to all guests. Can be free or for a fee. */ breakfastAvailable?: boolean | null; /** Breakfast available exception. */ breakfastAvailableException?: AmenityExceptionWithLiterals; /** * Breakfast buffet. Breakfast meal service where guests serve themselves from a variety of * dishes/foods that are put out on a table. */ breakfastBuffet?: boolean | null; /** Breakfast buffet exception. */ breakfastBuffetException?: AmenityExceptionWithLiterals; /** * Buffet. A type of meal where guests serve themselves from a variety of dishes/foods that are * put out on a table. Includes lunch and/or dinner meals. A breakfast-only buffet is not * sufficient. */ buffet?: boolean | null; /** Buffet exception. */ buffetException?: AmenityExceptionWithLiterals; /** * Dinner buffet. Dinner meal service where guests serve themselves from a variety of * dishes/foods that are put out on a table. */ dinnerBuffet?: boolean | null; /** Dinner buffet exception. */ dinnerBuffetException?: AmenityExceptionWithLiterals; /** * Free breakfast. Breakfast is offered for free to all guests. Does not apply if limited to * certain room packages. */ freeBreakfast?: boolean | null; /** Free breakfast exception. */ freeBreakfastException?: AmenityExceptionWithLiterals; /** * Restaurant. A business onsite at the hotel that is open to the public as well as guests, and * offers meals and beverages to consume at tables or counters. May or may not include table * service. Also known as cafe, buffet, eatery. A "breakfast room" where the hotel serves * breakfast only to guests (not the general public) does not count as a restaurant. */ restaurant?: boolean | null; /** Restaurant exception. */ restaurantException?: AmenityExceptionWithLiterals; /** Restaurants count. The number of restaurants at the hotel. */ restaurantsCount?: number | null; /** Restaurants count exception. */ restaurantsCountException?: AmenityExceptionWithLiterals; /** * Room service. A hotel staffer delivers meals prepared onsite to a guest's room as per their * request. May or may not be available during specific hours. Services should be available to * all guests (not based on rate/room booked/reward program, etc). */ roomService?: boolean | null; /** Room service exception. */ roomServiceException?: AmenityExceptionWithLiterals; /** * Table service. A restaurant in which a staff member is assigned to a guest's table to take * their order, deliver and clear away food, and deliver the bill, if applicable. Also known as * sit-down restaurant. */ tableService?: boolean | null; /** Table service exception. */ tableServiceException?: AmenityExceptionWithLiterals; /** 24hr room service. Room service is available 24 hours a day. */ twentyFourHourRoomService?: boolean | null; /** 24hr room service exception. */ twentyFourHourRoomServiceException?: AmenityExceptionWithLiterals; /** * Vending machine. A glass-fronted mechanized cabinet displaying and dispensing snacks and * beverages for purchase by coins, paper money and/or credit cards. */ vendingMachine?: boolean | null; /** Vending machine exception. */ vendingMachineException?: AmenityExceptionWithLiterals; } /** A specific type of unit primarily defined by its features. */ interface GuestUnitType { /** * Required. Unit or room code identifiers for a single GuestUnitType. Each code must be unique * within a Lodging instance. * @maxSize 100 * @maxLength 255 */ codes?: string[]; /** Features and available amenities of the GuestUnitType. */ features?: GuestUnitFeatures; /** * Required. Short, English label or name of the GuestUnitType. Target <50 chars. * @maxLength 255 */ label?: string; } /** Health and safety measures implemented by the hotel during COVID-19. */ interface HealthAndSafety { /** Enhanced cleaning measures implemented by the hotel during COVID-19. */ enhancedCleaning?: EnhancedCleaning; /** Increased food safety measures implemented by the hotel during COVID-19. */ increasedFoodSafety?: IncreasedFoodSafety; /** Minimized contact measures implemented by the hotel during COVID-19. */ minimizedContact?: MinimizedContact; /** Personal protection measures implemented by the hotel during COVID-19. */ personalProtection?: PersonalProtection; /** Physical distancing measures implemented by the hotel during COVID-19. */ physicalDistancing?: PhysicalDistancing; } /** Conveniences provided in guest units to facilitate an easier, more comfortable stay. */ interface Housekeeping { /** Daily housekeeping. Guest units are cleaned by hotel staff daily during guest's stay. */ dailyHousekeeping?: boolean | null; /** Daily housekeeping exception. */ dailyHousekeepingException?: AmenityExceptionWithLiterals; /** * Housekeeping available. Guest units are cleaned by hotel staff during guest's stay. Schedule * may vary from daily, weekly, or specific days of the week. */ housekeepingAvailable?: boolean | null; /** Housekeeping available exception. */ housekeepingAvailableException?: AmenityExceptionWithLiterals; /** * Turndown service. Hotel staff enters guest units to prepare the bed for sleep use. May or * may not include some light housekeeping. May or may not include an evening snack or candy. * Also known as evening service. */ turndownService?: boolean | null; /** Turndown service exception. */ turndownServiceException?: AmenityExceptionWithLiterals; } /** Metadata for the Lodging. */ interface LodgingMetadata { /** * Required. The latest time at which the Lodging data is asserted to be true in the real * world. This is not necessarily the time at which the request is made. */ updateTime?: Date | null; } /** Parking options at the property. */ interface Parking { /** * Electric car charging stations. Electric power stations, usually located outdoors, into * which guests plug their electric cars to receive a charge. */ electricCarChargingStations?: boolean | null; /** Electric car charging stations exception. */ electricCarChargingStationsException?: AmenityExceptionWithLiterals; /** * Free parking. The hotel allows the cars of guests to be parked for free. Parking facility * may be an outdoor lot or an indoor garage, but must be onsite. Nearby parking does not * apply. Parking may be performed by the guest or by hotel staff. Free parking must be * available to all guests (limited conditions does not apply). */ freeParking?: boolean | null; /** Free parking exception. */ freeParkingException?: AmenityExceptionWithLiterals; /** * Free self parking. Guests park their own cars for free. Parking facility may be an outdoor * lot or an indoor garage, but must be onsite. Nearby parking does not apply. */ freeSelfParking?: boolean | null; /** Free self parking exception. */ freeSelfParkingException?: AmenityExceptionWithLiterals; /** * Free valet parking. Hotel staff member parks the cars of guests. Parking with this service * is free. */ freeValetParking?: boolean | null; /** Free valet parking exception. */ freeValetParkingException?: AmenityExceptionWithLiterals; /** * Parking available. The hotel allows the cars of guests to be parked. Can be free or for a * fee. Parking facility may be an outdoor lot or an indoor garage, but must be onsite. Nearby * parking does not apply. Parking may be performed by the guest or by hotel staff. */ parkingAvailable?: boolean | null; /** Parking available exception. */ parkingAvailableException?: AmenityExceptionWithLiterals; /** * Self parking available. Guests park their own cars. Parking facility may be an outdoor lot * or an indoor garage, but must be onsite. Nearby parking does not apply. Can be free or for a * fee. */ selfParkingAvailable?: boolean | null; /** Self parking available exception. */ selfParkingAvailableException?: AmenityExceptionWithLiterals; /** * Valet parking available. Hotel staff member parks the cars of guests. Parking with this * service can be free or for a fee. */ valetParkingAvailable?: boolean | null; /** Valet parking available exception. */ valetParkingAvailableException?: AmenityExceptionWithLiterals; } /** Policies regarding guest-owned animals. */ interface Pets { /** * Cats allowed. Domesticated felines are permitted at the property and allowed to stay in the * guest room of their owner. May or may not require a fee. */ catsAllowed?: boolean | null; /** Cats allowed exception. */ catsAllowedException?: AmenityExceptionWithLiterals; /** * Dogs allowed. Domesticated canines are permitted at the property and allowed to stay in the * guest room of their owner. May or may not require a fee. */ dogsAllowed?: boolean | null; /** Dogs allowed exception. */ dogsAllowedException?: AmenityExceptionWithLiterals; /** * Pets allowed. Household animals are allowed at the property and in the specific guest room * of their owner. May or may not include dogs, cats, reptiles and/or fish. May or may not * require a fee. Service animals are not considered to be pets, so not governed by this * policy. */ petsAllowed?: boolean | null; /** Pets allowed exception. */ petsAllowedException?: AmenityExceptionWithLiterals; /** * Pets allowed free. Household animals are allowed at the property and in the specific guest * room of their owner for free. May or may not include dogs, cats, reptiles, and/or fish. */ petsAllowedFree?: boolean | null; /** Pets allowed free exception. */ petsAllowedFreeException?: AmenityExceptionWithLiterals; } /** Property rules that impact guests. */ interface Policies { /** * All inclusive available. The hotel offers a rate option that includes the cost of the room, * meals, activities, and other amenities that might otherwise be charged separately. */ allInclusiveAvailable?: boolean | null; /** All inclusive available exception. */ allInclusiveAvailableException?: AmenityExceptionWithLiterals; /** * All inclusive only. The only rate option offered by the hotel is a rate that includes the * cost of the room, meals, activities and other amenities that might otherwise be charged * separately. */ allInclusiveOnly?: boolean | null; /** All inclusive only exception. */ allInclusiveOnlyException?: AmenityExceptionWithLiterals; /** * Check-in time. The time of the day at which the hotel begins providing guests access to * their unit at the beginning of their stay. */ checkinTime?: LodgingTimeOfDay; /** Check-in time exception. */ checkinTimeException?: AmenityExceptionWithLiterals; /** * Check-out time. The time of the day on the last day of a guest's reserved stay at which the * guest must vacate their room and settle their bill. Some hotels may offer late or early * check out for a fee. */ checkoutTime?: LodgingTimeOfDay; /** Check-out time exception. */ checkoutTimeException?: AmenityExceptionWithLiterals; /** * Kids stay free. The children of guests are allowed to stay in the room/suite of a parent or * adult without an additional fee. The policy may or may not stipulate a limit of the child's * age or the overall number of children allowed. */ kidsStayFree?: boolean | null; /** Kids stay free exception. */ kidsStayFreeException?: AmenityExceptionWithLiterals; /** * Max child age. The hotel allows children up to a certain age to stay in the room/suite of a * parent or adult without an additional fee. */ maxChildAge?: number | null; /** Max child age exception. */ maxChildAgeException?: AmenityExceptionWithLiterals; /** * Max kids stay free count. The hotel allows a specific, defined number of children to stay in * the room/suite of a parent or adult without an additional fee. */ maxKidsStayFreeCount?: number | null; /** Max kids stay free count exception. */ maxKidsStayFreeCountException?: AmenityExceptionWithLiterals; /** Forms of payment accepted at the property. */ paymentOptions?: PaymentOptions; /** * Smoke free property. Smoking is not allowed inside the building, on balconies, or in outside * spaces. Hotels that offer a designated area for guests to smoke are not considered smoke- * free properties. */ smokeFreeProperty?: boolean | null; /** Smoke free property exception. */ smokeFreePropertyException?: AmenityExceptionWithLiterals; } /** Swimming pool or recreational water facilities available at the hotel. */ interface Pools { /** Adult pool. A pool restricted for use by adults only. Can be indoors or outdoors. */ adultPool?: boolean | null; /** Adult pool exception. */ adultPoolException?: AmenityExceptionWithLiterals; /** * Hot tub. A man-made pool containing bubbling water maintained at a higher temperature and * circulated by aerating jets for the purpose of soaking, relaxation and hydrotherapy. Can be * indoors or outdoors. Not used for active swimming. Also known as Jacuzzi. Hot tub must be in * a common area where all guests can access it. Does not apply to room-specific hot tubs that * are only accessible to guest occupying that room. */ hotTub?: boolean | null; /** Hot tub exception. */ hotTubException?: AmenityExceptionWithLiterals; /** * Indoor pool. A pool located inside the hotel and available for guests to use for swimming * and/or soaking. Use may or may not be restricted to adults and/or children. */ indoorPool?: boolean | null; /** Indoor pool exception. */ indoorPoolException?: AmenityExceptionWithLiterals; /** Indoor pools count. The sum of all indoor pools at the hotel. */ indoorPoolsCount?: number | null; /** Indoor pools count exception. */ indoorPoolsCountException?: AmenityExceptionWithLiterals; /** * Lazy river. A man-made pool or several interconnected recreational pools built to mimic the * shape and current of a winding river where guests float in the water on inflated rubber * tubes. Can be indoors or outdoors. */ lazyRiver?: boolean | null; /** Lazy river exception. */ lazyRiverException?: AmenityExceptionWithLiterals; /** * Lifeguard. A trained member of the hotel staff stationed by the hotel's indoor or outdoor * swimming area and responsible for the safety of swimming guests. */ lifeguard?: boolean | null; /** Lifeguard exception. */ lifeguardException?: AmenityExceptionWithLiterals; /** * Outdoor pool. A pool located outside on the grounds of the hotel and available for guests to * use for swimming, soaking or recreation. Use may or may not be restricted to adults and/or * children. */ outdoorPool?: boolean | null; /** Outdoor pool exception. */ outdoorPoolException?: AmenityExceptionWithLiterals; /** Outdoor pools count. The sum of all outdoor pools at the hotel. */ outdoorPoolsCount?: number | null; /** Outdoor pools count exception. */ outdoorPoolsCountException?: AmenityExceptionWithLiterals; /** * Pool. The presence of a pool, either indoors or outdoors, for guests to use for swimming * and/or soaking. Use may or may not be restricted to adults and/or children. */ pool?: boolean | null; /** Pool exception. */ poolException?: AmenityExceptionWithLiterals; /** Pools count. The sum of all pools at the hotel. */ poolsCount?: number | null; /** Pools count exception. */ poolsCountException?: AmenityExceptionWithLiterals; /** * Wading pool. A shallow pool designed for small children to play in. Can be indoors or * outdoors. Also known as kiddie pool. */ wadingPool?: boolean | null; /** Wading pool exception. */ wadingPoolException?: AmenityExceptionWithLiterals; /** * Water park. An aquatic recreation area with a large pool or series of pools that has * features such as a water slide or tube, wavepool, fountains, rope swings, and/or obstacle * course. Can be indoors or outdoors. Also known as adventure pool. */ waterPark?: boolean | null; /** Water park exception. */ waterParkException?: AmenityExceptionWithLiterals; /** * Waterslide. A continuously wetted chute positioned by an indoor or outdoor pool which people * slide down into the water. */ waterslide?: boolean | null; /** Waterslide exception. */ waterslideException?: AmenityExceptionWithLiterals; /** * Wave pool. A large indoor or outdoor pool with a machine that produces water currents to * mimic the ocean's crests. */ wavePool?: boolean | null; /** Wave pool exception. */ wavePoolException?: AmenityExceptionWithLiterals; } /** General factual information about the property's physical structure and important dates. */ interface Property { /** Built year. The year that construction of the property was completed. */ builtYear?: number | null; /** Built year exception. */ builtYearException?: AmenityExceptionWithLiterals; /** * Floors count. The number of stories the building has from the ground floor to the top floor * that are accessible to guests. */ floorsCount?: number | null; /** Floors count exception. */ floorsCountException?: AmenityExceptionWithLiterals; /** * Last renovated year. The year when the most recent renovation of the property was completed. * Renovation may include all or any combination of the following: the units, the public * spaces, the exterior, or the interior. */ lastRenovatedYear?: number | null; /** Last renovated year exception. */ lastRenovatedYearException?: AmenityExceptionWithLiterals; /** * Rooms count. The total number of rooms and suites bookable by guests for an overnight stay. * Does not include event space, public spaces, conference rooms, fitness rooms, business * centers, spa, salon, restaurants/bars, or shops. */ roomsCount?: number | null; /** Rooms count exception. */ roomsCountException?: AmenityExceptionWithLiterals; } /** Conveniences or help provided by the property to facilitate an easier, more comfortable stay. */ interface Services { /** * Baggage storage. A provision for guests to leave their bags at the hotel when they arrive * for their stay before the official check-in time. May or may not apply for guests who wish * to leave their bags after check-out and before departing the locale. Also known as bag * dropoff. */ baggageStorage?: boolean | null; /** Baggage storage exception. */ baggageStorageException?: AmenityExceptionWithLiterals; /** * Concierge. Hotel staff member(s) responsible for facilitating an easy, comfortable stay * through making reservations for meals, sourcing theater tickets, arranging tours, finding a * doctor, making recommendations, and answering questions. */ concierge?: boolean | null; /** Concierge exception. */ conciergeException?: AmenityExceptionWithLiterals; /** * Convenience store. A shop at the hotel primarily selling snacks, drinks, non-prescription * medicines, health and beauty aids, magazines and newspapers. */ convenienceStore?: boolean | null; /** Convenience store exception. */ convenienceStoreException?: AmenityExceptionWithLiterals; /** * Currency exchange. A staff member or automated machine tasked with the transaction of * providing the native currency of the hotel's locale in exchange for the foreign currency * provided by a guest. */ currencyExchange?: boolean | null; /** Currency exchange exception. */ currencyExchangeException?: AmenityExceptionWithLiterals; /** * Elevator. A passenger elevator that transports guests from one story to another. Also known * as lift. */ elevator?: boolean | null; /** Elevator exception. */ elevatorException?: AmenityExceptionWithLiterals; /** * Front desk. A counter or desk in the lobby or the immediate interior of the hotel where a * member of the staff greets guests and processes the information related to their stay * (including check-in and check-out). May or may not be manned and open 24/7. */ frontDesk?: boolean | null; /** Front desk exception. */ frontDeskException?: AmenityExceptionWithLiterals; /** * Full service laundry. Laundry and dry cleaning facilitated and handled by the hotel on * behalf of the guest. Does not include the provision for guests to do their own laundry in * on-site machines. */ fullServiceLaundry?: boolean | null; /** Full service laundry exception. */ fullServiceLaundryException?: AmenityExceptionWithLiterals; /** * Gift shop. An on-site store primarily selling souvenirs, mementos and other gift items. May * or may not also sell sundries, magazines and newspapers, clothing, or snacks. */ giftShop?: boolean | null; /** Gift shop exception. */ giftShopException?: AmenityExceptionWithLiterals; /** * Languages spoken by at least one staff member. * @maxSize 50 */ languagesSpoken?: LanguageSpoken[]; /** * Self service laundry. On-site clothes washers and dryers accessible to guests for the * purpose of washing and drying their own clothes. May or may not require payment to use the * machines. */ selfServiceLaundry?: boolean | null; /** Self service laundry exception. */ selfServiceLaundryException?: AmenityExceptionWithLiterals; /** * Social hour. A reception with complimentary soft drinks, tea, coffee, wine and/or cocktails * in the afternoon or evening. Can be hosted by hotel staff or guests may serve themselves. * Also known as wine hour. The availability of coffee/tea in the lobby throughout the day does * not constitute a social or wine hour. */ socialHour?: boolean | null; /** Social hour exception. */ socialHourException?: AmenityExceptionWithLiterals; /** 24hr front desk. Front desk is staffed 24 hours a day. */ twentyFourHourFrontDesk?: boolean | null; /** 24hr front desk exception. */ twentyFourHourFrontDeskException?: AmenityExceptionWithLiterals; /** * Wake up calls. By direction of the guest, a hotel staff member will phone the guest unit at * the requested hour. Also known as morning call. */ wakeUpCalls?: boolean | null; /** Wake up calls exception. */ wakeUpCallsException?: AmenityExceptionWithLiterals; } /** Sustainability practices implemented at the hotel. */ interface Sustainability { /** Energy efficiency practices implemented at the hotel. */ energyEfficiency?: EnergyEfficiency; /** * Sustainability certifications the hotel has been awarded. Deprecated: this field is no * longer populated. All certification data is now provided by BeCause. */ sustainabilityCertifications?: SustainabilityCertifications; /** Sustainable sourcing practices implemented at the hotel. */ sustainableSourcing?: SustainableSourcing; /** Waste reduction practices implemented at the hotel. */ wasteReduction?: WasteReduction; /** Water conservation practices implemented at the hotel. */ waterConservation?: WaterConservation; } /** Vehicles or vehicular services facilitated or owned by the property. */ interface Transportation { /** * Airport shuttle. The hotel provides guests with a chauffeured van or bus to and from the * airport. Can be free or for a fee. Guests may share the vehicle with other guests unknown to * them. Applies if the hotel has a third-party shuttle service (office/desk etc.) within the * hotel. As long as hotel provides this service, it doesn't matter if it's directly with them * or a third party they work with. Does not apply if guest has to coordinate with an entity * outside/other than the hotel. */ airportShuttle?: boolean | null; /** Airport shuttle exception. */ airportShuttleException?: AmenityExceptionWithLiterals; /** * Car rental on property. A branch of a rental car company with a processing desk in the * hotel. Available cars for rent may be awaiting at the hotel or in a nearby lot. */ carRentalOnProperty?: boolean | null; /** Car rental on property exception. */ carRentalOnPropertyException?: AmenityExceptionWithLiterals; /** * Free airport shuttle. Airport shuttle is free to guests. Must be free to all guests without * any conditions. */ freeAirportShuttle?: boolean | null; /** Free airport shuttle exception. */ freeAirportShuttleException?: AmenityExceptionWithLiterals; /** Free private car service. Private chauffeured car service is free to guests. */ freePrivateCarService?: boolean | null; /** Free private car service exception. */ freePrivateCarServiceException?: AmenityExceptionWithLiterals; /** * Local shuttle. A car, van or bus provided by the hotel to transport guests to destinations * within a specified range of distance around the hotel. Usually shopping and/or convention * centers, downtown districts, or beaches. Can be free or for a fee. */ localShuttle?: boolean | null; /** Local shuttle exception. */ localShuttleException?: AmenityExceptionWithLiterals; /** * Private car service. Hotel provides a private chauffeured car to transport guests to * destinations. Passengers in the car are either alone or are known to one another and have * requested the car together. Service can be free or for a fee and travel distance is usually * limited to a specific range. Not a taxi. */ privateCarService?: boolean | null; /** Private car service exception. */ privateCarServiceException?: AmenityExceptionWithLiterals; /** * Transfer. Hotel provides a shuttle service or car service to take guests to and from the * nearest airport or train station. Can be free or for a fee. Guests may share the vehicle * with other guests unknown to them. */ transfer?: boolean | null; /** Transfer exception. */ transferException?: AmenityExceptionWithLiterals; } /** Guest facilities at the property to promote or maintain health, beauty, and fitness. */ interface Wellness { /** * Doctor on call. The hotel has a contract with a medical professional who provides services * to hotel guests should they fall ill during their stay. The doctor may or may not have an * on-site office or be at the hotel at all times. */ doctorOnCall?: boolean | null; /** Doctor on call exception. */ doctorOnCallException?: AmenityExceptionWithLiterals; /** * Elliptical machine. An electric, stationary fitness machine with pedals that simulates * climbing, walking or running and provides a user-controlled range of speeds and tensions. * May not have arm-controlled levers to work out the upper body as well. Commonly found in a * gym, fitness room, health center, or health club. */ ellipticalMachine?: boolean | null; /** Elliptical machine exception. */ ellipticalMachineException?: AmenityExceptionWithLiterals; /** * Fitness center. A room or building at the hotel containing equipment to promote physical * activity, such as treadmills, elliptical machines, stationary bikes, weight machines, free * weights, and/or stretching mats. Use of the fitness center can be free or for a fee. May or * may not be staffed. May or may not offer instructor-led classes in various styles of * physical conditioning. May or may not be open 24/7. May or may not include locker rooms and * showers. Also known as health club, gym, fitness room, health center. */ fitnessCenter?: boolean | null; /** Fitness center exception. */ fitnessCenterException?: AmenityExceptionWithLiterals; /** Free fitness center. Guests may use the fitness center for free. */ freeFitnessCenter?: boolean | null; /** Free fitness center exception. */ freeFitnessCenterException?: AmenityExceptionWithLiterals; /** * Free weights. Individual handheld fitness equipment of varied weights used for upper body * strength training or bodybuilding. Also known as barbells, dumbbells, or kettlebells. Often * stored on a rack with the weights arranged from light to heavy. Commonly found in a gym, * fitness room, health center, or health club. */ freeWeights?: boolean | null; /** Free weights exception. */ freeWeightsException?: AmenityExceptionWithLiterals; /** * Massage. A service provided by a trained massage therapist involving the physical * manipulation of a guest's muscles in order to achieve relaxation or pain relief. */ massage?: boolean | null; /** Massage exception. */ massageException?: AmenityExceptionWithLiterals; /** * Salon. A room at the hotel where professionals provide hair styling services such as * shampooing, blow drying, hair dos, hair cutting and hair coloring. Also known as hairdresser * or beauty salon. */ salon?: boolean | null; /** Salon exception. */ salonException?: AmenityExceptionWithLiterals; /** * Sauna. A wood-paneled room heated to a high temperature where guests sit on built-in wood * benches for the purpose of perspiring and relaxing their muscles. Can be dry or slightly wet * heat. Not a steam room. */ sauna?: boolean | null; /** Sauna exception. */ saunaException?: AmenityExceptionWithLiterals; /** * Spa. A designated area, room or building at the hotel offering health and beauty treatment * through such means as steam baths, exercise equipment, and massage. May also offer facials, * nail care, and hair care. Services are usually available by appointment and for an * additional fee. Does not apply if hotel only offers a steam room; must offer other beauty * and/or health treatments as well. */ spa?: boolean | null; /** Spa exception. */ spaException?: AmenityExceptionWithLiterals; /** * Treadmill. An electric stationary fitness machine that simulates a moving path to promote * walking or running within a range of user-controlled speeds and inclines. Also known as * running machine. Commonly found in a gym, fitness room, health center, or health club. */ treadmill?: boolean | null; /** Treadmill exception. */ treadmillException?: AmenityExceptionWithLiterals; /** * Weight machine. Non-electronic fitness equipment designed for the user to target the * exertion of different muscles. Usually incorporates a padded seat, a stack of flat weights * and various bars and pulleys. May be designed for toning a specific part of the body or may * involve different user-controlled settings, hardware and pulleys so as to provide an overall * workout in one machine. Commonly found in a gym, fitness center, fitness room, or health * club. */ weightMachine?: boolean | null; /** Weight machine exception. */ weightMachineException?: AmenityExceptionWithLiterals; } interface UpdateLocationLodgingRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * The hotel data to set. Only the fields named in `fieldMask` are read, so this * can be as sparse as the change you're making. */ lodging: Lodging; /** * Which fields to update. Nested paths are allowed (`families.kidsClub`); paths * into a repeated field are not (`guestUnits` yes, `guestUnits.codes` no), and * neither are read-only fields (`metadata`, `allUnits`, `someUnits`). * * At least one path is required. An empty mask is rejected as * `INVALID_UPDATE_MASK` rather than sent on as an empty update. */ fieldMask: string[]; } interface UpdateLocationLodgingResponse { /** The location's hotel data after the update, as Google returned it. */ lodging?: Lodging; } interface ListAttributeMetadataRequest extends ListAttributeMetadataRequestLookupOneOf { /** * ID of the location. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId?: string; /** * A Google category + country pair, for previewing attributes before a * location exists. */ categoryRegion?: CategoryRegion; /** * BCP-47 language code for localized display names. If unset, Google falls * back to English. Optional. * @maxLength 35 */ languageCode?: string; /** * Cursor-based paging. `limit` maps to Google's page size (unset uses a * server default of 200, min 1); `cursor` is the `next` token returned by a * previous response (an opaque Google page token). */ paging?: CursorPaging; } /** @oneof */ interface ListAttributeMetadataRequestLookupOneOf { /** * ID of the location. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId?: string; /** * A Google category + country pair, for previewing attributes before a * location exists. */ categoryRegion?: CategoryRegion; } /** * A Google primary category + country pair to look up available attributes * when no location exists yet (e.g. while creating a location). */ interface CategoryRegion { /** * Google category stable id, without the "categories/" prefix * (e.g. "gcid:restaurant"). * @minLength 1 * @maxLength 255 */ categoryId?: string; /** * ISO 3166-1 alpha-2 country code (e.g. "US") to look up available * attributes for. * @format COUNTRY */ regionCode?: string; } interface ListAttributeMetadataResponse { /** Attribute definitions available for this page. */ attributeMetadata?: AttributeMetadata[]; /** * Paging metadata. `cursors.next` is the token to specify for the next page, and * `hasNext` says whether there is one. */ pagingMetadata?: CursorPagingMetadata; } /** Metadata describing a single attribute definition available for a listing. */ interface AttributeMetadata { /** * Attribute key, such as `has_wifi`, without the `attributes/` prefix. Pass it * as `attributeId` when writing values with Update Location Attributes. * @maxLength 255 */ attributeId?: string; /** The value type callers should provide for this attribute. */ valueType?: AttributeValueTypeWithLiterals; /** * Localized display name for the attribute, or English if unavailable. * @maxLength 255 */ displayName?: string; /** * Localized display name of the group this attribute belongs to. Related * attributes share a group and should be displayed together. * @maxLength 255 */ groupDisplayName?: string; /** If true, the attribute supports multiple values. */ repeatable?: boolean; /** * For enum-typed attributes, the supported values and their display names. * @maxSize 200 */ valueMetadata?: AttributeValueMetadata[]; /** If true, the attribute is deprecated and should no longer be used. */ deprecated?: boolean; } /** The kind of value an attribute takes. */ declare enum AttributeValueType { /** A true/false attribute. */ BOOL = "BOOL", /** An attribute with a fixed set of single-select values. */ ENUM = "ENUM", /** A URL-valued attribute. */ URL = "URL", /** * An attribute with a fixed set of multi-select values. Matches Google's * AttributeValueType token spelling ("REPEATED_ENUM") so the value-type * mapping is a direct name lookup. */ REPEATED_ENUM = "REPEATED_ENUM" } /** @enumType */ type AttributeValueTypeWithLiterals = AttributeValueType | 'BOOL' | 'ENUM' | 'URL' | 'REPEATED_ENUM'; /** A single supported value for an attribute, with its display name. */ interface AttributeValueMetadata extends AttributeValueMetadataValueOneOf { /** * String/enum value token. * @maxLength 255 */ stringValue?: string; /** Boolean value. */ boolValue?: boolean; /** Numeric value. */ numberValue?: number; /** * Localized display name for this value, or English if unavailable (e.g. * "Paid" for a Wi-Fi attribute). * @maxLength 255 */ displayName?: string; } /** @oneof */ interface AttributeValueMetadataValueOneOf { /** * String/enum value token. * @maxLength 255 */ stringValue?: string; /** Boolean value. */ boolValue?: boolean; /** Numeric value. */ numberValue?: number; } interface ListCategoriesRequest { /** * ISO 3166-1 alpha-2 country code (e.g. "US") the catalog is scoped to. * Categories differ per country, so this is required. * @format COUNTRY */ regionCode: string; /** * Language to return the category display names in, as a BCP-47 code such as * `he` or `fr`. Required. * @minLength 1 * @maxLength 35 */ languageCode: string; /** * Term to match against the category display name. Pass a plain term rather * than a query expression. Leave it out to page through the whole catalog. * @maxLength 255 */ searchTerm?: string; /** How much of each category to return. Unset behaves as BASIC. */ view?: CategoryViewWithLiterals; /** * Cursor-based paging. `limit` maps to Google's page size (unset uses a * server default of 100, min 1, max 100); `cursor` is the `next` token * returned by a previous response (an opaque Google page token). */ paging?: CursorPaging; /** * Optional. Whose Google credentials to read the catalog with. This isn't a * filter: the catalog is the same for everyone, so it doesn't change which * categories come back. * * Send it when you already have a location, so the read counts against that * site owner's own Google quota. Leave it out before any location exists, for * example in a create-location flow. * @maxLength 255 */ locationId?: string; } /** * How much of each category ListCategories returns. Mirrors Google's * CategoryView. */ declare enum CategoryView { /** Id and display name only. The default, and all a category picker needs. */ BASIC = "BASIC", /** Adds the service types and more-hours types available for the category. */ FULL = "FULL" } /** @enumType */ type CategoryViewWithLiterals = CategoryView | 'BASIC' | 'FULL'; interface ListCategoriesResponse { /** Categories on this page, ordered as Google returned them. */ categories?: CategoryMetadata[]; /** * Paging metadata. `cursors.next` is the token to specify for the next page, and * `hasNext` says whether there is one. */ pagingMetadata?: CursorPagingMetadata; } /** * A category from Google's global catalog, as returned by ListCategories. * Distinct from Category (the write-side type on a location) because these * extra fields are catalog-only reference data and are never sent to Google. */ interface CategoryMetadata { /** * Google category resource name, e.g. "categories/gcid:restaurant". Assign * as-is to Category.id when creating or updating a location. * @maxLength 200 */ id?: string; /** * Display name in the requested language, or English if unavailable. * @maxLength 200 */ displayName?: string; /** * Service types offered by this category. Populated only when view = FULL. * @maxSize 200 */ serviceTypes?: ServiceType[]; /** * Additional hours types this category supports (e.g. "delivery", * "drive_through"). Populated only when view = FULL. * @maxSize 200 */ moreHoursTypes?: MoreHoursType[]; } /** A service a category's businesses can offer, e.g. "Haircut". */ interface ServiceType { /** * Google's stable id for the service type. * @maxLength 255 */ serviceTypeId?: string; /** * Display name in the requested language, or English if unavailable. * @maxLength 255 */ displayName?: string; } /** * A type of additional opening hours a category supports, beyond the regular * business hours (e.g. "drive_through", "senior_hours"). */ interface MoreHoursType { /** * Google's stable id for the hours type. * @maxLength 255 */ hoursTypeId?: string; /** * English display name, singular ("Drive through"). * @maxLength 255 */ displayName?: string; /** * Display name in the requested language, plural where the language * distinguishes it. Falls back to English when unavailable. * @maxLength 255 */ localizedDisplayName?: string; } interface GetVerificationOptionsRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * BCP-47 language code the option text should come back in, such as `he` or * `fr`. Google localizes what it returns for the merchant-facing option * (for example the ADDRESS option's expected recipient text). Leave it out * to get English. Optional. * @maxLength 35 */ languageCode?: string; } interface GetVerificationOptionsResponse { /** Verification methods available for this location. */ options?: VerificationOption[]; } /** * A verification method Google offers for a location, plus the * method-specific data Google returned for it. Mirrors the DisplayData * union of Google's mybusinessverifications VerificationOption. * Used as part of the GetVerificationOptions response. */ interface VerificationOption extends VerificationOptionDataOneOf { /** * Set only when `method` is PHONE_CALL or SMS. Phone number the PIN * will be sent to, as formatted by Google. * @maxLength 50 */ phoneNumber?: string; /** Set only when `method` is EMAIL. */ emailData?: EmailVerificationData; /** Set only when `method` is ADDRESS. */ addressData?: AddressVerificationData; /** Set only when `method` is OFFLINE_VIDEO. */ offlineVideoData?: OfflineVideoVerificationData; /** The verification method. */ method?: VerificationMethodWithLiterals; } /** @oneof */ interface VerificationOptionDataOneOf { /** * Set only when `method` is PHONE_CALL or SMS. Phone number the PIN * will be sent to, as formatted by Google. * @maxLength 50 */ phoneNumber?: string; /** Set only when `method` is EMAIL. */ emailData?: EmailVerificationData; /** Set only when `method` is ADDRESS. */ addressData?: AddressVerificationData; /** Set only when `method` is OFFLINE_VIDEO. */ offlineVideoData?: OfflineVideoVerificationData; } /** Verification methods supported by Google for a Business Profile location. */ declare enum VerificationMethod { /** Postcard to the business address */ ADDRESS = "ADDRESS", /** Email with a PIN */ EMAIL = "EMAIL", /** Automated phone call with a PIN */ PHONE_CALL = "PHONE_CALL", /** SMS with a PIN */ SMS = "SMS", /** Google-side instant verification (e.g. domain ownership) */ AUTO = "AUTO", /** Video recorded on Google's page at `offline_video_data.action_url` */ OFFLINE_VIDEO = "OFFLINE_VIDEO" } /** @enumType */ type VerificationMethodWithLiterals = VerificationMethod | 'ADDRESS' | 'EMAIL' | 'PHONE_CALL' | 'SMS' | 'AUTO' | 'OFFLINE_VIDEO'; /** Email destination Google will send the PIN to (EMAIL method). */ interface EmailVerificationData { /** * Domain part of the address, e.g. "gmail.com" in foo@gmail.com. * @maxLength 255 */ domain?: string; /** * User part of the address, e.g. "foo" in foo@gmail.com. Empty when Google * expects the merchant to supply it. * @maxLength 255 */ user?: string; /** * Whether the merchant may supply a different user name via * StartVerification.method_input. */ userNameEditable?: boolean; } /** Postcard destination Google will mail the PIN to (ADDRESS method). */ interface AddressVerificationData { /** * Merchant's business name as it will appear on the postcard. * @maxLength 255 */ business?: string; /** Address the postcard will be sent to. */ address?: PostalAddress; /** * Expected number of days it takes to deliver a postcard to the address's * region. Unset when Google doesn't provide an estimate. */ expectedDeliveryDaysRegion?: number | null; } /** Where the merchant records a verification video (OFFLINE_VIDEO method). */ interface OfflineVideoVerificationData { /** * Google Business Profile page where the merchant records and submits the * verification video. Open it for the merchant; there's no PIN to complete. * @format WEB_URL */ actionUrl?: string; } interface StartVerificationRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** Verification method chosen by the merchant. */ method: VerificationMethodWithLiterals; /** * Input the chosen method needs. Defaults come from the matching * GetVerificationOptions option: * - EMAIL: full address `user@domain`. May differ from `email_data` only * when `email_data.user_name_editable` is true. * - PHONE_CALL / SMS: the phone number; normally `phone_number` as returned. * - ADDRESS: recipient contact name printed on the postcard (optional). * @maxLength 255 */ methodInput?: string; } interface StartVerificationResponse { /** * Opaque ID for this verification. * * For a PIN-based method, pass this back to Complete Verification. * * It's also set for automatic verification, which has no PIN and no Complete * Verification step. So its presence doesn't tell you whether there's more to * do: branch on `verificationState` instead, where `VERIFIED` means the flow * is already finished. * @maxLength 255 */ pendingVerificationId?: string; /** Verification state after starting the process. */ verificationState?: VerificationStateWithLiterals; } /** Verification state of a Business Profile location. */ declare enum VerificationState { UNVERIFIED = "UNVERIFIED", PENDING_VERIFICATION = "PENDING_VERIFICATION", VERIFIED = "VERIFIED" } /** @enumType */ type VerificationStateWithLiterals = VerificationState | 'UNVERIFIED' | 'PENDING_VERIFICATION' | 'VERIFIED'; interface CompleteVerificationRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** * The PIN the site owner received by the method they chose. * @minLength 4 * @maxLength 8 */ pin: string; /** * The `pendingVerificationId` that Start Verification returned for this * verification. Store it between starting and completing, which can span * sessions. * @minLength 1 * @maxLength 255 */ pendingVerificationId: string; } interface CompleteVerificationResponse { /** Verification state after completing the process. */ verificationState?: VerificationStateWithLiterals; } interface GetVoiceOfMerchantRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; } interface GetVoiceOfMerchantResponse { /** The Voice-of-Merchant state as reported by Google. */ voiceOfMerchant?: VoiceOfMerchantState; } interface GetLocationInsightsRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** Time range for the insights query. */ timeRange: InsightsTimeRange; /** * Daily metrics to fetch. One InsightsMetric is returned per requested metric. * Bounded by the number of DailyMetric values. * @maxSize 11 */ metricTypes: DailyMetricWithLiterals[]; } /** * A Google Business Profile Performance daily metric. Values mirror Google's * `DailyMetric` enum 1:1 (same wire tokens), so each value maps directly to the * metric requested from / returned by the Performance API. */ declare enum DailyMetric { /** Business impressions on Google Maps from desktop devices. */ BUSINESS_IMPRESSIONS_DESKTOP_MAPS = "BUSINESS_IMPRESSIONS_DESKTOP_MAPS", /** Business impressions on Google Search from desktop devices. */ BUSINESS_IMPRESSIONS_DESKTOP_SEARCH = "BUSINESS_IMPRESSIONS_DESKTOP_SEARCH", /** Business impressions on Google Maps from mobile devices. */ BUSINESS_IMPRESSIONS_MOBILE_MAPS = "BUSINESS_IMPRESSIONS_MOBILE_MAPS", /** Business impressions on Google Search from mobile devices. */ BUSINESS_IMPRESSIONS_MOBILE_SEARCH = "BUSINESS_IMPRESSIONS_MOBILE_SEARCH", /** Message conversations received on the business profile. */ BUSINESS_CONVERSATIONS = "BUSINESS_CONVERSATIONS", /** Direction requests to the business location. */ BUSINESS_DIRECTION_REQUESTS = "BUSINESS_DIRECTION_REQUESTS", /** Clicks on the business profile call button. */ CALL_CLICKS = "CALL_CLICKS", /** Clicks on the business profile website link. */ WEBSITE_CLICKS = "WEBSITE_CLICKS", /** Bookings made via Reserve with Google. */ BUSINESS_BOOKINGS = "BUSINESS_BOOKINGS", /** Food orders received from the business profile. */ BUSINESS_FOOD_ORDERS = "BUSINESS_FOOD_ORDERS", /** Clicks on menu content shown on the business profile. */ BUSINESS_FOOD_MENU_CLICKS = "BUSINESS_FOOD_MENU_CLICKS" } /** @enumType */ type DailyMetricWithLiterals = DailyMetric | 'BUSINESS_IMPRESSIONS_DESKTOP_MAPS' | 'BUSINESS_IMPRESSIONS_DESKTOP_SEARCH' | 'BUSINESS_IMPRESSIONS_MOBILE_MAPS' | 'BUSINESS_IMPRESSIONS_MOBILE_SEARCH' | 'BUSINESS_CONVERSATIONS' | 'BUSINESS_DIRECTION_REQUESTS' | 'CALL_CLICKS' | 'WEBSITE_CLICKS' | 'BUSINESS_BOOKINGS' | 'BUSINESS_FOOD_ORDERS' | 'BUSINESS_FOOD_MENU_CLICKS'; interface GetLocationInsightsResponse { /** Performance metrics for the location over the requested time range. */ metrics?: InsightsMetric[]; } interface InsightsMetric { /** The metric this breakdown is for. */ metricType?: DailyMetricWithLiterals; /** Total value for the requested time range. */ totalValue?: string; /** * Daily breakdown of the metric. * @maxSize 366 */ dailyValues?: DailyMetricValue[]; } interface DailyMetricValue { /** Date for this data point. Truncated to UTC midnight. */ date?: Date | null; /** Value for this day. */ value?: string; } interface ListSearchKeywordImpressionsRequest { /** * Location ID. This is Google's location identifier. * @minLength 1 * @maxLength 255 */ locationId: string; /** Inclusive calendar-month range to query. */ monthlyRange: MonthlyRange; /** Cursor-based paging. Unset `limit` uses 100; Google's maximum is 100. */ paging?: CursorPaging; } /** Inclusive calendar-month range for search keyword impressions. */ interface MonthlyRange { /** First month to include. */ startMonth?: CalendarMonth; /** Last month to include. */ endMonth?: CalendarMonth; } /** A calendar month in Google's monthly performance reporting range. */ interface CalendarMonth { /** * Calendar year, from 1 through 9999. * @min 1 * @max 9999 */ year?: number; /** * Calendar month number, from January (1) through December (12). * @min 1 * @max 12 */ month?: number; } interface ListSearchKeywordImpressionsResponse { /** Search terms for this page in Google's order. */ keywordImpressions?: SearchKeywordImpression[]; /** Paging metadata. `cursors.next` is the token to specify for the next page. */ pagingMetadata?: CursorPagingMetadata; } /** A search term and the impressions Google reports for it. */ interface SearchKeywordImpression extends SearchKeywordImpressionImpressionsOneOf { /** Exact number of monthly impressions. */ value?: string; /** Privacy threshold below which the actual impression count falls. */ threshold?: string; /** * Search term entered by a Google user. May contain personally identifiable information. * @maxLength 4096 */ searchKeyword?: string; } /** @oneof */ interface SearchKeywordImpressionImpressionsOneOf { /** Exact number of monthly impressions. */ value?: string; /** Privacy threshold below which the actual impression count falls. */ threshold?: string; } interface InviteAdminToLocationRequest { /** * The email of the Google account to invite as a manager. PII. * @format EMAIL */ email: string | null; /** The role to assign to the invited account. */ role: RoleWithLiterals; /** * Location ID (Google's opaque location id) to invite the account to manage. * @maxLength 1024 */ locationId: string | null; } declare enum Role { UNKNOWN = "UNKNOWN", ADMIN_ROLE_UNSPECIFIED = "ADMIN_ROLE_UNSPECIFIED", /** Can manage the profile but not transfer or delete it. */ MANAGER = "MANAGER", /** Owner-level access to the profile. */ OWNER = "OWNER", /** The primary owner. A location has exactly one. */ PRIMARY_OWNER = "PRIMARY_OWNER", /** Legacy Google+ pages manager. Google no longer grants this. */ SITE_MANAGER = "SITE_MANAGER" } /** @enumType */ type RoleWithLiterals = Role | 'UNKNOWN' | 'ADMIN_ROLE_UNSPECIFIED' | 'MANAGER' | 'OWNER' | 'PRIMARY_OWNER' | 'SITE_MANAGER'; interface InviteAdminToLocationResponse { /** * Google's invite ID, returned for the consumer to track invitation state. * @maxLength 1024 * @readonly */ inviteId?: string | null; } interface GetLocationAdminsRequest { /** * Location ID (Google's opaque location id) to list admins for. * @maxLength 1024 */ locationId: string | null; } interface GetLocationAdminsResponse { /** * The accounts that manage this location, including any that have been * invited but haven't accepted yet. */ locationAdmins?: LocationAdmin[]; } /** * An account that manages a Google Business Profile location, or has been * invited to. * * Returned by Get Location Admins. Check `pendingInvitation` to tell an accepted * manager from an outstanding invitation, and `role` for the level of access. */ interface LocationAdmin { /** * Identifier of this admin record. * @format GUID * @readonly */ id?: string; /** * The Google location this admin record applies to. * @maxLength 1024 * @readonly */ googleLocationId?: string; /** * Email address or account name of the manager, or of the invited account. * @maxLength 1024 * @readonly */ name?: string | null; /** * Resource name of the Google Account this Admin refers to (e.g. * "accounts/12345"). * @maxLength 1024 * @readonly */ accountResourceName?: string; /** Role granted to this admin. */ role?: RoleWithLiterals; /** True if the admin has been invited but has not accepted yet. */ pendingInvitation?: boolean; } interface GetAddressSchemaByCountryCodeRequest { /** * ISO 3166-1 alpha-2 country code (e.g. "US", "UA", "KR"). * @format COUNTRY */ countryCode: string; /** * Optional BCP-47 locale (e.g. "fr", "en"). Selects the language variant for * administrative-area names and triggers Google's secondary-language dataset * for countries that publish one. Defaults to "en" when empty. * @maxLength 35 */ locale?: string; } interface GetAddressSchemaByCountryCodeResponse { /** The decoded address form schema for the requested country. */ schema?: AddressSchema; } /** * The per-country address form schema, decoded from the raw libaddressinput * record. Mirrors the fields a UI needs to render and validate an address form. */ interface AddressSchema { /** * Echo of the requested ISO 3166-1 alpha-2 country code. * @maxLength 16 */ countryCode?: string; /** * Address fields to render, in display order (decoded from the format string). * @maxSize 16 */ fields?: AddressFieldTypeWithLiterals[]; /** * Subset of `fields` that are mandatory (decoded from the require string). * @maxSize 16 */ requiredFields?: AddressFieldTypeWithLiterals[]; /** * Administrative areas (states / provinces / regions) for the country, in the * language selected by `locale` (Latin names preferred for Latin locales). * Empty for countries without a sub-region list. * @maxSize 200 * @maxLength 200 */ administrativeAreas?: string[]; /** * The raw libaddressinput format template (e.g. "%N%n%O%n%A%n%C, %S %Z"). * @maxLength 255 */ postalFormat?: string; /** * Languages the country's address data is available in (BCP-47 tags). * @maxSize 20 * @maxLength 35 */ languages?: string[]; /** * UI label type for the administrative area (e.g. "province", "state", "do"). * @maxLength 64 */ administrativeAreaType?: string; /** * UI label type for the locality (e.g. "city", "district"). * @maxLength 64 */ localityType?: string; /** * UI label type for the sub-locality / dependent locality. * @maxLength 64 */ subLocalityType?: string; /** * UI label type for the postal code (e.g. "postal", "zip", "pin"). * @maxLength 64 */ postalCodeType?: string; } /** * An address form field, decoded from Google's libaddressinput format string. * The comment after each value is the libaddressinput format-code letter it * corresponds to (e.g. "%N%n%O%n%A%n%C, %S %Z"). */ declare enum AddressFieldType { /** Code `N`. Recipient or contact name. */ NAME = "NAME", /** Code `O`. Organization or company. */ ORGANIZATION = "ORGANIZATION", /** Code `A`. Street address lines. */ STREET_ADDRESS = "STREET_ADDRESS", /** Code `D`. Dependent locality, such as a neighborhood or suburb. */ DEPENDENT_LOCALITY = "DEPENDENT_LOCALITY", /** Code `C`. Locality, such as a city or town. */ LOCALITY = "LOCALITY", /** Code `S`. Administrative area, such as a state, province, or region. */ ADMIN_AREA = "ADMIN_AREA", /** Code `Z`. Postal or ZIP code. */ POSTAL_CODE = "POSTAL_CODE", /** Code `X`. Sorting code, such as CEDEX in France. */ SORTING_CODE = "SORTING_CODE" } /** @enumType */ type AddressFieldTypeWithLiterals = AddressFieldType | 'NAME' | 'ORGANIZATION' | 'STREET_ADDRESS' | 'DEPENDENT_LOCALITY' | 'LOCALITY' | 'ADMIN_AREA' | 'POSTAL_CODE' | 'SORTING_CODE'; interface SuggestRegionsRequest { /** * Partial free-text the end-user is typing (e.g. "new y"). Sent per debounced * keystroke; Google returns region/city predictions matching this prefix. * Queries shorter than 3 chars return an empty list (handled server-side), * not an error. * @minLength 1 * @maxLength 200 */ query: string; /** * ISO 3166-1 alpha-2 country to restrict results to (e.g. "US"). * @format COUNTRY */ countryCode: string; /** * Optional BCP-47 language for the returned names (e.g. "fr"). Defaults to * Google's behavior (typically the account/region language) when empty. * @maxLength 35 */ languageCode?: string; } interface SuggestRegionsResponse { /** * Region/city predictions ranked by Google, best match first. * @maxSize 20 */ suggestions?: RegionSuggestion[]; } interface RegionSuggestion { /** * Google's opaque place identifier for the predicted region. * @maxLength 255 */ placeId?: string; /** * Full human-readable prediction text (e.g. "New York, NY, USA"). * @maxLength 512 */ description?: string; /** * Primary part of the prediction (e.g. "New York"), for bold styling. * @maxLength 512 */ mainText?: string; /** * Secondary part of the prediction (e.g. "NY, USA"), for muted styling. * @maxLength 512 */ secondaryText?: string; } interface SuggestEstablishmentsRequest { /** * Partial free-text the end-user is typing (e.g. "acme hard"). Sent per * debounced keystroke; Google returns business-name predictions matching * this prefix. Queries shorter than 3 chars return an empty list * (handled server-side), not an error. * @minLength 1 * @maxLength 200 */ query: string; /** * Optional ISO 3166-1 alpha-2 country to restrict results to (e.g. "US"). * Unlike SuggestRegions, business search is unrestricted when omitted. * @format COUNTRY */ countryCode?: string | null; /** * Optional BCP-47 language for the returned names (e.g. "fr"). Defaults to * Google's behavior (typically the account/region language) when empty. * @maxLength 35 */ languageCode?: string; } interface SuggestEstablishmentsResponse { /** * Business-name predictions ranked by Google, best match first. * @maxSize 20 */ suggestions?: EstablishmentSuggestion[]; } interface EstablishmentSuggestion { /** * Google's opaque place identifier for the predicted business. * @maxLength 255 */ placeId?: string; /** * Full human-readable prediction text (e.g. "Acme Hardware, Main St, NYC"). * @maxLength 512 */ description?: string; /** * Primary part of the prediction (e.g. "Acme Hardware"), for bold styling. * @maxLength 512 */ mainText?: string; /** * Secondary part of the prediction (e.g. "Main St, NYC"), for muted styling. * @maxLength 512 */ secondaryText?: string; } interface SearchGoogleLocationsRequest extends SearchGoogleLocationsRequestCriteriaOneOf { /** * Free-text search (business name, optionally with an address), e.g. * "Acme Hardware, Main St". Maps to googleLocations:search {query}. * @minLength 1 * @maxLength 200 */ query?: string; /** * Structured search built from data the merchant already entered. Maps to * googleLocations:search {location}. Only the fields Google matches on * (title, address) are meaningful; the rest are ignored for search. */ location?: GoogleLocation; } /** @oneof */ interface SearchGoogleLocationsRequestCriteriaOneOf { /** * Free-text search (business name, optionally with an address), e.g. * "Acme Hardware, Main St". Maps to googleLocations:search {query}. * @minLength 1 * @maxLength 200 */ query?: string; /** * Structured search built from data the merchant already entered. Maps to * googleLocations:search {location}. Only the fields Google matches on * (title, address) are meaningful; the rest are ignored for search. */ location?: GoogleLocation; } interface SearchGoogleLocationsResponse { /** * Catalog matches ranked by Google, best match first. Empty when nothing * matches. * @maxSize 20 */ matches?: GoogleLocationMatch[]; } interface GoogleLocationMatch { /** * The matched catalog location (Google resource name in `name`, plus title, * address, and any other fields Google returns on the match). */ location?: GoogleLocation; /** * Whether this listing can be claimed. Read it carefully: it describes the * catalog rather than the site owner. See Search Google Locations. */ status?: MatchStatusWithLiterals; } /** * Ownership status of a catalog match, derived from Google's * request-admin-rights signal. App-account-scoped (see SearchGoogleLocations): * it reflects whether the entry is claimed by *any* Google account, not by the * merchant. */ declare enum MatchStatus { /** The catalog entry is unclaimed and can be created/associated. */ CLAIMABLE = "CLAIMABLE", /** The catalog entry is already claimed by some Google account. */ OWNED_ELSEWHERE = "OWNED_ELSEWHERE" } /** @enumType */ type MatchStatusWithLiterals = MatchStatus | 'CLAIMABLE' | 'OWNED_ELSEWHERE'; interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** Event ID. With this ID you can easily spot duplicated events and ignore them. */ id?: string; /** * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. */ entityFqdn?: string; /** * Event action name, placed at the top level to make it easier for users to dispatch messages. * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number. * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; } interface EntityDeletedEvent { /** Entity that was deleted. */ deletedEntityAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface Empty { } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } /** @docsIgnore */ type CreateLocationApplicationErrors = { code?: 'CONNECTION_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'CONNECTION_ID_REQUIRED'; description?: string; data?: Record; }; /** @docsIgnore */ type CreateGoogleLocationApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; } | { code?: 'GOOGLE_LOCATION_VALIDATION_FAILED'; description?: string; data?: GoogleLocationValidationError; } | { code?: 'INVALID_LOCATION_PAYLOAD'; description?: string; data?: Record; } | { code?: 'LOCATION_DB_PERSIST_FAILED'; description?: string; data?: LocationDbPersistFailedError; } | { code?: 'CONNECTION_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'CONNECTION_ID_REQUIRED'; description?: string; data?: Record; }; /** @docsIgnore */ type DeleteGoogleLocationApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; } | { code?: 'LOCATION_DB_PERSIST_FAILED'; description?: string; data?: LocationDbPersistFailedError; } | { code?: 'LOCATION_NOT_DELETABLE_VIA_API'; description?: string; data?: LocationNotDeletableViaApiError; }; /** @docsIgnore */ type UpdateGoogleLocationApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; } | { code?: 'GOOGLE_LOCATION_VALIDATION_FAILED'; description?: string; data?: GoogleLocationValidationError; } | { code?: 'INVALID_UPDATE_MASK'; description?: string; data?: InvalidUpdateMaskError; } | { code?: 'SPECIAL_HOURS_CLOSURE_TOO_LONG'; description?: string; data?: SpecialHoursClosureTooLongError; }; /** @docsIgnore */ type BulkCreateLocationsApplicationErrors = { code?: 'CONNECTION_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'CONNECTION_ID_REQUIRED'; description?: string; data?: Record; }; /** @docsIgnore */ type ListGbpAccountsApplicationErrors = { code?: 'CONNECTION_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'CONNECTION_ID_REQUIRED'; description?: string; data?: Record; }; /** @docsIgnore */ type ListUnimportedLocationsApplicationErrors = { code?: 'CONNECTION_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'CONNECTION_ID_REQUIRED'; description?: string; data?: Record; }; /** @docsIgnore */ type GetNotificationSettingApplicationErrors = { code?: 'CONNECTION_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'CONNECTION_ID_REQUIRED'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type UpdateNotificationSettingApplicationErrors = { code?: 'CONNECTION_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'CONNECTION_ID_REQUIRED'; description?: string; data?: Record; } | { code?: 'INVALID_NOTIFICATION_TYPE'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type ListReviewsApplicationErrors = { code?: 'REVIEWS_LOCATION_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type PutReviewReplyApplicationErrors = { code?: 'REVIEW_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type DeleteReviewReplyApplicationErrors = { code?: 'REVIEW_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type ListMediaApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type CreateMediaApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type DeleteMediaApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type CreateLocalPostApplicationErrors = { code?: 'LOCAL_POST_INVALID_FOR_TOPIC'; description?: string; data?: LocalPostFieldError; } | { code?: 'INVALID_LOCAL_POST_REQUEST'; description?: string; data?: LocalPostFieldError; } | { code?: 'GOOGLE_LOCATION_VALIDATION_FAILED'; description?: string; data?: GoogleLocationValidationError; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type ListLocalPostsApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type GetLocalPostApplicationErrors = { code?: 'LOCAL_POST_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type UpdateLocalPostApplicationErrors = { code?: 'INVALID_UPDATE_MASK'; description?: string; data?: InvalidUpdateMaskError; } | { code?: 'INVALID_LOCAL_POST_REQUEST'; description?: string; data?: LocalPostFieldError; } | { code?: 'LOCAL_POST_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'GOOGLE_LOCATION_VALIDATION_FAILED'; description?: string; data?: GoogleLocationValidationError; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type DeleteLocalPostApplicationErrors = { code?: 'LOCAL_POST_NOT_FOUND'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type ReportLocalPostInsightsApplicationErrors = { code?: 'LOCAL_POST_INSIGHTS_UNAVAILABLE'; description?: string; data?: Record; }; /** @docsIgnore */ type UpdateLocationFoodMenusApplicationErrors = { code?: 'FOOD_MENUS_FETCH_LIMIT_EXCEEDED'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type UpdateLocationAttributesApplicationErrors = { code?: 'INVALID_VALUE_JSON'; description?: string; data?: InvalidValueJsonError; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type GetLocationAttributesApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type GetLocationLodgingApplicationErrors = { code?: 'LODGING_NOT_OPERABLE'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type UpdateLocationLodgingApplicationErrors = { code?: 'INVALID_UPDATE_MASK'; description?: string; data?: InvalidUpdateMaskError; } | { code?: 'LODGING_NOT_OPERABLE'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type ListAttributeMetadataApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type ListCategoriesApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type GetVerificationOptionsApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; } | { code?: 'INVALID_VERIFICATION_ADDRESS'; description?: string; data?: Record; }; /** @docsIgnore */ type StartVerificationApplicationErrors = { code?: 'UNSUPPORTED_VERIFICATION_METHOD'; description?: string; data?: Record; } | { code?: 'AUTO_VERIFICATION_NOT_ELIGIBLE'; description?: string; data?: Record; }; /** @docsIgnore */ type CompleteVerificationApplicationErrors = { code?: 'VERIFICATION_EXPIRED'; description?: string; data?: Record; } | { code?: 'VERIFICATION_PIN_INVALID'; description?: string; data?: Record; } | { code?: 'VERIFICATION_PIN_EXPIRED'; description?: string; data?: Record; } | { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type ListSearchKeywordImpressionsApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type GetAddressSchemaByCountryCodeApplicationErrors = { code?: 'ADDRESS_DATA_FETCH_FAILED'; description?: string; data?: Record; }; /** @docsIgnore */ type SuggestRegionsApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type SuggestEstablishmentsApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; /** @docsIgnore */ type SearchGoogleLocationsApplicationErrors = { code?: 'GOOGLE_API_CALL_FAILED'; description?: string; data?: GoogleApiCallFailedError; }; type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function getGbpLocation(): __PublicMethodMetaInfo<'GET', { locationId: string; }, GetGBPLocationRequest$1, GetGBPLocationRequest, GetGBPLocationResponse$1, GetGBPLocationResponse>; declare function queryGbpLocations(): __PublicMethodMetaInfo<'GET', {}, QueryGBPLocationsRequest$1, QueryGBPLocationsRequest, QueryGBPLocationsResponse$1, QueryGBPLocationsResponse>; declare function queryGoogleLocations(): __PublicMethodMetaInfo<'GET', {}, QueryGoogleLocationsRequest$1, QueryGoogleLocationsRequest, QueryGoogleLocationsResponse$1, QueryGoogleLocationsResponse>; declare function getGoogleLocation(): __PublicMethodMetaInfo<'GET', { locationId: string; }, GetGoogleLocationRequest$1, GetGoogleLocationRequest, GetGoogleLocationResponse$1, GetGoogleLocationResponse>; declare function createLocation(): __PublicMethodMetaInfo<'POST', {}, CreateLocationRequest$1, CreateLocationRequest, CreateLocationResponse$1, CreateLocationResponse>; declare function updateLocation(): __PublicMethodMetaInfo<'PATCH', { locationId: string; }, UpdateLocationRequest$1, UpdateLocationRequest, UpdateLocationResponse$1, UpdateLocationResponse>; declare function deleteLocation(): __PublicMethodMetaInfo<'DELETE', { locationId: string; }, DeleteLocationRequest$1, DeleteLocationRequest, DeleteLocationResponse$1, DeleteLocationResponse>; declare function createGoogleLocation(): __PublicMethodMetaInfo<'POST', {}, CreateGoogleLocationRequest$1, CreateGoogleLocationRequest, CreateGoogleLocationResponse$1, CreateGoogleLocationResponse>; declare function deleteGoogleLocation(): __PublicMethodMetaInfo<'DELETE', { locationId: string; }, DeleteGoogleLocationRequest$1, DeleteGoogleLocationRequest, DeleteGoogleLocationResponse$1, DeleteGoogleLocationResponse>; declare function updateGoogleLocation(): __PublicMethodMetaInfo<'PATCH', { locationId: string; }, UpdateGoogleLocationRequest$1, UpdateGoogleLocationRequest, UpdateGoogleLocationResponse$1, UpdateGoogleLocationResponse>; declare function bulkCreateLocations(): __PublicMethodMetaInfo<'POST', {}, BulkCreateLocationsRequest$1, BulkCreateLocationsRequest, BulkCreateLocationsResponse$1, BulkCreateLocationsResponse>; declare function bulkDeleteLocations(): __PublicMethodMetaInfo<'POST', {}, BulkDeleteLocationsRequest$1, BulkDeleteLocationsRequest, BulkDeleteLocationsResponse$1, BulkDeleteLocationsResponse>; declare function listGbpAccounts(): __PublicMethodMetaInfo<'GET', {}, ListGbpAccountsRequest$1, ListGbpAccountsRequest, ListGbpAccountsResponse$1, ListGbpAccountsResponse>; declare function listUnimportedLocations(): __PublicMethodMetaInfo<'GET', { accountId: string; }, ListUnimportedLocationsRequest$1, ListUnimportedLocationsRequest, ListUnimportedLocationsResponse$1, ListUnimportedLocationsResponse>; declare function getNotificationSetting(): __PublicMethodMetaInfo<'GET', { accountId: string; }, GetNotificationSettingRequest$1, GetNotificationSettingRequest, GetNotificationSettingResponse$1, GetNotificationSettingResponse>; declare function updateNotificationSetting(): __PublicMethodMetaInfo<'PATCH', { notificationSettingAccountId: string; }, UpdateNotificationSettingRequest$1, UpdateNotificationSettingRequest, UpdateNotificationSettingResponse$1, UpdateNotificationSettingResponse>; declare function listReviews(): __PublicMethodMetaInfo<'GET', { locationId: string; }, ListReviewsRequest$1, ListReviewsRequest, ListReviewsResponse$1, ListReviewsResponse>; declare function putReviewReply(): __PublicMethodMetaInfo<'PUT', { locationId: string; reviewId: string; }, PutReviewReplyRequest$1, PutReviewReplyRequest, PutReviewReplyResponse$1, PutReviewReplyResponse>; declare function deleteReviewReply(): __PublicMethodMetaInfo<'DELETE', { locationId: string; reviewId: string; }, DeleteReviewReplyRequest$1, DeleteReviewReplyRequest, DeleteReviewReplyResponse$1, DeleteReviewReplyResponse>; declare function listMedia(): __PublicMethodMetaInfo<'GET', { locationId: string; }, ListMediaRequest$1, ListMediaRequest, ListMediaResponse$1, ListMediaResponse>; declare function createMedia(): __PublicMethodMetaInfo<'POST', { locationId: string; }, CreateMediaRequest$1, CreateMediaRequest, CreateMediaResponse$1, CreateMediaResponse>; declare function deleteMedia(): __PublicMethodMetaInfo<'DELETE', { locationId: string; mediaKey: string; }, DeleteMediaRequest$1, DeleteMediaRequest, DeleteMediaResponse$1, DeleteMediaResponse>; declare function createLocalPost(): __PublicMethodMetaInfo<'POST', { locationId: string; }, CreateLocalPostRequest$1, CreateLocalPostRequest, CreateLocalPostResponse$1, CreateLocalPostResponse>; declare function listLocalPosts(): __PublicMethodMetaInfo<'GET', { locationId: string; }, ListLocalPostsRequest$1, ListLocalPostsRequest, ListLocalPostsResponse$1, ListLocalPostsResponse>; declare function getLocalPost(): __PublicMethodMetaInfo<'GET', { locationId: string; localPostId: string; }, GetLocalPostRequest$1, GetLocalPostRequest, GetLocalPostResponse$1, GetLocalPostResponse>; declare function updateLocalPost(): __PublicMethodMetaInfo<'PATCH', { locationId: string; localPostId: string; }, UpdateLocalPostRequest$1, UpdateLocalPostRequest, UpdateLocalPostResponse$1, UpdateLocalPostResponse>; declare function deleteLocalPost(): __PublicMethodMetaInfo<'DELETE', { locationId: string; localPostId: string; }, DeleteLocalPostRequest$1, DeleteLocalPostRequest, DeleteLocalPostResponse$1, DeleteLocalPostResponse>; declare function reportLocalPostInsights(): __PublicMethodMetaInfo<'POST', { locationId: string; }, ReportLocalPostInsightsRequest$1, ReportLocalPostInsightsRequest, ReportLocalPostInsightsResponse$1, ReportLocalPostInsightsResponse>; declare function updateLocationFoodMenus(): __PublicMethodMetaInfo<'PATCH', { locationId: string; }, UpdateLocationFoodMenusRequest$1, UpdateLocationFoodMenusRequest, UpdateLocationFoodMenusResponse$1, UpdateLocationFoodMenusResponse>; declare function updateLocationAttributes(): __PublicMethodMetaInfo<'PATCH', { locationId: string; }, UpdateLocationAttributesRequest$1, UpdateLocationAttributesRequest, UpdateLocationAttributesResponse$1, UpdateLocationAttributesResponse>; declare function getLocationAttributes(): __PublicMethodMetaInfo<'GET', { locationId: string; }, GetLocationAttributesRequest$1, GetLocationAttributesRequest, GetLocationAttributesResponse$1, GetLocationAttributesResponse>; declare function getLocationLodging(): __PublicMethodMetaInfo<'GET', { locationId: string; }, GetLocationLodgingRequest$1, GetLocationLodgingRequest, GetLocationLodgingResponse$1, GetLocationLodgingResponse>; declare function updateLocationLodging(): __PublicMethodMetaInfo<'PATCH', { locationId: string; }, UpdateLocationLodgingRequest$1, UpdateLocationLodgingRequest, UpdateLocationLodgingResponse$1, UpdateLocationLodgingResponse>; declare function listAttributeMetadata(): __PublicMethodMetaInfo<'GET', {}, ListAttributeMetadataRequest$1, ListAttributeMetadataRequest, ListAttributeMetadataResponse$1, ListAttributeMetadataResponse>; declare function listCategories(): __PublicMethodMetaInfo<'GET', {}, ListCategoriesRequest$1, ListCategoriesRequest, ListCategoriesResponse$1, ListCategoriesResponse>; declare function getVerificationOptions(): __PublicMethodMetaInfo<'POST', { locationId: string; }, GetVerificationOptionsRequest$1, GetVerificationOptionsRequest, GetVerificationOptionsResponse$1, GetVerificationOptionsResponse>; declare function startVerification(): __PublicMethodMetaInfo<'POST', { locationId: string; }, StartVerificationRequest$1, StartVerificationRequest, StartVerificationResponse$1, StartVerificationResponse>; declare function completeVerification(): __PublicMethodMetaInfo<'POST', { locationId: string; }, CompleteVerificationRequest$1, CompleteVerificationRequest, CompleteVerificationResponse$1, CompleteVerificationResponse>; declare function getVoiceOfMerchant(): __PublicMethodMetaInfo<'GET', { locationId: string; }, GetVoiceOfMerchantRequest$1, GetVoiceOfMerchantRequest, GetVoiceOfMerchantResponse$1, GetVoiceOfMerchantResponse>; declare function getLocationInsights(): __PublicMethodMetaInfo<'GET', { locationId: string; }, GetLocationInsightsRequest$1, GetLocationInsightsRequest, GetLocationInsightsResponse$1, GetLocationInsightsResponse>; declare function listSearchKeywordImpressions(): __PublicMethodMetaInfo<'GET', { locationId: string; }, ListSearchKeywordImpressionsRequest$1, ListSearchKeywordImpressionsRequest, ListSearchKeywordImpressionsResponse$1, ListSearchKeywordImpressionsResponse>; declare function inviteAdminToLocation(): __PublicMethodMetaInfo<'POST', { locationId: string; }, InviteAdminToLocationRequest$1, InviteAdminToLocationRequest, InviteAdminToLocationResponse$1, InviteAdminToLocationResponse>; declare function getLocationAdmins(): __PublicMethodMetaInfo<'GET', { locationId: string; }, GetLocationAdminsRequest$1, GetLocationAdminsRequest, GetLocationAdminsResponse$1, GetLocationAdminsResponse>; declare function getAddressSchemaByCountryCode(): __PublicMethodMetaInfo<'GET', { countryCode: string; }, GetAddressSchemaByCountryCodeRequest$1, GetAddressSchemaByCountryCodeRequest, GetAddressSchemaByCountryCodeResponse$1, GetAddressSchemaByCountryCodeResponse>; declare function suggestRegions(): __PublicMethodMetaInfo<'POST', {}, SuggestRegionsRequest$1, SuggestRegionsRequest, SuggestRegionsResponse$1, SuggestRegionsResponse>; declare function suggestEstablishments(): __PublicMethodMetaInfo<'POST', {}, SuggestEstablishmentsRequest$1, SuggestEstablishmentsRequest, SuggestEstablishmentsResponse$1, SuggestEstablishmentsResponse>; declare function searchGoogleLocations(): __PublicMethodMetaInfo<'POST', {}, SearchGoogleLocationsRequest$1, SearchGoogleLocationsRequest, SearchGoogleLocationsResponse$1, SearchGoogleLocationsResponse>; export { type Accessibility as AccessibilityOriginal, type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionType as ActionTypeOriginal, type ActionTypeWithLiterals as ActionTypeWithLiteralsOriginal, type Activities as ActivitiesOriginal, AddressFieldType as AddressFieldTypeOriginal, type AddressFieldTypeWithLiterals as AddressFieldTypeWithLiteralsOriginal, type AddressSchema as AddressSchemaOriginal, type AddressVerificationData as AddressVerificationDataOriginal, AmenityException as AmenityExceptionOriginal, type AmenityExceptionWithLiterals as AmenityExceptionWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AttributeMetadata as AttributeMetadataOriginal, type AttributeValueMetadata as AttributeValueMetadataOriginal, type AttributeValueMetadataValueOneOf as AttributeValueMetadataValueOneOfOriginal, AttributeValueType as AttributeValueTypeOriginal, type AttributeValueTypeWithLiterals as AttributeValueTypeWithLiteralsOriginal, BreeamCertification as BreeamCertificationOriginal, type BreeamCertificationWithLiterals as BreeamCertificationWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateLocationResult as BulkCreateLocationResultOriginal, type BulkCreateLocationsApplicationErrors as BulkCreateLocationsApplicationErrorsOriginal, type BulkCreateLocationsRequest as BulkCreateLocationsRequestOriginal, type BulkCreateLocationsResponse as BulkCreateLocationsResponseOriginal, type BulkDeleteLocationResult as BulkDeleteLocationResultOriginal, type BulkDeleteLocationsRequest as BulkDeleteLocationsRequestOriginal, type BulkDeleteLocationsResponse as BulkDeleteLocationsResponseOriginal, type BusinessHours as BusinessHoursOriginal, type Business as BusinessOriginal, BusinessType as BusinessTypeOriginal, type BusinessTypeWithLiterals as BusinessTypeWithLiteralsOriginal, type CalendarMonth as CalendarMonthOriginal, type CallToAction as CallToActionOriginal, type CategoryMetadata as CategoryMetadataOriginal, type Category as CategoryOriginal, type CategoryRegion as CategoryRegionOriginal, CategoryView as CategoryViewOriginal, type CategoryViewWithLiterals as CategoryViewWithLiteralsOriginal, type CompleteVerificationApplicationErrors as CompleteVerificationApplicationErrorsOriginal, type CompleteVerificationRequest as CompleteVerificationRequestOriginal, type CompleteVerificationResponse as CompleteVerificationResponseOriginal, type Connectivity as ConnectivityOriginal, type CreateGoogleLocationApplicationErrors as CreateGoogleLocationApplicationErrorsOriginal, type CreateGoogleLocationRequest as CreateGoogleLocationRequestOriginal, type CreateGoogleLocationResponse as CreateGoogleLocationResponseOriginal, type CreateLocalPostApplicationErrors as CreateLocalPostApplicationErrorsOriginal, type CreateLocalPostRequest as CreateLocalPostRequestOriginal, type CreateLocalPostResponse as CreateLocalPostResponseOriginal, type CreateLocationApplicationErrors as CreateLocationApplicationErrorsOriginal, type CreateLocationRequest as CreateLocationRequestOriginal, type CreateLocationResponse as CreateLocationResponseOriginal, type CreateMediaApplicationErrors as CreateMediaApplicationErrorsOriginal, type CreateMediaRequest as CreateMediaRequestOriginal, type CreateMediaResponse as CreateMediaResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, DailyMetric as DailyMetricOriginal, type DailyMetricValue as DailyMetricValueOriginal, type DailyMetricWithLiterals as DailyMetricWithLiteralsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteGoogleLocationApplicationErrors as DeleteGoogleLocationApplicationErrorsOriginal, type DeleteGoogleLocationRequest as DeleteGoogleLocationRequestOriginal, type DeleteGoogleLocationResponse as DeleteGoogleLocationResponseOriginal, type DeleteLocalPostApplicationErrors as DeleteLocalPostApplicationErrorsOriginal, type DeleteLocalPostRequest as DeleteLocalPostRequestOriginal, type DeleteLocalPostResponse as DeleteLocalPostResponseOriginal, type DeleteLocationRequest as DeleteLocationRequestOriginal, type DeleteLocationResponse as DeleteLocationResponseOriginal, type DeleteMediaApplicationErrors as DeleteMediaApplicationErrorsOriginal, type DeleteMediaRequest as DeleteMediaRequestOriginal, type DeleteMediaResponse as DeleteMediaResponseOriginal, type DeleteReviewReplyApplicationErrors as DeleteReviewReplyApplicationErrorsOriginal, type DeleteReviewReplyRequest as DeleteReviewReplyRequestOriginal, type DeleteReviewReplyResponse as DeleteReviewReplyResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, EcoCertificate as EcoCertificateOriginal, type EcoCertificateWithLiterals as EcoCertificateWithLiteralsOriginal, type EcoCertification as EcoCertificationOriginal, type EmailVerificationData as EmailVerificationDataOriginal, type Empty as EmptyOriginal, type EnergyEfficiency as EnergyEfficiencyOriginal, type EnhancedCleaning as EnhancedCleaningOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EstablishmentSuggestion as EstablishmentSuggestionOriginal, type Families as FamiliesOriginal, type FieldViolation as FieldViolationOriginal, type FoodAndDrink as FoodAndDrinkOriginal, type FoodMenuResult as FoodMenuResultOriginal, type GBPLocation as GBPLocationOriginal, type GbpAccount as GbpAccountOriginal, type GetAddressSchemaByCountryCodeApplicationErrors as GetAddressSchemaByCountryCodeApplicationErrorsOriginal, type GetAddressSchemaByCountryCodeRequest as GetAddressSchemaByCountryCodeRequestOriginal, type GetAddressSchemaByCountryCodeResponse as GetAddressSchemaByCountryCodeResponseOriginal, type GetGBPLocationRequest as GetGBPLocationRequestOriginal, type GetGBPLocationResponse as GetGBPLocationResponseOriginal, type GetGoogleLocationRequest as GetGoogleLocationRequestOriginal, type GetGoogleLocationResponse as GetGoogleLocationResponseOriginal, type GetLocalPostApplicationErrors as GetLocalPostApplicationErrorsOriginal, type GetLocalPostRequest as GetLocalPostRequestOriginal, type GetLocalPostResponse as GetLocalPostResponseOriginal, type GetLocationAdminsRequest as GetLocationAdminsRequestOriginal, type GetLocationAdminsResponse as GetLocationAdminsResponseOriginal, type GetLocationAttributesApplicationErrors as GetLocationAttributesApplicationErrorsOriginal, type GetLocationAttributesRequest as GetLocationAttributesRequestOriginal, type GetLocationAttributesResponse as GetLocationAttributesResponseOriginal, type GetLocationInsightsRequest as GetLocationInsightsRequestOriginal, type GetLocationInsightsResponse as GetLocationInsightsResponseOriginal, type GetLocationLodgingApplicationErrors as GetLocationLodgingApplicationErrorsOriginal, type GetLocationLodgingRequest as GetLocationLodgingRequestOriginal, type GetLocationLodgingResponse as GetLocationLodgingResponseOriginal, type GetNotificationSettingApplicationErrors as GetNotificationSettingApplicationErrorsOriginal, type GetNotificationSettingRequest as GetNotificationSettingRequestOriginal, type GetNotificationSettingResponse as GetNotificationSettingResponseOriginal, type GetVerificationOptionsApplicationErrors as GetVerificationOptionsApplicationErrorsOriginal, type GetVerificationOptionsRequest as GetVerificationOptionsRequestOriginal, type GetVerificationOptionsResponse as GetVerificationOptionsResponseOriginal, type GetVoiceOfMerchantRequest as GetVoiceOfMerchantRequestOriginal, type GetVoiceOfMerchantResponse as GetVoiceOfMerchantResponseOriginal, type GoogleApiCallFailedError as GoogleApiCallFailedErrorOriginal, type GoogleLocationMatch as GoogleLocationMatchOriginal, type GoogleLocation as GoogleLocationOriginal, type GoogleLocationValidationError as GoogleLocationValidationErrorOriginal, type GuestUnitFeatures as GuestUnitFeaturesOriginal, type GuestUnitType as GuestUnitTypeOriginal, type HealthAndSafety as HealthAndSafetyOriginal, type Housekeeping as HousekeepingOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IncreasedFoodSafety as IncreasedFoodSafetyOriginal, type InsightsMetric as InsightsMetricOriginal, type InsightsTimeRange as InsightsTimeRangeOriginal, type InvalidUpdateMaskError as InvalidUpdateMaskErrorOriginal, type InvalidValueJsonError as InvalidValueJsonErrorOriginal, type InviteAdminToLocationRequest as InviteAdminToLocationRequestOriginal, type InviteAdminToLocationResponse as InviteAdminToLocationResponseOriginal, type ItemMetadata as ItemMetadataOriginal, type LanguageSpoken as LanguageSpokenOriginal, type LatLng as LatLngOriginal, LeedCertification as LeedCertificationOriginal, type LeedCertificationWithLiterals as LeedCertificationWithLiteralsOriginal, type ListAttributeMetadataApplicationErrors as ListAttributeMetadataApplicationErrorsOriginal, type ListAttributeMetadataRequestLookupOneOf as ListAttributeMetadataRequestLookupOneOfOriginal, type ListAttributeMetadataRequest as ListAttributeMetadataRequestOriginal, type ListAttributeMetadataResponse as ListAttributeMetadataResponseOriginal, type ListCategoriesApplicationErrors as ListCategoriesApplicationErrorsOriginal, type ListCategoriesRequest as ListCategoriesRequestOriginal, type ListCategoriesResponse as ListCategoriesResponseOriginal, type ListGbpAccountsApplicationErrors as ListGbpAccountsApplicationErrorsOriginal, type ListGbpAccountsRequest as ListGbpAccountsRequestOriginal, type ListGbpAccountsResponse as ListGbpAccountsResponseOriginal, type ListLocalPostsApplicationErrors as ListLocalPostsApplicationErrorsOriginal, type ListLocalPostsRequest as ListLocalPostsRequestOriginal, type ListLocalPostsResponse as ListLocalPostsResponseOriginal, type ListMediaApplicationErrors as ListMediaApplicationErrorsOriginal, type ListMediaRequest as ListMediaRequestOriginal, type ListMediaResponse as ListMediaResponseOriginal, type ListReviewsApplicationErrors as ListReviewsApplicationErrorsOriginal, type ListReviewsRequest as ListReviewsRequestOriginal, type ListReviewsResponse as ListReviewsResponseOriginal, type ListSearchKeywordImpressionsApplicationErrors as ListSearchKeywordImpressionsApplicationErrorsOriginal, type ListSearchKeywordImpressionsRequest as ListSearchKeywordImpressionsRequestOriginal, type ListSearchKeywordImpressionsResponse as ListSearchKeywordImpressionsResponseOriginal, type ListUnimportedLocationsApplicationErrors as ListUnimportedLocationsApplicationErrorsOriginal, type ListUnimportedLocationsRequest as ListUnimportedLocationsRequestOriginal, type ListUnimportedLocationsResponse as ListUnimportedLocationsResponseOriginal, type LivingAreaAccessibility as LivingAreaAccessibilityOriginal, type LivingAreaEating as LivingAreaEatingOriginal, type LivingAreaFeatures as LivingAreaFeaturesOriginal, type LivingAreaLayout as LivingAreaLayoutOriginal, type LivingArea as LivingAreaOriginal, type LivingAreaSleeping as LivingAreaSleepingOriginal, type LocalPostDate as LocalPostDateOriginal, type LocalPostEvent as LocalPostEventOriginal, type LocalPostFieldError as LocalPostFieldErrorOriginal, type LocalPostInsights as LocalPostInsightsOriginal, type LocalPostMedia as LocalPostMediaOriginal, LocalPostMetric as LocalPostMetricOriginal, type LocalPostMetricValue as LocalPostMetricValueOriginal, type LocalPostMetricWithLiterals as LocalPostMetricWithLiteralsOriginal, type LocalPostOffer as LocalPostOfferOriginal, type LocalPost as LocalPostOriginal, type LocalPostSchedule as LocalPostScheduleOriginal, LocalPostState as LocalPostStateOriginal, type LocalPostStateWithLiterals as LocalPostStateWithLiteralsOriginal, type LocalPostTimeOfDay as LocalPostTimeOfDayOriginal, LocalPostTopicType as LocalPostTopicTypeOriginal, type LocalPostTopicTypeWithLiterals as LocalPostTopicTypeWithLiteralsOriginal, type LocationAdmin as LocationAdminOriginal, type LocationAttribute as LocationAttributeOriginal, type LocationDbPersistFailedError as LocationDbPersistFailedErrorOriginal, type LocationNotDeletableViaApiError as LocationNotDeletableViaApiErrorOriginal, type LocationWithGoogleGoogleResultOneOf as LocationWithGoogleGoogleResultOneOfOriginal, type LocationWithGoogle as LocationWithGoogleOriginal, type LocationWithGoogleVoiceOfMerchantResultOneOf as LocationWithGoogleVoiceOfMerchantResultOneOfOriginal, type LodgingMetadata as LodgingMetadataOriginal, type Lodging as LodgingOriginal, type LodgingTimeOfDay as LodgingTimeOfDayOriginal, MatchStatus as MatchStatusOriginal, type MatchStatusWithLiterals as MatchStatusWithLiteralsOriginal, MediaCategory as MediaCategoryOriginal, type MediaCategoryWithLiterals as MediaCategoryWithLiteralsOriginal, MediaFormat as MediaFormatOriginal, type MediaFormatWithLiterals as MediaFormatWithLiteralsOriginal, type MediaItemAttribution as MediaItemAttributionOriginal, type MediaItem as MediaItemOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Metadata as MetadataOriginal, type MinimizedContact as MinimizedContactOriginal, type MonthlyRange as MonthlyRangeOriginal, type MoreHoursType as MoreHoursTypeOriginal, type NotificationSetting as NotificationSettingOriginal, NotificationType as NotificationTypeOriginal, type NotificationTypeWithLiterals as NotificationTypeWithLiteralsOriginal, type OfflineVideoVerificationData as OfflineVideoVerificationDataOriginal, type OpenInfo as OpenInfoOriginal, type Parking as ParkingOriginal, type PaymentOptions as PaymentOptionsOriginal, type PersonalProtection as PersonalProtectionOriginal, type Pets as PetsOriginal, type PhysicalDistancing as PhysicalDistancingOriginal, type PlaceInfo as PlaceInfoOriginal, type Policies as PoliciesOriginal, type Pools as PoolsOriginal, type PostalAddress as PostalAddressOriginal, type Profile as ProfileOriginal, type Property as PropertyOriginal, type PutReviewReplyApplicationErrors as PutReviewReplyApplicationErrorsOriginal, type PutReviewReplyRequest as PutReviewReplyRequestOriginal, type PutReviewReplyResponse as PutReviewReplyResponseOriginal, type QueryGBPLocationsRequest as QueryGBPLocationsRequestOriginal, type QueryGBPLocationsResponse as QueryGBPLocationsResponseOriginal, type QueryGoogleLocationsRequest as QueryGoogleLocationsRequestOriginal, type QueryGoogleLocationsResponse as QueryGoogleLocationsResponseOriginal, RecommendationReason as RecommendationReasonOriginal, type RecommendationReasonWithLiterals as RecommendationReasonWithLiteralsOriginal, type RegionSuggestion as RegionSuggestionOriginal, type ReportLocalPostInsightsApplicationErrors as ReportLocalPostInsightsApplicationErrorsOriginal, type ReportLocalPostInsightsRequest as ReportLocalPostInsightsRequestOriginal, type ReportLocalPostInsightsResponse as ReportLocalPostInsightsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ReviewMetrics as ReviewMetricsOriginal, type Review as ReviewOriginal, type ReviewReply as ReviewReplyOriginal, ReviewSortOrder as ReviewSortOrderOriginal, type ReviewSortOrderWithLiterals as ReviewSortOrderWithLiteralsOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SearchGoogleLocationsApplicationErrors as SearchGoogleLocationsApplicationErrorsOriginal, type SearchGoogleLocationsRequestCriteriaOneOf as SearchGoogleLocationsRequestCriteriaOneOfOriginal, type SearchGoogleLocationsRequest as SearchGoogleLocationsRequestOriginal, type SearchGoogleLocationsResponse as SearchGoogleLocationsResponseOriginal, type SearchKeywordImpressionImpressionsOneOf as SearchKeywordImpressionImpressionsOneOfOriginal, type SearchKeywordImpression as SearchKeywordImpressionOriginal, type ServiceArea as ServiceAreaOriginal, type ServiceType as ServiceTypeOriginal, type Services as ServicesOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type SpecialHoursClosureTooLongError as SpecialHoursClosureTooLongErrorOriginal, type StartVerificationApplicationErrors as StartVerificationApplicationErrorsOriginal, type StartVerificationRequest as StartVerificationRequestOriginal, type StartVerificationResponse as StartVerificationResponseOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SuggestEstablishmentsApplicationErrors as SuggestEstablishmentsApplicationErrorsOriginal, type SuggestEstablishmentsRequest as SuggestEstablishmentsRequestOriginal, type SuggestEstablishmentsResponse as SuggestEstablishmentsResponseOriginal, type SuggestRegionsApplicationErrors as SuggestRegionsApplicationErrorsOriginal, type SuggestRegionsRequest as SuggestRegionsRequestOriginal, type SuggestRegionsResponse as SuggestRegionsResponseOriginal, type SustainabilityCertifications as SustainabilityCertificationsOriginal, type Sustainability as SustainabilityOriginal, type SustainableSourcing as SustainableSourcingOriginal, type TimeOfDay as TimeOfDayOriginal, type Transportation as TransportationOriginal, type UnimportedLocation as UnimportedLocationOriginal, UnitTier as UnitTierOriginal, type UnitTierWithLiterals as UnitTierWithLiteralsOriginal, type UpdateGoogleLocationApplicationErrors as UpdateGoogleLocationApplicationErrorsOriginal, type UpdateGoogleLocationRequest as UpdateGoogleLocationRequestOriginal, type UpdateGoogleLocationResponse as UpdateGoogleLocationResponseOriginal, type UpdateLocalPostApplicationErrors as UpdateLocalPostApplicationErrorsOriginal, type UpdateLocalPostRequest as UpdateLocalPostRequestOriginal, type UpdateLocalPostResponse as UpdateLocalPostResponseOriginal, type UpdateLocationAttributesApplicationErrors as UpdateLocationAttributesApplicationErrorsOriginal, type UpdateLocationAttributesRequest as UpdateLocationAttributesRequestOriginal, type UpdateLocationAttributesResponse as UpdateLocationAttributesResponseOriginal, type UpdateLocationFoodMenusApplicationErrors as UpdateLocationFoodMenusApplicationErrorsOriginal, type UpdateLocationFoodMenusRequest as UpdateLocationFoodMenusRequestOriginal, type UpdateLocationFoodMenusResponse as UpdateLocationFoodMenusResponseOriginal, type UpdateLocationLodgingApplicationErrors as UpdateLocationLodgingApplicationErrorsOriginal, type UpdateLocationLodgingRequest as UpdateLocationLodgingRequestOriginal, type UpdateLocationLodgingResponse as UpdateLocationLodgingResponseOriginal, type UpdateLocationRequest as UpdateLocationRequestOriginal, type UpdateLocationResponse as UpdateLocationResponseOriginal, type UpdateNotificationSettingApplicationErrors as UpdateNotificationSettingApplicationErrorsOriginal, type UpdateNotificationSettingRequest as UpdateNotificationSettingRequestOriginal, type UpdateNotificationSettingResponse as UpdateNotificationSettingResponseOriginal, VerificationMethod as VerificationMethodOriginal, type VerificationMethodWithLiterals as VerificationMethodWithLiteralsOriginal, type VerificationOptionDataOneOf as VerificationOptionDataOneOfOriginal, type VerificationOption as VerificationOptionOriginal, VerificationState as VerificationStateOriginal, type VerificationStateWithLiterals as VerificationStateWithLiteralsOriginal, type ViewsFromUnit as ViewsFromUnitOriginal, type Violation as ViolationOriginal, type VoiceOfMerchantState as VoiceOfMerchantStateOriginal, type WasteReduction as WasteReductionOriginal, type WaterConservation as WaterConservationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type Wellness as WellnessOriginal, type _Date as _DateOriginal, type __PublicMethodMetaInfo, bulkCreateLocations, bulkDeleteLocations, completeVerification, createGoogleLocation, createLocalPost, createLocation, createMedia, deleteGoogleLocation, deleteLocalPost, deleteLocation, deleteMedia, deleteReviewReply, getAddressSchemaByCountryCode, getGbpLocation, getGoogleLocation, getLocalPost, getLocationAdmins, getLocationAttributes, getLocationInsights, getLocationLodging, getNotificationSetting, getVerificationOptions, getVoiceOfMerchant, inviteAdminToLocation, listAttributeMetadata, listCategories, listGbpAccounts, listLocalPosts, listMedia, listReviews, listSearchKeywordImpressions, listUnimportedLocations, putReviewReply, queryGbpLocations, queryGoogleLocations, reportLocalPostInsights, searchGoogleLocations, startVerification, suggestEstablishments, suggestRegions, updateGoogleLocation, updateLocalPost, updateLocation, updateLocationAttributes, updateLocationFoodMenus, updateLocationLodging, updateNotificationSetting };