@qite/tide-client 1.1.47 → 1.1.50

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 (203) hide show
  1. package/build/index.d.ts +3 -42
  2. package/build/index.js +6307 -6520
  3. package/build/index.js.map +1 -1
  4. package/build/services/odata.service.d.ts +1 -7
  5. package/build/types/aapi/accommodation-occupancy.d.ts +7 -7
  6. package/build/types/aapi/accommodation-with-available-places.d.ts +11 -11
  7. package/build/types/aapi/accommodation.d.ts +4 -4
  8. package/build/types/aapi/additional-services.d.ts +4 -4
  9. package/build/types/aapi/alternative-flight-data.d.ts +7 -7
  10. package/build/types/aapi/alternative-flight-leg.d.ts +16 -16
  11. package/build/types/aapi/alternative-flight.d.ts +9 -9
  12. package/build/types/aapi/availability-request.d.ts +10 -10
  13. package/build/types/aapi/availability.d.ts +2 -2
  14. package/build/types/aapi/available-products-request.d.ts +29 -29
  15. package/build/types/aapi/duration.d.ts +2 -2
  16. package/build/types/aapi/flight-leg.d.ts +16 -16
  17. package/build/types/aapi/flight.d.ts +20 -20
  18. package/build/types/aapi/hotel.d.ts +32 -32
  19. package/build/types/aapi/mollie-payment-request.d.ts +4 -4
  20. package/build/types/aapi/mollie-payment.d.ts +1 -1
  21. package/build/types/aapi/option-pax.d.ts +2 -2
  22. package/build/types/aapi/option.d.ts +19 -26
  23. package/build/types/aapi/pax.d.ts +2 -2
  24. package/build/types/aapi/price-detail.d.ts +6 -6
  25. package/build/types/aapi/regime.d.ts +3 -3
  26. package/build/types/aapi/traveler-grouping.d.ts +3 -3
  27. package/build/types/company/agent/agent-invoice-item.d.ts +7 -7
  28. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -0
  29. package/build/types/company/agent/entry-totals.d.ts +5 -5
  30. package/build/types/company/agent/index.d.ts +1 -0
  31. package/build/types/company/agent-print-action-request.d.ts +9 -9
  32. package/build/types/company/agent-print-action.d.ts +3 -3
  33. package/build/types/company/custom-entry-status-item.d.ts +4 -4
  34. package/build/types/company/number-string-pair.d.ts +2 -2
  35. package/build/types/enums/allotment-type.d.ts +3 -3
  36. package/build/types/enums/availability-search-type.d.ts +2 -2
  37. package/build/types/enums/data-type.d.ts +12 -12
  38. package/build/types/enums/dossier-type.d.ts +4 -4
  39. package/build/types/enums/entry-line-flag.d.ts +4 -4
  40. package/build/types/enums/entry-line-status.d.ts +17 -17
  41. package/build/types/enums/entry-status.d.ts +6 -6
  42. package/build/types/enums/export-status.d.ts +3 -3
  43. package/build/types/enums/gender.d.ts +3 -3
  44. package/build/types/enums/meta-data-type.d.ts +8 -8
  45. package/build/types/enums/payment-type.d.ts +4 -4
  46. package/build/types/enums/price-chart-type.d.ts +2 -2
  47. package/build/types/enums/print-action-group.d.ts +8 -8
  48. package/build/types/enums/requirement-type.d.ts +3 -3
  49. package/build/types/enums/room-type.d.ts +6 -6
  50. package/build/types/enums/sale-type.d.ts +2 -2
  51. package/build/types/enums/service-type.d.ts +26 -26
  52. package/build/types/index.d.ts +1 -23
  53. package/build/types/odata/column.d.ts +6 -6
  54. package/build/types/odata/filter-item.d.ts +11 -11
  55. package/build/types/odata/odata-params.d.ts +1 -1
  56. package/build/types/offer/additional-services.d.ts +4 -4
  57. package/build/types/offer/address.d.ts +9 -9
  58. package/build/types/offer/affiliate.d.ts +3 -3
  59. package/build/types/offer/alternative-flight-data.d.ts +7 -7
  60. package/build/types/offer/alternative-flight-leg.d.ts +16 -16
  61. package/build/types/offer/alternative-flight.d.ts +11 -11
  62. package/build/types/offer/available-package-accommodation.d.ts +4 -4
  63. package/build/types/offer/available-package-flight.d.ts +6 -6
  64. package/build/types/offer/available-package-option.d.ts +10 -15
  65. package/build/types/offer/available-package-pax-price.d.ts +4 -4
  66. package/build/types/offer/available-package-regime.d.ts +2 -2
  67. package/build/types/offer/available-package.d.ts +4 -4
  68. package/build/types/offer/base-price.d.ts +4 -4
  69. package/build/types/offer/base-prices-from-date-request.d.ts +10 -10
  70. package/build/types/offer/base-prices-request.d.ts +10 -10
  71. package/build/types/offer/book-request.d.ts +32 -32
  72. package/build/types/offer/booking-response.d.ts +2 -2
  73. package/build/types/offer/booking-v2/request/bookable-dates-request.d.ts +2 -2
  74. package/build/types/offer/booking-v2/request/booking-package-address.d.ts +12 -12
  75. package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +17 -17
  76. package/build/types/offer/booking-v2/request/booking-package-customer-request.d.ts +2 -2
  77. package/build/types/offer/booking-v2/request/booking-package-destination.d.ts +7 -7
  78. package/build/types/offer/booking-v2/request/booking-package-details-request.d.ts +16 -16
  79. package/build/types/offer/booking-v2/request/booking-package-flight-pool-request.d.ts +8 -8
  80. package/build/types/offer/booking-v2/request/booking-package-request.d.ts +3 -3
  81. package/build/types/offer/booking-v2/request/booking-package-search-request.d.ts +23 -23
  82. package/build/types/offer/booking-v2/request/booking-package-update-request.d.ts +1 -1
  83. package/build/types/offer/booking-v2/request/booking-package-voucher-request.d.ts +2 -2
  84. package/build/types/offer/booking-v2/request/selected-flight.d.ts +4 -4
  85. package/build/types/offer/booking-v2/request/selected-hotel.d.ts +3 -3
  86. package/build/types/offer/booking-v2/request/tour-codes.request.d.ts +1 -1
  87. package/build/types/offer/booking-v2/response/bookable-dates.d.ts +2 -2
  88. package/build/types/offer/booking-v2/response/booking-package-allotment-info.d.ts +15 -15
  89. package/build/types/offer/booking-v2/response/booking-package-dossier.d.ts +4 -4
  90. package/build/types/offer/booking-v2/response/booking-package-flight-pool.d.ts +2 -2
  91. package/build/types/offer/booking-v2/response/booking-package-hotel-pool.d.ts +1 -1
  92. package/build/types/offer/booking-v2/response/booking-package-item.d.ts +36 -36
  93. package/build/types/offer/booking-v2/response/booking-price-detail.d.ts +14 -14
  94. package/build/types/offer/booking-v2/response/booking-price-details.d.ts +7 -7
  95. package/build/types/offer/booking-v2/response/booking-price-per-pax.d.ts +2 -2
  96. package/build/types/offer/booking-v2/response/booking-product-notification.d.ts +5 -5
  97. package/build/types/offer/booking-v2/response/booking-room-status-option.d.ts +3 -3
  98. package/build/types/offer/booking-v2/response/booking-room-status.d.ts +2 -2
  99. package/build/types/offer/booking-v2/response/booking-travel-agent.d.ts +5 -5
  100. package/build/types/offer/booking-v2/response/booking-validity-line.d.ts +2 -2
  101. package/build/types/offer/booking-v2/response/booking-voucher-result.d.ts +1 -1
  102. package/build/types/offer/booking-v2/response/changed-line.d.ts +2 -2
  103. package/build/types/offer/booking-v2/response/tide-response.d.ts +6 -6
  104. package/build/types/offer/booking-v2/response/tour-codes-response.d.ts +1 -1
  105. package/build/types/offer/booking-v2/shared/airline-booking-package-option.d.ts +2 -1
  106. package/build/types/offer/booking-v2/shared/airport-booking-package-option.d.ts +2 -1
  107. package/build/types/offer/booking-v2/shared/booking-airline-group.d.ts +3 -3
  108. package/build/types/offer/booking-v2/shared/booking-airport-group.d.ts +3 -3
  109. package/build/types/offer/booking-v2/shared/booking-option-group.d.ts +3 -3
  110. package/build/types/offer/booking-v2/shared/booking-option-pax.d.ts +5 -5
  111. package/build/types/offer/booking-v2/shared/booking-option-unit.d.ts +4 -4
  112. package/build/types/offer/booking-v2/shared/booking-package-availability.d.ts +6 -6
  113. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +15 -15
  114. package/build/types/offer/booking-v2/shared/booking-package-flight-meta-data.d.ts +7 -7
  115. package/build/types/offer/booking-v2/shared/booking-package-flight.d.ts +11 -11
  116. package/build/types/offer/booking-v2/shared/booking-package-hotel-option.d.ts +8 -8
  117. package/build/types/offer/booking-v2/shared/booking-package-hotel-room.d.ts +2 -2
  118. package/build/types/offer/booking-v2/shared/booking-package-hotel.d.ts +19 -19
  119. package/build/types/offer/booking-v2/shared/booking-package-line.d.ts +13 -13
  120. package/build/types/offer/booking-v2/shared/booking-package-option.d.ts +33 -33
  121. package/build/types/offer/booking-v2/shared/booking-package-pax.d.ts +15 -15
  122. package/build/types/offer/booking-v2/shared/booking-package-request-room.d.ts +2 -2
  123. package/build/types/offer/booking-v2/shared/booking-package-room-option.d.ts +15 -15
  124. package/build/types/offer/booking-v2/shared/booking-package-room.d.ts +2 -2
  125. package/build/types/offer/booking-v2/shared/booking-package-tag.d.ts +3 -3
  126. package/build/types/offer/booking-v2/shared/booking-package.d.ts +6 -6
  127. package/build/types/offer/booking-v2/shared/per-booking-package-option.d.ts +3 -3
  128. package/build/types/offer/booking-v2/shared/per-package-option.d.ts +6 -6
  129. package/build/types/offer/booking-v2/shared/per-pax-package-option.d.ts +1 -1
  130. package/build/types/offer/booking-v2/shared/per-unit-package-option.d.ts +2 -2
  131. package/build/types/offer/cached-package-search-result.d.ts +2 -2
  132. package/build/types/offer/confirmed-dossier-check.d.ts +4 -4
  133. package/build/types/offer/country-item.d.ts +3 -3
  134. package/build/types/offer/crm-contact-request.d.ts +26 -34
  135. package/build/types/offer/customer-request.d.ts +3 -3
  136. package/build/types/offer/dossier-default-product.d.ts +12 -12
  137. package/build/types/offer/dossier-pax-item.d.ts +2 -2
  138. package/build/types/offer/dossier-view-result.d.ts +44 -41
  139. package/build/types/offer/entry-check-response.d.ts +6 -6
  140. package/build/types/offer/entry-line-meta-data.d.ts +3 -3
  141. package/build/types/offer/entry-line-pax.d.ts +5 -5
  142. package/build/types/offer/entry-line.d.ts +65 -71
  143. package/build/types/offer/entry-price-line.d.ts +38 -38
  144. package/build/types/offer/entry-room2.d.ts +3 -3
  145. package/build/types/offer/entry.d.ts +53 -57
  146. package/build/types/offer/flight-meta-data-line.d.ts +14 -14
  147. package/build/types/offer/flight-meta-data.d.ts +11 -11
  148. package/build/types/offer/flight-pool.d.ts +2 -2
  149. package/build/types/offer/item-tag.d.ts +1 -1
  150. package/build/types/offer/language.d.ts +3 -3
  151. package/build/types/offer/member-confirmation-request.d.ts +3 -3
  152. package/build/types/offer/member-forgot-password-request.d.ts +2 -2
  153. package/build/types/offer/member-info.d.ts +8 -8
  154. package/build/types/offer/member-login-request.d.ts +2 -2
  155. package/build/types/offer/member-login-response.d.ts +1 -1
  156. package/build/types/offer/member-reset-password-request.d.ts +2 -2
  157. package/build/types/offer/multiroom-book-request.d.ts +7 -7
  158. package/build/types/offer/note.d.ts +14 -14
  159. package/build/types/offer/other-product.d.ts +10 -10
  160. package/build/types/offer/package-book-request-room.d.ts +2 -2
  161. package/build/types/offer/package-book-request.d.ts +9 -9
  162. package/build/types/offer/package-flight.d.ts +10 -10
  163. package/build/types/offer/package-flights.d.ts +2 -2
  164. package/build/types/offer/package-option.d.ts +19 -19
  165. package/build/types/offer/package-price-details-request-room.d.ts +2 -2
  166. package/build/types/offer/package-price-details-request.d.ts +5 -5
  167. package/build/types/offer/package-room-option.d.ts +8 -8
  168. package/build/types/offer/package-room.d.ts +4 -4
  169. package/build/types/offer/package-search-destination.d.ts +7 -7
  170. package/build/types/offer/package-search-request-date.d.ts +2 -2
  171. package/build/types/offer/package-search-request-room.d.ts +3 -3
  172. package/build/types/offer/package-search-request.d.ts +16 -20
  173. package/build/types/offer/package-search-result.d.ts +9 -9
  174. package/build/types/offer/package-sub-option.d.ts +4 -4
  175. package/build/types/offer/page-result.d.ts +3 -3
  176. package/build/types/offer/pax.d.ts +26 -26
  177. package/build/types/offer/payment.d.ts +18 -18
  178. package/build/types/offer/person-country-preference.d.ts +5 -5
  179. package/build/types/offer/person-location-preference.d.ts +5 -5
  180. package/build/types/offer/person-oord-preference.d.ts +5 -5
  181. package/build/types/offer/person-period-date-range-preference.d.ts +4 -4
  182. package/build/types/offer/person-period-preference.d.ts +5 -5
  183. package/build/types/offer/person-region-preference.d.ts +5 -5
  184. package/build/types/offer/person-tour-group-preference.d.ts +5 -5
  185. package/build/types/offer/price-detail.d.ts +15 -15
  186. package/build/types/offer/price-per-pax.d.ts +4 -4
  187. package/build/types/offer/product-notification-result.d.ts +7 -7
  188. package/build/types/offer/web-contact-form-request.d.ts +11 -11
  189. package/build/types/offer/web-contact-has-tag-request.d.ts +2 -2
  190. package/build/types/tide-client-config.d.ts +3 -3
  191. package/build/utils/api.d.ts +2 -15
  192. package/build/utils/booking-client.d.ts +14 -81
  193. package/build/utils/booking-v2-client.d.ts +16 -101
  194. package/build/utils/common-client.d.ts +2 -17
  195. package/build/utils/member-client.d.ts +6 -31
  196. package/build/utils/mollie-client.d.ts +2 -10
  197. package/build/utils/search-client.d.ts +1 -4
  198. package/build/utils/web-agent-client.d.ts +9 -52
  199. package/build/utils/web-client.d.ts +4 -15
  200. package/build/utils/web-contact-client.d.ts +3 -15
  201. package/build/utils/web-file.d.ts +1 -5
  202. package/package.json +1 -1
  203. package/src/types/offer/entry.ts +4 -0
