@qite/tide-client 2.1.0-preview.1 → 2.1.0-preview.3

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 (274) hide show
  1. package/build/cli.d.ts +1 -1
  2. package/build/cli.js +4765 -4444
  3. package/build/index.d.ts +21 -18
  4. package/build/index.js +6176 -5723
  5. package/build/index.js.map +1 -1
  6. package/build/services/odata.service.d.ts +8 -2
  7. package/build/templates/generate-template-types.d.ts +19 -16
  8. package/build/types/booking-v2/index.d.ts +3 -3
  9. package/build/types/booking-v2/request/available-countries-request.d.ts +4 -4
  10. package/build/types/booking-v2/request/available-flights-request.d.ts +8 -8
  11. package/build/types/booking-v2/request/bookable-dates-request.d.ts +4 -4
  12. package/build/types/booking-v2/request/booking-package-address.d.ts +14 -14
  13. package/build/types/booking-v2/request/booking-package-book-request.d.ts +33 -33
  14. package/build/types/booking-v2/request/booking-package-customer-request.d.ts +4 -4
  15. package/build/types/booking-v2/request/booking-package-destination.d.ts +9 -9
  16. package/build/types/booking-v2/request/booking-package-details-request.d.ts +29 -29
  17. package/build/types/booking-v2/request/booking-package-flight-pool-request.d.ts +12 -12
  18. package/build/types/booking-v2/request/booking-package-notes.d.ts +4 -4
  19. package/build/types/booking-v2/request/booking-package-request.d.ts +5 -5
  20. package/build/types/booking-v2/request/booking-package-search-request.d.ts +31 -31
  21. package/build/types/booking-v2/request/booking-package-update-request.d.ts +4 -4
  22. package/build/types/booking-v2/request/booking-package-voucher-request.d.ts +4 -4
  23. package/build/types/booking-v2/request/flight-lines-request.d.ts +3 -3
  24. package/build/types/booking-v2/request/index.d.ts +24 -24
  25. package/build/types/booking-v2/request/packaging/packaging-accommodation-request.d.ts +36 -36
  26. package/build/types/booking-v2/request/packaging/packaging-request-base.d.ts +9 -8
  27. package/build/types/booking-v2/request/packaging/packaging-traject-request.d.ts +14 -14
  28. package/build/types/booking-v2/request/packaging/packaging-transfer-request.d.ts +27 -27
  29. package/build/types/booking-v2/request/prices-request.d.ts +17 -17
  30. package/build/types/booking-v2/request/reprice-and-issue-ticket-request.d.ts +3 -3
  31. package/build/types/booking-v2/request/selected-flight.d.ts +14 -14
  32. package/build/types/booking-v2/request/selected-hotel.d.ts +5 -5
  33. package/build/types/booking-v2/request/tour-codes.request.d.ts +3 -3
  34. package/build/types/booking-v2/request/transport-dates-request.d.ts +14 -14
  35. package/build/types/booking-v2/response/available-country.d.ts +5 -5
  36. package/build/types/booking-v2/response/available-flight.d.ts +4 -4
  37. package/build/types/booking-v2/response/base-price.d.ts +7 -7
  38. package/build/types/booking-v2/response/bookable-dates.d.ts +4 -4
  39. package/build/types/booking-v2/response/booking-package-allotment-info.d.ts +36 -36
  40. package/build/types/booking-v2/response/booking-package-dossier.d.ts +6 -6
  41. package/build/types/booking-v2/response/booking-package-entryline-flight-meta-data.d.ts +5 -5
  42. package/build/types/booking-v2/response/booking-package-flight-combination.d.ts +5 -5
  43. package/build/types/booking-v2/response/booking-package-flight-info.d.ts +9 -9
  44. package/build/types/booking-v2/response/booking-package-flight-pool.d.ts +5 -5
  45. package/build/types/booking-v2/response/booking-package-flight-route.d.ts +4 -4
  46. package/build/types/booking-v2/response/booking-package-hotel-pool.d.ts +4 -4
  47. package/build/types/booking-v2/response/booking-package-item.d.ts +44 -44
  48. package/build/types/booking-v2/response/booking-price-detail.d.ts +17 -17
  49. package/build/types/booking-v2/response/booking-price-details.d.ts +16 -16
  50. package/build/types/booking-v2/response/booking-price-per-pax.d.ts +4 -4
  51. package/build/types/booking-v2/response/booking-product-notification.d.ts +7 -7
  52. package/build/types/booking-v2/response/booking-room-status-option.d.ts +5 -5
  53. package/build/types/booking-v2/response/booking-room-status.d.ts +5 -5
  54. package/build/types/booking-v2/response/booking-travel-agent.d.ts +7 -7
  55. package/build/types/booking-v2/response/booking-validity-line.d.ts +4 -4
  56. package/build/types/booking-v2/response/booking-voucher-result.d.ts +3 -3
  57. package/build/types/booking-v2/response/changed-line.d.ts +4 -4
  58. package/build/types/booking-v2/response/elastic-result-hit.d.ts +8 -8
  59. package/build/types/booking-v2/response/elastic-result.d.ts +17 -17
  60. package/build/types/booking-v2/response/flight-lines-by-allotment.d.ts +11 -11
  61. package/build/types/booking-v2/response/index.d.ts +38 -38
  62. package/build/types/booking-v2/response/packaging/packaging-accommodation-response.d.ts +21 -21
  63. package/build/types/booking-v2/response/packaging/packaging-base-response.d.ts +26 -26
  64. package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +128 -125
  65. package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +22 -18
  66. package/build/types/booking-v2/response/packaging/packaging-traject-item.d.ts +8 -8
  67. package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +97 -97
  68. package/build/types/booking-v2/response/packaging/packaging-transaction.d.ts +7 -4
  69. package/build/types/booking-v2/response/tide-elastic-product.d.ts +67 -67
  70. package/build/types/booking-v2/response/tide-elastic-tag.d.ts +4 -4
  71. package/build/types/booking-v2/response/tide-response.d.ts +8 -8
  72. package/build/types/booking-v2/response/tour-codes-response.d.ts +3 -3
  73. package/build/types/booking-v2/response/transport-dates-response.d.ts +4 -4
  74. package/build/types/booking-v2/shared/airline-booking-package-option.d.ts +2 -3
  75. package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +2 -3
  76. package/build/types/booking-v2/shared/booking-airline-group.d.ts +6 -6
  77. package/build/types/booking-v2/shared/booking-airport-group.d.ts +6 -6
  78. package/build/types/booking-v2/shared/booking-mapping-info-item.d.ts +6 -6
  79. package/build/types/booking-v2/shared/booking-option-group.d.ts +5 -5
  80. package/build/types/booking-v2/shared/booking-option-pax.d.ts +13 -13
  81. package/build/types/booking-v2/shared/booking-option-unit.d.ts +12 -12
  82. package/build/types/booking-v2/shared/booking-package-availability.d.ts +9 -9
  83. package/build/types/booking-v2/shared/booking-package-custom-field.d.ts +4 -4
  84. package/build/types/booking-v2/shared/booking-package-emergency-contact.d.ts +11 -0
  85. package/build/types/booking-v2/shared/booking-package-entry.d.ts +5 -5
  86. package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
  87. package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
  88. package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
  89. package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +11 -11
  90. package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  91. package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
  92. package/build/types/booking-v2/shared/booking-package-language.d.ts +4 -4
  93. package/build/types/booking-v2/shared/booking-package-line.d.ts +20 -20
  94. package/build/types/booking-v2/shared/booking-package-option-mapping-info.d.ts +5 -5
  95. package/build/types/booking-v2/shared/booking-package-option.d.ts +53 -53
  96. package/build/types/booking-v2/shared/booking-package-pax-custom-field.d.ts +11 -11
  97. package/build/types/booking-v2/shared/booking-package-pax-field-config.d.ts +11 -9
  98. package/build/types/booking-v2/shared/booking-package-pax.d.ts +43 -41
  99. package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  100. package/build/types/booking-v2/shared/booking-package-room-option.d.ts +25 -25
  101. package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
  102. package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
  103. package/build/types/booking-v2/shared/booking-package.d.ts +27 -27
  104. package/build/types/booking-v2/shared/index.d.ts +34 -33
  105. package/build/types/booking-v2/shared/itinerary.d.ts +50 -42
  106. package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  107. package/build/types/booking-v2/shared/per-package-option.d.ts +12 -12
  108. package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  109. package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  110. package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
  111. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  112. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  113. package/build/types/company/agent/entry-totals.d.ts +7 -7
  114. package/build/types/company/agent/index.d.ts +3 -3
  115. package/build/types/company/agent-print-action-request.d.ts +11 -11
  116. package/build/types/company/agent-print-action.d.ts +6 -6
  117. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  118. package/build/types/company/index.d.ts +5 -5
  119. package/build/types/company/number-string-pair.d.ts +4 -4
  120. package/build/types/enums/allotment-kind.d.ts +4 -4
  121. package/build/types/enums/allotment-status.d.ts +5 -5
  122. package/build/types/enums/allotment-type.d.ts +5 -5
  123. package/build/types/enums/availability-search-type.d.ts +6 -6
  124. package/build/types/enums/custom-field-data-type.d.ts +9 -8
  125. package/build/types/enums/data-type.d.ts +14 -14
  126. package/build/types/enums/date-amount-type.d.ts +4 -4
  127. package/build/types/enums/dossier-type.d.ts +6 -6
  128. package/build/types/enums/duration-type.d.ts +6 -6
  129. package/build/types/enums/entry-line-flag.d.ts +6 -6
  130. package/build/types/enums/entry-line-status.d.ts +19 -19
  131. package/build/types/enums/entry-status.d.ts +8 -8
  132. package/build/types/enums/export-status.d.ts +5 -5
  133. package/build/types/enums/form-field-type.d.ts +12 -12
  134. package/build/types/enums/form-field-width.d.ts +8 -8
  135. package/build/types/enums/form-type.d.ts +4 -4
  136. package/build/types/enums/gender.d.ts +5 -5
  137. package/build/types/enums/height-type.d.ts +4 -4
  138. package/build/types/enums/index.d.ts +34 -34
  139. package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
  140. package/build/types/enums/meta-data-type.d.ts +10 -10
  141. package/build/types/enums/note-type.d.ts +8 -8
  142. package/build/types/enums/payment-type.d.ts +6 -6
  143. package/build/types/enums/portal-qsm-type.d.ts +13 -13
  144. package/build/types/enums/price-chart-type.d.ts +4 -4
  145. package/build/types/enums/print-action-group.d.ts +10 -10
  146. package/build/types/enums/requirement-type.d.ts +5 -5
  147. package/build/types/enums/room-type.d.ts +8 -8
  148. package/build/types/enums/route-transport-type.d.ts +19 -19
  149. package/build/types/enums/sale-type.d.ts +4 -4
  150. package/build/types/enums/service-type.d.ts +33 -33
  151. package/build/types/enums/traject-node-type.d.ts +6 -6
  152. package/build/types/enums/unit-of-measure.d.ts +5 -5
  153. package/build/types/enums/vendor-type.d.ts +24 -24
  154. package/build/types/enums/weight-type.d.ts +4 -4
  155. package/build/types/hubs/index.d.ts +1 -1
  156. package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
  157. package/build/types/hubs/search/flight-search-request.d.ts +38 -37
  158. package/build/types/hubs/search/flight-search-response.d.ts +63 -63
  159. package/build/types/hubs/search/index.d.ts +3 -3
  160. package/build/types/index.d.ts +10 -10
  161. package/build/types/mollie/index.d.ts +2 -2
  162. package/build/types/mollie/mollie-payment-request.d.ts +7 -7
  163. package/build/types/mollie/mollie-payment.d.ts +3 -3
  164. package/build/types/odata/column.d.ts +8 -8
  165. package/build/types/odata/filter-item.d.ts +14 -14
  166. package/build/types/odata/index.d.ts +4 -4
  167. package/build/types/odata/odata-params.d.ts +3 -3
  168. package/build/types/odata/page-result.d.ts +5 -5
  169. package/build/types/offer/address-item.d.ts +30 -30
  170. package/build/types/offer/allotment-meta-data.d.ts +6 -6
  171. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  172. package/build/types/offer/country-item.d.ts +5 -5
  173. package/build/types/offer/crm-contact-request.d.ts +36 -28
  174. package/build/types/offer/customer-request.d.ts +5 -5
  175. package/build/types/offer/dossier-default-product.d.ts +14 -14
  176. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  177. package/build/types/offer/dossier-view-result.d.ts +48 -48
  178. package/build/types/offer/entry-check-response.d.ts +8 -8
  179. package/build/types/offer/entry-light.d.ts +41 -41
  180. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  181. package/build/types/offer/entry-line-pax.d.ts +8 -8
  182. package/build/types/offer/entry-line.d.ts +73 -67
  183. package/build/types/offer/entry-price-line.d.ts +40 -40
  184. package/build/types/offer/entry-room.d.ts +6 -6
  185. package/build/types/offer/entry-room2.d.ts +5 -5
  186. package/build/types/offer/entry.d.ts +65 -55
  187. package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -31
  188. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  189. package/build/types/offer/flight-meta-data.d.ts +13 -13
  190. package/build/types/offer/flight-pool.d.ts +5 -5
  191. package/build/types/offer/geographical-region.d.ts +32 -32
  192. package/build/types/offer/index.d.ts +46 -46
  193. package/build/types/offer/item-tag.d.ts +3 -3
  194. package/build/types/offer/language.d.ts +5 -5
  195. package/build/types/offer/location-item.d.ts +5 -5
  196. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  197. package/build/types/offer/member-forgot-password-request.d.ts +5 -5
  198. package/build/types/offer/member-info.d.ts +14 -14
  199. package/build/types/offer/member-login-request.d.ts +5 -5
  200. package/build/types/offer/member-login-response.d.ts +3 -3
  201. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  202. package/build/types/offer/note.d.ts +16 -16
  203. package/build/types/offer/pax.d.ts +32 -29
  204. package/build/types/offer/payment.d.ts +20 -20
  205. package/build/types/offer/person-country-preference.d.ts +7 -7
  206. package/build/types/offer/person-location-preference.d.ts +7 -7
  207. package/build/types/offer/person-oord-preference.d.ts +7 -7
  208. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  209. package/build/types/offer/person-period-preference.d.ts +7 -7
  210. package/build/types/offer/person-region-preference.d.ts +7 -7
  211. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  212. package/build/types/offer/product-notification-result.d.ts +9 -9
  213. package/build/types/offer/publishing/geo-json-point.d.ts +4 -4
  214. package/build/types/offer/publishing/index.d.ts +6 -6
  215. package/build/types/offer/publishing/mail.d.ts +15 -15
  216. package/build/types/offer/publishing/published-content-item.d.ts +22 -22
  217. package/build/types/offer/publishing/published-content.d.ts +10 -10
  218. package/build/types/offer/publishing/published-field-values.d.ts +20 -20
  219. package/build/types/offer/publishing/template-content.d.ts +47 -30
  220. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  221. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  222. package/build/types/shared/date-struct.d.ts +5 -5
  223. package/build/types/shared/index.d.ts +2 -2
  224. package/build/types/shared/ticket-number.d.ts +5 -5
  225. package/build/types/tide-client-config.d.ts +5 -5
  226. package/build/types/web/affiliate.d.ts +5 -5
  227. package/build/types/web/agent-allotment-item.d.ts +31 -31
  228. package/build/types/web/agent-allotment.d.ts +32 -32
  229. package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
  230. package/build/types/web/agent-dossier-allotment.d.ts +14 -14
  231. package/build/types/web/agent-dossier-book-feedback.d.ts +5 -5
  232. package/build/types/web/agent-dossier-entry-line.d.ts +8 -8
  233. package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +18 -18
  234. package/build/types/web/agent-dossier-flight-meta-data.d.ts +6 -6
  235. package/build/types/web/agent-dossier-item.d.ts +18 -18
  236. package/build/types/web/agent-dossier-traveler.d.ts +10 -10
  237. package/build/types/web/agent-dossier.d.ts +19 -19
  238. package/build/types/web/airport.d.ts +8 -8
  239. package/build/types/web/contact-form-request.d.ts +11 -11
  240. package/build/types/web/content-by-parent-request.d.ts +4 -4
  241. package/build/types/web/content-by-property-request.d.ts +9 -9
  242. package/build/types/web/content-by-template-request.d.ts +5 -5
  243. package/build/types/web/content-filter-request.d.ts +4 -4
  244. package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
  245. package/build/types/web/index.d.ts +28 -28
  246. package/build/types/web/locations-request.d.ts +3 -3
  247. package/build/types/web/portal.d.ts +8 -8
  248. package/build/types/web/style-sheet.d.ts +7 -7
  249. package/build/types/web/tide-location.d.ts +9 -9
  250. package/build/types/web/web-contact.d.ts +9 -9
  251. package/build/types/web/web-form.d.ts +70 -70
  252. package/build/types/web/web-opportunity-request.d.ts +9 -9
  253. package/build/types/web/web-redirect.d.ts +17 -17
  254. package/build/types/web/web-template.d.ts +34 -34
  255. package/build/types/web/website-configuration.d.ts +75 -75
  256. package/build/utils/api.d.ts +23 -3
  257. package/build/utils/booking-v2-client.d.ts +172 -28
  258. package/build/utils/common-client.d.ts +26 -3
  259. package/build/utils/json.d.ts +2 -2
  260. package/build/utils/member-client.d.ts +32 -7
  261. package/build/utils/mollie-client.d.ts +15 -7
  262. package/build/utils/packaging-client.d.ts +85 -19
  263. package/build/utils/search-client.d.ts +60 -24
  264. package/build/utils/service-token.d.ts +23 -16
  265. package/build/utils/template-content.d.ts +33 -9
  266. package/build/utils/web-agent-client.d.ts +98 -28
  267. package/build/utils/web-client.d.ts +136 -75
  268. package/build/utils/web-contact-client.d.ts +23 -11
  269. package/build/utils/web-content-client.d.ts +134 -89
  270. package/build/utils/web-file.d.ts +29 -20
  271. package/build/utils/web-form.d.ts +36 -20
  272. package/build/utils/web-redirect-client.d.ts +14 -10
  273. package/build/utils/web-template-client.d.ts +12 -9
  274. package/package.json +71 -71
