@revolugo/booking-api-client 7.2.4-alpha.4 → 7.2.4-alpha.6
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/index.es.js +3951 -1641
- package/dist/index.umd.js +2 -2
- package/dist/types/v1/apis/ResourceBookingPoliciesApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceBookingsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelImagesApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelsApi.d.ts +2 -2
- package/dist/types/v1/index.d.ts +3 -3
- package/dist/types/v1/models/AllowedPaymentMethodApi.d.ts +13 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf.d.ts +38 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf1.d.ts +38 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf2.d.ts +38 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3.d.ts +34 -0
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3Payload.d.ts +40 -0
- package/dist/types/v1/models/AmenitiesApi.d.ts +289 -0
- package/dist/types/v1/models/BedApi.d.ts +43 -0
- package/dist/types/v1/models/BookingApi.d.ts +267 -0
- package/dist/types/v1/models/BookingCreateApi.d.ts +55 -0
- package/dist/types/v1/models/BookingCreateApiGuestsListInner.d.ts +27 -0
- package/dist/types/v1/models/BookingCreateApiGuestsListInnerGuestsInner.d.ts +31 -0
- package/dist/types/v1/models/BookingPoliciesApi.d.ts +97 -0
- package/dist/types/v1/models/BookingPoliciesCreateApi.d.ts +53 -0
- package/dist/types/v1/models/BookingsApiResponse.d.ts +28 -0
- package/dist/types/v1/models/CancellationPolicyApi.d.ts +43 -0
- package/dist/types/v1/models/ContactPersonApi.d.ts +113 -0
- package/dist/types/v1/models/ContactPersonOrganizationApi.d.ts +57 -0
- package/dist/types/v1/models/CountryIso2Code.d.ts +264 -0
- package/dist/types/v1/models/CurrencyClient.d.ts +159 -0
- package/dist/types/v1/models/ErrorApiResponse.d.ts +70 -0
- package/dist/types/v1/models/EventApi.d.ts +37 -0
- package/dist/types/v1/models/EventMetadataApi.d.ts +61 -0
- package/dist/types/v1/models/HotelApi.d.ts +200 -0
- package/dist/types/v1/models/HotelApiImages.d.ts +65 -0
- package/dist/types/v1/models/HotelImageApi.d.ts +67 -0
- package/dist/types/v1/models/HotelOfferApi.d.ts +216 -0
- package/dist/types/v1/models/HotelOfferApiAllOf.d.ts +37 -0
- package/dist/types/v1/models/HotelOfferRequestApiResponse.d.ts +94 -0
- package/dist/types/v1/models/HotelOfferRequestCreateApi.d.ts +84 -0
- package/dist/types/v1/models/HotelOffersApiResponse.d.ts +34 -0
- package/dist/types/v1/models/HotelOffersApiResponseMeta.d.ts +45 -0
- package/dist/types/v1/models/HotelOffersApiResponseMetaAllOf.d.ts +31 -0
- package/dist/types/v1/models/HotelOffersDataApiResponse.d.ts +70 -0
- package/dist/types/v1/models/HotelReviewRatingApi.d.ts +37 -0
- package/dist/types/v1/models/HotelRoomApi.d.ts +120 -0
- package/dist/types/v1/models/HotelRoomOfferApi.d.ts +192 -0
- package/dist/types/v1/models/HotelRoomOfferApiResponse.d.ts +58 -0
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponse.d.ts +76 -0
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf.d.ts +64 -0
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf1.d.ts +37 -0
- package/dist/types/v1/models/HotelRoomOfferRequestCreateApi.d.ts +64 -0
- package/dist/types/v1/models/HotelRoomOffersApiResponse.d.ts +34 -0
- package/dist/types/v1/models/HotelRoomOffersCreateApi.d.ts +61 -0
- package/dist/types/v1/models/HotelRoomOffersDataApiResponse.d.ts +64 -0
- package/dist/types/v1/models/HotelRoomOffersDataCreateApi.d.ts +43 -0
- package/dist/types/v1/models/HotelRoomingListApi.d.ts +46 -0
- package/dist/types/v1/models/HotelRoomingListApiHotelRoom.d.ts +120 -0
- package/dist/types/v1/models/HotelRoomingListGuestApi.d.ts +37 -0
- package/dist/types/v1/models/HotelRoomingListGuestsCreateApi.d.ts +37 -0
- package/dist/types/v1/models/HotelRoomingListGuestsUpdateApi.d.ts +31 -0
- package/dist/types/v1/models/InvoiceApi.d.ts +45 -0
- package/dist/types/v1/models/Locale.d.ts +28 -0
- package/dist/types/v1/models/MetaPollingResponseApi.d.ts +45 -0
- package/dist/types/v1/models/MetaPollingResponseApiAllOf.d.ts +21 -0
- package/dist/types/v1/models/MetaResponseApi.d.ts +49 -0
- package/dist/types/v1/models/PaymentMethodApi.d.ts +13 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf.d.ts +34 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf1.d.ts +34 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf1Payload.d.ts +37 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf2.d.ts +34 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf2Payload.d.ts +37 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf3.d.ts +34 -0
- package/dist/types/v1/models/PaymentMethodApiOneOf3Payload.d.ts +52 -0
- package/dist/types/v1/models/PaymentMethodApiOneOfPayload.d.ts +43 -0
- package/dist/types/v1/models/PaymentMethodRequestApi.d.ts +36 -0
- package/dist/types/v1/models/PaymentMethodRequestPayloadApi.d.ts +31 -0
- package/dist/types/v1/models/PaymentMethodUpdatePayloadApi.d.ts +21 -0
- package/dist/types/v1/models/PollerStatus.d.ts +23 -0
- package/dist/types/v1/models/SourceMarket.d.ts +264 -0
- package/dist/types/v1/models/TagApi.d.ts +55 -0
- package/dist/types/v1/models/TaxApi.d.ts +77 -0
- package/dist/types/v1/models/TravelTimesApi.d.ts +33 -0
- package/dist/types/v1/models/TravelTimesApiTravelTimes.d.ts +43 -0
- package/dist/types/v1/models/index.d.ts +74 -4078
- package/package.json +4 -4
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revolugo Booking API Reference
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EventMetadataApi
|
|
16
|
+
*/
|
|
17
|
+
export interface EventMetadataApi {
|
|
18
|
+
/**
|
|
19
|
+
* End date of the event formatted as YYYY-MM-DD.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EventMetadataApi
|
|
22
|
+
*/
|
|
23
|
+
dateEnd?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Start date of the event formatted as YYYY-MM-DD.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EventMetadataApi
|
|
28
|
+
*/
|
|
29
|
+
dateStart?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique id of the event
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EventMetadataApi
|
|
34
|
+
*/
|
|
35
|
+
id?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Image URL of the event
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EventMetadataApi
|
|
40
|
+
*/
|
|
41
|
+
imageUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Name of the event
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EventMetadataApi
|
|
46
|
+
*/
|
|
47
|
+
name?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Unique slug of the event
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EventMetadataApi
|
|
52
|
+
*/
|
|
53
|
+
slug?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the EventMetadataApi interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfEventMetadataApi(value: object): boolean;
|
|
59
|
+
export declare function EventMetadataApiFromJSON(json: any): EventMetadataApi;
|
|
60
|
+
export declare function EventMetadataApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventMetadataApi;
|
|
61
|
+
export declare function EventMetadataApiToJSON(value?: EventMetadataApi | null): any;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { AmenitiesApi } from './AmenitiesApi';
|
|
2
|
+
import { CurrencyClient } from './CurrencyClient';
|
|
3
|
+
import { HotelApiImages } from './HotelApiImages';
|
|
4
|
+
import { HotelImageApi } from './HotelImageApi';
|
|
5
|
+
import { HotelReviewRatingApi } from './HotelReviewRatingApi';
|
|
6
|
+
import { TravelTimesApi } from './TravelTimesApi';
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @export
|
|
10
|
+
* @interface HotelApi
|
|
11
|
+
*/
|
|
12
|
+
export interface HotelApi {
|
|
13
|
+
/**
|
|
14
|
+
* Hotel address.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof HotelApi
|
|
17
|
+
*/
|
|
18
|
+
address?: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Second part of hotel address.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof HotelApi
|
|
23
|
+
*/
|
|
24
|
+
address2?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {AmenitiesApi}
|
|
28
|
+
* @memberof HotelApi
|
|
29
|
+
*/
|
|
30
|
+
amenities?: AmenitiesApi | null;
|
|
31
|
+
/**
|
|
32
|
+
* Check in time of the hotel.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof HotelApi
|
|
35
|
+
*/
|
|
36
|
+
checkInTime?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Check out time of the hotel.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof HotelApi
|
|
41
|
+
*/
|
|
42
|
+
checkOutTime?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* City
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof HotelApi
|
|
47
|
+
*/
|
|
48
|
+
city?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Country
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof HotelApi
|
|
53
|
+
*/
|
|
54
|
+
country?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Hotel country code in ISO2.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof HotelApi
|
|
59
|
+
*/
|
|
60
|
+
countryCode?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {CurrencyClient}
|
|
64
|
+
* @memberof HotelApi
|
|
65
|
+
*/
|
|
66
|
+
currency?: CurrencyClient;
|
|
67
|
+
/**
|
|
68
|
+
* Hotel description.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof HotelApi
|
|
71
|
+
*/
|
|
72
|
+
description?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Distance from a requested location, expressed in meters
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof HotelApi
|
|
77
|
+
*/
|
|
78
|
+
distance?: number | null;
|
|
79
|
+
/**
|
|
80
|
+
* Hotel email.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof HotelApi
|
|
83
|
+
*/
|
|
84
|
+
email?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* Hotel fax number.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof HotelApi
|
|
89
|
+
*/
|
|
90
|
+
fax?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* List of hotel images in various sizes featuring an indicator for the primary (hero) image
|
|
93
|
+
* @type {Array<HotelImageApi>}
|
|
94
|
+
* @memberof HotelApi
|
|
95
|
+
*/
|
|
96
|
+
hotelImages?: Array<HotelImageApi> | null;
|
|
97
|
+
/**
|
|
98
|
+
* List of meta reviews (category and rating) that are summary of verified reviews collected across the web on the Hotel to help choose the best option.
|
|
99
|
+
* @type {Array<HotelReviewRatingApi>}
|
|
100
|
+
* @memberof HotelApi
|
|
101
|
+
*/
|
|
102
|
+
hotelReviewRatings?: Array<HotelReviewRatingApi> | null;
|
|
103
|
+
/**
|
|
104
|
+
* Hotel id.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof HotelApi
|
|
107
|
+
*/
|
|
108
|
+
id: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {HotelApiImages}
|
|
112
|
+
* @memberof HotelApi
|
|
113
|
+
*/
|
|
114
|
+
images?: HotelApiImages | null;
|
|
115
|
+
/**
|
|
116
|
+
* Hotel latitude.
|
|
117
|
+
* @type {number}
|
|
118
|
+
* @memberof HotelApi
|
|
119
|
+
*/
|
|
120
|
+
latitude: number;
|
|
121
|
+
/**
|
|
122
|
+
* Hotel longitude.
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof HotelApi
|
|
125
|
+
*/
|
|
126
|
+
longitude: number;
|
|
127
|
+
/**
|
|
128
|
+
* Hotel name.
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof HotelApi
|
|
131
|
+
*/
|
|
132
|
+
name: string;
|
|
133
|
+
/**
|
|
134
|
+
* Hotel phone number.
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof HotelApi
|
|
137
|
+
*/
|
|
138
|
+
phone?: string | null;
|
|
139
|
+
/**
|
|
140
|
+
* Internal policy of the hotel.
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof HotelApi
|
|
143
|
+
*/
|
|
144
|
+
policy?: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Hotel address postal code.
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof HotelApi
|
|
149
|
+
*/
|
|
150
|
+
postalCode?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* Hotel Star rating.
|
|
153
|
+
* @type {number}
|
|
154
|
+
* @memberof HotelApi
|
|
155
|
+
*/
|
|
156
|
+
rating?: number | null;
|
|
157
|
+
/**
|
|
158
|
+
* Hotel review count
|
|
159
|
+
* @type {number}
|
|
160
|
+
* @memberof HotelApi
|
|
161
|
+
*/
|
|
162
|
+
reviewCount?: number | null;
|
|
163
|
+
/**
|
|
164
|
+
* Hotel address state.
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof HotelApi
|
|
167
|
+
*/
|
|
168
|
+
state?: string | null;
|
|
169
|
+
/**
|
|
170
|
+
* TripAdvisor property id. When applicable.
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof HotelApi
|
|
173
|
+
*/
|
|
174
|
+
taId?: string | null;
|
|
175
|
+
/**
|
|
176
|
+
* Hotel timezone.
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof HotelApi
|
|
179
|
+
*/
|
|
180
|
+
timezone: string;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {Array<TravelTimesApi>}
|
|
184
|
+
* @memberof HotelApi
|
|
185
|
+
*/
|
|
186
|
+
venues?: Array<TravelTimesApi>;
|
|
187
|
+
/**
|
|
188
|
+
* Hotel website url.
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @memberof HotelApi
|
|
191
|
+
*/
|
|
192
|
+
website?: string | null;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Check if a given object implements the HotelApi interface.
|
|
196
|
+
*/
|
|
197
|
+
export declare function instanceOfHotelApi(value: object): boolean;
|
|
198
|
+
export declare function HotelApiFromJSON(json: any): HotelApi;
|
|
199
|
+
export declare function HotelApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelApi;
|
|
200
|
+
export declare function HotelApiToJSON(value?: HotelApi | null): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revolugo Booking API Reference
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 🛑 DEPRECATED - Hotel images details.
|
|
14
|
+
*
|
|
15
|
+
* In order to retrieve a specific image you need to construct the complete URL from the images parameters: **[images.prefix][highres|lowres|thumb]/[index]/[images.suffix]**. If **images.count = n**, then index is in [0...n-1] range.
|
|
16
|
+
*
|
|
17
|
+
* e.g.: https://s3.eu-west-3.amazonaws.com/revolugo/hotels/yhKY/images/highres/0.jpg
|
|
18
|
+
* @export
|
|
19
|
+
* @interface HotelApiImages
|
|
20
|
+
*/
|
|
21
|
+
export interface HotelApiImages {
|
|
22
|
+
/**
|
|
23
|
+
* Number of images.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof HotelApiImages
|
|
26
|
+
*/
|
|
27
|
+
count?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Whether images exist in highres format.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof HotelApiImages
|
|
32
|
+
*/
|
|
33
|
+
highres?: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* Whether images exist in lowres format.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof HotelApiImages
|
|
38
|
+
*/
|
|
39
|
+
lowres?: boolean | null;
|
|
40
|
+
/**
|
|
41
|
+
* Base URL for the images.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof HotelApiImages
|
|
44
|
+
*/
|
|
45
|
+
prefix?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* This parameter usually represents the extension of the image (e.g.: .jpg, .png)
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof HotelApiImages
|
|
50
|
+
*/
|
|
51
|
+
suffix?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Whether images exist in thumb format (for thumbnails preview).
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof HotelApiImages
|
|
56
|
+
*/
|
|
57
|
+
thumb?: boolean | null;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the HotelApiImages interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfHotelApiImages(value: object): boolean;
|
|
63
|
+
export declare function HotelApiImagesFromJSON(json: any): HotelApiImages;
|
|
64
|
+
export declare function HotelApiImagesFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelApiImages;
|
|
65
|
+
export declare function HotelApiImagesToJSON(value?: HotelApiImages | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revolugo Booking API Reference
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Hotel image in various sizes.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HotelImageApi
|
|
16
|
+
*/
|
|
17
|
+
export interface HotelImageApi {
|
|
18
|
+
/**
|
|
19
|
+
* Caption of the hotel image.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HotelImageApi
|
|
22
|
+
*/
|
|
23
|
+
caption?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Whether this image is the primary (hero) image of the hotel.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof HotelImageApi
|
|
28
|
+
*/
|
|
29
|
+
isHeroImage: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* URL of the large-size image.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof HotelImageApi
|
|
34
|
+
*/
|
|
35
|
+
l: string;
|
|
36
|
+
/**
|
|
37
|
+
* URL of the medium-size image.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof HotelImageApi
|
|
40
|
+
*/
|
|
41
|
+
m: string;
|
|
42
|
+
/**
|
|
43
|
+
* URL of the small-size image.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof HotelImageApi
|
|
46
|
+
*/
|
|
47
|
+
s: string;
|
|
48
|
+
/**
|
|
49
|
+
* URL of the extra-large-size image.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof HotelImageApi
|
|
52
|
+
*/
|
|
53
|
+
xl: string;
|
|
54
|
+
/**
|
|
55
|
+
* URL of the extra-small-size image.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof HotelImageApi
|
|
58
|
+
*/
|
|
59
|
+
xs: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the HotelImageApi interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfHotelImageApi(value: object): boolean;
|
|
65
|
+
export declare function HotelImageApiFromJSON(json: any): HotelImageApi;
|
|
66
|
+
export declare function HotelImageApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelImageApi;
|
|
67
|
+
export declare function HotelImageApiToJSON(value?: HotelImageApi | null): any;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { AmenitiesApi } from './AmenitiesApi';
|
|
2
|
+
import { CurrencyClient } from './CurrencyClient';
|
|
3
|
+
import { HotelApiImages } from './HotelApiImages';
|
|
4
|
+
import { HotelImageApi } from './HotelImageApi';
|
|
5
|
+
import { HotelReviewRatingApi } from './HotelReviewRatingApi';
|
|
6
|
+
import { HotelRoomOfferApi } from './HotelRoomOfferApi';
|
|
7
|
+
import { TagApi } from './TagApi';
|
|
8
|
+
import { TravelTimesApi } from './TravelTimesApi';
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
* @interface HotelOfferApi
|
|
13
|
+
*/
|
|
14
|
+
export interface HotelOfferApi {
|
|
15
|
+
/**
|
|
16
|
+
* Hotel address.
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof HotelOfferApi
|
|
19
|
+
*/
|
|
20
|
+
address?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Second part of hotel address.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof HotelOfferApi
|
|
25
|
+
*/
|
|
26
|
+
address2?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {AmenitiesApi}
|
|
30
|
+
* @memberof HotelOfferApi
|
|
31
|
+
*/
|
|
32
|
+
amenities?: AmenitiesApi | null;
|
|
33
|
+
/**
|
|
34
|
+
* Check in time of the hotel.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof HotelOfferApi
|
|
37
|
+
*/
|
|
38
|
+
checkInTime?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Check out time of the hotel.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof HotelOfferApi
|
|
43
|
+
*/
|
|
44
|
+
checkOutTime?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* City
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof HotelOfferApi
|
|
49
|
+
*/
|
|
50
|
+
city?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Country
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof HotelOfferApi
|
|
55
|
+
*/
|
|
56
|
+
country?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Hotel country code in ISO2.
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof HotelOfferApi
|
|
61
|
+
*/
|
|
62
|
+
countryCode?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {CurrencyClient}
|
|
66
|
+
* @memberof HotelOfferApi
|
|
67
|
+
*/
|
|
68
|
+
currency?: CurrencyClient;
|
|
69
|
+
/**
|
|
70
|
+
* Hotel description.
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof HotelOfferApi
|
|
73
|
+
*/
|
|
74
|
+
description?: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* Distance from a requested location, expressed in meters
|
|
77
|
+
* @type {number}
|
|
78
|
+
* @memberof HotelOfferApi
|
|
79
|
+
*/
|
|
80
|
+
distance?: number | null;
|
|
81
|
+
/**
|
|
82
|
+
* Hotel email.
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof HotelOfferApi
|
|
85
|
+
*/
|
|
86
|
+
email?: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* Hotel fax number.
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof HotelOfferApi
|
|
91
|
+
*/
|
|
92
|
+
fax?: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* ⚠️ Cached images of the hotel. May be empty, use the endpoint /hotels/{id}/images to get the latest images.
|
|
95
|
+
*
|
|
96
|
+
* List of hotel images in various sizes featuring an indicator for the primary (hero) image
|
|
97
|
+
* @type {Array<HotelImageApi>}
|
|
98
|
+
* @memberof HotelOfferApi
|
|
99
|
+
*/
|
|
100
|
+
hotelImages: Array<HotelImageApi>;
|
|
101
|
+
/**
|
|
102
|
+
* List of meta reviews (category and rating) that are summary of verified reviews collected across the web on the Hotel to help choose the best option.
|
|
103
|
+
* @type {Array<HotelReviewRatingApi>}
|
|
104
|
+
* @memberof HotelOfferApi
|
|
105
|
+
*/
|
|
106
|
+
hotelReviewRatings?: Array<HotelReviewRatingApi> | null;
|
|
107
|
+
/**
|
|
108
|
+
* Hotel id.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof HotelOfferApi
|
|
111
|
+
*/
|
|
112
|
+
id: string;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {HotelApiImages}
|
|
116
|
+
* @memberof HotelOfferApi
|
|
117
|
+
*/
|
|
118
|
+
images?: HotelApiImages | null;
|
|
119
|
+
/**
|
|
120
|
+
* Hotel latitude.
|
|
121
|
+
* @type {number}
|
|
122
|
+
* @memberof HotelOfferApi
|
|
123
|
+
*/
|
|
124
|
+
latitude: number;
|
|
125
|
+
/**
|
|
126
|
+
* Hotel longitude.
|
|
127
|
+
* @type {number}
|
|
128
|
+
* @memberof HotelOfferApi
|
|
129
|
+
*/
|
|
130
|
+
longitude: number;
|
|
131
|
+
/**
|
|
132
|
+
* Hotel name.
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof HotelOfferApi
|
|
135
|
+
*/
|
|
136
|
+
name: string;
|
|
137
|
+
/**
|
|
138
|
+
* Hotel phone number.
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof HotelOfferApi
|
|
141
|
+
*/
|
|
142
|
+
phone?: string | null;
|
|
143
|
+
/**
|
|
144
|
+
* Internal policy of the hotel.
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof HotelOfferApi
|
|
147
|
+
*/
|
|
148
|
+
policy?: string | null;
|
|
149
|
+
/**
|
|
150
|
+
* Hotel address postal code.
|
|
151
|
+
* @type {string}
|
|
152
|
+
* @memberof HotelOfferApi
|
|
153
|
+
*/
|
|
154
|
+
postalCode?: string | null;
|
|
155
|
+
/**
|
|
156
|
+
* Hotel Star rating.
|
|
157
|
+
* @type {number}
|
|
158
|
+
* @memberof HotelOfferApi
|
|
159
|
+
*/
|
|
160
|
+
rating?: number | null;
|
|
161
|
+
/**
|
|
162
|
+
* Hotel review count
|
|
163
|
+
* @type {number}
|
|
164
|
+
* @memberof HotelOfferApi
|
|
165
|
+
*/
|
|
166
|
+
reviewCount?: number | null;
|
|
167
|
+
/**
|
|
168
|
+
* Hotel address state.
|
|
169
|
+
* @type {string}
|
|
170
|
+
* @memberof HotelOfferApi
|
|
171
|
+
*/
|
|
172
|
+
state?: string | null;
|
|
173
|
+
/**
|
|
174
|
+
* TripAdvisor property id. When applicable.
|
|
175
|
+
* @type {string}
|
|
176
|
+
* @memberof HotelOfferApi
|
|
177
|
+
*/
|
|
178
|
+
taId?: string | null;
|
|
179
|
+
/**
|
|
180
|
+
* Hotel timezone.
|
|
181
|
+
* @type {string}
|
|
182
|
+
* @memberof HotelOfferApi
|
|
183
|
+
*/
|
|
184
|
+
timezone: string;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {Array<TravelTimesApi>}
|
|
188
|
+
* @memberof HotelOfferApi
|
|
189
|
+
*/
|
|
190
|
+
venues?: Array<TravelTimesApi>;
|
|
191
|
+
/**
|
|
192
|
+
* Hotel website url.
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof HotelOfferApi
|
|
195
|
+
*/
|
|
196
|
+
website?: string | null;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {Array<HotelRoomOfferApi>}
|
|
200
|
+
* @memberof HotelOfferApi
|
|
201
|
+
*/
|
|
202
|
+
hotelRoomOffers: Array<HotelRoomOfferApi>;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @type {Array<TagApi>}
|
|
206
|
+
* @memberof HotelOfferApi
|
|
207
|
+
*/
|
|
208
|
+
tags?: Array<TagApi>;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Check if a given object implements the HotelOfferApi interface.
|
|
212
|
+
*/
|
|
213
|
+
export declare function instanceOfHotelOfferApi(value: object): boolean;
|
|
214
|
+
export declare function HotelOfferApiFromJSON(json: any): HotelOfferApi;
|
|
215
|
+
export declare function HotelOfferApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelOfferApi;
|
|
216
|
+
export declare function HotelOfferApiToJSON(value?: HotelOfferApi | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { HotelImageApi } from './HotelImageApi';
|
|
2
|
+
import { HotelRoomOfferApi } from './HotelRoomOfferApi';
|
|
3
|
+
import { TagApi } from './TagApi';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @interface HotelOfferApiAllOf
|
|
8
|
+
*/
|
|
9
|
+
export interface HotelOfferApiAllOf {
|
|
10
|
+
/**
|
|
11
|
+
* ⚠️ Cached images of the hotel. May be empty, use the endpoint /hotels/{id}/images to get the latest images.
|
|
12
|
+
*
|
|
13
|
+
* List of hotel images in various sizes featuring an indicator for the primary (hero) image
|
|
14
|
+
* @type {Array<HotelImageApi>}
|
|
15
|
+
* @memberof HotelOfferApiAllOf
|
|
16
|
+
*/
|
|
17
|
+
hotelImages: Array<HotelImageApi>;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<HotelRoomOfferApi>}
|
|
21
|
+
* @memberof HotelOfferApiAllOf
|
|
22
|
+
*/
|
|
23
|
+
hotelRoomOffers: Array<HotelRoomOfferApi>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<TagApi>}
|
|
27
|
+
* @memberof HotelOfferApiAllOf
|
|
28
|
+
*/
|
|
29
|
+
tags?: Array<TagApi>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HotelOfferApiAllOf interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfHotelOfferApiAllOf(value: object): boolean;
|
|
35
|
+
export declare function HotelOfferApiAllOfFromJSON(json: any): HotelOfferApiAllOf;
|
|
36
|
+
export declare function HotelOfferApiAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelOfferApiAllOf;
|
|
37
|
+
export declare function HotelOfferApiAllOfToJSON(value?: HotelOfferApiAllOf | null): any;
|