@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,159 @@
|
|
|
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
|
+
* ISO 4217 currency code.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const CurrencyClient: {
|
|
17
|
+
readonly Aed: "AED";
|
|
18
|
+
readonly Afn: "AFN";
|
|
19
|
+
readonly All: "ALL";
|
|
20
|
+
readonly Amd: "AMD";
|
|
21
|
+
readonly Ang: "ANG";
|
|
22
|
+
readonly Aoa: "AOA";
|
|
23
|
+
readonly Ars: "ARS";
|
|
24
|
+
readonly Aud: "AUD";
|
|
25
|
+
readonly Awg: "AWG";
|
|
26
|
+
readonly Azn: "AZN";
|
|
27
|
+
readonly Bam: "BAM";
|
|
28
|
+
readonly Bbd: "BBD";
|
|
29
|
+
readonly Bdt: "BDT";
|
|
30
|
+
readonly Bhd: "BHD";
|
|
31
|
+
readonly Bgn: "BGN";
|
|
32
|
+
readonly Bif: "BIF";
|
|
33
|
+
readonly Bmd: "BMD";
|
|
34
|
+
readonly Bnd: "BND";
|
|
35
|
+
readonly Bob: "BOB";
|
|
36
|
+
readonly Brl: "BRL";
|
|
37
|
+
readonly Bsd: "BSD";
|
|
38
|
+
readonly Bwp: "BWP";
|
|
39
|
+
readonly Bzd: "BZD";
|
|
40
|
+
readonly Cad: "CAD";
|
|
41
|
+
readonly Cdf: "CDF";
|
|
42
|
+
readonly Chf: "CHF";
|
|
43
|
+
readonly Clp: "CLP";
|
|
44
|
+
readonly Cny: "CNY";
|
|
45
|
+
readonly Cop: "COP";
|
|
46
|
+
readonly Crc: "CRC";
|
|
47
|
+
readonly Cve: "CVE";
|
|
48
|
+
readonly Czk: "CZK";
|
|
49
|
+
readonly Djf: "DJF";
|
|
50
|
+
readonly Dkk: "DKK";
|
|
51
|
+
readonly Dop: "DOP";
|
|
52
|
+
readonly Dzd: "DZD";
|
|
53
|
+
readonly Egp: "EGP";
|
|
54
|
+
readonly Etb: "ETB";
|
|
55
|
+
readonly Eur: "EUR";
|
|
56
|
+
readonly Fjd: "FJD";
|
|
57
|
+
readonly Fkp: "FKP";
|
|
58
|
+
readonly Gbp: "GBP";
|
|
59
|
+
readonly Gel: "GEL";
|
|
60
|
+
readonly Gip: "GIP";
|
|
61
|
+
readonly Gmd: "GMD";
|
|
62
|
+
readonly Gnf: "GNF";
|
|
63
|
+
readonly Gtq: "GTQ";
|
|
64
|
+
readonly Gyd: "GYD";
|
|
65
|
+
readonly Hkd: "HKD";
|
|
66
|
+
readonly Hnl: "HNL";
|
|
67
|
+
readonly Htg: "HTG";
|
|
68
|
+
readonly Huf: "HUF";
|
|
69
|
+
readonly Idr: "IDR";
|
|
70
|
+
readonly Ils: "ILS";
|
|
71
|
+
readonly Inr: "INR";
|
|
72
|
+
readonly Isk: "ISK";
|
|
73
|
+
readonly Jmd: "JMD";
|
|
74
|
+
readonly Jod: "JOD";
|
|
75
|
+
readonly Jpy: "JPY";
|
|
76
|
+
readonly Kes: "KES";
|
|
77
|
+
readonly Kgs: "KGS";
|
|
78
|
+
readonly Khr: "KHR";
|
|
79
|
+
readonly Kmf: "KMF";
|
|
80
|
+
readonly Krw: "KRW";
|
|
81
|
+
readonly Kwd: "KWD";
|
|
82
|
+
readonly Kyd: "KYD";
|
|
83
|
+
readonly Kzt: "KZT";
|
|
84
|
+
readonly Lak: "LAK";
|
|
85
|
+
readonly Lbp: "LBP";
|
|
86
|
+
readonly Lkr: "LKR";
|
|
87
|
+
readonly Lrd: "LRD";
|
|
88
|
+
readonly Lsl: "LSL";
|
|
89
|
+
readonly Mad: "MAD";
|
|
90
|
+
readonly Mdl: "MDL";
|
|
91
|
+
readonly Mga: "MGA";
|
|
92
|
+
readonly Mkd: "MKD";
|
|
93
|
+
readonly Mmk: "MMK";
|
|
94
|
+
readonly Mnt: "MNT";
|
|
95
|
+
readonly Mop: "MOP";
|
|
96
|
+
readonly Mru: "MRU";
|
|
97
|
+
readonly Mur: "MUR";
|
|
98
|
+
readonly Mvr: "MVR";
|
|
99
|
+
readonly Mwk: "MWK";
|
|
100
|
+
readonly Mxn: "MXN";
|
|
101
|
+
readonly Myr: "MYR";
|
|
102
|
+
readonly Mzn: "MZN";
|
|
103
|
+
readonly Nad: "NAD";
|
|
104
|
+
readonly Ngn: "NGN";
|
|
105
|
+
readonly Nio: "NIO";
|
|
106
|
+
readonly Nok: "NOK";
|
|
107
|
+
readonly Npr: "NPR";
|
|
108
|
+
readonly Nzd: "NZD";
|
|
109
|
+
readonly Omr: "OMR";
|
|
110
|
+
readonly Pab: "PAB";
|
|
111
|
+
readonly Pen: "PEN";
|
|
112
|
+
readonly Pgk: "PGK";
|
|
113
|
+
readonly Php: "PHP";
|
|
114
|
+
readonly Pkr: "PKR";
|
|
115
|
+
readonly Pln: "PLN";
|
|
116
|
+
readonly Pyg: "PYG";
|
|
117
|
+
readonly Qar: "QAR";
|
|
118
|
+
readonly Ron: "RON";
|
|
119
|
+
readonly Rsd: "RSD";
|
|
120
|
+
readonly Rub: "RUB";
|
|
121
|
+
readonly Rwf: "RWF";
|
|
122
|
+
readonly Sar: "SAR";
|
|
123
|
+
readonly Sbd: "SBD";
|
|
124
|
+
readonly Scr: "SCR";
|
|
125
|
+
readonly Sek: "SEK";
|
|
126
|
+
readonly Sgd: "SGD";
|
|
127
|
+
readonly Shp: "SHP";
|
|
128
|
+
readonly Sll: "SLL";
|
|
129
|
+
readonly Sos: "SOS";
|
|
130
|
+
readonly Srd: "SRD";
|
|
131
|
+
readonly Std: "STD";
|
|
132
|
+
readonly Szl: "SZL";
|
|
133
|
+
readonly Thb: "THB";
|
|
134
|
+
readonly Tjs: "TJS";
|
|
135
|
+
readonly Tnd: "TND";
|
|
136
|
+
readonly Top: "TOP";
|
|
137
|
+
readonly Try: "TRY";
|
|
138
|
+
readonly Ttd: "TTD";
|
|
139
|
+
readonly Twd: "TWD";
|
|
140
|
+
readonly Tzs: "TZS";
|
|
141
|
+
readonly Uah: "UAH";
|
|
142
|
+
readonly Usd: "USD";
|
|
143
|
+
readonly Uyu: "UYU";
|
|
144
|
+
readonly Uzs: "UZS";
|
|
145
|
+
readonly Vnd: "VND";
|
|
146
|
+
readonly Vuv: "VUV";
|
|
147
|
+
readonly Wst: "WST";
|
|
148
|
+
readonly Xaf: "XAF";
|
|
149
|
+
readonly Xcd: "XCD";
|
|
150
|
+
readonly Xof: "XOF";
|
|
151
|
+
readonly Xpf: "XPF";
|
|
152
|
+
readonly Yer: "YER";
|
|
153
|
+
readonly Zar: "ZAR";
|
|
154
|
+
readonly Zmw: "ZMW";
|
|
155
|
+
};
|
|
156
|
+
export type CurrencyClient = typeof CurrencyClient[keyof typeof CurrencyClient];
|
|
157
|
+
export declare function CurrencyClientFromJSON(json: any): CurrencyClient;
|
|
158
|
+
export declare function CurrencyClientFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrencyClient;
|
|
159
|
+
export declare function CurrencyClientToJSON(value?: CurrencyClient | null): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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 ErrorApiResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ErrorApiResponse {
|
|
18
|
+
/**
|
|
19
|
+
* A URL pointing to a place in our documentation where you can read about the error.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ErrorApiResponse
|
|
22
|
+
*/
|
|
23
|
+
documentationUrl?: string;
|
|
24
|
+
/**
|
|
25
|
+
* A quick and simple description of what went wrong
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ErrorApiResponse
|
|
28
|
+
*/
|
|
29
|
+
error?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A human-readable message providing more details about the error.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ErrorApiResponse
|
|
34
|
+
*/
|
|
35
|
+
message?: string;
|
|
36
|
+
/**
|
|
37
|
+
* HTTP status code
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ErrorApiResponse
|
|
40
|
+
*/
|
|
41
|
+
statusCode: number;
|
|
42
|
+
/**
|
|
43
|
+
* The type of returned error.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ErrorApiResponse
|
|
46
|
+
*/
|
|
47
|
+
type?: ErrorApiResponseTypeEnum;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const ErrorApiResponseTypeEnum: {
|
|
53
|
+
readonly ApiError: "api_error";
|
|
54
|
+
readonly BadGateway: "bad_gateway";
|
|
55
|
+
readonly InternalServerError: "internal_server_error";
|
|
56
|
+
readonly InvalidRequestError: "invalid_request_error";
|
|
57
|
+
readonly RateLimitError: "rate_limit_error";
|
|
58
|
+
readonly ResourceGone: "resource_gone";
|
|
59
|
+
readonly ResourceNotFound: "resource_not_found";
|
|
60
|
+
readonly Unauthorized: "unauthorized";
|
|
61
|
+
readonly ValidationError: "validation_error";
|
|
62
|
+
};
|
|
63
|
+
export type ErrorApiResponseTypeEnum = typeof ErrorApiResponseTypeEnum[keyof typeof ErrorApiResponseTypeEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ErrorApiResponse interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfErrorApiResponse(value: object): boolean;
|
|
68
|
+
export declare function ErrorApiResponseFromJSON(json: any): ErrorApiResponse;
|
|
69
|
+
export declare function ErrorApiResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorApiResponse;
|
|
70
|
+
export declare function ErrorApiResponseToJSON(value?: ErrorApiResponse | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revolugo Booking API Reference
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EventApi
|
|
16
|
+
*/
|
|
17
|
+
export interface EventApi {
|
|
18
|
+
/**
|
|
19
|
+
* Unique name of the event
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EventApi
|
|
22
|
+
*/
|
|
23
|
+
name?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Unique slug of the event
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EventApi
|
|
28
|
+
*/
|
|
29
|
+
slug?: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EventApi interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfEventApi(value: object): boolean;
|
|
35
|
+
export declare function EventApiFromJSON(json: any): EventApi;
|
|
36
|
+
export declare function EventApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventApi;
|
|
37
|
+
export declare function EventApiToJSON(value?: EventApi | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revolugo Booking API Reference
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EventMetadataApi
|
|
16
|
+
*/
|
|
17
|
+
export interface EventMetadataApi {
|
|
18
|
+
/**
|
|
19
|
+
* End date of the event formatted as YYYY-MM-DD.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EventMetadataApi
|
|
22
|
+
*/
|
|
23
|
+
dateEnd?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Start date of the event formatted as YYYY-MM-DD.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EventMetadataApi
|
|
28
|
+
*/
|
|
29
|
+
dateStart?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique id of the event
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EventMetadataApi
|
|
34
|
+
*/
|
|
35
|
+
id?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Image URL of the event
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EventMetadataApi
|
|
40
|
+
*/
|
|
41
|
+
imageUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Name of the event
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EventMetadataApi
|
|
46
|
+
*/
|
|
47
|
+
name?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Unique slug of the event
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EventMetadataApi
|
|
52
|
+
*/
|
|
53
|
+
slug?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the EventMetadataApi interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfEventMetadataApi(value: object): boolean;
|
|
59
|
+
export declare function EventMetadataApiFromJSON(json: any): EventMetadataApi;
|
|
60
|
+
export declare function EventMetadataApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventMetadataApi;
|
|
61
|
+
export declare function EventMetadataApiToJSON(value?: EventMetadataApi | null): any;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { AmenitiesApi } from './AmenitiesApi';
|
|
2
|
+
import { CurrencyClient } from './CurrencyClient';
|
|
3
|
+
import { HotelApiImages } from './HotelApiImages';
|
|
4
|
+
import { HotelImageApi } from './HotelImageApi';
|
|
5
|
+
import { HotelReviewRatingApi } from './HotelReviewRatingApi';
|
|
6
|
+
import { TravelTimesApi } from './TravelTimesApi';
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @export
|
|
10
|
+
* @interface HotelApi
|
|
11
|
+
*/
|
|
12
|
+
export interface HotelApi {
|
|
13
|
+
/**
|
|
14
|
+
* Hotel address.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof HotelApi
|
|
17
|
+
*/
|
|
18
|
+
address?: string | null;
|
|
19
|
+
/**
|
|
20
|
+
* Second part of hotel address.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof HotelApi
|
|
23
|
+
*/
|
|
24
|
+
address2?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {AmenitiesApi}
|
|
28
|
+
* @memberof HotelApi
|
|
29
|
+
*/
|
|
30
|
+
amenities?: AmenitiesApi | null;
|
|
31
|
+
/**
|
|
32
|
+
* Check in time of the hotel.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof HotelApi
|
|
35
|
+
*/
|
|
36
|
+
checkInTime?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Check out time of the hotel.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof HotelApi
|
|
41
|
+
*/
|
|
42
|
+
checkOutTime?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* City
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof HotelApi
|
|
47
|
+
*/
|
|
48
|
+
city?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Country
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof HotelApi
|
|
53
|
+
*/
|
|
54
|
+
country?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Hotel country code in ISO2.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof HotelApi
|
|
59
|
+
*/
|
|
60
|
+
countryCode?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {CurrencyClient}
|
|
64
|
+
* @memberof HotelApi
|
|
65
|
+
*/
|
|
66
|
+
currency?: CurrencyClient;
|
|
67
|
+
/**
|
|
68
|
+
* Hotel description.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof HotelApi
|
|
71
|
+
*/
|
|
72
|
+
description?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* Distance from a requested location, expressed in meters
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof HotelApi
|
|
77
|
+
*/
|
|
78
|
+
distance?: number | null;
|
|
79
|
+
/**
|
|
80
|
+
* Hotel email.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof HotelApi
|
|
83
|
+
*/
|
|
84
|
+
email?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* Hotel fax number.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof HotelApi
|
|
89
|
+
*/
|
|
90
|
+
fax?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* List of hotel images in various sizes featuring an indicator for the primary (hero) image
|
|
93
|
+
* @type {Array<HotelImageApi>}
|
|
94
|
+
* @memberof HotelApi
|
|
95
|
+
*/
|
|
96
|
+
hotelImages?: Array<HotelImageApi> | null;
|
|
97
|
+
/**
|
|
98
|
+
* List of meta reviews (category and rating) that are summary of verified reviews collected across the web on the Hotel to help choose the best option.
|
|
99
|
+
* @type {Array<HotelReviewRatingApi>}
|
|
100
|
+
* @memberof HotelApi
|
|
101
|
+
*/
|
|
102
|
+
hotelReviewRatings?: Array<HotelReviewRatingApi> | null;
|
|
103
|
+
/**
|
|
104
|
+
* Hotel id.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof HotelApi
|
|
107
|
+
*/
|
|
108
|
+
id: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {HotelApiImages}
|
|
112
|
+
* @memberof HotelApi
|
|
113
|
+
*/
|
|
114
|
+
images?: HotelApiImages | null;
|
|
115
|
+
/**
|
|
116
|
+
* Hotel latitude.
|
|
117
|
+
* @type {number}
|
|
118
|
+
* @memberof HotelApi
|
|
119
|
+
*/
|
|
120
|
+
latitude: number;
|
|
121
|
+
/**
|
|
122
|
+
* Hotel longitude.
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof HotelApi
|
|
125
|
+
*/
|
|
126
|
+
longitude: number;
|
|
127
|
+
/**
|
|
128
|
+
* Hotel name.
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof HotelApi
|
|
131
|
+
*/
|
|
132
|
+
name: string;
|
|
133
|
+
/**
|
|
134
|
+
* Hotel phone number.
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof HotelApi
|
|
137
|
+
*/
|
|
138
|
+
phone?: string | null;
|
|
139
|
+
/**
|
|
140
|
+
* Internal policy of the hotel.
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof HotelApi
|
|
143
|
+
*/
|
|
144
|
+
policy?: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Hotel address postal code.
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof HotelApi
|
|
149
|
+
*/
|
|
150
|
+
postalCode?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* Hotel Star rating.
|
|
153
|
+
* @type {number}
|
|
154
|
+
* @memberof HotelApi
|
|
155
|
+
*/
|
|
156
|
+
rating?: number | null;
|
|
157
|
+
/**
|
|
158
|
+
* Hotel review count
|
|
159
|
+
* @type {number}
|
|
160
|
+
* @memberof HotelApi
|
|
161
|
+
*/
|
|
162
|
+
reviewCount?: number | null;
|
|
163
|
+
/**
|
|
164
|
+
* Hotel address state.
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof HotelApi
|
|
167
|
+
*/
|
|
168
|
+
state?: string | null;
|
|
169
|
+
/**
|
|
170
|
+
* TripAdvisor property id. When applicable.
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof HotelApi
|
|
173
|
+
*/
|
|
174
|
+
taId?: string | null;
|
|
175
|
+
/**
|
|
176
|
+
* Hotel timezone.
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof HotelApi
|
|
179
|
+
*/
|
|
180
|
+
timezone: string;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {Array<TravelTimesApi>}
|
|
184
|
+
* @memberof HotelApi
|
|
185
|
+
*/
|
|
186
|
+
venues?: Array<TravelTimesApi>;
|
|
187
|
+
/**
|
|
188
|
+
* Hotel website url.
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @memberof HotelApi
|
|
191
|
+
*/
|
|
192
|
+
website?: string | null;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Check if a given object implements the HotelApi interface.
|
|
196
|
+
*/
|
|
197
|
+
export declare function instanceOfHotelApi(value: object): boolean;
|
|
198
|
+
export declare function HotelApiFromJSON(json: any): HotelApi;
|
|
199
|
+
export declare function HotelApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelApi;
|
|
200
|
+
export declare function HotelApiToJSON(value?: HotelApi | null): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revolugo Booking API Reference
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* 🛑 DEPRECATED - Hotel images details.
|
|
14
|
+
*
|
|
15
|
+
* In order to retrieve a specific image you need to construct the complete URL from the images parameters: **[images.prefix][highres|lowres|thumb]/[index]/[images.suffix]**. If **images.count = n**, then index is in [0...n-1] range.
|
|
16
|
+
*
|
|
17
|
+
* e.g.: https://s3.eu-west-3.amazonaws.com/revolugo/hotels/yhKY/images/highres/0.jpg
|
|
18
|
+
* @export
|
|
19
|
+
* @interface HotelApiImages
|
|
20
|
+
*/
|
|
21
|
+
export interface HotelApiImages {
|
|
22
|
+
/**
|
|
23
|
+
* Number of images.
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof HotelApiImages
|
|
26
|
+
*/
|
|
27
|
+
count?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Whether images exist in highres format.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof HotelApiImages
|
|
32
|
+
*/
|
|
33
|
+
highres?: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* Whether images exist in lowres format.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof HotelApiImages
|
|
38
|
+
*/
|
|
39
|
+
lowres?: boolean | null;
|
|
40
|
+
/**
|
|
41
|
+
* Base URL for the images.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof HotelApiImages
|
|
44
|
+
*/
|
|
45
|
+
prefix?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* This parameter usually represents the extension of the image (e.g.: .jpg, .png)
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof HotelApiImages
|
|
50
|
+
*/
|
|
51
|
+
suffix?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Whether images exist in thumb format (for thumbnails preview).
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof HotelApiImages
|
|
56
|
+
*/
|
|
57
|
+
thumb?: boolean | null;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the HotelApiImages interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfHotelApiImages(value: object): boolean;
|
|
63
|
+
export declare function HotelApiImagesFromJSON(json: any): HotelApiImages;
|
|
64
|
+
export declare function HotelApiImagesFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelApiImages;
|
|
65
|
+
export declare function HotelApiImagesToJSON(value?: HotelApiImages | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Revolugo Booking API Reference
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.5.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Hotel image in various sizes.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HotelImageApi
|
|
16
|
+
*/
|
|
17
|
+
export interface HotelImageApi {
|
|
18
|
+
/**
|
|
19
|
+
* Caption of the hotel image.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HotelImageApi
|
|
22
|
+
*/
|
|
23
|
+
caption?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Whether this image is the primary (hero) image of the hotel.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof HotelImageApi
|
|
28
|
+
*/
|
|
29
|
+
isHeroImage: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* URL of the large-size image.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof HotelImageApi
|
|
34
|
+
*/
|
|
35
|
+
l: string;
|
|
36
|
+
/**
|
|
37
|
+
* URL of the medium-size image.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof HotelImageApi
|
|
40
|
+
*/
|
|
41
|
+
m: string;
|
|
42
|
+
/**
|
|
43
|
+
* URL of the small-size image.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof HotelImageApi
|
|
46
|
+
*/
|
|
47
|
+
s: string;
|
|
48
|
+
/**
|
|
49
|
+
* URL of the extra-large-size image.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof HotelImageApi
|
|
52
|
+
*/
|
|
53
|
+
xl: string;
|
|
54
|
+
/**
|
|
55
|
+
* URL of the extra-small-size image.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof HotelImageApi
|
|
58
|
+
*/
|
|
59
|
+
xs: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the HotelImageApi interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfHotelImageApi(value: object): boolean;
|
|
65
|
+
export declare function HotelImageApiFromJSON(json: any): HotelImageApi;
|
|
66
|
+
export declare function HotelImageApiFromJSONTyped(json: any, ignoreDiscriminator: boolean): HotelImageApi;
|
|
67
|
+
export declare function HotelImageApiToJSON(value?: HotelImageApi | null): any;
|