@revolugo/booking-api-client 7.9.2 → 7.10.0-alpha.1
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 +3275 -3011
- package/dist/index.umd.js +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/types/booking-api-client.d.ts +12 -11
- package/dist/types/booking-api-client.d.ts.map +1 -0
- package/dist/types/env.d.ts +1 -0
- package/dist/types/env.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceBookingPoliciesApi.d.ts +2 -78
- package/dist/types/v1/apis/ResourceBookingPoliciesApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceBookingsApi.d.ts +19 -237
- package/dist/types/v1/apis/ResourceBookingsApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceHotelImagesApi.d.ts +2 -42
- package/dist/types/v1/apis/ResourceHotelImagesApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts +2 -61
- package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts +3 -62
- package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts +2 -42
- package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts +2 -61
- package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts +3 -65
- package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts +2 -85
- package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts +2 -42
- package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts.map +1 -0
- package/dist/types/v1/apis/ResourceHotelsApi.d.ts +2 -43
- package/dist/types/v1/apis/ResourceHotelsApi.d.ts.map +1 -0
- package/dist/types/v1/apis/index.d.ts +12 -11
- package/dist/types/v1/apis/index.d.ts.map +1 -0
- package/dist/types/v1/index.d.ts +1 -0
- package/dist/types/v1/index.d.ts.map +1 -0
- package/dist/types/v1/models/AllowedPaymentMethodApi.d.ts +15 -10
- package/dist/types/v1/models/AllowedPaymentMethodApi.d.ts.map +1 -0
- package/dist/types/v1/models/AllowedPaymentMethodCouponApi.d.ts +13 -0
- package/dist/types/v1/models/AllowedPaymentMethodCouponApi.d.ts.map +1 -0
- package/dist/types/v1/models/AllowedPaymentMethodCreditCardApi.d.ts +13 -0
- package/dist/types/v1/models/AllowedPaymentMethodCreditCardApi.d.ts.map +1 -0
- package/dist/types/v1/models/AllowedPaymentMethodDepositAccountApi.d.ts +13 -0
- package/dist/types/v1/models/AllowedPaymentMethodDepositAccountApi.d.ts.map +1 -0
- package/dist/types/v1/models/AllowedPaymentMethodPayLaterApi.d.ts +15 -0
- package/dist/types/v1/models/AllowedPaymentMethodPayLaterApi.d.ts.map +1 -0
- package/dist/types/v1/models/AllowedPaymentMethodPayLaterApiPayload.d.ts +15 -0
- package/dist/types/v1/models/AllowedPaymentMethodPayLaterApiPayload.d.ts.map +1 -0
- package/dist/types/v1/models/AmenitiesApi.d.ts +4 -241
- package/dist/types/v1/models/AmenitiesApi.d.ts.map +1 -0
- package/dist/types/v1/models/BedApi.d.ts +4 -36
- package/dist/types/v1/models/BedApi.d.ts.map +1 -0
- package/dist/types/v1/models/BookingApi.d.ts +23 -218
- package/dist/types/v1/models/BookingApi.d.ts.map +1 -0
- package/dist/types/v1/models/BookingCreateApi.d.ts +9 -43
- package/dist/types/v1/models/BookingCreateApi.d.ts.map +1 -0
- package/dist/types/v1/models/BookingCreateApiGuestsListInner.d.ts +5 -21
- package/dist/types/v1/models/BookingCreateApiGuestsListInner.d.ts.map +1 -0
- package/dist/types/v1/models/BookingCreateApiGuestsListInnerGuestsInner.d.ts +4 -26
- package/dist/types/v1/models/BookingCreateApiGuestsListInnerGuestsInner.d.ts.map +1 -0
- package/dist/types/v1/models/BookingPoliciesApi.d.ts +9 -88
- package/dist/types/v1/models/BookingPoliciesApi.d.ts.map +1 -0
- package/dist/types/v1/models/BookingPoliciesCreateApi.d.ts +5 -45
- package/dist/types/v1/models/BookingPoliciesCreateApi.d.ts.map +1 -0
- package/dist/types/v1/models/BookingsApiResponse.d.ts +6 -22
- package/dist/types/v1/models/BookingsApiResponse.d.ts.map +1 -0
- package/dist/types/v1/models/BreakfastOption.d.ts +12 -0
- package/dist/types/v1/models/BreakfastOption.d.ts.map +1 -0
- package/dist/types/v1/models/CancellationPolicyApi.d.ts +4 -36
- package/dist/types/v1/models/CancellationPolicyApi.d.ts.map +1 -0
- package/dist/types/v1/models/ContactPersonApi.d.ts +10 -89
- package/dist/types/v1/models/ContactPersonApi.d.ts.map +1 -0
- package/dist/types/v1/models/ContactPersonOrganizationApi.d.ts +6 -47
- package/dist/types/v1/models/ContactPersonOrganizationApi.d.ts.map +1 -0
- package/dist/types/v1/models/CountryIso2Code.d.ts +3 -15
- package/dist/types/v1/models/CountryIso2Code.d.ts.map +1 -0
- package/dist/types/v1/models/CurrencyClient.d.ts +3 -16
- package/dist/types/v1/models/CurrencyClient.d.ts.map +1 -0
- package/dist/types/v1/models/ErrorApiResponse.d.ts +4 -49
- package/dist/types/v1/models/ErrorApiResponse.d.ts.map +1 -0
- package/dist/types/v1/models/EventApi.d.ts +4 -31
- package/dist/types/v1/models/EventApi.d.ts.map +1 -0
- package/dist/types/v1/models/EventMetadataApi.d.ts +4 -51
- package/dist/types/v1/models/EventMetadataApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelApi.d.ts +11 -167
- package/dist/types/v1/models/HotelApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelApiImages.d.ts +4 -55
- package/dist/types/v1/models/HotelApiImages.d.ts.map +1 -0
- package/dist/types/v1/models/HotelImageApi.d.ts +4 -56
- package/dist/types/v1/models/HotelImageApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelOfferApi.d.ts +13 -181
- package/dist/types/v1/models/HotelOfferApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelOfferRequestApiResponse.d.ts +6 -78
- package/dist/types/v1/models/HotelOfferRequestApiResponse.d.ts.map +1 -0
- package/dist/types/v1/models/HotelOfferRequestCreateApi.d.ts +5 -64
- package/dist/types/v1/models/HotelOfferRequestCreateApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelOffersApiResponse.d.ts +6 -27
- package/dist/types/v1/models/HotelOffersApiResponse.d.ts.map +1 -0
- package/dist/types/v1/models/HotelOffersApiResponseMeta.d.ts +5 -36
- package/dist/types/v1/models/HotelOffersApiResponseMeta.d.ts.map +1 -0
- package/dist/types/v1/models/HotelOffersDataApiResponse.d.ts +6 -57
- package/dist/types/v1/models/HotelOffersDataApiResponse.d.ts.map +1 -0
- package/dist/types/v1/models/HotelReviewRatingApi.d.ts +4 -31
- package/dist/types/v1/models/HotelReviewRatingApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomApi.d.ts +6 -101
- package/dist/types/v1/models/HotelRoomApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomOfferApi.d.ts +13 -154
- package/dist/types/v1/models/HotelRoomOfferApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomOfferApiHotelRoomsInner.d.ts +25 -0
- package/dist/types/v1/models/HotelRoomOfferApiHotelRoomsInner.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomOfferApiResponse.d.ts +6 -47
- package/dist/types/v1/models/HotelRoomOfferApiResponse.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponse.d.ts +6 -62
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponse.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomOfferRequestCreateApi.d.ts +5 -46
- package/dist/types/v1/models/HotelRoomOfferRequestCreateApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomOffersApiResponse.d.ts +6 -27
- package/dist/types/v1/models/HotelRoomOffersApiResponse.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomOffersCreateApi.d.ts +7 -52
- package/dist/types/v1/models/HotelRoomOffersCreateApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomOffersDataApiResponse.d.ts +6 -52
- package/dist/types/v1/models/HotelRoomOffersDataApiResponse.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomOffersDataCreateApi.d.ts +4 -36
- package/dist/types/v1/models/HotelRoomOffersDataCreateApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomingListApi.d.ts +7 -38
- package/dist/types/v1/models/HotelRoomingListApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomingListGuestApi.d.ts +4 -31
- package/dist/types/v1/models/HotelRoomingListGuestApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomingListGuestsCreateApi.d.ts +4 -31
- package/dist/types/v1/models/HotelRoomingListGuestsCreateApi.d.ts.map +1 -0
- package/dist/types/v1/models/HotelRoomingListGuestsUpdateApi.d.ts +4 -26
- package/dist/types/v1/models/HotelRoomingListGuestsUpdateApi.d.ts.map +1 -0
- package/dist/types/v1/models/InvoiceApi.d.ts +4 -34
- package/dist/types/v1/models/InvoiceApi.d.ts.map +1 -0
- package/dist/types/v1/models/Locale.d.ts +3 -15
- package/dist/types/v1/models/Locale.d.ts.map +1 -0
- package/dist/types/v1/models/MetaPollingResponseApi.d.ts +5 -36
- package/dist/types/v1/models/MetaPollingResponseApi.d.ts.map +1 -0
- package/dist/types/v1/models/MetaResponseApi.d.ts +4 -41
- package/dist/types/v1/models/MetaResponseApi.d.ts.map +1 -0
- package/dist/types/v1/models/OrderAddon.d.ts +15 -0
- package/dist/types/v1/models/OrderAddon.d.ts.map +1 -0
- package/dist/types/v1/models/OrderAddonSelection.d.ts +13 -0
- package/dist/types/v1/models/OrderAddonSelection.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodApi.d.ts +15 -10
- package/dist/types/v1/models/PaymentMethodApi.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodCouponApi.d.ts +15 -0
- package/dist/types/v1/models/PaymentMethodCouponApi.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodCouponApiPayload.d.ts +11 -0
- package/dist/types/v1/models/PaymentMethodCouponApiPayload.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodCreditCardApi.d.ts +15 -0
- package/dist/types/v1/models/PaymentMethodCreditCardApi.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodCreditCardApiPayload.d.ts +11 -0
- package/dist/types/v1/models/PaymentMethodCreditCardApiPayload.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodDepositAccountApi.d.ts +15 -0
- package/dist/types/v1/models/PaymentMethodDepositAccountApi.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodDepositAccountApiPayload.d.ts +11 -0
- package/dist/types/v1/models/PaymentMethodDepositAccountApiPayload.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodPayLaterApi.d.ts +15 -0
- package/dist/types/v1/models/PaymentMethodPayLaterApi.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodPayLaterApiPayload.d.ts +18 -0
- package/dist/types/v1/models/PaymentMethodPayLaterApiPayload.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodRequestApi.d.ts +5 -24
- package/dist/types/v1/models/PaymentMethodRequestApi.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodRequestPayloadApi.d.ts +4 -26
- package/dist/types/v1/models/PaymentMethodRequestPayloadApi.d.ts.map +1 -0
- package/dist/types/v1/models/PaymentMethodUpdatePayloadApi.d.ts +5 -16
- package/dist/types/v1/models/PaymentMethodUpdatePayloadApi.d.ts.map +1 -0
- package/dist/types/v1/models/PollerStatus.d.ts +3 -15
- package/dist/types/v1/models/PollerStatus.d.ts.map +1 -0
- package/dist/types/v1/models/RequestPayload.d.ts +22 -0
- package/dist/types/v1/models/RequestPayload.d.ts.map +1 -0
- package/dist/types/v1/models/SourceMarket.d.ts +3 -15
- package/dist/types/v1/models/SourceMarket.d.ts.map +1 -0
- package/dist/types/v1/models/TagApi.d.ts +4 -46
- package/dist/types/v1/models/TagApi.d.ts.map +1 -0
- package/dist/types/v1/models/TaxApi.d.ts +8 -61
- package/dist/types/v1/models/TaxApi.d.ts.map +1 -0
- package/dist/types/v1/models/TravelTimesApi.d.ts +5 -26
- package/dist/types/v1/models/TravelTimesApi.d.ts.map +1 -0
- package/dist/types/v1/models/TravelTimesApiTravelTimes.d.ts +4 -36
- package/dist/types/v1/models/TravelTimesApiTravelTimes.d.ts.map +1 -0
- package/dist/types/v1/models/index.d.ts +74 -74
- package/dist/types/v1/models/index.d.ts.map +1 -0
- package/dist/types/v1/runtime.d.ts +1 -19
- package/dist/types/v1/runtime.d.ts.map +1 -0
- package/package.json +12 -12
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf.d.ts +0 -38
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf1.d.ts +0 -38
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf2.d.ts +0 -38
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3.d.ts +0 -34
- package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3Payload.d.ts +0 -40
- package/dist/types/v1/models/HotelOfferApiAllOf.d.ts +0 -37
- package/dist/types/v1/models/HotelOffersApiResponseMetaAllOf.d.ts +0 -31
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf.d.ts +0 -57
- package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf1.d.ts +0 -33
- package/dist/types/v1/models/HotelRoomingListApiHotelRoom.d.ts +0 -120
- package/dist/types/v1/models/MetaPollingResponseApiAllOf.d.ts +0 -21
- package/dist/types/v1/models/PaymentMethodApiOneOf.d.ts +0 -34
- package/dist/types/v1/models/PaymentMethodApiOneOf1.d.ts +0 -34
- package/dist/types/v1/models/PaymentMethodApiOneOf1Payload.d.ts +0 -43
- package/dist/types/v1/models/PaymentMethodApiOneOf2.d.ts +0 -34
- package/dist/types/v1/models/PaymentMethodApiOneOf2Payload.d.ts +0 -43
- package/dist/types/v1/models/PaymentMethodApiOneOf3.d.ts +0 -34
- package/dist/types/v1/models/PaymentMethodApiOneOf3Payload.d.ts +0 -58
- package/dist/types/v1/models/PaymentMethodApiOneOfPayload.d.ts +0 -43
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { HotelImages } from './v1/apis/ResourceHotelImagesApi.ts';
|
|
2
2
|
import { Configuration } from './v1/runtime.ts';
|
|
3
|
-
import { BookingPoliciesInterface } from './v1/apis/ResourceBookingPoliciesApi.ts';
|
|
4
|
-
import { BookingsInterface } from './v1/apis/ResourceBookingsApi.ts';
|
|
5
|
-
import { HotelOfferRequestsInterface } from './v1/apis/ResourceHotelOfferRequestsApi.ts';
|
|
6
|
-
import { HotelOffersInterface } from './v1/apis/ResourceHotelOffersApi.ts';
|
|
7
|
-
import { HotelRoomingListGuestsInterface } from './v1/apis/ResourceHotelRoomingListGuestsApi.ts';
|
|
8
|
-
import { HotelRoomingListsInterface } from './v1/apis/ResourceHotelRoomingListsApi.ts';
|
|
9
|
-
import { HotelRoomOfferImagesInterface } from './v1/apis/ResourceHotelRoomOfferImagesApi.ts';
|
|
10
|
-
import { HotelRoomOfferRequestsInterface } from './v1/apis/ResourceHotelRoomOfferRequestsApi.ts';
|
|
11
|
-
import { HotelRoomOffersInterface } from './v1/apis/ResourceHotelRoomOffersApi.ts';
|
|
12
|
-
import { HotelsInterface } from './v1/apis/ResourceHotelsApi.ts';
|
|
13
|
-
import { ApiClientConfig, ApiVersions } from '@revolugo/common/types';
|
|
3
|
+
import type { BookingPoliciesInterface } from './v1/apis/ResourceBookingPoliciesApi.ts';
|
|
4
|
+
import type { BookingsInterface } from './v1/apis/ResourceBookingsApi.ts';
|
|
5
|
+
import type { HotelOfferRequestsInterface } from './v1/apis/ResourceHotelOfferRequestsApi.ts';
|
|
6
|
+
import type { HotelOffersInterface } from './v1/apis/ResourceHotelOffersApi.ts';
|
|
7
|
+
import type { HotelRoomingListGuestsInterface } from './v1/apis/ResourceHotelRoomingListGuestsApi.ts';
|
|
8
|
+
import type { HotelRoomingListsInterface } from './v1/apis/ResourceHotelRoomingListsApi.ts';
|
|
9
|
+
import type { HotelRoomOfferImagesInterface } from './v1/apis/ResourceHotelRoomOfferImagesApi.ts';
|
|
10
|
+
import type { HotelRoomOfferRequestsInterface } from './v1/apis/ResourceHotelRoomOfferRequestsApi.ts';
|
|
11
|
+
import type { HotelRoomOffersInterface } from './v1/apis/ResourceHotelRoomOffersApi.ts';
|
|
12
|
+
import type { HotelsInterface } from './v1/apis/ResourceHotelsApi.ts';
|
|
13
|
+
import type { ApiClientConfig, ApiVersions } from '@revolugo/common/types';
|
|
14
14
|
export declare const v1ApiClient: (apiConfig: Configuration) => {
|
|
15
15
|
bookingPolicies: BookingPoliciesInterface;
|
|
16
16
|
bookings: BookingsInterface;
|
|
@@ -44,3 +44,4 @@ export declare class ApiClient<P extends ApiVersions> {
|
|
|
44
44
|
get hotels(): ApiVersionCalls[P]['hotels'];
|
|
45
45
|
}
|
|
46
46
|
export {};
|
|
47
|
+
//# sourceMappingURL=booking-api-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"booking-api-client.d.ts","sourceRoot":"","sources":["../../src/booking-api-client.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA;AASjE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,y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C,QAAQ,CAAC,mBAAmB,CAAiB;gBAExB,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;IAkDvD,IAAW,eAAe,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAElE;IAED,IAAW,QAAQ,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAEpD;IAED,IAAW,WAAW,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAE1D;IAED,IAAW,kBAAkB,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAExE;IAED,IAAW,WAAW,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAE1D;IAED,IAAW,sBAAsB,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAGhF;IAED,IAAW,iBAAiB,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAEtE;IAED,IAAW,oBAAoB,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAE5E;IAED,IAAW,sBAAsB,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAGhF;IAED,IAAW,eAAe,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAElE;IAED,IAAW,MAAM,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAEhD;CACF"}
|
package/dist/types/env.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/env.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,CAAC,EAAE,MAAM,eAAe,CAAA;AAenD,eAAO,MAAQ,SAAS,qDAAE,gBAAgB,mDAIzC,CAAA;;;;;AACD,wBAA8C"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA"}
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import { AllowedPaymentMethodApi, BookingPoliciesApi, BookingPoliciesCreateApi } from '../models/index.ts';
|
|
2
|
-
/**
|
|
3
|
-
* Revolugo Booking API Reference
|
|
4
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 1.5.0
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
1
|
import * as runtime from '../runtime.ts';
|
|
2
|
+
import { type AllowedPaymentMethodApi, type BookingPoliciesApi, type BookingPoliciesCreateApi } from '../models/index.ts';
|
|
14
3
|
export interface BookingPoliciesRetrievePayload {
|
|
15
4
|
id: string;
|
|
16
5
|
}
|
|
@@ -20,112 +9,47 @@ export interface BookingPoliciesPaymentMethodsPayload {
|
|
|
20
9
|
export interface BookingPoliciesCreatePayload {
|
|
21
10
|
bookingPoliciesCreateApi?: BookingPoliciesCreateApi;
|
|
22
11
|
}
|
|
23
|
-
/**
|
|
24
|
-
* BookingPolicies - interface
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface BookingPoliciesInterface
|
|
28
|
-
*/
|
|
29
12
|
export interface BookingPoliciesInterface {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @summary Get Booking Policy
|
|
33
|
-
* @param {string} id Id of requested **Booking Policy** returned by [Create Booking Policy endpoint](v1/documentation#tag/Booking-Policies/operation/postV1Booking_policies).
|
|
34
|
-
* @param {*} [options] Override http request option.
|
|
35
|
-
* @throws {RequiredError}
|
|
36
|
-
* @memberof BookingPoliciesInterface
|
|
37
|
-
*/
|
|
38
13
|
retrieveRaw(requestParameters: BookingPoliciesRetrievePayload, initOverrides?: RequestInit & {
|
|
39
14
|
minCallCount?: number;
|
|
40
15
|
maxCallCount?: number;
|
|
41
16
|
}): Promise<runtime.ApiResponse<BookingPoliciesApi>>;
|
|
42
|
-
/**
|
|
43
|
-
* Get Booking Policy
|
|
44
|
-
*/
|
|
45
17
|
retrieve(requestParameters: BookingPoliciesRetrievePayload, initOverrides?: RequestInit & {
|
|
46
18
|
minCallCount?: number;
|
|
47
19
|
maxCallCount?: number;
|
|
48
20
|
}): Promise<BookingPoliciesApi>;
|
|
49
|
-
/**
|
|
50
|
-
* Retrieve payment methods for a booking policy
|
|
51
|
-
* @summary Payment Methods for a Booking policy
|
|
52
|
-
* @param {string} id Booking policy id
|
|
53
|
-
* @param {*} [options] Override http request option.
|
|
54
|
-
* @throws {RequiredError}
|
|
55
|
-
* @memberof BookingPoliciesInterface
|
|
56
|
-
*/
|
|
57
21
|
paymentMethodsRaw(requestParameters: BookingPoliciesPaymentMethodsPayload, initOverrides?: RequestInit & {
|
|
58
22
|
minCallCount?: number;
|
|
59
23
|
maxCallCount?: number;
|
|
60
24
|
}): Promise<runtime.ApiResponse<Array<AllowedPaymentMethodApi>>>;
|
|
61
|
-
/**
|
|
62
|
-
* Retrieve payment methods for a booking policy
|
|
63
|
-
* Payment Methods for a Booking policy
|
|
64
|
-
*/
|
|
65
25
|
paymentMethods(requestParameters: BookingPoliciesPaymentMethodsPayload, initOverrides?: RequestInit & {
|
|
66
26
|
minCallCount?: number;
|
|
67
27
|
maxCallCount?: number;
|
|
68
28
|
}): Promise<Array<AllowedPaymentMethodApi>>;
|
|
69
|
-
/**
|
|
70
|
-
* In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
|
|
71
|
-
* @summary Create Booking Policies
|
|
72
|
-
* @param {BookingPoliciesCreateApi} [bookingPoliciesCreateApi] Create Booking Policies
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
* @memberof BookingPoliciesInterface
|
|
76
|
-
*/
|
|
77
29
|
createRaw(requestParameters: BookingPoliciesCreatePayload, initOverrides?: RequestInit & {
|
|
78
30
|
minCallCount?: number;
|
|
79
31
|
maxCallCount?: number;
|
|
80
32
|
}): Promise<runtime.ApiResponse<BookingPoliciesApi>>;
|
|
81
|
-
/**
|
|
82
|
-
* In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
|
|
83
|
-
* Create Booking Policies
|
|
84
|
-
*/
|
|
85
33
|
create(requestParameters: BookingPoliciesCreatePayload, initOverrides?: RequestInit & {
|
|
86
34
|
minCallCount?: number;
|
|
87
35
|
maxCallCount?: number;
|
|
88
36
|
}): Promise<BookingPoliciesApi>;
|
|
89
37
|
}
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
*/
|
|
93
38
|
export declare class BookingPolicies extends runtime.BaseAPI implements BookingPoliciesInterface {
|
|
94
|
-
/**
|
|
95
|
-
* Get Booking Policy
|
|
96
|
-
*/
|
|
97
39
|
retrieveRaw(requestParameters: BookingPoliciesRetrievePayload, initOverrides?: RequestInit & {
|
|
98
40
|
minCallCount?: number;
|
|
99
41
|
maxCallCount?: number;
|
|
100
42
|
}): Promise<runtime.ApiResponse<BookingPoliciesApi>>;
|
|
101
|
-
/**
|
|
102
|
-
* Get Booking Policy
|
|
103
|
-
*/
|
|
104
43
|
retrieve(requestParameters: BookingPoliciesRetrievePayload, initOverrides?: RequestInit): Promise<BookingPoliciesApi>;
|
|
105
|
-
/**
|
|
106
|
-
* Retrieve payment methods for a booking policy
|
|
107
|
-
* Payment Methods for a Booking policy
|
|
108
|
-
*/
|
|
109
44
|
paymentMethodsRaw(requestParameters: BookingPoliciesPaymentMethodsPayload, initOverrides?: RequestInit & {
|
|
110
45
|
minCallCount?: number;
|
|
111
46
|
maxCallCount?: number;
|
|
112
47
|
}): Promise<runtime.ApiResponse<Array<AllowedPaymentMethodApi>>>;
|
|
113
|
-
/**
|
|
114
|
-
* Retrieve payment methods for a booking policy
|
|
115
|
-
* Payment Methods for a Booking policy
|
|
116
|
-
*/
|
|
117
48
|
paymentMethods(requestParameters: BookingPoliciesPaymentMethodsPayload, initOverrides?: RequestInit): Promise<Array<AllowedPaymentMethodApi>>;
|
|
118
|
-
/**
|
|
119
|
-
* In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
|
|
120
|
-
* Create Booking Policies
|
|
121
|
-
*/
|
|
122
49
|
createRaw(requestParameters: BookingPoliciesCreatePayload, initOverrides?: RequestInit & {
|
|
123
50
|
minCallCount?: number;
|
|
124
51
|
maxCallCount?: number;
|
|
125
52
|
}): Promise<runtime.ApiResponse<BookingPoliciesApi>>;
|
|
126
|
-
/**
|
|
127
|
-
* In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
|
|
128
|
-
* Create Booking Policies
|
|
129
|
-
*/
|
|
130
53
|
create(requestParameters?: BookingPoliciesCreatePayload, initOverrides?: RequestInit): Promise<BookingPoliciesApi>;
|
|
131
54
|
}
|
|
55
|
+
//# sourceMappingURL=ResourceBookingPoliciesApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResourceBookingPoliciesApi.d.ts","sourceRoot":"","sources":["../../../../src/v1/apis/ResourceBookingPoliciesApi.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,EACH,KAAK,uBAAuB,EAG5B,KAAK,kBAAkB,EAGvB,KAAK,wBAAwB,EAMhC,MAAM,oBAAoB,CAAC;AAI5B,MAAM,WAAW,8BAA8B;IAC3C,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oCAAoC;IACjD,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,4BAA4B;IACzC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;CACvD;AAOD,MAAM,WAAW,wBAAwB;IASrC,WAAW,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAA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;IAI9E,WAAW,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAoBhM,QAAQ,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAOrH,iBAAiB,CAAC,iBAAiB,EAAE,oCAAoC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC;IAqBxN,cAAc,CAAC,iBAAiB,EAAE,oCAAoC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAO7I,SAAS,CAAC,iBAAiB,EAAE,4BAA4B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG;QAAE,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAoB5L,MAAM,CAAC,iBAAiB,GAAE,4BAAiC,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAG/H"}
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import { BookingApi, BookingCreateApi, BookingsApiResponse, PaymentMethodUpdatePayloadApi } from '../models/index.ts';
|
|
2
|
-
/**
|
|
3
|
-
* Revolugo Booking API Reference
|
|
4
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 1.5.0
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
1
|
import * as runtime from '../runtime.ts';
|
|
2
|
+
import { type BookingApi, type BookingCreateApi, type BookingsApiResponse, type PaymentMethodUpdatePayloadApi, type RequestPayload } from '../models/index.ts';
|
|
14
3
|
export interface BookingsDeletePayload {
|
|
15
4
|
token: string;
|
|
16
5
|
}
|
|
@@ -49,377 +38,170 @@ export interface BookingsConfirmPayLaterPayload {
|
|
|
49
38
|
export interface BookingsConfirmPayload {
|
|
50
39
|
id: string;
|
|
51
40
|
}
|
|
41
|
+
export interface BookingsSubmitRequestPayload {
|
|
42
|
+
token: string;
|
|
43
|
+
requestPayload?: RequestPayload;
|
|
44
|
+
}
|
|
52
45
|
export interface BookingsUpdatePaymentMethodsPayload {
|
|
53
46
|
id: string;
|
|
54
47
|
paymentMethodUpdatePayloadApi?: PaymentMethodUpdatePayloadApi;
|
|
55
48
|
}
|
|
56
|
-
/**
|
|
57
|
-
* Bookings - interface
|
|
58
|
-
*
|
|
59
|
-
* @export
|
|
60
|
-
* @interface BookingsInterface
|
|
61
|
-
*/
|
|
62
49
|
export interface BookingsInterface {
|
|
63
|
-
/**
|
|
64
|
-
* Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
|
|
65
|
-
* @summary Cancel a Booking
|
|
66
|
-
* @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.
|
|
67
|
-
* @param {*} [options] Override http request option.
|
|
68
|
-
* @throws {RequiredError}
|
|
69
|
-
* @memberof BookingsInterface
|
|
70
|
-
*/
|
|
71
50
|
deleteRaw(requestParameters: BookingsDeletePayload, initOverrides?: RequestInit & {
|
|
72
51
|
minCallCount?: number;
|
|
73
52
|
maxCallCount?: number;
|
|
74
53
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
75
|
-
/**
|
|
76
|
-
* Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
|
|
77
|
-
* Cancel a Booking
|
|
78
|
-
*/
|
|
79
54
|
delete(requestParameters: BookingsDeletePayload, initOverrides?: RequestInit & {
|
|
80
55
|
minCallCount?: number;
|
|
81
56
|
maxCallCount?: number;
|
|
82
57
|
}): Promise<BookingApi>;
|
|
83
|
-
/**
|
|
84
|
-
* Returns a list of detailed bookings made on behalf of a specific API Key credential.
|
|
85
|
-
* @summary List Bookings
|
|
86
|
-
* @param {string} [endingBefore] 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.
|
|
87
|
-
* @param {string} [filterByCheckInDate] Comma separated list of two dates. Format: YYYY-MM-DD,YYYY-MM-DD
|
|
88
|
-
* @param {string} [filterByLastStatusUpdatedAt] Can contain the following values: either **a unique valid ISO string date** that will be considered as the \"from\" date until the current date, or **a comma separated list of two valid ISO string dates** that will be considered as the \"from\" and \"to\" dates between which the \"last_status_updated_at\" date must be included.<br/>e.g.: \"2021-01-01,2021-01-31\" or \"2023-01-03T15:03:39.910Z\" or \"2023-01-03T15:03:39.910Z,2023-01-06T15:03:39.910Z\"
|
|
89
|
-
* @param {{ [key: string]: string; }} [filterByMetadata] Filter bookings by metadata key-value pairs using bracket notation. All provided key-value pairs must match (AND logic).<br/>Example: `filter_by_metadata[customId]=xyz&filter_by_metadata[userId]=123`
|
|
90
|
-
* @param {string} [filterByStatus] Comma separated list of booking status values to filter by. Possible values are: `bkg-af` (Failure), `bkg-cx` (Canceled), `bkg-ip` (In Progress), `bkg-cf` (Confirmed). Example: `bkg-af,bkg-cx`
|
|
91
|
-
* @param {number} [limit] Limit the number of **Bookings** returned. Limit can range from 2 to 30
|
|
92
|
-
* @param {'check_in_date' | 'created_at' | 'last_status_updated_at'} [sortBy]
|
|
93
|
-
* @param {'asc' | 'desc'} [sortByOrder]
|
|
94
|
-
* @param {string} [startingAfter] 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.
|
|
95
|
-
* @param {*} [options] Override http request option.
|
|
96
|
-
* @throws {RequiredError}
|
|
97
|
-
* @memberof BookingsInterface
|
|
98
|
-
*/
|
|
99
58
|
listRaw(requestParameters: BookingsListPayload, initOverrides?: RequestInit & {
|
|
100
59
|
minCallCount?: number;
|
|
101
60
|
maxCallCount?: number;
|
|
102
61
|
}): Promise<runtime.ApiResponse<BookingsApiResponse>>;
|
|
103
|
-
/**
|
|
104
|
-
* Returns a list of detailed bookings made on behalf of a specific API Key credential.
|
|
105
|
-
* List Bookings
|
|
106
|
-
*/
|
|
107
62
|
list(requestParameters: BookingsListPayload, initOverrides?: RequestInit & {
|
|
108
63
|
minCallCount?: number;
|
|
109
64
|
maxCallCount?: number;
|
|
110
65
|
}): Promise<BookingsApiResponse>;
|
|
111
|
-
/**
|
|
112
|
-
* Retrieve the status and information of a booking.
|
|
113
|
-
* @summary Retrieve a Booking
|
|
114
|
-
* @param {string} id id of the booking to retrieve
|
|
115
|
-
* @param {*} [options] Override http request option.
|
|
116
|
-
* @throws {RequiredError}
|
|
117
|
-
* @memberof BookingsInterface
|
|
118
|
-
*/
|
|
119
66
|
retrieveRaw(requestParameters: BookingsRetrievePayload, initOverrides?: RequestInit & {
|
|
120
67
|
minCallCount?: number;
|
|
121
68
|
maxCallCount?: number;
|
|
122
69
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
123
|
-
/**
|
|
124
|
-
* Retrieve the status and information of a booking.
|
|
125
|
-
* Retrieve a Booking
|
|
126
|
-
*/
|
|
127
70
|
retrieve(requestParameters: BookingsRetrievePayload, initOverrides?: RequestInit & {
|
|
128
71
|
minCallCount?: number;
|
|
129
72
|
maxCallCount?: number;
|
|
130
73
|
}): Promise<BookingApi>;
|
|
131
|
-
/**
|
|
132
|
-
* Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
133
|
-
* @summary Retrieve a Booking (PUBLIC)
|
|
134
|
-
* @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.
|
|
135
|
-
* @param {*} [options] Override http request option.
|
|
136
|
-
* @throws {RequiredError}
|
|
137
|
-
* @memberof BookingsInterface
|
|
138
|
-
*/
|
|
139
74
|
retrievePublicRaw(requestParameters: BookingsRetrievePublicPayload, initOverrides?: RequestInit & {
|
|
140
75
|
minCallCount?: number;
|
|
141
76
|
maxCallCount?: number;
|
|
142
77
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
143
|
-
/**
|
|
144
|
-
* Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
145
|
-
* Retrieve a Booking (PUBLIC)
|
|
146
|
-
*/
|
|
147
78
|
retrievePublic(requestParameters: BookingsRetrievePublicPayload, initOverrides?: RequestInit & {
|
|
148
79
|
minCallCount?: number;
|
|
149
80
|
maxCallCount?: number;
|
|
150
81
|
}): Promise<BookingApi>;
|
|
151
|
-
/**
|
|
152
|
-
* Creates an unconfirmed booking
|
|
153
|
-
* @summary Create an unconfirmed Booking
|
|
154
|
-
* @param {BookingCreateApi} [bookingCreateApi] Create an unconfirmed Booking
|
|
155
|
-
* @param {*} [options] Override http request option.
|
|
156
|
-
* @throws {RequiredError}
|
|
157
|
-
* @memberof BookingsInterface
|
|
158
|
-
*/
|
|
159
82
|
createRaw(requestParameters: BookingsCreatePayload, initOverrides?: RequestInit & {
|
|
160
83
|
minCallCount?: number;
|
|
161
84
|
maxCallCount?: number;
|
|
162
85
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
163
|
-
/**
|
|
164
|
-
* Creates an unconfirmed booking
|
|
165
|
-
* Create an unconfirmed Booking
|
|
166
|
-
*/
|
|
167
86
|
create(requestParameters: BookingsCreatePayload, initOverrides?: RequestInit & {
|
|
168
87
|
minCallCount?: number;
|
|
169
88
|
maxCallCount?: number;
|
|
170
89
|
}): Promise<BookingApi>;
|
|
171
|
-
/**
|
|
172
|
-
* Confirm booking from Coupon payment method
|
|
173
|
-
* @summary Confirm booking from Coupon payment method
|
|
174
|
-
* @param {string} couponId id of the coupon id to charge
|
|
175
|
-
* @param {string} id id of the booking to update their payment methods
|
|
176
|
-
* @param {*} [options] Override http request option.
|
|
177
|
-
* @throws {RequiredError}
|
|
178
|
-
* @memberof BookingsInterface
|
|
179
|
-
*/
|
|
180
90
|
couponChargeRaw(requestParameters: BookingsCouponChargePayload, initOverrides?: RequestInit & {
|
|
181
91
|
minCallCount?: number;
|
|
182
92
|
maxCallCount?: number;
|
|
183
93
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
184
|
-
/**
|
|
185
|
-
* Confirm booking from Coupon payment method
|
|
186
|
-
* Confirm booking from Coupon payment method
|
|
187
|
-
*/
|
|
188
94
|
couponCharge(requestParameters: BookingsCouponChargePayload, initOverrides?: RequestInit & {
|
|
189
95
|
minCallCount?: number;
|
|
190
96
|
maxCallCount?: number;
|
|
191
97
|
}): Promise<BookingApi>;
|
|
192
|
-
/**
|
|
193
|
-
* Pay later and retrieve the status and information of a booking.
|
|
194
|
-
* @summary Pay later a Booking
|
|
195
|
-
* @param {string} id id of the booking to pay later
|
|
196
|
-
* @param {*} [options] Override http request option.
|
|
197
|
-
* @throws {RequiredError}
|
|
198
|
-
* @memberof BookingsInterface
|
|
199
|
-
*/
|
|
200
98
|
paylaterRaw(requestParameters: BookingsPayLaterPayload, initOverrides?: RequestInit & {
|
|
201
99
|
minCallCount?: number;
|
|
202
100
|
maxCallCount?: number;
|
|
203
101
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
204
|
-
/**
|
|
205
|
-
* Pay later and retrieve the status and information of a booking.
|
|
206
|
-
* Pay later a Booking
|
|
207
|
-
*/
|
|
208
102
|
paylater(requestParameters: BookingsPayLaterPayload, initOverrides?: RequestInit & {
|
|
209
103
|
minCallCount?: number;
|
|
210
104
|
maxCallCount?: number;
|
|
211
105
|
}): Promise<BookingApi>;
|
|
212
|
-
/**
|
|
213
|
-
* Confirm later paid and retrieve the status and information of a booking.
|
|
214
|
-
* @summary Confirm a later paid Booking
|
|
215
|
-
* @param {string} id id of the later paid booking to confirm
|
|
216
|
-
* @param {*} [options] Override http request option.
|
|
217
|
-
* @throws {RequiredError}
|
|
218
|
-
* @memberof BookingsInterface
|
|
219
|
-
*/
|
|
220
106
|
confirmpaylaterRaw(requestParameters: BookingsConfirmPayLaterPayload, initOverrides?: RequestInit & {
|
|
221
107
|
minCallCount?: number;
|
|
222
108
|
maxCallCount?: number;
|
|
223
109
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
224
|
-
/**
|
|
225
|
-
* Confirm later paid and retrieve the status and information of a booking.
|
|
226
|
-
* Confirm a later paid Booking
|
|
227
|
-
*/
|
|
228
110
|
confirmpaylater(requestParameters: BookingsConfirmPayLaterPayload, initOverrides?: RequestInit & {
|
|
229
111
|
minCallCount?: number;
|
|
230
112
|
maxCallCount?: number;
|
|
231
113
|
}): Promise<BookingApi>;
|
|
232
|
-
/**
|
|
233
|
-
* Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
|
|
234
|
-
* @summary Confirm an ongoing Booking
|
|
235
|
-
* @param {string} id id of the booking to confirm
|
|
236
|
-
* @param {*} [options] Override http request option.
|
|
237
|
-
* @throws {RequiredError}
|
|
238
|
-
* @memberof BookingsInterface
|
|
239
|
-
*/
|
|
240
114
|
confirmRaw(requestParameters: BookingsConfirmPayload, initOverrides?: RequestInit & {
|
|
241
115
|
minCallCount?: number;
|
|
242
116
|
maxCallCount?: number;
|
|
243
117
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
244
|
-
/**
|
|
245
|
-
* Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
|
|
246
|
-
* Confirm an ongoing Booking
|
|
247
|
-
*/
|
|
248
118
|
confirm(requestParameters: BookingsConfirmPayload, initOverrides?: RequestInit & {
|
|
249
119
|
minCallCount?: number;
|
|
250
120
|
maxCallCount?: number;
|
|
251
121
|
}): Promise<BookingApi>;
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
*/
|
|
122
|
+
submitRequestRaw(requestParameters: BookingsSubmitRequestPayload, initOverrides?: RequestInit & {
|
|
123
|
+
minCallCount?: number;
|
|
124
|
+
maxCallCount?: number;
|
|
125
|
+
}): Promise<runtime.ApiResponse<string>>;
|
|
126
|
+
submitRequest(requestParameters: BookingsSubmitRequestPayload, initOverrides?: RequestInit & {
|
|
127
|
+
minCallCount?: number;
|
|
128
|
+
maxCallCount?: number;
|
|
129
|
+
}): Promise<string>;
|
|
261
130
|
updatePaymentMethodsRaw(requestParameters: BookingsUpdatePaymentMethodsPayload, initOverrides?: RequestInit & {
|
|
262
131
|
minCallCount?: number;
|
|
263
132
|
maxCallCount?: number;
|
|
264
133
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
265
|
-
/**
|
|
266
|
-
* Updates an ongoing Booking payment methods
|
|
267
|
-
* Updates an ongoing Booking payment methods
|
|
268
|
-
*/
|
|
269
134
|
updatePaymentMethods(requestParameters: BookingsUpdatePaymentMethodsPayload, initOverrides?: RequestInit & {
|
|
270
135
|
minCallCount?: number;
|
|
271
136
|
maxCallCount?: number;
|
|
272
137
|
}): Promise<BookingApi>;
|
|
273
138
|
}
|
|
274
|
-
/**
|
|
275
|
-
*
|
|
276
|
-
*/
|
|
277
139
|
export declare class Bookings extends runtime.BaseAPI implements BookingsInterface {
|
|
278
|
-
/**
|
|
279
|
-
* Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
|
|
280
|
-
* Cancel a Booking
|
|
281
|
-
*/
|
|
282
140
|
deleteRaw(requestParameters: BookingsDeletePayload, initOverrides?: RequestInit & {
|
|
283
141
|
minCallCount?: number;
|
|
284
142
|
maxCallCount?: number;
|
|
285
143
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
286
|
-
/**
|
|
287
|
-
* Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
|
|
288
|
-
* Cancel a Booking
|
|
289
|
-
*/
|
|
290
144
|
delete(requestParameters: BookingsDeletePayload, initOverrides?: RequestInit): Promise<BookingApi>;
|
|
291
|
-
/**
|
|
292
|
-
* Returns a list of detailed bookings made on behalf of a specific API Key credential.
|
|
293
|
-
* List Bookings
|
|
294
|
-
*/
|
|
295
145
|
listRaw(requestParameters: BookingsListPayload, initOverrides?: RequestInit & {
|
|
296
146
|
minCallCount?: number;
|
|
297
147
|
maxCallCount?: number;
|
|
298
148
|
}): Promise<runtime.ApiResponse<BookingsApiResponse>>;
|
|
299
|
-
/**
|
|
300
|
-
* Returns a list of detailed bookings made on behalf of a specific API Key credential.
|
|
301
|
-
* List Bookings
|
|
302
|
-
*/
|
|
303
149
|
list(requestParameters?: BookingsListPayload, initOverrides?: RequestInit): Promise<BookingsApiResponse>;
|
|
304
|
-
/**
|
|
305
|
-
* Retrieve the status and information of a booking.
|
|
306
|
-
* Retrieve a Booking
|
|
307
|
-
*/
|
|
308
150
|
retrieveRaw(requestParameters: BookingsRetrievePayload, initOverrides?: RequestInit & {
|
|
309
151
|
minCallCount?: number;
|
|
310
152
|
maxCallCount?: number;
|
|
311
153
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
312
|
-
/**
|
|
313
|
-
* Retrieve the status and information of a booking.
|
|
314
|
-
* Retrieve a Booking
|
|
315
|
-
*/
|
|
316
154
|
retrieve(requestParameters: BookingsRetrievePayload, initOverrides?: RequestInit): Promise<BookingApi>;
|
|
317
|
-
/**
|
|
318
|
-
* Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
319
|
-
* Retrieve a Booking (PUBLIC)
|
|
320
|
-
*/
|
|
321
155
|
retrievePublicRaw(requestParameters: BookingsRetrievePublicPayload, initOverrides?: RequestInit & {
|
|
322
156
|
minCallCount?: number;
|
|
323
157
|
maxCallCount?: number;
|
|
324
158
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
325
|
-
/**
|
|
326
|
-
* Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
|
|
327
|
-
* Retrieve a Booking (PUBLIC)
|
|
328
|
-
*/
|
|
329
159
|
retrievePublic(requestParameters: BookingsRetrievePublicPayload, initOverrides?: RequestInit): Promise<BookingApi>;
|
|
330
|
-
/**
|
|
331
|
-
* Creates an unconfirmed booking
|
|
332
|
-
* Create an unconfirmed Booking
|
|
333
|
-
*/
|
|
334
160
|
createRaw(requestParameters: BookingsCreatePayload, initOverrides?: RequestInit & {
|
|
335
161
|
minCallCount?: number;
|
|
336
162
|
maxCallCount?: number;
|
|
337
163
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
338
|
-
/**
|
|
339
|
-
* Creates an unconfirmed booking
|
|
340
|
-
* Create an unconfirmed Booking
|
|
341
|
-
*/
|
|
342
164
|
create(requestParameters?: BookingsCreatePayload, initOverrides?: RequestInit): Promise<BookingApi>;
|
|
343
|
-
/**
|
|
344
|
-
* Confirm booking from Coupon payment method
|
|
345
|
-
* Confirm booking from Coupon payment method
|
|
346
|
-
*/
|
|
347
165
|
couponChargeRaw(requestParameters: BookingsCouponChargePayload, initOverrides?: RequestInit & {
|
|
348
166
|
minCallCount?: number;
|
|
349
167
|
maxCallCount?: number;
|
|
350
168
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
351
|
-
/**
|
|
352
|
-
* Confirm booking from Coupon payment method
|
|
353
|
-
* Confirm booking from Coupon payment method
|
|
354
|
-
*/
|
|
355
169
|
couponCharge(requestParameters: BookingsCouponChargePayload, initOverrides?: RequestInit): Promise<BookingApi>;
|
|
356
|
-
/**
|
|
357
|
-
* Pay later and retrieve the status and information of a booking.
|
|
358
|
-
* Pay later a Booking
|
|
359
|
-
*/
|
|
360
170
|
paylaterRaw(requestParameters: BookingsPayLaterPayload, initOverrides?: RequestInit & {
|
|
361
171
|
minCallCount?: number;
|
|
362
172
|
maxCallCount?: number;
|
|
363
173
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
364
|
-
/**
|
|
365
|
-
* Pay later and retrieve the status and information of a booking.
|
|
366
|
-
* Pay later a Booking
|
|
367
|
-
*/
|
|
368
174
|
paylater(requestParameters: BookingsPayLaterPayload, initOverrides?: RequestInit): Promise<BookingApi>;
|
|
369
|
-
/**
|
|
370
|
-
* Confirm later paid and retrieve the status and information of a booking.
|
|
371
|
-
* Confirm a later paid Booking
|
|
372
|
-
*/
|
|
373
175
|
confirmpaylaterRaw(requestParameters: BookingsConfirmPayLaterPayload, initOverrides?: RequestInit & {
|
|
374
176
|
minCallCount?: number;
|
|
375
177
|
maxCallCount?: number;
|
|
376
178
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
377
|
-
/**
|
|
378
|
-
* Confirm later paid and retrieve the status and information of a booking.
|
|
379
|
-
* Confirm a later paid Booking
|
|
380
|
-
*/
|
|
381
179
|
confirmpaylater(requestParameters: BookingsConfirmPayLaterPayload, initOverrides?: RequestInit): Promise<BookingApi>;
|
|
382
|
-
/**
|
|
383
|
-
* Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
|
|
384
|
-
* Confirm an ongoing Booking
|
|
385
|
-
*/
|
|
386
180
|
confirmRaw(requestParameters: BookingsConfirmPayload, initOverrides?: RequestInit & {
|
|
387
181
|
minCallCount?: number;
|
|
388
182
|
maxCallCount?: number;
|
|
389
183
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
390
|
-
/**
|
|
391
|
-
* Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
|
|
392
|
-
* Confirm an ongoing Booking
|
|
393
|
-
*/
|
|
394
184
|
confirm(requestParameters: BookingsConfirmPayload, initOverrides?: RequestInit): Promise<BookingApi>;
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
185
|
+
submitRequestRaw(requestParameters: BookingsSubmitRequestPayload, initOverrides?: RequestInit & {
|
|
186
|
+
minCallCount?: number;
|
|
187
|
+
maxCallCount?: number;
|
|
188
|
+
}): Promise<runtime.ApiResponse<string>>;
|
|
189
|
+
submitRequest(requestParameters: BookingsSubmitRequestPayload, initOverrides?: RequestInit): Promise<string>;
|
|
399
190
|
updatePaymentMethodsRaw(requestParameters: BookingsUpdatePaymentMethodsPayload, initOverrides?: RequestInit & {
|
|
400
191
|
minCallCount?: number;
|
|
401
192
|
maxCallCount?: number;
|
|
402
193
|
}): Promise<runtime.ApiResponse<BookingApi>>;
|
|
403
|
-
/**
|
|
404
|
-
* Updates an ongoing Booking payment methods
|
|
405
|
-
* Updates an ongoing Booking payment methods
|
|
406
|
-
*/
|
|
407
194
|
updatePaymentMethods(requestParameters: BookingsUpdatePaymentMethodsPayload, initOverrides?: RequestInit): Promise<BookingApi>;
|
|
408
195
|
}
|
|
409
|
-
/**
|
|
410
|
-
* @export
|
|
411
|
-
*/
|
|
412
196
|
export declare const BookingsSortByEnum: {
|
|
413
197
|
CheckInDate: "check_in_date";
|
|
414
198
|
CreatedAt: "created_at";
|
|
415
199
|
LastStatusUpdatedAt: "last_status_updated_at";
|
|
416
200
|
};
|
|
417
201
|
export type BookingsSortByEnum = typeof BookingsSortByEnum[keyof typeof BookingsSortByEnum];
|
|
418
|
-
/**
|
|
419
|
-
* @export
|
|
420
|
-
*/
|
|
421
202
|
export declare const BookingsSortByOrderEnum: {
|
|
422
203
|
Asc: "asc";
|
|
423
204
|
Desc: "desc";
|
|
424
205
|
};
|
|
425
206
|
export type BookingsSortByOrderEnum = typeof BookingsSortByOrderEnum[keyof typeof BookingsSortByOrderEnum];
|
|
207
|
+
//# sourceMappingURL=ResourceBookingsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResourceBookingsApi.d.ts","sourceRoot":"","sources":["../../../../src/v1/apis/ResourceBookingsApi.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,EACH,KAAK,UAAU,EAGf,KAAK,gBAAgB,EAGrB,KAAK,mBAAmB,EAGxB,KAAK,6BAA6B,EAGlC,KAAK,cAAc,EAGtB,MAAM,oBAAoB,CAAC;AAI5B,MAAM,WAAW,qBAAqB;IAClC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAChC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,gBAAgB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,GAAG,IAAI,CAAC;IACrD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK,CAAC,EAAE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