@@ -1,8 +1,2 @@
1
1
  import { Column, FilterItem, OdataParams } from "../types";
2
- export declare const createParams: (
3
- filter: FilterItem,
4
- all: boolean,
5
- gridColumns?: Column[] | undefined,
6
- mode?: string | undefined,
7
- forceToLower?: boolean | undefined
8
- ) => OdataParams;
2
+ export declare const createParams: (filter: FilterItem, all: boolean, gridColumns?: Column[] | undefined, mode?: string | undefined, forceToLower?: boolean | undefined) => OdataParams;
@@ -1,9 +1,9 @@
1
1
  export interface AccommodationOccupancy {
2
- minAdults: number;
3
- maxAdults: number;
4
- maxChildren: number;
5
- minChildAge: number;
6
- maxChildAge: number;
7
- minPax: number;
8
- maxPax: number;
2
+ minAdults: number;
3
+ maxAdults: number;
4
+ maxChildren: number;
5
+ minChildAge: number;
6
+ maxChildAge: number;
7
+ minPax: number;
8
+ maxPax: number;
9
9
  }
@@ -1,14 +1,14 @@
1
1
  import { Accommodation, Pax } from ".";
2
2
  export interface AccommodationWithAvailablePlaces extends Accommodation {
3
- availablePlaces?: number;
4
- totalPlaces?: number;
5
- price?: number;
6
- pax: Pax[];
7
- allotmentId?: number;
8
- inOptionPlaces?: number;
9
- status?: number;
10
- subStatus: string;
11
- startTime: string;
12
- endTime: string;
13
- tourCode: string;
3
+ availablePlaces?: number;
4
+ totalPlaces?: number;
5
+ price?: number;
6
+ pax: Pax[];
7
+ allotmentId?: number;
8
+ inOptionPlaces?: number;
9
+ status?: number;
10
+ subStatus: string;
11
+ startTime: string;
12
+ endTime: string;
13
+ tourCode: string;
14
14
  }
