All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xtranet-booking-sdk-java.30.3.1.source-code.openapi-spec.json Maven / Gradle / Ivy

There is a newer version: 30.5.2
Show newest version
{"openapi":"3.0.1","info":{"title":"Wink API","description":" # Introduction\n Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel inventory on the Wink platform. The API gives you all the tools you need to ready your properties and inventory for sale across 1000s of our native sales channels.\n Integrators, affiliates, travel agents and content creators have the ability search for your travel inventory and promote / sell it in a wide variety of ways.\n\n # Integrations\n We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API.\n\n # Intended Audience\n Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel inventory and get that same inventory out to as many eyeballs as possible at the lowest price possible.\n - Hotel chains\n - Hotel brands\n - Travel tech companies\n - Destination sites\n - Integrators\n - Aggregators\n - Destination management companies\n - Travel agencies\n - OTAs\n\n ## APIs\n Not every integrator needs every API. For that reason, we have separated APIs into context.\n\n### Test API\n\n - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink.\n\n### Common APIs\n\n- [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account.\n- [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink.\n\n### Consume APIs\nConsume endpoints are for developers who want to find existing travel inventory and either book it or use it to advertise through one of their Wink affiliate accounts.\n\n - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine.\n - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags.\n - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API..\n - [Booking](/booking): All APIs related to creating bookings on the platform.\n - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings.\n\n ### Produce APIs\n Produce endpoints are for developers who want to create and manage travel inventory.\n\n #### Property\n - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink.\n - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties.\n - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types.\n - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities.\n - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink.\n - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink.\n - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level.\n\n #### Affiliate\n - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts.\n - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and inventory to sell.\n - [Inventory](/affiliate/inventory): The Inventory API exposes endpoints for affiliates to manage the inventory they want to sell and how they want to sell it.\n - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones.\n - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page.\n\n #### Rate provider\n - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties.\n\n ### Taxonomy APIs\n Taxonomy endpoints are for developers who want to consume and produce travel inventory and need taxonomies of standard and non-standard codes for inventory types, classes, statuses etc.\n\n - [Reference](/reference): All APIs related to retrieving platform-supported taxonomies.\n\n ### Insight APIs\n Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers.\n\n - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics.\n\n ### Payment APIs\n Payment endpoints are for developers who want to purchase travel inventory. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant payment widget for all other entities.\n\n - [TripPay](/payment): All APIs related to TripPay account management, booking, mapping and integration features.\n\n ## SDKs\n We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators).\n\n - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java)\n\n ## Usage\n These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic.\n\n ## Versioning\n We chose to version our endpoints in a way that we hope affects your integration minimally. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints.\n\n ## Release history\n - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md\n\n\n# Extranet Booking API\nThe Booking API exposes endpoints to manage bookings. This API lets you:\n\n1. Booking: Manage bookings including cancellations.\n2. Review: Manage user reviews.\n3. Sync w. Calendar: Manage calendar sync with your favorite calendar software\n\nBrowse the endpoints in the left navigation bar to get started.\n\n","contact":{"name":"Bjorn Harvold","email":"[email protected]"},"version":"30.3.1","x-logo":{"backgroundColor":"#FFFFFF","altText":"wink","url":"https://res.cloudinary.com/traveliko/image/upload/c_scale,h_129/v1653285543/wink/logo_text_white.svg"}},"externalDocs":{"description":"Extranet Documentation","url":"https://wink.travel/docs/extranet/"},"servers":[{"url":"https://api.wink.travel","description":"Endpoint"}],"tags":[{"name":"Review","description":"Travelers can leave reviews after a booking has taken place. Properties can see these reviews and also respond to them."},{"name":"Calendar Sync","description":"The CalDav API let's you link your favorite calendar software with bookings on Wink."},{"name":"Booking","description":"Retrieve bookings and manage cancellations at the property-level."}],"paths":{"/api/property/{propertyIdentifier}/review/{reviewIdentifier}":{"get":{"tags":["Review"],"summary":"Show Review","description":"Retrieve a unique review of a hotel identified by its identifier","operationId":"showReview","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show review given to hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"reviewIdentifier","in":"path","description":"Show review for this identifier","required":true,"schema":{"type":"string"},"example":"review-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewView_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/review/count":{"get":{"tags":["Review"],"summary":"Show Review Count","description":"Retrieve a count of all reviews for a hotel identified by its identifier","operationId":"showReviewCount","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show review count for hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountResponse_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/caldav/auth":{"get":{"tags":["Calendar Sync"],"summary":"Show CalDAV Connection","description":"Retrieve the CalDAV connection for your property","operationId":"retrieveCalDavAuth","parameters":[{"name":"propertyIdentifier","in":"path","description":"Generate CalDAV auth for this specified property","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalDavResponse_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/caldav/auth/regen":{"get":{"tags":["Calendar Sync"],"summary":"Create CalDAV connection","description":"Generates new CalDav passkey the property can use to authenticate the CalDAV url.","operationId":"generateCalDavAuth","parameters":[{"name":"propertyIdentifier","in":"path","description":"Regenrate CalDAV auth for this specified property","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalDavResponse_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/{bookingIdentifier}":{"get":{"tags":["Booking"],"summary":"Show Booking","description":"Retrieve a single booking specific by its identifier.","operationId":"showHotelBooking","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show booking owned by this hotel","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"bookingIdentifier","in":"path","description":"Show booking with this identifier","required":true,"schema":{"type":"string"},"example":"booking-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingView_SupplierDetails"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/{bookingIdentifier}/cancellable":{"get":{"tags":["Booking"],"summary":"Is Booking Cancellable","description":"Checks to see whether this booking (or group booking) can be cancelled by either the traveler or the hotel.","operationId":"isBookingCancellable","parameters":[{"name":"propertyIdentifier","in":"path","description":"Check if booking can be cancelled for hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"bookingIdentifier","in":"path","description":"Check if booking can be cancelled with this identifier","required":true,"schema":{"type":"string"},"example":"booking-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingCancellable_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/roomrate/list":{"get":{"tags":["Booking"],"summary":"Show Active Master Rates","description":"Return a geoname list of unique master rates that have been booked. This is helpful data you can use to filter on within your dataset.","operationId":"showActiveMasterRates","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show booked master rates for this property identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KeyValuePair_Supplier"}}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/owner/list":{"get":{"tags":["Booking"],"summary":"Show Active Affiliates","description":"Return a geo-name list of unique affiliates that have brought the property bookings. This is helpful data you can use to filter on within your dataset.","operationId":"showActiveAffiliates","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show active affiliates for hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/KeyValuePair_Supplier"}}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/overview":{"get":{"tags":["Booking"],"summary":"Property Booking Overview","description":"Basic booking overview data","operationId":"showBookingOverview","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show booking owned by this hotel","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupedBookingSalesMetrics_SupplierDetails"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/list":{"get":{"tags":["Booking"],"summary":"Show Bookings","description":"Retrieve bookings for hotel with simple filter rules.","operationId":"showHotelBookings_1","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show bookings for hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"state","in":"query","description":"Filter on the booking state","required":false,"schema":{"type":"string","enum":["PAST","PRESENT","FUTURE","CANCELLED","CANCELLED_BY_GUEST","CANCELLED_BY_HOTEL","CANCELLED_BY_ENGINE","ACTIVE"]},"example":"ACTIVE"},{"name":"pageNumber","in":"query","description":"Paginate booking list","required":false,"schema":{"minimum":0,"type":"integer","format":"int32","default":0},"example":0},{"name":"maxResults","in":"query","description":"Limit number of records to return","required":false,"schema":{"maximum":100,"type":"integer","format":"int32","default":30},"example":20},{"name":"search","in":"query","description":"Filter on email, first or last name to further narrow down the result set","required":false,"schema":{"type":"string"},"example":"Smith"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}},{"name":"Accept","in":"header","schema":{"type":"string","enum":["application/json"]}}],"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageBookingView_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/cal/property/{propertyIdentifier}/booking/list":{"get":{"tags":["Calendar Sync"],"summary":"CalDAV calendar","description":"This is the CalDAV URL you can add to your calendar program.","operationId":"caldav","parameters":[{"name":"propertyIdentifier","in":"path","description":"Retrieve booking list in CalDAV for this specified property","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}}],"responses":{"503":{"description":"Service Unavailable","content":{"*/*":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"405":{"description":"Method Not Allowed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"object"}}},"application/xml":{"schema":{"type":"object","additionalProperties":{"type":"object"}}},"text/xml":{"schema":{"type":"object","additionalProperties":{"type":"object"}}},"text/plain":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/review/grid":{"post":{"tags":["Review"],"summary":"Show Reviews","description":"Retrieve a paginated list of reviews for specified property","operationId":"showReviews","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show reviews for hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/State_Supplier"}}},"required":true},"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageReviewView_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/grid":{"post":{"tags":["Booking"],"summary":"Search Bookings","description":"Retrieve page of bookings for a specific hotel with advanced filtering rules.","operationId":"showHotelBookings","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show bookings for hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/State_Supplier"}}},"required":true},"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageBookingView_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/analytics":{"post":{"tags":["Booking"],"summary":"Property Booking Analytics","description":"Basic booking analytics data","operationId":"showBookingAnalytics","parameters":[{"name":"propertyIdentifier","in":"path","description":"Show active booking count for hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}}],"requestBody":{"description":"Overview request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingOverviewRequest_Supplier"}}},"required":true},"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingAnalytics_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/review/{reviewIdentifier}/response":{"patch":{"tags":["Review"],"summary":"Respond to Review","description":"Respond to a unique review for a hotel identified by its identifier","operationId":"respondToReview","parameters":[{"name":"propertyIdentifier","in":"path","description":"Respond to review given hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"reviewIdentifier","in":"path","description":"Respond to review with this identifier","required":true,"schema":{"type":"string"},"example":"review-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewResponse_Supplier"}}},"required":true},"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewView_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/{bookingIdentifier}/resend":{"patch":{"tags":["Booking"],"summary":"Resend Booking Confirmation","description":"Resends booking confirmation email to traveler.","operationId":"resendBookingConfirmationEmail","parameters":[{"name":"propertyIdentifier","in":"path","description":"Booking owner","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"bookingIdentifier","in":"path","description":"Booking identifier","required":true,"schema":{"type":"string"},"example":"booking-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}}],"requestBody":{"description":"Empty request body","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyRequestBody_Supplier"}}},"required":true},"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BooleanResponse_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/{bookingIdentifier}/request-refund":{"patch":{"tags":["Booking"],"summary":"Request refund","description":"Under certain circumstances, a property can request a partial refund of the funds that were attributed to them even after a cancellation occurred or the while the funds have not been disbursed yet.","operationId":"requestRefund","parameters":[{"name":"propertyIdentifier","in":"path","description":"Cancel booking for hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"bookingIdentifier","in":"path","description":"Cancel booking with this identifier","required":true,"schema":{"type":"string"},"example":"booking-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyBookingRefundRequest_Supplier"}}},"required":true},"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingView_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}},"/api/property/{propertyIdentifier}/booking/{bookingIdentifier}/cancel":{"patch":{"tags":["Booking"],"summary":"Cancel Booking","description":"Booking is cancelled by the property.","operationId":"cancelHotelBooking","parameters":[{"name":"propertyIdentifier","in":"path","description":"Cancel booking for hotel with this identifier","required":true,"schema":{"type":"string"},"example":"hotel-1"},{"name":"bookingIdentifier","in":"path","description":"Cancel booking with this identifier","required":true,"schema":{"type":"string"},"example":"booking-1"},{"name":"Wink-Version","in":"header","schema":{"type":"string","enum":["2.0"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancellationDetail_Supplier"}}},"required":true},"responses":{"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"application/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/xml":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}},"text/plain":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GenericErrorMessage"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"application/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/xml":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"text/plain":{"schema":{"oneOf":[{"type":"object","additionalProperties":{"type":"object"}},{"$ref":"#/components/schemas/GenericErrorMessage"}]}},"*/*":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingView_Supplier"}}}}},"security":[{"oauth2ClientCredentials":[]}]}}},"components":{"schemas":{"GenericErrorMessage":{"type":"object","properties":{"timestamp":{"type":"string","xml":{"attribute":true}},"status":{"type":"integer","format":"int32","xml":{"attribute":true}},"error":{"type":"string"},"message":{"type":"string"},"path":{"type":"string"}},"description":"Generic error message","xml":{"name":"ErrorMessage"}},"AggregateDescriptor_Supplier":{"type":"object","properties":{"field":{"type":"string","description":"Field to run aggregate function on","example":"hotel.bookings"},"aggregate":{"type":"string","description":"Aggregate function","example":"count","enum":["count","sum","average","min","max"]}},"description":"Primitive aggregate data points"},"CompositeFilterDescriptor_Supplier":{"type":"object","properties":{"logic":{"type":"string","description":"Whether to filter inclusively or exclusively","example":"and","enum":["and","or"]},"filters":{"type":"array","description":"Descriptors used for filtering the result set","items":{"$ref":"#/components/schemas/FilterDescriptor_Supplier"}}},"description":"Descriptors used for filtering result set"},"FilterDescriptor_Supplier":{"required":["field","operator","value"],"type":"object","properties":{"field":{"type":"string","description":"Field name to filter on","example":"hotel.name"},"operator":{"type":"string","description":"Filter operator to use on field","example":"startsWith","enum":["neq","eq","contains","doesnotcontain","isnull","isnotnull","isempty","isnotempty","startswith","endswith","gte","lte","gt","lt","in","nin"]},"value":{"type":"object","description":"Value to filter dataset against","example":"Happy Res"},"ignoreCase":{"type":"boolean","description":"Make filter comparison case insensitive. Default: Case sensitive ","example":true}},"description":"Descriptors used for filtering the result set"},"GroupDescriptor_Supplier":{"type":"object","properties":{"field":{"type":"string","description":"Field to group data set on","example":"createdDate"},"dir":{"type":"string","description":"Group sort direction","example":"asc","enum":["asc","desc"]},"aggregates":{"type":"array","description":"Primitive aggregate data points","items":{"$ref":"#/components/schemas/AggregateDescriptor_Supplier"}}},"description":"Descriptors to group result sets by."},"SortDescriptor_Supplier":{"type":"object","properties":{"dir":{"type":"string","description":"Descriptors used for sorting result set","example":"asc","enum":["asc","desc"]},"field":{"type":"string","description":"Data set field to sort on","example":"hotel.name"}},"description":"Descriptors used for sorting result set."},"State_Supplier":{"type":"object","properties":{"skip":{"minimum":0,"type":"integer","description":"Number of records to be skipped by the pager.","format":"int32","example":0,"default":0},"take":{"maximum":180,"minimum":1,"type":"integer","description":"Number of records to take.","format":"int32","example":10,"default":30},"sort":{"type":"array","description":"Descriptors used for sorting result set.","items":{"$ref":"#/components/schemas/SortDescriptor_Supplier"}},"filter":{"$ref":"#/components/schemas/CompositeFilterDescriptor_Supplier"},"group":{"type":"array","description":"Descriptors to group result sets by.","items":{"$ref":"#/components/schemas/GroupDescriptor_Supplier"}}}},"PageReviewView_Supplier":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ReviewView_Supplier"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"first":{"type":"boolean"},"last":{"type":"boolean"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject_Supplier"},"empty":{"type":"boolean"}}},"PageableObject_Supplier":{"type":"object","properties":{"offset":{"type":"integer","format":"int64"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"paged":{"type":"boolean"},"pageNumber":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"unpaged":{"type":"boolean"}}},"ReviewAnswer_Supplier":{"required":["category","questionIdentifier","sort","value"],"type":"object","properties":{"questionIdentifier":{"type":"string","description":"Question identifier","format":"uuid"},"category":{"type":"string","description":"Question category","enum":["COMFORT","CONDITION","SERVICE","ENVIRONMENT","FACILITIES","LOCATION","LIFESTYLE","VALUE","FOOD","ROOM"]},"sort":{"type":"integer","description":"Sort key","format":"int32"},"value":{"type":"integer","description":"Value","format":"int32"}}},"ReviewUser_Supplier":{"type":"object","properties":{"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"firstName":{"type":"string","description":"First name","example":"John"},"lastName":{"type":"string","description":"Last name","example":"Smith"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"telephone":{"type":"string","description":"Telephone","example":"0123456789"},"fullName":{"type":"string","description":"Full name","example":"0123456789"}},"description":"User details of creator of booking."},"ReviewView_Supplier":{"required":["review"],"type":"object","properties":{"id":{"type":"string","description":"Document UUID","example":"doc-1"},"createdDate":{"type":"string","description":"Datetime this record was first created","format":"date-time"},"lastUpdate":{"type":"string","description":"Datetime this record was last updated","format":"date-time"},"version":{"type":"integer","description":"Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.","format":"int64","example":12},"review":{"$ref":"#/components/schemas/Review_Supplier"}}},"Review_Supplier":{"type":"object","properties":{"identifier":{"type":"string","description":"Unique review identifier identifying this record.","format":"uuid"},"bookingIdentifier":{"type":"string","description":"Booking identifier identifier booking this review is associated with.","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Hotel identifier this booking is associated with.","format":"uuid"},"user":{"$ref":"#/components/schemas/ReviewUser_Supplier"},"reviewDate":{"type":"string","description":"Date of review.","format":"date-time"},"averageScore":{"type":"number","description":"Total points divided by number of questions.","format":"double","example":8.7},"answers":{"type":"array","description":"List of user review answers.","items":{"$ref":"#/components/schemas/ReviewAnswer_Supplier"}},"messageFromGuest":{"type":"string","description":"Private message from guest to the hotel. Is not displayed on property profile.","example":"Dear GM, I would like to say thank you so much for taking the time to show my husband and I around the premises and the secret cave behind the property."},"responseFromHotel":{"type":"string","description":"Property can response to traveler review. Response goes on public review profile and can be seen by others.","example":"It was so great to have you at our hotel. Please recommend your friends and come again soon."},"imageIdentifier":{"type":"string","description":"Reviewer can upload her best picture from the property. Cloudinary image identifier.","example":"cloudinary-image-1"},"text":{"type":"string","description":"Free text record created by traveler","example":"Our stay was amazing! Can recommend highly to all. Felt like home."},"approvedText":{"type":"boolean","description":"Hotel allows the review text to be displayed as part of their profile.","example":true},"approvedImage":{"type":"boolean","description":"Hotel allows the user-generated image to be displayed as part of their profile.","example":false},"likes":{"type":"array","description":"List of member identifiers who liked the textual review","format":"uuid","example":"user-1","items":{"type":"string"}},"roomNumber":{"type":"string","description":"Guest's room number during their stay.","example":"501"},"roomRating":{"type":"integer","description":"Guest's room rating","format":"int32","example":7},"responded":{"type":"boolean","description":"Returns true if property has responded to the review given by the guest.","example":false,"default":false}}},"SortObject":{"type":"object","properties":{"direction":{"type":"string"},"nullHandling":{"type":"string"},"ascending":{"type":"boolean"},"property":{"type":"string"},"ignoreCase":{"type":"boolean"}}},"Address_Supplier":{"required":["address1","city"],"type":"object","properties":{"address1":{"type":"string","description":"Address line 1","example":"234 Near da beach"},"address2":{"type":"string","description":"Address line 2","example":"Pebble #5001"},"state":{"type":"string","description":"State","example":"CA"},"postalCode":{"type":"string","description":"Postal / zip code","example":"90210"},"county":{"type":"string","description":"County","example":"Alameda county"},"city":{"$ref":"#/components/schemas/GeoName_Supplier"},"valid":{"type":"boolean","description":"Whether this address is considered valid by the system or not","readOnly":true,"example":true},"fullAddress":{"type":"string","description":"Address 1, Address 2, City, State, Postal / Zip code, Country","readOnly":true,"example":"11 At home, Suite 3C, New York City, NY 10010, United States"}},"description":"Address information"},"AuthenticatedUser_Supplier":{"required":["email","firstName","lastName"],"type":"object","properties":{"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"firstName":{"type":"string","description":"First name","example":"John"},"lastName":{"type":"string","description":"Last name","example":"Smith"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"fullName":{"type":"string","description":"Full name","readOnly":true,"example":"John Smith"}},"description":"The authenticated user ID that made the payment request","example":"user-1"},"Bed_Supplier":{"required":["bedTypeCode","quantity"],"type":"object","properties":{"bedTypeCode":{"type":"string","description":"Indicates the type of bed(s) found in the room. Typical values would be Double, Twin, Queen, or King. Supported OTA specification `BED` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).","example":"1"},"quantity":{"minimum":1,"type":"integer","description":"Number of beds for this bed type.","format":"int32","example":10}}},"BedroomConfiguration_Supplier":{"required":["bedroomList","identifier","name"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique identifier","format":"uuid"},"name":{"type":"string","description":"Name of layout"},"bedroomList":{"type":"array","description":"A room type can have more than one bedroom configuration.","items":{"$ref":"#/components/schemas/Bedroom_Supplier"}}},"description":"Desired bedroom layout"},"Bedroom_Supplier":{"required":["bedList","type"],"type":"object","properties":{"type":{"type":"string","description":"Type of bedroom","enum":["MASTER","QUEEN","JUNIOR","DORMITORY","BEDROOM_1","BEDROOM_2","BEDROOM_3","BEDROOM_4","BEDROOM_5","BEDROOM_6","BEDROOM_7","BEDROOM_8","BEDROOM_9","BEDROOM_10"]},"bedList":{"type":"array","description":"A bedroom can have more than one bed type.","items":{"$ref":"#/components/schemas/Bed_Supplier"}}}},"BeneficiaryCharge_Supplier":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of charge","enum":["PERCENTAGE","REMAINDER"]},"percent":{"type":"number","description":"A percentage of the total stay amount for an early checkin or late checkout"}},"description":"A variable charge can be a fixed amount or a percentage."},"Beneficiary_Supplier":{"required":["accountEmail","accountIdentifier","accountName","captureAmount","captureAmountRefundModifier","captureCurrency","displayAmount","displayAmountRefundModifier","displayCurrency","internalAmount","internalAmountRefundModifier","internalCurrency","netCaptureAmount","netDisplayAmount","netInternalAmount","netSourceAmount","netSupplierAmount","sourceAmount","sourceAmountRefundModifier","sourceCurrency","supplierAmount","supplierAmountRefundModifier","supplierCurrency","type"],"type":"object","properties":{"accountIdentifier":{"type":"string","description":"accountIdentifier of beneficiary that can map to an account with us","example":"account-1"},"accountName":{"type":"string","description":"accountName of beneficiary that can map to an account with us","example":"Account 1"},"accountEmail":{"type":"string","description":"accountEmail of beneficiary that can map to an account with us","example":"[email protected]"},"accountUrl":{"type":"string","description":"accountUrl of beneficiary that can map to an account with us","example":"https://some.url"},"type":{"type":"string","description":"The type of beneficiary payment.","enum":["COMMISSION","PLATFORM_FEE","TRIP_PAY","SALE"]},"amountDue":{"$ref":"#/components/schemas/BeneficiaryCharge_Supplier"},"sourceCurrency":{"type":"string","description":"The source currency","example":"USD"},"displayCurrency":{"type":"string","description":"The display currency","example":"USD"},"supplierCurrency":{"type":"string","description":"The supplier currency","example":"USD"},"internalCurrency":{"type":"string","description":"The internal currency","example":"USD"},"captureCurrency":{"type":"string","description":"The capture currency","example":"USD"},"sourceAmount":{"minimum":0,"type":"number","description":"Amount in source currency","example":50},"displayAmount":{"minimum":0,"type":"number","description":"Amount in display currency","example":50},"supplierAmount":{"minimum":0,"type":"number","description":"Amount in supplier currency","example":50},"internalAmount":{"minimum":0,"type":"number","description":"Amount in internal currency","example":50},"captureAmount":{"minimum":0,"type":"number","description":"Amount in capture currency","example":50},"sourceAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original source amount after a refund occurred","example":5},"displayAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original display amount after a refund occurred","example":5},"supplierAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original supplier amount after a refund occurred","example":5},"internalAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original internal amount after a refund occurred","example":5},"captureAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original capture amount after a refund occurred","example":5},"pendingRefunds":{"type":"array","items":{"$ref":"#/components/schemas/PendingRefund_Supplier"}},"netSourceAmount":{"minimum":0,"type":"number","description":"Source amount minus source modifier."},"netDisplayAmount":{"minimum":0,"type":"number","description":"Display amount minus display modifier."},"netSupplierAmount":{"minimum":0,"type":"number","description":"Supplier amount minus supplier modifier."},"netInternalAmount":{"minimum":0,"type":"number","description":"Internal amount minus internal modifier."},"netCaptureAmount":{"minimum":0,"type":"number","description":"Capture amount minus capture modifier."},"metadata":{"type":"object","additionalProperties":{"type":"string","description":"Place to add more data related to the beneficiary."},"description":"Place to add more data related to the beneficiary."}},"description":"Beneficiary is a registered account with rights to compensation within a booking."},"BookingAncillary_Supplier":{"required":["address","attendees","commission","commissionable","contact","endDate","hotelIdentifier","identifier","imageIdentifier","imageUrl","localizedDescription","localizedName","mandatory","name","price","pricingType","startDate","transactionalTravelInventoryIdentifier","type","typeIdentifier"],"type":"object","properties":{"identifier":{"type":"string","description":"Ancillary identifier","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Hotel identifier","format":"uuid"},"typeIdentifier":{"type":"string","description":"Travel inventory identifier","format":"uuid"},"transactionalTravelInventoryIdentifier":{"type":"string","description":"Travel inventory identifier","format":"uuid"},"name":{"type":"string","description":"Name of inventory","example":"Place 1"},"pricingType":{"type":"string","description":"Pricing type","example":"PER_USE","enum":["PER_STAY","PER_DAY","PER_NIGHT","PER_USE","PER_HOUR","PER_PERSON","PER_PERSON_PER_NIGHT","PER_PERSON_PER_HOUR","PER_ADULT","PER_ADULT_PER_NIGHT","PER_ADULT_PER_HOUR","PER_CHILD","PER_CHILD_PER_NIGHT","PER_CHILD_PER_HOUR"]},"type":{"type":"string","description":"Inventory type","example":"PLACE","enum":["ROOM_TYPE_ANCILLARY","ADD_ON","MEETING_ROOM","SPA","RESTAURANT","ACTIVITY","ATTRACTION","PLACE"]},"price":{"$ref":"#/components/schemas/LocalizedPrice_Supplier"},"startDate":{"type":"string","description":"Date start time when reservation was made for.","format":"date-time"},"endDate":{"type":"string","description":"Date end time when reservation was made for.","format":"date-time"},"attendees":{"type":"integer","description":"Number of guests that are part of this reservation.","format":"int32","example":2,"default":1},"imageIdentifier":{"type":"string","description":"Cloudinary image identifier","example":"cloudinary-image-1"},"imageUrl":{"type":"string","description":"Absolute URL to image of inventory","example":"https://path.to.image.com/this-is-me.jpg"},"localizedName":{"type":"string","description":"Name of travel inventory in traveler language (if available). Defaults to English.","example":"Plass 1"},"localizedDescription":{"type":"string","description":"Description of travel inventory in traveler language (if available). Defaults to English.","example":"place-1"},"contact":{"$ref":"#/components/schemas/Contact_Supplier"},"address":{"$ref":"#/components/schemas/Address_Supplier"},"commissionable":{"type":"boolean"},"mandatory":{"type":"boolean"},"commission":{"type":"number","format":"float"}},"description":"Add-on records."},"BookingContractItem_Supplier":{"required":["beneficiaryList","captureAmount","captureCurrency","descriptionInEnglish","displayAmount","displayCurrency","internalAmount","internalCurrency","itinerary","nameInEnglish","netCaptureAmount","netDisplayAmount","netInternalAmount","netSourceAmount","netSupplierAmount","payable","pricingType","sourceAmount","sourceCurrency","supplierAmount","supplierCurrency","supplierItemBookingCode","type","user"],"type":"object","properties":{"supplierItemBookingCode":{"type":"string","description":"Booking code identifying the supplier line item.","example":"TP-ASDFG1234"},"user":{"$ref":"#/components/schemas/GuestUser_Supplier"},"nameInEnglish":{"type":"string","description":"Name of item in English included in booking.","example":"Deluxe King"},"descriptionInEnglish":{"type":"string","description":"Short description in English of item included in booking.","example":"This is the best deluxe king that money can buy."},"itinerary":{"$ref":"#/components/schemas/SimpleDateTimeItinerary_Supplier"},"pricingType":{"type":"string","description":"How to calculate the total amount.","enum":["PER_STAY","PER_DAY","PER_NIGHT","PER_USE","PER_HOUR","PER_PERSON","PER_PERSON_PER_NIGHT","PER_PERSON_PER_HOUR","PER_ADULT","PER_ADULT_PER_NIGHT","PER_ADULT_PER_HOUR","PER_CHILD","PER_CHILD_PER_NIGHT","PER_CHILD_PER_HOUR"]},"type":{"type":"string","description":"Type of item this is.","example":"LODGING","enum":["LODGING","RAIL","AIR","CAR","CRUISE","PACKAGE","ADD_ON","RENTAL","EXPERIENCE","ANCILLARY_BOOKING","ANCILLARY_FEE"]},"beneficiaryList":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/Beneficiary_Supplier"}},"payable":{"type":"string","description":"When to charge for this item.","example":"PREPAY","enum":["IMMEDIATE","ARRIVAL","DEPARTURE","AGENT"]},"policy":{"$ref":"#/components/schemas/SupplierContractItemPolicy_Supplier"},"externalIdentifier":{"type":"string","description":"Optional externalIdentifier to remote inventory.","example":"room-type-1"},"tokensEarned":{"type":"integer","description":"Tokens minted for this item","format":"int64","example":12},"dailyRateList":{"type":"array","items":{"$ref":"#/components/schemas/DailyRate_Supplier"}},"cancelled":{"type":"boolean","description":"Optional geoname externalIdentifier to remote inventory."},"sourceCurrency":{"type":"string","description":"The source currency","example":"USD"},"displayCurrency":{"type":"string","description":"The display currency","example":"USD"},"supplierCurrency":{"type":"string","description":"The supplier currency","example":"USD"},"internalCurrency":{"type":"string","description":"The internal currency","example":"USD"},"captureCurrency":{"type":"string","description":"The capture currency","example":"USD"},"sourceAmount":{"minimum":0,"type":"number","description":"The total initial price as quoted in the original TripPay contract."},"displayAmount":{"minimum":0,"type":"number","description":"The total display price."},"supplierAmount":{"minimum":0,"type":"number","description":"The total supplier price."},"internalAmount":{"minimum":0,"type":"number","description":"The total internal price."},"captureAmount":{"minimum":0,"type":"number","description":"The total capture price."},"sourceAmountRefundModifier":{"minimum":0,"type":"number","description":"The source amount still due after a partial refund occurs."},"displayAmountRefundModifier":{"minimum":0,"type":"number","description":"The display amount still due after a partial refund occurs."},"supplierAmountRefundModifier":{"minimum":0,"type":"number","description":"The supplier amount still due after a partial refund occurs."},"internalAmountRefundModifier":{"minimum":0,"type":"number","description":"The internal amount still due after a partial refund occurs."},"captureAmountRefundModifier":{"minimum":0,"type":"number","description":"The capture amount still due after a partial refund occurs."},"netSourceAmount":{"minimum":0,"type":"number","description":"Source amount minus source modifier."},"netDisplayAmount":{"minimum":0,"type":"number","description":"Display amount minus display modifier."},"netSupplierAmount":{"minimum":0,"type":"number","description":"Supplier amount minus supplier modifier."},"netInternalAmount":{"minimum":0,"type":"number","description":"Internal amount minus internal modifier."},"netCaptureAmount":{"minimum":0,"type":"number","description":"Capture amount minus capture modifier."},"metadata":{"type":"object","additionalProperties":{"type":"string","description":"Place to add more data related to the booking contract item."},"description":"Place to add more data related to the booking contract item."},"cancellableBySupplier":{"type":"boolean","description":"Whether the booking can still be cancelled by the supplier. A supplier cancellation overrides the refundable"},"cancellableByTraveler":{"type":"boolean","description":"Whether the booking can still be cancelled by the traveller."},"cancellableWithNoCharges":{"type":"boolean","description":"Whether the booking can still be cancelled and whether cancellation charges might still occur."},"cancellableWithPotentialCharges":{"type":"boolean","description":"Whether the booking can still be cancelled and whether cancellation charges might still occur."}},"description":"Returns the lodging item only."},"BookingContractPaymentDetails_Supplier":{"required":["acquirerIdentifier","chargeIdentifier","customerIdentifier","status","transactionIdentifier","vendor","vendorSpecific"],"type":"object","properties":{"acquirerIdentifier":{"type":"string","description":"Unique acquiring identifier. Blank for agent payment","example":"stripe-world"},"vendor":{"type":"string","description":"Name of acquiring vendor","example":"STRIPE","enum":["STRIPE","AGENT","NMI","WISE"]},"transactionIdentifier":{"type":"string","description":"Unique transaction id from the vendor. Agent adds their transaction identifier.","example":"tx-1"},"customerIdentifier":{"type":"string","description":"Unique customer id from the vendor. Agent adds their own customer identifier.","example":"customer-1"},"chargeIdentifier":{"type":"string","description":"Unique charge id from the vendor..","example":"charge-1"},"status":{"type":"string","description":"Unique transaction id from the vendor upon a successful sale. Agent adds their transaction identifier.","example":"INITIALIZED","enum":["INITIALIZED","PROCESSING","SUCCEEDED","FAILED"]},"agentInvoicedDate":{"type":"string","description":"The date/time the invoice was generated","format":"date-time"},"agentInvoiceIdentifier":{"type":"string","description":"The specific invoice this booking was registered on","example":"invoice-1"},"redirectUrl":{"type":"string","description":"Where to redirect to after payment [in-]complete"},"fees":{"type":"array","items":{"$ref":"#/components/schemas/Fee_Supplier"}},"vendorSpecific":{"type":"object","additionalProperties":{"type":"string","description":"Vendor specific values that are returned in a successful response"},"description":"Vendor specific values that are returned in a successful response"}},"description":"Payment details the merchant provided us at the time of payment."},"BookingContract_Supplier":{"required":["captureAmount","captureCurrency","capturePriceQuote","displayAmount","displayCurrency","displayPriceQuote","federatedOrganizationIdentifier","federatedOrganizationName","identifier","internalAmount","internalCurrency","internalPriceQuote","ipAddress","itemList","payment","sourceAmount","sourceCurrency","sourceUrl","supplierAmount","supplierCurrency","supplierIdentifier","supplierName","supplierPriceQuote","traceId","user"],"type":"object","properties":{"bookingContractIdentifier":{"type":"string","description":"Document UUID","format":"uuid"},"createdDate":{"type":"string","description":"Datetime this record was first created","format":"date-time"},"lastUpdate":{"type":"string","description":"Datetime this record was last updated","format":"date-time"},"federatedOrganizationIdentifier":{"type":"string","description":"The auth realm owner ID","example":"owner-1"},"federatedOrganizationName":{"type":"string","description":"The auth realm owner name","example":"Wink"},"user":{"$ref":"#/components/schemas/AuthenticatedUser_Supplier"},"ipAddress":{"type":"string","description":"Caller's IP address","example":"111.222.333.444"},"traceId":{"type":"string","description":"Way to track which booking contracts were made together","example":"T-123456"},"sourceUrl":{"type":"string","description":"Where did the booking occur","example":"https://www.traveliko.com"},"identifier":{"type":"string","description":"Unique identifier used to track the contract. Create a UUID for this purpose.","format":"uuid"},"supplierIdentifier":{"type":"string","description":"Supplier identifier","format":"uuid"},"supplierName":{"type":"string","description":"Supplier name","example":"Supplier One"},"displayPriceQuote":{"$ref":"#/components/schemas/Quote_Supplier"},"supplierPriceQuote":{"$ref":"#/components/schemas/Quote_Supplier"},"internalPriceQuote":{"$ref":"#/components/schemas/Quote_Supplier"},"capturePriceQuote":{"$ref":"#/components/schemas/Quote_Supplier"},"itemList":{"maxItems":2147483647,"minItems":1,"type":"array","description":"Holds one booking line item for a specific supplier.","items":{"$ref":"#/components/schemas/BookingContractItem_Supplier"}},"externalSupplierIdentifier":{"type":"string","description":"Contract creator can choose to geoname this record with her own identifier","example":"supplier-a"},"externalSupplierBookingCode":{"type":"string","description":"External booking code generated by the affiliate","example":"external-booking-code-1"},"payment":{"$ref":"#/components/schemas/BookingContractPaymentDetails_Supplier"},"cancelled":{"type":"boolean","description":"Optional geoname externalIdentifier to remote inventory.","example":false,"default":false},"cancelledOn":{"type":"string","description":"When the booking was cancelled.","format":"date-time"},"canceller":{"type":"string","description":"Type of entity that cancelled the booking.","enum":["SALES_CHANNEL","SUPPLIER","TRAVELER","ACQUIRER","ADMINISTRATOR"]},"cancellationType":{"type":"string","description":"Reason type.","enum":["DUPLICATE","CANCELLATION","NO_SHOW","CC_INVALID","CC_INSUFFICIENT","DISCRETIONARY"]},"cancellerUserIdentifier":{"type":"string","description":"User identifier that cancelled the entity."},"cancelReason":{"type":"string","description":"Reason for cancellation."},"fundsAddedToLedger":{"type":"boolean","description":"Whether the contract has been added to the ledger; ready for payout.","example":false},"fundsProcessed":{"type":"boolean","description":"Whether a funds transfer request has been created for this booking.","example":false},"refunds":{"type":"array","description":"An optional list of refunds that occurred with this booking. If the refund amount(s) is the same as the total price, the booking also gets cancelled.","items":{"$ref":"#/components/schemas/Refund_Supplier"}},"payouts":{"type":"array","description":"An optional list of refunds that occurred with this booking. If the refund amount(s) is the same as the total price, the booking also gets cancelled.","items":{"$ref":"#/components/schemas/Payout_Supplier"}},"sourceCurrency":{"type":"string","description":"The source currency","example":"USD"},"displayCurrency":{"type":"string","description":"The display currency","example":"USD"},"supplierCurrency":{"type":"string","description":"The supplier currency","example":"USD"},"internalCurrency":{"type":"string","description":"The internal currency","example":"USD"},"captureCurrency":{"type":"string","description":"The capture currency","example":"USD"},"sourceAmount":{"minimum":0,"type":"number","description":"The total initial price as quoted in the original TripPay contract."},"displayAmount":{"minimum":0,"type":"number","description":"The total display price."},"supplierAmount":{"minimum":0,"type":"number","description":"The total supplier price."},"internalAmount":{"minimum":0,"type":"number"},"captureAmount":{"minimum":0,"type":"number","description":"The total capture price."},"sourceAmountRefundModifier":{"type":"number","description":"The source amount still due after a partial refund occurs."},"displayAmountRefundModifier":{"type":"number","description":"The display amount still due after a partial refund occurs."},"supplierAmountRefundModifier":{"type":"number","description":"The supplier amount still due after a partial refund occurs."},"internalAmountRefundModifier":{"type":"number","description":"The internal amount still due after a partial refund occurs."},"captureAmountRefundModifier":{"type":"number","description":"The capture amount still due after a partial refund occurs."},"netSourceAmount":{"type":"number","description":"The total initial price as quoted in the original TripPay contract."},"netDisplayAmount":{"type":"number","description":"The total display price."},"netSupplierAmount":{"type":"number","description":"The total supplier price."},"netInternalAmount":{"type":"number"},"netCaptureAmount":{"type":"number","description":"The total capture price."},"metadata":{"type":"object","additionalProperties":{"type":"string","description":"Place to add more data related to the booking contract."},"description":"Place to add more data related to the booking contract."},"netCommissionableTotalSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netCommissionableTotalCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netCommissionableTotalDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netCommissionableTotalSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netCommissionableTotalInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"fundsAvailableDate":{"type":"string","description":"Returns the date the funds will be released to the customer.","format":"date"},"totalFeesInPercentWithRefund":{"type":"number","description":"All amounts that are not of type SALE","format":"float"},"totalFeesInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied","format":"float"},"totalTripPayFeeInPercentWithRefund":{"type":"number","description":"All amounts that are not of type SALE","format":"float"},"totalTripPayFeeInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied","format":"float"},"totalCommissionsInPercentWithRefund":{"type":"number","description":"All amounts that are not of type SALE","format":"float"},"totalCommissionsInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied","format":"float"},"totalFeesAndCommissionsInPercentWithRefund":{"type":"number","description":"All amounts that are not of type SALE","format":"float"},"totalFeesAndCommissionsInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied","format":"float"},"originalFeesInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied"},"originalCommissionsInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied"},"netTotalCustomersSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalCustomersCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalCustomersDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalCustomersSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalCustomersInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"hasRefunds":{"type":"boolean","description":"Indicates whether any refund in any state is present."},"hasSuccessfulRefunds":{"type":"boolean","description":"Indicates whether a successful refund is present."},"hasPendingRefunds":{"type":"boolean","description":"Indicates whether a pending refund is present."},"hasFailedRefunds":{"type":"boolean","description":"Indicates whether a failed refund is present."},"platformIdentifier":{"type":"string","description":"Returns the account identifier for the beneficiary taking a platform fee"},"totalFundsGroupedByBeneficiary":{"type":"array","description":"Returns all the beneficiaries in this contract with their total amounts","items":{"$ref":"#/components/schemas/Beneficiary_Supplier"}},"totalTokensEarned":{"type":"integer","description":"Total amount of tokens minted on this contract.","format":"int64"},"cancellableBySupplier":{"type":"boolean","description":"Whether the booking can still be cancelled completely by the supplier."},"cancellableByTraveler":{"type":"boolean","description":"Whether the booking can still be cancelled completely by the traveller."},"lodging":{"$ref":"#/components/schemas/BookingContractItem_Supplier"},"cancellableWithNoCharges":{"type":"boolean","description":"Whether the cancellation comes at no cost to the traveler."},"isCancellableWithPotentialCharges":{"type":"boolean","description":"Whether a cancellation comes with partial charges. I.e. Only some of the items in contract are not fully refundable.","writeOnly":true}},"description":"Booking contract created by TripPay"},"BookingUser_Supplier":{"required":["email","firstName","lastName"],"type":"object","properties":{"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"firstName":{"type":"string","description":"First name","example":"John"},"lastName":{"type":"string","description":"Last name","example":"Smith"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"telephone":{"type":"string","description":"Telephone","example":"+1 212 555 1212"},"fullName":{"type":"string","description":"Full name","readOnly":true,"example":"John Smith"}},"description":"User details for the authenticated person that made the booking."},"BookingView_Supplier":{"required":["booking"],"type":"object","properties":{"id":{"type":"string","description":"Document UUID","example":"doc-1"},"createdDate":{"type":"string","description":"Datetime this record was first created","format":"date-time"},"lastUpdate":{"type":"string","description":"Datetime this record was last updated","format":"date-time"},"version":{"type":"integer","description":"Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.","format":"int64","example":12},"booking":{"$ref":"#/components/schemas/Booking_Supplier"}}},"Booking_Supplier":{"required":["address","bookingCode","contactInfo","date","emailHeaderLogoUrl","engineConfiguration","groupIdentifier","hotel","hotelImageUrl","identifier","roomImageUrl","serverUrl","user","userSession"],"type":"object","properties":{"creation":{"type":"string","description":"Communicates whether the booking was created normally or if it failed or was just for testing.","example":"TEST","default":"NORMAL","enum":["NORMAL","TEST","FAILED"]},"date":{"type":"string","description":"Date and time the booking was made.","format":"date-time"},"groupIdentifier":{"type":"string","description":"Unique record identifier for the collection of bookings that were made at the same time.","format":"uuid"},"identifier":{"type":"string","description":"Unique record identifier","format":"uuid"},"engineConfiguration":{"$ref":"#/components/schemas/EngineConfigurationBookingReport_Supplier"},"bookingCode":{"type":"string","description":"Unique user-friendly booking geoname. This code should be used when corresponding with travelers.","example":"ABC1234"},"user":{"$ref":"#/components/schemas/BookingUser_Supplier"},"userSession":{"$ref":"#/components/schemas/UserSession_Supplier"},"serverUrl":{"type":"string","description":"The URL the booking occurred"},"contactInfo":{"$ref":"#/components/schemas/Contact_Supplier"},"address":{"$ref":"#/components/schemas/Address_Supplier"},"socials":{"type":"array","description":"List of all social network account property has for the traveler to get in touch.","items":{"$ref":"#/components/schemas/Social_Supplier"}},"review":{"$ref":"#/components/schemas/Review_Supplier"},"emailHeaderLogoUrl":{"type":"string","description":"Full url of the image logo optimized for emails"},"logoIdentifier":{"type":"string","description":"Logo cloudinary identifier for potential reuse"},"hotel":{"$ref":"#/components/schemas/HotelOnMap_Supplier"},"roomStay":{"$ref":"#/components/schemas/RoomStay_Supplier"},"specialRequests":{"type":"string","description":"Free text where the traveler can add a message to the property."},"comment":{"type":"string","description":"Internal comment field the payment can add and make available to channel manager partners."},"earlyCheckInCharge":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"lateCheckOutCharge":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"earlyCheckInChargePercent":{"type":"number","description":"Early check-in charge calculated in percent of first room night price.","format":"float","example":0.05},"lateCheckOutChargePercent":{"type":"number","description":"Early check-in charge calculated in percent of first room night price.","format":"float","example":0.05},"hotelImageUrl":{"type":"string","description":"Absolute URL of hotel image that can be used as-is","example":"https://path.to/property-image.jpg"},"roomImageUrl":{"type":"string","description":"Absolute URL of room image that can be used as-is","example":"https://path.to/room-image.jpg"},"commissionList":{"type":"array","description":"List of all travel inventory entries that are due a commission to the affiliate.","items":{"$ref":"#/components/schemas/CommissionableEntry_Supplier"}},"ancillaryList":{"type":"array","items":{"$ref":"#/components/schemas/BookingAncillary_Supplier"}},"bookingContract":{"$ref":"#/components/schemas/BookingContract_Supplier"},"staticMapImageUrl":{"type":"string","description":"Url of map image that can be sent via email","example":"https://path.to/room-image.jpg"},"staticMapUrl":{"type":"string","description":"Url of map image location on Google Maps","example":"https://path.to/room-image.jpg"},"status":{"type":"string","description":"Convenience data point to show which status the booking currently has.","example":"ACTIVE","enum":["CANCELLED_BY_HOTEL","CANCELLED_BY_GUEST","CANCELLED_BY_ADMIN","CANCELLED_BY_SALES_CHANNEL","PAST","FUTURE","CANCELLED_BY_ACQUIRER","ACTIVE","FAILED"]},"restaurants":{"type":"array","description":"Restaurant reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_Supplier"}},"fullAddress":{"type":"string","description":"Convenience data point to return the full hotel address.","example":"204 At home lane, Singapore, Singapore 224333"},"meetingRooms":{"type":"array","description":"Meeting room reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_Supplier"}},"spas":{"type":"array","description":"Spa reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_Supplier"}},"activities":{"type":"array","description":"Activity reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_Supplier"}},"attractions":{"type":"array","description":"Attraction reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_Supplier"}},"places":{"type":"array","description":"Place reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_Supplier"}},"roomTypeAncillaries":{"type":"array","description":"Room type ancillary records.","items":{"$ref":"#/components/schemas/BookingAncillary_Supplier"}},"cancellableBySupplier":{"type":"boolean","description":"Whether the booking can still be cancelled completely by the supplier."},"cancellableByTraveler":{"type":"boolean","description":"Whether the booking can still be cancelled completely by the traveller."},"hasAddOns":{"type":"boolean","description":"Convenience data point to check if any add-on offers are in this booking.","example":true},"addOns":{"type":"array","description":"Add-on records.","items":{"$ref":"#/components/schemas/BookingAncillary_Supplier"}},"rateSource":{"type":"string","description":"Rate origin. This is usually the property channel manager.","example":"SITEMINDER"},"hasMeetingRooms":{"type":"boolean","description":"Convenience data point to check if any meeting room reservations are included in this booking.","example":true},"hasActivities":{"type":"boolean","description":"Convenience data point to check if any activity reservations are included in this booking.","example":true},"hasAttractions":{"type":"boolean","description":"Convenience data point to check if any attractions reservations are included in this booking.","example":true},"hasPlaces":{"type":"boolean","description":"Convenience data point to check if any place reservations are included in this booking.","example":true},"reportingDailyRateList":{"type":"array","items":{"$ref":"#/components/schemas/ReportingDailyRate_Supplier"}},"reportingAncillaryList":{"type":"array","items":{"$ref":"#/components/schemas/ReportingAncillary_Supplier"}},"reportingExtraChargeList":{"type":"array","items":{"$ref":"#/components/schemas/ReportingExtraCharge_Supplier"}},"hasRoomTypeAncillaries":{"type":"boolean","description":"Convenience data point to check if any room type ancillaries are in this booking.","example":true},"hasFood":{"type":"boolean","description":"Convenience data point to check if any food is included in this booking.","example":true},"hasRestaurants":{"type":"boolean","description":"Convenience data point to check if any restaurant reservations are included in this booking.","example":true},"hasSpas":{"type":"boolean","description":"Convenience data point to check if any spa reservations are included in this booking.","example":true},"hasBreakfast":{"type":"boolean","description":"Convenience data point to get to breakfast quickly.","example":true},"hasBrunch":{"type":"boolean","description":"Convenience data point to get to brunch quickly.","example":true},"hasLunch":{"type":"boolean","description":"Convenience data point to get to lunch quickly.","example":true},"hasDinner":{"type":"boolean","description":"Convenience data point to get to dinner quickly.","example":true},"hasAllInclusive":{"type":"boolean","description":"Convenience data point to get to all-inclusive quickly.","example":true},"hasAllInclusivePlusAlcohol":{"type":"boolean","description":"Convenience data point to get to all-inclusive with alcohol quickly.","example":true}},"description":"Booking data object"},"CancellationPolicyException_Supplier":{"required":["cancellationPolicy","cancellationPolicyIdentifier","endDate","startDate"],"type":"object","properties":{"cancellationPolicyIdentifier":{"type":"string","description":"Cancellation policy","format":"uuid"},"cancellationPolicy":{"$ref":"#/components/schemas/CancellationPolicy_Supplier"},"startDate":{"type":"string","description":"Start date for when this cancellation policy should start to override the default cancellation policy.","format":"date"},"endDate":{"type":"string","description":"End date for when this cancellation policy should end overriding the default cancellation policy.","format":"date"}}},"CancellationPolicyExceptions_Supplier":{"required":["list"],"type":"object","properties":{"list":{"type":"array","description":"List of cancellation policy exceptions","items":{"$ref":"#/components/schemas/CancellationPolicyException_Supplier"}}},"description":"Allows a property to dynamically use another cancellation policy for a specific date range"},"CancellationPolicy_Supplier":{"required":["hotelIdentifier","identifier","refundable"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique cancellation policy identifier","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Property this cancellation is associated with","format":"uuid"},"refundable":{"type":"boolean","description":"Whether this cancellation policy is refundable or not","example":false,"default":false},"advanceCancellationFreeOfCharge":{"type":"string","description":"When the cancellation policy is refundable, this flag can be set and indicates there is more rules involved than just a no-questions-asked refundable.","example":"UNTIL_EIGHTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","enum":["UNTIL_EIGHTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","UNTIL_FOURTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","ONE_DAY_BEFORE_ARRIVAL","TWO_DAYS_BEFORE_ARRIVAL","THREE_DAYS_BEFORE_ARRIVAL","FIVE_DAYS_BEFORE_ARRIVAL","SEVEN_DAYS_BEFORE_ARRIVAL","FOURTEEN_DAYS_BEFORE_ARRIVAL","TWENTYONE_DAYS_BEFORE_ARRIVAL","THIRTY_DAYS_BEFORE_ARRIVAL","FOURTY_TWO_DAYS_BEFORE_ARRIVAL","SIXTY_DAYS_BEFORE_ARRIVAL"]},"refundableCancellationCharge":{"type":"string","description":"If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.","example":"FIFTY_PERCENT","enum":["FIRST_NIGHT","THIRTY_PERCENT","FIFTY_PERCENT","SIXTY_PERCENT","SEVENTY_PERCENT","NINENTY_PERCENT","ONE_HUNDRED_PERCENT"]},"noShowCharge":{"type":"string","description":"In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.","example":"SAME_AS_CANCELLATION_FEE","enum":["SAME_AS_CANCELLATION_FEE","ONE_HUNDRED_PERCENT_OF_TOTAL_CHARGE"]},"nonRefundableCancellationCharge":{"type":"string","description":"When the cancellation policy is non-refundable, this flag can be set and indicates there is more rules involved to calculate what the guest will owe in case of a cancellation.","example":"SEVENTY_PERCENT","enum":["FIRST_NIGHT","TEN_PERCENT","THIRTY_PERCENT","FIFTY_PERCENT","SEVENTY_PERCENT"]},"nonRefundableDeadline":{"type":"string","description":"The non-refundable charge might can have a deadline. If that deadline passes, the guest might be charged more.","example":"SEVEN_DAYS_BEFORE_ARRIVAL","enum":["ONE_DAY_BEFORE_ARRIVAL","TWO_DAYS_BEFORE_ARRIVAL","THREE_DAYS_BEFORE_ARRIVAL","FIVE_DAYS_BEFORE_ARRIVAL","SEVEN_DAYS_BEFORE_ARRIVAL","FOURTEEN_DAYS_BEFORE_ARRIVAL","TWENTYONE_DAYS_BEFORE_ARRIVAL","THIRTY_DAYS_BEFORE_ARRIVAL","FOURTY_TWO_DAYS_BEFORE_ARRIVAL","SIXTY_DAYS_BEFORE_ARRIVAL"]},"nonRefundableAfterDeadlineCancellationCharge":{"type":"string","description":"If the guest does not honor the non-refundable deadline rule, this charge dictates what she owes after the deadline passes.","example":"ONE_HUNDRED_PERCENT","enum":["FIRST_NIGHT","TEN_PERCENT","THIRTY_PERCENT","FIFTY_PERCENT","SEVENTY_PERCENT","ONE_HUNDRED_PERCENT"]},"policyCode":{"type":"string"}},"description":"Based on the itinerary, the cancellation policy could be taken directly from the rate plan or it could be a policy exception also listed on the rate plan"},"Child_Supplier":{"required":["age","quantity"],"type":"object","properties":{"quantity":{"minimum":1,"type":"integer","description":"Number of children","format":"int32"},"age":{"minimum":0,"type":"integer","description":"Age of children","format":"int32"}},"description":"Child configuration"},"CommissionableEntry_Supplier":{"required":["commissionPercent","identifier","name","type"],"type":"object","properties":{"name":{"type":"string"},"identifier":{"type":"string"},"type":{"type":"string","enum":["GUEST_ROOM","ADD_ON","MEETING_ROOM","RESTAURANT","SPA","ATTRACTION","PLACE","ACTIVITY"]},"commissionPercent":{"type":"number","format":"float"}},"description":"List of all travel inventory entries that are due a commission to the affiliate."},"Contact_Supplier":{"type":"object","properties":{"firstName":{"type":"string","description":"Contact first name","example":"John"},"lastName":{"type":"string","description":"Contact last name","example":"Smith"},"email":{"type":"string","description":"Contact E-mail","example":"[email protected]"},"secondaryEmail":{"type":"string","description":"Contact secondary Email","example":"[email protected]"},"phoneNumber":{"type":"string","description":"Contact phone number","example":"+12125551212"},"fullName":{"type":"string","description":"First and last name","readOnly":true,"example":"John Smith"},"summary":{"type":"string","description":"Summary","readOnly":true,"example":"John Smith ([email protected] / +12125551212)"}},"description":"Array of emergency contact information for the customer"},"Country_Supplier":{"type":"object","properties":{"iso":{"type":"string","description":"ISO code","example":"US"},"name":{"type":"string","description":"Country name","example":"United States"},"capital":{"type":"string","description":"Country capital","example":"Washington"},"continent":{"type":"string","description":"Continent code","example":"NA"},"currencyCode":{"type":"string","description":"Currency code","example":"USD"},"currencyName":{"type":"string","description":"Currency name","example":"Dollar"},"geoNameId":{"type":"string","description":"Country GeoNames identifier","example":"6252001"}},"description":"Country"},"CustomMonetaryAmount":{"required":["amount","currency"],"type":"object","properties":{"amount":{"type":"number"},"currency":{"type":"string"}}},"DailyRate_Supplier":{"required":["capturePrice","date","displayPrice","internalPrice","price","supplierPrice"],"type":"object","properties":{"date":{"type":"string","description":"The date this rate is applicable for.","format":"date","example":"2020-08-24"},"price":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"displayPrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"supplierPrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalPrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"capturePrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"}},"description":"In case of LODGING, include daily rates"},"DowPatternGroup_Supplier":{"type":"object","properties":{"mon":{"type":"boolean","description":"Set to `true` to enable Monday.","example":true},"tue":{"type":"boolean","description":"Set to `true` to enable Tuesday.","example":true},"wed":{"type":"boolean","description":"Set to `true` to enable Wednesday.","example":true},"thu":{"type":"boolean","description":"Set to `true` to enable Thursday.","example":true},"fri":{"type":"boolean","description":"Set to `true` to enable Friday.","example":true},"sat":{"type":"boolean","description":"Set to `true` to enable Saturday.","example":true},"sun":{"type":"boolean","description":"Set to `true` to enable Sunday.","example":true},"disabled":{"type":"boolean","description":"Convenience property to quickly determine if this existing object has any active days enabled.","example":true}}},"EngineConfigurationBookingReport_Supplier":{"required":["identifier","name","ownerIdentifier","ownerName","subType","userIdentifier"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique engine configuration identifier","format":"uuid"},"name":{"type":"string","description":"Engine configuration name","example":"Engine Configuration 1"},"userIdentifier":{"type":"string","description":"Authenticated user identifier","format":"uuid"},"ownerIdentifier":{"type":"string","description":"Engine configuration record creator identifier","format":"uuid"},"ownerName":{"type":"string","description":"Name of company owner.","example":"Travel Tech 1"},"subType":{"type":"string","description":"Sales channel sub-type.","example":"APPLICATION","enum":["DIRECT","APPLICATION","HOTEL","TRAVELIKO","CORPORATE","TRAVEL_AGENT","INFLUENCER","BLOGGER","DESTINATION","CHANNEL_MANAGER","PROPERTY_MANAGEMENT_SYSTEM","CENTRAL_RESERVATION_SYSTEM","GOOGLE_HOTEL_API","MANAGEMENT_COMPANY","CHAIN","BRAND","EVENT_ORGANIZER"]},"defaultCurrency":{"type":"string","description":"Control which currency your users see prices in initially.","example":"USD","default":"USD"},"defaultLanguage":{"type":"string","description":"Control which language your users see text in initially.","example":"en","default":"en"},"defaultLifestyle":{"type":"string","description":"Control which lifestyle contextx your users see initially.","example":"LIFESTYLE_HEALTH_FITNESS","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]},"logos":{"type":"array","description":"Customize booking confirmation emails by adding a custom logo to your configuration.","items":{"$ref":"#/components/schemas/SimpleMultimedia_Supplier"}},"hostedBookingEngineUrl":{"type":"string","description":"If you are self-hosting our booking engine, let us know where it is hosted. Note: This url needs to be secured with SSL.","example":"https://my.customtravelsite.com/book","default":"https://ota.wink.travel"},"selfHosted":{"type":"boolean","description":"Flag to indicate you are self-hosting our booking engine and not using our default booking engine url.","example":true,"default":false},"themeColors":{"$ref":"#/components/schemas/EngineConfigurationTheme_Supplier"},"numberOfAdvanceDays":{"type":"integer","description":"You can control the initial itinerary date used to retrieve travel inventory prices. You can do it in one of two ways: 1. Dynamically set the date by indicating how long and how many days in advance (this field), of today's date, you want to display prices for. 2. Set a fixed date to display prices for. Option 1 is the most shared. Option 2 is for when you want to create a new customization and apply it to a specific event that occurs on a specific date. If you don't use either of these options, the itinerary will default to today's date with one night stay. ONLY populate this field if you want to control the itinerary date. Also, leave `startDate` and `endDate` empty.","format":"int32","example":10},"numberOfStayDays":{"type":"integer","description":"You can control the initial itinerary date used to retrieve travel inventory prices. You can do it in one of two ways: 1. Dynamically set the date by indicating how long (this field) and how many days in advance, of today's date, you want to display prices for. 2. Set a fixed date to display prices for. Option 1 is the most shared. Option 2 is for when you want to create a new customization and apply it to a specific event that occurs on a specific date. If you don't use either of these options, the itinerary will default to today's date with one night stay. ONLY populate this field if you want to control the itinerary date. Also, leave `startDate` and `endDate` empty.","format":"int32","example":2},"startDate":{"type":"string","description":"Set a fixed itinerary start date. ONLY populate this field if you want to fix the itinerary date. Also, leave `numberOfAdvanceDays` and `numberOfStayDays` empty.","format":"date","example":"2021-12-24"},"endDate":{"type":"string","description":"Set a fixed itinerary end date ONLY populate this field if you want to fix the itinerary date. Also, leave `numberOfAdvanceDays` and `numberOfStayDays` empty.","format":"date","example":"2021-12-31"},"roomConfigurations":{"type":"array","description":"Control how many adults / children will be staying and how many rooms. Defaults to: One room, two adults.","items":{"$ref":"#/components/schemas/RoomConfiguration_Supplier"}},"useDays":{"type":"boolean","description":"if true, we use numberOfAdvanceDays / numberOfStayDays properties - false, we use startDate / endDate","example":true},"promotionalCodes":{"type":"array","description":"If you've received special promotional codes from suppliers to give to your audience, you can choose to bake these code directly into the price by entering them here.","example":["promo-1"],"items":{"type":"string","description":"If you've received special promotional codes from suppliers to give to your audience, you can choose to bake these code directly into the price by entering them here.","example":"[\"promo-1\"]"}},"sendBookingNotificationEmailsToProperty":{"type":"boolean","description":"An integrator can choose to disable outgoing emails to properties because they want to do that themselves.","example":true,"default":true},"sendBookingNotificationEmailsToBooker":{"type":"boolean","description":"An integrator can choose to disable outgoing emails to users because they want to do that themselves.","example":true,"default":true},"sendBookingNotificationEmailsToChannelManager":{"type":"boolean","description":"An integrator can choose to disable notifying the property's channel manager. Note: This should ONLY be done for testing.","example":true,"default":true},"wcBookClickAction":{"type":"string","description":"Action to complete once a user clicks on the CTA button on inventory.","example":"IBE_MODAL","enum":["FORWARD_TO_IBE","IBE_MODAL"]},"city":{"$ref":"#/components/schemas/GeoName_Supplier"},"showUnavailableCard":{"type":"boolean","description":"Show unavailable inventory card when inventory not currently for sale. Otherwise, it displays a normal card but without the price."},"showRankings":{"type":"boolean","description":"Whether to display rankings (lifestyle, eco score and reviews) on hotel landing page."}},"description":"Which engine configuration record did the entity application used to facilitate in making this booking happen."},"EngineConfigurationTheme_Supplier":{"type":"object","properties":{"primary":{"type":"string","description":"Primary color","example":"#dc3545","default":"#dc3545"},"secondary":{"type":"string","description":"Secondary color","example":"#6c757d","default":"#6c757d"},"success":{"type":"string","description":"Success color","example":"#28a745","default":"#28a745"},"danger":{"type":"string","description":"Danger color","example":"#dc3545","default":"#dc3545"},"warning":{"type":"string","description":"Warning color","example":"#ffc107","default":"#ffc107"},"info":{"type":"string","description":"Info color","example":"#17a2b8","default":"#17a2b8"},"light":{"type":"string","description":"Light color","example":"#f8f9fa","default":"#f8f9fa"},"dark":{"type":"string","description":"Dark color","example":"#343a40","default":"#343a40"},"body":{"type":"string","description":"Body color","example":"#212529","default":"#212529"},"muted":{"type":"string","description":"Muted color","example":"#6c757d","default":"#6c757d"},"white":{"type":"string","description":"White color","example":"#ffffff","default":"#ffffff"}},"description":"Choose how you want our web components to look and more closely match with your own site style."},"ExtraCharge_Supplier":{"title":"Items","type":"object","properties":{"ratePlanLevelFee":{"$ref":"#/components/schemas/RatePlanLevelFee_Supplier"},"unitPrice":{"$ref":"#/components/schemas/LocalizedPrice_Supplier"},"price":{"$ref":"#/components/schemas/LocalizedPrice_Supplier"}},"description":"List of extra charges that applies to the rate plan."},"ExtraCharges_Supplier":{"type":"object","properties":{"items":{"title":"Items","type":"array","description":"List of extra charges that applies to the rate plan.","items":{"$ref":"#/components/schemas/ExtraCharge_Supplier"}},"userSpecifiedCurrencyTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"}},"description":"Rate plan-level extra charges"},"Fee_Supplier":{"required":["description","fee","identifier","type"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique system ID.","example":"ABC1234"},"fee":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"type":{"type":"string","description":"Type of fee","enum":["ACQUIRING","FX","TAX"]},"description":{"type":"string","description":"Withdrawal fee description"}},"description":"Fees associated with this booking contract."},"GeneralManager_Supplier":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"Name of GM currently managing the property.","example":"Jane Doe"},"image":{"$ref":"#/components/schemas/SimpleMultimedia_Supplier"},"descriptions":{"type":"array","description":"Localized welcome message from GM.","items":{"$ref":"#/components/schemas/LocalizedDescription_Supplier"}}},"description":"General manager related data."},"GeoJsonPoint_Supplier":{"type":"object","properties":{"x":{"type":"number","format":"double"},"y":{"type":"number","format":"double"},"type":{"type":"string"},"coordinates":{"type":"array","items":{"type":"number","format":"double"}}},"description":"Geo-location point where inventory takes place. Defaults to location of property.","example":{"type":"POINT","coordinates":[100.5581533,13.7370197]}},"GeoName_Supplier":{"type":"object","properties":{"geoNameId":{"type":"string","description":"GeoName identifier","example":"5128581"},"type":{"type":"string","description":"GeoName type","enum":["CITY","ISLAND","OTHER"]},"name":{"type":"string","description":"Name of city","example":"New York City"},"urlName":{"type":"string","description":"Url name","example":"new-york-city-united-states"},"asciiName":{"type":"string","description":"Ascii name of city","example":"New York City"},"location":{"$ref":"#/components/schemas/GeoJsonPoint_Supplier"},"featureCode":{"type":"string"},"countryCode":{"type":"string"},"timezone":{"type":"string","description":"Timezone","example":"America/New_York"},"country":{"$ref":"#/components/schemas/Country_Supplier"},"subCountry":{"$ref":"#/components/schemas/SubCountry_Supplier"},"subSubCountry":{"$ref":"#/components/schemas/SubSubCountry_Supplier"}},"description":"GeoNames have been created at [https://geonames.org](https://geonames.org) and contain geographical destinations we use as geoname data to associate travel inventory with a location."},"GuestRoom_Supplier":{"required":["active","address","baseRate","bathroomCount","bedroomConfigurationList","bookable","commissionable","composite","compositeCount","contact","descriptions","featuredInd","hotelIdentifier","identifier","includedAdultOccupancy","includedChildOccupancy","livingRoomCount","location","maxAdultOccupancy","maxChildOccupancy","maxCribs","maxOccupancy","maxRollaways","minOccupancy","minRate","multimedias","name","nonSmoking","pricePoint","proximityCode","quantity","roomArchitectureCode","roomCategory","roomClassificationCode","roomLocationCode","roomViewCode","sharedRoomInd","size"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique record identifier","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Hotel identifier.","format":"uuid"},"featuredInd":{"type":"boolean","description":"Indicates whether this inventory is featured. Use this flag as a way to signify that this inventory is special.","example":false},"lifestyleType":{"type":"string","description":"Indicate the type of lifestyle this inventory should be associated with.","example":"LIFESTYLE_HEALTH_FITNESS","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]},"location":{"$ref":"#/components/schemas/GeoJsonPoint_Supplier"},"descriptions":{"type":"array","description":"Localized descriptions describing inventory.","items":{"$ref":"#/components/schemas/SimpleDescription_Supplier"}},"multimedias":{"type":"array","description":"List of images / videos of inventory.","items":{"$ref":"#/components/schemas/SimpleMultimedia_Supplier"}},"contact":{"$ref":"#/components/schemas/Contact_Supplier"},"address":{"$ref":"#/components/schemas/Address_Supplier"},"commissionable":{"type":"boolean","description":"Indicate whether sales channels receive commission for selling this inventory.","example":true,"default":true},"name":{"type":"string","description":"Internal name of inventory.","example":"Archery lesson"},"proximityCode":{"type":"string","description":"Supported OTA specification `PRX` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"sort":{"type":"integer","description":"Use this property to sort an inventory in a list of activities.","format":"int32","example":1},"minAgeAppropriateCode":{"type":"string","description":"Supported OTA specification `AQC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"bookable":{"type":"boolean","description":"Indicates if this inventory can be added to a booking or if it is read-only marketing material only.","example":true,"default":true},"active":{"type":"boolean","description":"Modify inventory availability with this flag.","example":true,"default":true},"disabilityFeatures":{"type":"array","description":"Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1"],"items":{"type":"string"}},"securityFeatures":{"type":"array","description":"Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1"],"items":{"type":"string"}},"socials":{"type":"array","description":"Social network accounts for inventory (if applicable).","items":{"$ref":"#/components/schemas/Social_Supplier"}},"pricePoint":{"type":"string","description":"Level of expensiveness.","example":"THREE","default":"THREE","enum":["HALF","ONE","ONE_HALF","TWO","TWO_HALF","THREE","THREE_HALF","FOUR","FOUR_HALF","FIVE"]},"recognitionList":{"type":"array","description":"Inventory-level recognition.","items":{"$ref":"#/components/schemas/TravelInventoryRecognition_Supplier"}},"transactionalInventoryList":{"type":"array","description":"Purchasable items for this inventory.","items":{"$ref":"#/components/schemas/TransactionalTravelInventory_Supplier"}},"maxOccupancy":{"minimum":1,"type":"integer","description":"Maximum number of guest allowed in a room type.","format":"int32","example":2,"default":2},"minOccupancy":{"minimum":1,"type":"integer","description":"Minimum number of guests allowed in a room type.","format":"int32","example":1,"default":1},"quantity":{"minimum":1,"type":"integer","description":"Defines the number of rooms of this type","format":"int32","example":40},"nonSmoking":{"type":"boolean","description":"Non-smoking indicator","example":true},"bedroomConfigurationList":{"type":"array","description":"A room type can have more than one bed configuration.","items":{"$ref":"#/components/schemas/BedroomConfiguration_Supplier"}},"size":{"minimum":1,"type":"number","description":"Number of square meters that defines the size of this room type.","format":"float","example":55},"maxAdultOccupancy":{"minimum":1,"type":"integer","description":"Maximum number of adults allowed in a room type.","format":"int32","example":1,"default":2},"maxChildOccupancy":{"minimum":0,"type":"integer","description":"Maximum number of children allowed in a room type.","format":"int32","example":0,"default":0},"bathroomCount":{"minimum":0,"type":"integer","description":"Number of bathrooms","format":"int32","example":0,"default":1},"livingRoomCount":{"minimum":0,"type":"integer","description":"Number of living rooms","format":"int32","example":0,"default":1},"maxRollaways":{"minimum":0,"type":"integer","description":"Maximum number of rollaway beds allowed in this room type.","format":"int32","example":0,"default":0},"roomCategory":{"type":"string","description":"Indicates the category of the room. Typical values would be Moderate, Standard, or Deluxe. Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"floor":{"type":"string","description":"Floor an which a room is located"},"roomLocationCode":{"type":"string","description":"Indicates the location of the room within the hotel structure. Typical values would be \"Near Exit\",\"Close to elevator\", \"Low Floor\" or \"High Floor\". Supported OTA specification `RLT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"roomViewCode":{"type":"string","description":"Indicates the view of the room. Typical values would be \"Ocean view\", \"Pool view\" or \"Garden View\". Supported OTA specification `RVT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"composite":{"type":"boolean","description":"Indicates that the room (suite) is a composite of smaller units.","example":false,"default":false},"compositeCount":{"minimum":0,"type":"integer","description":"Number of rooms of this room type that makes up a larger unit (composite) such as a two bedroom suite could be comprised of two king rooms plus other room types. A 0 means disabled.","format":"int32","example":2,"default":0},"roomClassificationCode":{"type":"string","description":"Specifies the room classification (e.g., cabin, apartment). Supported OTA specification `GRI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"roomArchitectureCode":{"type":"string","description":"Specifies the architectural style of a room. Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"roomGender":{"type":"string","description":"Used to request or specify a gender assignment for a room. Note: Typically used by Hosteliers.","example":"Female","default":"Unknown","enum":["Male","Female","MaleAndFemale","Unknown"]},"sharedRoomInd":{"type":"boolean","description":"If TRUE, the room requires or has sharing available. Note: Typically used by Hosteliers.","example":false,"default":false},"maxCribs":{"minimum":0,"type":"integer","description":"Maximum number of cribs allowed in a room type.","format":"int32","example":1,"default":0},"amenities":{"type":"array","description":"Collection of room amenity items available to the guest. Supported OTA specification `RMA` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1","7"],"items":{"type":"string"}},"includedAdultOccupancy":{"minimum":0,"type":"integer","description":"The number of pax the room price was meant for","format":"int32","example":2,"default":2},"includedChildOccupancy":{"minimum":0,"type":"integer","description":"The number of children the room price was meant for","format":"int32","example":0,"default":0},"baseRate":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"minRate":{"$ref":"#/components/schemas/CustomMonetaryAmount"}},"description":"Guest room details."},"GuestUser_Supplier":{"required":["email","firstName","lastName"],"type":"object","properties":{"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"firstName":{"type":"string","description":"First name","example":"John"},"lastName":{"type":"string","description":"Last name","example":"Smith"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"telephone":{"type":"string","description":"Telephone","example":"+1 212 555 1212"},"profile":{"$ref":"#/components/schemas/Profile_Supplier"},"fullName":{"type":"string","description":"Full name","readOnly":true,"example":"John Smith"}}},"HotelOnMap_Supplier":{"type":"object","properties":{"identifier":{"type":"string","description":"Unique record identifier. This is NOT the same as the unique hotel record identifier.","example":"document-1"},"hotelIdentifier":{"type":"string","description":"Unique hotel record identifier.","format":"uuid"},"name":{"type":"string","description":"Hotel trade name","example":"The Loveliest Hotel"},"localName":{"type":"string","description":"Hotel local name if different from the trade name or if it is the local language.","example":"Det Beste Hotellet"},"chain":{"type":"string","description":"Name of hotel chain if applicable.","example":"Hotel chain"},"brand":{"type":"string","description":"Name of hotel brand","example":"Hotel brand"},"urlName":{"type":"string","description":"Unique URL-friendly name slug of hotel","example":"the-loveliest-hotel-new-york-united-states"},"starRating":{"maximum":6,"minimum":0,"type":"integer","description":"Official or self-designated property star rating. Note that in some regions there are 6-star hotels. They are the same as 5-star hotels everywhere else.","format":"int32","example":4},"bookings":{"type":"integer","description":"Number of bookings for this property on the wink.travel payment.","format":"int64","example":6054,"default":0},"aggregateReviewRating":{"type":"number","description":"Aggregate score based on all current user reviews.","format":"float","example":7.8,"default":0.0},"location":{"$ref":"#/components/schemas/GeoJsonPoint_Supplier"},"shortDescriptions":{"type":"array","description":"A localized list of short property descriptions","items":{"$ref":"#/components/schemas/LocalizedDescription_Supplier"}},"longDescriptions":{"type":"array","description":"A localized list of longer property descriptions","items":{"$ref":"#/components/schemas/LocalizedDescription_Supplier"}},"aggregateGreendexRating":{"type":"number","description":"Aggregate Green Index score if the property has answered our questionnaire available in the Extranet.","format":"float","example":7.0,"default":0.0},"lifestyleTypes":{"type":"array","items":{"type":"string","description":"A list of lifestyles the property associates with.","example":"LIFESTYLE_HEALTH_FITNESS","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]}},"totalReviews":{"type":"integer","description":"Count of total reviews left by users at this property.","format":"int32","example":989,"default":0},"available":{"type":"boolean","description":"Flag indicating whether the payment has made this property available for sale.","example":true,"default":false},"hotelAvailable":{"type":"boolean","description":"Flag indicating whether the property has made this property available for sale.","example":true,"default":false},"reservations":{"$ref":"#/components/schemas/Contact_Supplier"},"socials":{"type":"array","description":"Property's social network accounts","items":{"$ref":"#/components/schemas/Social_Supplier"}},"images":{"type":"array","description":"Property images.","items":{"$ref":"#/components/schemas/SimpleMultimedia_Supplier"}},"videos":{"type":"array","description":"Property videos.","items":{"$ref":"#/components/schemas/SimpleMultimedia_Supplier"}},"policy":{"$ref":"#/components/schemas/PropertyPolicy_Supplier"},"thirdPartyReviews":{"type":"array","description":"Array of awards and third party reviews given to property by certified / non-certified providers.","items":{"$ref":"#/components/schemas/TravelInventoryRecognition_Supplier"}},"attractions":{"type":"integer","description":"Number of attractions property has listed on its profile.","format":"int32","example":5,"default":0},"recreations":{"type":"integer","description":"Number of activites property has listed on its profile.","format":"int32","example":3,"default":0},"pois":{"type":"integer","description":"Number of places property has listed on its profile.","format":"int32","example":9,"default":0},"restaurants":{"type":"integer","description":"Number of restaurants property has on its profile.","format":"int32","example":2,"default":0},"meetingRooms":{"type":"integer","description":"Number of meeting rooms property has on its profile.","format":"int32","example":2,"default":0},"spas":{"type":"integer","description":"Number of spas property has on its profile.","format":"int32","example":1,"default":0},"addOns":{"type":"integer","description":"Number of add-ons property has on its profile.","format":"int32","example":5,"default":0},"generalManager":{"$ref":"#/components/schemas/GeneralManager_Supplier"},"locationCategory":{"type":"string","description":"Supported OTA specification `LOC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"34"},"segmentCategory":{"type":"string","description":"Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"7"},"hotelCategory":{"type":"string","description":"Supported OTA specification `PCT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"45"},"architecturalStyle":{"type":"string","description":"Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"7"},"whenBuilt":{"type":"string","description":"Year the property was constructed.","example":"1927"},"currencyCode":{"type":"string","description":"Currency code for property.","example":"USD"},"membershipRateDiscount":{"type":"number","description":"A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.","format":"float","example":9,"default":0},"priceScore":{"type":"integer","description":"A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.","format":"int32","example":9,"default":0},"perkScore":{"type":"integer","description":"A property's perk score is based on the type of perks that is offered to the guests across all master rates. There is no max score; it's there to compare it against other properties.","format":"int32","example":4,"default":0},"packageScore":{"type":"integer","description":"A property's package score is based on general availability and price for all packages and add-ons offered by the property. There is no max score; it's there to compare it against other properties.","format":"int32","example":4,"default":0},"loyaltyScore":{"type":"integer","description":"A property's loyalty score is based on calculating how many available rate plans honor loyalty points. There is no max score; it's there to compare it against other properties.","format":"int32","example":5,"default":0},"popularScore":{"type":"integer","description":"A property's popular score is based on calculating number of bookings across room types. There is no max score; it's there to compare it against other properties.","format":"int32","example":45,"default":0},"experienceScore":{"type":"integer","description":"A property's experience score is based on how calculating how many types of experiences are available and at what price ranges. There is no max score; it's there to compare it against other properties.","format":"int32","example":5,"default":0},"availabilityScore":{"type":"integer","description":"A property's availability score is based on general availability of all room types. If most room types are always unavailable, the attractiveness of this property goes down. We use this as our primary benchmark to decide how and when to feature properties. There is no max score; it's there to compare it against other properties.","format":"int32","example":5,"default":0},"views":{"type":"integer","description":"Total number of user views of this property.","format":"int64","example":10432,"default":0},"hotelAmenityCodes":{"type":"array","description":"Supported OTA specification `HAC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1","7"],"items":{"type":"string","description":"Supported OTA specification `HAC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"[\"1\",\"7\"]"}},"propertyAccessibilityCodes":{"type":"array","description":"Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1","7"],"items":{"type":"string","description":"Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"[\"1\",\"7\"]"}},"propertySecurityCodes":{"type":"array","description":"Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1","7"],"items":{"type":"string","description":"Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"[\"1\",\"7\"]"}},"numberOfRooms":{"type":"integer","description":"Number of rooms / keys for this property.","format":"int32","example":32,"default":0},"address":{"$ref":"#/components/schemas/Address_Supplier"},"active":{"type":"boolean","description":"A property is considered active when both available and hotelAvailable flags are true.","example":true},"urlParameters":{"type":"string","description":"Convenience data point that creates url friendly query parameters of property."}},"description":"Combined property data."},"ImageAttribution_Supplier":{"required":["name"],"type":"object","properties":{"url":{"type":"string","description":"URL to contributor","example":"https://maps.google.com/maps/contrib/111628493169070103594"},"name":{"type":"string","description":"Name of contributor","example":"Samuel Adams"}},"description":"Whether image has attribution properties"},"Itinerary_Supplier":{"required":["endDate","items","startDate"],"type":"object","properties":{"startDate":{"type":"string","description":"Start date","format":"date"},"endDate":{"type":"string","description":"End date","format":"date"},"items":{"maxItems":2147483647,"minItems":1,"type":"array","description":"Room configurations","items":{"$ref":"#/components/schemas/RoomConfiguration_Supplier"}},"nights":{"type":"integer","description":"How many total nights for this stay","format":"int32"},"hours":{"type":"integer","description":"Number of hours between start and end dates. Used for itineraries that require bookings that occur within hours and not days. E.g. Meeting room reservation.","format":"int64","readOnly":true},"children":{"type":"integer","description":"How many total children for this stay","format":"int32"},"guests":{"type":"integer","description":"How many total guests for this stay","format":"int32"},"rooms":{"type":"integer","description":"How many total rooms for this stay","format":"int32"}},"description":"SimpleDateTimeItinerary"},"LocalizedDescription_Supplier":{"required":["description","language"],"type":"object","properties":{"description":{"maxLength":2147483647,"minLength":1,"type":"string","description":"Longer text description","example":"This is a longer description in the specified language."},"language":{"maxLength":2,"minLength":2,"type":"string","description":"Indicate which language this description is written in.","example":"en","default":"en"}},"description":"List of localized descriptions for this fee."},"LocalizedPrice_Supplier":{"required":["internalBaseTotal","sourceBaseTotal","sourceToInternalCurrencyQuote","sourceToUserCurrencyQuote","userSpecifiedCurrencyBaseTotal"],"type":"object","properties":{"sourceToUserCurrencyQuote":{"$ref":"#/components/schemas/Quote_Supplier"},"sourceToInternalCurrencyQuote":{"$ref":"#/components/schemas/Quote_Supplier"},"userSpecifiedCurrencyBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"userSpecifiedCurrencyPromotionalModifier":{"type":"number","description":"Promotional modifiers in user specified currency","example":-40},"sourcePromotionalModifier":{"type":"number","description":"Promotional modifiers in hotel currency","example":-40},"internalPromotionalModifier":{"type":"number","description":"Promotional modifiers in wink currency","example":-40},"userSpecifiedCurrencyPremiumModifier":{"type":"number","description":"Premium modifiers in user specified currency","example":40},"sourcePremiumModifier":{"type":"number","description":"Premium modifiers in hotel currency","example":40},"internalPremiumModifier":{"type":"number","description":"Premium modifiers in wink currency","example":40},"userSpecifiedCurrencyChannelModifier":{"type":"number","description":"Channel / Membership modifier in user specified currency","example":-10},"sourceChannelModifier":{"type":"number","description":"Channel / Membership modifier in hotel currency","example":-10},"internalChannelModifier":{"type":"number","description":"Channel / Membership modifier in wink currency","example":-10},"quantity":{"type":"integer","description":"How many of this item is included in this price","format":"int64","default":1},"promotionalDiscountPercent":{"type":"number","description":"Promotional discount percent","format":"float"},"channelDiscountPercent":{"type":"number","description":"Channel discount percent","format":"float"},"premiumPercent":{"type":"number","description":"Premium percent","format":"float"},"hasPremium":{"type":"boolean"},"hasPromotion":{"type":"boolean"},"totalDiscountPercent":{"type":"number","format":"float"},"sourceTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"userSpecifiedCurrencyTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"hasChannelDiscount":{"type":"boolean"}},"description":"Pricing information for this ancillary."},"PageBookingView_Supplier":{"type":"object","properties":{"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/BookingView_Supplier"}},"number":{"type":"integer","format":"int32"},"sort":{"type":"array","items":{"$ref":"#/components/schemas/SortObject"}},"first":{"type":"boolean"},"last":{"type":"boolean"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject_Supplier"},"empty":{"type":"boolean"}}},"PayoutFee_Supplier":{"required":["candidate","description","fee","identifier","type"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique system ID.","format":"uuid"},"fee":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"type":{"type":"string","description":"Type of fee","enum":["FX","SERVICE_CHARGE"]},"candidate":{"type":"string","description":"Who pays for this fee","enum":["PAYOR","PAYEE"]},"description":{"type":"string","description":"Withdrawal fee description"}},"description":"Fees incurred when making the withdrawal."},"Payout_Supplier":{"required":["beneficiaryIdentifier","created","entry","externalPayeeIdentifier","identifier","status","type","vendor","vendorIdentifier","vendorName","vendorTokenKey"],"type":"object","properties":{"vendor":{"type":"string","description":"Name of integration vendor","example":"STRIPE","enum":["STRIPE","AGENT","NMI","WISE"]},"vendorIdentifier":{"type":"string","description":"Which acquirer account we return fund from."},"vendorName":{"type":"string","description":"Name of regional acquirer account."},"vendorTokenKey":{"type":"string","description":"Key to help load Stripe for the correct region. Could be helpful for other vendors as well."},"identifier":{"type":"string","description":"Unique system ID.","format":"uuid"},"beneficiaryIdentifier":{"type":"string","description":"Beneficiary ID.","format":"uuid"},"externalPayeeIdentifier":{"type":"string","description":"This would be the cardholder ID for VCCs.","example":"stripe-cardholder-1"},"type":{"type":"string","description":"Type of withdrawal.","example":"BANK_TRANSFER","enum":["BANK_TRANSFER","VCC"]},"entry":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"fees":{"type":"array","description":"Fees incurred when making the withdrawal.","items":{"$ref":"#/components/schemas/PayoutFee_Supplier"}},"created":{"type":"string","description":"When the payout record was created.","format":"date-time"},"description":{"type":"string","description":"Textual response from provider","example":"Card created successfully"},"payoutId":{"type":"string","description":"The identifier that was generated when scheduling the payout. This will come from the payout provider such as Stripe.","example":"stripe-card-1"},"referenceCode":{"type":"string","description":"The transaction code that was generated when the funds move out of TripPay's account. This will come from the payout provider such as Stripe. E.g. For VCCs, it will occur when an authorization takes place.","example":"ABC1234"},"referenceCodeDate":{"type":"string","description":"The time the funds were withdrawn","format":"date-time"},"status":{"type":"string","description":"Status of withdrawal.","example":"SCHEDULED","enum":["INITIATED","ACTIVE","INACTIVE","FAILED","CANCELLED","COMPLETE"]}},"description":"Payout keeps track of all outgoing funds for a certain account."},"PendingRefund_Supplier":{"required":["captureAmountRefundModifier","displayAmountRefundModifier","internalAmountRefundModifier","refundIdentifier","sourceAmountRefundModifier","supplierAmountRefundModifier"],"type":"object","properties":{"refundIdentifier":{"type":"string","description":"This is the refund identifier located on the root bookingContract.refunds object","example":"refund-1"},"sourceAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original source amount after a refund occurred","example":5},"displayAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original display amount after a refund occurred","example":5},"supplierAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original supplier amount after a refund occurred","example":5},"internalAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original internal amount after a refund occurred","example":5},"captureAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original capture amount after a refund occurred","example":5}},"description":"When a refund is first requested, it ends up here. Once it is applied, it moves out of this list and into the parent modifier property"},"Personal_Supplier":{"type":"object","properties":{"gender":{"type":"string","description":"Identifier the gender of the customer.","enum":["MALE","FEMALE","OTHER"]},"birthDate":{"type":"string","description":"Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.","format":"date"},"maritalStatus":{"type":"string","description":"Marital status of the traveler.","enum":["ANNULLED","COHABITATING","DIVORCED","ENGAGED","MARRIED","SEPARATED","SINGLE","WIDOWED","UNKNOWN"]},"childQuantity":{"type":"integer","description":"The number of children of the customer.","format":"int32"},"citizenship":{"type":"string","description":"Name of the (self-professed) country that is clamided for citizenship."},"address1":{"type":"string","description":"Address line 1"},"address2":{"type":"string","description":"Address line 2"},"city":{"type":"string","description":"City"},"state":{"type":"string","description":"State"},"postalCode":{"type":"string","description":"Postal code"},"country":{"type":"string","description":"Country"},"preferredCurrency":{"type":"string","description":"Type of funds preferred for reviewing monetary values, in ISO 4217 codes","example":"USD"},"language":{"type":"string","description":"The primary language of the customer"},"contactPerson":{"type":"array","items":{"$ref":"#/components/schemas/Contact_Supplier"}},"physChallName":{"type":"array","items":{"type":"string","description":"Array of customer's physical challenges"}},"petInfo":{"type":"array","items":{"$ref":"#/components/schemas/PetInfoDto_Supplier"}}},"description":"Detailed customer information for this profile"},"PetInfoDto_Supplier":{"required":["name","type"],"type":"object","properties":{"name":{"type":"string","description":"Pet name"},"type":{"type":"string","description":"Pet type"}},"description":"Array of customer's pets"},"Preferences_Supplier":{"type":"object","properties":{"propertyLocationPref":{"type":"string","description":"Indicates preference for hotel property locations."},"propertyTypePref":{"type":"string","description":"Indicates preference for hotel property types."},"hotelChainPref":{"type":"string","description":"Identifies a preferred company by name."},"propertyAmenityPref":{"type":"array","description":"Indicates preferences for hotel property amenities.","items":{"type":"string"}},"recreationSrvcPref":{"type":"array","description":"Indicates preference for the type of recreation services in a hotel","items":{"type":"string"}},"businessSrvcPref":{"type":"array","description":"Indicates preference for type of business services in a hotel","items":{"type":"string"}},"securityFeaturePref":{"type":"array","description":"Indicates preference of rtype of security features in a hotel","items":{"type":"string"}},"physChalFeaturePref":{"type":"array","description":"Indicates preferences for type of features required to meet the needs of persons with physical challenges, disabilities, etc.","items":{"type":"string","description":"Indicates preferences for type of features required to meet the needs of persons with physical challenges, disabilities, etc."}},"smokingAllowed":{"type":"boolean","description":"Indicates preference for smooking allowed rooms.."},"roomLocationPref":{"type":"string","description":"Indicates preference for hotel room locations."},"bedTypePref":{"type":"string","description":"Indicates preferences for the size and features of hotel bed types."},"foodSrvcPref":{"type":"string","description":"Indicates preferences for type of food listener facilities in a hotel."},"roomAmenityPref":{"type":"array","description":"Indicates preferences for hotel room amenities.","items":{"type":"string"}},"guestType":{"type":"string","description":"Guest type"},"mealPref":{"type":"string","description":"Indicates meal preference."},"cuisinePref":{"type":"string","description":"Indicates cuisine preference."},"interestPref":{"type":"array","description":"Indicates interest preference","items":{"type":"string"}},"beveragePref":{"type":"array","description":"Indicates beverage preference.","items":{"type":"string"}},"foodPref":{"type":"array","description":"Indicates food preference.","items":{"type":"string"}},"allergies":{"type":"array","description":"Indicates allergies","items":{"type":"string"}},"petsPref":{"type":"array","description":"Indicates pet preferences","items":{"type":"string"}}},"description":"Customer preferences"},"ProfileUser_Supplier":{"type":"object","properties":{"firstName":{"type":"string","description":"First name","example":"Avid"},"lastName":{"type":"string","description":"Last name","example":"Travelman"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"phone":{"type":"string","description":"Telephone","example":"0123456789"},"profilePictureUrl":{"type":"string","description":"Profile picture URL"},"fullName":{"type":"string","description":"Full name","readOnly":true,"example":"John Smith"}},"description":"User details"},"Profile_Supplier":{"required":["personal","preferences","profileIdentifier","share","user","userIdentifier"],"type":"object","properties":{"profileIdentifier":{"type":"string","description":"Profile identifier","format":"uuid"},"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"share":{"type":"boolean","description":"Indicates whether the user wants to share this profile of themselves with hotel(s)"},"user":{"$ref":"#/components/schemas/ProfileUser_Supplier"},"personal":{"$ref":"#/components/schemas/Personal_Supplier"},"preferences":{"$ref":"#/components/schemas/Preferences_Supplier"}},"description":"Optional profile record"},"PropertyPolicy_Supplier":{"required":["checkInTime","checkOutTime","childrenAllowed","internetAvailability","internetConnectionLocation","internetConnectionType","parkingAccess","parkingAvailability","petsAllowed"],"type":"object","properties":{"childrenAllowed":{"type":"boolean","description":"Indicates whether property allows children","example":true,"default":false},"childrenMinimumAge":{"type":"integer","description":"When a property allows children, it can also indicate what the minimum age is for children to be allowed.","format":"int32","example":6},"internetAvailability":{"type":"string","description":"Indicates the availability of internet on the property.","example":"YES","enum":["YES","NO","YES_PAID"]},"internetConnectionType":{"type":"string","description":"Indicates how guests can access the Internet on the property.","example":"WIFI","enum":["WIFI","CABLE"]},"internetConnectionLocation":{"type":"string","description":"Indicates where internet is available in and around the property.","example":"ENTIRE_PROPERTY","enum":["ENTIRE_PROPERTY","PUBLIC_AREAS","ALL_ROOMS","SOME_ROOMS","BUSINESS_CENTER"]},"parkingAvailability":{"type":"string","description":"Indicates whether parking is available at the property.","example":"YES","enum":["YES","NO","YES_PAID"]},"parkingAccess":{"type":"string","description":"Indicates what type of parking is available at the property.","example":"PRIVATE","enum":["PRIVATE","PUBLIC"]},"petsAllowed":{"type":"boolean","description":"Indicates whether pets are allowed on the property. Note: There are thousand different kinds of pets. Just because the property allows small dogs does not mean the guest can bring a python. Always best to check with property.","example":true,"default":false},"checkOutTime":{"type":"string","description":"When the guest has to check out.","example":"10:00"},"checkInTime":{"type":"string","description":"When the guest can check in.","example":"14:00"}},"description":"Outlines basic policies for the property."},"Quote_Supplier":{"required":["exchangeRate","source","target","timestamp"],"type":"object","properties":{"source":{"type":"string","description":"Source"},"target":{"type":"string","description":"Target"},"exchangeRate":{"type":"number","description":"Exchange rate"},"timestamp":{"type":"integer","description":"Timestamp","format":"int64"}},"description":"The quote used to create totalCapturePrice."},"RatePlanLevelFee_Supplier":{"required":["descriptions","fixedAmount","type"],"type":"object","properties":{"descriptions":{"type":"array","description":"List of localized descriptions for this fee.","items":{"$ref":"#/components/schemas/LocalizedDescription_Supplier"}},"fixedAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"type":{"type":"string","description":"Rate plan fee type","example":"PER_DAY","enum":["PER_DAY","PER_STAY","PER_PERSON_PER_DAY","PER_PERSON_PER_STAY"]}},"description":"What the guest is paying extra for"},"RatePlan_Supplier":{"required":["allInclusive","allInclusivePlusAlcohol","breakfast","brunch","cancellationPolicyIdentifier","dinner","enabled","hotelIdentifier","identifier","lunch","name","prepaid"],"type":"object","properties":{"identifier":{"type":"string","description":"Rate plan identifier","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Hotel Identifier","format":"uuid"},"name":{"type":"string","description":"Provides the name of the rate plan.","example":"BAR 1"},"prepaid":{"type":"boolean","description":"When true, indicates if the rate is a prepaid rate.","example":false,"default":false},"enabled":{"type":"boolean","description":"Whether rate plan is active or not.","example":false,"default":false},"breakfast":{"type":"boolean","description":"When true, indicates breakfast is included.","example":false,"default":false},"brunch":{"type":"boolean","description":"When true, indicates brunch is included.","example":false,"default":false},"lunch":{"type":"boolean","description":"When true, indicates lunch is included.","example":false,"default":false},"dinner":{"type":"boolean","description":"When true, indicates dinner is included.","example":false,"default":false},"allInclusive":{"type":"boolean","description":"Everything included except alcohol","example":false,"default":false},"allInclusivePlusAlcohol":{"type":"boolean","description":"Everything included with alcohol","example":false,"default":false},"sellStartDate":{"type":"string","description":"Set a start date for when to start selling this rate. When sellStartDate and sellEndDate are set, this rate is only available for sale within that date range.","format":"date"},"sellEndDate":{"type":"string","description":"Set an end date for when to finish selling this rate. When sellStartDate and sellEndDate are set, this rate is only available for sale within that date range.","format":"date"},"stayStartDate":{"type":"string","description":"Set a start date for when the guest can visit. When stayStartDate and stayEndDate are set, this rate is only available for stay within that date range.","format":"date"},"stayEndDate":{"type":"string","description":"Set an end date for when the guest can visit. When stayStartDate and stayEndDate are set, this rate is only available for stay within that date range.","format":"date"},"loyaltyPointsAccrue":{"type":"boolean","description":"Property honors loyalty points with this rate plan.","example":false,"default":false},"maxAdvanceBookingOffset":{"type":"integer","description":"Maximum days before the arrival date for which this rate plan may be booked.","format":"int32","example":10},"minAdvanceBookingOffset":{"type":"integer","description":"Minimum days before the arrival date for which this rate plan may be booked.","format":"int32","example":3},"minTotalOccupancy":{"type":"integer","description":"Defines the minimum number of total occupants required for this rate plan.","format":"int32","example":4},"maxTotalOccupancy":{"type":"integer","description":"Defines the maximum number of total occupants required for this rate plan.","format":"int32","example":4},"minLOS":{"type":"integer","description":"Indicates the minimum length of stay required for this rate plan.","format":"int32","example":3},"maxLOS":{"type":"integer","description":"Indicates the maximum length of stay.","format":"int32","example":5},"minAge":{"type":"integer","description":"The minimum age to qualify for this rate plan.","format":"int32","example":26},"maxAge":{"type":"integer","description":"The maximum age to qualify for this rate plan.","format":"int32","example":50},"ratePlanLevelFees":{"type":"array","description":"This can be a one-time fee such as a cleaning fee","items":{"$ref":"#/components/schemas/RatePlanLevelFee_Supplier"}},"availableDaysOfWeek":{"$ref":"#/components/schemas/DowPatternGroup_Supplier"},"arrivalDaysOfWeek":{"$ref":"#/components/schemas/DowPatternGroup_Supplier"},"departureDaysOfWeek":{"$ref":"#/components/schemas/DowPatternGroup_Supplier"},"requiredDaysOfWeek":{"$ref":"#/components/schemas/DowPatternGroup_Supplier"},"earlyCheckInCharge":{"$ref":"#/components/schemas/VariableCharge_Supplier"},"lateCheckOutCharge":{"$ref":"#/components/schemas/VariableCharge_Supplier"},"cancellationPolicyIdentifier":{"type":"string","description":"The cancellation policy for this rate plan.","example":"cancellation-policy-1"},"cancellationPolicy":{"$ref":"#/components/schemas/CancellationPolicy_Supplier"},"cancellationPolicyExceptions":{"$ref":"#/components/schemas/CancellationPolicyExceptions_Supplier"},"singleOccupancyRateModifier":{"$ref":"#/components/schemas/VariableCharge_Supplier"},"extraPaxRateModifier":{"$ref":"#/components/schemas/VariableCharge_Supplier"},"extraChildRateModifier":{"$ref":"#/components/schemas/VariableCharge_Supplier"}},"description":"Rate plan used for this stay"},"Refund_Supplier":{"required":["cancelOnRefund","created","description","identifier","reasonType","refund","requestResponse","requestStatus","requestType","statusType"],"type":"object","properties":{"identifier":{"type":"string","description":"A unique identifier","example":"refund-1"},"acquirerRefundIdentifier":{"type":"string","description":"The acquirer refund identifier. Will get attached once it comes in on the webhook.","example":"r-123456"},"requestedByIdentifier":{"type":"string","description":"The SSO person / entity that requested the refund.","example":"user-1"},"refund":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"created":{"type":"string","description":"When the amount was refunded","format":"date-time"},"description":{"type":"string","description":"A description of the refund that can be displayed to booker","example":"Customer made a mistake"},"reasonType":{"type":"string","description":"A description of the refund that can be displayed to booker","example":"DUPLICATE","enum":["DUPLICATE","FRAUDULENT","REQUESTED_BY_CUSTOMER","GUEST_COMPLAINT","GUEST_BOOKED_INCORRECT_DATE","GUEST_SICK","OVERBOOKING","EMERGENCY","FLIGHT_CANCELLED","DEATH_IN_FAMILY","OTHER","EXPIRED_UNCAPTURED_CHARGE"]},"cancelOnRefund":{"type":"string","description":"Whether to cancel the booking alongside requesting a refund.","enum":["NONE","CANCEL_ON_SUCCESSFUL_REFUND","CANCEL_REGARDLESS"]},"statusType":{"type":"string","description":"Status of the refund","example":"SUCCEEDED","enum":["PENDING","SUCCEEDED","CANCELED","REQUIRES_ACTION","FAILED"]},"requestType":{"type":"string","description":"The entity making the refund request","example":"BY_ADMIN","enum":["BY_SUPPLIER","BY_ADMIN","BY_STRIPE","BY_SYSTEM","BY_AGENT"]},"requestStatus":{"type":"string","description":"Status of the refund request","example":"APPROVED","enum":["PENDING","APPROVED","REJECTED"]},"requestResponse":{"type":"string","description":"Admin may choose to respond to the refund request made by the hotel","example":"We have rejected your request. Your cancellation policy does not warrant a manual refund."},"receiptUrl":{"type":"string","description":"This is the receipt url that contains a friendly web confirmation page. Comes in on the webhook.","example":"https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xSXcxazVBQ3F2UW9nN1IxKIPqo54GMgbHKn45YQY6LBbCZ62655YzamuWDVeWAaw7uApCrxewxjSsZX4C9Lef5jY9JeYFrOVx3IaI"},"retries":{"type":"integer","description":"In case a TripPay admin has to go in and re-send the refund request to Stripe, we want to not to the same calculations again when a retry is executed so we keep track of retries here.","format":"int32","example":0,"default":0},"allocation":{"type":"string","description":"The type of refund determines how the funds are deducted each beneficiary.","example":"EQUAL_DISTRIBUTION","default":"EQUAL_DISTRIBUTION","enum":["FROM_SALE_ONLY","EQUAL_DISTRIBUTION","CUSTOMERS_ONLY"]}},"description":"Refund objects allow you to refund a charge that has previously been created but not yet refunded. Funds will be refunded to the credit or debit card that was originally charged."},"ReportingAncillary_Supplier":{"type":"object","properties":{"name":{"type":"string","description":"Full name of ancillary in English."},"type":{"type":"string","description":"The type","enum":["LODGING","RAIL","AIR","CAR","CRUISE","PACKAGE","ADD_ON","RENTAL","EXPERIENCE","ANCILLARY_BOOKING","ANCILLARY_FEE"]},"grossAmount":{"type":"number","description":"The gross amount."},"netAmount":{"type":"number","description":"The gross amount minus fees and commissions."},"netAmountWithRefund":{"type":"number","description":"The gross amount minus fees and commissions."},"currency":{"type":"string","description":"The currency for these amounts."}},"description":"Displays ancillary accounting details"},"ReportingDailyRate_Supplier":{"type":"object","properties":{"date":{"type":"string","description":"The rate date.","format":"date"},"baseAmount":{"type":"number","description":"The rate given to us by channel manager / CRS / PMS."},"grossAmount":{"type":"number","description":"The derived amount based on promotions, member discounts etc within our platform."},"netAmount":{"type":"number","description":"The gross amount minus fees and commissions."},"netAmountWithRefund":{"type":"number","description":"The net amount minus potential refund. Null if booking contains no refund."},"currency":{"type":"string","description":"The currency for these amounts."}},"description":"Displays rate accounting details"},"ReportingExtraCharge_Supplier":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"grossAmount":{"type":"number"},"netAmount":{"type":"number"},"netAmountWithRefund":{"type":"number"},"currency":{"type":"string"}},"description":"Displays extra charge accounting details."},"RoomConfiguration_Supplier":{"required":["adults"],"type":"object","properties":{"adults":{"minimum":1,"type":"integer","description":"Number of adults","format":"int32","example":2,"default":1},"children":{"type":"array","description":"Children configurations","items":{"$ref":"#/components/schemas/Child_Supplier"}}},"description":"Room Configuration"},"RoomStay_Supplier":{"required":["activeCancellationPolicy","adults","bedroomConfiguration","children","endDate","extraCharges","policy","price","ratePlan","room","roomRateIdentifier","roomRateInternalName","rooms","startDate"],"type":"object","properties":{"policy":{"$ref":"#/components/schemas/PropertyPolicy_Supplier"},"room":{"$ref":"#/components/schemas/GuestRoom_Supplier"},"rooms":{"type":"integer","description":"Number of rooms. Always 1 since we switched to creating one booking per room.","format":"int32","example":1,"default":1},"bedroomConfiguration":{"$ref":"#/components/schemas/BedroomConfiguration_Supplier"},"adults":{"type":"integer","description":"The actual amount of adults as determined by the hotel's policy.","format":"int32","example":2,"default":2},"children":{"type":"integer","description":"The actual amount of children as determined by the hotel's policy.","format":"int32","example":0,"default":0},"startDate":{"type":"string","description":"Stay start date","format":"date","example":"2021-12-24"},"endDate":{"type":"string","description":"Stay end date","format":"date","example":"2021-12-31"},"price":{"$ref":"#/components/schemas/StayRate_Supplier"},"roomRateIdentifier":{"type":"string","description":"Master rate identifier","format":"uuid"},"roomRateInternalName":{"type":"string","description":"Master rate internal name","example":"Master Rate 1"},"ratePlan":{"$ref":"#/components/schemas/RatePlan_Supplier"},"perkTypes":{"type":"array","description":"List of perks that came with the master rate","example":["PERK_FREE_DRINK_VOUCHER","PERK_EARLY_CHECKIN"],"items":{"type":"string","description":"List of perks that came with the master rate","example":"[\"PERK_FREE_DRINK_VOUCHER\",\"PERK_EARLY_CHECKIN\"]","enum":["PERK_LOYALTY_POINTS","PERK_WINE","PERK_FREE_DRINK_VOUCHER","PERK_FREE_MEAL_TWO_PEOPLE","PERK_FREE_ONE_HOUR_MASSAGE","PERK_TWENTY_PERCENT_FOOD_BEVERAGE_DISCOUNT","PERK_TWENTY_PERCENT_SPA_DISCOUNT_VOUCHER","PERK_GUARANTEED_UPGRADE","PERK_EARLY_CHECKIN","PERK_ROOM_UPGRADE","PERK_LATE_CHECKOUT","PERK_AIRPORT_TRANSFER","PERK_AIRPORT_PICK_UP","PERK_BOTTLE_CHAMPAGNE_ON_ARRIVAL","PERK_BOTTLE_SPARKLING_WINE_ON_ARRIVAL","PERK_BOTTLE_WINE_ON_ARRIVAL"]}},"extraCharges":{"$ref":"#/components/schemas/ExtraCharges_Supplier"},"activeCancellationPolicy":{"$ref":"#/components/schemas/CancellationPolicy_Supplier"},"cancellableByHotel":{"type":"boolean"},"cancellableWithPotentialCharge":{"type":"boolean"},"cancellable":{"type":"boolean"},"sourceTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"roomNights":{"type":"integer","description":"Total number of nights the guest stays at the hotel. -1 indicates there is an error.","format":"int64","example":2},"guests":{"type":"integer","format":"int32"},"rateSource":{"type":"string"},"userSpecifiedCurrencyTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"}},"description":"All information about the room that was booked."},"SimpleDateTimeItinerary_Supplier":{"required":["adults","children","endDate","startDate"],"type":"object","properties":{"startDate":{"type":"string","description":"Start date","format":"date-time"},"endDate":{"type":"string","description":"End date","format":"date-time"},"adults":{"minimum":0,"type":"integer","description":"Number of adults","format":"int32"},"children":{"minimum":0,"type":"integer","description":"Number of children","format":"int32"},"nights":{"type":"integer","description":"Total number of room nights","format":"int64","readOnly":true},"hours":{"type":"integer","description":"Number of hours between start and end dates. Used for itineraries that require bookings that occur within hours and not days. E.g. Meeting room reservation.","format":"int64","readOnly":true},"guests":{"type":"integer","description":"Total number of adults and children","format":"int32","readOnly":true}},"description":"SimpleDateTimeItinerary outlines stay dates, number of adults and children"},"SimpleDescription_Supplier":{"required":["description","language"],"type":"object","properties":{"name":{"type":"string","description":"Use as title or short text description","example":"An example title"},"description":{"maxLength":2147483647,"minLength":1,"type":"string","description":"Longer text description","example":"This is a longer description in the specified language."},"language":{"maxLength":2,"minLength":2,"type":"string","description":"Indicate which language this description is written in.","example":"en","default":"en"}}},"SimpleMultimedia_Supplier":{"required":["height","identifier","multimediaIdentifier","source","type","width"],"type":"object","properties":{"multimediaIdentifier":{"type":"string","description":"Document identifier","format":"uuid"},"identifier":{"type":"string","description":"Use this identifier to communicate with Cloudinary.","example":"cloudinary-image-1"},"type":{"type":"string","description":"Whether Cloudinary media is a VIDEO or IMAGE.","example":"IMAGE","enum":["IMAGE","VIDEO","AUDIO","RAW"]},"source":{"type":"string","description":"Currently ONLY using Cloudinary to store all image / video assets.","example":"CLOUDINARY","default":"CLOUDINARY","enum":["YOUTUBE","CLOUDINARY"]},"sort":{"type":"integer","description":"Sort allows you to control how you want to sort this record in a list of media records.","format":"int32","example":10,"default":999},"angle":{"type":"string","description":"Media angle","example":"-90"},"width":{"type":"integer","description":"Media width in pixels.","format":"int32","example":2560},"height":{"type":"integer","description":"Media height in pixels.","format":"int32","example":1600},"published":{"type":"boolean","description":"Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.","example":true,"default":false},"category":{"type":"string","description":"Supported OTA specification `PIC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"descriptions":{"type":"array","description":"Localized media captions to give user some context about where this media was taken.","items":{"$ref":"#/components/schemas/SimpleDescription_Supplier"}},"lifestyleType":{"type":"string","description":"Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.","example":"LIFESTYLE_HEALTH_FITNESS","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]},"attribution":{"type":"array","description":"Whether image has attribution properties","items":{"$ref":"#/components/schemas/ImageAttribution_Supplier"}},"isLandscape":{"type":"boolean","description":"True if media width is greater or equal to height","example":true}},"description":"Multimedia that contains less information than Multimedia object"},"Social_Supplier":{"type":"object","properties":{"type":{"type":"string","description":"Type of social network.","enum":["FACEBOOK","INSTAGRAM","SKYPE","TRIP_ADVISOR","TWITTER","GOOGLE_PLUS","WHATSAPP","LINE","WECHAT","VIBER","SNAPCHAT","WEIBO","RENREN","WEBSITE","QQ","TIKTOK"]},"location":{"type":"string","description":"URL or social network identifier to social network profile"},"enabled":{"type":"boolean","description":"Whether social network is available for use."}},"description":"Social network"},"StayRate_Supplier":{"type":"object","properties":{"userSpecifiedCurrencyBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceExtraPaxModifier":{"type":"number","description":"Extra person modifier in hotel currency.","example":15},"internalExtraPaxModifier":{"type":"number","description":"Extra person modifier in wink currency","example":15},"userSpecifiedCurrencyExtraPaxModifier":{"type":"number","description":"Extra person modifier in user specified currency","example":15},"sourceExtraChildModifier":{"type":"number","description":"Extra child modifier in hotel currency","example":15},"internalExtraChildModifier":{"type":"number","description":"Extra child modifier in wink currency","example":15},"userSpecifiedCurrencyExtraChildModifier":{"type":"number","description":"Extra child modifier in user specified currcency","example":15},"sourceSingleOccupantModifier":{"type":"number","description":"Single occupant modifier in hotel currency","example":-15},"internalSingleOccupantModifier":{"type":"number","description":"Singe occupant modifier in wink currency","example":-15},"userSpecifiedCurrencySingleOccupantModifier":{"type":"number","description":"Single occupant modifier in user specified currency","example":-15},"sourcePromotionalModifier":{"type":"number","description":"Rate discount modifiers in hotel currency","example":-40},"internalPromotionalModifier":{"type":"number","description":"Rate discount modifiers in wink currency","example":-40},"userSpecifiedCurrencyPromotionalModifier":{"type":"number","description":"Rate discount modifiers in user specified currency","example":-40},"sourcePremiumModifier":{"type":"number","description":"Rate premiums modifiers in hotel currency","example":40},"internalPremiumModifier":{"type":"number","description":"Rate premiums modifiers in wink currency","example":40},"userSpecifiedCurrencyPremiumModifier":{"type":"number","description":"Rate premiums modifiers in user specified currency","example":40},"sourceChannelModifier":{"type":"number","description":"Channel / Membership modifier in hotel currency","example":-10},"internalChannelModifier":{"type":"number","description":"Channel / Membership modifier in wink currency","example":-10},"userSpecifiedCurrencyChannelModifier":{"type":"number","description":"Channel / Membership modifier in user specified currency","example":-10},"quantity":{"type":"integer","description":"Quantity","format":"int32"},"minOccupancy":{"type":"integer","description":"Minimum occupancy","format":"int32"},"maxOccupancy":{"type":"integer","description":"Maximum occupancy","format":"int32"},"rateSource":{"type":"string","description":"Source"},"promotionalDiscountPercent":{"type":"number","description":"Promotional discount percent","format":"float"},"channelDiscountPercent":{"type":"number","description":"Chanel discount percent","format":"float"},"premiumPercent":{"type":"number","description":"Premium percent","format":"float"},"available":{"type":"boolean","description":"Available"},"sourceToUserCurrencyQuote":{"$ref":"#/components/schemas/Quote_Supplier"},"sourceToInternalCurrencyQuote":{"$ref":"#/components/schemas/Quote_Supplier"},"offerDetails":{"type":"array","description":"Localized text of the discount","items":{"$ref":"#/components/schemas/LocalizedDescription_Supplier"}},"promotionalCodes":{"type":"array","description":"Promotional codes","items":{"type":"string"}},"userSpecifiedCurrencyTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"userSpecifiedCurrencyAveragePricePerNight":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalAveragePricePerNight":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceAveragePricePerNight":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalDiscountPercent":{"type":"number","format":"float"}},"description":"Price details"},"SubCountry_Supplier":{"type":"object","properties":{"name":{"type":"string","description":"Sub-country name","example":"New York"},"asciiName":{"type":"string","description":"Sub-country ascii name","example":"New York"},"geoNameId":{"type":"string","description":"Sub-country GeoNames identifier","example":"5128638"}},"description":"Country subdivision such as a state or province"},"SubSubCountry_Supplier":{"type":"object","properties":{"name":{"type":"string"},"asciiName":{"type":"string"},"geoNameId":{"type":"string"}},"description":"Country sub sub division"},"SupplierContractItemPolicy_Supplier":{"required":["refundable"],"type":"object","properties":{"refundable":{"type":"boolean","description":"Whether this booking is refundable or not.","example":true},"advanceCancellationFreeOfCharge":{"type":"string","description":"When the cancellation policy is refundable, this flag can be set and indicates there is more rules involved than just a no-questions-asked refundable.","example":"UNTIL_EIGHTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","enum":["UNTIL_EIGHTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","UNTIL_FOURTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","ONE_DAY_BEFORE_ARRIVAL","TWO_DAYS_BEFORE_ARRIVAL","THREE_DAYS_BEFORE_ARRIVAL","FIVE_DAYS_BEFORE_ARRIVAL","SEVEN_DAYS_BEFORE_ARRIVAL","FOURTEEN_DAYS_BEFORE_ARRIVAL","TWENTYONE_DAYS_BEFORE_ARRIVAL","THIRTY_DAYS_BEFORE_ARRIVAL","FOURTY_TWO_DAYS_BEFORE_ARRIVAL","SIXTY_DAYS_BEFORE_ARRIVAL"]},"refundableCancellationCharge":{"type":"string","description":"If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.","example":"FIFTY_PERCENT","enum":["FIRST_NIGHT","THIRTY_PERCENT","FIFTY_PERCENT","SIXTY_PERCENT","SEVENTY_PERCENT","NINENTY_PERCENT","ONE_HUNDRED_PERCENT"]},"noShowCharge":{"type":"string","description":"In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.","example":"SAME_AS_CANCELLATION_FEE","enum":["SAME_AS_CANCELLATION_FEE","ONE_HUNDRED_PERCENT_OF_TOTAL_CHARGE"]},"nonRefundableCancellationCharge":{"type":"string","description":"When the cancellation policy is non-refundable, this flag can be set and indicates there is more rules involved to calculate what the guest will owe in case of a cancellation.","example":"SEVENTY_PERCENT","enum":["FIRST_NIGHT","TEN_PERCENT","THIRTY_PERCENT","FIFTY_PERCENT","SEVENTY_PERCENT"]},"nonRefundableDeadline":{"type":"string","description":"The non-refundable charge might can have a deadline. If that deadline passes, the guest might be charged more.","example":"SEVEN_DAYS_BEFORE_ARRIVAL","enum":["ONE_DAY_BEFORE_ARRIVAL","TWO_DAYS_BEFORE_ARRIVAL","THREE_DAYS_BEFORE_ARRIVAL","FIVE_DAYS_BEFORE_ARRIVAL","SEVEN_DAYS_BEFORE_ARRIVAL","FOURTEEN_DAYS_BEFORE_ARRIVAL","TWENTYONE_DAYS_BEFORE_ARRIVAL","THIRTY_DAYS_BEFORE_ARRIVAL","FOURTY_TWO_DAYS_BEFORE_ARRIVAL","SIXTY_DAYS_BEFORE_ARRIVAL"]},"nonRefundableAfterDeadlineCancellationCharge":{"type":"string","description":"If the guest does not honor the non-refundable deadline rule, this charge dictates what she owes after the deadline passes.","example":"ONE_HUNDRED_PERCENT","enum":["FIRST_NIGHT","TEN_PERCENT","THIRTY_PERCENT","FIFTY_PERCENT","SEVENTY_PERCENT","ONE_HUNDRED_PERCENT"]},"externalIdentifier":{"type":"string","description":"Optional geoname externalIdentifier to remote policy.","example":"policy-1"},"fullyRefundable":{"type":"boolean"},"partiallyRefundable":{"type":"boolean"}},"description":"Outlines the policy for this item."},"TransactionalTravelInventory_Supplier":{"required":["basePrice","descriptions","discountedPrice","identifier","name","pricingType"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique transactional identifier","format":"uuid"},"name":{"type":"string","description":"Internal name of transactional inventory.","example":"1 hour session"},"descriptions":{"maxItems":2147483647,"minItems":1,"type":"array","description":"Localized descriptions describing inventory.","items":{"$ref":"#/components/schemas/SimpleDescription_Supplier"}},"pricingType":{"type":"string","description":"How this inventory item should be priced.","enum":["PER_STAY","PER_DAY","PER_NIGHT","PER_USE","PER_HOUR","PER_PERSON","PER_PERSON_PER_NIGHT","PER_PERSON_PER_HOUR","PER_ADULT","PER_ADULT_PER_NIGHT","PER_ADULT_PER_HOUR","PER_CHILD","PER_CHILD_PER_NIGHT","PER_CHILD_PER_HOUR"]},"basePrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"discountedPrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"multimedias":{"type":"array","description":"List of images / videos of item.","items":{"$ref":"#/components/schemas/SimpleMultimedia_Supplier"}},"minPax":{"type":"integer","description":"Whether there is a limit to minimum group size.","format":"int32","example":2},"maxPax":{"type":"integer","description":"Whether there is a limit to maximum group size.","format":"int32","example":10},"percentDiscount":{"type":"number","description":"Calculates the percent difference between basePrice and discountedPrice.","format":"float","example":0.1},"percentPremium":{"type":"number","description":"Calculates the percent difference between basePrice and discountedPrice.","format":"float","example":0.1}},"description":"This is one bookable item that can stand alongside a restaurant / meeting room etc."},"TravelInventoryRecognition_Supplier":{"required":["category","identifier","maxRating","provider","rating","type"],"type":"object","properties":{"identifier":{"type":"string","description":"Recognition identifier.","format":"uuid"},"category":{"type":"string","description":"Recognition category.","example":"AWARD","enum":["THIRD_PARTY_REVIEW","PUBLICATION","AWARD"]},"type":{"type":"string","description":"Type of rating system the recognition operated on. This allows us to display the score properly.","example":"PERCENT_RATING","enum":["STAR_RATING","NUMERIC_RATING","PERCENT_RATING"]},"provider":{"type":"string","description":"The name of the entity that administers this recognition.","example":"Michelin"},"rating":{"minimum":0.0,"exclusiveMinimum":false,"type":"number","description":"The actual award or rating received by the hotel facility.","format":"float","example":8.5},"maxRating":{"type":"number","description":"Use this to let hotels indicate what the total score for this award is.","format":"float","example":10},"date":{"type":"string","description":"The date the award was received","format":"date","example":"2020-10-24"},"officialAppointmentInd":{"type":"boolean","description":"When true, this indicates the property has received official permission from the award provider to use the rating in publications and marketing materials; when false this permission has not been granted.","example":true},"ratingSymbol":{"type":"string","description":"Provides the symbol used in the rating. Used in conjunction with the Rating.","example":"*"}},"description":"Recognition for the ancillary inventory."},"UserSession_Supplier":{"required":["itinerary"],"type":"object","properties":{"itinerary":{"$ref":"#/components/schemas/Itinerary_Supplier"},"language":{"type":"string","description":"User's language preference","example":"en"},"currency":{"type":"string","description":"User's currency preference","example":"USD"},"promotionalCodes":{"type":"array","items":{"type":"string","description":"User can pass promotional codes to system to change prices.","example":"promo-1"}},"selectedRoomConfigurationIndex":{"type":"integer","description":"User can pass the current room configuration index to retrieve rates specifically for that room configuration.","format":"int32"},"lifestyle":{"type":"string","description":"The preferred user lifestyle.","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]}},"description":"User session information containing itinerary and other user related data."},"VariableCharge_Supplier":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.","enum":["FIXED","PERCENTAGE"]},"percent":{"type":"number","description":"A percentage of the total stay amount for an early check-in or late check-out","format":"float","example":0.25},"fixedAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"}}},"BookingOverviewRequest_Supplier":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of time series that should be used","example":"MONTH","enum":["HOUR","DAY","MONTH","YEAR"]},"units":{"type":"integer","description":"How many units of the timeseries type should be used","format":"int64","example":12}}},"AutoBaseUnitSteps_Supplier":{"type":"object","properties":{"milliseconds":{"type":"number"},"seconds":{"type":"number"},"minutes":{"type":"number"},"hours":{"type":"number"},"days":{"type":"number"},"weeks":{"type":"number"},"months":{"type":"number"},"years":{"type":"number"}},"description":"The time-interval steps when `baseUnit` is set either to `fit` or `auto`. The axis will try to divide the active period into the smallest possible units that yield `maxDateGroups` or less discrete intervals."},"AxisLine_Supplier":{"type":"object","properties":{"color":{"type":"string"},"dashType":{"type":"string","enum":["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"]},"visible":{"type":"boolean"},"width":{"type":"number"}},"description":"The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."},"AxisTicks_Supplier":{"title":"Minor ticks","type":"object","properties":{"color":{"type":"string"},"size":{"type":"number"},"step":{"type":"number"},"skip":{"type":"number"},"visible":{"type":"boolean"},"width":{"type":"number"}},"description":"The configuration of the category axis minor ticks."},"BookingAnalytics_Supplier":{"required":["charts"],"type":"object","properties":{"charts":{"type":"array","description":"Interesting property-level chart data overview","items":{"$ref":"#/components/schemas/LineChart_Supplier"}}}},"Border_Supplier":{"type":"object","properties":{"color":{"type":"string"},"dashType":{"type":"string","enum":["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"]},"width":{"type":"number"}}},"CategoryAxisCrosshairTooltip_Supplier":{"type":"object","properties":{"background":{"type":"string"},"border":{"$ref":"#/components/schemas/Border_Supplier"},"color":{"type":"string"},"font":{"type":"string"},"format":{"type":"string"},"padding":{"$ref":"#/components/schemas/Padding_Supplier"},"visible":{"type":"boolean"}}},"CategoryAxisCrosshair_Supplier":{"title":"Crosshair","type":"object","properties":{"color":{"type":"string"},"dashType":{"type":"string","enum":["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"]},"opacity":{"type":"number"},"visible":{"type":"boolean"},"width":{"type":"number"},"tooltip":{"$ref":"#/components/schemas/CategoryAxisCrosshairTooltip_Supplier"}},"description":"The configuration options of the crosshair. The crosshair is displayed when the `categoryAxis.crosshair.visible` option is set to `true`."},"CategoryAxisNotesIcon_Supplier":{"type":"object","properties":{"background":{"type":"string"},"border":{"$ref":"#/components/schemas/Border_Supplier"},"size":{"type":"number"},"type":{"type":"string","enum":["square","circle","triangle","cross"]},"visible":{"type":"boolean"}}},"CategoryAxisNotesLabel_Supplier":{"type":"object","properties":{"background":{"type":"string"},"border":{"$ref":"#/components/schemas/Border_Supplier"},"color":{"type":"string"},"font":{"type":"string"},"format":{"type":"string"},"position":{"type":"string","enum":["inside","outside"]},"rotation":{"type":"number"},"visible":{"type":"boolean"}}},"CategoryAxisNotes_Supplier":{"title":"Notes","type":"object","properties":{"data":{"type":"array","items":{"type":"object"}},"line":{"$ref":"#/components/schemas/NoteLine_Supplier"},"position":{"type":"string","enum":["top","bottom","left","right"]},"icon":{"$ref":"#/components/schemas/CategoryAxisNotesIcon_Supplier"},"label":{"$ref":"#/components/schemas/CategoryAxisNotesLabel_Supplier"}},"description":"The configuration of the category axis notes."},"CategoryAxisSelect_Supplier":{"title":"Select","type":"object","properties":{"from":{"type":"object"},"max":{"type":"object"},"min":{"type":"object"},"mousewheel":{"type":"object"},"to":{"type":"object"}},"description":"The selected axis range. If set, the axis selection is enabled. The range is index-based, starting from zero. Categories with indexes in the range (`select.from`, `select.to`) will be selected. That is, the last category in the range will not be included in the selection. If the categories are dates, the range has to be also specified with date values. Selection is only supported if the axis is horizontal."},"CategoryAxisTitle_Supplier":{"title":"Title","type":"object","properties":{"background":{"type":"string"},"border":{"$ref":"#/components/schemas/Border_Supplier"},"color":{"type":"string"},"font":{"type":"string"},"margin":{"$ref":"#/components/schemas/Margin_Supplier"},"padding":{"$ref":"#/components/schemas/Padding_Supplier"},"position":{"type":"string","enum":["top","bottom","left","right","center"]},"rotation":{"type":"number"},"text":{"type":"string"},"visible":{"type":"boolean"}},"description":"Title of axis"},"ChartCategoryAxisLabels_Supplier":{"title":"Labels","type":"object","properties":{"rotation":{"type":"string"}},"description":"The configuration of the axis labels."},"ChartCategoryAxisMajorGridLines_Supplier":{"title":"Major grid lines","type":"object","properties":{"visible":{"type":"boolean"}},"description":"The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the body of the Chart."},"ChartCategoryAxis_Supplier":{"title":"Category axis","type":"object","properties":{"autoBaseUnitSteps":{"$ref":"#/components/schemas/AutoBaseUnitSteps_Supplier"},"axisCrossingValue":{"type":"array","description":"The category index or the date (for date category axis) at which the first value axis crosses this axis. The category indices or the date (for date category axis) at which the value axes cross the category axis (when set as an array). To denote the far end of the axis, set an index greater than or equal to the Number of categories.","items":{"type":"object","description":"The category index or the date (for date category axis) at which the first value axis crosses this axis. The category indices or the date (for date category axis) at which the value axes cross the category axis (when set as an array). To denote the far end of the axis, set an index greater than or equal to the Number of categories."}},"background":{"type":"string","description":"The background color of the axis."},"baseUnit":{"type":"string","description":"The base time interval for the date axis. The default base unit is automatically determined by the minimum difference between subsequent categories. The supported values are: \n\n- `fit`\n- `milliseconds`\n- `seconds`\n- `minutes`\n- `hours`\n- `days`\n- `weeks`\n- `months`\n- `years`\nSetting `baseUnit` to `fit` sets such a base unit and `categoryAxis.baseUnitStep` that the total Number of categories does not exceed `categoryAxis.maxDateGroups`. Series data is aggregated for the specified base unit by using the `series.aggregate` function.","enum":["milliseconds","seconds","minutes","hours","days","weeks","months","years","auto","fit"]},"baseUnitStep":{"type":"number","description":"The step (interval) between the categories in base units. Setting it to `auto` sets the step to such a value that the total Number of categories does not exceed `categoryAxis.maxDateGroups`. The option is ignored if `categoryAxis.baseUnit` is set to `fit`."},"categories":{"type":"array","description":"The category names. The Chart creates a category for every item of the array.","items":{"type":"string","description":"The category names. The Chart creates a category for every item of the array."}},"color":{"type":"string","description":"The color to apply to all axis elements. Accepts a valid CSS color String, including hex and rgb. Can be overridden by `categoryAxis.labels.color` and `categoryAxis.line.color`."},"justified":{"type":"boolean","description":"If set to `true`, the Chart positions categories and series points on major ticks. This removes the empty space before and after the series. The default value is `false` except for `area`, `verticalArea`, `rangeArea`, and `verticalRangeArea`. The option is ignored if the `series.type` option is set to `bar`, `column`, `boxPlot`, `ohlc`, `candlestick`, or `waterfall`."},"line":{"$ref":"#/components/schemas/AxisLine_Supplier"},"majorGridLines":{"$ref":"#/components/schemas/ChartCategoryAxisMajorGridLines_Supplier"},"majorTicks":{"$ref":"#/components/schemas/AxisTicks_Supplier"},"max":{"title":"Max","type":"string","description":"The last date displayed on a date category axis or the index of the last category displayed on a category axis. By default, the max value is the same as the last category. This is often used in combination with the `categoryAxis.min` and `categoryAxis.roundToBaseUnit` options to set up a fixed date range.","format":"date-time"},"maxDateGroups":{"title":"Max date groups","type":"number","description":"The maximum Number of groups (categories) to display when `categoryAxis.baseUnit` is set to `fit` or `categoryAxis.baseUnitStep` is set to `auto`."},"maxDivisions":{"title":"Max divisions","type":"number","description":"The maximum Number of ticks and labels to display. Applicabable for date category axis."},"min":{"title":"Min","type":"string","description":"The first date which is displayed on a date category axis or the index of the first category whcih is displayed on a category axis. By default, the min value is the same as the first category. This is often used in combination with the `categoryAxis.max` and `categoryAxis.roundToBaseUnit` options to set up a fixed date range.","format":"date-time"},"minorGridLines":{"$ref":"#/components/schemas/GridLines_Supplier"},"minorTicks":{"$ref":"#/components/schemas/AxisTicks_Supplier"},"name":{"title":"Name","type":"string","description":"The unique axis name. Used to associate a series with a category axis, which utilizes the `series.categoryAxis` option."},"pane":{"title":"Pane","type":"string","description":"The name of the pane in which the category axis has to be rendered. If not set, the axis will be rendered in the first (default) pane."},"plotBands":{"title":"Plot bands","type":"array","description":"The plot bands of the category axis.","items":{"$ref":"#/components/schemas/PlotBand_Supplier"}},"reverse":{"title":"Reverse","type":"boolean","description":"If set to `true`, the category axis direction is reversed. By default, categories are listed from left to right and from bottom to top."},"roundToBaseUnit":{"title":"Round to base unit","type":"boolean","description":"If set to `true`, the Chart rounds the first and last date to the nearest base unit."},"startAngle":{"title":"Start angle","type":"number","description":"The angle (degrees) of the first category on the axis. Angles increase clockwise with zero to the left. Negative values are acceptable."},"type":{"title":"Type","type":"string","description":"The category axis type. The supported values are:\n\n- `category` Discrete category axis.- `date`\n Specialized axis for displaying chronological data.","enum":["category","date"]},"weekStartDay":{"title":"Week start day","type":"string","description":"The week start day when the `baseUnit` is set to `weeks`.","enum":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"crosshair":{"$ref":"#/components/schemas/CategoryAxisCrosshair_Supplier"},"labels":{"$ref":"#/components/schemas/ChartCategoryAxisLabels_Supplier"},"notes":{"$ref":"#/components/schemas/CategoryAxisNotes_Supplier"},"select":{"$ref":"#/components/schemas/CategoryAxisSelect_Supplier"},"title":{"$ref":"#/components/schemas/CategoryAxisTitle_Supplier"},"visible":{"title":"Visible","type":"boolean","description":"If set to `true`, the Chart displays the category axis. By default, the category axis is visible."}},"description":"The configuration options of the category axis."},"ChartLegend_Supplier":{"type":"object","properties":{"position":{"type":"string","description":"top | bottom | left | right"}},"description":"The configuration options for the chart legend."},"ChartSeriesDefaults_Supplier":{"type":"object","properties":{"type":{"type":"string","description":"The default type of the series.\n\nThe supported values are:\n\n- area\n- bar\n- bubble\n- bullet\n- candlestick\n- column\n- donut\n- funnel\n- line\n- ohlc\n- pie\n- polarArea\n- polarLine\n- polarScatter\n- radarArea\n- radarColumn\n- radarLine\n- rangeArea\n- rangeBar\n- rangeColumn\n- scatter\n- scatterLine\n- verticalArea\n- verticalBullet\n- verticalLine\n- verticalRangeArea\n- waterfall"}},"description":"The default options of all series."},"ChartSeries_Supplier":{"type":"object","properties":{"name":{"type":"string","description":"The name of the Chart series which is visible in the legend."},"data":{"type":"array","description":"The array of data items which represent the series data.\n\nYou can set it to:\n\n- Array of numbers. Supported when the series.type option is set to `area`, `bar`, `column`, `donut`, `pie`, `line`, or `waterfall`.\nThe Bubble series need arrays of three values—X value, Y value, and Size value—for example, [1, 1, 10]. The Scatter and ScatterLine series need arrays of two values—X value and Y value. The OHLC and Candlestick series need arrays of four values—open, high, low, and close. The RangeBar and RangeArea series need arrays of two values—the from and to value.","items":{"type":"number","description":"The array of data items which represent the series data.\n\nYou can set it to:\n\n- Array of numbers. Supported when the series.type option is set to `area`, `bar`, `column`, `donut`, `pie`, `line`, or `waterfall`.\nThe Bubble series need arrays of three values—X value, Y value, and Size value—for example, [1, 1, 10]. The Scatter and ScatterLine series need arrays of two values—X value and Y value. The OHLC and Candlestick series need arrays of four values—open, high, low, and close. The RangeBar and RangeArea series need arrays of two values—the from and to value."}}},"description":"The configuration of the chart series. The series type is determined by the value of the type field. If a type value is missing, the chart renders the type that is specified in `seriesDefaults`. Some options accept functions as arguments. These arguments are evaluated for each point which is supplied as a parameter. If no value is returned, the chart uses the `theme` or `seriesDefaults` values."},"ChartTitle_Supplier":{"type":"object","properties":{"text":{"type":"string"}},"description":"The configuration options for the chart title"},"ChartTooltip_Supplier":{"title":"Tool tip","type":"object","properties":{"visible":{"type":"boolean","description":"If set to `true`, the Chart displays the series tooltip. By default, the series tooltip is not displayed."},"format":{"type":"string","description":"The format of the labels. Uses the format method of IntlService. The available format placeholders are:\n\n- Area, Bar, Column, Funnel, Line, and Pie {0} - value\n- Bubble {0} - x value{1} - y value{2} - size value{3} - category name\n- Scatter and scatterLine {0} - x value{1} - y value\n- Candlestick and OHLC {0} - open value{1} - high value{2} - low value{3} - close value{4} - category name"}},"description":"The configuration options of the Chart series tooltips. The tooltip of the Chart series is displayed when the `tooltip.visible` option is set to `true`."},"ChartValueAxisLabels_Supplier":{"type":"object","properties":{"format":{"type":"string","description":"The format for displaying the labels. Uses the format method of IntlService. Contains one placeholder (`{0}`) which represents the category value."}},"description":"The axis labels configuration."},"ChartValueAxisLine_Supplier":{"type":"object","properties":{"visible":{"type":"boolean","description":"If set to true, the Chart displays the axis lines. By default, the axis lines are visible."}},"description":"The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."},"ChartValueAxis_Supplier":{"title":"Value axis","type":"object","properties":{"labels":{"$ref":"#/components/schemas/ChartValueAxisLabels_Supplier"},"line":{"$ref":"#/components/schemas/ChartValueAxisLine_Supplier"},"axisCrossingValue":{"type":"integer","description":"- (Only for objects) The value at which the category axis crosses this axis.\n- (Only for arrays) The value indices at which the category axes cross the value axis.\n- (Only for dates) The date at which the category axis crosses this axis.","format":"int32"},"majorUnit":{"type":"number","description":"The interval between major divisions. If `valueAxis.type` is set to `log`, the majorUnit value is used for the base of the logarithm.","format":"float"}},"description":"The configuration options of the value axis."},"GridLines_Supplier":{"title":"Minor grid lines","type":"object","properties":{"color":{"type":"string"},"dashType":{"type":"string","enum":["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"]},"skip":{"type":"number"},"step":{"type":"number"},"visible":{"type":"boolean"},"width":{"type":"number"}},"description":"The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the body of the Chart."},"LineChart_Supplier":{"type":"object","properties":{"identifier":{"type":"string","description":"Unique line chart identifier","format":"uuid"},"title":{"$ref":"#/components/schemas/ChartTitle_Supplier"},"legend":{"$ref":"#/components/schemas/ChartLegend_Supplier"},"seriesDefaults":{"$ref":"#/components/schemas/ChartSeriesDefaults_Supplier"},"series":{"type":"array","description":"The configuration of the chart series. The series type is determined by the value of the type field. If a type value is missing, the chart renders the type that is specified in `seriesDefaults`. Some options accept functions as arguments. These arguments are evaluated for each point which is supplied as a parameter. If no value is returned, the chart uses the `theme` or `seriesDefaults` values.","items":{"$ref":"#/components/schemas/ChartSeries_Supplier"}},"valueAxis":{"$ref":"#/components/schemas/ChartValueAxis_Supplier"},"categoryAxis":{"$ref":"#/components/schemas/ChartCategoryAxis_Supplier"},"tooltip":{"$ref":"#/components/schemas/ChartTooltip_Supplier"},"renderAs":{"title":"Render as","type":"string","description":"Sets the preferred rendering engine. If not supported by the browser, the Chart switches to the first available mode.\n\nThe supported values are:\n\n- svg (If available, renders the component as an inline .svg file.)- canvas (If available, renders the component as a canvas element.)"},"transitions":{"title":"Transitions","type":"boolean","description":"If set to `true`, the Chart plays animations when it displays the series. By default, animations are enabled."}},"description":"Interesting property-level chart data overview"},"Margin_Supplier":{"type":"object","properties":{"top":{"type":"number"},"right":{"type":"number"},"bottom":{"type":"number"},"left":{"type":"number"}}},"NoteLine_Supplier":{"type":"object","properties":{"color":{"type":"string"},"dashType":{"type":"string","enum":["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"]},"length":{"type":"number"},"width":{"type":"number"}}},"Padding_Supplier":{"type":"object","properties":{"top":{"type":"number"},"right":{"type":"number"},"bottom":{"type":"number"},"left":{"type":"number"}}},"PlotBand_Supplier":{"title":"Plot bands","type":"object","properties":{"color":{"type":"string"},"from":{"type":"string"},"opacity":{"type":"number"},"to":{"type":"string"}},"description":"The plot bands of the category axis."},"ReviewResponse_Supplier":{"required":["approvedImage","approvedText","responseFromHotel"],"type":"object","properties":{"responseFromHotel":{"type":"string","description":"Texual response from hotel to user's review.","example":"Thank you for coming. Lovely to hear you enjoyed your stay."},"approvedText":{"type":"boolean","description":"Property approves the use of guest review text with property profile.","example":true},"approvedImage":{"type":"boolean","description":"Property approves the use of guest generated image with property profile.","example":true}},"description":"Property response to review."},"EmptyRequestBody_Supplier":{"type":"object"},"BooleanResponse_Supplier":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether call to endpoint was successful or not."},"message":{"type":"string","description":"A message indicating more textual information. Mostly used to convey an error message."}},"description":"Boolean response"},"PropertyBookingRefundRequest_Supplier":{"required":["cancelOnRefund","description","refund","type"],"type":"object","properties":{"type":{"type":"string","description":"Type of reason","enum":["DUPLICATE","FRAUDULENT","REQUESTED_BY_CUSTOMER","GUEST_COMPLAINT","GUEST_BOOKED_INCORRECT_DATE","GUEST_SICK","OVERBOOKING","EMERGENCY","FLIGHT_CANCELLED","DEATH_IN_FAMILY","OTHER","EXPIRED_UNCAPTURED_CHARGE"]},"description":{"type":"string","description":"Textual description of why the refund is being requested","example":"Death in the family... dog died"},"refund":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"cancelOnRefund":{"type":"string","description":"Whether to cancel the booking alongside requesting a refund.","enum":["NONE","CANCEL_ON_SUCCESSFUL_REFUND","CANCEL_REGARDLESS"]}}},"CancellationDetail_Supplier":{"required":["cancellationType","reason"],"type":"object","properties":{"cancellationType":{"type":"string","description":"Cancellation type","example":"CC_INVALID","enum":["DUPLICATE","CANCELLATION","NO_SHOW","CC_INVALID","CC_INSUFFICIENT","DISCRETIONARY"]},"reason":{"type":"string","description":"Reason for cancellation","example":"Death in the family"}}},"CountResponse_Supplier":{"required":["count","success"],"type":"object","properties":{"success":{"type":"boolean","description":"True if count query worked.","example":true},"count":{"type":"integer","description":"Number of reviews for this property.","format":"int64","example":1543}}},"CalDavResponse_Supplier":{"type":"object","properties":{"identifier":{"type":"string"},"hotelIdentifier":{"type":"string"},"passkey":{"type":"string"},"url":{"type":"string"}}},"Address_SupplierDetails":{"required":["address1","city"],"type":"object","properties":{"address1":{"type":"string","description":"Address line 1","example":"234 Near da beach"},"address2":{"type":"string","description":"Address line 2","example":"Pebble #5001"},"state":{"type":"string","description":"State","example":"CA"},"postalCode":{"type":"string","description":"Postal / zip code","example":"90210"},"county":{"type":"string","description":"County","example":"Alameda county"},"city":{"$ref":"#/components/schemas/GeoName_SupplierDetails"},"valid":{"type":"boolean","description":"Whether this address is considered valid by the system or not","readOnly":true,"example":true},"fullAddress":{"type":"string","description":"Address 1, Address 2, City, State, Postal / Zip code, Country","readOnly":true,"example":"11 At home, Suite 3C, New York City, NY 10010, United States"}},"description":"Address information"},"AuthenticatedUser_SupplierDetails":{"required":["email","firstName","lastName"],"type":"object","properties":{"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"firstName":{"type":"string","description":"First name","example":"John"},"lastName":{"type":"string","description":"Last name","example":"Smith"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"fullName":{"type":"string","description":"Full name","readOnly":true,"example":"John Smith"}},"description":"The authenticated user ID that made the payment request","example":"user-1"},"Bed_SupplierDetails":{"required":["bedTypeCode","quantity"],"type":"object","properties":{"bedTypeCode":{"type":"string","description":"Indicates the type of bed(s) found in the room. Typical values would be Double, Twin, Queen, or King. Supported OTA specification `BED` code. See [OTA geoname data](#operation/showAvailableCodesForCategory).","example":"1"},"quantity":{"minimum":1,"type":"integer","description":"Number of beds for this bed type.","format":"int32","example":10}}},"BedroomConfiguration_SupplierDetails":{"required":["bedroomList","identifier","name"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique identifier","format":"uuid"},"name":{"type":"string","description":"Name of layout"},"bedroomList":{"type":"array","description":"A room type can have more than one bedroom configuration.","items":{"$ref":"#/components/schemas/Bedroom_SupplierDetails"}}},"description":"Desired bedroom layout"},"Bedroom_SupplierDetails":{"required":["bedList","type"],"type":"object","properties":{"type":{"type":"string","description":"Type of bedroom","enum":["MASTER","QUEEN","JUNIOR","DORMITORY","BEDROOM_1","BEDROOM_2","BEDROOM_3","BEDROOM_4","BEDROOM_5","BEDROOM_6","BEDROOM_7","BEDROOM_8","BEDROOM_9","BEDROOM_10"]},"bedList":{"type":"array","description":"A bedroom can have more than one bed type.","items":{"$ref":"#/components/schemas/Bed_SupplierDetails"}}}},"BeneficiaryCharge_SupplierDetails":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of charge","enum":["PERCENTAGE","REMAINDER"]},"percent":{"type":"number","description":"A percentage of the total stay amount for an early checkin or late checkout"}},"description":"A variable charge can be a fixed amount or a percentage."},"Beneficiary_SupplierDetails":{"required":["accountEmail","accountIdentifier","accountName","captureAmount","captureAmountRefundModifier","captureCurrency","displayAmount","displayAmountRefundModifier","displayCurrency","internalAmount","internalAmountRefundModifier","internalCurrency","netCaptureAmount","netDisplayAmount","netInternalAmount","netSourceAmount","netSupplierAmount","sourceAmount","sourceAmountRefundModifier","sourceCurrency","supplierAmount","supplierAmountRefundModifier","supplierCurrency","type"],"type":"object","properties":{"accountIdentifier":{"type":"string","description":"accountIdentifier of beneficiary that can map to an account with us","example":"account-1"},"accountName":{"type":"string","description":"accountName of beneficiary that can map to an account with us","example":"Account 1"},"accountEmail":{"type":"string","description":"accountEmail of beneficiary that can map to an account with us","example":"[email protected]"},"accountUrl":{"type":"string","description":"accountUrl of beneficiary that can map to an account with us","example":"https://some.url"},"type":{"type":"string","description":"The type of beneficiary payment.","enum":["COMMISSION","PLATFORM_FEE","TRIP_PAY","SALE"]},"amountDue":{"$ref":"#/components/schemas/BeneficiaryCharge_SupplierDetails"},"sourceCurrency":{"type":"string","description":"The source currency","example":"USD"},"displayCurrency":{"type":"string","description":"The display currency","example":"USD"},"supplierCurrency":{"type":"string","description":"The supplier currency","example":"USD"},"internalCurrency":{"type":"string","description":"The internal currency","example":"USD"},"captureCurrency":{"type":"string","description":"The capture currency","example":"USD"},"sourceAmount":{"minimum":0,"type":"number","description":"Amount in source currency","example":50},"displayAmount":{"minimum":0,"type":"number","description":"Amount in display currency","example":50},"supplierAmount":{"minimum":0,"type":"number","description":"Amount in supplier currency","example":50},"internalAmount":{"minimum":0,"type":"number","description":"Amount in internal currency","example":50},"captureAmount":{"minimum":0,"type":"number","description":"Amount in capture currency","example":50},"sourceAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original source amount after a refund occurred","example":5},"displayAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original display amount after a refund occurred","example":5},"supplierAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original supplier amount after a refund occurred","example":5},"internalAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original internal amount after a refund occurred","example":5},"captureAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original capture amount after a refund occurred","example":5},"pendingRefunds":{"type":"array","items":{"$ref":"#/components/schemas/PendingRefund_SupplierDetails"}},"netSourceAmount":{"minimum":0,"type":"number","description":"Source amount minus source modifier."},"netDisplayAmount":{"minimum":0,"type":"number","description":"Display amount minus display modifier."},"netSupplierAmount":{"minimum":0,"type":"number","description":"Supplier amount minus supplier modifier."},"netInternalAmount":{"minimum":0,"type":"number","description":"Internal amount minus internal modifier."},"netCaptureAmount":{"minimum":0,"type":"number","description":"Capture amount minus capture modifier."},"metadata":{"type":"object","additionalProperties":{"type":"string","description":"Place to add more data related to the beneficiary."},"description":"Place to add more data related to the beneficiary."}},"description":"Beneficiary is a registered account with rights to compensation within a booking."},"BookingAncillary_SupplierDetails":{"required":["address","attendees","commission","commissionable","contact","endDate","hotelIdentifier","identifier","imageIdentifier","imageUrl","localizedDescription","localizedName","mandatory","name","price","pricingType","startDate","transactionalTravelInventoryIdentifier","type","typeIdentifier"],"type":"object","properties":{"identifier":{"type":"string","description":"Ancillary identifier","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Hotel identifier","format":"uuid"},"typeIdentifier":{"type":"string","description":"Travel inventory identifier","format":"uuid"},"transactionalTravelInventoryIdentifier":{"type":"string","description":"Travel inventory identifier","format":"uuid"},"name":{"type":"string","description":"Name of inventory","example":"Place 1"},"pricingType":{"type":"string","description":"Pricing type","example":"PER_USE","enum":["PER_STAY","PER_DAY","PER_NIGHT","PER_USE","PER_HOUR","PER_PERSON","PER_PERSON_PER_NIGHT","PER_PERSON_PER_HOUR","PER_ADULT","PER_ADULT_PER_NIGHT","PER_ADULT_PER_HOUR","PER_CHILD","PER_CHILD_PER_NIGHT","PER_CHILD_PER_HOUR"]},"type":{"type":"string","description":"Inventory type","example":"PLACE","enum":["ROOM_TYPE_ANCILLARY","ADD_ON","MEETING_ROOM","SPA","RESTAURANT","ACTIVITY","ATTRACTION","PLACE"]},"price":{"$ref":"#/components/schemas/LocalizedPrice_SupplierDetails"},"startDate":{"type":"string","description":"Date start time when reservation was made for.","format":"date-time"},"endDate":{"type":"string","description":"Date end time when reservation was made for.","format":"date-time"},"attendees":{"type":"integer","description":"Number of guests that are part of this reservation.","format":"int32","example":2,"default":1},"imageIdentifier":{"type":"string","description":"Cloudinary image identifier","example":"cloudinary-image-1"},"imageUrl":{"type":"string","description":"Absolute URL to image of inventory","example":"https://path.to.image.com/this-is-me.jpg"},"localizedName":{"type":"string","description":"Name of travel inventory in traveler language (if available). Defaults to English.","example":"Plass 1"},"localizedDescription":{"type":"string","description":"Description of travel inventory in traveler language (if available). Defaults to English.","example":"place-1"},"contact":{"$ref":"#/components/schemas/Contact_SupplierDetails"},"address":{"$ref":"#/components/schemas/Address_SupplierDetails"},"commissionable":{"type":"boolean"},"mandatory":{"type":"boolean"},"commission":{"type":"number","format":"float"}},"description":"Add-on records."},"BookingContractItem_SupplierDetails":{"required":["beneficiaryList","captureAmount","captureCurrency","descriptionInEnglish","displayAmount","displayCurrency","internalAmount","internalCurrency","itinerary","nameInEnglish","netCaptureAmount","netDisplayAmount","netInternalAmount","netSourceAmount","netSupplierAmount","payable","pricingType","sourceAmount","sourceCurrency","supplierAmount","supplierCurrency","supplierItemBookingCode","type","user"],"type":"object","properties":{"supplierItemBookingCode":{"type":"string","description":"Booking code identifying the supplier line item.","example":"TP-ASDFG1234"},"user":{"$ref":"#/components/schemas/GuestUser_SupplierDetails"},"nameInEnglish":{"type":"string","description":"Name of item in English included in booking.","example":"Deluxe King"},"descriptionInEnglish":{"type":"string","description":"Short description in English of item included in booking.","example":"This is the best deluxe king that money can buy."},"itinerary":{"$ref":"#/components/schemas/SimpleDateTimeItinerary_SupplierDetails"},"pricingType":{"type":"string","description":"How to calculate the total amount.","enum":["PER_STAY","PER_DAY","PER_NIGHT","PER_USE","PER_HOUR","PER_PERSON","PER_PERSON_PER_NIGHT","PER_PERSON_PER_HOUR","PER_ADULT","PER_ADULT_PER_NIGHT","PER_ADULT_PER_HOUR","PER_CHILD","PER_CHILD_PER_NIGHT","PER_CHILD_PER_HOUR"]},"type":{"type":"string","description":"Type of item this is.","example":"LODGING","enum":["LODGING","RAIL","AIR","CAR","CRUISE","PACKAGE","ADD_ON","RENTAL","EXPERIENCE","ANCILLARY_BOOKING","ANCILLARY_FEE"]},"beneficiaryList":{"maxItems":2147483647,"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/Beneficiary_SupplierDetails"}},"payable":{"type":"string","description":"When to charge for this item.","example":"PREPAY","enum":["IMMEDIATE","ARRIVAL","DEPARTURE","AGENT"]},"policy":{"$ref":"#/components/schemas/SupplierContractItemPolicy_SupplierDetails"},"externalIdentifier":{"type":"string","description":"Optional externalIdentifier to remote inventory.","example":"room-type-1"},"tokensEarned":{"type":"integer","description":"Tokens minted for this item","format":"int64","example":12},"dailyRateList":{"type":"array","items":{"$ref":"#/components/schemas/DailyRate_SupplierDetails"}},"cancelled":{"type":"boolean","description":"Optional geoname externalIdentifier to remote inventory."},"sourceCurrency":{"type":"string","description":"The source currency","example":"USD"},"displayCurrency":{"type":"string","description":"The display currency","example":"USD"},"supplierCurrency":{"type":"string","description":"The supplier currency","example":"USD"},"internalCurrency":{"type":"string","description":"The internal currency","example":"USD"},"captureCurrency":{"type":"string","description":"The capture currency","example":"USD"},"sourceAmount":{"minimum":0,"type":"number","description":"The total initial price as quoted in the original TripPay contract."},"displayAmount":{"minimum":0,"type":"number","description":"The total display price."},"supplierAmount":{"minimum":0,"type":"number","description":"The total supplier price."},"internalAmount":{"minimum":0,"type":"number","description":"The total internal price."},"captureAmount":{"minimum":0,"type":"number","description":"The total capture price."},"sourceAmountRefundModifier":{"minimum":0,"type":"number","description":"The source amount still due after a partial refund occurs."},"displayAmountRefundModifier":{"minimum":0,"type":"number","description":"The display amount still due after a partial refund occurs."},"supplierAmountRefundModifier":{"minimum":0,"type":"number","description":"The supplier amount still due after a partial refund occurs."},"internalAmountRefundModifier":{"minimum":0,"type":"number","description":"The internal amount still due after a partial refund occurs."},"captureAmountRefundModifier":{"minimum":0,"type":"number","description":"The capture amount still due after a partial refund occurs."},"netSourceAmount":{"minimum":0,"type":"number","description":"Source amount minus source modifier."},"netDisplayAmount":{"minimum":0,"type":"number","description":"Display amount minus display modifier."},"netSupplierAmount":{"minimum":0,"type":"number","description":"Supplier amount minus supplier modifier."},"netInternalAmount":{"minimum":0,"type":"number","description":"Internal amount minus internal modifier."},"netCaptureAmount":{"minimum":0,"type":"number","description":"Capture amount minus capture modifier."},"metadata":{"type":"object","additionalProperties":{"type":"string","description":"Place to add more data related to the booking contract item."},"description":"Place to add more data related to the booking contract item."},"cancellableBySupplier":{"type":"boolean","description":"Whether the booking can still be cancelled by the supplier. A supplier cancellation overrides the refundable"},"cancellableByTraveler":{"type":"boolean","description":"Whether the booking can still be cancelled by the traveller."},"cancellableWithNoCharges":{"type":"boolean","description":"Whether the booking can still be cancelled and whether cancellation charges might still occur."},"cancellableWithPotentialCharges":{"type":"boolean","description":"Whether the booking can still be cancelled and whether cancellation charges might still occur."}},"description":"Returns the lodging item only."},"BookingContractPaymentDetails_SupplierDetails":{"required":["acquirerIdentifier","chargeIdentifier","customerIdentifier","status","transactionIdentifier","vendor","vendorSpecific"],"type":"object","properties":{"acquirerIdentifier":{"type":"string","description":"Unique acquiring identifier. Blank for agent payment","example":"stripe-world"},"vendor":{"type":"string","description":"Name of acquiring vendor","example":"STRIPE","enum":["STRIPE","AGENT","NMI","WISE"]},"transactionIdentifier":{"type":"string","description":"Unique transaction id from the vendor. Agent adds their transaction identifier.","example":"tx-1"},"customerIdentifier":{"type":"string","description":"Unique customer id from the vendor. Agent adds their own customer identifier.","example":"customer-1"},"chargeIdentifier":{"type":"string","description":"Unique charge id from the vendor..","example":"charge-1"},"status":{"type":"string","description":"Unique transaction id from the vendor upon a successful sale. Agent adds their transaction identifier.","example":"INITIALIZED","enum":["INITIALIZED","PROCESSING","SUCCEEDED","FAILED"]},"agentInvoicedDate":{"type":"string","description":"The date/time the invoice was generated","format":"date-time"},"agentInvoiceIdentifier":{"type":"string","description":"The specific invoice this booking was registered on","example":"invoice-1"},"redirectUrl":{"type":"string","description":"Where to redirect to after payment [in-]complete"},"fees":{"type":"array","items":{"$ref":"#/components/schemas/Fee_SupplierDetails"}},"vendorSpecific":{"type":"object","additionalProperties":{"type":"string","description":"Vendor specific values that are returned in a successful response"},"description":"Vendor specific values that are returned in a successful response"}},"description":"Payment details the merchant provided us at the time of payment."},"BookingContract_SupplierDetails":{"required":["captureAmount","captureCurrency","capturePriceQuote","displayAmount","displayCurrency","displayPriceQuote","federatedOrganizationIdentifier","federatedOrganizationName","identifier","internalAmount","internalCurrency","internalPriceQuote","ipAddress","itemList","payment","sourceAmount","sourceCurrency","sourceUrl","supplierAmount","supplierCurrency","supplierIdentifier","supplierName","supplierPriceQuote","traceId","user"],"type":"object","properties":{"bookingContractIdentifier":{"type":"string","description":"Document UUID","format":"uuid"},"createdDate":{"type":"string","description":"Datetime this record was first created","format":"date-time"},"lastUpdate":{"type":"string","description":"Datetime this record was last updated","format":"date-time"},"federatedOrganizationIdentifier":{"type":"string","description":"The auth realm owner ID","example":"owner-1"},"federatedOrganizationName":{"type":"string","description":"The auth realm owner name","example":"Wink"},"user":{"$ref":"#/components/schemas/AuthenticatedUser_SupplierDetails"},"ipAddress":{"type":"string","description":"Caller's IP address","example":"111.222.333.444"},"traceId":{"type":"string","description":"Way to track which booking contracts were made together","example":"T-123456"},"sourceUrl":{"type":"string","description":"Where did the booking occur","example":"https://www.traveliko.com"},"identifier":{"type":"string","description":"Unique identifier used to track the contract. Create a UUID for this purpose.","format":"uuid"},"supplierIdentifier":{"type":"string","description":"Supplier identifier","format":"uuid"},"supplierName":{"type":"string","description":"Supplier name","example":"Supplier One"},"displayPriceQuote":{"$ref":"#/components/schemas/Quote_SupplierDetails"},"supplierPriceQuote":{"$ref":"#/components/schemas/Quote_SupplierDetails"},"internalPriceQuote":{"$ref":"#/components/schemas/Quote_SupplierDetails"},"capturePriceQuote":{"$ref":"#/components/schemas/Quote_SupplierDetails"},"itemList":{"maxItems":2147483647,"minItems":1,"type":"array","description":"Holds one booking line item for a specific supplier.","items":{"$ref":"#/components/schemas/BookingContractItem_SupplierDetails"}},"externalSupplierIdentifier":{"type":"string","description":"Contract creator can choose to geoname this record with her own identifier","example":"supplier-a"},"externalSupplierBookingCode":{"type":"string","description":"External booking code generated by the affiliate","example":"external-booking-code-1"},"payment":{"$ref":"#/components/schemas/BookingContractPaymentDetails_SupplierDetails"},"cancelled":{"type":"boolean","description":"Optional geoname externalIdentifier to remote inventory.","example":false,"default":false},"cancelledOn":{"type":"string","description":"When the booking was cancelled.","format":"date-time"},"canceller":{"type":"string","description":"Type of entity that cancelled the booking.","enum":["SALES_CHANNEL","SUPPLIER","TRAVELER","ACQUIRER","ADMINISTRATOR"]},"cancellationType":{"type":"string","description":"Reason type.","enum":["DUPLICATE","CANCELLATION","NO_SHOW","CC_INVALID","CC_INSUFFICIENT","DISCRETIONARY"]},"cancellerUserIdentifier":{"type":"string","description":"User identifier that cancelled the entity."},"cancelReason":{"type":"string","description":"Reason for cancellation."},"fundsAddedToLedger":{"type":"boolean","description":"Whether the contract has been added to the ledger; ready for payout.","example":false},"fundsProcessed":{"type":"boolean","description":"Whether a funds transfer request has been created for this booking.","example":false},"refunds":{"type":"array","description":"An optional list of refunds that occurred with this booking. If the refund amount(s) is the same as the total price, the booking also gets cancelled.","items":{"$ref":"#/components/schemas/Refund_SupplierDetails"}},"payouts":{"type":"array","description":"An optional list of refunds that occurred with this booking. If the refund amount(s) is the same as the total price, the booking also gets cancelled.","items":{"$ref":"#/components/schemas/Payout_SupplierDetails"}},"sourceCurrency":{"type":"string","description":"The source currency","example":"USD"},"displayCurrency":{"type":"string","description":"The display currency","example":"USD"},"supplierCurrency":{"type":"string","description":"The supplier currency","example":"USD"},"internalCurrency":{"type":"string","description":"The internal currency","example":"USD"},"captureCurrency":{"type":"string","description":"The capture currency","example":"USD"},"sourceAmount":{"minimum":0,"type":"number","description":"The total initial price as quoted in the original TripPay contract."},"displayAmount":{"minimum":0,"type":"number","description":"The total display price."},"supplierAmount":{"minimum":0,"type":"number","description":"The total supplier price."},"internalAmount":{"minimum":0,"type":"number"},"captureAmount":{"minimum":0,"type":"number","description":"The total capture price."},"sourceAmountRefundModifier":{"type":"number","description":"The source amount still due after a partial refund occurs."},"displayAmountRefundModifier":{"type":"number","description":"The display amount still due after a partial refund occurs."},"supplierAmountRefundModifier":{"type":"number","description":"The supplier amount still due after a partial refund occurs."},"internalAmountRefundModifier":{"type":"number","description":"The internal amount still due after a partial refund occurs."},"captureAmountRefundModifier":{"type":"number","description":"The capture amount still due after a partial refund occurs."},"netSourceAmount":{"type":"number","description":"The total initial price as quoted in the original TripPay contract."},"netDisplayAmount":{"type":"number","description":"The total display price."},"netSupplierAmount":{"type":"number","description":"The total supplier price."},"netInternalAmount":{"type":"number"},"netCaptureAmount":{"type":"number","description":"The total capture price."},"metadata":{"type":"object","additionalProperties":{"type":"string","description":"Place to add more data related to the booking contract."},"description":"Place to add more data related to the booking contract."},"netCommissionableTotalSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netCommissionableTotalCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netCommissionableTotalDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netCommissionableTotalSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netCommissionableTotalInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesAndCommissionsInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalFeesInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalTripPayFeeInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalSalesInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"commissionableTotalInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesAndCommissionsInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalFeesInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalTripPayFeeInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalSalesInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"fundsAvailableDate":{"type":"string","description":"Returns the date the funds will be released to the customer.","format":"date"},"totalFeesInPercentWithRefund":{"type":"number","description":"All amounts that are not of type SALE","format":"float"},"totalFeesInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied","format":"float"},"totalTripPayFeeInPercentWithRefund":{"type":"number","description":"All amounts that are not of type SALE","format":"float"},"totalTripPayFeeInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied","format":"float"},"totalCommissionsInPercentWithRefund":{"type":"number","description":"All amounts that are not of type SALE","format":"float"},"totalCommissionsInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied","format":"float"},"totalFeesAndCommissionsInPercentWithRefund":{"type":"number","description":"All amounts that are not of type SALE","format":"float"},"totalFeesAndCommissionsInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied","format":"float"},"originalFeesInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied"},"originalCommissionsInPercent":{"type":"number","description":"All amounts that are not of type SALE before a refund was applied"},"netTotalCustomersSourceAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalCustomersCaptureAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalCustomersDisplayAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalCustomersSupplierAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"netTotalCustomersInternalAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"hasRefunds":{"type":"boolean","description":"Indicates whether any refund in any state is present."},"hasSuccessfulRefunds":{"type":"boolean","description":"Indicates whether a successful refund is present."},"hasPendingRefunds":{"type":"boolean","description":"Indicates whether a pending refund is present."},"hasFailedRefunds":{"type":"boolean","description":"Indicates whether a failed refund is present."},"platformIdentifier":{"type":"string","description":"Returns the account identifier for the beneficiary taking a platform fee"},"totalFundsGroupedByBeneficiary":{"type":"array","description":"Returns all the beneficiaries in this contract with their total amounts","items":{"$ref":"#/components/schemas/Beneficiary_SupplierDetails"}},"totalTokensEarned":{"type":"integer","description":"Total amount of tokens minted on this contract.","format":"int64"},"cancellableBySupplier":{"type":"boolean","description":"Whether the booking can still be cancelled completely by the supplier."},"cancellableByTraveler":{"type":"boolean","description":"Whether the booking can still be cancelled completely by the traveller."},"lodging":{"$ref":"#/components/schemas/BookingContractItem_SupplierDetails"},"cancellableWithNoCharges":{"type":"boolean","description":"Whether the cancellation comes at no cost to the traveler."},"isCancellableWithPotentialCharges":{"type":"boolean","description":"Whether a cancellation comes with partial charges. I.e. Only some of the items in contract are not fully refundable.","writeOnly":true}},"description":"Booking contract created by TripPay"},"BookingUser_SupplierDetails":{"required":["email","firstName","lastName"],"type":"object","properties":{"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"firstName":{"type":"string","description":"First name","example":"John"},"lastName":{"type":"string","description":"Last name","example":"Smith"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"telephone":{"type":"string","description":"Telephone","example":"+1 212 555 1212"},"fullName":{"type":"string","description":"Full name","readOnly":true,"example":"John Smith"}},"description":"User details for the authenticated person that made the booking."},"BookingView_SupplierDetails":{"required":["booking"],"type":"object","properties":{"id":{"type":"string","description":"Document UUID","example":"doc-1"},"createdDate":{"type":"string","description":"Datetime this record was first created","format":"date-time"},"lastUpdate":{"type":"string","description":"Datetime this record was last updated","format":"date-time"},"version":{"type":"integer","description":"Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.","format":"int64","example":12},"booking":{"$ref":"#/components/schemas/Booking_SupplierDetails"}}},"Booking_SupplierDetails":{"required":["address","bookingCode","contactInfo","date","emailHeaderLogoUrl","engineConfiguration","groupIdentifier","hotel","hotelImageUrl","identifier","roomImageUrl","serverUrl","user","userSession"],"type":"object","properties":{"creation":{"type":"string","description":"Communicates whether the booking was created normally or if it failed or was just for testing.","example":"TEST","default":"NORMAL","enum":["NORMAL","TEST","FAILED"]},"date":{"type":"string","description":"Date and time the booking was made.","format":"date-time"},"groupIdentifier":{"type":"string","description":"Unique record identifier for the collection of bookings that were made at the same time.","format":"uuid"},"identifier":{"type":"string","description":"Unique record identifier","format":"uuid"},"engineConfiguration":{"$ref":"#/components/schemas/EngineConfigurationBookingReport_SupplierDetails"},"bookingCode":{"type":"string","description":"Unique user-friendly booking geoname. This code should be used when corresponding with travelers.","example":"ABC1234"},"user":{"$ref":"#/components/schemas/BookingUser_SupplierDetails"},"userSession":{"$ref":"#/components/schemas/UserSession_SupplierDetails"},"serverUrl":{"type":"string","description":"The URL the booking occurred"},"contactInfo":{"$ref":"#/components/schemas/Contact_SupplierDetails"},"address":{"$ref":"#/components/schemas/Address_SupplierDetails"},"socials":{"type":"array","description":"List of all social network account property has for the traveler to get in touch.","items":{"$ref":"#/components/schemas/Social_SupplierDetails"}},"review":{"$ref":"#/components/schemas/Review_SupplierDetails"},"emailHeaderLogoUrl":{"type":"string","description":"Full url of the image logo optimized for emails"},"logoIdentifier":{"type":"string","description":"Logo cloudinary identifier for potential reuse"},"hotel":{"$ref":"#/components/schemas/HotelOnMap_SupplierDetails"},"roomStay":{"$ref":"#/components/schemas/RoomStay_SupplierDetails"},"specialRequests":{"type":"string","description":"Free text where the traveler can add a message to the property."},"comment":{"type":"string","description":"Internal comment field the payment can add and make available to channel manager partners."},"earlyCheckInCharge":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"lateCheckOutCharge":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"earlyCheckInChargePercent":{"type":"number","description":"Early check-in charge calculated in percent of first room night price.","format":"float","example":0.05},"lateCheckOutChargePercent":{"type":"number","description":"Early check-in charge calculated in percent of first room night price.","format":"float","example":0.05},"hotelImageUrl":{"type":"string","description":"Absolute URL of hotel image that can be used as-is","example":"https://path.to/property-image.jpg"},"roomImageUrl":{"type":"string","description":"Absolute URL of room image that can be used as-is","example":"https://path.to/room-image.jpg"},"commissionList":{"type":"array","description":"List of all travel inventory entries that are due a commission to the affiliate.","items":{"$ref":"#/components/schemas/CommissionableEntry_SupplierDetails"}},"ancillaryList":{"type":"array","items":{"$ref":"#/components/schemas/BookingAncillary_SupplierDetails"}},"bookingContract":{"$ref":"#/components/schemas/BookingContract_SupplierDetails"},"staticMapImageUrl":{"type":"string","description":"Url of map image that can be sent via email","example":"https://path.to/room-image.jpg"},"staticMapUrl":{"type":"string","description":"Url of map image location on Google Maps","example":"https://path.to/room-image.jpg"},"status":{"type":"string","description":"Convenience data point to show which status the booking currently has.","example":"ACTIVE","enum":["CANCELLED_BY_HOTEL","CANCELLED_BY_GUEST","CANCELLED_BY_ADMIN","CANCELLED_BY_SALES_CHANNEL","PAST","FUTURE","CANCELLED_BY_ACQUIRER","ACTIVE","FAILED"]},"restaurants":{"type":"array","description":"Restaurant reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_SupplierDetails"}},"fullAddress":{"type":"string","description":"Convenience data point to return the full hotel address.","example":"204 At home lane, Singapore, Singapore 224333"},"meetingRooms":{"type":"array","description":"Meeting room reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_SupplierDetails"}},"spas":{"type":"array","description":"Spa reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_SupplierDetails"}},"activities":{"type":"array","description":"Activity reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_SupplierDetails"}},"attractions":{"type":"array","description":"Attraction reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_SupplierDetails"}},"places":{"type":"array","description":"Place reservation records.","items":{"$ref":"#/components/schemas/BookingAncillary_SupplierDetails"}},"roomTypeAncillaries":{"type":"array","description":"Room type ancillary records.","items":{"$ref":"#/components/schemas/BookingAncillary_SupplierDetails"}},"cancellableBySupplier":{"type":"boolean","description":"Whether the booking can still be cancelled completely by the supplier."},"cancellableByTraveler":{"type":"boolean","description":"Whether the booking can still be cancelled completely by the traveller."},"hasAddOns":{"type":"boolean","description":"Convenience data point to check if any add-on offers are in this booking.","example":true},"addOns":{"type":"array","description":"Add-on records.","items":{"$ref":"#/components/schemas/BookingAncillary_SupplierDetails"}},"rateSource":{"type":"string","description":"Rate origin. This is usually the property channel manager.","example":"SITEMINDER"},"hasMeetingRooms":{"type":"boolean","description":"Convenience data point to check if any meeting room reservations are included in this booking.","example":true},"hasActivities":{"type":"boolean","description":"Convenience data point to check if any activity reservations are included in this booking.","example":true},"hasAttractions":{"type":"boolean","description":"Convenience data point to check if any attractions reservations are included in this booking.","example":true},"hasPlaces":{"type":"boolean","description":"Convenience data point to check if any place reservations are included in this booking.","example":true},"reportingDailyRateList":{"type":"array","items":{"$ref":"#/components/schemas/ReportingDailyRate_SupplierDetails"}},"reportingAncillaryList":{"type":"array","items":{"$ref":"#/components/schemas/ReportingAncillary_SupplierDetails"}},"reportingExtraChargeList":{"type":"array","items":{"$ref":"#/components/schemas/ReportingExtraCharge_SupplierDetails"}},"hasRoomTypeAncillaries":{"type":"boolean","description":"Convenience data point to check if any room type ancillaries are in this booking.","example":true},"hasFood":{"type":"boolean","description":"Convenience data point to check if any food is included in this booking.","example":true},"hasRestaurants":{"type":"boolean","description":"Convenience data point to check if any restaurant reservations are included in this booking.","example":true},"hasSpas":{"type":"boolean","description":"Convenience data point to check if any spa reservations are included in this booking.","example":true},"hasBreakfast":{"type":"boolean","description":"Convenience data point to get to breakfast quickly.","example":true},"hasBrunch":{"type":"boolean","description":"Convenience data point to get to brunch quickly.","example":true},"hasLunch":{"type":"boolean","description":"Convenience data point to get to lunch quickly.","example":true},"hasDinner":{"type":"boolean","description":"Convenience data point to get to dinner quickly.","example":true},"hasAllInclusive":{"type":"boolean","description":"Convenience data point to get to all-inclusive quickly.","example":true},"hasAllInclusivePlusAlcohol":{"type":"boolean","description":"Convenience data point to get to all-inclusive with alcohol quickly.","example":true}},"description":"Booking data object"},"CancellationPolicyException_SupplierDetails":{"required":["cancellationPolicy","cancellationPolicyIdentifier","endDate","startDate"],"type":"object","properties":{"cancellationPolicyIdentifier":{"type":"string","description":"Cancellation policy","format":"uuid"},"cancellationPolicy":{"$ref":"#/components/schemas/CancellationPolicy_SupplierDetails"},"startDate":{"type":"string","description":"Start date for when this cancellation policy should start to override the default cancellation policy.","format":"date"},"endDate":{"type":"string","description":"End date for when this cancellation policy should end overriding the default cancellation policy.","format":"date"}}},"CancellationPolicyExceptions_SupplierDetails":{"required":["list"],"type":"object","properties":{"list":{"type":"array","description":"List of cancellation policy exceptions","items":{"$ref":"#/components/schemas/CancellationPolicyException_SupplierDetails"}}},"description":"Allows a property to dynamically use another cancellation policy for a specific date range"},"CancellationPolicy_SupplierDetails":{"required":["hotelIdentifier","identifier","refundable"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique cancellation policy identifier","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Property this cancellation is associated with","format":"uuid"},"refundable":{"type":"boolean","description":"Whether this cancellation policy is refundable or not","example":false,"default":false},"advanceCancellationFreeOfCharge":{"type":"string","description":"When the cancellation policy is refundable, this flag can be set and indicates there is more rules involved than just a no-questions-asked refundable.","example":"UNTIL_EIGHTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","enum":["UNTIL_EIGHTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","UNTIL_FOURTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","ONE_DAY_BEFORE_ARRIVAL","TWO_DAYS_BEFORE_ARRIVAL","THREE_DAYS_BEFORE_ARRIVAL","FIVE_DAYS_BEFORE_ARRIVAL","SEVEN_DAYS_BEFORE_ARRIVAL","FOURTEEN_DAYS_BEFORE_ARRIVAL","TWENTYONE_DAYS_BEFORE_ARRIVAL","THIRTY_DAYS_BEFORE_ARRIVAL","FOURTY_TWO_DAYS_BEFORE_ARRIVAL","SIXTY_DAYS_BEFORE_ARRIVAL"]},"refundableCancellationCharge":{"type":"string","description":"If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.","example":"FIFTY_PERCENT","enum":["FIRST_NIGHT","THIRTY_PERCENT","FIFTY_PERCENT","SIXTY_PERCENT","SEVENTY_PERCENT","NINENTY_PERCENT","ONE_HUNDRED_PERCENT"]},"noShowCharge":{"type":"string","description":"In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.","example":"SAME_AS_CANCELLATION_FEE","enum":["SAME_AS_CANCELLATION_FEE","ONE_HUNDRED_PERCENT_OF_TOTAL_CHARGE"]},"nonRefundableCancellationCharge":{"type":"string","description":"When the cancellation policy is non-refundable, this flag can be set and indicates there is more rules involved to calculate what the guest will owe in case of a cancellation.","example":"SEVENTY_PERCENT","enum":["FIRST_NIGHT","TEN_PERCENT","THIRTY_PERCENT","FIFTY_PERCENT","SEVENTY_PERCENT"]},"nonRefundableDeadline":{"type":"string","description":"The non-refundable charge might can have a deadline. If that deadline passes, the guest might be charged more.","example":"SEVEN_DAYS_BEFORE_ARRIVAL","enum":["ONE_DAY_BEFORE_ARRIVAL","TWO_DAYS_BEFORE_ARRIVAL","THREE_DAYS_BEFORE_ARRIVAL","FIVE_DAYS_BEFORE_ARRIVAL","SEVEN_DAYS_BEFORE_ARRIVAL","FOURTEEN_DAYS_BEFORE_ARRIVAL","TWENTYONE_DAYS_BEFORE_ARRIVAL","THIRTY_DAYS_BEFORE_ARRIVAL","FOURTY_TWO_DAYS_BEFORE_ARRIVAL","SIXTY_DAYS_BEFORE_ARRIVAL"]},"nonRefundableAfterDeadlineCancellationCharge":{"type":"string","description":"If the guest does not honor the non-refundable deadline rule, this charge dictates what she owes after the deadline passes.","example":"ONE_HUNDRED_PERCENT","enum":["FIRST_NIGHT","TEN_PERCENT","THIRTY_PERCENT","FIFTY_PERCENT","SEVENTY_PERCENT","ONE_HUNDRED_PERCENT"]},"policyCode":{"type":"string"}},"description":"Based on the itinerary, the cancellation policy could be taken directly from the rate plan or it could be a policy exception also listed on the rate plan"},"Child_SupplierDetails":{"required":["age","quantity"],"type":"object","properties":{"quantity":{"minimum":1,"type":"integer","description":"Number of children","format":"int32"},"age":{"minimum":0,"type":"integer","description":"Age of children","format":"int32"}},"description":"Child configuration"},"CommissionableEntry_SupplierDetails":{"required":["commissionPercent","identifier","name","type"],"type":"object","properties":{"name":{"type":"string"},"identifier":{"type":"string"},"type":{"type":"string","enum":["GUEST_ROOM","ADD_ON","MEETING_ROOM","RESTAURANT","SPA","ATTRACTION","PLACE","ACTIVITY"]},"commissionPercent":{"type":"number","format":"float"}},"description":"List of all travel inventory entries that are due a commission to the affiliate."},"Contact_SupplierDetails":{"type":"object","properties":{"firstName":{"type":"string","description":"Contact first name","example":"John"},"lastName":{"type":"string","description":"Contact last name","example":"Smith"},"email":{"type":"string","description":"Contact E-mail","example":"[email protected]"},"secondaryEmail":{"type":"string","description":"Contact secondary Email","example":"[email protected]"},"phoneNumber":{"type":"string","description":"Contact phone number","example":"+12125551212"},"fullName":{"type":"string","description":"First and last name","readOnly":true,"example":"John Smith"},"summary":{"type":"string","description":"Summary","readOnly":true,"example":"John Smith ([email protected] / +12125551212)"}},"description":"Array of emergency contact information for the customer"},"Country_SupplierDetails":{"type":"object","properties":{"iso":{"type":"string","description":"ISO code","example":"US"},"name":{"type":"string","description":"Country name","example":"United States"},"capital":{"type":"string","description":"Country capital","example":"Washington"},"continent":{"type":"string","description":"Continent code","example":"NA"},"currencyCode":{"type":"string","description":"Currency code","example":"USD"},"currencyName":{"type":"string","description":"Currency name","example":"Dollar"},"geoNameId":{"type":"string","description":"Country GeoNames identifier","example":"6252001"}},"description":"Country"},"DailyRate_SupplierDetails":{"required":["capturePrice","date","displayPrice","internalPrice","price","supplierPrice"],"type":"object","properties":{"date":{"type":"string","description":"The date this rate is applicable for.","format":"date","example":"2020-08-24"},"price":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"displayPrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"supplierPrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalPrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"capturePrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"}},"description":"In case of LODGING, include daily rates"},"DowPatternGroup_SupplierDetails":{"type":"object","properties":{"mon":{"type":"boolean","description":"Set to `true` to enable Monday.","example":true},"tue":{"type":"boolean","description":"Set to `true` to enable Tuesday.","example":true},"wed":{"type":"boolean","description":"Set to `true` to enable Wednesday.","example":true},"thu":{"type":"boolean","description":"Set to `true` to enable Thursday.","example":true},"fri":{"type":"boolean","description":"Set to `true` to enable Friday.","example":true},"sat":{"type":"boolean","description":"Set to `true` to enable Saturday.","example":true},"sun":{"type":"boolean","description":"Set to `true` to enable Sunday.","example":true},"disabled":{"type":"boolean","description":"Convenience property to quickly determine if this existing object has any active days enabled.","example":true}}},"EngineConfigurationBookingReport_SupplierDetails":{"required":["identifier","name","ownerIdentifier","ownerName","subType","userIdentifier"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique engine configuration identifier","format":"uuid"},"name":{"type":"string","description":"Engine configuration name","example":"Engine Configuration 1"},"userIdentifier":{"type":"string","description":"Authenticated user identifier","format":"uuid"},"ownerIdentifier":{"type":"string","description":"Engine configuration record creator identifier","format":"uuid"},"ownerName":{"type":"string","description":"Name of company owner.","example":"Travel Tech 1"},"subType":{"type":"string","description":"Sales channel sub-type.","example":"APPLICATION","enum":["DIRECT","APPLICATION","HOTEL","TRAVELIKO","CORPORATE","TRAVEL_AGENT","INFLUENCER","BLOGGER","DESTINATION","CHANNEL_MANAGER","PROPERTY_MANAGEMENT_SYSTEM","CENTRAL_RESERVATION_SYSTEM","GOOGLE_HOTEL_API","MANAGEMENT_COMPANY","CHAIN","BRAND","EVENT_ORGANIZER"]},"defaultCurrency":{"type":"string","description":"Control which currency your users see prices in initially.","example":"USD","default":"USD"},"defaultLanguage":{"type":"string","description":"Control which language your users see text in initially.","example":"en","default":"en"},"defaultLifestyle":{"type":"string","description":"Control which lifestyle contextx your users see initially.","example":"LIFESTYLE_HEALTH_FITNESS","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]},"logos":{"type":"array","description":"Customize booking confirmation emails by adding a custom logo to your configuration.","items":{"$ref":"#/components/schemas/SimpleMultimedia_SupplierDetails"}},"hostedBookingEngineUrl":{"type":"string","description":"If you are self-hosting our booking engine, let us know where it is hosted. Note: This url needs to be secured with SSL.","example":"https://my.customtravelsite.com/book","default":"https://ota.wink.travel"},"selfHosted":{"type":"boolean","description":"Flag to indicate you are self-hosting our booking engine and not using our default booking engine url.","example":true,"default":false},"themeColors":{"$ref":"#/components/schemas/EngineConfigurationTheme_SupplierDetails"},"numberOfAdvanceDays":{"type":"integer","description":"You can control the initial itinerary date used to retrieve travel inventory prices. You can do it in one of two ways: 1. Dynamically set the date by indicating how long and how many days in advance (this field), of today's date, you want to display prices for. 2. Set a fixed date to display prices for. Option 1 is the most shared. Option 2 is for when you want to create a new customization and apply it to a specific event that occurs on a specific date. If you don't use either of these options, the itinerary will default to today's date with one night stay. ONLY populate this field if you want to control the itinerary date. Also, leave `startDate` and `endDate` empty.","format":"int32","example":10},"numberOfStayDays":{"type":"integer","description":"You can control the initial itinerary date used to retrieve travel inventory prices. You can do it in one of two ways: 1. Dynamically set the date by indicating how long (this field) and how many days in advance, of today's date, you want to display prices for. 2. Set a fixed date to display prices for. Option 1 is the most shared. Option 2 is for when you want to create a new customization and apply it to a specific event that occurs on a specific date. If you don't use either of these options, the itinerary will default to today's date with one night stay. ONLY populate this field if you want to control the itinerary date. Also, leave `startDate` and `endDate` empty.","format":"int32","example":2},"startDate":{"type":"string","description":"Set a fixed itinerary start date. ONLY populate this field if you want to fix the itinerary date. Also, leave `numberOfAdvanceDays` and `numberOfStayDays` empty.","format":"date","example":"2021-12-24"},"endDate":{"type":"string","description":"Set a fixed itinerary end date ONLY populate this field if you want to fix the itinerary date. Also, leave `numberOfAdvanceDays` and `numberOfStayDays` empty.","format":"date","example":"2021-12-31"},"roomConfigurations":{"type":"array","description":"Control how many adults / children will be staying and how many rooms. Defaults to: One room, two adults.","items":{"$ref":"#/components/schemas/RoomConfiguration_SupplierDetails"}},"useDays":{"type":"boolean","description":"if true, we use numberOfAdvanceDays / numberOfStayDays properties - false, we use startDate / endDate","example":true},"promotionalCodes":{"type":"array","description":"If you've received special promotional codes from suppliers to give to your audience, you can choose to bake these code directly into the price by entering them here.","example":["promo-1"],"items":{"type":"string","description":"If you've received special promotional codes from suppliers to give to your audience, you can choose to bake these code directly into the price by entering them here.","example":"[\"promo-1\"]"}},"sendBookingNotificationEmailsToProperty":{"type":"boolean","description":"An integrator can choose to disable outgoing emails to properties because they want to do that themselves.","example":true,"default":true},"sendBookingNotificationEmailsToBooker":{"type":"boolean","description":"An integrator can choose to disable outgoing emails to users because they want to do that themselves.","example":true,"default":true},"sendBookingNotificationEmailsToChannelManager":{"type":"boolean","description":"An integrator can choose to disable notifying the property's channel manager. Note: This should ONLY be done for testing.","example":true,"default":true},"wcBookClickAction":{"type":"string","description":"Action to complete once a user clicks on the CTA button on inventory.","example":"IBE_MODAL","enum":["FORWARD_TO_IBE","IBE_MODAL"]},"city":{"$ref":"#/components/schemas/GeoName_SupplierDetails"},"showUnavailableCard":{"type":"boolean","description":"Show unavailable inventory card when inventory not currently for sale. Otherwise, it displays a normal card but without the price."},"showRankings":{"type":"boolean","description":"Whether to display rankings (lifestyle, eco score and reviews) on hotel landing page."}},"description":"Which engine configuration record did the entity application used to facilitate in making this booking happen."},"EngineConfigurationTheme_SupplierDetails":{"type":"object","properties":{"primary":{"type":"string","description":"Primary color","example":"#dc3545","default":"#dc3545"},"secondary":{"type":"string","description":"Secondary color","example":"#6c757d","default":"#6c757d"},"success":{"type":"string","description":"Success color","example":"#28a745","default":"#28a745"},"danger":{"type":"string","description":"Danger color","example":"#dc3545","default":"#dc3545"},"warning":{"type":"string","description":"Warning color","example":"#ffc107","default":"#ffc107"},"info":{"type":"string","description":"Info color","example":"#17a2b8","default":"#17a2b8"},"light":{"type":"string","description":"Light color","example":"#f8f9fa","default":"#f8f9fa"},"dark":{"type":"string","description":"Dark color","example":"#343a40","default":"#343a40"},"body":{"type":"string","description":"Body color","example":"#212529","default":"#212529"},"muted":{"type":"string","description":"Muted color","example":"#6c757d","default":"#6c757d"},"white":{"type":"string","description":"White color","example":"#ffffff","default":"#ffffff"}},"description":"Choose how you want our web components to look and more closely match with your own site style."},"ExtraCharge_SupplierDetails":{"title":"Items","type":"object","properties":{"ratePlanLevelFee":{"$ref":"#/components/schemas/RatePlanLevelFee_SupplierDetails"},"unitPrice":{"$ref":"#/components/schemas/LocalizedPrice_SupplierDetails"},"price":{"$ref":"#/components/schemas/LocalizedPrice_SupplierDetails"}},"description":"List of extra charges that applies to the rate plan."},"ExtraCharges_SupplierDetails":{"type":"object","properties":{"items":{"title":"Items","type":"array","description":"List of extra charges that applies to the rate plan.","items":{"$ref":"#/components/schemas/ExtraCharge_SupplierDetails"}},"userSpecifiedCurrencyTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"}},"description":"Rate plan-level extra charges"},"Fee_SupplierDetails":{"required":["description","fee","identifier","type"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique system ID.","example":"ABC1234"},"fee":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"type":{"type":"string","description":"Type of fee","enum":["ACQUIRING","FX","TAX"]},"description":{"type":"string","description":"Withdrawal fee description"}},"description":"Fees associated with this booking contract."},"GeneralManager_SupplierDetails":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"Name of GM currently managing the property.","example":"Jane Doe"},"image":{"$ref":"#/components/schemas/SimpleMultimedia_SupplierDetails"},"descriptions":{"type":"array","description":"Localized welcome message from GM.","items":{"$ref":"#/components/schemas/LocalizedDescription_SupplierDetails"}}},"description":"General manager related data."},"GeoJsonPoint_SupplierDetails":{"type":"object","properties":{"x":{"type":"number","format":"double"},"y":{"type":"number","format":"double"},"type":{"type":"string"},"coordinates":{"type":"array","items":{"type":"number","format":"double"}}},"description":"Geo-location point where inventory takes place. Defaults to location of property.","example":{"type":"POINT","coordinates":[100.5581533,13.7370197]}},"GeoName_SupplierDetails":{"type":"object","properties":{"geoNameId":{"type":"string","description":"GeoName identifier","example":"5128581"},"type":{"type":"string","description":"GeoName type","enum":["CITY","ISLAND","OTHER"]},"name":{"type":"string","description":"Name of city","example":"New York City"},"urlName":{"type":"string","description":"Url name","example":"new-york-city-united-states"},"asciiName":{"type":"string","description":"Ascii name of city","example":"New York City"},"location":{"$ref":"#/components/schemas/GeoJsonPoint_SupplierDetails"},"featureCode":{"type":"string"},"countryCode":{"type":"string"},"timezone":{"type":"string","description":"Timezone","example":"America/New_York"},"country":{"$ref":"#/components/schemas/Country_SupplierDetails"},"subCountry":{"$ref":"#/components/schemas/SubCountry_SupplierDetails"},"subSubCountry":{"$ref":"#/components/schemas/SubSubCountry_SupplierDetails"}},"description":"GeoNames have been created at [https://geonames.org](https://geonames.org) and contain geographical destinations we use as geoname data to associate travel inventory with a location."},"GuestRoom_SupplierDetails":{"required":["active","address","baseRate","bathroomCount","bedroomConfigurationList","bookable","commissionable","composite","compositeCount","contact","descriptions","featuredInd","hotelIdentifier","identifier","includedAdultOccupancy","includedChildOccupancy","livingRoomCount","location","maxAdultOccupancy","maxChildOccupancy","maxCribs","maxOccupancy","maxRollaways","minOccupancy","minRate","multimedias","name","nonSmoking","pricePoint","proximityCode","quantity","roomArchitectureCode","roomCategory","roomClassificationCode","roomLocationCode","roomViewCode","sharedRoomInd","size"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique record identifier","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Hotel identifier.","format":"uuid"},"featuredInd":{"type":"boolean","description":"Indicates whether this inventory is featured. Use this flag as a way to signify that this inventory is special.","example":false},"lifestyleType":{"type":"string","description":"Indicate the type of lifestyle this inventory should be associated with.","example":"LIFESTYLE_HEALTH_FITNESS","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]},"location":{"$ref":"#/components/schemas/GeoJsonPoint_SupplierDetails"},"descriptions":{"type":"array","description":"Localized descriptions describing inventory.","items":{"$ref":"#/components/schemas/SimpleDescription_SupplierDetails"}},"multimedias":{"type":"array","description":"List of images / videos of inventory.","items":{"$ref":"#/components/schemas/SimpleMultimedia_SupplierDetails"}},"contact":{"$ref":"#/components/schemas/Contact_SupplierDetails"},"address":{"$ref":"#/components/schemas/Address_SupplierDetails"},"commissionable":{"type":"boolean","description":"Indicate whether sales channels receive commission for selling this inventory.","example":true,"default":true},"name":{"type":"string","description":"Internal name of inventory.","example":"Archery lesson"},"proximityCode":{"type":"string","description":"Supported OTA specification `PRX` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"sort":{"type":"integer","description":"Use this property to sort an inventory in a list of activities.","format":"int32","example":1},"minAgeAppropriateCode":{"type":"string","description":"Supported OTA specification `AQC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"bookable":{"type":"boolean","description":"Indicates if this inventory can be added to a booking or if it is read-only marketing material only.","example":true,"default":true},"active":{"type":"boolean","description":"Modify inventory availability with this flag.","example":true,"default":true},"disabilityFeatures":{"type":"array","description":"Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1"],"items":{"type":"string"}},"securityFeatures":{"type":"array","description":"Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1"],"items":{"type":"string"}},"socials":{"type":"array","description":"Social network accounts for inventory (if applicable).","items":{"$ref":"#/components/schemas/Social_SupplierDetails"}},"pricePoint":{"type":"string","description":"Level of expensiveness.","example":"THREE","default":"THREE","enum":["HALF","ONE","ONE_HALF","TWO","TWO_HALF","THREE","THREE_HALF","FOUR","FOUR_HALF","FIVE"]},"recognitionList":{"type":"array","description":"Inventory-level recognition.","items":{"$ref":"#/components/schemas/TravelInventoryRecognition_SupplierDetails"}},"transactionalInventoryList":{"type":"array","description":"Purchasable items for this inventory.","items":{"$ref":"#/components/schemas/TransactionalTravelInventory_SupplierDetails"}},"maxOccupancy":{"minimum":1,"type":"integer","description":"Maximum number of guest allowed in a room type.","format":"int32","example":2,"default":2},"minOccupancy":{"minimum":1,"type":"integer","description":"Minimum number of guests allowed in a room type.","format":"int32","example":1,"default":1},"quantity":{"minimum":1,"type":"integer","description":"Defines the number of rooms of this type","format":"int32","example":40},"nonSmoking":{"type":"boolean","description":"Non-smoking indicator","example":true},"bedroomConfigurationList":{"type":"array","description":"A room type can have more than one bed configuration.","items":{"$ref":"#/components/schemas/BedroomConfiguration_SupplierDetails"}},"size":{"minimum":1,"type":"number","description":"Number of square meters that defines the size of this room type.","format":"float","example":55},"maxAdultOccupancy":{"minimum":1,"type":"integer","description":"Maximum number of adults allowed in a room type.","format":"int32","example":1,"default":2},"maxChildOccupancy":{"minimum":0,"type":"integer","description":"Maximum number of children allowed in a room type.","format":"int32","example":0,"default":0},"bathroomCount":{"minimum":0,"type":"integer","description":"Number of bathrooms","format":"int32","example":0,"default":1},"livingRoomCount":{"minimum":0,"type":"integer","description":"Number of living rooms","format":"int32","example":0,"default":1},"maxRollaways":{"minimum":0,"type":"integer","description":"Maximum number of rollaway beds allowed in this room type.","format":"int32","example":0,"default":0},"roomCategory":{"type":"string","description":"Indicates the category of the room. Typical values would be Moderate, Standard, or Deluxe. Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"floor":{"type":"string","description":"Floor an which a room is located"},"roomLocationCode":{"type":"string","description":"Indicates the location of the room within the hotel structure. Typical values would be \"Near Exit\",\"Close to elevator\", \"Low Floor\" or \"High Floor\". Supported OTA specification `RLT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"roomViewCode":{"type":"string","description":"Indicates the view of the room. Typical values would be \"Ocean view\", \"Pool view\" or \"Garden View\". Supported OTA specification `RVT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"composite":{"type":"boolean","description":"Indicates that the room (suite) is a composite of smaller units.","example":false,"default":false},"compositeCount":{"minimum":0,"type":"integer","description":"Number of rooms of this room type that makes up a larger unit (composite) such as a two bedroom suite could be comprised of two king rooms plus other room types. A 0 means disabled.","format":"int32","example":2,"default":0},"roomClassificationCode":{"type":"string","description":"Specifies the room classification (e.g., cabin, apartment). Supported OTA specification `GRI` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"roomArchitectureCode":{"type":"string","description":"Specifies the architectural style of a room. Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"roomGender":{"type":"string","description":"Used to request or specify a gender assignment for a room. Note: Typically used by Hosteliers.","example":"Female","default":"Unknown","enum":["Male","Female","MaleAndFemale","Unknown"]},"sharedRoomInd":{"type":"boolean","description":"If TRUE, the room requires or has sharing available. Note: Typically used by Hosteliers.","example":false,"default":false},"maxCribs":{"minimum":0,"type":"integer","description":"Maximum number of cribs allowed in a room type.","format":"int32","example":1,"default":0},"amenities":{"type":"array","description":"Collection of room amenity items available to the guest. Supported OTA specification `RMA` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1","7"],"items":{"type":"string"}},"includedAdultOccupancy":{"minimum":0,"type":"integer","description":"The number of pax the room price was meant for","format":"int32","example":2,"default":2},"includedChildOccupancy":{"minimum":0,"type":"integer","description":"The number of children the room price was meant for","format":"int32","example":0,"default":0},"baseRate":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"minRate":{"$ref":"#/components/schemas/CustomMonetaryAmount"}},"description":"Guest room details."},"GuestUser_SupplierDetails":{"required":["email","firstName","lastName"],"type":"object","properties":{"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"firstName":{"type":"string","description":"First name","example":"John"},"lastName":{"type":"string","description":"Last name","example":"Smith"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"telephone":{"type":"string","description":"Telephone","example":"+1 212 555 1212"},"profile":{"$ref":"#/components/schemas/Profile_SupplierDetails"},"fullName":{"type":"string","description":"Full name","readOnly":true,"example":"John Smith"}}},"HotelOnMap_SupplierDetails":{"type":"object","properties":{"identifier":{"type":"string","description":"Unique record identifier. This is NOT the same as the unique hotel record identifier.","example":"document-1"},"hotelIdentifier":{"type":"string","description":"Unique hotel record identifier.","format":"uuid"},"name":{"type":"string","description":"Hotel trade name","example":"The Loveliest Hotel"},"localName":{"type":"string","description":"Hotel local name if different from the trade name or if it is the local language.","example":"Det Beste Hotellet"},"chain":{"type":"string","description":"Name of hotel chain if applicable.","example":"Hotel chain"},"brand":{"type":"string","description":"Name of hotel brand","example":"Hotel brand"},"urlName":{"type":"string","description":"Unique URL-friendly name slug of hotel","example":"the-loveliest-hotel-new-york-united-states"},"starRating":{"maximum":6,"minimum":0,"type":"integer","description":"Official or self-designated property star rating. Note that in some regions there are 6-star hotels. They are the same as 5-star hotels everywhere else.","format":"int32","example":4},"bookings":{"type":"integer","description":"Number of bookings for this property on the wink.travel payment.","format":"int64","example":6054,"default":0},"aggregateReviewRating":{"type":"number","description":"Aggregate score based on all current user reviews.","format":"float","example":7.8,"default":0.0},"location":{"$ref":"#/components/schemas/GeoJsonPoint_SupplierDetails"},"shortDescriptions":{"type":"array","description":"A localized list of short property descriptions","items":{"$ref":"#/components/schemas/LocalizedDescription_SupplierDetails"}},"longDescriptions":{"type":"array","description":"A localized list of longer property descriptions","items":{"$ref":"#/components/schemas/LocalizedDescription_SupplierDetails"}},"aggregateGreendexRating":{"type":"number","description":"Aggregate Green Index score if the property has answered our questionnaire available in the Extranet.","format":"float","example":7.0,"default":0.0},"lifestyleTypes":{"type":"array","items":{"type":"string","description":"A list of lifestyles the property associates with.","example":"LIFESTYLE_HEALTH_FITNESS","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]}},"totalReviews":{"type":"integer","description":"Count of total reviews left by users at this property.","format":"int32","example":989,"default":0},"available":{"type":"boolean","description":"Flag indicating whether the payment has made this property available for sale.","example":true,"default":false},"hotelAvailable":{"type":"boolean","description":"Flag indicating whether the property has made this property available for sale.","example":true,"default":false},"reservations":{"$ref":"#/components/schemas/Contact_SupplierDetails"},"socials":{"type":"array","description":"Property's social network accounts","items":{"$ref":"#/components/schemas/Social_SupplierDetails"}},"images":{"type":"array","description":"Property images.","items":{"$ref":"#/components/schemas/SimpleMultimedia_SupplierDetails"}},"videos":{"type":"array","description":"Property videos.","items":{"$ref":"#/components/schemas/SimpleMultimedia_SupplierDetails"}},"policy":{"$ref":"#/components/schemas/PropertyPolicy_SupplierDetails"},"thirdPartyReviews":{"type":"array","description":"Array of awards and third party reviews given to property by certified / non-certified providers.","items":{"$ref":"#/components/schemas/TravelInventoryRecognition_SupplierDetails"}},"attractions":{"type":"integer","description":"Number of attractions property has listed on its profile.","format":"int32","example":5,"default":0},"recreations":{"type":"integer","description":"Number of activites property has listed on its profile.","format":"int32","example":3,"default":0},"pois":{"type":"integer","description":"Number of places property has listed on its profile.","format":"int32","example":9,"default":0},"restaurants":{"type":"integer","description":"Number of restaurants property has on its profile.","format":"int32","example":2,"default":0},"meetingRooms":{"type":"integer","description":"Number of meeting rooms property has on its profile.","format":"int32","example":2,"default":0},"spas":{"type":"integer","description":"Number of spas property has on its profile.","format":"int32","example":1,"default":0},"addOns":{"type":"integer","description":"Number of add-ons property has on its profile.","format":"int32","example":5,"default":0},"generalManager":{"$ref":"#/components/schemas/GeneralManager_SupplierDetails"},"locationCategory":{"type":"string","description":"Supported OTA specification `LOC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"34"},"segmentCategory":{"type":"string","description":"Supported OTA specification `SEG` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"7"},"hotelCategory":{"type":"string","description":"Supported OTA specification `PCT` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"45"},"architecturalStyle":{"type":"string","description":"Supported OTA specification `ARC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"7"},"whenBuilt":{"type":"string","description":"Year the property was constructed.","example":"1927"},"currencyCode":{"type":"string","description":"Currency code for property.","example":"USD"},"membershipRateDiscount":{"type":"number","description":"A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.","format":"float","example":9,"default":0},"priceScore":{"type":"integer","description":"A property's price score is based on calculating historical pricing data. Each property receives a unique score. There is no max score; it's there to compare it against other properties.","format":"int32","example":9,"default":0},"perkScore":{"type":"integer","description":"A property's perk score is based on the type of perks that is offered to the guests across all master rates. There is no max score; it's there to compare it against other properties.","format":"int32","example":4,"default":0},"packageScore":{"type":"integer","description":"A property's package score is based on general availability and price for all packages and add-ons offered by the property. There is no max score; it's there to compare it against other properties.","format":"int32","example":4,"default":0},"loyaltyScore":{"type":"integer","description":"A property's loyalty score is based on calculating how many available rate plans honor loyalty points. There is no max score; it's there to compare it against other properties.","format":"int32","example":5,"default":0},"popularScore":{"type":"integer","description":"A property's popular score is based on calculating number of bookings across room types. There is no max score; it's there to compare it against other properties.","format":"int32","example":45,"default":0},"experienceScore":{"type":"integer","description":"A property's experience score is based on how calculating how many types of experiences are available and at what price ranges. There is no max score; it's there to compare it against other properties.","format":"int32","example":5,"default":0},"availabilityScore":{"type":"integer","description":"A property's availability score is based on general availability of all room types. If most room types are always unavailable, the attractiveness of this property goes down. We use this as our primary benchmark to decide how and when to feature properties. There is no max score; it's there to compare it against other properties.","format":"int32","example":5,"default":0},"views":{"type":"integer","description":"Total number of user views of this property.","format":"int64","example":10432,"default":0},"hotelAmenityCodes":{"type":"array","description":"Supported OTA specification `HAC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1","7"],"items":{"type":"string","description":"Supported OTA specification `HAC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"[\"1\",\"7\"]"}},"propertyAccessibilityCodes":{"type":"array","description":"Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1","7"],"items":{"type":"string","description":"Supported OTA specification `PHY` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"[\"1\",\"7\"]"}},"propertySecurityCodes":{"type":"array","description":"Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":["1","7"],"items":{"type":"string","description":"Supported OTA specification `SEC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"[\"1\",\"7\"]"}},"numberOfRooms":{"type":"integer","description":"Number of rooms / keys for this property.","format":"int32","example":32,"default":0},"address":{"$ref":"#/components/schemas/Address_SupplierDetails"},"active":{"type":"boolean","description":"A property is considered active when both available and hotelAvailable flags are true.","example":true},"urlParameters":{"type":"string","description":"Convenience data point that creates url friendly query parameters of property."}},"description":"Combined property data."},"ImageAttribution_SupplierDetails":{"required":["name"],"type":"object","properties":{"url":{"type":"string","description":"URL to contributor","example":"https://maps.google.com/maps/contrib/111628493169070103594"},"name":{"type":"string","description":"Name of contributor","example":"Samuel Adams"}},"description":"Whether image has attribution properties"},"Itinerary_SupplierDetails":{"required":["endDate","items","startDate"],"type":"object","properties":{"startDate":{"type":"string","description":"Start date","format":"date"},"endDate":{"type":"string","description":"End date","format":"date"},"items":{"maxItems":2147483647,"minItems":1,"type":"array","description":"Room configurations","items":{"$ref":"#/components/schemas/RoomConfiguration_SupplierDetails"}},"nights":{"type":"integer","description":"How many total nights for this stay","format":"int32"},"hours":{"type":"integer","description":"Number of hours between start and end dates. Used for itineraries that require bookings that occur within hours and not days. E.g. Meeting room reservation.","format":"int64","readOnly":true},"children":{"type":"integer","description":"How many total children for this stay","format":"int32"},"guests":{"type":"integer","description":"How many total guests for this stay","format":"int32"},"rooms":{"type":"integer","description":"How many total rooms for this stay","format":"int32"}},"description":"SimpleDateTimeItinerary"},"LocalizedDescription_SupplierDetails":{"required":["description","language"],"type":"object","properties":{"description":{"maxLength":2147483647,"minLength":1,"type":"string","description":"Longer text description","example":"This is a longer description in the specified language."},"language":{"maxLength":2,"minLength":2,"type":"string","description":"Indicate which language this description is written in.","example":"en","default":"en"}},"description":"List of localized descriptions for this fee."},"LocalizedPrice_SupplierDetails":{"required":["internalBaseTotal","sourceBaseTotal","sourceToInternalCurrencyQuote","sourceToUserCurrencyQuote","userSpecifiedCurrencyBaseTotal"],"type":"object","properties":{"sourceToUserCurrencyQuote":{"$ref":"#/components/schemas/Quote_SupplierDetails"},"sourceToInternalCurrencyQuote":{"$ref":"#/components/schemas/Quote_SupplierDetails"},"userSpecifiedCurrencyBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"userSpecifiedCurrencyPromotionalModifier":{"type":"number","description":"Promotional modifiers in user specified currency","example":-40},"sourcePromotionalModifier":{"type":"number","description":"Promotional modifiers in hotel currency","example":-40},"internalPromotionalModifier":{"type":"number","description":"Promotional modifiers in wink currency","example":-40},"userSpecifiedCurrencyPremiumModifier":{"type":"number","description":"Premium modifiers in user specified currency","example":40},"sourcePremiumModifier":{"type":"number","description":"Premium modifiers in hotel currency","example":40},"internalPremiumModifier":{"type":"number","description":"Premium modifiers in wink currency","example":40},"userSpecifiedCurrencyChannelModifier":{"type":"number","description":"Channel / Membership modifier in user specified currency","example":-10},"sourceChannelModifier":{"type":"number","description":"Channel / Membership modifier in hotel currency","example":-10},"internalChannelModifier":{"type":"number","description":"Channel / Membership modifier in wink currency","example":-10},"quantity":{"type":"integer","description":"How many of this item is included in this price","format":"int64","default":1},"promotionalDiscountPercent":{"type":"number","description":"Promotional discount percent","format":"float"},"channelDiscountPercent":{"type":"number","description":"Channel discount percent","format":"float"},"premiumPercent":{"type":"number","description":"Premium percent","format":"float"},"hasPremium":{"type":"boolean"},"hasPromotion":{"type":"boolean"},"totalDiscountPercent":{"type":"number","format":"float"},"sourceTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"userSpecifiedCurrencyTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"hasChannelDiscount":{"type":"boolean"}},"description":"Pricing information for this ancillary."},"PayoutFee_SupplierDetails":{"required":["candidate","description","fee","identifier","type"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique system ID.","format":"uuid"},"fee":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"type":{"type":"string","description":"Type of fee","enum":["FX","SERVICE_CHARGE"]},"candidate":{"type":"string","description":"Who pays for this fee","enum":["PAYOR","PAYEE"]},"description":{"type":"string","description":"Withdrawal fee description"}},"description":"Fees incurred when making the withdrawal."},"Payout_SupplierDetails":{"required":["beneficiaryIdentifier","created","entry","externalPayeeIdentifier","identifier","status","type","vendor","vendorIdentifier","vendorName","vendorTokenKey"],"type":"object","properties":{"vendor":{"type":"string","description":"Name of integration vendor","example":"STRIPE","enum":["STRIPE","AGENT","NMI","WISE"]},"vendorIdentifier":{"type":"string","description":"Which acquirer account we return fund from."},"vendorName":{"type":"string","description":"Name of regional acquirer account."},"vendorTokenKey":{"type":"string","description":"Key to help load Stripe for the correct region. Could be helpful for other vendors as well."},"identifier":{"type":"string","description":"Unique system ID.","format":"uuid"},"beneficiaryIdentifier":{"type":"string","description":"Beneficiary ID.","format":"uuid"},"externalPayeeIdentifier":{"type":"string","description":"This would be the cardholder ID for VCCs.","example":"stripe-cardholder-1"},"type":{"type":"string","description":"Type of withdrawal.","example":"BANK_TRANSFER","enum":["BANK_TRANSFER","VCC"]},"entry":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"fees":{"type":"array","description":"Fees incurred when making the withdrawal.","items":{"$ref":"#/components/schemas/PayoutFee_SupplierDetails"}},"created":{"type":"string","description":"When the payout record was created.","format":"date-time"},"description":{"type":"string","description":"Textual response from provider","example":"Card created successfully"},"payoutId":{"type":"string","description":"The identifier that was generated when scheduling the payout. This will come from the payout provider such as Stripe.","example":"stripe-card-1"},"referenceCode":{"type":"string","description":"The transaction code that was generated when the funds move out of TripPay's account. This will come from the payout provider such as Stripe. E.g. For VCCs, it will occur when an authorization takes place.","example":"ABC1234"},"referenceCodeDate":{"type":"string","description":"The time the funds were withdrawn","format":"date-time"},"status":{"type":"string","description":"Status of withdrawal.","example":"SCHEDULED","enum":["INITIATED","ACTIVE","INACTIVE","FAILED","CANCELLED","COMPLETE"]}},"description":"Payout keeps track of all outgoing funds for a certain account."},"PendingRefund_SupplierDetails":{"required":["captureAmountRefundModifier","displayAmountRefundModifier","internalAmountRefundModifier","refundIdentifier","sourceAmountRefundModifier","supplierAmountRefundModifier"],"type":"object","properties":{"refundIdentifier":{"type":"string","description":"This is the refund identifier located on the root bookingContract.refunds object","example":"refund-1"},"sourceAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original source amount after a refund occurred","example":5},"displayAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original display amount after a refund occurred","example":5},"supplierAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original supplier amount after a refund occurred","example":5},"internalAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original internal amount after a refund occurred","example":5},"captureAmountRefundModifier":{"minimum":0,"type":"number","description":"The delta from the original capture amount after a refund occurred","example":5}},"description":"When a refund is first requested, it ends up here. Once it is applied, it moves out of this list and into the parent modifier property"},"Personal_SupplierDetails":{"type":"object","properties":{"gender":{"type":"string","description":"Identifier the gender of the customer.","enum":["MALE","FEMALE","OTHER"]},"birthDate":{"type":"string","description":"Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format.","format":"date"},"maritalStatus":{"type":"string","description":"Marital status of the traveler.","enum":["ANNULLED","COHABITATING","DIVORCED","ENGAGED","MARRIED","SEPARATED","SINGLE","WIDOWED","UNKNOWN"]},"childQuantity":{"type":"integer","description":"The number of children of the customer.","format":"int32"},"citizenship":{"type":"string","description":"Name of the (self-professed) country that is clamided for citizenship."},"address1":{"type":"string","description":"Address line 1"},"address2":{"type":"string","description":"Address line 2"},"city":{"type":"string","description":"City"},"state":{"type":"string","description":"State"},"postalCode":{"type":"string","description":"Postal code"},"country":{"type":"string","description":"Country"},"preferredCurrency":{"type":"string","description":"Type of funds preferred for reviewing monetary values, in ISO 4217 codes","example":"USD"},"language":{"type":"string","description":"The primary language of the customer"},"contactPerson":{"type":"array","items":{"$ref":"#/components/schemas/Contact_SupplierDetails"}},"physChallName":{"type":"array","items":{"type":"string","description":"Array of customer's physical challenges"}},"petInfo":{"type":"array","items":{"$ref":"#/components/schemas/PetInfoDto_SupplierDetails"}}},"description":"Detailed customer information for this profile"},"PetInfoDto_SupplierDetails":{"required":["name","type"],"type":"object","properties":{"name":{"type":"string","description":"Pet name"},"type":{"type":"string","description":"Pet type"}},"description":"Array of customer's pets"},"Preferences_SupplierDetails":{"type":"object","properties":{"propertyLocationPref":{"type":"string","description":"Indicates preference for hotel property locations."},"propertyTypePref":{"type":"string","description":"Indicates preference for hotel property types."},"hotelChainPref":{"type":"string","description":"Identifies a preferred company by name."},"propertyAmenityPref":{"type":"array","description":"Indicates preferences for hotel property amenities.","items":{"type":"string"}},"recreationSrvcPref":{"type":"array","description":"Indicates preference for the type of recreation services in a hotel","items":{"type":"string"}},"businessSrvcPref":{"type":"array","description":"Indicates preference for type of business services in a hotel","items":{"type":"string"}},"securityFeaturePref":{"type":"array","description":"Indicates preference of rtype of security features in a hotel","items":{"type":"string"}},"physChalFeaturePref":{"type":"array","description":"Indicates preferences for type of features required to meet the needs of persons with physical challenges, disabilities, etc.","items":{"type":"string","description":"Indicates preferences for type of features required to meet the needs of persons with physical challenges, disabilities, etc."}},"smokingAllowed":{"type":"boolean","description":"Indicates preference for smooking allowed rooms.."},"roomLocationPref":{"type":"string","description":"Indicates preference for hotel room locations."},"bedTypePref":{"type":"string","description":"Indicates preferences for the size and features of hotel bed types."},"foodSrvcPref":{"type":"string","description":"Indicates preferences for type of food listener facilities in a hotel."},"roomAmenityPref":{"type":"array","description":"Indicates preferences for hotel room amenities.","items":{"type":"string"}},"guestType":{"type":"string","description":"Guest type"},"mealPref":{"type":"string","description":"Indicates meal preference."},"cuisinePref":{"type":"string","description":"Indicates cuisine preference."},"interestPref":{"type":"array","description":"Indicates interest preference","items":{"type":"string"}},"beveragePref":{"type":"array","description":"Indicates beverage preference.","items":{"type":"string"}},"foodPref":{"type":"array","description":"Indicates food preference.","items":{"type":"string"}},"allergies":{"type":"array","description":"Indicates allergies","items":{"type":"string"}},"petsPref":{"type":"array","description":"Indicates pet preferences","items":{"type":"string"}}},"description":"Customer preferences"},"ProfileUser_SupplierDetails":{"type":"object","properties":{"firstName":{"type":"string","description":"First name","example":"Avid"},"lastName":{"type":"string","description":"Last name","example":"Travelman"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"phone":{"type":"string","description":"Telephone","example":"0123456789"},"profilePictureUrl":{"type":"string","description":"Profile picture URL"},"fullName":{"type":"string","description":"Full name","readOnly":true,"example":"John Smith"}},"description":"User details"},"Profile_SupplierDetails":{"required":["personal","preferences","profileIdentifier","share","user","userIdentifier"],"type":"object","properties":{"profileIdentifier":{"type":"string","description":"Profile identifier","format":"uuid"},"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"share":{"type":"boolean","description":"Indicates whether the user wants to share this profile of themselves with hotel(s)"},"user":{"$ref":"#/components/schemas/ProfileUser_SupplierDetails"},"personal":{"$ref":"#/components/schemas/Personal_SupplierDetails"},"preferences":{"$ref":"#/components/schemas/Preferences_SupplierDetails"}},"description":"Optional profile record"},"PropertyPolicy_SupplierDetails":{"required":["checkInTime","checkOutTime","childrenAllowed","internetAvailability","internetConnectionLocation","internetConnectionType","parkingAccess","parkingAvailability","petsAllowed"],"type":"object","properties":{"childrenAllowed":{"type":"boolean","description":"Indicates whether property allows children","example":true,"default":false},"childrenMinimumAge":{"type":"integer","description":"When a property allows children, it can also indicate what the minimum age is for children to be allowed.","format":"int32","example":6},"internetAvailability":{"type":"string","description":"Indicates the availability of internet on the property.","example":"YES","enum":["YES","NO","YES_PAID"]},"internetConnectionType":{"type":"string","description":"Indicates how guests can access the Internet on the property.","example":"WIFI","enum":["WIFI","CABLE"]},"internetConnectionLocation":{"type":"string","description":"Indicates where internet is available in and around the property.","example":"ENTIRE_PROPERTY","enum":["ENTIRE_PROPERTY","PUBLIC_AREAS","ALL_ROOMS","SOME_ROOMS","BUSINESS_CENTER"]},"parkingAvailability":{"type":"string","description":"Indicates whether parking is available at the property.","example":"YES","enum":["YES","NO","YES_PAID"]},"parkingAccess":{"type":"string","description":"Indicates what type of parking is available at the property.","example":"PRIVATE","enum":["PRIVATE","PUBLIC"]},"petsAllowed":{"type":"boolean","description":"Indicates whether pets are allowed on the property. Note: There are thousand different kinds of pets. Just because the property allows small dogs does not mean the guest can bring a python. Always best to check with property.","example":true,"default":false},"checkOutTime":{"type":"string","description":"When the guest has to check out.","example":"10:00"},"checkInTime":{"type":"string","description":"When the guest can check in.","example":"14:00"}},"description":"Outlines basic policies for the property."},"Quote_SupplierDetails":{"required":["exchangeRate","source","target","timestamp"],"type":"object","properties":{"source":{"type":"string","description":"Source"},"target":{"type":"string","description":"Target"},"exchangeRate":{"type":"number","description":"Exchange rate"},"timestamp":{"type":"integer","description":"Timestamp","format":"int64"}},"description":"The quote used to create totalCapturePrice."},"RatePlanLevelFee_SupplierDetails":{"required":["descriptions","fixedAmount","type"],"type":"object","properties":{"descriptions":{"type":"array","description":"List of localized descriptions for this fee.","items":{"$ref":"#/components/schemas/LocalizedDescription_SupplierDetails"}},"fixedAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"type":{"type":"string","description":"Rate plan fee type","example":"PER_DAY","enum":["PER_DAY","PER_STAY","PER_PERSON_PER_DAY","PER_PERSON_PER_STAY"]}},"description":"What the guest is paying extra for"},"RatePlan_SupplierDetails":{"required":["allInclusive","allInclusivePlusAlcohol","breakfast","brunch","cancellationPolicyIdentifier","dinner","enabled","hotelIdentifier","identifier","lunch","name","prepaid"],"type":"object","properties":{"identifier":{"type":"string","description":"Rate plan identifier","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Hotel Identifier","format":"uuid"},"name":{"type":"string","description":"Provides the name of the rate plan.","example":"BAR 1"},"prepaid":{"type":"boolean","description":"When true, indicates if the rate is a prepaid rate.","example":false,"default":false},"enabled":{"type":"boolean","description":"Whether rate plan is active or not.","example":false,"default":false},"breakfast":{"type":"boolean","description":"When true, indicates breakfast is included.","example":false,"default":false},"brunch":{"type":"boolean","description":"When true, indicates brunch is included.","example":false,"default":false},"lunch":{"type":"boolean","description":"When true, indicates lunch is included.","example":false,"default":false},"dinner":{"type":"boolean","description":"When true, indicates dinner is included.","example":false,"default":false},"allInclusive":{"type":"boolean","description":"Everything included except alcohol","example":false,"default":false},"allInclusivePlusAlcohol":{"type":"boolean","description":"Everything included with alcohol","example":false,"default":false},"sellStartDate":{"type":"string","description":"Set a start date for when to start selling this rate. When sellStartDate and sellEndDate are set, this rate is only available for sale within that date range.","format":"date"},"sellEndDate":{"type":"string","description":"Set an end date for when to finish selling this rate. When sellStartDate and sellEndDate are set, this rate is only available for sale within that date range.","format":"date"},"stayStartDate":{"type":"string","description":"Set a start date for when the guest can visit. When stayStartDate and stayEndDate are set, this rate is only available for stay within that date range.","format":"date"},"stayEndDate":{"type":"string","description":"Set an end date for when the guest can visit. When stayStartDate and stayEndDate are set, this rate is only available for stay within that date range.","format":"date"},"loyaltyPointsAccrue":{"type":"boolean","description":"Property honors loyalty points with this rate plan.","example":false,"default":false},"maxAdvanceBookingOffset":{"type":"integer","description":"Maximum days before the arrival date for which this rate plan may be booked.","format":"int32","example":10},"minAdvanceBookingOffset":{"type":"integer","description":"Minimum days before the arrival date for which this rate plan may be booked.","format":"int32","example":3},"minTotalOccupancy":{"type":"integer","description":"Defines the minimum number of total occupants required for this rate plan.","format":"int32","example":4},"maxTotalOccupancy":{"type":"integer","description":"Defines the maximum number of total occupants required for this rate plan.","format":"int32","example":4},"minLOS":{"type":"integer","description":"Indicates the minimum length of stay required for this rate plan.","format":"int32","example":3},"maxLOS":{"type":"integer","description":"Indicates the maximum length of stay.","format":"int32","example":5},"minAge":{"type":"integer","description":"The minimum age to qualify for this rate plan.","format":"int32","example":26},"maxAge":{"type":"integer","description":"The maximum age to qualify for this rate plan.","format":"int32","example":50},"ratePlanLevelFees":{"type":"array","description":"This can be a one-time fee such as a cleaning fee","items":{"$ref":"#/components/schemas/RatePlanLevelFee_SupplierDetails"}},"availableDaysOfWeek":{"$ref":"#/components/schemas/DowPatternGroup_SupplierDetails"},"arrivalDaysOfWeek":{"$ref":"#/components/schemas/DowPatternGroup_SupplierDetails"},"departureDaysOfWeek":{"$ref":"#/components/schemas/DowPatternGroup_SupplierDetails"},"requiredDaysOfWeek":{"$ref":"#/components/schemas/DowPatternGroup_SupplierDetails"},"earlyCheckInCharge":{"$ref":"#/components/schemas/VariableCharge_SupplierDetails"},"lateCheckOutCharge":{"$ref":"#/components/schemas/VariableCharge_SupplierDetails"},"cancellationPolicyIdentifier":{"type":"string","description":"The cancellation policy for this rate plan.","example":"cancellation-policy-1"},"cancellationPolicy":{"$ref":"#/components/schemas/CancellationPolicy_SupplierDetails"},"cancellationPolicyExceptions":{"$ref":"#/components/schemas/CancellationPolicyExceptions_SupplierDetails"},"singleOccupancyRateModifier":{"$ref":"#/components/schemas/VariableCharge_SupplierDetails"},"extraPaxRateModifier":{"$ref":"#/components/schemas/VariableCharge_SupplierDetails"},"extraChildRateModifier":{"$ref":"#/components/schemas/VariableCharge_SupplierDetails"}},"description":"Rate plan used for this stay"},"Refund_SupplierDetails":{"required":["cancelOnRefund","created","description","identifier","reasonType","refund","requestResponse","requestStatus","requestType","statusType"],"type":"object","properties":{"identifier":{"type":"string","description":"A unique identifier","example":"refund-1"},"acquirerRefundIdentifier":{"type":"string","description":"The acquirer refund identifier. Will get attached once it comes in on the webhook.","example":"r-123456"},"requestedByIdentifier":{"type":"string","description":"The SSO person / entity that requested the refund.","example":"user-1"},"refund":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"created":{"type":"string","description":"When the amount was refunded","format":"date-time"},"description":{"type":"string","description":"A description of the refund that can be displayed to booker","example":"Customer made a mistake"},"reasonType":{"type":"string","description":"A description of the refund that can be displayed to booker","example":"DUPLICATE","enum":["DUPLICATE","FRAUDULENT","REQUESTED_BY_CUSTOMER","GUEST_COMPLAINT","GUEST_BOOKED_INCORRECT_DATE","GUEST_SICK","OVERBOOKING","EMERGENCY","FLIGHT_CANCELLED","DEATH_IN_FAMILY","OTHER","EXPIRED_UNCAPTURED_CHARGE"]},"cancelOnRefund":{"type":"string","description":"Whether to cancel the booking alongside requesting a refund.","enum":["NONE","CANCEL_ON_SUCCESSFUL_REFUND","CANCEL_REGARDLESS"]},"statusType":{"type":"string","description":"Status of the refund","example":"SUCCEEDED","enum":["PENDING","SUCCEEDED","CANCELED","REQUIRES_ACTION","FAILED"]},"requestType":{"type":"string","description":"The entity making the refund request","example":"BY_ADMIN","enum":["BY_SUPPLIER","BY_ADMIN","BY_STRIPE","BY_SYSTEM","BY_AGENT"]},"requestStatus":{"type":"string","description":"Status of the refund request","example":"APPROVED","enum":["PENDING","APPROVED","REJECTED"]},"requestResponse":{"type":"string","description":"Admin may choose to respond to the refund request made by the hotel","example":"We have rejected your request. Your cancellation policy does not warrant a manual refund."},"receiptUrl":{"type":"string","description":"This is the receipt url that contains a friendly web confirmation page. Comes in on the webhook.","example":"https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xSXcxazVBQ3F2UW9nN1IxKIPqo54GMgbHKn45YQY6LBbCZ62655YzamuWDVeWAaw7uApCrxewxjSsZX4C9Lef5jY9JeYFrOVx3IaI"},"retries":{"type":"integer","description":"In case a TripPay admin has to go in and re-send the refund request to Stripe, we want to not to the same calculations again when a retry is executed so we keep track of retries here.","format":"int32","example":0,"default":0},"allocation":{"type":"string","description":"The type of refund determines how the funds are deducted each beneficiary.","example":"EQUAL_DISTRIBUTION","default":"EQUAL_DISTRIBUTION","enum":["FROM_SALE_ONLY","EQUAL_DISTRIBUTION","CUSTOMERS_ONLY"]}},"description":"Refund objects allow you to refund a charge that has previously been created but not yet refunded. Funds will be refunded to the credit or debit card that was originally charged."},"ReportingAncillary_SupplierDetails":{"type":"object","properties":{"name":{"type":"string","description":"Full name of ancillary in English."},"type":{"type":"string","description":"The type","enum":["LODGING","RAIL","AIR","CAR","CRUISE","PACKAGE","ADD_ON","RENTAL","EXPERIENCE","ANCILLARY_BOOKING","ANCILLARY_FEE"]},"grossAmount":{"type":"number","description":"The gross amount."},"netAmount":{"type":"number","description":"The gross amount minus fees and commissions."},"netAmountWithRefund":{"type":"number","description":"The gross amount minus fees and commissions."},"currency":{"type":"string","description":"The currency for these amounts."}},"description":"Displays ancillary accounting details"},"ReportingDailyRate_SupplierDetails":{"type":"object","properties":{"date":{"type":"string","description":"The rate date.","format":"date"},"baseAmount":{"type":"number","description":"The rate given to us by channel manager / CRS / PMS."},"grossAmount":{"type":"number","description":"The derived amount based on promotions, member discounts etc within our platform."},"netAmount":{"type":"number","description":"The gross amount minus fees and commissions."},"netAmountWithRefund":{"type":"number","description":"The net amount minus potential refund. Null if booking contains no refund."},"currency":{"type":"string","description":"The currency for these amounts."}},"description":"Displays rate accounting details"},"ReportingExtraCharge_SupplierDetails":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"grossAmount":{"type":"number"},"netAmount":{"type":"number"},"netAmountWithRefund":{"type":"number"},"currency":{"type":"string"}},"description":"Displays extra charge accounting details."},"ReviewAnswer_SupplierDetails":{"required":["category","questionIdentifier","sort","value"],"type":"object","properties":{"questionIdentifier":{"type":"string","description":"Question identifier","format":"uuid"},"category":{"type":"string","description":"Question category","enum":["COMFORT","CONDITION","SERVICE","ENVIRONMENT","FACILITIES","LOCATION","LIFESTYLE","VALUE","FOOD","ROOM"]},"sort":{"type":"integer","description":"Sort key","format":"int32"},"value":{"type":"integer","description":"Value","format":"int32"}}},"ReviewUser_SupplierDetails":{"type":"object","properties":{"userIdentifier":{"type":"string","description":"User identifier","format":"uuid"},"firstName":{"type":"string","description":"First name","example":"John"},"lastName":{"type":"string","description":"Last name","example":"Smith"},"email":{"type":"string","description":"Email","format":"email","example":"[email protected]"},"telephone":{"type":"string","description":"Telephone","example":"0123456789"},"fullName":{"type":"string","description":"Full name","example":"0123456789"}},"description":"User details of creator of booking."},"Review_SupplierDetails":{"type":"object","properties":{"identifier":{"type":"string","description":"Unique review identifier identifying this record.","format":"uuid"},"bookingIdentifier":{"type":"string","description":"Booking identifier identifier booking this review is associated with.","format":"uuid"},"hotelIdentifier":{"type":"string","description":"Hotel identifier this booking is associated with.","format":"uuid"},"user":{"$ref":"#/components/schemas/ReviewUser_SupplierDetails"},"reviewDate":{"type":"string","description":"Date of review.","format":"date-time"},"averageScore":{"type":"number","description":"Total points divided by number of questions.","format":"double","example":8.7},"answers":{"type":"array","description":"List of user review answers.","items":{"$ref":"#/components/schemas/ReviewAnswer_SupplierDetails"}},"messageFromGuest":{"type":"string","description":"Private message from guest to the hotel. Is not displayed on property profile.","example":"Dear GM, I would like to say thank you so much for taking the time to show my husband and I around the premises and the secret cave behind the property."},"responseFromHotel":{"type":"string","description":"Property can response to traveler review. Response goes on public review profile and can be seen by others.","example":"It was so great to have you at our hotel. Please recommend your friends and come again soon."},"imageIdentifier":{"type":"string","description":"Reviewer can upload her best picture from the property. Cloudinary image identifier.","example":"cloudinary-image-1"},"text":{"type":"string","description":"Free text record created by traveler","example":"Our stay was amazing! Can recommend highly to all. Felt like home."},"approvedText":{"type":"boolean","description":"Hotel allows the review text to be displayed as part of their profile.","example":true},"approvedImage":{"type":"boolean","description":"Hotel allows the user-generated image to be displayed as part of their profile.","example":false},"likes":{"type":"array","description":"List of member identifiers who liked the textual review","format":"uuid","example":"user-1","items":{"type":"string"}},"roomNumber":{"type":"string","description":"Guest's room number during their stay.","example":"501"},"roomRating":{"type":"integer","description":"Guest's room rating","format":"int32","example":7},"responded":{"type":"boolean","description":"Returns true if property has responded to the review given by the guest.","example":false,"default":false}},"description":"User review created by the traveler after the booking completed."},"RoomConfiguration_SupplierDetails":{"required":["adults"],"type":"object","properties":{"adults":{"minimum":1,"type":"integer","description":"Number of adults","format":"int32","example":2,"default":1},"children":{"type":"array","description":"Children configurations","items":{"$ref":"#/components/schemas/Child_SupplierDetails"}}},"description":"Room Configuration"},"RoomStay_SupplierDetails":{"required":["activeCancellationPolicy","adults","bedroomConfiguration","children","endDate","extraCharges","policy","price","ratePlan","room","roomRateIdentifier","roomRateInternalName","rooms","startDate"],"type":"object","properties":{"policy":{"$ref":"#/components/schemas/PropertyPolicy_SupplierDetails"},"room":{"$ref":"#/components/schemas/GuestRoom_SupplierDetails"},"rooms":{"type":"integer","description":"Number of rooms. Always 1 since we switched to creating one booking per room.","format":"int32","example":1,"default":1},"bedroomConfiguration":{"$ref":"#/components/schemas/BedroomConfiguration_SupplierDetails"},"adults":{"type":"integer","description":"The actual amount of adults as determined by the hotel's policy.","format":"int32","example":2,"default":2},"children":{"type":"integer","description":"The actual amount of children as determined by the hotel's policy.","format":"int32","example":0,"default":0},"startDate":{"type":"string","description":"Stay start date","format":"date","example":"2021-12-24"},"endDate":{"type":"string","description":"Stay end date","format":"date","example":"2021-12-31"},"price":{"$ref":"#/components/schemas/StayRate_SupplierDetails"},"roomRateIdentifier":{"type":"string","description":"Master rate identifier","format":"uuid"},"roomRateInternalName":{"type":"string","description":"Master rate internal name","example":"Master Rate 1"},"ratePlan":{"$ref":"#/components/schemas/RatePlan_SupplierDetails"},"perkTypes":{"type":"array","description":"List of perks that came with the master rate","example":["PERK_FREE_DRINK_VOUCHER","PERK_EARLY_CHECKIN"],"items":{"type":"string","description":"List of perks that came with the master rate","example":"[\"PERK_FREE_DRINK_VOUCHER\",\"PERK_EARLY_CHECKIN\"]","enum":["PERK_LOYALTY_POINTS","PERK_WINE","PERK_FREE_DRINK_VOUCHER","PERK_FREE_MEAL_TWO_PEOPLE","PERK_FREE_ONE_HOUR_MASSAGE","PERK_TWENTY_PERCENT_FOOD_BEVERAGE_DISCOUNT","PERK_TWENTY_PERCENT_SPA_DISCOUNT_VOUCHER","PERK_GUARANTEED_UPGRADE","PERK_EARLY_CHECKIN","PERK_ROOM_UPGRADE","PERK_LATE_CHECKOUT","PERK_AIRPORT_TRANSFER","PERK_AIRPORT_PICK_UP","PERK_BOTTLE_CHAMPAGNE_ON_ARRIVAL","PERK_BOTTLE_SPARKLING_WINE_ON_ARRIVAL","PERK_BOTTLE_WINE_ON_ARRIVAL"]}},"extraCharges":{"$ref":"#/components/schemas/ExtraCharges_SupplierDetails"},"activeCancellationPolicy":{"$ref":"#/components/schemas/CancellationPolicy_SupplierDetails"},"cancellableByHotel":{"type":"boolean"},"cancellableWithPotentialCharge":{"type":"boolean"},"cancellable":{"type":"boolean"},"sourceTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"roomNights":{"type":"integer","description":"Total number of nights the guest stays at the hotel. -1 indicates there is an error.","format":"int64","example":2},"guests":{"type":"integer","format":"int32"},"rateSource":{"type":"string"},"userSpecifiedCurrencyTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"}},"description":"All information about the room that was booked."},"SimpleDateTimeItinerary_SupplierDetails":{"required":["adults","children","endDate","startDate"],"type":"object","properties":{"startDate":{"type":"string","description":"Start date","format":"date-time"},"endDate":{"type":"string","description":"End date","format":"date-time"},"adults":{"minimum":0,"type":"integer","description":"Number of adults","format":"int32"},"children":{"minimum":0,"type":"integer","description":"Number of children","format":"int32"},"nights":{"type":"integer","description":"Total number of room nights","format":"int64","readOnly":true},"hours":{"type":"integer","description":"Number of hours between start and end dates. Used for itineraries that require bookings that occur within hours and not days. E.g. Meeting room reservation.","format":"int64","readOnly":true},"guests":{"type":"integer","description":"Total number of adults and children","format":"int32","readOnly":true}},"description":"SimpleDateTimeItinerary outlines stay dates, number of adults and children"},"SimpleDescription_SupplierDetails":{"required":["description","language"],"type":"object","properties":{"name":{"type":"string","description":"Use as title or short text description","example":"An example title"},"description":{"maxLength":2147483647,"minLength":1,"type":"string","description":"Longer text description","example":"This is a longer description in the specified language."},"language":{"maxLength":2,"minLength":2,"type":"string","description":"Indicate which language this description is written in.","example":"en","default":"en"}}},"SimpleMultimedia_SupplierDetails":{"required":["height","identifier","multimediaIdentifier","source","type","width"],"type":"object","properties":{"multimediaIdentifier":{"type":"string","description":"Document identifier","format":"uuid"},"identifier":{"type":"string","description":"Use this identifier to communicate with Cloudinary.","example":"cloudinary-image-1"},"type":{"type":"string","description":"Whether Cloudinary media is a VIDEO or IMAGE.","example":"IMAGE","enum":["IMAGE","VIDEO","AUDIO","RAW"]},"source":{"type":"string","description":"Currently ONLY using Cloudinary to store all image / video assets.","example":"CLOUDINARY","default":"CLOUDINARY","enum":["YOUTUBE","CLOUDINARY"]},"sort":{"type":"integer","description":"Sort allows you to control how you want to sort this record in a list of media records.","format":"int32","example":10,"default":999},"angle":{"type":"string","description":"Media angle","example":"-90"},"width":{"type":"integer","description":"Media width in pixels.","format":"int32","example":2560},"height":{"type":"integer","description":"Media height in pixels.","format":"int32","example":1600},"published":{"type":"boolean","description":"Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.","example":true,"default":false},"category":{"type":"string","description":"Supported OTA specification `PIC` code. See [OTA geoname data](#operation/showAvailableCodesForCategory)","example":"1"},"descriptions":{"type":"array","description":"Localized media captions to give user some context about where this media was taken.","items":{"$ref":"#/components/schemas/SimpleDescription_SupplierDetails"}},"lifestyleType":{"type":"string","description":"Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.","example":"LIFESTYLE_HEALTH_FITNESS","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]},"attribution":{"type":"array","description":"Whether image has attribution properties","items":{"$ref":"#/components/schemas/ImageAttribution_SupplierDetails"}},"isLandscape":{"type":"boolean","description":"True if media width is greater or equal to height","example":true}},"description":"Multimedia that contains less information than Multimedia object"},"Social_SupplierDetails":{"type":"object","properties":{"type":{"type":"string","description":"Type of social network.","enum":["FACEBOOK","INSTAGRAM","SKYPE","TRIP_ADVISOR","TWITTER","GOOGLE_PLUS","WHATSAPP","LINE","WECHAT","VIBER","SNAPCHAT","WEIBO","RENREN","WEBSITE","QQ","TIKTOK"]},"location":{"type":"string","description":"URL or social network identifier to social network profile"},"enabled":{"type":"boolean","description":"Whether social network is available for use."}},"description":"Social network"},"StayRate_SupplierDetails":{"type":"object","properties":{"userSpecifiedCurrencyBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalBaseTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceExtraPaxModifier":{"type":"number","description":"Extra person modifier in hotel currency.","example":15},"internalExtraPaxModifier":{"type":"number","description":"Extra person modifier in wink currency","example":15},"userSpecifiedCurrencyExtraPaxModifier":{"type":"number","description":"Extra person modifier in user specified currency","example":15},"sourceExtraChildModifier":{"type":"number","description":"Extra child modifier in hotel currency","example":15},"internalExtraChildModifier":{"type":"number","description":"Extra child modifier in wink currency","example":15},"userSpecifiedCurrencyExtraChildModifier":{"type":"number","description":"Extra child modifier in user specified currcency","example":15},"sourceSingleOccupantModifier":{"type":"number","description":"Single occupant modifier in hotel currency","example":-15},"internalSingleOccupantModifier":{"type":"number","description":"Singe occupant modifier in wink currency","example":-15},"userSpecifiedCurrencySingleOccupantModifier":{"type":"number","description":"Single occupant modifier in user specified currency","example":-15},"sourcePromotionalModifier":{"type":"number","description":"Rate discount modifiers in hotel currency","example":-40},"internalPromotionalModifier":{"type":"number","description":"Rate discount modifiers in wink currency","example":-40},"userSpecifiedCurrencyPromotionalModifier":{"type":"number","description":"Rate discount modifiers in user specified currency","example":-40},"sourcePremiumModifier":{"type":"number","description":"Rate premiums modifiers in hotel currency","example":40},"internalPremiumModifier":{"type":"number","description":"Rate premiums modifiers in wink currency","example":40},"userSpecifiedCurrencyPremiumModifier":{"type":"number","description":"Rate premiums modifiers in user specified currency","example":40},"sourceChannelModifier":{"type":"number","description":"Channel / Membership modifier in hotel currency","example":-10},"internalChannelModifier":{"type":"number","description":"Channel / Membership modifier in wink currency","example":-10},"userSpecifiedCurrencyChannelModifier":{"type":"number","description":"Channel / Membership modifier in user specified currency","example":-10},"quantity":{"type":"integer","description":"Quantity","format":"int32"},"minOccupancy":{"type":"integer","description":"Minimum occupancy","format":"int32"},"maxOccupancy":{"type":"integer","description":"Maximum occupancy","format":"int32"},"rateSource":{"type":"string","description":"Source"},"promotionalDiscountPercent":{"type":"number","description":"Promotional discount percent","format":"float"},"channelDiscountPercent":{"type":"number","description":"Chanel discount percent","format":"float"},"premiumPercent":{"type":"number","description":"Premium percent","format":"float"},"available":{"type":"boolean","description":"Available"},"sourceToUserCurrencyQuote":{"$ref":"#/components/schemas/Quote_SupplierDetails"},"sourceToInternalCurrencyQuote":{"$ref":"#/components/schemas/Quote_SupplierDetails"},"offerDetails":{"type":"array","description":"Localized text of the discount","items":{"$ref":"#/components/schemas/LocalizedDescription_SupplierDetails"}},"promotionalCodes":{"type":"array","description":"Promotional codes","items":{"type":"string"}},"list":{"type":"array","items":{"$ref":"#/components/schemas/DailyRate_SupplierDetails"}},"userSpecifiedCurrencyTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalTotal":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"userSpecifiedCurrencyAveragePricePerNight":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"internalAveragePricePerNight":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"sourceAveragePricePerNight":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"totalDiscountPercent":{"type":"number","format":"float"}},"description":"Price details"},"SubCountry_SupplierDetails":{"type":"object","properties":{"name":{"type":"string","description":"Sub-country name","example":"New York"},"asciiName":{"type":"string","description":"Sub-country ascii name","example":"New York"},"geoNameId":{"type":"string","description":"Sub-country GeoNames identifier","example":"5128638"}},"description":"Country subdivision such as a state or province"},"SubSubCountry_SupplierDetails":{"type":"object","properties":{"name":{"type":"string"},"asciiName":{"type":"string"},"geoNameId":{"type":"string"}},"description":"Country sub sub division"},"SupplierContractItemPolicy_SupplierDetails":{"required":["refundable"],"type":"object","properties":{"refundable":{"type":"boolean","description":"Whether this booking is refundable or not.","example":true},"advanceCancellationFreeOfCharge":{"type":"string","description":"When the cancellation policy is refundable, this flag can be set and indicates there is more rules involved than just a no-questions-asked refundable.","example":"UNTIL_EIGHTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","enum":["UNTIL_EIGHTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","UNTIL_FOURTEEN_HUNDRED_HOURS_ON_DAY_OF_ARRIVAL","ONE_DAY_BEFORE_ARRIVAL","TWO_DAYS_BEFORE_ARRIVAL","THREE_DAYS_BEFORE_ARRIVAL","FIVE_DAYS_BEFORE_ARRIVAL","SEVEN_DAYS_BEFORE_ARRIVAL","FOURTEEN_DAYS_BEFORE_ARRIVAL","TWENTYONE_DAYS_BEFORE_ARRIVAL","THIRTY_DAYS_BEFORE_ARRIVAL","FOURTY_TWO_DAYS_BEFORE_ARRIVAL","SIXTY_DAYS_BEFORE_ARRIVAL"]},"refundableCancellationCharge":{"type":"string","description":"If advanceCancellationFreeOfCharge rules is not honored, this property explains what the guest will be charged.","example":"FIFTY_PERCENT","enum":["FIRST_NIGHT","THIRTY_PERCENT","FIFTY_PERCENT","SIXTY_PERCENT","SEVENTY_PERCENT","NINENTY_PERCENT","ONE_HUNDRED_PERCENT"]},"noShowCharge":{"type":"string","description":"In case the 'Refundable cancellation charge' is set, a different no show charge can be applied.","example":"SAME_AS_CANCELLATION_FEE","enum":["SAME_AS_CANCELLATION_FEE","ONE_HUNDRED_PERCENT_OF_TOTAL_CHARGE"]},"nonRefundableCancellationCharge":{"type":"string","description":"When the cancellation policy is non-refundable, this flag can be set and indicates there is more rules involved to calculate what the guest will owe in case of a cancellation.","example":"SEVENTY_PERCENT","enum":["FIRST_NIGHT","TEN_PERCENT","THIRTY_PERCENT","FIFTY_PERCENT","SEVENTY_PERCENT"]},"nonRefundableDeadline":{"type":"string","description":"The non-refundable charge might can have a deadline. If that deadline passes, the guest might be charged more.","example":"SEVEN_DAYS_BEFORE_ARRIVAL","enum":["ONE_DAY_BEFORE_ARRIVAL","TWO_DAYS_BEFORE_ARRIVAL","THREE_DAYS_BEFORE_ARRIVAL","FIVE_DAYS_BEFORE_ARRIVAL","SEVEN_DAYS_BEFORE_ARRIVAL","FOURTEEN_DAYS_BEFORE_ARRIVAL","TWENTYONE_DAYS_BEFORE_ARRIVAL","THIRTY_DAYS_BEFORE_ARRIVAL","FOURTY_TWO_DAYS_BEFORE_ARRIVAL","SIXTY_DAYS_BEFORE_ARRIVAL"]},"nonRefundableAfterDeadlineCancellationCharge":{"type":"string","description":"If the guest does not honor the non-refundable deadline rule, this charge dictates what she owes after the deadline passes.","example":"ONE_HUNDRED_PERCENT","enum":["FIRST_NIGHT","TEN_PERCENT","THIRTY_PERCENT","FIFTY_PERCENT","SEVENTY_PERCENT","ONE_HUNDRED_PERCENT"]},"externalIdentifier":{"type":"string","description":"Optional geoname externalIdentifier to remote policy.","example":"policy-1"},"fullyRefundable":{"type":"boolean"},"partiallyRefundable":{"type":"boolean"}},"description":"Outlines the policy for this item."},"TransactionalTravelInventory_SupplierDetails":{"required":["basePrice","descriptions","discountedPrice","identifier","name","pricingType"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique transactional identifier","format":"uuid"},"name":{"type":"string","description":"Internal name of transactional inventory.","example":"1 hour session"},"descriptions":{"maxItems":2147483647,"minItems":1,"type":"array","description":"Localized descriptions describing inventory.","items":{"$ref":"#/components/schemas/SimpleDescription_SupplierDetails"}},"pricingType":{"type":"string","description":"How this inventory item should be priced.","enum":["PER_STAY","PER_DAY","PER_NIGHT","PER_USE","PER_HOUR","PER_PERSON","PER_PERSON_PER_NIGHT","PER_PERSON_PER_HOUR","PER_ADULT","PER_ADULT_PER_NIGHT","PER_ADULT_PER_HOUR","PER_CHILD","PER_CHILD_PER_NIGHT","PER_CHILD_PER_HOUR"]},"basePrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"discountedPrice":{"$ref":"#/components/schemas/CustomMonetaryAmount"},"multimedias":{"type":"array","description":"List of images / videos of item.","items":{"$ref":"#/components/schemas/SimpleMultimedia_SupplierDetails"}},"minPax":{"type":"integer","description":"Whether there is a limit to minimum group size.","format":"int32","example":2},"maxPax":{"type":"integer","description":"Whether there is a limit to maximum group size.","format":"int32","example":10},"percentDiscount":{"type":"number","description":"Calculates the percent difference between basePrice and discountedPrice.","format":"float","example":0.1},"percentPremium":{"type":"number","description":"Calculates the percent difference between basePrice and discountedPrice.","format":"float","example":0.1}},"description":"This is one bookable item that can stand alongside a restaurant / meeting room etc."},"TravelInventoryRecognition_SupplierDetails":{"required":["category","identifier","maxRating","provider","rating","type"],"type":"object","properties":{"identifier":{"type":"string","description":"Recognition identifier.","format":"uuid"},"category":{"type":"string","description":"Recognition category.","example":"AWARD","enum":["THIRD_PARTY_REVIEW","PUBLICATION","AWARD"]},"type":{"type":"string","description":"Type of rating system the recognition operated on. This allows us to display the score properly.","example":"PERCENT_RATING","enum":["STAR_RATING","NUMERIC_RATING","PERCENT_RATING"]},"provider":{"type":"string","description":"The name of the entity that administers this recognition.","example":"Michelin"},"rating":{"minimum":0.0,"exclusiveMinimum":false,"type":"number","description":"The actual award or rating received by the hotel facility.","format":"float","example":8.5},"maxRating":{"type":"number","description":"Use this to let hotels indicate what the total score for this award is.","format":"float","example":10},"date":{"type":"string","description":"The date the award was received","format":"date","example":"2020-10-24"},"officialAppointmentInd":{"type":"boolean","description":"When true, this indicates the property has received official permission from the award provider to use the rating in publications and marketing materials; when false this permission has not been granted.","example":true},"ratingSymbol":{"type":"string","description":"Provides the symbol used in the rating. Used in conjunction with the Rating.","example":"*"}},"description":"Recognition for the ancillary inventory."},"UserSession_SupplierDetails":{"required":["itinerary"],"type":"object","properties":{"itinerary":{"$ref":"#/components/schemas/Itinerary_SupplierDetails"},"language":{"type":"string","description":"User's language preference","example":"en"},"currency":{"type":"string","description":"User's currency preference","example":"USD"},"promotionalCodes":{"type":"array","items":{"type":"string","description":"User can pass promotional codes to system to change prices.","example":"promo-1"}},"selectedRoomConfigurationIndex":{"type":"integer","description":"User can pass the current room configuration index to retrieve rates specifically for that room configuration.","format":"int32"},"lifestyle":{"type":"string","description":"The preferred user lifestyle.","enum":["LIFESTYLE_HEALTH_FITNESS","LIFESTYLE_RELAX","LIFESTYLE_ADULT_ONLY","LIFESTYLE_ADVENTURE","LIFESTYLE_BUSINESS","LIFESTYLE_LGBT","LIFESTYLE_SINGLE_PARENT","LIFESTYLE_SOLO_FEMALE","LIFESTYLE_BEAUTY","LIFESTYLE_FOODIE","LIFESTYLE_FAMILY","LIFESTYLE_ROMANCE","LIFESTYLE_COUPLE","LIFESTYLE_SOLO","LIFESTYLE_BACKPACKER","LIFESTYLE_SHOPPING","LIFESTYLE_SPORTS","LIFESTYLE_MOUNTAIN","LIFESTYLE_BEACH","LIFESTYLE_CITY","LIFESTYLE_COUNTRY","LIFESTYLE_CULTURE","LIFESTYLE_ECO"]}},"description":"User session information containing itinerary and other user related data."},"VariableCharge_SupplierDetails":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"When the type is FIXED, fixedAmount is required. When the type is PERCENTAGE, percent is required.","enum":["FIXED","PERCENTAGE"]},"percent":{"type":"number","description":"A percentage of the total stay amount for an early check-in or late check-out","format":"float","example":0.25},"fixedAmount":{"$ref":"#/components/schemas/CustomMonetaryAmount"}}},"BookingCancellable_Supplier":{"required":["bookingIdentifier","cancellable","hotelIdentifier"],"type":"object","properties":{"hotelIdentifier":{"type":"string","description":"Owner identifier of booking.","format":"uuid"},"bookingIdentifier":{"type":"string","description":"Booking unique identifier.","format":"uuid"},"cancellable":{"type":"boolean","description":"Whether booking can be cancelled or not.","example":true}}},"KeyValuePair_Supplier":{"required":["label","value"],"type":"object","properties":{"value":{"type":"string","description":"The value that should be persisted.","example":"id-1"},"label":{"type":"string","description":"English readable text of the value.","example":"Readable text label"}}},"GroupedBookingSalesMetrics_SupplierDetails":{"type":"object","properties":{"type":{"type":"string","enum":["BY_TOTAL","BY_COUNTRY","BY_PROPERTY"]},"typeName":{"type":"string"},"typeIdentifier":{"type":"string"},"bookings":{"type":"integer","format":"int64"},"totalPriceAmount":{"type":"number","format":"double"},"averageBookingAmount":{"type":"number","format":"double"},"currencyCode":{"type":"string"}}}},"securitySchemes":{"oauth2ClientCredentials":{"type":"oauth2","description":"## Retrieve access token\nMake a POST (`Content-Type: application/x-www-form-urlencoded`) request to the Token URL below. Include one POST key/value entry: `grant_type=client_credentials` and include your clientID / secretKey credentials in a Basic Auth header. E.g. `Authorization: Basic base64_encode($clientId + ':' + $secretKey)`.\n## Add Bearer access token to all API requests\nOnce you have the access token, you can pass that along on all API requests in the authentication header: `'Authorization: Bearer $accessToken`.\nNote: Tokens expire after 3 hours. Please make sure you refresh your token before that time.","name":"Client Credentials","flows":{"clientCredentials":{"authorizationUrl":"https://iam.wink.travel/oauth2/authorize","tokenUrl":"https://iam.wink.travel/oauth2/token","refreshUrl":"https://iam.wink.travel/oauth2/refresh","scopes":{"inventory.read":"Read Wink data","inventory.write":"Create Wink data","inventory.remove":"Remove Wink data"}}}}}}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy