@qite/tide-client 1.1.21 → 1.1.22

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 (194) hide show
  1. package/build/index.d.ts +14 -53
  2. package/build/index.js +4636 -4777
  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/company/agent-print-action-request.d.ts +11 -11
  28. package/build/types/company/agent-print-action.d.ts +6 -6
  29. package/build/types/company/index.d.ts +2 -2
  30. package/build/types/enums/allotment-type.d.ts +5 -5
  31. package/build/types/enums/availability-search-type.d.ts +4 -4
  32. package/build/types/enums/dossier-type.d.ts +6 -6
  33. package/build/types/enums/entry-line-flag.d.ts +6 -6
  34. package/build/types/enums/entry-line-status.d.ts +19 -19
  35. package/build/types/enums/entry-status.d.ts +8 -8
  36. package/build/types/enums/export-status.d.ts +5 -5
  37. package/build/types/enums/gender.d.ts +5 -5
  38. package/build/types/enums/index.d.ts +16 -16
  39. package/build/types/enums/meta-data-type.d.ts +10 -10
  40. package/build/types/enums/payment-type.d.ts +6 -6
  41. package/build/types/enums/price-chart-type.d.ts +4 -4
  42. package/build/types/enums/print-action-group.d.ts +10 -10
  43. package/build/types/enums/requirement-type.d.ts +5 -5
  44. package/build/types/enums/room-type.d.ts +8 -8
  45. package/build/types/enums/sale-type.d.ts +4 -4
  46. package/build/types/enums/service-type.d.ts +28 -28
  47. package/build/types/index.d.ts +5 -27
  48. package/build/types/offer/additional-services.d.ts +6 -6
  49. package/build/types/offer/address.d.ts +11 -11
  50. package/build/types/offer/affiliate.d.ts +5 -5
  51. package/build/types/offer/alternative-flight-data.d.ts +10 -10
  52. package/build/types/offer/alternative-flight-leg.d.ts +18 -18
  53. package/build/types/offer/alternative-flight.d.ts +14 -14
  54. package/build/types/offer/available-package-accommodation.d.ts +7 -7
  55. package/build/types/offer/available-package-flight.d.ts +9 -9
  56. package/build/types/offer/available-package-option.d.ts +12 -17
  57. package/build/types/offer/available-package-pax-price.d.ts +6 -6
  58. package/build/types/offer/available-package-regime.d.ts +4 -4
  59. package/build/types/offer/available-package.d.ts +7 -7
  60. package/build/types/offer/base-price.d.ts +6 -6
  61. package/build/types/offer/base-prices-from-date-request.d.ts +12 -12
  62. package/build/types/offer/base-prices-request.d.ts +12 -12
  63. package/build/types/offer/book-request.d.ts +36 -36
  64. package/build/types/offer/booking-response.d.ts +4 -4
  65. package/build/types/offer/booking-v2/index.d.ts +3 -3
  66. package/build/types/offer/booking-v2/request/bookable-dates-request.d.ts +4 -4
  67. package/build/types/offer/booking-v2/request/booking-package-address.d.ts +14 -14
  68. package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +20 -20
  69. package/build/types/offer/booking-v2/request/booking-package-destination.d.ts +9 -9
  70. package/build/types/offer/booking-v2/request/booking-package-details-request.d.ts +21 -21
  71. package/build/types/offer/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -12
  72. package/build/types/offer/booking-v2/request/booking-package-request.d.ts +5 -5
  73. package/build/types/offer/booking-v2/request/booking-package-search-request.d.ts +26 -26
  74. package/build/types/offer/booking-v2/request/booking-package-voucher-request.d.ts +4 -4
  75. package/build/types/offer/booking-v2/request/index.d.ts +12 -11
  76. package/build/types/offer/booking-v2/request/selected-flight.d.ts +6 -6
  77. package/build/types/offer/booking-v2/request/selected-hotel.d.ts +5 -5
  78. package/build/types/offer/booking-v2/request/tour-codes-request.d.ts +3 -0
  79. package/build/types/offer/booking-v2/request/tour-codes.request.d.ts +3 -0
  80. package/build/types/offer/booking-v2/response/bookable-dates.d.ts +4 -4
  81. package/build/types/offer/booking-v2/response/booking-package-allotment-info.d.ts +17 -17
  82. package/build/types/offer/booking-v2/response/booking-package-dossier.d.ts +6 -6
  83. package/build/types/offer/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
  84. package/build/types/offer/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
  85. package/build/types/offer/booking-v2/response/booking-package-item.d.ts +39 -39
  86. package/build/types/offer/booking-v2/response/booking-price-detail.d.ts +16 -16
  87. package/build/types/offer/booking-v2/response/booking-price-details.d.ts +9 -9
  88. package/build/types/offer/booking-v2/response/booking-price-per-pax.d.ts +4 -4
  89. package/build/types/offer/booking-v2/response/booking-product-notification.d.ts +7 -7
  90. package/build/types/offer/booking-v2/response/booking-travel-agent.d.ts +7 -7
  91. package/build/types/offer/booking-v2/response/booking-voucher-result.d.ts +3 -3
  92. package/build/types/offer/booking-v2/response/changed-line.d.ts +4 -4
  93. package/build/types/offer/booking-v2/response/index.d.ts +15 -14
  94. package/build/types/offer/booking-v2/response/tide-response.d.ts +8 -8
  95. package/build/types/offer/booking-v2/response/tour-codes-response.d.ts +3 -0
  96. package/build/types/offer/booking-v2/shared/booking-option-group.d.ts +5 -5
  97. package/build/types/offer/booking-v2/shared/booking-option-pax.d.ts +7 -7
  98. package/build/types/offer/booking-v2/shared/booking-option-unit.d.ts +6 -6
  99. package/build/types/offer/booking-v2/shared/booking-package-availability.d.ts +7 -7
  100. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +17 -17
  101. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
  102. package/build/types/offer/booking-v2/shared/booking-package-flight.d.ts +14 -14
  103. package/build/types/offer/booking-v2/shared/booking-package-hotel-option.d.ts +10 -10
  104. package/build/types/offer/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  105. package/build/types/offer/booking-v2/shared/booking-package-hotel.d.ts +20 -20
  106. package/build/types/offer/booking-v2/shared/booking-package-line.d.ts +12 -12
  107. package/build/types/offer/booking-v2/shared/booking-package-option.d.ts +40 -40
  108. package/build/types/offer/booking-v2/shared/booking-package-pax.d.ts +17 -17
  109. package/build/types/offer/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  110. package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +17 -17
  111. package/build/types/offer/booking-v2/shared/booking-package-room.d.ts +5 -5
  112. package/build/types/offer/booking-v2/shared/booking-package-tag.d.ts +5 -5
  113. package/build/types/offer/booking-v2/shared/booking-package.d.ts +11 -11
  114. package/build/types/offer/booking-v2/shared/index.d.ts +19 -19
  115. package/build/types/offer/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  116. package/build/types/offer/booking-v2/shared/per-package-option.d.ts +9 -9
  117. package/build/types/offer/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  118. package/build/types/offer/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  119. package/build/types/offer/cached-package-search-result.d.ts +5 -5
  120. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  121. package/build/types/offer/country-item.d.ts +4 -4
  122. package/build/types/offer/crm-contact-request.d.ts +28 -36
  123. package/build/types/offer/customer-request.d.ts +5 -5
  124. package/build/types/offer/dossier-default-product.d.ts +14 -14
  125. package/build/types/offer/entry-check-response.d.ts +8 -8
  126. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  127. package/build/types/offer/entry-line-pax.d.ts +8 -8
  128. package/build/types/offer/entry-line.d.ts +67 -73
  129. package/build/types/offer/entry-price-line.d.ts +40 -40
  130. package/build/types/offer/entry-room2.d.ts +5 -5
  131. package/build/types/offer/entry.d.ts +49 -59
  132. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  133. package/build/types/offer/flight-meta-data.d.ts +14 -14
  134. package/build/types/offer/flight-pool.d.ts +5 -5
  135. package/build/types/offer/index.d.ts +72 -72
  136. package/build/types/offer/language.d.ts +5 -5
  137. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  138. package/build/types/offer/member-forgot-password-request.d.ts +4 -4
  139. package/build/types/offer/member-info.d.ts +10 -10
  140. package/build/types/offer/member-login-request.d.ts +4 -4
  141. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  142. package/build/types/offer/multiroom-book-request.d.ts +10 -10
  143. package/build/types/offer/note.d.ts +16 -16
  144. package/build/types/offer/other-product.d.ts +13 -13
  145. package/build/types/offer/package-book-request-room.d.ts +5 -5
  146. package/build/types/offer/package-book-request.d.ts +12 -12
  147. package/build/types/offer/package-flight.d.ts +13 -13
  148. package/build/types/offer/package-flights.d.ts +5 -5
  149. package/build/types/offer/package-option.d.ts +22 -22
  150. package/build/types/offer/package-price-details-request-room.d.ts +4 -4
  151. package/build/types/offer/package-price-details-request.d.ts +8 -8
  152. package/build/types/offer/package-room-option.d.ts +10 -10
  153. package/build/types/offer/package-room.d.ts +7 -7
  154. package/build/types/offer/package-search-destination.d.ts +9 -9
  155. package/build/types/offer/package-search-request-date.d.ts +4 -4
  156. package/build/types/offer/package-search-request-room.d.ts +5 -5
  157. package/build/types/offer/package-search-request.d.ts +18 -22
  158. package/build/types/offer/package-search-result.d.ts +12 -12
  159. package/build/types/offer/package-sub-option.d.ts +6 -6
  160. package/build/types/offer/page-result.d.ts +5 -5
  161. package/build/types/offer/pax.d.ts +29 -29
  162. package/build/types/offer/payment.d.ts +20 -20
  163. package/build/types/offer/person-country-preference.d.ts +7 -7
  164. package/build/types/offer/person-location-preference.d.ts +7 -7
  165. package/build/types/offer/person-oord-preference.d.ts +7 -7
  166. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  167. package/build/types/offer/person-period-preference.d.ts +7 -7
  168. package/build/types/offer/person-region-preference.d.ts +7 -7
  169. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  170. package/build/types/offer/price-detail.d.ts +18 -18
  171. package/build/types/offer/price-per-pax.d.ts +6 -6
  172. package/build/types/offer/product-notification-result.d.ts +9 -9
  173. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  174. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  175. package/build/types/tide-client-config.d.ts +4 -4
  176. package/build/utils/api.d.ts +2 -11
  177. package/build/utils/booking-client.d.ts +114 -181
  178. package/build/utils/booking-v2-client.d.ts +16 -82
  179. package/build/utils/common-client.d.ts +2 -13
  180. package/build/utils/json.d.ts +2 -2
  181. package/build/utils/member-client.d.ts +7 -32
  182. package/build/utils/mollie-client.d.ts +7 -15
  183. package/build/utils/search-client.d.ts +9 -12
  184. package/build/utils/web-agent-client.d.ts +17 -30
  185. package/build/utils/web-client.d.ts +19 -26
  186. package/build/utils/web-contact-client.d.ts +11 -23
  187. package/build/utils/web-file.d.ts +10 -14
  188. package/package.json +1 -1
  189. package/src/types/offer/booking-v2/request/booking-package-search-request.ts +1 -1
  190. package/src/types/offer/booking-v2/request/index.ts +4 -3
  191. package/src/types/offer/booking-v2/request/tour-codes.request.ts +3 -0
  192. package/src/types/offer/booking-v2/response/index.ts +6 -5
  193. package/src/types/offer/booking-v2/response/tour-codes-response.ts +3 -0
  194. package/src/utils/booking-v2-client.ts +15 -0