@@ -1,7 +1,7 @@
1
1
  import { AccommodationOccupancy } from ".";
2
2
  export interface Accommodation {
3
- id: number;
4
- code: string;
5
- name: string;
6
- occupancies: AccommodationOccupancy[];
3
+ id: number;
4
+ code: string;
5
+ name: string;
6
+ occupancies: AccommodationOccupancy[];
7
7
  }
@@ -1,6 +1,6 @@
1
1
  export interface AdditionalServices {
2
- luggageExtraCostPerPiece: number;
3
- luggageExtraIsPerPassenger: boolean;
4
- productCode: string;
5
- accommodationCode: string;
2
+ luggageExtraCostPerPiece: number;
3
+ luggageExtraIsPerPassenger: boolean;
4
+ productCode: string;
5
+ accommodationCode: string;
6
6
  }
@@ -1,10 +1,10 @@
1
1
  import { AdditionalServices, AlternativeFlightLeg } from ".";
2
2
  export interface AlternativeFlightData {
3
- departureDate: Date;
4
- departureTime: string;
5
- arrivalDate: Date;
6
- arrivalTime: string;
7
- legs: AlternativeFlightLeg[];
8
- additionalServices: AdditionalServices;
9
- isLowCost: boolean;
3
+ departureDate: Date;
4
+ departureTime: string;
5
+ arrivalDate: Date;
6
+ arrivalTime: string;
7
+ legs: AlternativeFlightLeg[];
8
+ additionalServices: AdditionalServices;
9
+ isLowCost: boolean;
10
10
  }
