@revolugo/booking-api-client 6.14.6-beta.20 → 6.14.6-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/v1/models/index.d.ts +12 -108
- package/package.json +5 -5
|
@@ -1958,9 +1958,7 @@ export interface HotelOfferApiAllOf {
|
|
|
1958
1958
|
*/
|
|
1959
1959
|
export interface HotelOfferRequestApiResponse {
|
|
1960
1960
|
/**
|
|
1961
|
-
*
|
|
1962
|
-
*
|
|
1963
|
-
* <b style="color: red;">If address cannot be geocoded (transformed into a latitude/longitude pair) provided **latitude** and **longitude** parameters will be used as fallback.</b>
|
|
1961
|
+
* Formatted address in the case of an hotel offer request created with an address that has been successfully geocoded.
|
|
1964
1962
|
* @type {string}
|
|
1965
1963
|
* @memberof HotelOfferRequestApiResponse
|
|
1966
1964
|
*/
|
|
@@ -1990,148 +1988,54 @@ export interface HotelOfferRequestApiResponse {
|
|
|
1990
1988
|
*/
|
|
1991
1989
|
children?: string | null;
|
|
1992
1990
|
/**
|
|
1993
|
-
*
|
|
1994
|
-
* @type {
|
|
1995
|
-
* @memberof HotelOfferRequestApiResponse
|
|
1996
|
-
*/
|
|
1997
|
-
eventMetadata?: EventMetadataApi | null;
|
|
1998
|
-
/**
|
|
1999
|
-
* Search location latitude.
|
|
2000
|
-
*
|
|
2001
|
-
* <b style="color: red;"> when no address parameter passed.</b>
|
|
2002
|
-
* @type {number}
|
|
2003
|
-
* @memberof HotelOfferRequestApiResponse
|
|
2004
|
-
*/
|
|
2005
|
-
latitude?: number | null;
|
|
2006
|
-
/**
|
|
2007
|
-
* Search location longitude.
|
|
2008
|
-
*
|
|
2009
|
-
* <b style="color: red;"> when no address parameter passed.</b>
|
|
2010
|
-
* @type {number}
|
|
2011
|
-
* @memberof HotelOfferRequestApiResponse
|
|
2012
|
-
*/
|
|
2013
|
-
longitude?: number | null;
|
|
2014
|
-
/**
|
|
2015
|
-
* The total number of rooms requested for the stay. Results may display offers matching a different room count than the requested one, however those results will always provide enough occupancy for the total guest count needed.
|
|
2016
|
-
*
|
|
2017
|
-
* Constraint: The **room_count** cannot be greater than the requested guest count (adult and children guests) and the minimum **room_count** cannot be less than the total guest count (adult and children guests) divided by 4, meaning that the maximum number of guest in a single room cannot be greeater than 4.
|
|
2018
|
-
* @type {number}
|
|
1991
|
+
* Date of the **Hotel Room Offer Request** creation
|
|
1992
|
+
* @type {string}
|
|
2019
1993
|
* @memberof HotelOfferRequestApiResponse
|
|
2020
1994
|
*/
|
|
2021
|
-
|
|
1995
|
+
createdAt: string;
|
|
2022
1996
|
/**
|
|
2023
1997
|
*
|
|
2024
|
-
* @type {
|
|
2025
|
-
* @memberof HotelOfferRequestApiResponse
|
|
2026
|
-
*/
|
|
2027
|
-
sourceMarket: SourceMarket;
|
|
2028
|
-
/**
|
|
2029
|
-
* Date of the **Hotel Room Offer Request** creation
|
|
2030
|
-
* @type {string}
|
|
1998
|
+
* @type {EventMetadataApi}
|
|
2031
1999
|
* @memberof HotelOfferRequestApiResponse
|
|
2032
2000
|
*/
|
|
2033
|
-
|
|
2001
|
+
eventMetadata?: EventMetadataApi | null;
|
|
2034
2002
|
/**
|
|
2035
2003
|
* id of the **Hotel Offer Request**
|
|
2036
2004
|
* @type {string}
|
|
2037
2005
|
* @memberof HotelOfferRequestApiResponse
|
|
2038
2006
|
*/
|
|
2039
2007
|
id: string;
|
|
2040
|
-
}
|
|
2041
|
-
/**
|
|
2042
|
-
*
|
|
2043
|
-
* @export
|
|
2044
|
-
* @interface HotelOfferRequestApiResponseAllOf
|
|
2045
|
-
*/
|
|
2046
|
-
export interface HotelOfferRequestApiResponseAllOf {
|
|
2047
|
-
/**
|
|
2048
|
-
* This endpoint allows to find the geo-coordinates of a known address, place or locality via this free-text address query field. This address will eventually be geocoded into a latitude/longitude pair.
|
|
2049
|
-
*
|
|
2050
|
-
* <b style="color: red;">If address cannot be geocoded (transformed into a latitude/longitude pair) provided **latitude** and **longitude** parameters will be used as fallback.</b>
|
|
2051
|
-
* @type {string}
|
|
2052
|
-
* @memberof HotelOfferRequestApiResponseAllOf
|
|
2053
|
-
*/
|
|
2054
|
-
address?: string | null;
|
|
2055
|
-
/**
|
|
2056
|
-
* The total number of adults who will be staying in the property.
|
|
2057
|
-
* @type {number}
|
|
2058
|
-
* @memberof HotelOfferRequestApiResponseAllOf
|
|
2059
|
-
*/
|
|
2060
|
-
adultCount: number;
|
|
2061
|
-
/**
|
|
2062
|
-
* Date of check-in formatted as YYYY-MM-DD.
|
|
2063
|
-
* @type {string}
|
|
2064
|
-
* @memberof HotelOfferRequestApiResponseAllOf
|
|
2065
|
-
*/
|
|
2066
|
-
checkInDate: string;
|
|
2067
|
-
/**
|
|
2068
|
-
* Date of check-out formatted as YYYY-MM-DD.
|
|
2069
|
-
* @type {string}
|
|
2070
|
-
* @memberof HotelOfferRequestApiResponseAllOf
|
|
2071
|
-
*/
|
|
2072
|
-
checkOutDate: string;
|
|
2073
|
-
/**
|
|
2074
|
-
* A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
|
|
2075
|
-
* @type {string}
|
|
2076
|
-
* @memberof HotelOfferRequestApiResponseAllOf
|
|
2077
|
-
*/
|
|
2078
|
-
children?: string | null;
|
|
2079
|
-
/**
|
|
2080
|
-
*
|
|
2081
|
-
* @type {EventMetadataApi}
|
|
2082
|
-
* @memberof HotelOfferRequestApiResponseAllOf
|
|
2083
|
-
*/
|
|
2084
|
-
eventMetadata?: EventMetadataApi | null;
|
|
2085
2008
|
/**
|
|
2086
2009
|
* Search location latitude.
|
|
2087
2010
|
*
|
|
2088
2011
|
* <b style="color: red;"> when no address parameter passed.</b>
|
|
2089
2012
|
* @type {number}
|
|
2090
|
-
* @memberof
|
|
2013
|
+
* @memberof HotelOfferRequestApiResponse
|
|
2091
2014
|
*/
|
|
2092
|
-
latitude
|
|
2015
|
+
latitude: number;
|
|
2093
2016
|
/**
|
|
2094
2017
|
* Search location longitude.
|
|
2095
2018
|
*
|
|
2096
2019
|
* <b style="color: red;"> when no address parameter passed.</b>
|
|
2097
2020
|
* @type {number}
|
|
2098
|
-
* @memberof
|
|
2021
|
+
* @memberof HotelOfferRequestApiResponse
|
|
2099
2022
|
*/
|
|
2100
|
-
longitude
|
|
2023
|
+
longitude: number;
|
|
2101
2024
|
/**
|
|
2102
2025
|
* The total number of rooms requested for the stay. Results may display offers matching a different room count than the requested one, however those results will always provide enough occupancy for the total guest count needed.
|
|
2103
2026
|
*
|
|
2104
2027
|
* Constraint: The **room_count** cannot be greater than the requested guest count (adult and children guests) and the minimum **room_count** cannot be less than the total guest count (adult and children guests) divided by 4, meaning that the maximum number of guest in a single room cannot be greeater than 4.
|
|
2105
2028
|
* @type {number}
|
|
2106
|
-
* @memberof
|
|
2029
|
+
* @memberof HotelOfferRequestApiResponse
|
|
2107
2030
|
*/
|
|
2108
2031
|
roomCount: number;
|
|
2109
2032
|
/**
|
|
2110
2033
|
*
|
|
2111
2034
|
* @type {SourceMarket}
|
|
2112
|
-
* @memberof
|
|
2035
|
+
* @memberof HotelOfferRequestApiResponse
|
|
2113
2036
|
*/
|
|
2114
2037
|
sourceMarket: SourceMarket;
|
|
2115
2038
|
}
|
|
2116
|
-
/**
|
|
2117
|
-
*
|
|
2118
|
-
* @export
|
|
2119
|
-
* @interface HotelOfferRequestApiResponseAllOf1
|
|
2120
|
-
*/
|
|
2121
|
-
export interface HotelOfferRequestApiResponseAllOf1 {
|
|
2122
|
-
/**
|
|
2123
|
-
* Date of the **Hotel Room Offer Request** creation
|
|
2124
|
-
* @type {string}
|
|
2125
|
-
* @memberof HotelOfferRequestApiResponseAllOf1
|
|
2126
|
-
*/
|
|
2127
|
-
createdAt: string;
|
|
2128
|
-
/**
|
|
2129
|
-
* id of the **Hotel Offer Request**
|
|
2130
|
-
* @type {string}
|
|
2131
|
-
* @memberof HotelOfferRequestApiResponseAllOf1
|
|
2132
|
-
*/
|
|
2133
|
-
id: string;
|
|
2134
|
-
}
|
|
2135
2039
|
/**
|
|
2136
2040
|
*
|
|
2137
2041
|
* @export
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revolugo/booking-api-client",
|
|
3
|
-
"version": "6.14.6-beta.
|
|
3
|
+
"version": "6.14.6-beta.22",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Javascript Revolugo Booking API Client (browser + server)",
|
|
6
6
|
"keywords": [
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@hono/node-server": "1.19.7",
|
|
44
44
|
"hono": "4.11.1",
|
|
45
|
-
"@revolugo/booking-api": "6.14.6",
|
|
46
|
-
"@revolugo/engines": "6.14.6",
|
|
47
45
|
"@revolugo/env": "6.14.6",
|
|
46
|
+
"@revolugo/engines": "6.14.6",
|
|
47
|
+
"@revolugo/booking-api": "6.14.6",
|
|
48
48
|
"@revolugo/models": "6.14.6",
|
|
49
|
-
"@revolugo/
|
|
50
|
-
"@revolugo/
|
|
49
|
+
"@revolugo/node": "6.14.6",
|
|
50
|
+
"@revolugo/root": "6.14.6"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|