@qite/tide-client 1.1.66 → 1.1.68

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 (184) hide show
  1. package/build/index.js +7 -0
  2. package/build/index.js.map +1 -1
  3. package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -0
  4. package/build/types/booking-v2/response/booking-package-flight-info.d.ts +7 -0
  5. package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -0
  6. package/build/types/booking-v2/shared/booking-package.d.ts +2 -0
  7. package/build/types/web/airport.d.ts +10 -0
  8. package/build/types/web/index.d.ts +1 -0
  9. package/build/utils/search-client.d.ts +5 -1
  10. package/package.json +1 -1
  11. package/src/index.ts +0 -43
  12. package/src/services/odata.service.ts +0 -158
  13. package/src/types/booking-v2/index.ts +0 -3
  14. package/src/types/booking-v2/request/available-countries-request.ts +0 -4
  15. package/src/types/booking-v2/request/available-flights-request.ts +0 -8
  16. package/src/types/booking-v2/request/bookable-dates-request.ts +0 -4
  17. package/src/types/booking-v2/request/booking-package-address.ts +0 -14
  18. package/src/types/booking-v2/request/booking-package-book-request.ts +0 -26
  19. package/src/types/booking-v2/request/booking-package-customer-request.ts +0 -4
  20. package/src/types/booking-v2/request/booking-package-destination.ts +0 -9
  21. package/src/types/booking-v2/request/booking-package-details-request.ts +0 -30
  22. package/src/types/booking-v2/request/booking-package-flight-pool-request.ts +0 -13
  23. package/src/types/booking-v2/request/booking-package-request.ts +0 -5
  24. package/src/types/booking-v2/request/booking-package-search-request.ts +0 -32
  25. package/src/types/booking-v2/request/booking-package-update-request.ts +0 -5
  26. package/src/types/booking-v2/request/booking-package-voucher-request.ts +0 -4
  27. package/src/types/booking-v2/request/index.ts +0 -18
  28. package/src/types/booking-v2/request/prices-request.ts +0 -19
  29. package/src/types/booking-v2/request/selected-flight.ts +0 -10
  30. package/src/types/booking-v2/request/selected-hotel.ts +0 -5
  31. package/src/types/booking-v2/request/tour-codes.request.ts +0 -3
  32. package/src/types/booking-v2/request/transport-dates-request.ts +0 -14
  33. package/src/types/booking-v2/response/available-country.ts +0 -5
  34. package/src/types/booking-v2/response/available-flight.ts +0 -4
  35. package/src/types/booking-v2/response/base-price.ts +0 -7
  36. package/src/types/booking-v2/response/bookable-dates.ts +0 -4
  37. package/src/types/booking-v2/response/booking-package-allotment-info.ts +0 -17
  38. package/src/types/booking-v2/response/booking-package-dossier.ts +0 -6
  39. package/src/types/booking-v2/response/booking-package-flight-pool.ts +0 -6
  40. package/src/types/booking-v2/response/booking-package-hotel-pool.ts +0 -5
  41. package/src/types/booking-v2/response/booking-package-item.ts +0 -40
  42. package/src/types/booking-v2/response/booking-price-detail.ts +0 -20
  43. package/src/types/booking-v2/response/booking-price-details.ts +0 -15
  44. package/src/types/booking-v2/response/booking-price-per-pax.ts +0 -4
  45. package/src/types/booking-v2/response/booking-product-notification.ts +0 -7
  46. package/src/types/booking-v2/response/booking-room-status-option.ts +0 -5
  47. package/src/types/booking-v2/response/booking-room-status.ts +0 -6
  48. package/src/types/booking-v2/response/booking-travel-agent.ts +0 -7
  49. package/src/types/booking-v2/response/booking-validity-line.ts +0 -4
  50. package/src/types/booking-v2/response/booking-voucher-result.ts +0 -3
  51. package/src/types/booking-v2/response/changed-line.ts +0 -4
  52. package/src/types/booking-v2/response/index.ts +0 -22
  53. package/src/types/booking-v2/response/tide-response.ts +0 -6
  54. package/src/types/booking-v2/response/tour-codes-response.ts +0 -3
  55. package/src/types/booking-v2/response/transport-dates-response.ts +0 -4
  56. package/src/types/booking-v2/shared/airline-booking-package-option.ts +0 -3
  57. package/src/types/booking-v2/shared/airport-booking-package-option.ts +0 -3
  58. package/src/types/booking-v2/shared/booking-airline-group.ts +0 -7
  59. package/src/types/booking-v2/shared/booking-airport-group.ts +0 -7
  60. package/src/types/booking-v2/shared/booking-option-group.ts +0 -5
  61. package/src/types/booking-v2/shared/booking-option-pax.ts +0 -14
  62. package/src/types/booking-v2/shared/booking-option-unit.ts +0 -13
  63. package/src/types/booking-v2/shared/booking-package-availability.ts +0 -9
  64. package/src/types/booking-v2/shared/booking-package-flight-meta-data-line.ts +0 -18
  65. package/src/types/booking-v2/shared/booking-package-flight-meta-data.ts +0 -11
  66. package/src/types/booking-v2/shared/booking-package-flight.ts +0 -16
  67. package/src/types/booking-v2/shared/booking-package-hotel-option.ts +0 -10
  68. package/src/types/booking-v2/shared/booking-package-hotel-room.ts +0 -6
  69. package/src/types/booking-v2/shared/booking-package-hotel.ts +0 -27
  70. package/src/types/booking-v2/shared/booking-package-line.ts +0 -18
  71. package/src/types/booking-v2/shared/booking-package-option.ts +0 -55
  72. package/src/types/booking-v2/shared/booking-package-pax.ts +0 -19
  73. package/src/types/booking-v2/shared/booking-package-request-room.ts +0 -6
  74. package/src/types/booking-v2/shared/booking-package-room-option.ts +0 -22
  75. package/src/types/booking-v2/shared/booking-package-room.ts +0 -6
  76. package/src/types/booking-v2/shared/booking-package-tag.ts +0 -5
  77. package/src/types/booking-v2/shared/booking-package.ts +0 -13
  78. package/src/types/booking-v2/shared/index.ts +0 -27
  79. package/src/types/booking-v2/shared/per-booking-package-option.ts +0 -10
  80. package/src/types/booking-v2/shared/per-package-option.ts +0 -10
  81. package/src/types/booking-v2/shared/per-pax-package-option.ts +0 -6
  82. package/src/types/booking-v2/shared/per-unit-package-option.ts +0 -8
  83. package/src/types/booking-v2/shared/room-option-pax-type.ts +0 -4
  84. package/src/types/company/agent/agent-invoice-item.ts +0 -9
  85. package/src/types/company/agent/change-entry-agent-surcharge-action.model.ts +0 -5
  86. package/src/types/company/agent/entry-totals.ts +0 -7
  87. package/src/types/company/agent/index.ts +0 -3
  88. package/src/types/company/agent-print-action-request.ts +0 -11
  89. package/src/types/company/agent-print-action.ts +0 -7
  90. package/src/types/company/custom-entry-status-item.ts +0 -6
  91. package/src/types/company/index.ts +0 -5
  92. package/src/types/company/number-string-pair.ts +0 -4
  93. package/src/types/enums/allotment-type.ts +0 -5
  94. package/src/types/enums/availability-search-type.ts +0 -4
  95. package/src/types/enums/data-type.ts +0 -14
  96. package/src/types/enums/dossier-type.ts +0 -6
  97. package/src/types/enums/entry-line-flag.ts +0 -6
  98. package/src/types/enums/entry-line-status.ts +0 -19
  99. package/src/types/enums/entry-status.ts +0 -8
  100. package/src/types/enums/export-status.ts +0 -5
  101. package/src/types/enums/gender.ts +0 -5
  102. package/src/types/enums/index.ts +0 -17
  103. package/src/types/enums/meta-data-type.ts +0 -10
  104. package/src/types/enums/payment-type.ts +0 -6
  105. package/src/types/enums/price-chart-type.ts +0 -4
  106. package/src/types/enums/print-action-group.ts +0 -10
  107. package/src/types/enums/requirement-type.ts +0 -5
  108. package/src/types/enums/room-type.ts +0 -8
  109. package/src/types/enums/sale-type.ts +0 -4
  110. package/src/types/enums/service-type.ts +0 -33
  111. package/src/types/hubs/index.ts +0 -1
  112. package/src/types/hubs/search/flight-search-finish-response.ts +0 -4
  113. package/src/types/hubs/search/flight-search-request.ts +0 -26
  114. package/src/types/hubs/search/flight-search-response.ts +0 -42
  115. package/src/types/hubs/search/index.ts +0 -3
  116. package/src/types/index.ts +0 -10
  117. package/src/types/mollie/index.ts +0 -2
  118. package/src/types/mollie/mollie-payment-request.ts +0 -6
  119. package/src/types/mollie/mollie-payment.ts +0 -3
  120. package/src/types/odata/column.ts +0 -8
  121. package/src/types/odata/filter-item.ts +0 -14
  122. package/src/types/odata/index.ts +0 -4
  123. package/src/types/odata/odata-params.ts +0 -3
  124. package/src/types/odata/page-result.ts +0 -5
  125. package/src/types/offer/confirmed-dossier-check.ts +0 -6
  126. package/src/types/offer/country-item.ts +0 -5
  127. package/src/types/offer/crm-contact-request.ts +0 -37
  128. package/src/types/offer/customer-request.ts +0 -5
  129. package/src/types/offer/dossier-default-product.ts +0 -14
  130. package/src/types/offer/dossier-pax-item.Ts +0 -4
  131. package/src/types/offer/dossier-view-result.ts +0 -49
  132. package/src/types/offer/entry-check-response.ts +0 -5
  133. package/src/types/offer/entry-line-meta-data.ts +0 -5
  134. package/src/types/offer/entry-line-pax.ts +0 -9
  135. package/src/types/offer/entry-line.ts +0 -74
  136. package/src/types/offer/entry-price-line.ts +0 -40
  137. package/src/types/offer/entry-room2.ts +0 -5
  138. package/src/types/offer/entry.ts +0 -66
  139. package/src/types/offer/flight-meta-data-line.ts +0 -16
  140. package/src/types/offer/flight-meta-data.ts +0 -14
  141. package/src/types/offer/flight-pool.ts +0 -6
  142. package/src/types/offer/index.ts +0 -39
  143. package/src/types/offer/item-tag.ts +0 -3
  144. package/src/types/offer/language.ts +0 -5
  145. package/src/types/offer/member-confirmation-request.ts +0 -5
  146. package/src/types/offer/member-forgot-password-request.ts +0 -4
  147. package/src/types/offer/member-info.ts +0 -11
  148. package/src/types/offer/member-login-request.ts +0 -4
  149. package/src/types/offer/member-login-response.ts +0 -3
  150. package/src/types/offer/member-reset-password-request.ts +0 -4
  151. package/src/types/offer/note.ts +0 -16
  152. package/src/types/offer/pax.ts +0 -30
  153. package/src/types/offer/payment.ts +0 -20
  154. package/src/types/offer/person-country-preference.ts +0 -7
  155. package/src/types/offer/person-location-preference.ts +0 -7
  156. package/src/types/offer/person-oord-preference.ts +0 -7
  157. package/src/types/offer/person-period-date-range-preference.ts +0 -6
  158. package/src/types/offer/person-period-preference.ts +0 -7
  159. package/src/types/offer/person-region-preference.ts +0 -7
  160. package/src/types/offer/person-tour-group-preference.ts +0 -7
  161. package/src/types/offer/product-notification-result.ts +0 -9
  162. package/src/types/offer/web-contact-form-request.ts +0 -13
  163. package/src/types/offer/web-contact-has-tag-request.ts +0 -4
  164. package/src/types/shared/date-struct.ts +0 -5
  165. package/src/types/shared/index.ts +0 -1
  166. package/src/types/tide-client-config.ts +0 -5
  167. package/src/types/web/affiliate.ts +0 -5
  168. package/src/types/web/contact-form-request.ts +0 -11
  169. package/src/types/web/generate-booking-accommodation-request.ts +0 -6
  170. package/src/types/web/index.ts +0 -3
  171. package/src/utils/api.ts +0 -82
  172. package/src/utils/booking-v2-client.ts +0 -318
  173. package/src/utils/common-client.ts +0 -77
  174. package/src/utils/json.ts +0 -26
  175. package/src/utils/member-client.ts +0 -76
  176. package/src/utils/mollie-client.ts +0 -27
  177. package/src/utils/search-client.ts +0 -22
  178. package/src/utils/web-agent-client.ts +0 -176
  179. package/src/utils/web-client.ts +0 -96
  180. package/src/utils/web-contact-client.ts +0 -43
  181. package/src/utils/web-file.ts +0 -45
  182. package/tests/webClient.test.ts +0 -38
  183. package/tests/webContactClient.test.ts +0 -61
  184. package/tsconfig.json +0 -23