@@ -1,18 +1,18 @@
1
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;
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
18
  }
@@ -1,12 +1,12 @@
1
1
  import { AdditionalServices, AlternativeFlightData } from ".";
2
2
  export interface AlternativeFlight {
3
- id: string;
4
- luggage: number;
5
- price: number;
6
- currency: string;
7
- totalPriceWithoutTaxes: number;
8
- taxes: number;
9
- departureFlight: AlternativeFlightData;
10
- returnFlight: AlternativeFlightData;
11
- additionalServices: AdditionalServices;
3
+ id: string;
4
+ luggage: number;
5
+ price: number;
6
+ currency: string;
7
+ totalPriceWithoutTaxes: number;
8
+ taxes: number;
9
+ departureFlight: AlternativeFlightData;
10
+ returnFlight: AlternativeFlightData;
11
+ additionalServices: AdditionalServices;
12
12
  }
@@ -1,12 +1,12 @@
1
1
  export interface AvailabilityRequest {
2
- officeId: number;
3
- agentId?: number;
4
- from: Date;
5
- to: Date;
6
- catalogueIds?: number[];
7
- calculatePrices: boolean;
8
- preventDifferentAccommodations?: boolean;
9
- language: string;
10
- strictAccommodationDuration?: boolean;
11
- withInPackageDefault?: boolean;
2
+ officeId: number;
3
+ agentId?: number;
4
+ from: Date;
5
+ to: Date;
6
+ catalogueIds?: number[];
7
+ calculatePrices: boolean;
8
+ preventDifferentAccommodations?: boolean;
9
+ language: string;
10
+ strictAccommodationDuration?: boolean;
11
+ withInPackageDefault?: boolean;
12
12
  }
