@qite/tide-client 1.0.20 → 1.0.23

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.
Files changed (43) hide show
  1. package/build/index.js.map +1 -1
  2. package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +4 -1
  3. package/build/types/offer/booking-v2/response/booking-package-dossier.d.ts +1 -0
  4. package/build/types/offer/booking-v2/response/booking-price-details.d.ts +1 -0
  5. package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +3 -1
  6. package/build/types/offer/booking-v2/shared/booking-package.d.ts +1 -1
  7. package/build/types/offer/booking-v2/shared/per-package-option.d.ts +1 -0
  8. package/package.json +1 -1
  9. package/src/index.ts +65 -65
  10. package/src/types/offer/booking-v2/index.ts +3 -3
  11. package/src/types/offer/booking-v2/request/booking-package-address.ts +13 -13
  12. package/src/types/offer/booking-v2/request/booking-package-book-request.ts +4 -1
  13. package/src/types/offer/booking-v2/request/booking-package-details-request.ts +13 -13
  14. package/src/types/offer/booking-v2/request/booking-package-request.ts +5 -5
  15. package/src/types/offer/booking-v2/request/booking-package-search-request.ts +23 -23
  16. package/src/types/offer/booking-v2/request/index.ts +5 -5
  17. package/src/types/offer/booking-v2/response/booking-package-allotment-info.ts +13 -13
  18. package/src/types/offer/booking-v2/response/booking-package-dossier.ts +6 -5
  19. package/src/types/offer/booking-v2/response/booking-price-detail.ts +15 -15
  20. package/src/types/offer/booking-v2/response/booking-price-details.ts +8 -7
  21. package/src/types/offer/booking-v2/response/booking-price-per-pax.ts +4 -4
  22. package/src/types/offer/booking-v2/response/changed-line.ts +4 -4
  23. package/src/types/offer/booking-v2/response/index.ts +7 -7
  24. package/src/types/offer/booking-v2/shared/booking-option-group.ts +5 -5
  25. package/src/types/offer/booking-v2/shared/booking-option-pax.ts +8 -8
  26. package/src/types/offer/booking-v2/shared/booking-option-unit.ts +7 -7
  27. package/src/types/offer/booking-v2/shared/booking-package-flight.ts +11 -11
  28. package/src/types/offer/booking-v2/shared/booking-package-hotel-option.ts +7 -7
  29. package/src/types/offer/booking-v2/shared/booking-package-hotel-room.ts +6 -6
  30. package/src/types/offer/booking-v2/shared/booking-package-hotel.ts +13 -13
  31. package/src/types/offer/booking-v2/shared/booking-package-line.ts +7 -7
  32. package/src/types/offer/booking-v2/shared/booking-package-pax.ts +18 -18
  33. package/src/types/offer/booking-v2/shared/booking-package-request-room.ts +6 -6
  34. package/src/types/offer/booking-v2/shared/booking-package-room-option.ts +3 -1
  35. package/src/types/offer/booking-v2/shared/booking-package-room.ts +6 -6
  36. package/src/types/offer/booking-v2/shared/booking-package.ts +2 -2
  37. package/src/types/offer/booking-v2/shared/index.ts +17 -17
  38. package/src/types/offer/booking-v2/shared/per-booking-package-option.ts +10 -10
  39. package/src/types/offer/booking-v2/shared/per-package-option.ts +1 -0
  40. package/src/types/offer/booking-v2/shared/per-pax-package-option.ts +6 -6
  41. package/src/types/offer/booking-v2/shared/per-unit-package-option.ts +8 -8
  42. package/src/types/offer/index.ts +65 -65
  43. package/src/utils/booking-v2-client.ts +81 -81
