@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,97 @@
|
|
|
1
|
+
import { CancellationPolicyApi } from './CancellationPolicyApi';
|
|
2
|
+
import { CurrencyClient } from './CurrencyClient';
|
|
3
|
+
import { HotelRoomOfferApi } from './HotelRoomOfferApi';
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @export
|
|
7
|
+
* @interface BookingPoliciesApi
|
|
8
|
+
*/
|
|
9
|
+
export interface BookingPoliciesApi {
|
|
10
|
+
/**
|
|
11
|
+
* The total number of adults who will be staying in the property.
|
|
12
|
+
* @type {number}
|
|
13
|
+
* @memberof BookingPoliciesApi
|
|
14
|
+
*/
|
|
15
|
+
adultCount: number;
|
|
16
|
+
/**
|
|
17
|
+
* The list of cancellation policy date range with their corresponding penalty percentage.
|
|
18
|
+
* @type {Array<CancellationPolicyApi>}
|
|
19
|
+
* @memberof BookingPoliciesApi
|
|
20
|
+
*/
|
|
21
|
+
cancellationPolicies: Array<CancellationPolicyApi>;
|
|
22
|
+
/**
|
|
23
|
+
* Date of check-in formatted as YYYY-MM-DD.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof BookingPoliciesApi
|
|
26
|
+
*/
|
|
27
|
+
checkInDate: string;
|
|
28
|
+
/**
|
|
29
|
+
* Date of check-out formatted as YYYY-MM-DD.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof BookingPoliciesApi
|
|
32
|
+
*/
|
|
33
|
+
checkOutDate: string;
|
|
34
|
+
/**
|
|
35
|
+
* A comma-separated list of child ages (0 up to 17). e.g.: "3,7" represents 2 children respectively 3 and 7 years old.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof BookingPoliciesApi
|
|
38
|
+
*/
|
|
39
|
+
children?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {CurrencyClient}
|
|
43
|
+
* @memberof BookingPoliciesApi
|
|
44
|
+
*/
|
|
45
|
+
currency: CurrencyClient;
|
|
46
|
+
/**
|
|
47
|
+
* Expiration date for this **Booking Policy**.
|
|
48
|
+
*
|
|
49
|
+
* The returned **Booking Policy** (price and cancellation policies) is valid bookable policy up to this **expires_at** date, while it may be valid for a longer period in the case of some suppliers, 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 a **Hotel Room Offer** being successfully booked.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof BookingPoliciesApi
|
|
52
|
+
*/
|
|
53
|
+
expiresAt: Date | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof BookingPoliciesApi
|
|
58
|
+
*/
|
|
59
|
+
hasRoomingLists: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Hotel id
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BookingPoliciesApi
|
|
64
|
+
*/
|
|
65
|
+
hotelId: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {HotelRoomOfferApi}
|
|
69
|
+
* @memberof BookingPoliciesApi
|
|
70
|
+
*/
|
|
71
|
+
hotelRoomOffer: HotelRoomOfferApi;
|
|
72
|
+
/**
|
|
73
|
+
* **Booking Policy** id
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof BookingPoliciesApi
|
|
76
|
+
*/
|
|
77
|
+
id: string;
|
|
78
|
+
/**
|
|
79
|
+
* Indicates whether the price of the **Hotel Room Offer** (without breakfast included) has increased compared to the price returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers).
|
|
80
|
+
*
|
|
81
|
+
* In some case, the returned price may increase for various reasons including: Currency rate change between the POST **Booking Policies** call and the GET **Hotel Room Offers** call, **Hotel Room Offer** price has increased since the GET **Hotel Room Offers** call.
|
|
82
|
+
*
|
|
83
|
+
* If **is_price_increased** is **true**, it means that the actual/updated price of the **Hotel Room Offer** is greater than the price previously returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers). If **is_price_increased** is **false**, the price of the **Hotel Room Offer** is equal to the price returned by [Retrieve Hotel Room Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers).
|
|
84
|
+
*
|
|
85
|
+
* ⚠️ It is strongly advised to clearly inform your customer of any price increase that may occur.
|
|
86
|
+
* @type {boolean}
|
|
87
|
+
* @memberof BookingPoliciesApi
|
|
88
|
+
*/
|
|
89
|
+
isPriceIncreased: boolean;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the BookingPoliciesApi interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfBookingPoliciesApi(value: object): boolean;
|
|
95
|
+
export declare function BookingPoliciesApiFromJSON(json: any): BookingPoliciesApi;
|
|
96
|
+
export declare function BookingPoliciesApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingPoliciesApi;
|
|
97
|
+
export declare function BookingPoliciesApiToJSON(value?: BookingPoliciesApi | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Locale } from './Locale';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @interface BookingPoliciesCreateApi
|
|
6
|
+
*/
|
|
7
|
+
export interface BookingPoliciesCreateApi {
|
|
8
|
+
/**
|
|
9
|
+
* This parameter allows to add breakfast to the booking as long as every requested Hotel Room Offers **breakfast_option = OPTIONAL** .
|
|
10
|
+
*
|
|
11
|
+
* The final breakfast count that will be included in the Hotel Room Offer will be returned in the response and is calculated as follows:
|
|
12
|
+
*
|
|
13
|
+
* - 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,
|
|
14
|
+
*
|
|
15
|
+
* - 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**.
|
|
16
|
+
*
|
|
17
|
+
* <div style="background-color: #ffffef; padding: 20px; border: 1px solid lightgrey; border-radius: 5px;"><b style="color: red; margin-top: 10px;">🛑 DEPRECATED.</b>
|
|
18
|
+
*
|
|
19
|
+
* <b style="color: orange;">If you already use this field, don't worry as we still support it with the following behaviour:</b>
|
|
20
|
+
* - <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>
|
|
21
|
+
* - <span style="color: orange;">Otherwise **breakfast_count = 0**.</span></div>
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof BookingPoliciesCreateApi
|
|
24
|
+
*/
|
|
25
|
+
addBreakfast?: boolean | null;
|
|
26
|
+
/**
|
|
27
|
+
* 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.
|
|
28
|
+
*
|
|
29
|
+
* ⚠️ 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.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof BookingPoliciesCreateApi
|
|
32
|
+
*/
|
|
33
|
+
breakfastCount?: number;
|
|
34
|
+
/**
|
|
35
|
+
* 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 = PACKAGE**
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof BookingPoliciesCreateApi
|
|
38
|
+
*/
|
|
39
|
+
hotelRoomOfferId: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Locale}
|
|
43
|
+
* @memberof BookingPoliciesCreateApi
|
|
44
|
+
*/
|
|
45
|
+
lang?: Locale | null;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the BookingPoliciesCreateApi interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfBookingPoliciesCreateApi(value: object): boolean;
|
|
51
|
+
export declare function BookingPoliciesCreateApiFromJSON(json: any): BookingPoliciesCreateApi;
|
|
52
|
+
export declare function BookingPoliciesCreateApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingPoliciesCreateApi;
|
|
53
|
+
export declare function BookingPoliciesCreateApiToJSON(value?: BookingPoliciesCreateApi | null): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BookingApi } from './BookingApi';
|
|
2
|
+
import { MetaResponseApi } from './MetaResponseApi';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @export
|
|
6
|
+
* @interface BookingsApiResponse
|
|
7
|
+
*/
|
|
8
|
+
export interface BookingsApiResponse {
|
|
9
|
+
/**
|
|
10
|
+
* List of detailed Bookings
|
|
11
|
+
* @type {Array<BookingApi>}
|
|
12
|
+
* @memberof BookingsApiResponse
|
|
13
|
+
*/
|
|
14
|
+
data: Array<BookingApi>;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @type {MetaResponseApi}
|
|
18
|
+
* @memberof BookingsApiResponse
|
|
19
|
+
*/
|
|
20
|
+
meta: MetaResponseApi;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the BookingsApiResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
export declare function instanceOfBookingsApiResponse(value: object): boolean;
|
|
26
|
+
export declare function BookingsApiResponseFromJSON(json: any): BookingsApiResponse;
|
|
27
|
+
export declare function BookingsApiResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BookingsApiResponse;
|
|
28
|
+
export declare function BookingsApiResponseToJSON(value?: BookingsApiResponse | 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 CancellationPolicyApi
|
|
16
|
+
*/
|
|
17
|
+
export interface CancellationPolicyApi {
|
|
18
|
+
/**
|
|
19
|
+
* The start date and time of the cancellation policy, given in the hotel timezone.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CancellationPolicyApi
|
|
22
|
+
*/
|
|
23
|
+
dateFrom: string;
|
|
24
|
+
/**
|
|
25
|
+
* The end date and time of the cancellation policy, given in the hotel timezone.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CancellationPolicyApi
|
|
28
|
+
*/
|
|
29
|
+
dateTo: string;
|
|
30
|
+
/**
|
|
31
|
+
* The penalty percentage that is due in case of cancellation during the **date_from** to **date_to** period range.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CancellationPolicyApi
|
|
34
|
+
*/
|
|
35
|
+
penaltyPercentage: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CancellationPolicyApi interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCancellationPolicyApi(value: object): boolean;
|
|
41
|
+
export declare function CancellationPolicyApiFromJSON(json: any): CancellationPolicyApi;
|
|
42
|
+
export declare function CancellationPolicyApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancellationPolicyApi;
|
|
43
|
+
export declare function CancellationPolicyApiToJSON(value?: CancellationPolicyApi | null): any;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { ContactPersonOrganizationApi } from './ContactPersonOrganizationApi';
|
|
2
|
+
import { CountryIso2Code } from './CountryIso2Code';
|
|
3
|
+
import { Locale } from './Locale';
|
|
4
|
+
/**
|
|
5
|
+
* Contact details that will be used to communicate with the contact person for booking related communication (confirmation, modification, etc)
|
|
6
|
+
* @export
|
|
7
|
+
* @interface ContactPersonApi
|
|
8
|
+
*/
|
|
9
|
+
export interface ContactPersonApi {
|
|
10
|
+
/**
|
|
11
|
+
* Contact person's postal code of residence
|
|
12
|
+
* @type {string}
|
|
13
|
+
* @memberof ContactPersonApi
|
|
14
|
+
*/
|
|
15
|
+
address?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Contact person's city of residence
|
|
18
|
+
* @type {string}
|
|
19
|
+
* @memberof ContactPersonApi
|
|
20
|
+
*/
|
|
21
|
+
city?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {CountryIso2Code}
|
|
25
|
+
* @memberof ContactPersonApi
|
|
26
|
+
*/
|
|
27
|
+
country?: CountryIso2Code | null;
|
|
28
|
+
/**
|
|
29
|
+
* Contact person's email address
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ContactPersonApi
|
|
32
|
+
*/
|
|
33
|
+
email: string;
|
|
34
|
+
/**
|
|
35
|
+
* Contact person's first name
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ContactPersonApi
|
|
38
|
+
*/
|
|
39
|
+
firstName: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Locale}
|
|
43
|
+
* @memberof ContactPersonApi
|
|
44
|
+
*/
|
|
45
|
+
lang?: Locale;
|
|
46
|
+
/**
|
|
47
|
+
* Contact person's last name
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ContactPersonApi
|
|
50
|
+
*/
|
|
51
|
+
lastName: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {CountryIso2Code}
|
|
55
|
+
* @memberof ContactPersonApi
|
|
56
|
+
*/
|
|
57
|
+
nationality: CountryIso2Code;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {ContactPersonOrganizationApi}
|
|
61
|
+
* @memberof ContactPersonApi
|
|
62
|
+
*/
|
|
63
|
+
organization?: ContactPersonOrganizationApi | null;
|
|
64
|
+
/**
|
|
65
|
+
* Contact person's phone number
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ContactPersonApi
|
|
68
|
+
*/
|
|
69
|
+
phone: string;
|
|
70
|
+
/**
|
|
71
|
+
* Contact person's remarks
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof ContactPersonApi
|
|
74
|
+
*/
|
|
75
|
+
remarks?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Title of the contact person
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof ContactPersonApi
|
|
80
|
+
*/
|
|
81
|
+
salutation?: ContactPersonApiSalutationEnum;
|
|
82
|
+
/**
|
|
83
|
+
* Contact person's state of residence
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof ContactPersonApi
|
|
86
|
+
*/
|
|
87
|
+
state?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Contact person's postal code of residence
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof ContactPersonApi
|
|
92
|
+
*/
|
|
93
|
+
zipCode?: string | null;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @export
|
|
97
|
+
*/
|
|
98
|
+
export declare const ContactPersonApiSalutationEnum: {
|
|
99
|
+
readonly Dr: "dr";
|
|
100
|
+
readonly Mr: "mr";
|
|
101
|
+
readonly Mrs: "mrs";
|
|
102
|
+
readonly Ms: "ms";
|
|
103
|
+
readonly NotSpecified: "notSpecified";
|
|
104
|
+
readonly Prof: "prof";
|
|
105
|
+
};
|
|
106
|
+
export type ContactPersonApiSalutationEnum = typeof ContactPersonApiSalutationEnum[keyof typeof ContactPersonApiSalutationEnum];
|
|
107
|
+
/**
|
|
108
|
+
* Check if a given object implements the ContactPersonApi interface.
|
|
109
|
+
*/
|
|
110
|
+
export declare function instanceOfContactPersonApi(value: object): boolean;
|
|
111
|
+
export declare function ContactPersonApiFromJSON(json: any): ContactPersonApi;
|
|
112
|
+
export declare function ContactPersonApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactPersonApi;
|
|
113
|
+
export declare function ContactPersonApiToJSON(value?: ContactPersonApi | null): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { CountryIso2Code } from './CountryIso2Code';
|
|
2
|
+
/**
|
|
3
|
+
* Organization details of the contact person for invoicing purposes
|
|
4
|
+
* @export
|
|
5
|
+
* @interface ContactPersonOrganizationApi
|
|
6
|
+
*/
|
|
7
|
+
export interface ContactPersonOrganizationApi {
|
|
8
|
+
/**
|
|
9
|
+
* Address of the organization
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof ContactPersonOrganizationApi
|
|
12
|
+
*/
|
|
13
|
+
address: string;
|
|
14
|
+
/**
|
|
15
|
+
* City of the organization
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof ContactPersonOrganizationApi
|
|
18
|
+
*/
|
|
19
|
+
city: string;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CountryIso2Code}
|
|
23
|
+
* @memberof ContactPersonOrganizationApi
|
|
24
|
+
*/
|
|
25
|
+
country: CountryIso2Code;
|
|
26
|
+
/**
|
|
27
|
+
* Name of the organization
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ContactPersonOrganizationApi
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* State of the organization
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ContactPersonOrganizationApi
|
|
36
|
+
*/
|
|
37
|
+
state?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* VAT Number of the organization
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ContactPersonOrganizationApi
|
|
42
|
+
*/
|
|
43
|
+
vatNumber?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* ZIP Code of the organization
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ContactPersonOrganizationApi
|
|
48
|
+
*/
|
|
49
|
+
zipCode: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the ContactPersonOrganizationApi interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfContactPersonOrganizationApi(value: object): boolean;
|
|
55
|
+
export declare function ContactPersonOrganizationApiFromJSON(json: any): ContactPersonOrganizationApi;
|
|
56
|
+
export declare function ContactPersonOrganizationApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactPersonOrganizationApi;
|
|
57
|
+
export declare function ContactPersonOrganizationApiToJSON(value?: ContactPersonOrganizationApi | null): any;
|
|
@@ -0,0 +1,264 @@
|
|
|
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
|
+
* Contact person's country of residence
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const CountryIso2Code: {
|
|
17
|
+
readonly Ad: "AD";
|
|
18
|
+
readonly Ae: "AE";
|
|
19
|
+
readonly Af: "AF";
|
|
20
|
+
readonly Ag: "AG";
|
|
21
|
+
readonly Ai: "AI";
|
|
22
|
+
readonly Al: "AL";
|
|
23
|
+
readonly Am: "AM";
|
|
24
|
+
readonly Ao: "AO";
|
|
25
|
+
readonly Ar: "AR";
|
|
26
|
+
readonly As: "AS";
|
|
27
|
+
readonly At: "AT";
|
|
28
|
+
readonly Au: "AU";
|
|
29
|
+
readonly Aw: "AW";
|
|
30
|
+
readonly Ax: "AX";
|
|
31
|
+
readonly Az: "AZ";
|
|
32
|
+
readonly Ba: "BA";
|
|
33
|
+
readonly Bb: "BB";
|
|
34
|
+
readonly Bd: "BD";
|
|
35
|
+
readonly Be: "BE";
|
|
36
|
+
readonly Bf: "BF";
|
|
37
|
+
readonly Bg: "BG";
|
|
38
|
+
readonly Bh: "BH";
|
|
39
|
+
readonly Bi: "BI";
|
|
40
|
+
readonly Bj: "BJ";
|
|
41
|
+
readonly Bl: "BL";
|
|
42
|
+
readonly Bm: "BM";
|
|
43
|
+
readonly Bn: "BN";
|
|
44
|
+
readonly Bo: "BO";
|
|
45
|
+
readonly Bq: "BQ";
|
|
46
|
+
readonly Br: "BR";
|
|
47
|
+
readonly Bs: "BS";
|
|
48
|
+
readonly Bt: "BT";
|
|
49
|
+
readonly Bw: "BW";
|
|
50
|
+
readonly By: "BY";
|
|
51
|
+
readonly Bz: "BZ";
|
|
52
|
+
readonly Ca: "CA";
|
|
53
|
+
readonly Cc: "CC";
|
|
54
|
+
readonly Cd: "CD";
|
|
55
|
+
readonly Cf: "CF";
|
|
56
|
+
readonly Cg: "CG";
|
|
57
|
+
readonly Ch: "CH";
|
|
58
|
+
readonly Ci: "CI";
|
|
59
|
+
readonly Ck: "CK";
|
|
60
|
+
readonly Cl: "CL";
|
|
61
|
+
readonly Cm: "CM";
|
|
62
|
+
readonly Cn: "CN";
|
|
63
|
+
readonly Co: "CO";
|
|
64
|
+
readonly Cr: "CR";
|
|
65
|
+
readonly Cu: "CU";
|
|
66
|
+
readonly Cv: "CV";
|
|
67
|
+
readonly Cw: "CW";
|
|
68
|
+
readonly Cx: "CX";
|
|
69
|
+
readonly Cy: "CY";
|
|
70
|
+
readonly Cz: "CZ";
|
|
71
|
+
readonly De: "DE";
|
|
72
|
+
readonly Dj: "DJ";
|
|
73
|
+
readonly Dk: "DK";
|
|
74
|
+
readonly Dm: "DM";
|
|
75
|
+
readonly Do: "DO";
|
|
76
|
+
readonly Dz: "DZ";
|
|
77
|
+
readonly Ec: "EC";
|
|
78
|
+
readonly Ee: "EE";
|
|
79
|
+
readonly Eg: "EG";
|
|
80
|
+
readonly Eh: "EH";
|
|
81
|
+
readonly Er: "ER";
|
|
82
|
+
readonly Es: "ES";
|
|
83
|
+
readonly Et: "ET";
|
|
84
|
+
readonly Fi: "FI";
|
|
85
|
+
readonly Fj: "FJ";
|
|
86
|
+
readonly Fk: "FK";
|
|
87
|
+
readonly Fm: "FM";
|
|
88
|
+
readonly Fo: "FO";
|
|
89
|
+
readonly Fr: "FR";
|
|
90
|
+
readonly Ga: "GA";
|
|
91
|
+
readonly Gb: "GB";
|
|
92
|
+
readonly Gd: "GD";
|
|
93
|
+
readonly Ge: "GE";
|
|
94
|
+
readonly Gf: "GF";
|
|
95
|
+
readonly Gg: "GG";
|
|
96
|
+
readonly Gh: "GH";
|
|
97
|
+
readonly Gi: "GI";
|
|
98
|
+
readonly Gl: "GL";
|
|
99
|
+
readonly Gm: "GM";
|
|
100
|
+
readonly Gn: "GN";
|
|
101
|
+
readonly Gp: "GP";
|
|
102
|
+
readonly Gq: "GQ";
|
|
103
|
+
readonly Gr: "GR";
|
|
104
|
+
readonly Gt: "GT";
|
|
105
|
+
readonly Gu: "GU";
|
|
106
|
+
readonly Gw: "GW";
|
|
107
|
+
readonly Gy: "GY";
|
|
108
|
+
readonly Hk: "HK";
|
|
109
|
+
readonly Hn: "HN";
|
|
110
|
+
readonly Hr: "HR";
|
|
111
|
+
readonly Ht: "HT";
|
|
112
|
+
readonly Hu: "HU";
|
|
113
|
+
readonly Id: "ID";
|
|
114
|
+
readonly Ie: "IE";
|
|
115
|
+
readonly Il: "IL";
|
|
116
|
+
readonly Im: "IM";
|
|
117
|
+
readonly In: "IN";
|
|
118
|
+
readonly Io: "IO";
|
|
119
|
+
readonly Iq: "IQ";
|
|
120
|
+
readonly Ir: "IR";
|
|
121
|
+
readonly Is: "IS";
|
|
122
|
+
readonly It: "IT";
|
|
123
|
+
readonly Je: "JE";
|
|
124
|
+
readonly Jm: "JM";
|
|
125
|
+
readonly Jo: "JO";
|
|
126
|
+
readonly Jp: "JP";
|
|
127
|
+
readonly Ke: "KE";
|
|
128
|
+
readonly Kg: "KG";
|
|
129
|
+
readonly Kh: "KH";
|
|
130
|
+
readonly Ki: "KI";
|
|
131
|
+
readonly Km: "KM";
|
|
132
|
+
readonly Kn: "KN";
|
|
133
|
+
readonly Kp: "KP";
|
|
134
|
+
readonly Kr: "KR";
|
|
135
|
+
readonly Kw: "KW";
|
|
136
|
+
readonly Ky: "KY";
|
|
137
|
+
readonly Kz: "KZ";
|
|
138
|
+
readonly La: "LA";
|
|
139
|
+
readonly Lb: "LB";
|
|
140
|
+
readonly Lc: "LC";
|
|
141
|
+
readonly Li: "LI";
|
|
142
|
+
readonly Lk: "LK";
|
|
143
|
+
readonly Lr: "LR";
|
|
144
|
+
readonly Ls: "LS";
|
|
145
|
+
readonly Lt: "LT";
|
|
146
|
+
readonly Lu: "LU";
|
|
147
|
+
readonly Lv: "LV";
|
|
148
|
+
readonly Ly: "LY";
|
|
149
|
+
readonly Ma: "MA";
|
|
150
|
+
readonly Mc: "MC";
|
|
151
|
+
readonly Md: "MD";
|
|
152
|
+
readonly Me: "ME";
|
|
153
|
+
readonly Mf: "MF";
|
|
154
|
+
readonly Mg: "MG";
|
|
155
|
+
readonly Mh: "MH";
|
|
156
|
+
readonly Mk: "MK";
|
|
157
|
+
readonly Ml: "ML";
|
|
158
|
+
readonly Mm: "MM";
|
|
159
|
+
readonly Mn: "MN";
|
|
160
|
+
readonly Mo: "MO";
|
|
161
|
+
readonly Mp: "MP";
|
|
162
|
+
readonly Mq: "MQ";
|
|
163
|
+
readonly Mr: "MR";
|
|
164
|
+
readonly Ms: "MS";
|
|
165
|
+
readonly Mt: "MT";
|
|
166
|
+
readonly Mu: "MU";
|
|
167
|
+
readonly Mv: "MV";
|
|
168
|
+
readonly Mw: "MW";
|
|
169
|
+
readonly Mx: "MX";
|
|
170
|
+
readonly My: "MY";
|
|
171
|
+
readonly Mz: "MZ";
|
|
172
|
+
readonly Na: "NA";
|
|
173
|
+
readonly Nc: "NC";
|
|
174
|
+
readonly Ne: "NE";
|
|
175
|
+
readonly Nf: "NF";
|
|
176
|
+
readonly Ng: "NG";
|
|
177
|
+
readonly Ni: "NI";
|
|
178
|
+
readonly Nl: "NL";
|
|
179
|
+
readonly No: "NO";
|
|
180
|
+
readonly Np: "NP";
|
|
181
|
+
readonly Nr: "NR";
|
|
182
|
+
readonly Nu: "NU";
|
|
183
|
+
readonly Nz: "NZ";
|
|
184
|
+
readonly Om: "OM";
|
|
185
|
+
readonly Pa: "PA";
|
|
186
|
+
readonly Pe: "PE";
|
|
187
|
+
readonly Pf: "PF";
|
|
188
|
+
readonly Pg: "PG";
|
|
189
|
+
readonly Ph: "PH";
|
|
190
|
+
readonly Pk: "PK";
|
|
191
|
+
readonly Pl: "PL";
|
|
192
|
+
readonly Pm: "PM";
|
|
193
|
+
readonly Pr: "PR";
|
|
194
|
+
readonly Ps: "PS";
|
|
195
|
+
readonly Pt: "PT";
|
|
196
|
+
readonly Pw: "PW";
|
|
197
|
+
readonly Py: "PY";
|
|
198
|
+
readonly Qa: "QA";
|
|
199
|
+
readonly Re: "RE";
|
|
200
|
+
readonly Ro: "RO";
|
|
201
|
+
readonly Rs: "RS";
|
|
202
|
+
readonly Ru: "RU";
|
|
203
|
+
readonly Rw: "RW";
|
|
204
|
+
readonly Sa: "SA";
|
|
205
|
+
readonly Sb: "SB";
|
|
206
|
+
readonly Sc: "SC";
|
|
207
|
+
readonly Sd: "SD";
|
|
208
|
+
readonly Se: "SE";
|
|
209
|
+
readonly Sg: "SG";
|
|
210
|
+
readonly Sh: "SH";
|
|
211
|
+
readonly Si: "SI";
|
|
212
|
+
readonly Sj: "SJ";
|
|
213
|
+
readonly Sk: "SK";
|
|
214
|
+
readonly Sl: "SL";
|
|
215
|
+
readonly Sm: "SM";
|
|
216
|
+
readonly Sn: "SN";
|
|
217
|
+
readonly So: "SO";
|
|
218
|
+
readonly Sr: "SR";
|
|
219
|
+
readonly Ss: "SS";
|
|
220
|
+
readonly St: "ST";
|
|
221
|
+
readonly Sv: "SV";
|
|
222
|
+
readonly Sx: "SX";
|
|
223
|
+
readonly Sy: "SY";
|
|
224
|
+
readonly Sz: "SZ";
|
|
225
|
+
readonly Tc: "TC";
|
|
226
|
+
readonly Td: "TD";
|
|
227
|
+
readonly Tg: "TG";
|
|
228
|
+
readonly Th: "TH";
|
|
229
|
+
readonly Tj: "TJ";
|
|
230
|
+
readonly Tk: "TK";
|
|
231
|
+
readonly Tl: "TL";
|
|
232
|
+
readonly Tm: "TM";
|
|
233
|
+
readonly Tn: "TN";
|
|
234
|
+
readonly To: "TO";
|
|
235
|
+
readonly Tr: "TR";
|
|
236
|
+
readonly Tt: "TT";
|
|
237
|
+
readonly Tv: "TV";
|
|
238
|
+
readonly Tw: "TW";
|
|
239
|
+
readonly Tz: "TZ";
|
|
240
|
+
readonly Ua: "UA";
|
|
241
|
+
readonly Ug: "UG";
|
|
242
|
+
readonly Us: "US";
|
|
243
|
+
readonly Uy: "UY";
|
|
244
|
+
readonly Uz: "UZ";
|
|
245
|
+
readonly Va: "VA";
|
|
246
|
+
readonly Vc: "VC";
|
|
247
|
+
readonly Ve: "VE";
|
|
248
|
+
readonly Vg: "VG";
|
|
249
|
+
readonly Vi: "VI";
|
|
250
|
+
readonly Vn: "VN";
|
|
251
|
+
readonly Vu: "VU";
|
|
252
|
+
readonly Wf: "WF";
|
|
253
|
+
readonly Ws: "WS";
|
|
254
|
+
readonly Xk: "XK";
|
|
255
|
+
readonly Ye: "YE";
|
|
256
|
+
readonly Yt: "YT";
|
|
257
|
+
readonly Za: "ZA";
|
|
258
|
+
readonly Zm: "ZM";
|
|
259
|
+
readonly Zw: "ZW";
|
|
260
|
+
};
|
|
261
|
+
export type CountryIso2Code = typeof CountryIso2Code[keyof typeof CountryIso2Code];
|
|
262
|
+
export declare function CountryIso2CodeFromJSON(json: any): CountryIso2Code;
|
|
263
|
+
export declare function CountryIso2CodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountryIso2Code;
|
|
264
|
+
export declare function CountryIso2CodeToJSON(value?: CountryIso2Code | null): any;
|