@@ -1,5 +1,5 @@
1
1
  import { Hotel, Option } from ".";
2
2
  export interface Availability {
3
- hotel: Hotel;
4
- options: Option[];
3
+ hotel: Hotel;
4
+ options: Option[];
5
5
  }
@@ -1,32 +1,32 @@
1
1
  import { AvailabilityRequest, Duration, TravelerGrouping } from ".";
2
2
  export interface AvailableProductsRequest extends AvailabilityRequest {
3
- searchType: number;
4
- productType: number;
5
- travelerGroupings: TravelerGrouping[];
6
- includePriceDetails: boolean;
7
- includeAllOptions: boolean;
8
- addDefaultProducts: boolean;
9
- allotmentType?: number;
10
- productIds?: number[];
11
- productCodes?: string[];
12
- accommodationCodes?: string[];
13
- regimeCodes?: string[];
14
- periodOffset?: number;
15
- duration?: Duration;
16
- productName?: string;
17
- countryCodes?: string[];
18
- locationCode?: string;
19
- regionId?: number;
20
- oordId?: number;
21
- geographicalRegionIds?: number[];
22
- preferredDepartureAirportCodes?: string[];
23
- flightsIncluded?: boolean;
24
- ignorePreferredProducts?: boolean;
25
- cheapestOption?: boolean;
26
- useDefaults?: boolean;
27
- useCachedPrices?: boolean;
28
- includeClosedAllotments?: boolean;
29
- includeFullyBookedAllotments?: boolean;
30
- tagIds?: number[];
31
- tourCode?: string;
3
+ searchType: number;
4
+ productType: number;
5
+ travelerGroupings: TravelerGrouping[];
6
+ includePriceDetails: boolean;
7
+ includeAllOptions: boolean;
8
+ addDefaultProducts: boolean;
9
+ allotmentType?: number;
10
+ productIds?: number[];
11
+ productCodes?: string[];
12
+ accommodationCodes?: string[];
13
+ regimeCodes?: string[];
14
+ periodOffset?: number;
15
+ duration?: Duration;
16
+ productName?: string;
17
+ countryCodes?: string[];
18
+ locationCode?: string;
19
+ regionId?: number;
20
+ oordId?: number;
21
+ geographicalRegionIds?: number[];
22
+ preferredDepartureAirportCodes?: string[];
23
+ flightsIncluded?: boolean;
24
+ ignorePreferredProducts?: boolean;
25
+ cheapestOption?: boolean;
26
+ useDefaults?: boolean;
27
+ useCachedPrices?: boolean;
28
+ includeClosedAllotments?: boolean;
29
+ includeFullyBookedAllotments?: boolean;
30
+ tagIds?: number[];
31
+ tourCode?: string;
32
32
  }