@@ -1,42 +1,50 @@
1
- export interface ClientPortalItinerary {
2
- title: string;
3
- styleSheetBody: string;
4
- nodes: ClientPortalItineraryNode[];
5
- defaultItems: ClientPortalItineraryItem[];
6
- }
7
- export interface ClientPortalItineraryNode {
8
- title: string;
9
- startDay: number;
10
- endDay: number;
11
- startDate: Date | null;
12
- endDate: Date | null;
13
- items: ClientPortalItineraryItem[];
14
- }
15
- export interface ClientPortalItineraryItem {
16
- title: string;
17
- productCode: string;
18
- accommodationCode: string;
19
- regimeCode: string;
20
- icon: string;
21
- contents: string;
22
- templateName: string;
23
- itemGuid: string;
24
- lineGuid?: string | null;
25
- latitude: number | null;
26
- longitude: number | null;
27
- images: ClientPortalItineraryImage[];
28
- fields: ClientPortalItineraryField[];
29
- productDuration?: number;
30
- isVirtual?: boolean;
31
- }
32
- export interface ClientPortalItineraryField {
33
- fieldName: string;
34
- groupName: string;
35
- value: string;
36
- }
37
- export interface ClientPortalItineraryImage {
38
- url: string;
39
- name: string;
40
- title: string;
41
- altText: string | null;
42
- }
1
+ export interface ClientPortalItinerary {
2
+ title: string;
3
+ styleSheetBody: string;
4
+ nodes: ClientPortalItineraryNode[];
5
+ defaultItems: ClientPortalItineraryItem[];
6
+ story?: ClientPortalItineraryStory | null;
7
+ }
8
+ export interface ClientPortalItineraryStory {
9
+ token: string;
10
+ isReady: boolean;
11
+ done: number;
12
+ total: number;
13
+ retryAfterSeconds: number;
14
+ }
15
+ export interface ClientPortalItineraryNode {
16
+ title: string;
17
+ startDay: number;
18
+ endDay: number;
19
+ startDate: Date | null;
20
+ endDate: Date | null;
21
+ items: ClientPortalItineraryItem[];
22
+ }
23
+ export interface ClientPortalItineraryItem {
24
+ title: string;
25
+ productCode: string;
26
+ accommodationCode: string;
27
+ regimeCode: string;
28
+ icon: string;
29
+ contents: string;
30
+ templateName: string;
31
+ itemGuid: string;
32
+ lineGuid?: string | null;
33
+ latitude: number | null;
34
+ longitude: number | null;
35
+ images: ClientPortalItineraryImage[];
36
+ fields: ClientPortalItineraryField[];
37
+ productDuration?: number;
38
+ isVirtual?: boolean;
39
+ }
40
+ export interface ClientPortalItineraryField {
41
+ fieldName: string;
42
+ groupName: string;
43
+ value: string;
44
+ }
45
+ export interface ClientPortalItineraryImage {
46
+ url: string;
47
+ name: string;
48
+ title: string;
49
+ altText: string | null;
50
+ }
@@ -1,9 +1,9 @@
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
- export interface PerBookingPackageOption extends PerPackageOption {
6
- groups: BookingOptionGroup<PerBookingPackageOption>[];
7
- units: BookingOptionUnit[];
8
- pax: BookingOptionPax[];
9
- }
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
+ export interface PerBookingPackageOption extends PerPackageOption {
6
+ groups: BookingOptionGroup<PerBookingPackageOption>[];
7
+ units: BookingOptionUnit[];
8
+ pax: BookingOptionPax[];
9
+ }
@@ -1,12 +1,12 @@
1
- import { BookingPackageLine } from "./booking-package-line";
2
- export interface PerPackageOption {
3
- line: BookingPackageLine;
4
- isSelected: boolean;
5
- isDefault: boolean;
6
- customerRequests: {
7
- [key: string]: string;
8
- };
9
- requirementType?: number;
10
- alternatives: BookingPackageLine[];
11
- isExcludeAlternatives: boolean;
12
- }
1
+ import { BookingPackageLine } from "./booking-package-line";
2
+ export interface PerPackageOption {
3
+ line: BookingPackageLine;
4
+ isSelected: boolean;
5
+ isDefault: boolean;
6
+ customerRequests: {
7
+ [key: string]: string;
8
+ };
9
+ requirementType?: number;
10
+ alternatives: BookingPackageLine[];
11
+ isExcludeAlternatives: boolean;
12
+ }
@@ -1,5 +1,5 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { PerPackageOption } from "./per-package-option";
3
- export interface PerPaxPackageOption extends PerPackageOption {
4
- groups: BookingOptionGroup<PerPaxPackageOption>[];
5
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { PerPackageOption } from "./per-package-option";
3
+ export interface PerPaxPackageOption extends PerPackageOption {
4
+ groups: BookingOptionGroup<PerPaxPackageOption>[];
5
+ }
@@ -1,7 +1,7 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { BookingOptionPax } from "./booking-option-pax";
3
- import { PerPackageOption } from "./per-package-option";
4
- export interface PerUnitPackageOption extends PerPackageOption {
5
- groups: BookingOptionGroup<PerUnitPackageOption>[];
6
- pax: BookingOptionPax[];
7
- }
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { BookingOptionPax } from "./booking-option-pax";
3
+ import { PerPackageOption } from "./per-package-option";
4
+ export interface PerUnitPackageOption extends PerPackageOption {
5
+ groups: BookingOptionGroup<PerUnitPackageOption>[];
6
+ pax: BookingOptionPax[];
7
+ }
@@ -1,4 +1,4 @@
1
- export interface RoomOptionPaxType {
2
- id: number;
3
- type: number;
4
- }
1
+ export interface RoomOptionPaxType {
2
+ id: number;
3
+ type: number;
4
+ }
@@ -1,9 +1,9 @@
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
+ 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 +1,5 @@
1
- export interface ChangeEntryAgentSurchargeAction {
2
- entryId: number;
3
- agentSurchargeAmount?: number;
4
- agentSurchargePercentage?: number;
5
- }
1
+ export interface ChangeEntryAgentSurchargeAction {
2
+ entryId: number;
3
+ agentSurchargeAmount?: number;
4
+ agentSurchargePercentage?: number;
5
+ }
@@ -1,7 +1,7 @@
1
- export interface EntryTotals {
2
- totalPrice: number;
3
- revenue: number;
4
- commission: number;
5
- margin: number;
6
- profit: number;
7
- }
1
+ export interface EntryTotals {
2
+ totalPrice: number;
3
+ revenue: number;
4
+ commission: number;
5
+ margin: number;
6
+ profit: number;
7
+ }
@@ -1,3 +1,3 @@
1
- export * from "./agent-invoice-item";
2
- export * from "./entry-totals";
3
- export * from "./change-entry-agent-surcharge-action.model";
1
+ export * from "./agent-invoice-item";
2
+ export * from "./entry-totals";
3
+ export * from "./change-entry-agent-surcharge-action.model";
@@ -1,11 +1,11 @@
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
+ 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,6 +1,6 @@
1
- import { EntryStatus } from "../enums";
2
- export interface AgentPrintAction {
3
- id: number;
4
- label: string;
5
- validEntryStatuses: EntryStatus[];
6
- }
1
+ import { EntryStatus } from "../enums";
2
+ export interface AgentPrintAction {
3
+ id: number;
4
+ label: string;
5
+ validEntryStatuses: EntryStatus[];
6
+ }
@@ -1,6 +1,6 @@
1
- export interface CustomEntryStatusItem {
2
- id: number;
3
- order: number;
4
- status: number;
5
- name: string;
6
- }
1
+ export interface CustomEntryStatusItem {
2
+ id: number;
3
+ order: number;
4
+ status: number;
5
+ name: string;
6
+ }
@@ -1,5 +1,5 @@
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
+ 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 +1,4 @@
1
- export interface NumberStringPair {
2
- key: number | undefined;
3
- value: string;
4
- }
1
+ export interface NumberStringPair {
2
+ key: number | undefined;
3
+ value: string;
4
+ }
@@ -1,4 +1,4 @@
1
- export declare enum AllotmentKind {
2
- perUnit = 0,
3
- perMember = 1
4
- }
1
+ export declare enum AllotmentKind {
2
+ perUnit = 0,
3
+ perMember = 1,
4
+ }
@@ -1,5 +1,5 @@
1
- export declare enum AllotmentStatus {
2
- bookable = 0,
3
- closed = 1,
4
- hidden = 2
5
- }
1
+ export declare enum AllotmentStatus {
2
+ bookable = 0,
3
+ closed = 1,
4
+ hidden = 2,
5
+ }
@@ -1,5 +1,5 @@
1
- export declare const AllotmentType: {
2
- freeSell: number;
3
- onRequest: number;
4
- allotment: number;
5
- };
1
+ export declare const AllotmentType: {
2
+ freeSell: number;
3
+ onRequest: number;
4
+ allotment: number;
5
+ };
@@ -1,6 +1,6 @@
1
- export declare enum AvailabilitySearchType {
2
- default = 0,
3
- allotment = 1,
4
- fixedDuration = 2,
5
- flight = 3
6
- }
1
+ export declare enum AvailabilitySearchType {
2
+ default = 0,
3
+ allotment = 1,
4
+ fixedDuration = 2,
5
+ flight = 3,
6
+ }
@@ -1,8 +1,9 @@
1
- export declare const CustomFieldDataType: {
2
- bool: number;
3
- date: number;
4
- time: number;
5
- string: number;
6
- numeric: number;
7
- };
8
- export declare type CustomFieldDataType = typeof CustomFieldDataType[keyof typeof CustomFieldDataType];
1
+ export declare const CustomFieldDataType: {
2
+ bool: number;
3
+ date: number;
4
+ time: number;
5
+ string: number;
6
+ numeric: number;
7
+ };
8
+ export declare type CustomFieldDataType =
9
+ typeof CustomFieldDataType[keyof typeof CustomFieldDataType];
@@ -1,14 +1,14 @@
1
- export declare const DataType: {
2
- text: string;
3
- numeric: string;
4
- int: string;
5
- bool: string;
6
- value: string;
7
- enum: string;
8
- date: string;
9
- dateTime: string;
10
- dateFrom: string;
11
- html: string;
12
- list: string;
13
- template: string;
14
- };
1
+ export declare const DataType: {
2
+ text: string;
3
+ numeric: string;
4
+ int: string;
5
+ bool: string;
6
+ value: string;
7
+ enum: string;
8
+ date: string;
9
+ dateTime: string;
10
+ dateFrom: string;
11
+ html: string;
12
+ list: string;
13
+ template: string;
14
+ };
@@ -1,4 +1,4 @@
1
- export declare enum DateAmountType {
2
- days = 0,
3
- months = 1
4
- }
1
+ export declare enum DateAmountType {
2
+ days = 0,
3
+ months = 1,
4
+ }
@@ -1,6 +1,6 @@
1
- export declare const DossierType: {
2
- hotelOnly: number;
3
- transportOnly: number;
4
- cruise: number;
5
- package: number;
6
- };
1
+ export declare const DossierType: {
2
+ hotelOnly: number;
3
+ transportOnly: number;
4
+ cruise: number;
5
+ package: number;
6
+ };
@@ -1,6 +1,6 @@
1
- export declare const DurationType: {
2
- hours: number;
3
- days: number;
4
- nights: number;
5
- minutes: number;
6
- };
1
+ export declare const DurationType: {
2
+ hours: number;
3
+ days: number;
4
+ nights: number;
5
+ minutes: number;
6
+ };
@@ -1,6 +1,6 @@
1
- export declare const EntryLineFlag: {
2
- none: number;
3
- allotmentNoPlace: number;
4
- flightLuggage: number;
5
- noCachedPrice: number;
6
- };
1
+ export declare const EntryLineFlag: {
2
+ none: number;
3
+ allotmentNoPlace: number;
4
+ flightLuggage: number;
5
+ noCachedPrice: number;
6
+ };
@@ -1,19 +1,19 @@
1
- export declare const EntryLineStatus: {
2
- cancellationByClient: number;
3
- cancellationByYou: number;
4
- noAllotment: number;
5
- offer: number;
6
- ok: number;
7
- option: number;
8
- onRequest: number;
9
- requestConfirmed: number;
10
- requestDenied: number;
11
- requestSent: number;
12
- pending: number;
13
- notBookable: number;
14
- noAllotmentFallbackToRealtimeFlight: number;
15
- notBookableFallbackToRealtimeFlight: number;
16
- error: number;
17
- bookingConfirmed: number;
18
- cancellationConfirmed: number;
19
- };
1
+ export declare const EntryLineStatus: {
2
+ cancellationByClient: number;
3
+ cancellationByYou: number;
4
+ noAllotment: number;
5
+ offer: number;
6
+ ok: number;
7
+ option: number;
8
+ onRequest: number;
9
+ requestConfirmed: number;
10
+ requestDenied: number;
11
+ requestSent: number;
12
+ pending: number;
13
+ notBookable: number;
14
+ noAllotmentFallbackToRealtimeFlight: number;
15
+ notBookableFallbackToRealtimeFlight: number;
16
+ error: number;
17
+ bookingConfirmed: number;
18
+ cancellationConfirmed: number;
19
+ };
@@ -1,8 +1,8 @@
1
- export declare enum EntryStatus {
2
- new = -1,
3
- offer = 0,
4
- option = 1,
5
- booking = 2,
6
- cancellationByClient = 3,
7
- cancellationByYou = 4
8
- }
1
+ export declare enum EntryStatus {
2
+ new = -1,
3
+ offer = 0,
4
+ option = 1,
5
+ booking = 2,
6
+ cancellationByClient = 3,
7
+ cancellationByYou = 4,
8
+ }
@@ -1,5 +1,5 @@
1
- export declare const ExportStatus: {
2
- exported: number;
3
- notExported: number;
4
- exportFailed: number;
5
- };
1
+ export declare const ExportStatus: {
2
+ exported: number;
3
+ notExported: number;
4
+ exportFailed: number;
5
+ };
@@ -1,12 +1,12 @@
1
- export declare const FormFieldType: {
2
- Text: number;
3
- Number: number;
4
- YesNo: number;
5
- Checkbox: number;
6
- Dropdown: number;
7
- Multiline: number;
8
- InfoText: number;
9
- Calculated: number;
10
- Date: number;
11
- Email: number;
12
- };
1
+ export declare const FormFieldType: {
2
+ Text: number;
3
+ Number: number;
4
+ YesNo: number;
5
+ Checkbox: number;
6
+ Dropdown: number;
7
+ Multiline: number;
8
+ InfoText: number;
9
+ Calculated: number;
10
+ Date: number;
11
+ Email: number;
12
+ };
@@ -1,8 +1,8 @@
1
- export declare const FormFieldWidth: {
2
- Full: number;
3
- ThreeQuarters: number;
4
- TwoThirds: number;
5
- Half: number;
6
- OneThird: number;
7
- OneQuarter: number;
8
- };
1
+ export declare const FormFieldWidth: {
2
+ Full: number;
3
+ ThreeQuarters: number;
4
+ TwoThirds: number;
5
+ Half: number;
6
+ OneThird: number;
7
+ OneQuarter: number;
8
+ };
@@ -1,4 +1,4 @@
1
- export declare const FormType: {
2
- Simple: number;
3
- Wizard: number;
4
- };
1
+ export declare const FormType: {
2
+ Simple: number;
3
+ Wizard: number;
4
+ };
@@ -1,5 +1,5 @@
1
- export declare const Gender: {
2
- male: number;
3
- female: number;
4
- other: number;
5
- };
1
+ export declare const Gender: {
2
+ male: number;
3
+ female: number;
4
+ other: number;
5
+ };
@@ -1,4 +1,4 @@
1
- export declare const HeightType: {
2
- centimeters: number;
3
- feetInches: number;
4
- };
1
+ export declare const HeightType: {
2
+ centimeters: number;
3
+ feetInches: number;
4
+ };