@qite/tide-client 1.0.13 → 1.0.14
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/build/index.d.ts +10 -48
- package/build/index.js +409 -513
- package/build/index.js.map +1 -1
- package/build/types/aapi/accommodation-occupancy.d.ts +9 -9
- package/build/types/aapi/accommodation-with-available-places.d.ts +14 -14
- package/build/types/aapi/accommodation.d.ts +7 -7
- package/build/types/aapi/additional-services.d.ts +6 -6
- package/build/types/aapi/alternative-flight-data.d.ts +10 -10
- package/build/types/aapi/alternative-flight-leg.d.ts +18 -18
- package/build/types/aapi/alternative-flight.d.ts +12 -12
- package/build/types/aapi/availability-request.d.ts +12 -12
- package/build/types/aapi/availability.d.ts +5 -5
- package/build/types/aapi/available-products-request.d.ts +32 -32
- package/build/types/aapi/duration.d.ts +4 -4
- package/build/types/aapi/flight-leg.d.ts +18 -18
- package/build/types/aapi/flight.d.ts +23 -23
- package/build/types/aapi/hotel.d.ts +35 -35
- package/build/types/aapi/index.d.ts +22 -22
- package/build/types/aapi/mollie-payment-request.d.ts +6 -6
- package/build/types/aapi/mollie-payment.d.ts +3 -3
- package/build/types/aapi/option-pax.d.ts +4 -4
- package/build/types/aapi/option.d.ts +21 -28
- package/build/types/aapi/pax.d.ts +4 -4
- package/build/types/aapi/price-detail.d.ts +8 -8
- package/build/types/aapi/regime.d.ts +5 -5
- package/build/types/aapi/traveler-grouping.d.ts +5 -5
- package/build/types/enums/allotment-type.d.ts +5 -5
- package/build/types/enums/availability-search-type.d.ts +4 -4
- package/build/types/enums/dossier-type.d.ts +6 -6
- package/build/types/enums/entry-line-flag.d.ts +6 -6
- package/build/types/enums/entry-line-status.d.ts +19 -19
- package/build/types/enums/entry-status.d.ts +8 -8
- package/build/types/enums/export-status.d.ts +5 -5
- package/build/types/enums/gender.d.ts +5 -5
- package/build/types/enums/index.d.ts +15 -15
- package/build/types/enums/meta-data-type.d.ts +10 -10
- package/build/types/enums/payment-type.d.ts +6 -6
- package/build/types/enums/price-chart-type.d.ts +4 -4
- package/build/types/enums/requirement-type.d.ts +5 -5
- package/build/types/enums/room-type.d.ts +8 -8
- package/build/types/enums/sale-type.d.ts +4 -4
- package/build/types/enums/service-type.d.ts +26 -26
- package/build/types/index.d.ts +4 -26
- package/build/types/offer/additional-services.d.ts +6 -6
- package/build/types/offer/address.d.ts +11 -11
- package/build/types/offer/alternative-flight-data.d.ts +10 -10
- package/build/types/offer/alternative-flight-leg.d.ts +18 -18
- package/build/types/offer/alternative-flight.d.ts +14 -14
- package/build/types/offer/available-package-accommodation.d.ts +7 -7
- package/build/types/offer/available-package-flight.d.ts +9 -9
- package/build/types/offer/available-package-option.d.ts +12 -17
- package/build/types/offer/available-package-pax-price.d.ts +6 -6
- package/build/types/offer/available-package-regime.d.ts +4 -4
- package/build/types/offer/available-package.d.ts +7 -7
- package/build/types/offer/base-price.d.ts +6 -6
- package/build/types/offer/base-prices-from-date-request.d.ts +12 -12
- package/build/types/offer/base-prices-request.d.ts +12 -12
- package/build/types/offer/book-request.d.ts +36 -36
- package/build/types/offer/booking-response.d.ts +4 -4
- package/build/types/offer/cached-package-search-result.d.ts +5 -5
- package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
- package/build/types/offer/crm-contact-request.d.ts +28 -36
- package/build/types/offer/customer-request.d.ts +5 -5
- package/build/types/offer/dossier-default-product.d.ts +14 -14
- package/build/types/offer/entry-check-response.d.ts +8 -8
- package/build/types/offer/entry-line-meta-data.d.ts +5 -5
- package/build/types/offer/entry-line-pax.d.ts +8 -8
- package/build/types/offer/entry-line.d.ts +67 -73
- package/build/types/offer/entry-price-line.d.ts +40 -40
- package/build/types/offer/entry-room2.d.ts +5 -5
- package/build/types/offer/entry.d.ts +49 -59
- package/build/types/offer/flight-meta-data-line.d.ts +16 -0
- package/build/types/offer/flight-meta-data.d.ts +10 -0
- package/build/types/offer/flight-pool.d.ts +5 -5
- package/build/types/offer/index.d.ts +64 -62
- package/build/types/offer/language.d.ts +5 -5
- package/build/types/offer/multiroom-book-request.d.ts +10 -10
- package/build/types/offer/note.d.ts +16 -16
- package/build/types/offer/other-product.d.ts +13 -13
- package/build/types/offer/package-book-request-room.d.ts +5 -5
- package/build/types/offer/package-book-request.d.ts +12 -12
- package/build/types/offer/package-flight.d.ts +13 -13
- package/build/types/offer/package-flights.d.ts +5 -5
- package/build/types/offer/package-option.d.ts +22 -22
- package/build/types/offer/package-price-details-request-room.d.ts +4 -4
- package/build/types/offer/package-price-details-request.d.ts +8 -8
- package/build/types/offer/package-room-option.d.ts +10 -10
- package/build/types/offer/package-room.d.ts +7 -7
- package/build/types/offer/package-search-destination.d.ts +9 -9
- package/build/types/offer/package-search-request-date.d.ts +4 -4
- package/build/types/offer/package-search-request-room.d.ts +5 -5
- package/build/types/offer/package-search-request.d.ts +18 -22
- package/build/types/offer/package-search-result.d.ts +12 -12
- package/build/types/offer/package-sub-option.d.ts +6 -6
- package/build/types/offer/pax.d.ts +29 -29
- package/build/types/offer/payment.d.ts +20 -20
- package/build/types/offer/person-country-preference.d.ts +7 -7
- package/build/types/offer/person-location-preference.d.ts +7 -7
- package/build/types/offer/person-oord-preference.d.ts +7 -7
- package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
- package/build/types/offer/person-period-preference.d.ts +7 -7
- package/build/types/offer/person-region-preference.d.ts +7 -7
- package/build/types/offer/person-tour-group-preference.d.ts +7 -7
- package/build/types/offer/price-detail.d.ts +18 -18
- package/build/types/offer/price-per-pax.d.ts +6 -6
- package/build/types/offer/product-notification-result.d.ts +9 -9
- package/build/types/offer/web-contact-form-request.d.ts +13 -13
- package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
- package/build/types/tide-client-config.d.ts +4 -4
- package/build/utils/api.d.ts +1 -6
- package/build/utils/booking-client.d.ts +102 -169
- package/build/utils/booking-v2-client.d.ts +3 -7
- package/build/utils/common-client.d.ts +1 -6
- package/build/utils/json.d.ts +2 -2
- package/build/utils/mollie-client.d.ts +7 -15
- package/build/utils/web-client.d.ts +10 -14
- package/build/utils/web-contact-client.d.ts +11 -23
- package/package.json +1 -1
- package/src/index.ts +5 -0
- package/src/types/offer/flight-meta-data-line.ts +16 -0
- package/src/types/offer/flight-meta-data.ts +11 -0
- package/src/types/offer/index.ts +2 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export * from "./accommodation-occupancy";
|
|
2
|
-
export * from "./accommodation-with-available-places";
|
|
3
|
-
export * from "./accommodation";
|
|
4
|
-
export * from "./additional-services";
|
|
5
|
-
export * from "./alternative-flight-data";
|
|
6
|
-
export * from "./alternative-flight-leg";
|
|
7
|
-
export * from "./alternative-flight";
|
|
8
|
-
export * from "./availability-request";
|
|
9
|
-
export * from "./availability";
|
|
10
|
-
export * from "./available-products-request";
|
|
11
|
-
export * from "./duration";
|
|
12
|
-
export * from "./flight-leg";
|
|
13
|
-
export * from "./flight";
|
|
14
|
-
export * from "./hotel";
|
|
15
|
-
export * from "./option-pax";
|
|
16
|
-
export * from "./option";
|
|
17
|
-
export * from "./mollie-payment-request";
|
|
18
|
-
export * from "./mollie-payment";
|
|
19
|
-
export * from "./pax";
|
|
20
|
-
export * from "./price-detail";
|
|
21
|
-
export * from "./regime";
|
|
22
|
-
export * from "./traveler-grouping";
|
|
1
|
+
export * from "./accommodation-occupancy";
|
|
2
|
+
export * from "./accommodation-with-available-places";
|
|
3
|
+
export * from "./accommodation";
|
|
4
|
+
export * from "./additional-services";
|
|
5
|
+
export * from "./alternative-flight-data";
|
|
6
|
+
export * from "./alternative-flight-leg";
|
|
7
|
+
export * from "./alternative-flight";
|
|
8
|
+
export * from "./availability-request";
|
|
9
|
+
export * from "./availability";
|
|
10
|
+
export * from "./available-products-request";
|
|
11
|
+
export * from "./duration";
|
|
12
|
+
export * from "./flight-leg";
|
|
13
|
+
export * from "./flight";
|
|
14
|
+
export * from "./hotel";
|
|
15
|
+
export * from "./option-pax";
|
|
16
|
+
export * from "./option";
|
|
17
|
+
export * from "./mollie-payment-request";
|
|
18
|
+
export * from "./mollie-payment";
|
|
19
|
+
export * from "./pax";
|
|
20
|
+
export * from "./price-detail";
|
|
21
|
+
export * from "./regime";
|
|
22
|
+
export * from "./traveler-grouping";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface MolliePaymentRequest {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export interface MolliePaymentRequest {
|
|
2
|
+
locale: string;
|
|
3
|
+
dossierNumber: string;
|
|
4
|
+
currency: string;
|
|
5
|
+
redirectUrl?: string;
|
|
6
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface MolliePayment {
|
|
2
|
-
|
|
3
|
-
}
|
|
1
|
+
export interface MolliePayment {
|
|
2
|
+
url: string;
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface OptionPax {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface OptionPax {
|
|
2
|
+
dateOfBirth?: Date;
|
|
3
|
+
price: number;
|
|
4
|
+
}
|
|
@@ -1,28 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
pricePerPerson: OptionPax[];
|
|
23
|
-
alternativeFlight: AlternativeFlight;
|
|
24
|
-
basePrice?: number;
|
|
25
|
-
marginPrice?: number;
|
|
26
|
-
additionalInfo: string;
|
|
27
|
-
priceDetails?: PriceDetail[];
|
|
28
|
-
}
|
|
1
|
+
import { AccommodationWithAvailablePlaces, AlternativeFlight, Flight, OptionPax, PriceDetail, Regime } from ".";
|
|
2
|
+
export interface Option {
|
|
3
|
+
from: Date;
|
|
4
|
+
to: Date;
|
|
5
|
+
duration: number;
|
|
6
|
+
accommodations: AccommodationWithAvailablePlaces[];
|
|
7
|
+
regime: Regime;
|
|
8
|
+
departureFlight: Flight;
|
|
9
|
+
returnFlight: Flight;
|
|
10
|
+
price: number;
|
|
11
|
+
averagePricePerPerson: number;
|
|
12
|
+
oldPricePerPerson: number;
|
|
13
|
+
percentage?: number;
|
|
14
|
+
priceFirstPax: number;
|
|
15
|
+
pricePerPerson: OptionPax[];
|
|
16
|
+
alternativeFlight: AlternativeFlight;
|
|
17
|
+
basePrice?: number;
|
|
18
|
+
marginPrice?: number;
|
|
19
|
+
additionalInfo: string;
|
|
20
|
+
priceDetails?: PriceDetail[];
|
|
21
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface Pax {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface Pax {
|
|
2
|
+
age?: number;
|
|
3
|
+
gender?: number;
|
|
4
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface PriceDetail {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
export interface PriceDetail {
|
|
2
|
+
productName: string;
|
|
3
|
+
productCode: string;
|
|
4
|
+
priceDescription: string;
|
|
5
|
+
price: number;
|
|
6
|
+
amount: number;
|
|
7
|
+
total: number;
|
|
8
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface Regime {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface Regime {
|
|
2
|
+
code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
isDefault: boolean;
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface TravelerGrouping {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface TravelerGrouping {
|
|
2
|
+
accommodationCode?: string;
|
|
3
|
+
regimeCode?: string;
|
|
4
|
+
travelerAges: number[];
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const AllotmentType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
export declare const AllotmentType: {
|
|
2
|
+
freeSell: number;
|
|
3
|
+
onRequest: number;
|
|
4
|
+
allotment: number;
|
|
5
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const AvailabilitySearchType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
1
|
+
export declare const AvailabilitySearchType: {
|
|
2
|
+
default: number;
|
|
3
|
+
allotment: number;
|
|
4
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const DossierType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
export declare const DossierType: {
|
|
2
|
+
hotelOnly: number;
|
|
3
|
+
transportOnly: number;
|
|
4
|
+
cruise: number;
|
|
5
|
+
package: number;
|
|
6
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const EntryLineFlag: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
export declare const EntryLineFlag: {
|
|
2
|
+
none: number;
|
|
3
|
+
allotmentNoPlace: number;
|
|
4
|
+
flightLuggage: number;
|
|
5
|
+
noCachedPrice: number;
|
|
6
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export declare const EntryLineStatus: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
1
|
+
export declare const EntryLineStatus: {
|
|
2
|
+
cancellationByClient: number;
|
|
3
|
+
cancellationByYou: number;
|
|
4
|
+
noAllotment: number;
|
|
5
|
+
offer: number;
|
|
6
|
+
ok: number;
|
|
7
|
+
option: number;
|
|
8
|
+
onRequest: number;
|
|
9
|
+
requestConfirmed: number;
|
|
10
|
+
requestDenied: number;
|
|
11
|
+
requestSent: number;
|
|
12
|
+
pending: number;
|
|
13
|
+
notBookable: number;
|
|
14
|
+
noAllotmentFallbackToRealtimeFlight: number;
|
|
15
|
+
notBookableFallbackToRealtimeFlight: number;
|
|
16
|
+
error: number;
|
|
17
|
+
bookingConfirmed: number;
|
|
18
|
+
cancellationConfirmed: number;
|
|
19
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const EntryStatus: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
1
|
+
export declare const EntryStatus: {
|
|
2
|
+
new: number;
|
|
3
|
+
offer: number;
|
|
4
|
+
option: number;
|
|
5
|
+
booking: number;
|
|
6
|
+
cancellationByClient: number;
|
|
7
|
+
cancellationByYou: number;
|
|
8
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const ExportStatus: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
export declare const ExportStatus: {
|
|
2
|
+
exported: number;
|
|
3
|
+
notExported: number;
|
|
4
|
+
exportFailed: number;
|
|
5
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const Gender: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
export declare const Gender: {
|
|
2
|
+
male: number;
|
|
3
|
+
female: number;
|
|
4
|
+
other: number;
|
|
5
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from "./allotment-type";
|
|
2
|
-
export * from "./availability-search-type";
|
|
3
|
-
export * from "./dossier-type";
|
|
4
|
-
export * from "./entry-line-flag";
|
|
5
|
-
export * from "./entry-line-status";
|
|
6
|
-
export * from "./entry-status";
|
|
7
|
-
export * from "./export-status";
|
|
8
|
-
export * from "./gender";
|
|
9
|
-
export * from "./meta-data-type";
|
|
10
|
-
export * from "./payment-type";
|
|
11
|
-
export * from "./price-chart-type";
|
|
12
|
-
export * from "./requirement-type";
|
|
13
|
-
export * from "./room-type";
|
|
14
|
-
export * from "./sale-type";
|
|
15
|
-
export * from "./service-type";
|
|
1
|
+
export * from "./allotment-type";
|
|
2
|
+
export * from "./availability-search-type";
|
|
3
|
+
export * from "./dossier-type";
|
|
4
|
+
export * from "./entry-line-flag";
|
|
5
|
+
export * from "./entry-line-status";
|
|
6
|
+
export * from "./entry-status";
|
|
7
|
+
export * from "./export-status";
|
|
8
|
+
export * from "./gender";
|
|
9
|
+
export * from "./meta-data-type";
|
|
10
|
+
export * from "./payment-type";
|
|
11
|
+
export * from "./price-chart-type";
|
|
12
|
+
export * from "./requirement-type";
|
|
13
|
+
export * from "./room-type";
|
|
14
|
+
export * from "./sale-type";
|
|
15
|
+
export * from "./service-type";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const MetaDataType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
1
|
+
export declare const MetaDataType: {
|
|
2
|
+
flight: number;
|
|
3
|
+
publicTransport: number;
|
|
4
|
+
rawHubData: number;
|
|
5
|
+
rawFlightData: number;
|
|
6
|
+
flightInfo: number;
|
|
7
|
+
bookFeedback: number;
|
|
8
|
+
cancelFeedback: number;
|
|
9
|
+
additionalServices: number;
|
|
10
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const PaymentType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
export declare const PaymentType: {
|
|
2
|
+
other: number;
|
|
3
|
+
bancontact: number;
|
|
4
|
+
creditcard: number;
|
|
5
|
+
cash: number;
|
|
6
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const PriceChartType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
1
|
+
export declare const PriceChartType: {
|
|
2
|
+
purchasePrices: number;
|
|
3
|
+
sellingPrices: number;
|
|
4
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const RequirementType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
export declare const RequirementType: {
|
|
2
|
+
mandatory: number;
|
|
3
|
+
optional: number;
|
|
4
|
+
optionalInGroup: number;
|
|
5
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const RoomType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
1
|
+
export declare const RoomType: {
|
|
2
|
+
pk1: number;
|
|
3
|
+
pk2: number;
|
|
4
|
+
pk3: number;
|
|
5
|
+
pk4: number;
|
|
6
|
+
pk5: number;
|
|
7
|
+
pk6: number;
|
|
8
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const SaleType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
1
|
+
export declare const SaleType: {
|
|
2
|
+
ownOrganization: number;
|
|
3
|
+
resale: number;
|
|
4
|
+
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export declare const ServiceType: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
};
|
|
1
|
+
export declare const ServiceType: {
|
|
2
|
+
package: number;
|
|
3
|
+
roundTrip: number;
|
|
4
|
+
singleTrip: number;
|
|
5
|
+
hotel: number;
|
|
6
|
+
excursion: number;
|
|
7
|
+
extraService: number;
|
|
8
|
+
insurance: number;
|
|
9
|
+
flight: number;
|
|
10
|
+
serviceFee: number;
|
|
11
|
+
visum: number;
|
|
12
|
+
charter: number;
|
|
13
|
+
cruise: number;
|
|
14
|
+
ferry: number;
|
|
15
|
+
transfer: number;
|
|
16
|
+
bus: number;
|
|
17
|
+
tax: number;
|
|
18
|
+
fee: number;
|
|
19
|
+
car: number;
|
|
20
|
+
camper: number;
|
|
21
|
+
specialServices: number;
|
|
22
|
+
train: number;
|
|
23
|
+
gift: number;
|
|
24
|
+
rental: number;
|
|
25
|
+
restaurant: number;
|
|
26
|
+
};
|
package/build/types/index.d.ts
CHANGED
|
@@ -1,26 +1,4 @@
|
|
|
1
|
-
export * from "./tide-client-config";
|
|
2
|
-
export * from "./enums";
|
|
3
|
-
export * from "./offer";
|
|
4
|
-
export {
|
|
5
|
-
AccommodationOccupancy,
|
|
6
|
-
AccommodationWithAvailablePlaces,
|
|
7
|
-
Accommodation,
|
|
8
|
-
AdditionalServices as AdditionalServicesAAPI,
|
|
9
|
-
AlternativeFlightData as AlternativeFlightDataAAPI,
|
|
10
|
-
AlternativeFlightLeg as AlternativeFlightLegAAPI,
|
|
11
|
-
AlternativeFlight as AlternativeFlightAAPI,
|
|
12
|
-
AvailabilityRequest,
|
|
13
|
-
Availability,
|
|
14
|
-
AvailableProductsRequest,
|
|
15
|
-
Duration,
|
|
16
|
-
FlightLeg,
|
|
17
|
-
Flight,
|
|
18
|
-
Hotel,
|
|
19
|
-
MolliePaymentRequest,
|
|
20
|
-
MolliePayment,
|
|
21
|
-
OptionPax,
|
|
22
|
-
Option,
|
|
23
|
-
Pax as PaxAAPI,
|
|
24
|
-
Regime,
|
|
25
|
-
TravelerGrouping,
|
|
26
|
-
} from "./aapi";
|
|
1
|
+
export * from "./tide-client-config";
|
|
2
|
+
export * from "./enums";
|
|
3
|
+
export * from "./offer";
|
|
4
|
+
export { AccommodationOccupancy, AccommodationWithAvailablePlaces, Accommodation, AdditionalServices as AdditionalServicesAAPI, AlternativeFlightData as AlternativeFlightDataAAPI, AlternativeFlightLeg as AlternativeFlightLegAAPI, AlternativeFlight as AlternativeFlightAAPI, AvailabilityRequest, Availability, AvailableProductsRequest, Duration, FlightLeg, Flight, Hotel, MolliePaymentRequest, MolliePayment, OptionPax, Option, Pax as PaxAAPI, Regime, TravelerGrouping, } from "./aapi";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface AdditionalServices {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export interface AdditionalServices {
|
|
2
|
+
luggageExtraCostPerPiece: number;
|
|
3
|
+
luggageExtraIsPerPassenger: boolean;
|
|
4
|
+
productCode: string;
|
|
5
|
+
accommodationCode: string;
|
|
6
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export interface Address {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
1
|
+
export interface Address {
|
|
2
|
+
name: string;
|
|
3
|
+
street: string;
|
|
4
|
+
number: string;
|
|
5
|
+
postalCode: string;
|
|
6
|
+
location: string;
|
|
7
|
+
country: string;
|
|
8
|
+
mobilePhone: string;
|
|
9
|
+
email: string;
|
|
10
|
+
box?: string;
|
|
11
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AdditionalServices, AlternativeFlightLeg } from ".";
|
|
2
|
-
export interface AlternativeFlightData {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
import { AdditionalServices, AlternativeFlightLeg } from ".";
|
|
2
|
+
export interface AlternativeFlightData {
|
|
3
|
+
departureDate: Date;
|
|
4
|
+
departureTime: string;
|
|
5
|
+
arrivalDate: Date;
|
|
6
|
+
arrivalTime: string;
|
|
7
|
+
legs: AlternativeFlightLeg[];
|
|
8
|
+
additionalServices: AdditionalServices;
|
|
9
|
+
isLowCost: boolean;
|
|
10
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface AlternativeFlightLeg {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
1
|
+
export interface AlternativeFlightLeg {
|
|
2
|
+
airline: string;
|
|
3
|
+
airlineDescription: string;
|
|
4
|
+
flightNumber: string;
|
|
5
|
+
departureAirport: string;
|
|
6
|
+
departureAirportDescription: string;
|
|
7
|
+
departureCountry: string;
|
|
8
|
+
departureDate: Date;
|
|
9
|
+
departureTime: string;
|
|
10
|
+
arrivalAirport: string;
|
|
11
|
+
arrivalAirportDescription: string;
|
|
12
|
+
arrivalCountry: string;
|
|
13
|
+
arrivalDate: Date;
|
|
14
|
+
arrivalTime: string;
|
|
15
|
+
bookingClassCode: string;
|
|
16
|
+
operatingAirlineCode: string;
|
|
17
|
+
marketingAirlineCode: string;
|
|
18
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { AlternativeFlightData } from ".";
|
|
2
|
-
export interface AlternativeFlight {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
1
|
+
import { AlternativeFlightData } from ".";
|
|
2
|
+
export interface AlternativeFlight {
|
|
3
|
+
id: string;
|
|
4
|
+
luggage: number;
|
|
5
|
+
priceDifference: number;
|
|
6
|
+
priceDifferencePerPerson: number;
|
|
7
|
+
currency: string;
|
|
8
|
+
totalPriceWithoutTaxes: number;
|
|
9
|
+
taxes: number;
|
|
10
|
+
departureFlight: AlternativeFlightData;
|
|
11
|
+
returnFlight: AlternativeFlightData;
|
|
12
|
+
externalFlightGuid?: string;
|
|
13
|
+
isLowCost: boolean;
|
|
14
|
+
}
|