@@ -1,4 +1,4 @@
1
1
  export interface Duration {
2
- min?: number;
3
- max?: number;
2
+ min?: number;
3
+ max?: number;
4
4
  }
@@ -1,18 +1,18 @@
1
1
  export interface FlightLeg {
2
- airline: string;
3
- airlineDescription: string;
4
- operatingAirlineCode: string;
5
- marketingAirlineCode: string;
6
- flightNumber: string;
7
- departureAirport: string;
8
- departureAirportDescription: string;
9
- departureCountry: string;
10
- departureDate?: Date;
11
- departureTime?: string;
12
- arrivalAirport: string;
13
- arrivalAirportDescription: string;
14
- arrivalCountry: string;
15
- arrivalDate?: Date;
16
- arrivalTime?: string;
17
- flightClass: string;
2
+ airline: string;
3
+ airlineDescription: string;
4
+ operatingAirlineCode: string;
5
+ marketingAirlineCode: string;
6
+ flightNumber: string;
7
+ departureAirport: string;
8
+ departureAirportDescription: string;
9
+ departureCountry: string;
10
+ departureDate?: Date;
11
+ departureTime?: string;
12
+ arrivalAirport: string;
13
+ arrivalAirportDescription: string;
14
+ arrivalCountry: string;
15
+ arrivalDate?: Date;
16
+ arrivalTime?: string;
17
+ flightClass: string;
18
18
  }
@@ -1,23 +1,23 @@
1
1
  import { AdditionalServices, FlightLeg } from ".";
2
2
  export interface Flight {
3
- flightCode: string;
4
- flightNumber: string;
5
- name: string;
6
- departureDate: Date;
7
- arrivalDate: Date;
8
- departureTime: string;
9
- arrivalTime: string;
10
- accommodationCode: string;
11
- regimeCode: string;
12
- stops: number;
13
- availablePlaces: number;
14
- isBagageAllowed: boolean;
15
- bagage: string;
16
- isPreferredFlight: boolean;
17
- legs: FlightLeg[];
18
- replacedProductCode: string;
19
- entryLineFlags: number;
20
- externalFlightGuid?: string;
21
- additionalServices: AdditionalServices;
22
- isLowCost: boolean;
3
+ flightCode: string;
4
+ flightNumber: string;
5
+ name: string;
6
+ departureDate: Date;
7
+ arrivalDate: Date;
8
+ departureTime: string;
9
+ arrivalTime: string;
10
+ accommodationCode: string;
11
+ regimeCode: string;
12
+ stops: number;
13
+ availablePlaces: number;
14
+ isBagageAllowed: boolean;
15
+ bagage: string;
16
+ isPreferredFlight: boolean;
17
+ legs: FlightLeg[];
18
+ replacedProductCode: string;
19
+ entryLineFlags: number;
20
+ externalFlightGuid?: string;
21
+ additionalServices: AdditionalServices;
22
+ isLowCost: boolean;
23
23
  }
