@qite/tide-client 1.0.12 → 1.0.15
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 -46
- package/build/index.js +442 -504
- 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 -0
- package/build/types/offer/available-package-flight.d.ts +9 -0
- package/build/types/offer/available-package-option.d.ts +12 -0
- package/build/types/offer/available-package-pax-price.d.ts +6 -0
- package/build/types/offer/available-package-regime.d.ts +4 -0
- package/build/types/offer/available-package.d.ts +7 -0
- 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/booking-v2/index.d.ts +3 -0
- package/build/types/offer/booking-v2/request/booking-package-address.d.ts +13 -0
- package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +12 -0
- package/build/types/offer/booking-v2/request/booking-package-details-request.d.ts +11 -0
- package/build/types/offer/booking-v2/request/booking-package-request.d.ts +6 -0
- package/build/types/offer/booking-v2/request/booking-package-search-request.d.ts +19 -0
- package/build/types/offer/booking-v2/request/index.d.ts +5 -0
- package/build/types/offer/booking-v2/response/booking-package-allotment-info.d.ts +13 -0
- package/build/types/offer/booking-v2/response/booking-package-dossier.d.ts +5 -0
- package/build/types/offer/booking-v2/response/booking-package-item.d.ts +11 -0
- package/build/types/offer/booking-v2/response/booking-price-detail.d.ts +13 -0
- package/build/types/offer/booking-v2/response/booking-price-details.d.ts +6 -0
- package/build/types/offer/booking-v2/response/booking-price-per-pax.d.ts +4 -0
- package/build/types/offer/booking-v2/response/changed-line.d.ts +4 -0
- package/build/types/offer/booking-v2/response/index.d.ts +7 -0
- package/build/types/offer/booking-v2/shared/booking-option-group.d.ts +5 -0
- package/build/types/offer/booking-v2/shared/booking-option-pax.d.ts +7 -0
- package/build/types/offer/booking-v2/shared/booking-option-unit.d.ts +6 -0
- package/build/types/offer/booking-v2/shared/booking-package-flight.d.ts +11 -0
- package/build/types/offer/booking-v2/shared/booking-package-hotel-option.d.ts +7 -0
- package/build/types/offer/booking-v2/shared/booking-package-hotel-room.d.ts +5 -0
- package/build/types/offer/booking-v2/shared/booking-package-hotel.d.ts +10 -0
- package/build/types/offer/booking-v2/shared/booking-package-line.d.ts +7 -0
- package/build/types/offer/booking-v2/shared/booking-package-pax.d.ts +16 -0
- package/build/types/offer/booking-v2/shared/booking-package-request-room.d.ts +5 -0
- package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +7 -0
- package/build/types/offer/booking-v2/shared/booking-package-room.d.ts +5 -0
- package/build/types/offer/booking-v2/shared/booking-package.d.ts +27 -0
- package/build/types/offer/booking-v2/shared/index.d.ts +17 -0
- package/build/types/offer/booking-v2/shared/per-booking-package-option.d.ts +9 -0
- package/build/types/offer/booking-v2/shared/per-package-option.d.ts +8 -0
- package/build/types/offer/booking-v2/shared/per-pax-package-option.d.ts +5 -0
- package/build/types/offer/booking-v2/shared/per-unit-package-option.d.ts +7 -0
- 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 +65 -56
- 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 +7 -0
- 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 +54 -54
- package/src/index.ts +5 -0
- package/src/types/offer/available-package-accommodation.ts +8 -0
- package/src/types/offer/available-package-flight.ts +10 -0
- package/src/types/offer/available-package-option.ts +18 -0
- package/src/types/offer/available-package-pax-price.ts +6 -0
- package/src/types/offer/available-package-regime.ts +4 -0
- package/src/types/offer/available-package.ts +8 -0
- package/src/types/offer/booking-v2/index.ts +3 -0
- package/src/types/offer/booking-v2/request/booking-package-address.ts +13 -0
- package/src/types/offer/booking-v2/request/booking-package-book-request.ts +14 -0
- package/src/types/offer/booking-v2/request/booking-package-details-request.ts +12 -0
- package/src/types/offer/booking-v2/request/booking-package-request.ts +6 -0
- package/src/types/offer/booking-v2/request/booking-package-search-request.ts +22 -0
- package/src/types/offer/booking-v2/request/index.ts +5 -0
- package/src/types/offer/booking-v2/response/booking-package-allotment-info.ts +13 -0
- package/src/types/offer/booking-v2/response/booking-package-dossier.ts +5 -0
- package/src/types/offer/booking-v2/response/booking-package-item.ts +13 -0
- package/src/types/offer/booking-v2/response/booking-price-detail.ts +15 -0
- package/src/types/offer/booking-v2/response/booking-price-details.ts +7 -0
- package/src/types/offer/booking-v2/response/booking-price-per-pax.ts +4 -0
- package/src/types/offer/booking-v2/response/changed-line.ts +4 -0
- package/src/types/offer/booking-v2/response/index.ts +7 -0
- package/src/types/offer/booking-v2/shared/booking-option-group.ts +5 -0
- package/src/types/offer/booking-v2/shared/booking-option-pax.ts +8 -0
- package/src/types/offer/booking-v2/shared/booking-option-unit.ts +7 -0
- package/src/types/offer/booking-v2/shared/booking-package-flight.ts +11 -0
- package/src/types/offer/booking-v2/shared/booking-package-hotel-option.ts +7 -0
- package/src/types/offer/booking-v2/shared/booking-package-hotel-room.ts +6 -0
- package/src/types/offer/booking-v2/shared/booking-package-hotel.ts +13 -0
- package/src/types/offer/booking-v2/shared/booking-package-line.ts +7 -0
- package/src/types/offer/booking-v2/shared/booking-package-pax.ts +18 -0
- package/src/types/offer/booking-v2/shared/booking-package-request-room.ts +6 -0
- package/src/types/offer/booking-v2/shared/booking-package-room-option.ts +7 -0
- package/src/types/offer/booking-v2/shared/booking-package-room.ts +6 -0
- package/src/types/offer/booking-v2/shared/booking-package.ts +33 -0
- package/src/types/offer/booking-v2/shared/index.ts +17 -0
- package/src/types/offer/booking-v2/shared/per-booking-package-option.ts +10 -0
- package/src/types/offer/booking-v2/shared/per-package-option.ts +9 -0
- package/src/types/offer/booking-v2/shared/per-pax-package-option.ts +6 -0
- package/src/types/offer/booking-v2/shared/per-unit-package-option.ts +8 -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 +9 -0
- package/src/utils/booking-v2-client.ts +81 -0
|
@@ -1,56 +1,65 @@
|
|
|
1
|
-
export * from "./additional-services";
|
|
2
|
-
export * from "./address";
|
|
3
|
-
export * from "./alternative-flight-data";
|
|
4
|
-
export * from "./alternative-flight-leg";
|
|
5
|
-
export * from "./alternative-flight";
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./
|
|
15
|
-
export * from "./
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./
|
|
19
|
-
export * from "./
|
|
20
|
-
export * from "./
|
|
21
|
-
export * from "./
|
|
22
|
-
export * from "./entry";
|
|
23
|
-
export * from "./
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./
|
|
26
|
-
export * from "./
|
|
27
|
-
export * from "./
|
|
28
|
-
export * from "./
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./
|
|
31
|
-
export * from "./
|
|
32
|
-
export * from "./
|
|
33
|
-
export * from "./
|
|
34
|
-
export * from "./
|
|
35
|
-
export * from "./
|
|
36
|
-
export * from "./package-room";
|
|
37
|
-
export * from "./package-
|
|
38
|
-
export * from "./package-
|
|
39
|
-
export * from "./package-
|
|
40
|
-
export * from "./package-
|
|
41
|
-
export * from "./package-
|
|
42
|
-
export * from "./package-
|
|
43
|
-
export * from "./
|
|
44
|
-
export * from "./
|
|
45
|
-
export * from "./
|
|
46
|
-
export * from "./
|
|
47
|
-
export * from "./
|
|
48
|
-
export * from "./
|
|
49
|
-
export * from "./
|
|
50
|
-
export * from "./
|
|
51
|
-
export * from "./
|
|
52
|
-
export * from "./
|
|
53
|
-
export * from "./
|
|
54
|
-
export * from "./
|
|
55
|
-
export * from "./
|
|
56
|
-
export * from "./
|
|
1
|
+
export * from "./additional-services";
|
|
2
|
+
export * from "./address";
|
|
3
|
+
export * from "./alternative-flight-data";
|
|
4
|
+
export * from "./alternative-flight-leg";
|
|
5
|
+
export * from "./alternative-flight";
|
|
6
|
+
export * from "./available-package-accommodation";
|
|
7
|
+
export * from "./available-package-flight";
|
|
8
|
+
export * from "./available-package-option";
|
|
9
|
+
export * from "./available-package-pax-price";
|
|
10
|
+
export * from "./available-package-regime";
|
|
11
|
+
export * from "./available-package";
|
|
12
|
+
export * from "./base-price";
|
|
13
|
+
export * from "./base-prices-from-date-request";
|
|
14
|
+
export * from "./base-prices-request";
|
|
15
|
+
export * from "./book-request";
|
|
16
|
+
export * from "./booking-response";
|
|
17
|
+
export * from "./cached-package-search-result";
|
|
18
|
+
export * from "./confirmed-dossier-check";
|
|
19
|
+
export * from "./crm-contact-request";
|
|
20
|
+
export * from "./customer-request";
|
|
21
|
+
export * from "./dossier-default-product";
|
|
22
|
+
export * from "./entry-check-response";
|
|
23
|
+
export * from "./entry-line-meta-data";
|
|
24
|
+
export * from "./entry-line-pax";
|
|
25
|
+
export * from "./entry-line";
|
|
26
|
+
export * from "./entry-price-line";
|
|
27
|
+
export * from "./entry-room2";
|
|
28
|
+
export * from "./entry";
|
|
29
|
+
export * from "./flight-meta-data-line";
|
|
30
|
+
export * from "./flight-meta-data";
|
|
31
|
+
export * from "./flight-pool";
|
|
32
|
+
export * from "./language";
|
|
33
|
+
export * from "./multiroom-book-request";
|
|
34
|
+
export * from "./note";
|
|
35
|
+
export * from "./other-product";
|
|
36
|
+
export * from "./package-book-request-room";
|
|
37
|
+
export * from "./package-book-request";
|
|
38
|
+
export * from "./package-flight";
|
|
39
|
+
export * from "./package-flights";
|
|
40
|
+
export * from "./package-option";
|
|
41
|
+
export * from "./package-price-details-request-room";
|
|
42
|
+
export * from "./package-price-details-request";
|
|
43
|
+
export * from "./package-room-option";
|
|
44
|
+
export * from "./package-room";
|
|
45
|
+
export * from "./package-search-destination";
|
|
46
|
+
export * from "./package-search-request-date";
|
|
47
|
+
export * from "./package-search-request-room";
|
|
48
|
+
export * from "./package-search-request";
|
|
49
|
+
export * from "./package-search-result";
|
|
50
|
+
export * from "./package-sub-option";
|
|
51
|
+
export * from "./pax";
|
|
52
|
+
export * from "./payment";
|
|
53
|
+
export * from "./person-country-preference";
|
|
54
|
+
export * from "./person-location-preference";
|
|
55
|
+
export * from "./person-oord-preference";
|
|
56
|
+
export * from "./person-period-date-range-preference";
|
|
57
|
+
export * from "./person-period-preference";
|
|
58
|
+
export * from "./person-region-preference";
|
|
59
|
+
export * from "./person-tour-group-preference";
|
|
60
|
+
export * from "./price-detail";
|
|
61
|
+
export * from "./price-per-pax";
|
|
62
|
+
export * from "./product-notification-result";
|
|
63
|
+
export * from "./web-contact-form-request";
|
|
64
|
+
export * from "./web-contact-has-tag-request";
|
|
65
|
+
export * from "./booking-v2";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface Language {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface Language {
|
|
2
|
+
id: number;
|
|
3
|
+
code: string;
|
|
4
|
+
flag: string;
|
|
5
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AlternativeFlight, BookRequest, OtherProduct } from ".";
|
|
2
|
-
export interface MultiroomBookRequest extends BookRequest {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
import { AlternativeFlight, BookRequest, OtherProduct } from ".";
|
|
2
|
+
export interface MultiroomBookRequest extends BookRequest {
|
|
3
|
+
contactId?: number;
|
|
4
|
+
paxGroupings?: number[][];
|
|
5
|
+
rooms: OtherProduct[];
|
|
6
|
+
otherProducts?: OtherProduct[];
|
|
7
|
+
overRuleShowPriceOtherProducts?: boolean;
|
|
8
|
+
alternativeFlight?: AlternativeFlight;
|
|
9
|
+
useShortResponse: boolean;
|
|
10
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface Note {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
1
|
+
export interface Note {
|
|
2
|
+
id: number;
|
|
3
|
+
message: string;
|
|
4
|
+
userId: number;
|
|
5
|
+
userName: string;
|
|
6
|
+
assigneeId?: number;
|
|
7
|
+
assigneeName?: string;
|
|
8
|
+
createdDateTime: Date;
|
|
9
|
+
expiryDateTime: Date;
|
|
10
|
+
isActive: boolean;
|
|
11
|
+
type: number;
|
|
12
|
+
status: number;
|
|
13
|
+
companyId: number;
|
|
14
|
+
teamId?: number;
|
|
15
|
+
teamName?: string;
|
|
16
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { CustomerRequest, Pax } from ".";
|
|
2
|
-
export interface OtherProduct {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
1
|
+
import { CustomerRequest, Pax } from ".";
|
|
2
|
+
export interface OtherProduct {
|
|
3
|
+
productCode: string;
|
|
4
|
+
accommodationCode: string;
|
|
5
|
+
regimeCode?: string;
|
|
6
|
+
startDate?: Date;
|
|
7
|
+
endDate?: Date;
|
|
8
|
+
startTime?: string;
|
|
9
|
+
endTime?: string;
|
|
10
|
+
travelers: Pax[];
|
|
11
|
+
customerRequests?: CustomerRequest[];
|
|
12
|
+
replacedProductCode?: string;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Pax } from ".";
|
|
2
|
-
export interface PackageBookRequestRoom {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
import { Pax } from ".";
|
|
2
|
+
export interface PackageBookRequestRoom {
|
|
3
|
+
id: number;
|
|
4
|
+
travelers: Pax[];
|
|
5
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Address, PackageBookRequestRoom, Payment } from ".";
|
|
2
|
-
export interface PackageBookRequest {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
1
|
+
import { Address, PackageBookRequestRoom, Payment } from ".";
|
|
2
|
+
export interface PackageBookRequest {
|
|
3
|
+
packageSearchResultCacheKey: string;
|
|
4
|
+
officeId: number;
|
|
5
|
+
language: string;
|
|
6
|
+
rooms: PackageBookRequestRoom[];
|
|
7
|
+
customEntryStatusId?: number;
|
|
8
|
+
payments?: Payment[];
|
|
9
|
+
address: Address;
|
|
10
|
+
optionGuids: string[];
|
|
11
|
+
useShortResponse?: boolean;
|
|
12
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { EntryLineMetaData } from ".";
|
|
2
|
-
export interface PackageFlight {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
1
|
+
import { EntryLineMetaData } from ".";
|
|
2
|
+
export interface PackageFlight {
|
|
3
|
+
allotmentId?: number;
|
|
4
|
+
code: string;
|
|
5
|
+
tag: string;
|
|
6
|
+
class: string;
|
|
7
|
+
startDateTime: Date;
|
|
8
|
+
endDateTime: Date;
|
|
9
|
+
price: number;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
externalGuid?: string;
|
|
12
|
+
metaDatas: EntryLineMetaData[];
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PackageFlight } from ".";
|
|
2
|
-
export interface PackageFlights {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
import { PackageFlight } from ".";
|
|
2
|
+
export interface PackageFlights {
|
|
3
|
+
outward: PackageFlight[];
|
|
4
|
+
return: PackageFlight[];
|
|
5
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { EntryLineMetaData, PackageSubOption } from ".";
|
|
2
|
-
export interface PackageOption {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
1
|
+
import { EntryLineMetaData, PackageSubOption } from ".";
|
|
2
|
+
export interface PackageOption {
|
|
3
|
+
guid: string;
|
|
4
|
+
code: string;
|
|
5
|
+
name: string;
|
|
6
|
+
accommodationCode: string;
|
|
7
|
+
accommodationName?: string;
|
|
8
|
+
regimeCode?: string;
|
|
9
|
+
productType: number;
|
|
10
|
+
price: number;
|
|
11
|
+
isSelected: boolean;
|
|
12
|
+
fromDate: Date;
|
|
13
|
+
toDate: Date;
|
|
14
|
+
accommodations?: PackageSubOption[];
|
|
15
|
+
regimes?: PackageSubOption[];
|
|
16
|
+
isRequired: boolean;
|
|
17
|
+
isDefault: boolean;
|
|
18
|
+
group: string;
|
|
19
|
+
requirementType?: number;
|
|
20
|
+
metaDatas: EntryLineMetaData[];
|
|
21
|
+
options?: PackageOption[];
|
|
22
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface PackagePriceDetailsRequestRoom {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface PackagePriceDetailsRequestRoom {
|
|
2
|
+
id: number;
|
|
3
|
+
travelerAges: number[];
|
|
4
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PackagePriceDetailsRequestRoom } from ".";
|
|
2
|
-
export interface PackagePriceDetailsRequest {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
import { PackagePriceDetailsRequestRoom } from ".";
|
|
2
|
+
export interface PackagePriceDetailsRequest {
|
|
3
|
+
packageSearchResultCacheKey: string;
|
|
4
|
+
officeId: number;
|
|
5
|
+
language: string;
|
|
6
|
+
rooms: PackagePriceDetailsRequestRoom[];
|
|
7
|
+
optionGuids: string[];
|
|
8
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface PackageRoomOption {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
export interface PackageRoomOption {
|
|
2
|
+
accommodationCode: string;
|
|
3
|
+
accommodationId: number;
|
|
4
|
+
accommodationName: string;
|
|
5
|
+
regimeCode: string;
|
|
6
|
+
regimeName: string;
|
|
7
|
+
price: number;
|
|
8
|
+
averagePricePerPerson: number;
|
|
9
|
+
isSelected: boolean;
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PackageRoomOption } from ".";
|
|
2
|
-
export interface PackageRoom {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
import { PackageRoomOption } from ".";
|
|
2
|
+
export interface PackageRoom {
|
|
3
|
+
id: number;
|
|
4
|
+
adultCount: number;
|
|
5
|
+
childCount: number;
|
|
6
|
+
options: PackageRoomOption[];
|
|
7
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface PackageSearchDestination {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
1
|
+
export interface PackageSearchDestination {
|
|
2
|
+
id?: number;
|
|
3
|
+
code?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
isCountry: boolean;
|
|
6
|
+
isRegion: boolean;
|
|
7
|
+
isOord: boolean;
|
|
8
|
+
isLocation: boolean;
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface PackageSearchRequestDate {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface PackageSearchRequestDate {
|
|
2
|
+
date: Date;
|
|
3
|
+
timeRange: number[];
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface PackageSearchRequestRoom {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
export interface PackageSearchRequestRoom {
|
|
2
|
+
id: number;
|
|
3
|
+
adultCount: number;
|
|
4
|
+
childCount: number;
|
|
5
|
+
}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
departure: PackageSearchRequestDate;
|
|
20
|
-
arrival: PackageSearchRequestDate;
|
|
21
|
-
includeInPackageDefault: boolean;
|
|
22
|
-
}
|
|
1
|
+
import { PackageSearchDestination, PackageSearchRequestDate, PackageSearchRequestRoom } from ".";
|
|
2
|
+
export interface PackageSearchRequest {
|
|
3
|
+
officeId: number;
|
|
4
|
+
catalogId?: number;
|
|
5
|
+
productType: number;
|
|
6
|
+
destination?: PackageSearchDestination;
|
|
7
|
+
productCodes?: string[];
|
|
8
|
+
productIds?: number[];
|
|
9
|
+
accommodationCodes?: string[];
|
|
10
|
+
regimeCodes?: string[];
|
|
11
|
+
airportCode?: string;
|
|
12
|
+
onlyPreferredHotels: boolean;
|
|
13
|
+
includeLuggage: boolean;
|
|
14
|
+
rooms: PackageSearchRequestRoom[];
|
|
15
|
+
departure: PackageSearchRequestDate;
|
|
16
|
+
arrival: PackageSearchRequestDate;
|
|
17
|
+
includeInPackageDefault: boolean;
|
|
18
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { PackageFlights, PackageOption, PackageRoom } from ".";
|
|
2
|
-
export interface PackageSearchResult {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
1
|
+
import { PackageFlights, PackageOption, PackageRoom } from ".";
|
|
2
|
+
export interface PackageSearchResult {
|
|
3
|
+
catalogId: number;
|
|
4
|
+
code: string;
|
|
5
|
+
name: string;
|
|
6
|
+
fromDate: Date;
|
|
7
|
+
toDate: Date;
|
|
8
|
+
price: number;
|
|
9
|
+
rooms: PackageRoom[];
|
|
10
|
+
options: PackageOption[];
|
|
11
|
+
flights: PackageFlights;
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface PackageSubOption {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export interface PackageSubOption {
|
|
2
|
+
code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
price: number;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Language } from ".";
|
|
2
|
-
export interface Pax {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
1
|
+
import { Language } from ".";
|
|
2
|
+
export interface Pax {
|
|
3
|
+
id: number;
|
|
4
|
+
lastName?: string;
|
|
5
|
+
firstName?: string;
|
|
6
|
+
dateOfBirth?: Date;
|
|
7
|
+
age?: number;
|
|
8
|
+
gender?: number;
|
|
9
|
+
phone?: string;
|
|
10
|
+
mobile?: string;
|
|
11
|
+
email?: string;
|
|
12
|
+
personId?: number;
|
|
13
|
+
emergencyNumber?: string;
|
|
14
|
+
hasInsurance?: boolean;
|
|
15
|
+
insuranceName?: string;
|
|
16
|
+
isMainBooker?: boolean;
|
|
17
|
+
guid?: string;
|
|
18
|
+
birthplace?: string;
|
|
19
|
+
nationality?: string;
|
|
20
|
+
preferredLanguageId?: number;
|
|
21
|
+
preferredLanguage?: Language;
|
|
22
|
+
passportIssueDate?: Date;
|
|
23
|
+
passportIssuedLocation?: string;
|
|
24
|
+
passportNumber?: string;
|
|
25
|
+
passportExpiryDate?: Date;
|
|
26
|
+
travellerNumber?: number;
|
|
27
|
+
extraLuggage?: number;
|
|
28
|
+
extraLuggageWeight?: number;
|
|
29
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface Payment {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
1
|
+
export interface Payment {
|
|
2
|
+
id: number;
|
|
3
|
+
date: Date;
|
|
4
|
+
dossierNumber: string;
|
|
5
|
+
dossierId?: number;
|
|
6
|
+
codaId?: number;
|
|
7
|
+
ledgerAccountId?: number;
|
|
8
|
+
ledgerAccountNumber?: string;
|
|
9
|
+
amount: number;
|
|
10
|
+
currency: string;
|
|
11
|
+
accountNumber: string;
|
|
12
|
+
paymentMethod: string;
|
|
13
|
+
paymentType: number;
|
|
14
|
+
note: string;
|
|
15
|
+
isChecked: boolean;
|
|
16
|
+
structuredPaymentRemark: string;
|
|
17
|
+
client: string;
|
|
18
|
+
exportTime?: Date;
|
|
19
|
+
exportStatus?: number;
|
|
20
|
+
}
|