@@ -1,20 +0,0 @@
1
- import { BookingPricePerPax } from "./booking-price-per-pax";
2
-
3
- export interface BookingPriceDetail {
4
- productName: string;
5
- productCode: string;
6
- priceDescription: string;
7
- accommodationCode: string;
8
- accommodationName: string;
9
- productType: number;
10
-
11
- price: number;
12
- amount: number;
13
- total: number;
14
- pricePerPax: BookingPricePerPax[];
15
-
16
- isInPackage: boolean;
17
- isSeparate: boolean;
18
- showPrice: boolean;
19
- requirementType?: number;
20
- }
@@ -1,15 +0,0 @@
1
- import { BookingPriceDetail } from "./booking-price-detail";
2
- import { BookingProductNotification } from "./booking-product-notification";
3
- import { BookingRoomStatus } from "./booking-room-status";
4
- import { BookingValidityLine } from "./booking-validity-line";
5
- import { ChangedLine } from "./changed-line";
6
-
7
- export interface BookingPriceDetails {
8
- details: BookingPriceDetail[];
9
- changedLines: ChangedLine[];
10
- validityLines: BookingValidityLine[];
11
- notifications: BookingProductNotification[];
12
- roomStatusses: BookingRoomStatus[];
13
- total?: number;
14
- deposit?: number;
15
- }
@@ -1,4 +0,0 @@
1
- export interface BookingPricePerPax {
2
- paxId: number;
3
- price: number;
4
- }
@@ -1,7 +0,0 @@
1
- export interface BookingProductNotification {
2
- id: number;
3
- title: string;
4
- description: string;
5
- hasToBeConfirmed: boolean;
6
- isConfirmed: boolean;
7
- }
@@ -1,5 +0,0 @@
1
- export interface BookingRoomStatusOption {
2
- code: string;
3
- isLocked: boolean;
4
- isOnRequest: boolean;
5
- }
@@ -1,6 +0,0 @@
1
- import { BookingRoomStatusOption } from "./booking-room-status-option";
2
-
3
- export interface BookingRoomStatus {
4
- index: number;
5
- options: BookingRoomStatusOption[];
6
- }
@@ -1,7 +0,0 @@
1
- export interface BookingTravelAgent {
2
- id: number;
3
- name: string;
4
- location: string;
5
- postalCode: string;
6
- affiliateSlug: string;
7
- }
@@ -1,4 +0,0 @@
1
- export interface BookingValidityLine {
2
- guids: string[];
3
- isValid: boolean;
4
- }
@@ -1,3 +0,0 @@
1
- export interface BookingVoucherResult {
2
- isValid: boolean;
3
- }
@@ -1,4 +0,0 @@
1
- export interface ChangedLine {
2
- entryLineGuid: string;
3
- price: number;
4
- }
@@ -1,22 +0,0 @@
1
- export * from "./available-country";
2
- export * from "./available-flight";
3
- export * from "./base-price";
4
- export * from "./bookable-dates";
5
- export * from "./booking-package-allotment-info";
6
- export * from "./booking-package-dossier";
7
- export * from "./booking-package-flight-pool";
8
- export * from "./booking-package-hotel-pool";
9
- export * from "./booking-package-item";
10
- export * from "./booking-price-detail";
11
- export * from "./booking-price-details";
12
- export * from "./booking-price-per-pax";
13
- export * from "./booking-product-notification";
14
- export * from "./booking-room-status";
15
- export * from "./booking-room-status-option";
16
- export * from "./booking-travel-agent";
17
- export * from "./booking-validity-line";
18
- export * from "./booking-voucher-result";
19
- export * from "./changed-line";
20
- export * from "./tide-response";
21
- export * from "./tour-codes-response";
22
- export * from "./transport-dates-response";
@@ -1,6 +0,0 @@
1
- export interface TideResponse<T> {
2
- payload: T;
3
- errorCode?: number;
4
- errorMessage?: string;
5
- errorDetails?: { [name: string]: string };
6
- }
@@ -1,3 +0,0 @@
1
- export interface TourCodesResponse {
2
- tourCodes: string[];
3
- }
@@ -1,4 +0,0 @@
1
- export interface TransportDatesResponse {
2
- outwardDates: string[];
3
- returnDates: string[];
4
- }
@@ -1,3 +0,0 @@
1
- import { PerPackageOption } from "./per-package-option";
2
-
3
- export interface AirlineBookingPackageOption extends PerPackageOption {}
@@ -1,3 +0,0 @@
1
- import { PerPackageOption } from "./per-package-option";
2
-
3
- export interface AirportBookingPackageOption extends PerPackageOption {}
@@ -1,7 +0,0 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
-
3
- export interface BookingAirlineGroup<T> {
4
- label: string;
5
- flightIds: string[];
6
- groups: BookingOptionGroup<T>[];
7
- }
@@ -1,7 +0,0 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
-
3
- export interface BookingAirportGroup<T> {
4
- label: string;
5
- flightIds: string[];
6
- groups: BookingOptionGroup<T>[];
7
- }
@@ -1,5 +0,0 @@
1
- export interface BookingOptionGroup<T> {
2
- name: string;
3
- title: string;
4
- options: T[];
5
- }
@@ -1,14 +0,0 @@
1
- import { AirlineBookingPackageOption } from "./airline-booking-package-option";
2
- import { AirportBookingPackageOption } from "./airport-booking-package-option";
3
- import { BookingAirlineGroup } from "./booking-airline-group";
4
- import { BookingAirportGroup } from "./booking-airport-group";
5
- import { BookingOptionGroup } from "./booking-option-group";
6
- import { PerPaxPackageOption } from "./per-pax-package-option";
7
-
8
- export interface BookingOptionPax {
9
- id: number;
10
- paxName: string;
11
- groups: BookingOptionGroup<PerPaxPackageOption>[];
12
- airlineGroups: BookingAirlineGroup<AirlineBookingPackageOption>[];
13
- airportGroups: BookingAirportGroup<AirportBookingPackageOption>[];
14
- }
@@ -1,13 +0,0 @@
1
- import { AirlineBookingPackageOption } from "./airline-booking-package-option";
2
- import { AirportBookingPackageOption } from "./airport-booking-package-option";
3
- import { BookingAirlineGroup } from "./booking-airline-group";
4
- import { BookingAirportGroup } from "./booking-airport-group";
5
- import { BookingOptionGroup } from "./booking-option-group";
6
- import { PerUnitPackageOption } from "./per-unit-package-option";
7
-
8
- export interface BookingOptionUnit {
9
- index: number;
10
- groups: BookingOptionGroup<PerUnitPackageOption>[];
11
- airlineGroups: BookingAirlineGroup<AirlineBookingPackageOption>[];
12
- airportGroups: BookingAirportGroup<AirportBookingPackageOption>[];
13
- }
@@ -1,9 +0,0 @@
1
- export interface BookingPackageAvailability {
2
- code: string;
3
- count: number;
4
- fromDate: string;
5
- toDate: string;
6
- tourCode: string;
7
- isExternal: boolean;
8
- onRequestPossible: boolean;
9
- }
@@ -1,18 +0,0 @@
1
- export interface BookingPackageFlightMetaDataLine {
2
- number: string;
3
- departureDate: string;
4
- departureAirport: string;
5
- departureAirportDescription: string;
6
- departureTime: string;
7
- arrivalDate: string;
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
- durationInTicks: number;
18
- }
@@ -1,11 +0,0 @@
1
- import { BookingPackageFlightMetaDataLine } from "./booking-package-flight-meta-data-line";
2
-
3
- export interface BookingPackageFlightMetaData {
4
- flightLines: BookingPackageFlightMetaDataLine[];
5
- luggageIncluded: boolean;
6
- bagageAllowed: boolean;
7
- bagage: string;
8
- mealIncluded: boolean;
9
- meal: string;
10
- durationInTicks: number;
11
- }
@@ -1,16 +0,0 @@
1
- import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
-
3
- export interface BookingPackageFlight {
4
- code: string;
5
- tag: string;
6
- class: string;
7
- startDateTime: string;
8
- endDateTime: string;
9
- price: number;
10
- isSelected: boolean;
11
- externalGuid?: string;
12
- entryLineGuid: string;
13
- flightMetaData: BookingPackageFlightMetaData;
14
- airlineDescription: string;
15
- validOptions: string[];
16
- }
@@ -1,10 +0,0 @@
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,6 +0,0 @@
1
- import { BookingPackageHotelOption } from "./booking-package-hotel-option";
2
-
3
- export interface BookingPackageHotelRoom {
4
- index: number;
5
- options: BookingPackageHotelOption[];
6
- }
@@ -1,27 +0,0 @@
1
- import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
2
-
3
- export interface BookingPackageHotel {
4
- id?: number;
5
- name: string;
6
- productCode: string;
7
- isSelected: boolean;
8
- cheapestPrice: number;
9
- hotelSupplier: number;
10
-
11
- latitude: number;
12
- longitude: number;
13
-
14
- rooms: BookingPackageHotelRoom[];
15
- combinations: string[][];
16
-
17
- stars: string;
18
- rating: string;
19
- description: string;
20
- imageUrl: string;
21
- facilities: string;
22
-
23
- travelDurationToVenue: string;
24
- travelDurationToCenter: string;
25
- distanceToVenue: number;
26
- distanceToCenter: number;
27
- }
@@ -1,18 +0,0 @@
1
- import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
-
3
- export interface BookingPackageLine {
4
- entryLineGuid: string;
5
- productCode: string;
6
- productName: string;
7
- accommodationCode: string;
8
- accommodationName: string;
9
- regimeCode: string;
10
- regimeName: string;
11
- price: number;
12
- serviceType: number;
13
- startDate: string;
14
- endDate: string;
15
- quantity: number;
16
- allotmentTourCode?: string;
17
- flightProperties?: BookingPackageFlightMetaData;
18
- }
@@ -1,55 +0,0 @@
1
- import { AirlineBookingPackageOption } from "./airline-booking-package-option";
2
- import { AirportBookingPackageOption } from "./airport-booking-package-option";
3
- import { BookingAirlineGroup } from "./booking-airline-group";
4
- import { BookingAirportGroup } from "./booking-airport-group";
5
- import { BookingOptionGroup } from "./booking-option-group";
6
- import { BookingOptionPax } from "./booking-option-pax";
7
- import { BookingOptionUnit } from "./booking-option-unit";
8
- import { BookingPackageAvailability } from "./booking-package-availability";
9
- import { BookingPackageHotel } from "./booking-package-hotel";
10
- import { BookingPackageRequestRoom } from "./booking-package-request-room";
11
- import { BookingPackageRoom } from "./booking-package-room";
12
- import { PerBookingPackageOption } from "./per-booking-package-option";
13
-
14
- export interface BookingPackageOption {
15
- id: string;
16
- isSelected: boolean;
17
-
18
- catalogueId: number;
19
- code: string;
20
- name: string;
21
- price: number;
22
- serviceType: number;
23
- tagIds: number[];
24
- includedServiceTypes: number[];
25
- isOnRequest: boolean;
26
- provider: string;
27
-
28
- countryName: string;
29
- regionName: string;
30
- oordName: string;
31
- locationName: string;
32
-
33
- unitCount: number;
34
- requestRooms: BookingPackageRequestRoom[];
35
-
36
- fromDate: string;
37
- toDate: string;
38
- startTime: string;
39
- endTime: string;
40
-
41
- hotels: BookingPackageHotel[];
42
-
43
- allotmentTourCode: string;
44
- allotmentName: string;
45
- customAllotmentStatus: string;
46
- allotmentTagIds: number[];
47
-
48
- availabilities: BookingPackageAvailability[];
49
- rooms: BookingPackageRoom[];
50
- airlineGroups: BookingAirlineGroup<AirlineBookingPackageOption>[];
51
- airportGroups: BookingAirportGroup<AirportBookingPackageOption>[];
52
- groups: BookingOptionGroup<PerBookingPackageOption>[];
53
- optionUnits: BookingOptionUnit[];
54
- optionPax: BookingOptionPax[];
55
- }
@@ -1,19 +0,0 @@
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
-
10
- salutationId?: number;
11
- preferredLanguageId?: number;
12
- gender?: number;
13
- isMainBooker?: boolean;
14
- initials?: string;
15
-
16
- email: string;
17
- phone?: string;
18
- mobilePhone?: string;
19
- }
@@ -1,6 +0,0 @@
1
- import { BookingPackagePax } from "./booking-package-pax";
2
-
3
- export interface BookingPackageRequestRoom {
4
- index: number;
5
- pax: BookingPackagePax[];
6
- }
@@ -1,22 +0,0 @@
1
- import { RoomOptionPaxType } from "./room-option-pax-type";
2
-
3
- export interface BookingPackageRoomOption {
4
- entryLineGuid: string;
5
- allotmentId?: number;
6
- productCode: string;
7
- accommodationCode: string;
8
- externalAccommodationCode: string;
9
- accommodationName: string;
10
- regimeCode: string;
11
- regimeName: string;
12
- price: number;
13
- isSelected: boolean;
14
- isLocked: boolean;
15
- quantity: number;
16
- from: string;
17
- to: string;
18
- tourCode: string;
19
- isOnRequest: boolean;
20
- paxTypes: RoomOptionPaxType;
21
- remarks: string;
22
- }
@@ -1,6 +0,0 @@
1
- import { BookingPackageRoomOption } from "./booking-package-room-option";
2
-
3
- export interface BookingPackageRoom {
4
- index: number;
5
- options: BookingPackageRoomOption[];
6
- }
@@ -1,5 +0,0 @@
1
- export interface BookingPackageTag {
2
- id: number;
3
- title: string;
4
- description: string;
5
- }
@@ -1,13 +0,0 @@
1
- import { BookingPackageFlight } from "./booking-package-flight";
2
- import { BookingPackageOption } from "./booking-package-option";
3
- import { BookingPackageTag } from "./booking-package-tag";
4
-
5
- export interface BookingPackage {
6
- outwardFlights: BookingPackageFlight[];
7
- returnFlights: BookingPackageFlight[];
8
- options: BookingPackageOption[];
9
- tags: BookingPackageTag[];
10
-
11
- transactionId: string;
12
- transactionExpiration: string;
13
- }
@@ -1,27 +0,0 @@
1
- export * from "./airline-booking-package-option";
2
- export * from "./airport-booking-package-option";
3
- export * from "./booking-airline-group";
4
- export * from "./booking-airport-group";
5
- export * from "./booking-option-group";
6
- export * from "./booking-option-pax";
7
- export * from "./booking-option-unit";
8
- export * from "./booking-package";
9
- export * from "./booking-package-availability";
10
- export * from "./booking-package-flight";
11
- export * from "./booking-package-flight-meta-data";
12
- export * from "./booking-package-flight-meta-data-line";
13
- export * from "./booking-package-hotel";
14
- export * from "./booking-package-hotel-option";
15
- export * from "./booking-package-hotel-room";
16
- export * from "./booking-package-line";
17
- export * from "./booking-package-option";
18
- export * from "./booking-package-pax";
19
- export * from "./booking-package-request-room";
20
- export * from "./booking-package-room";
21
- export * from "./booking-package-room-option";
22
- export * from "./booking-package-tag";
23
- export * from "./per-booking-package-option";
24
- export * from "./per-package-option";
25
- export * from "./per-pax-package-option";
26
- export * from "./per-unit-package-option";
27
- export * from "./room-option-pax-type";
@@ -1,10 +0,0 @@
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,10 +0,0 @@
1
- import { BookingPackageLine } from "./booking-package-line";
2
-
3
- export interface PerPackageOption {
4
- line: BookingPackageLine;
5
- isSelected: boolean;
6
- isHotelPool: boolean;
7
- isDefault: boolean;
8
- requirementType?: number;
9
- alternatives: BookingPackageLine[];
10
- }
@@ -1,6 +0,0 @@
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 +0,0 @@
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,4 +0,0 @@
1
- export interface RoomOptionPaxType {
2
- id: number;
3
- type: number;
4
- }
@@ -1,9 +0,0 @@
1
- export interface AgentInvoiceItem {
2
- id: number;
3
- number: string;
4
- dossierNumber: string;
5
- type: number;
6
- total: number;
7
- paidTotal: number;
8
- dateCreated: string;
9
- }
@@ -1,5 +0,0 @@
1
- export interface ChangeEntryAgentSurchargeAction {
2
- entryId: number;
3
- agentSurchargeAmount?: number;
4
- agentSurchargePercentage?: number;
5
- }
@@ -1,7 +0,0 @@
1
- export interface EntryTotals {
2
- totalPrice: number;
3
- revenue: number;
4
- commission: number;
5
- margin: number;
6
- profit: number;
7
- }
@@ -1,3 +0,0 @@
1
- export * from "./agent-invoice-item";
2
- export * from "./entry-totals";
3
- export * from "./change-entry-agent-surcharge-action.model";
@@ -1,11 +0,0 @@
1
- export interface AgentPrintActionRequest {
2
- id: number;
3
- invoiceId?: number;
4
- dossierId?: number;
5
- dossierNumber: string;
6
- allotmentId?: number;
7
- entryLineId?: number;
8
- productId?: number;
9
- entryId?: number;
10
- languageId?: number;
11
- }
@@ -1,7 +0,0 @@
1
- import { EntryStatus } from "../enums";
2
-
3
- export interface AgentPrintAction {
4
- id: number;
5
- label: string;
6
- validEntryStatuses: EntryStatus[];
7
- }
@@ -1,6 +0,0 @@
1
- export interface CustomEntryStatusItem {
2
- id: number;
3
- order: number;
4
- status: number;
5
- name: string;
6
- }
@@ -1,5 +0,0 @@
1
- export * from "./agent";
2
- export * from "./agent-print-action";
3
- export * from "./agent-print-action-request";
4
- export * from "./custom-entry-status-item";
5
- export * from "./number-string-pair";
@@ -1,4 +0,0 @@
1
- export interface NumberStringPair {
2
- key: number | undefined;
3
- value: string;
4
- }
@@ -1,5 +0,0 @@
1
- export const AllotmentType = {
2
- freeSell: 0,
3
- onRequest: 1,
4
- allotment: 2,
5
- };
@@ -1,4 +0,0 @@
1
- export const AvailabilitySearchType = {
2
- default: 0,
3
- allotment: 1,
4
- };
@@ -1,14 +0,0 @@
1
- export const DataType = {
2
- text: "text",
3
- numeric: "number",
4
- int: "int",
5
- bool: "bool",
6
- value: "value",
7
- enum: "enum",
8
- date: "date",
9
- dateTime: "datetime",
10
- dateFrom: "dateFrom",
11
- html: "html",
12
- list: "list",
13
- template: "template",
14
- };