@qite/tide-client 1.0.13 → 1.0.16

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 (189) hide show
  1. package/build/index.d.ts +10 -48
  2. package/build/index.js +441 -513
  3. package/build/index.js.map +1 -1
  4. package/build/types/aapi/accommodation-occupancy.d.ts +9 -9
  5. package/build/types/aapi/accommodation-with-available-places.d.ts +14 -14
  6. package/build/types/aapi/accommodation.d.ts +7 -7
  7. package/build/types/aapi/additional-services.d.ts +6 -6
  8. package/build/types/aapi/alternative-flight-data.d.ts +10 -10
  9. package/build/types/aapi/alternative-flight-leg.d.ts +18 -18
  10. package/build/types/aapi/alternative-flight.d.ts +12 -12
  11. package/build/types/aapi/availability-request.d.ts +12 -12
  12. package/build/types/aapi/availability.d.ts +5 -5
  13. package/build/types/aapi/available-products-request.d.ts +32 -32
  14. package/build/types/aapi/duration.d.ts +4 -4
  15. package/build/types/aapi/flight-leg.d.ts +18 -18
  16. package/build/types/aapi/flight.d.ts +23 -23
  17. package/build/types/aapi/hotel.d.ts +35 -35
  18. package/build/types/aapi/index.d.ts +22 -22
  19. package/build/types/aapi/mollie-payment-request.d.ts +6 -6
  20. package/build/types/aapi/mollie-payment.d.ts +3 -3
  21. package/build/types/aapi/option-pax.d.ts +4 -4
  22. package/build/types/aapi/option.d.ts +21 -28
  23. package/build/types/aapi/pax.d.ts +4 -4
  24. package/build/types/aapi/price-detail.d.ts +8 -8
  25. package/build/types/aapi/regime.d.ts +5 -5
  26. package/build/types/aapi/traveler-grouping.d.ts +5 -5
  27. package/build/types/enums/allotment-type.d.ts +5 -5
  28. package/build/types/enums/availability-search-type.d.ts +4 -4
  29. package/build/types/enums/dossier-type.d.ts +6 -6
  30. package/build/types/enums/entry-line-flag.d.ts +6 -6
  31. package/build/types/enums/entry-line-status.d.ts +19 -19
  32. package/build/types/enums/entry-status.d.ts +8 -8
  33. package/build/types/enums/export-status.d.ts +5 -5
  34. package/build/types/enums/gender.d.ts +5 -5
  35. package/build/types/enums/index.d.ts +15 -15
  36. package/build/types/enums/meta-data-type.d.ts +10 -10
  37. package/build/types/enums/payment-type.d.ts +6 -6
  38. package/build/types/enums/price-chart-type.d.ts +4 -4
  39. package/build/types/enums/requirement-type.d.ts +5 -5
  40. package/build/types/enums/room-type.d.ts +8 -8
  41. package/build/types/enums/sale-type.d.ts +4 -4
  42. package/build/types/enums/service-type.d.ts +26 -26
  43. package/build/types/index.d.ts +4 -26
  44. package/build/types/offer/additional-services.d.ts +6 -6
  45. package/build/types/offer/address.d.ts +11 -11
  46. package/build/types/offer/alternative-flight-data.d.ts +10 -10
  47. package/build/types/offer/alternative-flight-leg.d.ts +18 -18
  48. package/build/types/offer/alternative-flight.d.ts +14 -14
  49. package/build/types/offer/available-package-accommodation.d.ts +7 -7
  50. package/build/types/offer/available-package-flight.d.ts +9 -9
  51. package/build/types/offer/available-package-option.d.ts +12 -17
  52. package/build/types/offer/available-package-pax-price.d.ts +6 -6
  53. package/build/types/offer/available-package-regime.d.ts +4 -4
  54. package/build/types/offer/available-package.d.ts +7 -7
  55. package/build/types/offer/base-price.d.ts +6 -6
  56. package/build/types/offer/base-prices-from-date-request.d.ts +12 -12
  57. package/build/types/offer/base-prices-request.d.ts +12 -12
  58. package/build/types/offer/book-request.d.ts +36 -36
  59. package/build/types/offer/booking-response.d.ts +4 -4
  60. package/build/types/offer/booking-v2/index.d.ts +3 -0
  61. package/build/types/offer/booking-v2/request/booking-package-address.d.ts +13 -0
  62. package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +12 -0
  63. package/build/types/offer/booking-v2/request/booking-package-details-request.d.ts +12 -0
  64. package/build/types/offer/booking-v2/request/booking-package-request.d.ts +5 -0
  65. package/build/types/offer/booking-v2/request/booking-package-search-request.d.ts +20 -0
  66. package/build/types/offer/booking-v2/request/index.d.ts +5 -0
  67. package/build/types/offer/booking-v2/response/booking-package-allotment-info.d.ts +13 -0
  68. package/build/types/offer/booking-v2/response/booking-package-dossier.d.ts +5 -0
  69. package/build/types/offer/booking-v2/response/booking-package-item.d.ts +11 -0
  70. package/build/types/offer/booking-v2/response/booking-price-detail.d.ts +13 -0
  71. package/build/types/offer/booking-v2/response/booking-price-details.d.ts +6 -0
  72. package/build/types/offer/booking-v2/response/booking-price-per-pax.d.ts +4 -0
  73. package/build/types/offer/booking-v2/response/changed-line.d.ts +4 -0
  74. package/build/types/offer/booking-v2/response/index.d.ts +7 -0
  75. package/build/types/offer/booking-v2/shared/booking-option-group.d.ts +5 -0
  76. package/build/types/offer/booking-v2/shared/booking-option-pax.d.ts +7 -0
  77. package/build/types/offer/booking-v2/shared/booking-option-unit.d.ts +6 -0
  78. package/build/types/offer/booking-v2/shared/booking-package-flight.d.ts +11 -0
  79. package/build/types/offer/booking-v2/shared/booking-package-hotel-option.d.ts +7 -0
  80. package/build/types/offer/booking-v2/shared/booking-package-hotel-room.d.ts +5 -0
  81. package/build/types/offer/booking-v2/shared/booking-package-hotel.d.ts +10 -0
  82. package/build/types/offer/booking-v2/shared/booking-package-line.d.ts +7 -0
  83. package/build/types/offer/booking-v2/shared/booking-package-pax.d.ts +16 -0
  84. package/build/types/offer/booking-v2/shared/booking-package-request-room.d.ts +5 -0
  85. package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +7 -0
  86. package/build/types/offer/booking-v2/shared/booking-package-room.d.ts +5 -0
  87. package/build/types/offer/booking-v2/shared/booking-package.d.ts +27 -0
  88. package/build/types/offer/booking-v2/shared/index.d.ts +17 -0
  89. package/build/types/offer/booking-v2/shared/per-booking-package-option.d.ts +9 -0
  90. package/build/types/offer/booking-v2/shared/per-package-option.d.ts +8 -0
  91. package/build/types/offer/booking-v2/shared/per-pax-package-option.d.ts +5 -0
  92. package/build/types/offer/booking-v2/shared/per-unit-package-option.d.ts +7 -0
  93. package/build/types/offer/cached-package-search-result.d.ts +5 -5
  94. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  95. package/build/types/offer/crm-contact-request.d.ts +28 -36
  96. package/build/types/offer/customer-request.d.ts +5 -5
  97. package/build/types/offer/dossier-default-product.d.ts +14 -14
  98. package/build/types/offer/entry-check-response.d.ts +8 -8
  99. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  100. package/build/types/offer/entry-line-pax.d.ts +8 -8
  101. package/build/types/offer/entry-line.d.ts +67 -73
  102. package/build/types/offer/entry-price-line.d.ts +40 -40
  103. package/build/types/offer/entry-room2.d.ts +5 -5
  104. package/build/types/offer/entry.d.ts +49 -59
  105. package/build/types/offer/flight-meta-data-line.d.ts +16 -0
  106. package/build/types/offer/flight-meta-data.d.ts +10 -0
  107. package/build/types/offer/flight-pool.d.ts +5 -5
  108. package/build/types/offer/index.d.ts +65 -62
  109. package/build/types/offer/language.d.ts +5 -5
  110. package/build/types/offer/multiroom-book-request.d.ts +10 -10
  111. package/build/types/offer/note.d.ts +16 -16
  112. package/build/types/offer/other-product.d.ts +13 -13
  113. package/build/types/offer/package-book-request-room.d.ts +5 -5
  114. package/build/types/offer/package-book-request.d.ts +12 -12
  115. package/build/types/offer/package-flight.d.ts +13 -13
  116. package/build/types/offer/package-flights.d.ts +5 -5
  117. package/build/types/offer/package-option.d.ts +22 -22
  118. package/build/types/offer/package-price-details-request-room.d.ts +4 -4
  119. package/build/types/offer/package-price-details-request.d.ts +8 -8
  120. package/build/types/offer/package-room-option.d.ts +10 -10
  121. package/build/types/offer/package-room.d.ts +7 -7
  122. package/build/types/offer/package-search-destination.d.ts +9 -9
  123. package/build/types/offer/package-search-request-date.d.ts +4 -4
  124. package/build/types/offer/package-search-request-room.d.ts +5 -5
  125. package/build/types/offer/package-search-request.d.ts +18 -22
  126. package/build/types/offer/package-search-result.d.ts +12 -12
  127. package/build/types/offer/package-sub-option.d.ts +6 -6
  128. package/build/types/offer/pax.d.ts +29 -29
  129. package/build/types/offer/payment.d.ts +20 -20
  130. package/build/types/offer/person-country-preference.d.ts +7 -7
  131. package/build/types/offer/person-location-preference.d.ts +7 -7
  132. package/build/types/offer/person-oord-preference.d.ts +7 -7
  133. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  134. package/build/types/offer/person-period-preference.d.ts +7 -7
  135. package/build/types/offer/person-region-preference.d.ts +7 -7
  136. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  137. package/build/types/offer/price-detail.d.ts +18 -18
  138. package/build/types/offer/price-per-pax.d.ts +6 -6
  139. package/build/types/offer/product-notification-result.d.ts +9 -9
  140. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  141. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  142. package/build/types/tide-client-config.d.ts +4 -4
  143. package/build/utils/api.d.ts +1 -6
  144. package/build/utils/booking-client.d.ts +102 -169
  145. package/build/utils/booking-v2-client.d.ts +7 -7
  146. package/build/utils/common-client.d.ts +1 -6
  147. package/build/utils/json.d.ts +2 -2
  148. package/build/utils/mollie-client.d.ts +7 -15
  149. package/build/utils/web-client.d.ts +10 -14
  150. package/build/utils/web-contact-client.d.ts +11 -23
  151. package/package.json +1 -1
  152. package/src/index.ts +3 -0
  153. package/src/types/offer/booking-v2/index.ts +3 -0
  154. package/src/types/offer/booking-v2/request/booking-package-address.ts +13 -0
  155. package/src/types/offer/booking-v2/request/booking-package-book-request.ts +14 -0
  156. package/src/types/offer/booking-v2/request/booking-package-details-request.ts +13 -0
  157. package/src/types/offer/booking-v2/request/booking-package-request.ts +5 -0
  158. package/src/types/offer/booking-v2/request/booking-package-search-request.ts +23 -0
  159. package/src/types/offer/booking-v2/request/index.ts +5 -0
  160. package/src/types/offer/booking-v2/response/booking-package-allotment-info.ts +13 -0
  161. package/src/types/offer/booking-v2/response/booking-package-dossier.ts +5 -0
  162. package/src/types/offer/booking-v2/response/booking-package-item.ts +13 -0
  163. package/src/types/offer/booking-v2/response/booking-price-detail.ts +15 -0
  164. package/src/types/offer/booking-v2/response/booking-price-details.ts +7 -0
  165. package/src/types/offer/booking-v2/response/booking-price-per-pax.ts +4 -0
  166. package/src/types/offer/booking-v2/response/changed-line.ts +4 -0
  167. package/src/types/offer/booking-v2/response/index.ts +7 -0
  168. package/src/types/offer/booking-v2/shared/booking-option-group.ts +5 -0
  169. package/src/types/offer/booking-v2/shared/booking-option-pax.ts +8 -0
  170. package/src/types/offer/booking-v2/shared/booking-option-unit.ts +7 -0
  171. package/src/types/offer/booking-v2/shared/booking-package-flight.ts +11 -0
  172. package/src/types/offer/booking-v2/shared/booking-package-hotel-option.ts +7 -0
  173. package/src/types/offer/booking-v2/shared/booking-package-hotel-room.ts +6 -0
  174. package/src/types/offer/booking-v2/shared/booking-package-hotel.ts +13 -0
  175. package/src/types/offer/booking-v2/shared/booking-package-line.ts +7 -0
  176. package/src/types/offer/booking-v2/shared/booking-package-pax.ts +18 -0
  177. package/src/types/offer/booking-v2/shared/booking-package-request-room.ts +6 -0
  178. package/src/types/offer/booking-v2/shared/booking-package-room-option.ts +7 -0
  179. package/src/types/offer/booking-v2/shared/booking-package-room.ts +6 -0
  180. package/src/types/offer/booking-v2/shared/booking-package.ts +33 -0
  181. package/src/types/offer/booking-v2/shared/index.ts +17 -0
  182. package/src/types/offer/booking-v2/shared/per-booking-package-option.ts +10 -0
  183. package/src/types/offer/booking-v2/shared/per-package-option.ts +9 -0
  184. package/src/types/offer/booking-v2/shared/per-pax-package-option.ts +6 -0
  185. package/src/types/offer/booking-v2/shared/per-unit-package-option.ts +8 -0
  186. package/src/types/offer/flight-meta-data-line.ts +16 -0
  187. package/src/types/offer/flight-meta-data.ts +11 -0
  188. package/src/types/offer/index.ts +3 -0
  189. package/src/utils/booking-v2-client.ts +63 -1