@@ -1,9 +1,9 @@
1
- import { BookingPriceDetail } from "./booking-price-detail";
2
- import { BookingProductNotification } from "./booking-product-notification";
3
- import { ChangedLine } from "./changed-line";
4
- export interface BookingPriceDetails {
5
- details: BookingPriceDetail[];
6
- changedLines: ChangedLine[];
7
- notifications: BookingProductNotification[];
8
- deposit?: number;
9
- }
1
+ import { BookingPriceDetail } from "./booking-price-detail";
2
+ import { BookingProductNotification } from "./booking-product-notification";
3
+ import { ChangedLine } from "./changed-line";
4
+ export interface BookingPriceDetails {
5
+ details: BookingPriceDetail[];
6
+ changedLines: ChangedLine[];
7
+ notifications: BookingProductNotification[];
8
+ deposit?: number;
9
+ }
@@ -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,7 +1,7 @@
1
- export interface BookingProductNotification {
2
- id: number;
3
- title: string;
4
- description: string;
5
- hasToBeConfirmed: boolean;
6
- isConfirmed: boolean;
7
- }
1
+ export interface BookingProductNotification {
2
+ id: number;
3
+ title: string;
4
+ description: string;
5
+ hasToBeConfirmed: boolean;
6
+ isConfirmed: boolean;
7
+ }
@@ -1,7 +1,7 @@
1
- export interface BookingTravelAgent {
2
- id: number;
3
- name: string;
4
- location: string;
5
- postalCode: string;
6
- affiliateSlug: string;
7
- }
1
+ export interface BookingTravelAgent {
2
+ id: number;
3
+ name: string;
4
+ location: string;
5
+ postalCode: string;
6
+ affiliateSlug: string;
7
+ }
@@ -1,3 +1,3 @@
1
- export interface BookingVoucherResult {
2
- isValid: boolean;
3
- }
1
+ export interface BookingVoucherResult {
2
+ isValid: boolean;
3
+ }
@@ -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,14 +1,15 @@
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 "./booking-travel-agent";
8
- export * from "./changed-line";
9
- export * from "./booking-package-flight-pool";
10
- export * from "./booking-package-hotel-pool";
11
- export * from "./tide-response";
12
- export * from "./booking-product-notification";
13
- export * from "./bookable-dates";
14
- export * from "./booking-voucher-result";
1
+ export * from "./bookable-dates";
2
+ export * from "./booking-package-allotment-info";
3
+ export * from "./booking-package-dossier";
4
+ export * from "./booking-package-flight-pool";
5
+ export * from "./booking-package-hotel-pool";
6
+ export * from "./booking-package-item";
7
+ export * from "./booking-price-detail";
8
+ export * from "./booking-price-details";
9
+ export * from "./booking-price-per-pax";
10
+ export * from "./booking-product-notification";
11
+ export * from "./booking-travel-agent";
12
+ export * from "./booking-voucher-result";
13
+ export * from "./changed-line";
14
+ export * from "./tide-response";
15
+ export * from "./tour-codes-response";
@@ -1,8 +1,8 @@
1
- export interface TideResponse<T> {
2
- payload: T;
3
- errorCode?: number;
4
- errorMessage?: string;
5
- errorDetails?: {
6
- [name: string]: string;
7
- };
8
- }
1
+ export interface TideResponse<T> {
2
+ payload: T;
3
+ errorCode?: number;
4
+ errorMessage?: string;
5
+ errorDetails?: {
6
+ [name: string]: string;
7
+ };
8
+ }
@@ -0,0 +1,3 @@
1
+ export interface TourCodesResponse {
2
+ tourCodes: string[];
3
+ }
@@ -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,7 +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
- }
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
+ }
@@ -1,6 +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
- }
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
+ }
@@ -1,7 +1,7 @@
1
- export interface BookingPackageAvailability {
2
- code: string;
3
- count: number;
4
- fromDate: string;
5
- toDate: string;
6
- tourCode: string;
7
- }
1
+ export interface BookingPackageAvailability {
2
+ code: string;
3
+ count: number;
4
+ fromDate: string;
5
+ toDate: string;
6
+ tourCode: string;
7
+ }
@@ -1,17 +1,17 @@
1
- export interface BookingPackageFlightMetaDataLine {
2
- number: string;
3
- departureDate: Date;
4
- departureAirport: string;
5
- departureAirportDescription: string;
6
- departureTime: string;
7
- arrivalDate: Date;
8
- arrivalAirport: string;
9
- arrivalAirportDescription: string;
10
- arrivalTime: string;
11
- flightClass: string;
12
- travelClass: string;
13
- airline: string;
14
- airlineCode: string;
15
- operatingAirlineCode: string;
16
- operatingAirlineDescription: string;
17
- }
1
+ export interface BookingPackageFlightMetaDataLine {
2
+ number: string;
3
+ departureDate: Date;
4
+ departureAirport: string;
5
+ departureAirportDescription: string;
6
+ departureTime: string;
7
+ arrivalDate: Date;
8
+ arrivalAirport: string;
9
+ arrivalAirportDescription: string;
10
+ arrivalTime: string;
11
+ flightClass: string;
12
+ travelClass: string;
13
+ airline: string;
14
+ airlineCode: string;
15
+ operatingAirlineCode: string;
16
+ operatingAirlineDescription: string;
17
+ }
@@ -1,10 +1,10 @@
1
- import { BookingPackageFlightMetaDataLine } from "./booking-package-flight-meta-data-line";
2
- export interface BookingPackageFlightMetaData {
3
- flightLines: BookingPackageFlightMetaDataLine[];
4
- luggageIncluded: boolean;
5
- bagageAllowed: boolean;
6
- bagage: string;
7
- mealIncluded: boolean;
8
- meal: string;
9
- durationInTicks: number;
10
- }
1
+ import { BookingPackageFlightMetaDataLine } from "./booking-package-flight-meta-data-line";
2
+ export interface BookingPackageFlightMetaData {
3
+ flightLines: BookingPackageFlightMetaDataLine[];
4
+ luggageIncluded: boolean;
5
+ bagageAllowed: boolean;
6
+ bagage: string;
7
+ mealIncluded: boolean;
8
+ meal: string;
9
+ durationInTicks: number;
10
+ }
@@ -1,14 +1,14 @@
1
- import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
- export interface BookingPackageFlight {
3
- code: string;
4
- tag: string;
5
- class: string;
6
- startDateTime: string;
7
- endDateTime: string;
8
- price: number;
9
- isSelected: boolean;
10
- externalGuid?: string;
11
- entryLineGuid: string;
12
- flightMetaData: BookingPackageFlightMetaData;
13
- validOptions: string[];
14
- }
1
+ import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
+ export interface BookingPackageFlight {
3
+ code: string;
4
+ tag: string;
5
+ class: string;
6
+ startDateTime: string;
7
+ endDateTime: string;
8
+ price: number;
9
+ isSelected: boolean;
10
+ externalGuid?: string;
11
+ entryLineGuid: string;
12
+ flightMetaData: BookingPackageFlightMetaData;
13
+ validOptions: string[];
14
+ }
@@ -1,10 +1,10 @@
1
- export interface BookingPackageHotelOption {
2
- entryLineGuid: string;
3
- accommodationCode: string;
4
- accommodationName: string;
5
- regimeCode: string;
6
- regimeName: string;
7
- price: number;
8
- isSelected: boolean;
9
- roomIndex: number;
10
- }
1
+ export interface BookingPackageHotelOption {
2
+ entryLineGuid: string;
3
+ accommodationCode: string;
4
+ accommodationName: string;
5
+ regimeCode: string;
6
+ regimeName: string;
7
+ price: number;
8
+ isSelected: boolean;
9
+ roomIndex: number;
10
+ }
@@ -1,5 +1,5 @@
1
- import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
- export interface BookingPackageHotelRoom {
3
- index: number;
4
- options: BookingPackageHotelOption[];
5
- }
1
+ import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
+ export interface BookingPackageHotelRoom {
3
+ index: number;
4
+ options: BookingPackageHotelOption[];
5
+ }
@@ -1,20 +1,20 @@
1
- import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
- export interface BookingPackageHotel {
3
- id?: number;
4
- name: string;
5
- productCode: string;
6
- isSelected: boolean;
7
- cheapestPrice: number;
8
- hotelSupplier: number;
9
- latitude: number;
10
- longitude: number;
11
- rooms: BookingPackageHotelRoom[];
12
- combinations: string[][];
13
- stars: string;
14
- rating: string;
15
- description: string;
16
- imageUrl: string;
17
- facilities: string;
18
- travelDurationToVenue: string;
19
- travelDurationToCenter: string;
20
- }
1
+ import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
+ export interface BookingPackageHotel {
3
+ id?: number;
4
+ name: string;
5
+ productCode: string;
6
+ isSelected: boolean;
7
+ cheapestPrice: number;
8
+ hotelSupplier: number;
9
+ latitude: number;
10
+ longitude: number;
11
+ rooms: BookingPackageHotelRoom[];
12
+ combinations: string[][];
13
+ stars: string;
14
+ rating: string;
15
+ description: string;
16
+ imageUrl: string;
17
+ facilities: string;
18
+ travelDurationToVenue: string;
19
+ travelDurationToCenter: string;
20
+ }
@@ -1,12 +1,12 @@
1
- export interface BookingPackageLine {
2
- entryLineGuid: string;
3
- productCode: string;
4
- productName: string;
5
- accommodationCode: string;
6
- accommodationName: string;
7
- regimeCode: string;
8
- regimeName: string;
9
- price: number;
10
- startDate: string;
11
- endDate: string;
12
- }
1
+ export interface BookingPackageLine {
2
+ entryLineGuid: string;
3
+ productCode: string;
4
+ productName: string;
5
+ accommodationCode: string;
6
+ accommodationName: string;
7
+ regimeCode: string;
8
+ regimeName: string;
9
+ price: number;
10
+ startDate: string;
11
+ endDate: string;
12
+ }
@@ -1,40 +1,40 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { BookingOptionPax } from "./booking-option-pax";
3
- import { BookingOptionUnit } from "./booking-option-unit";
4
- import { BookingPackageAvailability } from "./booking-package-availability";
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 BookingPackageOption {
10
- id: string;
11
- isSelected: boolean;
12
- catalogueId: number;
13
- code: string;
14
- name: string;
15
- price: number;
16
- serviceType: number;
17
- tagIds: number[];
18
- includedServiceTypes: number[];
19
- isOnRequest: boolean;
20
- countryName: string;
21
- regionName: string;
22
- oordName: string;
23
- locationName: string;
24
- unitCount: number;
25
- requestRooms: BookingPackageRequestRoom[];
26
- fromDate: string;
27
- toDate: string;
28
- startTime: string;
29
- endTime: string;
30
- hotels: BookingPackageHotel[];
31
- allotmentTourCode: string;
32
- allotmentName: string;
33
- customAllotmentStatus: string;
34
- allotmentTagIds: number[];
35
- availabilities: BookingPackageAvailability[];
36
- rooms: BookingPackageRoom[];
37
- groups: BookingOptionGroup<PerBookingPackageOption>[];
38
- optionUnits: BookingOptionUnit[];
39
- optionPax: BookingOptionPax[];
40
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { BookingOptionPax } from "./booking-option-pax";
3
+ import { BookingOptionUnit } from "./booking-option-unit";
4
+ import { BookingPackageAvailability } from "./booking-package-availability";
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 BookingPackageOption {
10
+ id: string;
11
+ isSelected: boolean;
12
+ catalogueId: number;
13
+ code: string;
14
+ name: string;
15
+ price: number;
16
+ serviceType: number;
17
+ tagIds: number[];
18
+ includedServiceTypes: number[];
19
+ isOnRequest: boolean;
20
+ countryName: string;
21
+ regionName: string;
22
+ oordName: string;
23
+ locationName: string;
24
+ unitCount: number;
25
+ requestRooms: BookingPackageRequestRoom[];
26
+ fromDate: string;
27
+ toDate: string;
28
+ startTime: string;
29
+ endTime: string;
30
+ hotels: BookingPackageHotel[];
31
+ allotmentTourCode: string;
32
+ allotmentName: string;
33
+ customAllotmentStatus: string;
34
+ allotmentTagIds: number[];
35
+ availabilities: BookingPackageAvailability[];
36
+ rooms: BookingPackageRoom[];
37
+ groups: BookingOptionGroup<PerBookingPackageOption>[];
38
+ optionUnits: BookingOptionUnit[];
39
+ optionPax: BookingOptionPax[];
40
+ }
@@ -1,17 +1,17 @@
1
- export interface BookingPackagePax {
2
- id: number;
3
- age?: number;
4
- guid: string;
5
- dateOfBirth?: string;
6
- countryOfBirthId?: number;
7
- firstName: string;
8
- lastName: string;
9
- salutationId?: number;
10
- preferredLanguageId?: number;
11
- gender?: number;
12
- isMainBooker?: boolean;
13
- initials?: string;
14
- email: string;
15
- phone?: string;
16
- mobilePhone?: string;
17
- }
1
+ export interface BookingPackagePax {
2
+ id: number;
3
+ age?: number;
4
+ guid: string;
5
+ dateOfBirth?: string;
6
+ countryOfBirthId?: number;
7
+ firstName: string;
8
+ lastName: string;
9
+ salutationId?: number;
10
+ preferredLanguageId?: number;
11
+ gender?: number;
12
+ isMainBooker?: boolean;
13
+ initials?: string;
14
+ email: string;
15
+ phone?: string;
16
+ mobilePhone?: string;
17
+ }
@@ -1,5 +1,5 @@
1
- import { BookingPackagePax } from "./booking-package-pax";
2
- export interface BookingPackageRequestRoom {
3
- index: number;
4
- pax: BookingPackagePax[];
5
- }
1
+ import { BookingPackagePax } from "./booking-package-pax";
2
+ export interface BookingPackageRequestRoom {
3
+ index: number;
4
+ pax: BookingPackagePax[];
5
+ }
@@ -1,17 +1,17 @@
1
- export interface BookingPackageRoomOption {
2
- entryLineGuid: string;
3
- allotmentId?: number;
4
- productCode: string;
5
- accommodationCode: string;
6
- externalAccommodationCode: string;
7
- accommodationName: string;
8
- regimeCode: string;
9
- regimeName: string;
10
- price: number;
11
- isSelected: boolean;
12
- quantity?: number;
13
- from: string;
14
- to: string;
15
- tourCode: string;
16
- isOnRequest: boolean;
17
- }
1
+ export interface BookingPackageRoomOption {
2
+ entryLineGuid: string;
3
+ allotmentId?: number;
4
+ productCode: string;
5
+ accommodationCode: string;
6
+ externalAccommodationCode: string;
7
+ accommodationName: string;
8
+ regimeCode: string;
9
+ regimeName: string;
10
+ price: number;
11
+ isSelected: boolean;
12
+ quantity?: number;
13
+ from: string;
14
+ to: string;
15
+ tourCode: string;
16
+ isOnRequest: boolean;
17
+ }
@@ -1,5 +1,5 @@
1
- import { BookingPackageRoomOption } from "./booking-package-room-option";
2
- export interface BookingPackageRoom {
3
- index: number;
4
- options: BookingPackageRoomOption[];
5
- }
1
+ import { BookingPackageRoomOption } from "./booking-package-room-option";
2
+ export interface BookingPackageRoom {
3
+ index: number;
4
+ options: BookingPackageRoomOption[];
5
+ }
@@ -1,5 +1,5 @@
1
- export interface BookingPackageTag {
2
- id: number;
3
- title: string;
4
- description: string;
5
- }
1
+ export interface BookingPackageTag {
2
+ id: number;
3
+ title: string;
4
+ description: string;
5
+ }
@@ -1,11 +1,11 @@
1
- import { BookingPackageFlight } from "./booking-package-flight";
2
- import { BookingPackageOption } from "./booking-package-option";
3
- import { BookingPackageTag } from "./booking-package-tag";
4
- export interface BookingPackage {
5
- outwardFlights: BookingPackageFlight[];
6
- returnFlights: BookingPackageFlight[];
7
- options: BookingPackageOption[];
8
- tags: BookingPackageTag[];
9
- transactionId: string;
10
- transactionExpiration: string;
11
- }
1
+ import { BookingPackageFlight } from "./booking-package-flight";
2
+ import { BookingPackageOption } from "./booking-package-option";
3
+ import { BookingPackageTag } from "./booking-package-tag";
4
+ export interface BookingPackage {
5
+ outwardFlights: BookingPackageFlight[];
6
+ returnFlights: BookingPackageFlight[];
7
+ options: BookingPackageOption[];
8
+ tags: BookingPackageTag[];
9
+ transactionId: string;
10
+ transactionExpiration: string;
11
+ }
@@ -1,19 +1,19 @@
1
- export * from "./booking-option-group";
2
- export * from "./booking-option-pax";
3
- export * from "./booking-option-unit";
4
- export * from "./booking-package-flight-meta-data";
5
- export * from "./booking-package-flight-meta-data-line";
6
- export * from "./booking-package-flight";
7
- export * from "./booking-package-hotel-option";
8
- export * from "./booking-package-hotel-room";
9
- export * from "./booking-package-hotel";
10
- export * from "./booking-package-line";
11
- export * from "./booking-package-pax";
12
- export * from "./booking-package-request-room";
13
- export * from "./booking-package-room-option";
14
- export * from "./booking-package-room";
15
- export * from "./booking-package";
16
- export * from "./per-booking-package-option";
17
- export * from "./per-package-option";
18
- export * from "./per-pax-package-option";
19
- 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-meta-data";
5
+ export * from "./booking-package-flight-meta-data-line";
6
+ export * from "./booking-package-flight";
7
+ export * from "./booking-package-hotel-option";
8
+ export * from "./booking-package-hotel-room";
9
+ export * from "./booking-package-hotel";
10
+ export * from "./booking-package-line";
11
+ export * from "./booking-package-pax";
12
+ export * from "./booking-package-request-room";
13
+ export * from "./booking-package-room-option";
14
+ export * from "./booking-package-room";
15
+ export * from "./booking-package";
16
+ export * from "./per-booking-package-option";
17
+ export * from "./per-package-option";
18
+ export * from "./per-pax-package-option";
19
+ export * from "./per-unit-package-option";