@@ -1,7 +1,8 @@
1
- import { BookingPriceDetail } from "./booking-price-detail";
2
- import { ChangedLine } from "./changed-line";
3
-
4
- export interface BookingPriceDetails {
5
- details: BookingPriceDetail[];
6
- changedLines: ChangedLine[];
7
- }
1
+ import { BookingPriceDetail } from "./booking-price-detail";
2
+ import { ChangedLine } from "./changed-line";
3
+
4
+ export interface BookingPriceDetails {
5
+ details: BookingPriceDetail[];
6
+ changedLines: ChangedLine[];
7
+ deposit?: number;
8
+ }
@@ -1,4 +1,4 @@
1
- export interface BookingPricePerPax {
2
- paxId: number;
3
- price: number;
4
- }
1
+ export interface BookingPricePerPax {
2
+ paxId: number;
3
+ price: number;
4
+ }
@@ -1,4 +1,4 @@
1
- export interface ChangedLine {
2
- entryLineGuid: string;
3
- price: number;
4
- }
1
+ export interface ChangedLine {
2
+ entryLineGuid: string;
3
+ price: number;
4
+ }
@@ -1,7 +1,7 @@
1
- export * from "./booking-package-allotment-info";
2
- export * from "./booking-package-dossier";
3
- export * from "./booking-package-item";
4
- export * from "./booking-price-detail";
5
- export * from "./booking-price-details";
6
- export * from "./booking-price-per-pax";
7
- export * from "./changed-line";
1
+ export * from "./booking-package-allotment-info";
2
+ export * from "./booking-package-dossier";
3
+ export * from "./booking-package-item";
4
+ export * from "./booking-price-detail";
5
+ export * from "./booking-price-details";
6
+ export * from "./booking-price-per-pax";
7
+ export * from "./changed-line";
@@ -1,5 +1,5 @@
1
- export interface BookingOptionGroup<T> {
2
- name: string;
3
- title: string;
4
- options: T[];
5
- }
1
+ export interface BookingOptionGroup<T> {
2
+ name: string;
3
+ title: string;
4
+ options: T[];
5
+ }
@@ -1,8 +1,8 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { PerPaxPackageOption } from "./per-pax-package-option";
3
-
4
- export interface BookingOptionPax {
5
- id: number;
6
- paxName: string;
7
- groups: BookingOptionGroup<PerPaxPackageOption>[];
8
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { PerPaxPackageOption } from "./per-pax-package-option";
3
+
4
+ export interface BookingOptionPax {
5
+ id: number;
6
+ paxName: string;
7
+ groups: BookingOptionGroup<PerPaxPackageOption>[];
8
+ }
@@ -1,7 +1,7 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { PerUnitPackageOption } from "./per-unit-package-option";
3
-
4
- export interface BookingOptionUnit {
5
- index: number;
6
- groups: BookingOptionGroup<PerUnitPackageOption>[];
7
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { PerUnitPackageOption } from "./per-unit-package-option";
3
+
4
+ export interface BookingOptionUnit {
5
+ index: number;
6
+ groups: BookingOptionGroup<PerUnitPackageOption>[];
7
+ }
@@ -1,11 +1,11 @@
1
- export interface BookingPackageFlight {
2
- code: string;
3
- tag: string;
4
- class: string;
5
- startDateTime: Date;
6
- endDateTime: Date;
7
- price: number;
8
- isSelected: boolean;
9
- externalGuid?: string;
10
- entryLineGuid: string;
11
- }
1
+ export interface BookingPackageFlight {
2
+ code: string;
3
+ tag: string;
4
+ class: string;
5
+ startDateTime: Date;
6
+ endDateTime: Date;
7
+ price: number;
8
+ isSelected: boolean;
9
+ externalGuid?: string;
10
+ entryLineGuid: string;
11
+ }
@@ -1,7 +1,7 @@
1
- export interface BookingPackageHotelOption {
2
- entryLineGuid: string;
3
- accommodationName: string;
4
- regimeName: string;
5
- price: number;
6
- isSelected: boolean;
7
- }
1
+ export interface BookingPackageHotelOption {
2
+ entryLineGuid: string;
3
+ accommodationName: string;
4
+ regimeName: string;
5
+ price: number;
6
+ isSelected: boolean;
7
+ }
@@ -1,6 +1,6 @@
1
- import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
-
3
- export interface BookingPackageHotelRoom {
4
- index: number;
5
- options: BookingPackageHotelOption[];
6
- }
1
+ import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
+
3
+ export interface BookingPackageHotelRoom {
4
+ index: number;
5
+ options: BookingPackageHotelOption[];
6
+ }
@@ -1,13 +1,13 @@
1
- import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
-
3
- export interface BookingPackageHotel {
4
- name: string;
5
- isSelected: boolean;
6
- cheapestPrice: number;
7
-
8
- latitude: number;
9
- longitude: number;
10
-
11
- rooms: BookingPackageHotelRoom[];
12
- combinations: string[][];
13
- }
1
+ import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
+
3
+ export interface BookingPackageHotel {
4
+ name: string;
5
+ isSelected: boolean;
6
+ cheapestPrice: number;
7
+
8
+ latitude: number;
9
+ longitude: number;
10
+
11
+ rooms: BookingPackageHotelRoom[];
12
+ combinations: string[][];
13
+ }
@@ -1,7 +1,7 @@
1
- export interface BookingPackageLine {
2
- entryLineGuid: string;
3
- productName: string;
4
- accommodationName: string;
5
- regimeName: string;
6
- price: number;
7
- }
1
+ export interface BookingPackageLine {
2
+ entryLineGuid: string;
3
+ productName: string;
4
+ accommodationName: string;
5
+ regimeName: string;
6
+ price: number;
7
+ }
@@ -1,18 +1,18 @@
1
- export interface BookingPackagePax {
2
- id: number;
3
- age?: number;
4
- guid: string;
5
- dateOfBirth?: Date;
6
- firstName: string;
7
- lastName: string;
8
-
9
- salutationId?: number;
10
- preferredLanguageId?: number;
11
- gender?: number;
12
- isMainBooker: boolean;
13
- initials: string;
14
-
15
- email: string;
16
- phone: string;
17
- mobilePhone: string;
18
- }
1
+ export interface BookingPackagePax {
2
+ id: number;
3
+ age?: number;
4
+ guid: string;
5
+ dateOfBirth?: Date;
6
+ firstName: string;
7
+ lastName: string;
8
+
9
+ salutationId?: number;
10
+ preferredLanguageId?: number;
11
+ gender?: number;
12
+ isMainBooker: boolean;
13
+ initials: string;
14
+
15
+ email: string;
16
+ phone: string;
17
+ mobilePhone: string;
18
+ }
@@ -1,6 +1,6 @@
1
- import { BookingPackagePax } from "./booking-package-pax";
2
-
3
- export interface BookingPackageRequestRoom {
4
- index: number;
5
- pax: BookingPackagePax[];
6
- }
1
+ import { BookingPackagePax } from "./booking-package-pax";
2
+
3
+ export interface BookingPackageRequestRoom {
4
+ index: number;
5
+ pax: BookingPackagePax[];
6
+ }
@@ -1,7 +1,9 @@
1
1
  export interface BookingPackageRoomOption {
2
2
  entryLineGuid: string;
3
- accommodatioName: string;
3
+ accommodationName: string;
4
4
  regimeName: string;
5
5
  price: number;
6
6
  isSelected: boolean;
7
+ from: Date;
8
+ to: Date;
7
9
  }
@@ -1,6 +1,6 @@
1
- import { BookingPackageRoomOption } from "./booking-package-room-option";
2
-
3
- export interface BookingPackageRoom {
4
- index: number;
5
- options: BookingPackageRoomOption[];
6
- }
1
+ import { BookingPackageRoomOption } from "./booking-package-room-option";
2
+
3
+ export interface BookingPackageRoom {
4
+ index: number;
5
+ options: BookingPackageRoomOption[];
6
+ }
@@ -27,10 +27,10 @@ export interface BookingPackage {
27
27
  allotmentName: string;
28
28
 
29
29
  rooms: BookingPackageRoom[];
30
- groups: BookingOptionGroup<PerBookingPackageOption>;
30
+ groups: BookingOptionGroup<PerBookingPackageOption>[];
31
31
  optionUnits: BookingOptionUnit[];
32
32
  optionPax: BookingOptionPax[];
33
-
33
+
34
34
  transactionId: string;
35
35
  transactionExpiration: Date;
36
36
  }
@@ -1,17 +1,17 @@
1
- export * from "./booking-option-group";
2
- export * from "./booking-option-pax";
3
- export * from "./booking-option-unit";
4
- export * from "./booking-package-flight";
5
- export * from "./booking-package-hotel-option";
6
- export * from "./booking-package-hotel-room";
7
- export * from "./booking-package-hotel";
8
- export * from "./booking-package-line";
9
- export * from "./booking-package-pax";
10
- export * from "./booking-package-request-room";
11
- export * from "./booking-package-room-option";
12
- export * from "./booking-package-room";
13
- export * from "./booking-package";
14
- export * from "./per-booking-package-option";
15
- export * from "./per-package-option";
16
- export * from "./per-pax-package-option";
17
- export * from "./per-unit-package-option";
1
+ export * from "./booking-option-group";
2
+ export * from "./booking-option-pax";
3
+ export * from "./booking-option-unit";
4
+ export * from "./booking-package-flight";
5
+ export * from "./booking-package-hotel-option";
6
+ export * from "./booking-package-hotel-room";
7
+ export * from "./booking-package-hotel";
8
+ export * from "./booking-package-line";
9
+ export * from "./booking-package-pax";
10
+ export * from "./booking-package-request-room";
11
+ export * from "./booking-package-room-option";
12
+ export * from "./booking-package-room";
13
+ export * from "./booking-package";
14
+ export * from "./per-booking-package-option";
15
+ export * from "./per-package-option";
16
+ export * from "./per-pax-package-option";
17
+ export * from "./per-unit-package-option";
@@ -1,10 +1,10 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { BookingOptionPax } from "./booking-option-pax";
3
- import { BookingOptionUnit } from "./booking-option-unit";
4
- import { PerPackageOption } from "./per-package-option";
5
-
6
- export interface PerBookingPackageOption extends PerPackageOption {
7
- groups: BookingOptionGroup<PerBookingPackageOption>;
8
- units: BookingOptionUnit[];
9
- pax: BookingOptionPax[];
10
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { BookingOptionPax } from "./booking-option-pax";
3
+ import { BookingOptionUnit } from "./booking-option-unit";
4
+ import { PerPackageOption } from "./per-package-option";
5
+
6
+ export interface PerBookingPackageOption extends PerPackageOption {
7
+ groups: BookingOptionGroup<PerBookingPackageOption>;
8
+ units: BookingOptionUnit[];
9
+ pax: BookingOptionPax[];
10
+ }
@@ -3,6 +3,7 @@ import { BookingPackageLine } from "./booking-package-line";
3
3
  export interface PerPackageOption {
4
4
  line: BookingPackageLine;
5
5
  isSelected: boolean;
6
+ isHotelPool: boolean;
6
7
  isDefault: boolean;
7
8
  requirementType?: number;
8
9
  alternatives: BookingPackageLine[];
@@ -1,6 +1,6 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { PerPackageOption } from "./per-package-option";
3
-
4
- export interface PerPaxPackageOption extends PerPackageOption {
5
- groups: BookingOptionGroup<PerPaxPackageOption>[];
6
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { PerPackageOption } from "./per-package-option";
3
+
4
+ export interface PerPaxPackageOption extends PerPackageOption {
5
+ groups: BookingOptionGroup<PerPaxPackageOption>[];
6
+ }
@@ -1,8 +1,8 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { BookingOptionPax } from "./booking-option-pax";
3
- import { PerPackageOption } from "./per-package-option";
4
-
5
- export interface PerUnitPackageOption extends PerPackageOption {
6
- groups: BookingOptionGroup<PerUnitPackageOption>[];
7
- pax: BookingOptionPax[];
8
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { BookingOptionPax } from "./booking-option-pax";
3
+ import { PerPackageOption } from "./per-package-option";
4
+
5
+ export interface PerUnitPackageOption extends PerPackageOption {
6
+ groups: BookingOptionGroup<PerUnitPackageOption>[];
7
+ pax: BookingOptionPax[];
8
+ }
@@ -1,65 +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 "./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
+ 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";