@@ -1,35 +1,35 @@
1
1
  import { Accommodation, Regime } from ".";
2
2
  export interface Hotel {
3
- hotelId: number;
4
- hotelCode: string;
5
- hotelName: string;
6
- latitude?: number;
7
- longitude?: number;
8
- accommodations: Accommodation[];
9
- regimes: Regime[];
10
- hasPackageProduct: boolean;
11
- hasTransfer: boolean;
12
- countryId: number;
13
- regionId?: number;
14
- oordId?: number;
15
- locationId?: number;
16
- countryName: string;
17
- regionName: string;
18
- oordName: string;
19
- locationName: string;
20
- allotmentDeterminesBookable: boolean;
21
- isLastMinute: boolean;
22
- isTopDeal: boolean;
23
- isEarlyBooking: boolean;
24
- isThirdPartyProduct: boolean;
25
- supplierAddressId?: number;
26
- billingAddressId?: number;
27
- currencyId?: number;
28
- financialProductTypeId?: number;
29
- marginFinancialProductTypeId?: number;
30
- salesUnitId?: number;
31
- additionalInfo: string;
32
- externalProvider: string;
33
- tagNames: string[];
34
- catalogueId: number;
3
+ hotelId: number;
4
+ hotelCode: string;
5
+ hotelName: string;
6
+ latitude?: number;
7
+ longitude?: number;
8
+ accommodations: Accommodation[];
9
+ regimes: Regime[];
10
+ hasPackageProduct: boolean;
11
+ hasTransfer: boolean;
12
+ countryId: number;
13
+ regionId?: number;
14
+ oordId?: number;
15
+ locationId?: number;
16
+ countryName: string;
17
+ regionName: string;
18
+ oordName: string;
19
+ locationName: string;
20
+ allotmentDeterminesBookable: boolean;
21
+ isLastMinute: boolean;
22
+ isTopDeal: boolean;
23
+ isEarlyBooking: boolean;
24
+ isThirdPartyProduct: boolean;
25
+ supplierAddressId?: number;
26
+ billingAddressId?: number;
27
+ currencyId?: number;
28
+ financialProductTypeId?: number;
29
+ marginFinancialProductTypeId?: number;
30
+ salesUnitId?: number;
31
+ additionalInfo: string;
32
+ externalProvider: string;
33
+ tagNames: string[];
34
+ catalogueId: number;
35
35
  }
@@ -1,6 +1,6 @@
1
1
  export interface MolliePaymentRequest {
2
- locale: string;
3
- dossierNumber: string;
4
- currency: string;
5
- redirectUrl?: string;
2
+ locale: string;
3
+ dossierNumber: string;
4
+ currency: string;
5
+ redirectUrl?: string;
6
6
  }
@@ -1,3 +1,3 @@
1
1
  export interface MolliePayment {
2
- url: string;
2
+ url: string;
3
3
  }
@@ -1,4 +1,4 @@
1
1
  export interface OptionPax {
2
- dateOfBirth?: Date;
3
- price: number;
2
+ dateOfBirth?: Date;
3
+ price: number;
4
4
  }