@@ -1,18 +1,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
+ 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
- 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
- }
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
+ }
@@ -1,7 +1,7 @@
1
- import { Pax } from "../aapi";
2
- export interface AvailablePackageAccommodation {
3
- id: number;
4
- code: string;
5
- name: string;
6
- pax: Pax[];
7
- }
1
+ import { Pax } from "../aapi";
2
+ export interface AvailablePackageAccommodation {
3
+ id: number;
4
+ code: string;
5
+ name: string;
6
+ pax: Pax[];
7
+ }
@@ -1,9 +1,9 @@
1
- import { EntryLineMetaData } from ".";
2
- export interface AvailablePackageFlight {
3
- code: string;
4
- class: string;
5
- startDateTime: Date;
6
- endDateTime: Date;
7
- externalGuid: string;
8
- metaDatas: EntryLineMetaData[];
9
- }
1
+ import { EntryLineMetaData } from ".";
2
+ export interface AvailablePackageFlight {
3
+ code: string;
4
+ class: string;
5
+ startDateTime: Date;
6
+ endDateTime: Date;
7
+ externalGuid: string;
8
+ metaDatas: EntryLineMetaData[];
9
+ }
@@ -1,17 +1,12 @@
1
- import {
2
- AvailablePackageAccommodation,
3
- AvailablePackageFlight,
4
- AvailablePackagePaxPrice,
5
- AvailablePackageRegime,
6
- } from ".";
7
- export interface AvailablePackageOption {
8
- accommodations: AvailablePackageAccommodation[];
9
- regime: AvailablePackageRegime;
10
- from: Date;
11
- to: Date;
12
- outwardFlight: AvailablePackageFlight;
13
- returnFlight: AvailablePackageFlight;
14
- price: number;
15
- pricePerPax: AvailablePackagePaxPrice[];
16
- averagePricePerPax: number;
17
- }
1
+ import { AvailablePackageAccommodation, AvailablePackageFlight, AvailablePackagePaxPrice, AvailablePackageRegime } from ".";
2
+ export interface AvailablePackageOption {
3
+ accommodations: AvailablePackageAccommodation[];
4
+ regime: AvailablePackageRegime;
5
+ from: Date;
6
+ to: Date;
7
+ outwardFlight: AvailablePackageFlight;
8
+ returnFlight: AvailablePackageFlight;
9
+ price: number;
10
+ pricePerPax: AvailablePackagePaxPrice[];
11
+ averagePricePerPax: number;
12
+ }
@@ -1,6 +1,6 @@
1
- export interface AvailablePackagePaxPrice {
2
- paxId: number;
3
- guid: string;
4
- age: number;
5
- price: number;
6
- }
1
+ export interface AvailablePackagePaxPrice {
2
+ paxId: number;
3
+ guid: string;
4
+ age: number;
5
+ price: number;
6
+ }
@@ -1,4 +1,4 @@
1
- export interface AvailablePackageRegime {
2
- code: string;
3
- name: string;
4
- }
1
+ export interface AvailablePackageRegime {
2
+ code: string;
3
+ name: string;
4
+ }
@@ -1,7 +1,7 @@
1
- import { AvailablePackageOption } from ".";
2
- export interface AvailablePackage {
3
- catalogId: number;
4
- code: string;
5
- name: string;
6
- option: AvailablePackageOption;
7
- }
1
+ import { AvailablePackageOption } from ".";
2
+ export interface AvailablePackage {
3
+ catalogId: number;
4
+ code: string;
5
+ name: string;
6
+ option: AvailablePackageOption;
7
+ }
@@ -1,6 +1,6 @@
1
- export interface BasePrice {
2
- date: Date;
3
- dateString: string;
4
- pricePerPerson: number;
5
- oldPricePerPerson: number;
6
- }
1
+ export interface BasePrice {
2
+ date: Date;
3
+ dateString: string;
4
+ pricePerPerson: number;
5
+ oldPricePerPerson: number;
6
+ }
@@ -1,12 +1,12 @@
1
- export interface BasePricesFromDateRequest {
2
- officeId: number;
3
- catalogueId: number;
4
- productId: number;
5
- accommodationId: number;
6
- regimeCode?: string;
7
- from: Date;
8
- to: Date;
9
- travellerCount: number;
10
- departureFlightCode?: string;
11
- returnFlightCode?: string;
12
- }
1
+ export interface BasePricesFromDateRequest {
2
+ officeId: number;
3
+ catalogueId: number;
4
+ productId: number;
5
+ accommodationId: number;
6
+ regimeCode?: string;
7
+ from: Date;
8
+ to: Date;
9
+ travellerCount: number;
10
+ departureFlightCode?: string;
11
+ returnFlightCode?: string;
12
+ }
@@ -1,12 +1,12 @@
1
- export interface BasePricesRequest {
2
- officeId: number;
3
- catalogueId: number;
4
- productId: number;
5
- accommodationId: number;
6
- regimeCode?: string;
7
- duration: number;
8
- from: Date;
9
- to: Date;
10
- departureFlightCode?: string;
11
- returnFlightCode?: string;
12
- }
1
+ export interface BasePricesRequest {
2
+ officeId: number;
3
+ catalogueId: number;
4
+ productId: number;
5
+ accommodationId: number;
6
+ regimeCode?: string;
7
+ duration: number;
8
+ from: Date;
9
+ to: Date;
10
+ departureFlightCode?: string;
11
+ returnFlightCode?: string;
12
+ }
@@ -1,36 +1,36 @@
1
- import { Address, Pax, Payment } from ".";
2
- import { Flight } from "../aapi";
3
- export interface BookRequest {
4
- officeId: number;
5
- agentId: number;
6
- customEntryStatusId?: number;
7
- productCode: string;
8
- accommodationCode?: string;
9
- regimeCode?: string;
10
- travelers?: Pax[];
11
- payments?: Payment[];
12
- startDate: Date;
13
- endDate: Date;
14
- departureFlight?: Flight;
15
- returnFlight?: Flight;
16
- address: Address;
17
- externalProvider?: string;
18
- addDefaultProducts?: boolean;
19
- isThirdPartyProduct?: boolean;
20
- productName?: string;
21
- accommodationName?: string;
22
- regimeName?: string;
23
- currencyId?: number;
24
- financialProductTypeId?: number;
25
- marginFinancialProductTypeId?: number;
26
- billingAddressId?: number;
27
- supplierAddressId?: number;
28
- countryId?: number;
29
- regionId?: number;
30
- oordId?: number;
31
- locationId?: number;
32
- salesUnitId?: number;
33
- basePrice?: number;
34
- marginPrice?: number;
35
- catalogueId: number;
36
- }
1
+ import { Address, Pax, Payment } from ".";
2
+ import { Flight } from "../aapi";
3
+ export interface BookRequest {
4
+ officeId: number;
5
+ agentId: number;
6
+ customEntryStatusId?: number;
7
+ productCode: string;
8
+ accommodationCode?: string;
9
+ regimeCode?: string;
10
+ travelers?: Pax[];
11
+ payments?: Payment[];
12
+ startDate: Date;
13
+ endDate: Date;
14
+ departureFlight?: Flight;
15
+ returnFlight?: Flight;
16
+ address: Address;
17
+ externalProvider?: string;
18
+ addDefaultProducts?: boolean;
19
+ isThirdPartyProduct?: boolean;
20
+ productName?: string;
21
+ accommodationName?: string;
22
+ regimeName?: string;
23
+ currencyId?: number;
24
+ financialProductTypeId?: number;
25
+ marginFinancialProductTypeId?: number;
26
+ billingAddressId?: number;
27
+ supplierAddressId?: number;
28
+ countryId?: number;
29
+ regionId?: number;
30
+ oordId?: number;
31
+ locationId?: number;
32
+ salesUnitId?: number;
33
+ basePrice?: number;
34
+ marginPrice?: number;
35
+ catalogueId: number;
36
+ }
@@ -1,4 +1,4 @@
1
- export interface BookingResponse {
2
- hasErrors: boolean;
3
- dossierNumber: string;
4
- }
1
+ export interface BookingResponse {
2
+ hasErrors: boolean;
3
+ dossierNumber: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./request";
2
+ export * from "./response";
3
+ export * from "./shared";
@@ -0,0 +1,13 @@
1
+ export interface BookingPackageAddress {
2
+ name: string;
3
+ street: string;
4
+ number: string;
5
+ box: string;
6
+ postalCode: string;
7
+ location: String;
8
+ country: string;
9
+ mobilePhone: string;
10
+ phone: string;
11
+ email: string;
12
+ vatNumber: string;
13
+ }
@@ -0,0 +1,12 @@
1
+ import { BookingPackage } from "../shared";
2
+ import { BookingPackagePax } from "../shared/booking-package-pax";
3
+ import { BookingPackageAddress } from "./booking-package-address";
4
+ export interface BookingPackageBookRequest {
5
+ saleType?: number;
6
+ status: number;
7
+ customStatusId: number;
8
+ package: BookingPackage;
9
+ adddress: BookingPackageAddress;
10
+ pax: BookingPackagePax[];
11
+ nonTravelPax: BookingPackagePax[];
12
+ }
@@ -0,0 +1,12 @@
1
+ import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
+ export interface BookingPackageDetailsRequest {
3
+ catalogueId?: number;
4
+ rooms: BookingPackageRequestRoom[];
5
+ searchType: number;
6
+ productCode: string;
7
+ allotmentName: string;
8
+ tourCode: string;
9
+ fromDate: Date;
10
+ toDate: Date;
11
+ includeFlights: boolean;
12
+ }
@@ -0,0 +1,5 @@
1
+ export interface BookingPackageRequest<T> {
2
+ officeId: number;
3
+ agentId?: number;
4
+ payload: T;
5
+ }
@@ -0,0 +1,20 @@
1
+ import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
+ export interface BookingPackageSearchRequest {
3
+ catalogueIds: number[];
4
+ rooms: BookingPackageRequestRoom[];
5
+ serviceType?: number;
6
+ searchType?: number;
7
+ productIds: number[];
8
+ productCodes: string[];
9
+ fromDate: Date;
10
+ toDate: Date;
11
+ productTagIds: number[];
12
+ includeFlights: boolean;
13
+ minPrice?: number;
14
+ maxPrice?: number;
15
+ allotmentName: string;
16
+ tourCode: string;
17
+ allotmentTagIds: number[];
18
+ includeClosedAllotments: boolean;
19
+ includeFullyBookedAllotments: boolean;
20
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./booking-package-address";
2
+ export * from "./booking-package-book-request";
3
+ export * from "./booking-package-details-request";
4
+ export * from "./booking-package-request";
5
+ export * from "./booking-package-search-request";
@@ -0,0 +1,13 @@
1
+ export interface BookingPackageAllotmentInfo {
2
+ name: string;
3
+ tourCode: string;
4
+ startTime: string;
5
+ endTime: string;
6
+ totalPlaces: number;
7
+ bookedPlaces: number;
8
+ inOptionPlaces: number;
9
+ status: number;
10
+ customStatusId?: number;
11
+ tagIds: number[];
12
+ allotmentIds: number[];
13
+ }
@@ -0,0 +1,5 @@
1
+ export interface BookingPackageDossier {
2
+ number: string;
3
+ productName: string;
4
+ allotmentName: string;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { BookingPackageAllotmentInfo } from "./booking-package-allotment-info";
2
+ export interface BookingPackageItem {
3
+ code: string;
4
+ name: string;
5
+ price: number;
6
+ type: number;
7
+ fromDate: Date;
8
+ toDate: Date;
9
+ tagIds: number[];
10
+ allotment: BookingPackageAllotmentInfo;
11
+ }
@@ -0,0 +1,13 @@
1
+ import { BookingPricePerPax } from "./booking-price-per-pax";
2
+ export interface BookingPriceDetail {
3
+ productName: string;
4
+ priceDescription: string;
5
+ price: number;
6
+ amount: number;
7
+ total: number;
8
+ pricePerPax: BookingPricePerPax[];
9
+ isInpackage: boolean;
10
+ isSeparate: boolean;
11
+ showPrice: boolean;
12
+ requirementType?: number;
13
+ }
@@ -0,0 +1,6 @@
1
+ import { BookingPriceDetail } from "./booking-price-detail";
2
+ import { ChangedLine } from "./changed-line";
3
+ export interface BookingPriceDetails {
4
+ details: BookingPriceDetail[];
5
+ changedLines: ChangedLine[];
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface BookingPricePerPax {
2
+ paxId: number;
3
+ price: number;
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface ChangedLine {
2
+ entryLineGuid: string;
3
+ price: number;
4
+ }
@@ -0,0 +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";
@@ -0,0 +1,5 @@
1
+ export interface BookingOptionGroup<T> {
2
+ name: string;
3
+ title: string;
4
+ options: T[];
5
+ }
@@ -0,0 +1,7 @@
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { PerPaxPackageOption } from "./per-pax-package-option";
3
+ export interface BookingOptionPax {
4
+ id: number;
5
+ paxName: string;
6
+ groups: BookingOptionGroup<PerPaxPackageOption>[];
7
+ }
@@ -0,0 +1,6 @@
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { PerUnitPackageOption } from "./per-unit-package-option";
3
+ export interface BookingOptionUnit {
4
+ index: number;
5
+ groups: BookingOptionGroup<PerUnitPackageOption>[];
6
+ }
@@ -0,0 +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
+ }
@@ -0,0 +1,7 @@
1
+ export interface BookingPackageHotelOption {
2
+ entryLineGuid: string;
3
+ accommodationName: string;
4
+ regimeName: string;
5
+ price: number;
6
+ isSelected: boolean;
7
+ }
@@ -0,0 +1,5 @@
1
+ import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
+ export interface BookingPackageHotelRoom {
3
+ index: number;
4
+ options: BookingPackageHotelOption[];
5
+ }
@@ -0,0 +1,10 @@
1
+ import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
+ export interface BookingPackageHotel {
3
+ name: string;
4
+ isSelected: boolean;
5
+ cheapestPrice: number;
6
+ latitude: number;
7
+ longitude: number;
8
+ rooms: BookingPackageHotelRoom[];
9
+ combinations: string[][];
10
+ }
@@ -0,0 +1,7 @@
1
+ export interface BookingPackageLine {
2
+ entryLineGuid: string;
3
+ productName: string;
4
+ accommodationName: string;
5
+ regimeName: string;
6
+ price: number;
7
+ }
@@ -0,0 +1,16 @@
1
+ export interface BookingPackagePax {
2
+ id: number;
3
+ age?: number;
4
+ guid: string;
5
+ dateOfBirth?: Date;
6
+ firstName: string;
7
+ lastName: string;
8
+ salutationId?: number;
9
+ preferredLanguageId?: number;
10
+ gender?: number;
11
+ isMainBooker: boolean;
12
+ initials: string;
13
+ email: string;
14
+ phone: string;
15
+ mobilePhone: string;
16
+ }
@@ -0,0 +1,5 @@
1
+ import { BookingPackagePax } from "./booking-package-pax";
2
+ export interface BookingPackageRequestRoom {
3
+ index: number;
4
+ pax: BookingPackagePax[];
5
+ }
@@ -0,0 +1,7 @@
1
+ export interface BookingPackageRoomOption {
2
+ entryLineGuid: string;
3
+ accommodatioName: string;
4
+ regimeName: string;
5
+ price: number;
6
+ isSelected: boolean;
7
+ }
@@ -0,0 +1,5 @@
1
+ import { BookingPackageRoomOption } from "./booking-package-room-option";
2
+ export interface BookingPackageRoom {
3
+ index: number;
4
+ options: BookingPackageRoomOption[];
5
+ }
@@ -0,0 +1,27 @@
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { BookingOptionPax } from "./booking-option-pax";
3
+ import { BookingOptionUnit } from "./booking-option-unit";
4
+ import { BookingPackageFlight } from "./booking-package-flight";
5
+ import { BookingPackageHotel } from "./booking-package-hotel";
6
+ import { BookingPackageRequestRoom } from "./booking-package-request-room";
7
+ import { BookingPackageRoom } from "./booking-package-room";
8
+ import { PerBookingPackageOption } from "./per-booking-package-option";
9
+ export interface BookingPackage {
10
+ catalogueId: number;
11
+ code: string;
12
+ name: string;
13
+ price: number;
14
+ serviceType: number;
15
+ requestRooms: BookingPackageRequestRoom[];
16
+ fromDate: Date;
17
+ toDate: Date;
18
+ outwardFlights: BookingPackageFlight;
19
+ returnFlights: BookingPackageFlight;
20
+ hotels: BookingPackageHotel[];
21
+ allotmentTourCode: string;
22
+ allotmentName: string;
23
+ rooms: BookingPackageRoom[];
24
+ groups: BookingOptionGroup<PerBookingPackageOption>;
25
+ optionUnits: BookingOptionUnit[];
26
+ optionPax: BookingOptionPax[];
27
+ }
@@ -0,0 +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";