@revolugo/booking-api-client 7.2.4-alpha.2 → 7.2.4-alpha.21
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 +3944 -1692
- 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 +4 -17
- package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts +4 -17
- package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts +4 -17
- package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts +4 -17
- package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts +2 -2
- package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts +4 -17
- package/dist/types/v1/apis/ResourceHotelsApi.d.ts +4 -17
- 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 +7 -7
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { CurrencyClient } from './CurrencyClient';
|
|
2
|
+
import { HotelRoomOffersDataCreateApi } from './HotelRoomOffersDataCreateApi';
|
|
3
|
+
import { Locale } from './Locale';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @interface HotelRoomOffersCreateApi
|
|
8
|
+
*/
|
|
9
|
+
export interface HotelRoomOffersCreateApi {
|
|
10
|
+
/**
|
|
11
|
+
* This parameter allows to add breakfast to the booking as long as every requested Hotel Room Offers **breakfast_option = OPTIONAL** .
|
|
12
|
+
*
|
|
13
|
+
* The final breakfast count that will be included in the Hotel Room Offer will be returned in the response and is calculated as follows:
|
|
14
|
+
*
|
|
15
|
+
* - If the returned Hotel Room Offer **total room count** > **hotel_room_offer_request.adult_count** then **breakfast_count** will be equal to the **total room count** of the returned Hotel Room Offer,
|
|
16
|
+
*
|
|
17
|
+
* - Otherwise **breakfast_count** will be equal to the minimum value between related **hotel_room_offer_request.adult_count** and returned Hotel Room Offer **total occupancy**.
|
|
18
|
+
*
|
|
19
|
+
* <div style="background-color: #ffffef; padding: 20px; border: 1px solid lightgrey; border-radius: 5px;"><b style="color: red; margin-top: 10px;">🛑 DEPRECATED.</b>
|
|
20
|
+
*
|
|
21
|
+
* <b style="color: orange;">If you already use this field, don't worry as we still support it with the following behaviour:</b>
|
|
22
|
+
* - <span style="color: orange;">When **add_breakfast = true** then **breakfast_count = MIN(guest count, total offer occupancy)** where **guest count** is the total number of adult and children over 3.</span>
|
|
23
|
+
* - <span style="color: orange;">Otherwise **breakfast_count = 0**.</span></div>
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof HotelRoomOffersCreateApi
|
|
26
|
+
*/
|
|
27
|
+
addBreakfast?: boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
* This parameter describes the quantity of breakfast / night that should be included in the **Booking**. When **breakfast_option = OPTIONAL**, valid **breakfast_count** lower bound is **room count** and upper bound is **guest count**, where **guest count** is the number of adult and children over 3.
|
|
30
|
+
*
|
|
31
|
+
* ⚠️ The actual breakfast count that will be included in the **Booking** is the one that is returned in the response of this endpoint and might be different from this **breakfast_count** paramater in some cases. Please, make sure to check the actual breakfast count included in the **Hotel Room Offer** returned in the response of this endpoint.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof HotelRoomOffersCreateApi
|
|
34
|
+
*/
|
|
35
|
+
breakfastCount?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {CurrencyClient}
|
|
39
|
+
* @memberof HotelRoomOffersCreateApi
|
|
40
|
+
*/
|
|
41
|
+
currency: CurrencyClient;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<HotelRoomOffersDataCreateApi>}
|
|
45
|
+
* @memberof HotelRoomOffersCreateApi
|
|
46
|
+
*/
|
|
47
|
+
hotelRoomOffers: Array<HotelRoomOffersDataCreateApi>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Locale}
|
|
51
|
+
* @memberof HotelRoomOffersCreateApi
|
|
52
|
+
*/
|
|
53
|
+
lang?: Locale | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the HotelRoomOffersCreateApi interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfHotelRoomOffersCreateApi(value: object): boolean;
|
|
59
|
+
export declare function HotelRoomOffersCreateApiFromJSON(json: any): HotelRoomOffersCreateApi;
|
|
60
|
+
export declare function HotelRoomOffersCreateApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomOffersCreateApi;
|
|
61
|
+
export declare function HotelRoomOffersCreateApiToJSON(value?: HotelRoomOffersCreateApi | null): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { CurrencyClient } from './CurrencyClient';
|
|
2
|
+
import { HotelRoomOfferApi } from './HotelRoomOfferApi';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @interface HotelRoomOffersDataApiResponse
|
|
7
|
+
*/
|
|
8
|
+
export interface HotelRoomOffersDataApiResponse {
|
|
9
|
+
/**
|
|
10
|
+
* The total number of adults who will be staying in the property.
|
|
11
|
+
* @type {number}
|
|
12
|
+
* @memberof HotelRoomOffersDataApiResponse
|
|
13
|
+
*/
|
|
14
|
+
adultCount: number;
|
|
15
|
+
/**
|
|
16
|
+
* Date of check-in formatted as YYYY-MM-DD.
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof HotelRoomOffersDataApiResponse
|
|
19
|
+
*/
|
|
20
|
+
checkInDate: string;
|
|
21
|
+
/**
|
|
22
|
+
* Date of check-out formatted as YYYY-MM-DD.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof HotelRoomOffersDataApiResponse
|
|
25
|
+
*/
|
|
26
|
+
checkOutDate: string;
|
|
27
|
+
/**
|
|
28
|
+
* A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof HotelRoomOffersDataApiResponse
|
|
31
|
+
*/
|
|
32
|
+
children?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {CurrencyClient}
|
|
36
|
+
* @memberof HotelRoomOffersDataApiResponse
|
|
37
|
+
*/
|
|
38
|
+
currency: CurrencyClient;
|
|
39
|
+
/**
|
|
40
|
+
* Hotel id
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof HotelRoomOffersDataApiResponse
|
|
43
|
+
*/
|
|
44
|
+
hotelId: string;
|
|
45
|
+
/**
|
|
46
|
+
* List of **Hotel Room Offers** sorted by price ascending.
|
|
47
|
+
* @type {Array<HotelRoomOfferApi>}
|
|
48
|
+
* @memberof HotelRoomOffersDataApiResponse
|
|
49
|
+
*/
|
|
50
|
+
hotelRoomOffers: Array<HotelRoomOfferApi>;
|
|
51
|
+
/**
|
|
52
|
+
* Hotel timezone
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof HotelRoomOffersDataApiResponse
|
|
55
|
+
*/
|
|
56
|
+
hotelTimezone: string;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the HotelRoomOffersDataApiResponse interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfHotelRoomOffersDataApiResponse(value: object): boolean;
|
|
62
|
+
export declare function HotelRoomOffersDataApiResponseFromJSON(json: any): HotelRoomOffersDataApiResponse;
|
|
63
|
+
export declare function HotelRoomOffersDataApiResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomOffersDataApiResponse;
|
|
64
|
+
export declare function HotelRoomOffersDataApiResponseToJSON(value?: HotelRoomOffersDataApiResponse | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 HotelRoomOffersDataCreateApi
|
|
16
|
+
*/
|
|
17
|
+
export interface HotelRoomOffersDataCreateApi {
|
|
18
|
+
/**
|
|
19
|
+
* Quantity of breakfast per night included in the given **Hotel Room Offer**
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof HotelRoomOffersDataCreateApi
|
|
22
|
+
*/
|
|
23
|
+
breakfastCount?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* <TODO>
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof HotelRoomOffersDataCreateApi
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
/**
|
|
31
|
+
* Id of requested **Hotel Room Offer** returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers). Requested **Hotel Room Offer** must be of **type = HOTEL_ROOM** or a single **Hotel Room Offer** of **type = PACKAGE**
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof HotelRoomOffersDataCreateApi
|
|
34
|
+
*/
|
|
35
|
+
hotelRoomOfferId: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the HotelRoomOffersDataCreateApi interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfHotelRoomOffersDataCreateApi(value: object): boolean;
|
|
41
|
+
export declare function HotelRoomOffersDataCreateApiFromJSON(json: any): HotelRoomOffersDataCreateApi;
|
|
42
|
+
export declare function HotelRoomOffersDataCreateApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomOffersDataCreateApi;
|
|
43
|
+
export declare function HotelRoomOffersDataCreateApiToJSON(value?: HotelRoomOffersDataCreateApi | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { HotelRoomingListApiHotelRoom } from './HotelRoomingListApiHotelRoom';
|
|
2
|
+
import { HotelRoomingListGuestApi } from './HotelRoomingListGuestApi';
|
|
3
|
+
/**
|
|
4
|
+
* Hotel rooming list of a hotel booking
|
|
5
|
+
* @export
|
|
6
|
+
* @interface HotelRoomingListApi
|
|
7
|
+
*/
|
|
8
|
+
export interface HotelRoomingListApi {
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @type {HotelRoomingListApiHotelRoom}
|
|
12
|
+
* @memberof HotelRoomingListApi
|
|
13
|
+
*/
|
|
14
|
+
hotelRoom?: HotelRoomingListApiHotelRoom;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof HotelRoomingListApi
|
|
19
|
+
*/
|
|
20
|
+
hotelRoomId: string;
|
|
21
|
+
/**
|
|
22
|
+
* Guests of a hotel rooming list
|
|
23
|
+
* @type {Array<HotelRoomingListGuestApi>}
|
|
24
|
+
* @memberof HotelRoomingListApi
|
|
25
|
+
*/
|
|
26
|
+
hotelRoomingListGuests: Array<HotelRoomingListGuestApi>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof HotelRoomingListApi
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Date}
|
|
36
|
+
* @memberof HotelRoomingListApi
|
|
37
|
+
*/
|
|
38
|
+
limitDate?: Date | null;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the HotelRoomingListApi interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfHotelRoomingListApi(value: object): boolean;
|
|
44
|
+
export declare function HotelRoomingListApiFromJSON(json: any): HotelRoomingListApi;
|
|
45
|
+
export declare function HotelRoomingListApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomingListApi;
|
|
46
|
+
export declare function HotelRoomingListApiToJSON(value?: HotelRoomingListApi | null): any;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { BedApi } from './BedApi';
|
|
2
|
+
import { HotelImageApi } from './HotelImageApi';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @interface HotelRoomingListApiHotelRoom
|
|
7
|
+
*/
|
|
8
|
+
export interface HotelRoomingListApiHotelRoom {
|
|
9
|
+
/**
|
|
10
|
+
* List of amenities in the room. May be subject to changes at the Hotel.
|
|
11
|
+
* @type {Array<string>}
|
|
12
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
13
|
+
*/
|
|
14
|
+
amenities?: Array<string> | null;
|
|
15
|
+
/**
|
|
16
|
+
* Beds list.
|
|
17
|
+
* Each nested array of beds represents a single combination of possible beds.
|
|
18
|
+
* e.g.: The following object represents **1 double bed or 1 sofa bed and 1 double bed or 1 single bed**:
|
|
19
|
+
* ```
|
|
20
|
+
* [
|
|
21
|
+
* [
|
|
22
|
+
* { count: 1, name: 'double', occupancy: 2 },
|
|
23
|
+
* { count: 1, name: 'sofa', occupancy: 1 }
|
|
24
|
+
* ],
|
|
25
|
+
* [
|
|
26
|
+
* { count: 1, name: 'double', occupancy: 2 },
|
|
27
|
+
* { count: 1, name: 'single', occupancy: 1 }
|
|
28
|
+
* ]
|
|
29
|
+
* ]
|
|
30
|
+
* ```
|
|
31
|
+
* @type {Array<Array<BedApi>>}
|
|
32
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
33
|
+
*/
|
|
34
|
+
beds: Array<Array<BedApi>>;
|
|
35
|
+
/**
|
|
36
|
+
* Prettified and localized list of beds
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
39
|
+
*/
|
|
40
|
+
bedsPretty: string;
|
|
41
|
+
/**
|
|
42
|
+
* Hotel Room count included in the Hotel Room Offer.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
45
|
+
*/
|
|
46
|
+
count: number;
|
|
47
|
+
/**
|
|
48
|
+
* Hotel Room description.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
51
|
+
*/
|
|
52
|
+
description: string;
|
|
53
|
+
/**
|
|
54
|
+
* Whether high resolution images are available.
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
57
|
+
*/
|
|
58
|
+
highresImages?: boolean | null;
|
|
59
|
+
/**
|
|
60
|
+
* Hotel Room id, when applicable.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
/**
|
|
66
|
+
* List of indexes corresponding to image names for the given Hotel Room among the related hotel images.
|
|
67
|
+
* @type {Array<number>}
|
|
68
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
69
|
+
*/
|
|
70
|
+
imageIndexes?: Array<number> | null;
|
|
71
|
+
/**
|
|
72
|
+
* Hotel Room images.
|
|
73
|
+
* @type {Array<HotelImageApi>}
|
|
74
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
75
|
+
*/
|
|
76
|
+
images?: Array<HotelImageApi> | null;
|
|
77
|
+
/**
|
|
78
|
+
* Whether low resolution images are available.
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
81
|
+
*/
|
|
82
|
+
lowresImages?: boolean | null;
|
|
83
|
+
/**
|
|
84
|
+
* Total occupancy of a single hotel room.
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
87
|
+
*/
|
|
88
|
+
occupancy: number;
|
|
89
|
+
/**
|
|
90
|
+
* Rich Hotel Room description. May contain HTML tags markup.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
93
|
+
*/
|
|
94
|
+
richDescription?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* Room surface in square feet. May be subject to changes at the Hotel.
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
99
|
+
*/
|
|
100
|
+
roomSquareFeet?: number | null;
|
|
101
|
+
/**
|
|
102
|
+
* Room surface in square meters. May be subject to changes at the Hotel.
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
105
|
+
*/
|
|
106
|
+
roomSquareMeters?: number | null;
|
|
107
|
+
/**
|
|
108
|
+
* Whether thumb resolution images are available (in order to display them as image carousel navigation for instance).
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof HotelRoomingListApiHotelRoom
|
|
111
|
+
*/
|
|
112
|
+
thumbImages?: boolean | null;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Check if a given object implements the HotelRoomingListApiHotelRoom interface.
|
|
116
|
+
*/
|
|
117
|
+
export declare function instanceOfHotelRoomingListApiHotelRoom(value: object): boolean;
|
|
118
|
+
export declare function HotelRoomingListApiHotelRoomFromJSON(json: any): HotelRoomingListApiHotelRoom;
|
|
119
|
+
export declare function HotelRoomingListApiHotelRoomFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomingListApiHotelRoom;
|
|
120
|
+
export declare function HotelRoomingListApiHotelRoomToJSON(value?: HotelRoomingListApiHotelRoom | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* Guest of a hotel rooming list
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HotelRoomingListGuestApi
|
|
16
|
+
*/
|
|
17
|
+
export interface HotelRoomingListGuestApi {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HotelRoomingListGuestApi
|
|
22
|
+
*/
|
|
23
|
+
fullname: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HotelRoomingListGuestApi
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HotelRoomingListGuestApi interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfHotelRoomingListGuestApi(value: object): boolean;
|
|
35
|
+
export declare function HotelRoomingListGuestApiFromJSON(json: any): HotelRoomingListGuestApi;
|
|
36
|
+
export declare function HotelRoomingListGuestApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomingListGuestApi;
|
|
37
|
+
export declare function HotelRoomingListGuestApiToJSON(value?: HotelRoomingListGuestApi | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 HotelRoomingListGuestsCreateApi
|
|
16
|
+
*/
|
|
17
|
+
export interface HotelRoomingListGuestsCreateApi {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HotelRoomingListGuestsCreateApi
|
|
22
|
+
*/
|
|
23
|
+
fullname: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HotelRoomingListGuestsCreateApi
|
|
28
|
+
*/
|
|
29
|
+
hotelRoomingListId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HotelRoomingListGuestsCreateApi interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfHotelRoomingListGuestsCreateApi(value: object): boolean;
|
|
35
|
+
export declare function HotelRoomingListGuestsCreateApiFromJSON(json: any): HotelRoomingListGuestsCreateApi;
|
|
36
|
+
export declare function HotelRoomingListGuestsCreateApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomingListGuestsCreateApi;
|
|
37
|
+
export declare function HotelRoomingListGuestsCreateApiToJSON(value?: HotelRoomingListGuestsCreateApi | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 HotelRoomingListGuestsUpdateApi
|
|
16
|
+
*/
|
|
17
|
+
export interface HotelRoomingListGuestsUpdateApi {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HotelRoomingListGuestsUpdateApi
|
|
22
|
+
*/
|
|
23
|
+
fullname: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the HotelRoomingListGuestsUpdateApi interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfHotelRoomingListGuestsUpdateApi(value: object): boolean;
|
|
29
|
+
export declare function HotelRoomingListGuestsUpdateApiFromJSON(json: any): HotelRoomingListGuestsUpdateApi;
|
|
30
|
+
export declare function HotelRoomingListGuestsUpdateApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelRoomingListGuestsUpdateApi;
|
|
31
|
+
export declare function HotelRoomingListGuestsUpdateApiToJSON(value?: HotelRoomingListGuestsUpdateApi | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 InvoiceApi
|
|
16
|
+
*/
|
|
17
|
+
export interface InvoiceApi {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InvoiceApi
|
|
22
|
+
*/
|
|
23
|
+
type: InvoiceApiTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InvoiceApi
|
|
28
|
+
*/
|
|
29
|
+
url: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const InvoiceApiTypeEnum: {
|
|
35
|
+
readonly CreditNote: "credit_note";
|
|
36
|
+
readonly Invoice: "invoice";
|
|
37
|
+
};
|
|
38
|
+
export type InvoiceApiTypeEnum = typeof InvoiceApiTypeEnum[keyof typeof InvoiceApiTypeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the InvoiceApi interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfInvoiceApi(value: object): boolean;
|
|
43
|
+
export declare function InvoiceApiFromJSON(json: any): InvoiceApi;
|
|
44
|
+
export declare function InvoiceApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceApi;
|
|
45
|
+
export declare function InvoiceApiToJSON(value?: InvoiceApi | null): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
* Set the language for the returned content using a valid language code.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const Locale: {
|
|
17
|
+
readonly DeDe: "de-DE";
|
|
18
|
+
readonly EnUs: "en-US";
|
|
19
|
+
readonly EsEs: "es-ES";
|
|
20
|
+
readonly FrFr: "fr-FR";
|
|
21
|
+
readonly ItIt: "it-IT";
|
|
22
|
+
readonly NlNl: "nl-NL";
|
|
23
|
+
readonly PtPt: "pt-PT";
|
|
24
|
+
};
|
|
25
|
+
export type Locale = typeof Locale[keyof typeof Locale];
|
|
26
|
+
export declare function LocaleFromJSON(json: any): Locale;
|
|
27
|
+
export declare function LocaleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Locale;
|
|
28
|
+
export declare function LocaleToJSON(value?: Locale | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { PollerStatus } from './PollerStatus';
|
|
2
|
+
/**
|
|
3
|
+
* Meta information about the response list, such as pagination cursors or status.
|
|
4
|
+
* @export
|
|
5
|
+
* @interface MetaPollingResponseApi
|
|
6
|
+
*/
|
|
7
|
+
export interface MetaPollingResponseApi {
|
|
8
|
+
/**
|
|
9
|
+
* A cursor to use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof MetaPollingResponseApi
|
|
12
|
+
*/
|
|
13
|
+
endingBefore?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* A limit on the number of object to be returned.
|
|
16
|
+
* @type {number}
|
|
17
|
+
* @memberof MetaPollingResponseApi
|
|
18
|
+
*/
|
|
19
|
+
limit?: number;
|
|
20
|
+
/**
|
|
21
|
+
* A cursor to use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof MetaPollingResponseApi
|
|
24
|
+
*/
|
|
25
|
+
startingAfter?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof MetaPollingResponseApi
|
|
30
|
+
*/
|
|
31
|
+
totalCount?: number | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PollerStatus}
|
|
35
|
+
* @memberof MetaPollingResponseApi
|
|
36
|
+
*/
|
|
37
|
+
status: PollerStatus;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the MetaPollingResponseApi interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfMetaPollingResponseApi(value: object): boolean;
|
|
43
|
+
export declare function MetaPollingResponseApiFromJSON(json: any): MetaPollingResponseApi;
|
|
44
|
+
export declare function MetaPollingResponseApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetaPollingResponseApi;
|
|
45
|
+
export declare function MetaPollingResponseApiToJSON(value?: MetaPollingResponseApi | null): any;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PollerStatus } from './PollerStatus';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @interface MetaPollingResponseApiAllOf
|
|
6
|
+
*/
|
|
7
|
+
export interface MetaPollingResponseApiAllOf {
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @type {PollerStatus}
|
|
11
|
+
* @memberof MetaPollingResponseApiAllOf
|
|
12
|
+
*/
|
|
13
|
+
status: PollerStatus;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the MetaPollingResponseApiAllOf interface.
|
|
17
|
+
*/
|
|
18
|
+
export declare function instanceOfMetaPollingResponseApiAllOf(value: object): boolean;
|
|
19
|
+
export declare function MetaPollingResponseApiAllOfFromJSON(json: any): MetaPollingResponseApiAllOf;
|
|
20
|
+
export declare function MetaPollingResponseApiAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetaPollingResponseApiAllOf;
|
|
21
|
+
export declare function MetaPollingResponseApiAllOfToJSON(value?: MetaPollingResponseApiAllOf | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
* Meta information about the response list, such as pagination cursors or status.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MetaResponseApi
|
|
16
|
+
*/
|
|
17
|
+
export interface MetaResponseApi {
|
|
18
|
+
/**
|
|
19
|
+
* A cursor to use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MetaResponseApi
|
|
22
|
+
*/
|
|
23
|
+
endingBefore?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* A limit on the number of object to be returned.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof MetaResponseApi
|
|
28
|
+
*/
|
|
29
|
+
limit?: number;
|
|
30
|
+
/**
|
|
31
|
+
* A cursor to use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MetaResponseApi
|
|
34
|
+
*/
|
|
35
|
+
startingAfter?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof MetaResponseApi
|
|
40
|
+
*/
|
|
41
|
+
totalCount?: number | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MetaResponseApi interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMetaResponseApi(value: object): boolean;
|
|
47
|
+
export declare function MetaResponseApiFromJSON(json: any): MetaResponseApi;
|
|
48
|
+
export declare function MetaResponseApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetaResponseApi;
|
|
49
|
+
export declare function MetaResponseApiToJSON(value?: MetaResponseApi | null): any;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PaymentMethodApiOneOf } from './PaymentMethodApiOneOf';
|
|
2
|
+
import { PaymentMethodApiOneOf1 } from './PaymentMethodApiOneOf1';
|
|
3
|
+
import { PaymentMethodApiOneOf2 } from './PaymentMethodApiOneOf2';
|
|
4
|
+
import { PaymentMethodApiOneOf3 } from './PaymentMethodApiOneOf3';
|
|
5
|
+
/**
|
|
6
|
+
* @type PaymentMethodApi
|
|
7
|
+
*
|
|
8
|
+
* @export
|
|
9
|
+
*/
|
|
10
|
+
export type PaymentMethodApi = PaymentMethodApiOneOf | PaymentMethodApiOneOf1 | PaymentMethodApiOneOf2 | PaymentMethodApiOneOf3;
|
|
11
|
+
export declare function PaymentMethodApiFromJSON(json: any): PaymentMethodApi;
|
|
12
|
+
export declare function PaymentMethodApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethodApi;
|
|
13
|
+
export declare function PaymentMethodApiToJSON(value?: PaymentMethodApi | null): any;
|