@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllowedPaymentMethodApi, BookingPoliciesApi, BookingPoliciesCreateApi } from '../models';
|
|
1
|
+
import { AllowedPaymentMethodApi, BookingPoliciesApi, BookingPoliciesCreateApi } from '../models/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Revolugo Booking API Reference
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -10,7 +10,7 @@ import { AllowedPaymentMethodApi, BookingPoliciesApi, BookingPoliciesCreateApi }
|
|
|
10
10
|
* https://openapi-generator.tech
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
|
-
import * as runtime from '../runtime';
|
|
13
|
+
import * as runtime from '../runtime.ts';
|
|
14
14
|
export interface BookingPoliciesRetrievePayload {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BookingApi, BookingCreateApi, BookingsApiResponse, PaymentMethodUpdatePayloadApi } from '../models';
|
|
1
|
+
import { BookingApi, BookingCreateApi, BookingsApiResponse, PaymentMethodUpdatePayloadApi } from '../models/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Revolugo Booking API Reference
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -10,7 +10,7 @@ import { BookingApi, BookingCreateApi, BookingsApiResponse, PaymentMethodUpdateP
|
|
|
10
10
|
* https://openapi-generator.tech
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
|
-
import * as runtime from '../runtime';
|
|
13
|
+
import * as runtime from '../runtime.ts';
|
|
14
14
|
export interface BookingsDeletePayload {
|
|
15
15
|
token: string;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HotelImageApi } from '../models';
|
|
1
|
+
import { HotelImageApi, Locale } from '../models/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Revolugo Booking API Reference
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -10,10 +10,10 @@ import { HotelImageApi } from '../models';
|
|
|
10
10
|
* https://openapi-generator.tech
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
|
-
import * as runtime from '../runtime';
|
|
13
|
+
import * as runtime from '../runtime.ts';
|
|
14
14
|
export interface HotelImagesRetrievePayload {
|
|
15
15
|
id: string;
|
|
16
|
-
lang?:
|
|
16
|
+
lang?: Locale;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* HotelImages - interface
|
|
@@ -26,7 +26,7 @@ export interface HotelImagesInterface {
|
|
|
26
26
|
* Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
|
|
27
27
|
* @summary Retrieve Images of an Hotel
|
|
28
28
|
* @param {string} id Id of the requested hotel.
|
|
29
|
-
* @param {
|
|
29
|
+
* @param {Locale} [lang] Set the language for the returned content using a valid language code.
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
* @memberof HotelImagesInterface
|
|
@@ -62,16 +62,3 @@ export declare class HotelImages extends runtime.BaseAPI implements HotelImagesI
|
|
|
62
62
|
*/
|
|
63
63
|
retrieve(requestParameters: HotelImagesRetrievePayload, initOverrides?: RequestInit): Promise<Array<HotelImageApi>>;
|
|
64
64
|
}
|
|
65
|
-
/**
|
|
66
|
-
* @export
|
|
67
|
-
*/
|
|
68
|
-
export declare const HotelImagesLangEnum: {
|
|
69
|
-
DeDe: "de-DE";
|
|
70
|
-
EnUs: "en-US";
|
|
71
|
-
EsEs: "es-ES";
|
|
72
|
-
FrFr: "fr-FR";
|
|
73
|
-
ItIt: "it-IT";
|
|
74
|
-
NlNl: "nl-NL";
|
|
75
|
-
PtPt: "pt-PT";
|
|
76
|
-
};
|
|
77
|
-
export type HotelImagesLangEnum = typeof HotelImagesLangEnum[keyof typeof HotelImagesLangEnum];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HotelOfferRequestApiResponse, HotelOfferRequestCreateApi } from '../models';
|
|
1
|
+
import { HotelOfferRequestApiResponse, HotelOfferRequestCreateApi } from '../models/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Revolugo Booking API Reference
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -10,7 +10,7 @@ import { HotelOfferRequestApiResponse, HotelOfferRequestCreateApi } from '../mod
|
|
|
10
10
|
* https://openapi-generator.tech
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
|
-
import * as runtime from '../runtime';
|
|
13
|
+
import * as runtime from '../runtime.ts';
|
|
14
14
|
export interface HotelOfferRequestsRetrievePayload {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CurrencyClient, HotelOffersApiResponse } from '../models';
|
|
1
|
+
import { CurrencyClient, HotelOffersApiResponse, Locale } from '../models/index.ts';
|
|
2
2
|
import { TPollerCallback } from '@revolugo/common/utils';
|
|
3
3
|
/**
|
|
4
4
|
* Revolugo Booking API Reference
|
|
@@ -11,7 +11,7 @@ import { TPollerCallback } from '@revolugo/common/utils';
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import * as runtime from '../runtime';
|
|
14
|
+
import * as runtime from '../runtime.ts';
|
|
15
15
|
export interface HotelOffersListPayload {
|
|
16
16
|
currency: CurrencyClient;
|
|
17
17
|
hotelOfferRequestId: string;
|
|
@@ -21,7 +21,7 @@ export interface HotelOffersListPayload {
|
|
|
21
21
|
filterByStar?: string;
|
|
22
22
|
hotelRoomOffersLimit?: number;
|
|
23
23
|
includeHotelContentDetails?: boolean | null;
|
|
24
|
-
lang?:
|
|
24
|
+
lang?: Locale;
|
|
25
25
|
limit?: number;
|
|
26
26
|
onlyRecommendedHotelOffers?: boolean | null;
|
|
27
27
|
priceHistogramStepCount?: number;
|
|
@@ -47,7 +47,7 @@ export interface HotelOffersInterface {
|
|
|
47
47
|
* @param {string} [filterByStar] Filter hotel offers by star rating. e.g.: \"1,2,3\" will return only hotels with 1, 2 or 3 star rating.
|
|
48
48
|
* @param {number} [hotelRoomOffersLimit] Limit the number of **Hotel Room Offers**, embedded on each **Hotel Offer** object, sorted by price.
|
|
49
49
|
* @param {boolean} [includeHotelContentDetails] Include hotel content details on each **Hotel Offer** object.
|
|
50
|
-
* @param {
|
|
50
|
+
* @param {Locale} [lang] Set the language for the returned content using a valid language code.
|
|
51
51
|
* @param {number} [limit] Limit the number of **Hotel Offers** returned. Limit can range between 1 and 100. ⚠️ Has no effect when **only_recommended_hotel_offers** = **true** (default).
|
|
52
52
|
* @param {boolean} [onlyRecommendedHotelOffers] By default, filtering and sorting of returned **Hotel Offer** list is performed by our own **Search Engine** algorithm in order to maximize conversion rate. 💡 <span style=\"color:green\">When turned on, the endpoint returns a list limited to 10 **Hotel Offers**</span> Set it to **false** in order to disable this feature.
|
|
53
53
|
* @param {number} [priceHistogramStepCount] Number of price steps to be included in the returned **price_histogram** dataset. e.g.: \"15\" will return a dataset with 15 price steps.
|
|
@@ -95,19 +95,6 @@ export declare class HotelOffers extends runtime.BaseAPI implements HotelOffersI
|
|
|
95
95
|
/**
|
|
96
96
|
* @export
|
|
97
97
|
*/
|
|
98
|
-
export declare const HotelOffersLangEnum: {
|
|
99
|
-
DeDe: "de-DE";
|
|
100
|
-
EnUs: "en-US";
|
|
101
|
-
EsEs: "es-ES";
|
|
102
|
-
FrFr: "fr-FR";
|
|
103
|
-
ItIt: "it-IT";
|
|
104
|
-
NlNl: "nl-NL";
|
|
105
|
-
PtPt: "pt-PT";
|
|
106
|
-
};
|
|
107
|
-
export type HotelOffersLangEnum = typeof HotelOffersLangEnum[keyof typeof HotelOffersLangEnum];
|
|
108
|
-
/**
|
|
109
|
-
* @export
|
|
110
|
-
*/
|
|
111
98
|
export declare const HotelOffersSortByEnum: {
|
|
112
99
|
Distance: "distance";
|
|
113
100
|
Price: "price";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HotelImageApi } from '../models';
|
|
1
|
+
import { HotelImageApi, Locale } from '../models/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Revolugo Booking API Reference
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -10,10 +10,10 @@ import { HotelImageApi } from '../models';
|
|
|
10
10
|
* https://openapi-generator.tech
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
|
-
import * as runtime from '../runtime';
|
|
13
|
+
import * as runtime from '../runtime.ts';
|
|
14
14
|
export interface HotelRoomOfferImagesRetrievePayload {
|
|
15
15
|
id: string;
|
|
16
|
-
lang?:
|
|
16
|
+
lang?: Locale;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* HotelRoomOfferImages - interface
|
|
@@ -26,7 +26,7 @@ export interface HotelRoomOfferImagesInterface {
|
|
|
26
26
|
* Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**.
|
|
27
27
|
* @summary Retrieve Images of an Hotel Room Offer
|
|
28
28
|
* @param {string} id Id of the requested hotel room offer.
|
|
29
|
-
* @param {
|
|
29
|
+
* @param {Locale} [lang] Set the language for the returned content using a valid language code.
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
* @memberof HotelRoomOfferImagesInterface
|
|
@@ -62,16 +62,3 @@ export declare class HotelRoomOfferImages extends runtime.BaseAPI implements Hot
|
|
|
62
62
|
*/
|
|
63
63
|
retrieve(requestParameters: HotelRoomOfferImagesRetrievePayload, initOverrides?: RequestInit): Promise<Array<Array<HotelImageApi>>>;
|
|
64
64
|
}
|
|
65
|
-
/**
|
|
66
|
-
* @export
|
|
67
|
-
*/
|
|
68
|
-
export declare const HotelRoomOfferImagesLangEnum: {
|
|
69
|
-
DeDe: "de-DE";
|
|
70
|
-
EnUs: "en-US";
|
|
71
|
-
EsEs: "es-ES";
|
|
72
|
-
FrFr: "fr-FR";
|
|
73
|
-
ItIt: "it-IT";
|
|
74
|
-
NlNl: "nl-NL";
|
|
75
|
-
PtPt: "pt-PT";
|
|
76
|
-
};
|
|
77
|
-
export type HotelRoomOfferImagesLangEnum = typeof HotelRoomOfferImagesLangEnum[keyof typeof HotelRoomOfferImagesLangEnum];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HotelRoomOfferRequestApiResponse, HotelRoomOfferRequestCreateApi } from '../models';
|
|
1
|
+
import { HotelRoomOfferRequestApiResponse, HotelRoomOfferRequestCreateApi } from '../models/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Revolugo Booking API Reference
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -10,7 +10,7 @@ import { HotelRoomOfferRequestApiResponse, HotelRoomOfferRequestCreateApi } from
|
|
|
10
10
|
* https://openapi-generator.tech
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
|
-
import * as runtime from '../runtime';
|
|
13
|
+
import * as runtime from '../runtime.ts';
|
|
14
14
|
export interface HotelRoomOfferRequestsRetrievePayload {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CurrencyClient, HotelRoomOfferApiResponse, HotelRoomOffersApiResponse, HotelRoomOffersCreateApi } from '../models';
|
|
1
|
+
import { CurrencyClient, HotelRoomOfferApiResponse, HotelRoomOffersApiResponse, HotelRoomOffersCreateApi, Locale } from '../models/index.ts';
|
|
2
2
|
import { TPollerCallback } from '@revolugo/common/utils';
|
|
3
3
|
/**
|
|
4
4
|
* Revolugo Booking API Reference
|
|
@@ -11,11 +11,11 @@ import { TPollerCallback } from '@revolugo/common/utils';
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import * as runtime from '../runtime';
|
|
14
|
+
import * as runtime from '../runtime.ts';
|
|
15
15
|
export interface HotelRoomOffersListPayload {
|
|
16
16
|
currency: CurrencyClient;
|
|
17
17
|
hotelRoomOfferRequestId: string;
|
|
18
|
-
lang?:
|
|
18
|
+
lang?: Locale;
|
|
19
19
|
limit?: number | null;
|
|
20
20
|
}
|
|
21
21
|
export interface HotelRoomOffersCreatePayload {
|
|
@@ -33,7 +33,7 @@ export interface HotelRoomOffersInterface {
|
|
|
33
33
|
* @summary ⚛️ Retrieve Hotel Room Offers
|
|
34
34
|
* @param {CurrencyClient} currency ISO 4217 currency code.
|
|
35
35
|
* @param {string} hotelRoomOfferRequestId id of the **Hotel Room Offer Request** previously created via [Create Hotel Room Offer Request](/v1/documentation#operation/postV1Hotel_room_offer_requests).
|
|
36
|
-
* @param {
|
|
36
|
+
* @param {Locale} [lang] Set the language for the returned content using a valid language code.
|
|
37
37
|
* @param {number} [limit] Limit the number of **Hotel Room Offers** returned, sorted by increasing price.
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
39
39
|
* @throws {RequiredError}
|
|
@@ -106,16 +106,3 @@ export declare class HotelRoomOffers extends runtime.BaseAPI implements HotelRoo
|
|
|
106
106
|
*/
|
|
107
107
|
create(requestParameters?: HotelRoomOffersCreatePayload, initOverrides?: RequestInit): Promise<HotelRoomOfferApiResponse>;
|
|
108
108
|
}
|
|
109
|
-
/**
|
|
110
|
-
* @export
|
|
111
|
-
*/
|
|
112
|
-
export declare const HotelRoomOffersLangEnum: {
|
|
113
|
-
DeDe: "de-DE";
|
|
114
|
-
EnUs: "en-US";
|
|
115
|
-
EsEs: "es-ES";
|
|
116
|
-
FrFr: "fr-FR";
|
|
117
|
-
ItIt: "it-IT";
|
|
118
|
-
NlNl: "nl-NL";
|
|
119
|
-
PtPt: "pt-PT";
|
|
120
|
-
};
|
|
121
|
-
export type HotelRoomOffersLangEnum = typeof HotelRoomOffersLangEnum[keyof typeof HotelRoomOffersLangEnum];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HotelRoomingListGuestApi, HotelRoomingListGuestsCreateApi, HotelRoomingListGuestsUpdateApi } from '../models';
|
|
1
|
+
import { HotelRoomingListGuestApi, HotelRoomingListGuestsCreateApi, HotelRoomingListGuestsUpdateApi } from '../models/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Revolugo Booking API Reference
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -10,7 +10,7 @@ import { HotelRoomingListGuestApi, HotelRoomingListGuestsCreateApi, HotelRooming
|
|
|
10
10
|
* https://openapi-generator.tech
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
|
-
import * as runtime from '../runtime';
|
|
13
|
+
import * as runtime from '../runtime.ts';
|
|
14
14
|
export interface HotelRoomingListGuestsDeletePayload {
|
|
15
15
|
id: string;
|
|
16
16
|
token: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HotelRoomingListApi } from '../models';
|
|
1
|
+
import { HotelRoomingListApi, Locale } from '../models/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Revolugo Booking API Reference
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -10,10 +10,10 @@ import { HotelRoomingListApi } from '../models';
|
|
|
10
10
|
* https://openapi-generator.tech
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
|
-
import * as runtime from '../runtime';
|
|
13
|
+
import * as runtime from '../runtime.ts';
|
|
14
14
|
export interface HotelRoomingListsListPayload {
|
|
15
15
|
token: string;
|
|
16
|
-
lang?:
|
|
16
|
+
lang?: Locale;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* HotelRoomingLists - interface
|
|
@@ -26,7 +26,7 @@ export interface HotelRoomingListsInterface {
|
|
|
26
26
|
* Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
|
|
27
27
|
* @summary Get Hotel Rooming Lists for a booking
|
|
28
28
|
* @param {string} token Booking token returned by **[Retrieve Booking](/v1/documentation#operation/getV1BookingsId)**. ⚠️ For security reasons, this token is unique and once generated, it is valid during a period of 10 minutes.
|
|
29
|
-
* @param {
|
|
29
|
+
* @param {Locale} [lang] Set the language for the returned content using a valid language code.
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
* @memberof HotelRoomingListsInterface
|
|
@@ -62,16 +62,3 @@ export declare class HotelRoomingLists extends runtime.BaseAPI implements HotelR
|
|
|
62
62
|
*/
|
|
63
63
|
list(requestParameters: HotelRoomingListsListPayload, initOverrides?: RequestInit): Promise<Array<HotelRoomingListApi>>;
|
|
64
64
|
}
|
|
65
|
-
/**
|
|
66
|
-
* @export
|
|
67
|
-
*/
|
|
68
|
-
export declare const HotelRoomingListsLangEnum: {
|
|
69
|
-
DeDe: "de-DE";
|
|
70
|
-
EnUs: "en-US";
|
|
71
|
-
EsEs: "es-ES";
|
|
72
|
-
FrFr: "fr-FR";
|
|
73
|
-
ItIt: "it-IT";
|
|
74
|
-
NlNl: "nl-NL";
|
|
75
|
-
PtPt: "pt-PT";
|
|
76
|
-
};
|
|
77
|
-
export type HotelRoomingListsLangEnum = typeof HotelRoomingListsLangEnum[keyof typeof HotelRoomingListsLangEnum];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HotelApi } from '../models';
|
|
1
|
+
import { HotelApi, Locale } from '../models/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Revolugo Booking API Reference
|
|
4
4
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -10,11 +10,11 @@ import { HotelApi } from '../models';
|
|
|
10
10
|
* https://openapi-generator.tech
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
|
-
import * as runtime from '../runtime';
|
|
13
|
+
import * as runtime from '../runtime.ts';
|
|
14
14
|
export interface HotelsRetrievePayload {
|
|
15
15
|
id: string;
|
|
16
16
|
event?: string;
|
|
17
|
-
lang?:
|
|
17
|
+
lang?: Locale;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Hotels - interface
|
|
@@ -28,7 +28,7 @@ export interface HotelsInterface {
|
|
|
28
28
|
* @summary Retrieve a Hotel
|
|
29
29
|
* @param {string} id Id of the requested hotel.
|
|
30
30
|
* @param {string} [event] Event Name
|
|
31
|
-
* @param {
|
|
31
|
+
* @param {Locale} [lang] Set the language for the returned content using a valid language code.
|
|
32
32
|
* @param {*} [options] Override http request option.
|
|
33
33
|
* @throws {RequiredError}
|
|
34
34
|
* @memberof HotelsInterface
|
|
@@ -64,16 +64,3 @@ export declare class Hotels extends runtime.BaseAPI implements HotelsInterface {
|
|
|
64
64
|
*/
|
|
65
65
|
retrieve(requestParameters: HotelsRetrievePayload, initOverrides?: RequestInit): Promise<HotelApi>;
|
|
66
66
|
}
|
|
67
|
-
/**
|
|
68
|
-
* @export
|
|
69
|
-
*/
|
|
70
|
-
export declare const HotelsLangEnum: {
|
|
71
|
-
DeDe: "de-DE";
|
|
72
|
-
EnUs: "en-US";
|
|
73
|
-
EsEs: "es-ES";
|
|
74
|
-
FrFr: "fr-FR";
|
|
75
|
-
ItIt: "it-IT";
|
|
76
|
-
NlNl: "nl-NL";
|
|
77
|
-
PtPt: "pt-PT";
|
|
78
|
-
};
|
|
79
|
-
export type HotelsLangEnum = typeof HotelsLangEnum[keyof typeof HotelsLangEnum];
|
package/dist/types/v1/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './runtime';
|
|
2
|
-
export * from './apis/index';
|
|
3
|
-
export * from './models/index';
|
|
1
|
+
export * from './runtime.ts';
|
|
2
|
+
export * from './apis/index.ts';
|
|
3
|
+
export * from './models/index.ts';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AllowedPaymentMethodApiOneOf } from './AllowedPaymentMethodApiOneOf';
|
|
2
|
+
import { AllowedPaymentMethodApiOneOf1 } from './AllowedPaymentMethodApiOneOf1';
|
|
3
|
+
import { AllowedPaymentMethodApiOneOf2 } from './AllowedPaymentMethodApiOneOf2';
|
|
4
|
+
import { AllowedPaymentMethodApiOneOf3 } from './AllowedPaymentMethodApiOneOf3';
|
|
5
|
+
/**
|
|
6
|
+
* @type AllowedPaymentMethodApi
|
|
7
|
+
*
|
|
8
|
+
* @export
|
|
9
|
+
*/
|
|
10
|
+
export type AllowedPaymentMethodApi = AllowedPaymentMethodApiOneOf | AllowedPaymentMethodApiOneOf1 | AllowedPaymentMethodApiOneOf2 | AllowedPaymentMethodApiOneOf3;
|
|
11
|
+
export declare function AllowedPaymentMethodApiFromJSON(json: any): AllowedPaymentMethodApi;
|
|
12
|
+
export declare function AllowedPaymentMethodApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowedPaymentMethodApi;
|
|
13
|
+
export declare function AllowedPaymentMethodApiToJSON(value?: AllowedPaymentMethodApi | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 AllowedPaymentMethodApiOneOf
|
|
16
|
+
*/
|
|
17
|
+
export interface AllowedPaymentMethodApiOneOf {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AllowedPaymentMethodApiOneOf
|
|
22
|
+
*/
|
|
23
|
+
name: AllowedPaymentMethodApiOneOfNameEnum;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const AllowedPaymentMethodApiOneOfNameEnum: {
|
|
29
|
+
readonly CreditCard: "CREDIT_CARD";
|
|
30
|
+
};
|
|
31
|
+
export type AllowedPaymentMethodApiOneOfNameEnum = typeof AllowedPaymentMethodApiOneOfNameEnum[keyof typeof AllowedPaymentMethodApiOneOfNameEnum];
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AllowedPaymentMethodApiOneOf interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAllowedPaymentMethodApiOneOf(value: object): boolean;
|
|
36
|
+
export declare function AllowedPaymentMethodApiOneOfFromJSON(json: any): AllowedPaymentMethodApiOneOf;
|
|
37
|
+
export declare function AllowedPaymentMethodApiOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowedPaymentMethodApiOneOf;
|
|
38
|
+
export declare function AllowedPaymentMethodApiOneOfToJSON(value?: AllowedPaymentMethodApiOneOf | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 AllowedPaymentMethodApiOneOf1
|
|
16
|
+
*/
|
|
17
|
+
export interface AllowedPaymentMethodApiOneOf1 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AllowedPaymentMethodApiOneOf1
|
|
22
|
+
*/
|
|
23
|
+
name: AllowedPaymentMethodApiOneOf1NameEnum;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const AllowedPaymentMethodApiOneOf1NameEnum: {
|
|
29
|
+
readonly Coupon: "COUPON";
|
|
30
|
+
};
|
|
31
|
+
export type AllowedPaymentMethodApiOneOf1NameEnum = typeof AllowedPaymentMethodApiOneOf1NameEnum[keyof typeof AllowedPaymentMethodApiOneOf1NameEnum];
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AllowedPaymentMethodApiOneOf1 interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAllowedPaymentMethodApiOneOf1(value: object): boolean;
|
|
36
|
+
export declare function AllowedPaymentMethodApiOneOf1FromJSON(json: any): AllowedPaymentMethodApiOneOf1;
|
|
37
|
+
export declare function AllowedPaymentMethodApiOneOf1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowedPaymentMethodApiOneOf1;
|
|
38
|
+
export declare function AllowedPaymentMethodApiOneOf1ToJSON(value?: AllowedPaymentMethodApiOneOf1 | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 AllowedPaymentMethodApiOneOf2
|
|
16
|
+
*/
|
|
17
|
+
export interface AllowedPaymentMethodApiOneOf2 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AllowedPaymentMethodApiOneOf2
|
|
22
|
+
*/
|
|
23
|
+
name: AllowedPaymentMethodApiOneOf2NameEnum;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const AllowedPaymentMethodApiOneOf2NameEnum: {
|
|
29
|
+
readonly DepositAccount: "DEPOSIT_ACCOUNT";
|
|
30
|
+
};
|
|
31
|
+
export type AllowedPaymentMethodApiOneOf2NameEnum = typeof AllowedPaymentMethodApiOneOf2NameEnum[keyof typeof AllowedPaymentMethodApiOneOf2NameEnum];
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AllowedPaymentMethodApiOneOf2 interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAllowedPaymentMethodApiOneOf2(value: object): boolean;
|
|
36
|
+
export declare function AllowedPaymentMethodApiOneOf2FromJSON(json: any): AllowedPaymentMethodApiOneOf2;
|
|
37
|
+
export declare function AllowedPaymentMethodApiOneOf2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowedPaymentMethodApiOneOf2;
|
|
38
|
+
export declare function AllowedPaymentMethodApiOneOf2ToJSON(value?: AllowedPaymentMethodApiOneOf2 | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AllowedPaymentMethodApiOneOf3Payload } from './AllowedPaymentMethodApiOneOf3Payload';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @interface AllowedPaymentMethodApiOneOf3
|
|
6
|
+
*/
|
|
7
|
+
export interface AllowedPaymentMethodApiOneOf3 {
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof AllowedPaymentMethodApiOneOf3
|
|
12
|
+
*/
|
|
13
|
+
name: AllowedPaymentMethodApiOneOf3NameEnum;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @type {AllowedPaymentMethodApiOneOf3Payload}
|
|
17
|
+
* @memberof AllowedPaymentMethodApiOneOf3
|
|
18
|
+
*/
|
|
19
|
+
payload: AllowedPaymentMethodApiOneOf3Payload;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
export declare const AllowedPaymentMethodApiOneOf3NameEnum: {
|
|
25
|
+
readonly PayLater: "PAY_LATER";
|
|
26
|
+
};
|
|
27
|
+
export type AllowedPaymentMethodApiOneOf3NameEnum = typeof AllowedPaymentMethodApiOneOf3NameEnum[keyof typeof AllowedPaymentMethodApiOneOf3NameEnum];
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the AllowedPaymentMethodApiOneOf3 interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfAllowedPaymentMethodApiOneOf3(value: object): boolean;
|
|
32
|
+
export declare function AllowedPaymentMethodApiOneOf3FromJSON(json: any): AllowedPaymentMethodApiOneOf3;
|
|
33
|
+
export declare function AllowedPaymentMethodApiOneOf3FromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowedPaymentMethodApiOneOf3;
|
|
34
|
+
export declare function AllowedPaymentMethodApiOneOf3ToJSON(value?: AllowedPaymentMethodApiOneOf3 | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 AllowedPaymentMethodApiOneOf3Payload
|
|
16
|
+
*/
|
|
17
|
+
export interface AllowedPaymentMethodApiOneOf3Payload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AllowedPaymentMethodApiOneOf3Payload
|
|
22
|
+
*/
|
|
23
|
+
status: AllowedPaymentMethodApiOneOf3PayloadStatusEnum;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const AllowedPaymentMethodApiOneOf3PayloadStatusEnum: {
|
|
29
|
+
readonly Disabled: "DISABLED";
|
|
30
|
+
readonly Enabled: "ENABLED";
|
|
31
|
+
readonly Forced: "FORCED";
|
|
32
|
+
};
|
|
33
|
+
export type AllowedPaymentMethodApiOneOf3PayloadStatusEnum = typeof AllowedPaymentMethodApiOneOf3PayloadStatusEnum[keyof typeof AllowedPaymentMethodApiOneOf3PayloadStatusEnum];
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the AllowedPaymentMethodApiOneOf3Payload interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfAllowedPaymentMethodApiOneOf3Payload(value: object): boolean;
|
|
38
|
+
export declare function AllowedPaymentMethodApiOneOf3PayloadFromJSON(json: any): AllowedPaymentMethodApiOneOf3Payload;
|
|
39
|
+
export declare function AllowedPaymentMethodApiOneOf3PayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowedPaymentMethodApiOneOf3Payload;
|
|
40
|
+
export declare function AllowedPaymentMethodApiOneOf3PayloadToJSON(value?: AllowedPaymentMethodApiOneOf3Payload | null): any;
|