@@ -1,28 +1,21 @@
1
- import {
2
- AccommodationWithAvailablePlaces,
3
- AlternativeFlight,
4
- Flight,
5
- OptionPax,
6
- PriceDetail,
7
- Regime,
8
- } from ".";
1
+ import { AccommodationWithAvailablePlaces, AlternativeFlight, Flight, OptionPax, PriceDetail, Regime } from ".";
9
2
  export interface Option {
10
- from: Date;
11
- to: Date;
12
- duration: number;
13
- accommodations: AccommodationWithAvailablePlaces[];
14
- regime: Regime;
15
- departureFlight: Flight;
16
- returnFlight: Flight;
17
- price: number;
18
- averagePricePerPerson: number;
19
- oldPricePerPerson: number;
20
- percentage?: number;
21
- priceFirstPax: number;
22
- pricePerPerson: OptionPax[];
23
- alternativeFlight: AlternativeFlight;
24
- basePrice?: number;
25
- marginPrice?: number;
26
- additionalInfo: string;
27
- priceDetails?: PriceDetail[];
3
+ from: Date;
4
+ to: Date;
5
+ duration: number;
6
+ accommodations: AccommodationWithAvailablePlaces[];
7
+ regime: Regime;
8
+ departureFlight: Flight;
9
+ returnFlight: Flight;
10
+ price: number;
11
+ averagePricePerPerson: number;
12
+ oldPricePerPerson: number;
13
+ percentage?: number;
14
+ priceFirstPax: number;
15
+ pricePerPerson: OptionPax[];
16
+ alternativeFlight: AlternativeFlight;
17
+ basePrice?: number;
18
+ marginPrice?: number;
19
+ additionalInfo: string;
20
+ priceDetails?: PriceDetail[];
28
21
  }
@@ -1,4 +1,4 @@
1
1
  export interface Pax {
2
- age?: number;
3
- gender?: number;
2
+ age?: number;
3
+ gender?: number;
4
4
  }
@@ -1,8 +1,8 @@
1
1
  export interface PriceDetail {
2
- productName: string;
3
- productCode: string;
4
- priceDescription: string;
5
- price: number;
6
- amount: number;
7
- total: number;
2
+ productName: string;
3
+ productCode: string;
4
+ priceDescription: string;
5
+ price: number;
6
+ amount: number;
7
+ total: number;
8
8
  }
@@ -1,5 +1,5 @@
1
1
  export interface Regime {
2
- code: string;
3
- name: string;
4
- isDefault: boolean;
2
+ code: string;
3
+ name: string;
4
+ isDefault: boolean;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export interface TravelerGrouping {
2
- accommodationCode?: string;
3
- regimeCode?: string;
4
- travelerAges: number[];
2
+ accommodationCode?: string;
3
+ regimeCode?: string;
4
+ travelerAges: number[];
5
5
  }
@@ -1,9 +1,9 @@
1
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;
2
+ id: number;
3
+ number: string;
4
+ dossierNumber: string;
5
+ type: number;
6
+ total: number;
7
+ paidTotal: number;
8
+ dateCreated: string;
9
9
  }
@@ -0,0 +1,5 @@
1
+ export interface ChangeEntryAgentSurchargeAction {
2
+ entryId: number;
3
+ agentSurchargeAmount?: number;
4
+ agentSurchargePercentage?: number;
5
+ }
@@ -1,7 +1,7 @@
1
1
  export interface EntryTotals {
2
- totalPrice: number;
3
- revenue: number;
4
- commission: number;
5
- margin: number;
6
- profit: number;
2
+ totalPrice: number;
3
+ revenue: number;
4
+ commission: number;
5
+ margin: number;
6
+ profit: number;
7
7
  }
@@ -1,2 +1,3 @@
1
1
  export * from "./agent-invoice-item";
2
2
  export * from "./entry-totals";
3
+ export * from "./change-entry-agent-surcharge-action.model";
@@ -1,11 +1,11 @@
1
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;
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
11
  }
@@ -1,6 +1,6 @@
1
1
  import { EntryStatus } from "../enums";
2
2
  export interface AgentPrintAction {
3
- id: number;
4
- label: string;
5
- validEntryStatuses: EntryStatus[];
3
+ id: number;
4
+ label: string;
5
+ validEntryStatuses: EntryStatus[];
6
6
  }
@@ -1,6 +1,6 @@
1
1
  export interface CustomEntryStatusItem {
2
- id: number;
3
- order: number;
4
- status: number;
5
- name: string;
2
+ id: number;
3
+ order: number;
4
+ status: number;
5
+ name: string;
6
6
  }
@@ -1,4 +1,4 @@
1
1
  export interface NumberStringPair {
2
- key: number | undefined;
3
- value: string;
2
+ key: number | undefined;
3
+ value: string;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  export declare const AllotmentType: {
2
- freeSell: number;
3
- onRequest: number;
4
- allotment: number;
2
+ freeSell: number;
3
+ onRequest: number;
4
+ allotment: number;
5
5
  };
@@ -1,4 +1,4 @@
1
1
  export declare const AvailabilitySearchType: {
2
- default: number;
3
- allotment: number;
2
+ default: number;
3
+ allotment: number;
4
4
  };