@qite/tide-client 2.0.25 → 2.0.26-preview.1

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 (273) hide show
  1. package/build/cli.d.ts +1 -1
  2. package/build/cli.js +4443 -4764
  3. package/build/index.d.ts +18 -20
  4. package/build/index.js +5726 -6127
  5. package/build/index.js.map +1 -1
  6. package/build/services/odata.service.d.ts +2 -8
  7. package/build/templates/generate-template-types.d.ts +16 -19
  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 +32 -28
  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 -28
  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 -30
  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 -23
  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 +8 -7
  27. package/build/types/booking-v2/request/packaging/packaging-traject-request.d.ts +14 -13
  28. package/build/types/booking-v2/request/packaging/packaging-transfer-request.d.ts +27 -0
  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 -15
  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 -37
  62. package/build/types/booking-v2/response/packaging/packaging-accommodation-response.d.ts +21 -20
  63. package/build/types/booking-v2/response/packaging/packaging-base-response.d.ts +26 -25
  64. package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +119 -105
  65. package/build/types/booking-v2/response/packaging/packaging-flight-response.d.ts +18 -22
  66. package/build/types/booking-v2/response/packaging/packaging-traject-item.d.ts +8 -0
  67. package/build/types/booking-v2/response/packaging/packaging-traject-response.d.ts +97 -74
  68. package/build/types/booking-v2/response/packaging/packaging-transaction.d.ts +4 -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 +3 -2
  75. package/build/types/booking-v2/shared/airport-booking-package-option.d.ts +3 -2
  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-entry.d.ts +5 -5
  85. package/build/types/booking-v2/shared/booking-package-flight-meta-data-line.d.ts +18 -18
  86. package/build/types/booking-v2/shared/booking-package-flight-meta-data.d.ts +10 -10
  87. package/build/types/booking-v2/shared/booking-package-flight.d.ts +18 -18
  88. package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +11 -11
  89. package/build/types/booking-v2/shared/booking-package-hotel-room.d.ts +5 -5
  90. package/build/types/booking-v2/shared/booking-package-hotel.d.ts +22 -22
  91. package/build/types/booking-v2/shared/booking-package-line.d.ts +20 -17
  92. package/build/types/booking-v2/shared/booking-package-option-mapping-info.d.ts +5 -5
  93. package/build/types/booking-v2/shared/booking-package-option.d.ts +53 -53
  94. package/build/types/booking-v2/shared/booking-package-pax-custom-field.d.ts +11 -8
  95. package/build/types/booking-v2/shared/booking-package-pax-field-config.d.ts +9 -0
  96. package/build/types/booking-v2/shared/booking-package-pax.d.ts +40 -23
  97. package/build/types/booking-v2/shared/booking-package-request-room.d.ts +5 -5
  98. package/build/types/booking-v2/shared/booking-package-room-option.d.ts +25 -22
  99. package/build/types/booking-v2/shared/booking-package-room.d.ts +5 -5
  100. package/build/types/booking-v2/shared/booking-package-tag.d.ts +5 -5
  101. package/build/types/booking-v2/shared/booking-package.d.ts +21 -16
  102. package/build/types/booking-v2/shared/index.d.ts +32 -31
  103. package/build/types/booking-v2/shared/itinerary.d.ts +42 -41
  104. package/build/types/booking-v2/shared/per-booking-package-option.d.ts +9 -9
  105. package/build/types/booking-v2/shared/per-package-option.d.ts +12 -12
  106. package/build/types/booking-v2/shared/per-pax-package-option.d.ts +5 -5
  107. package/build/types/booking-v2/shared/per-unit-package-option.d.ts +7 -7
  108. package/build/types/booking-v2/shared/room-option-pax-type.d.ts +4 -4
  109. package/build/types/company/agent/agent-invoice-item.d.ts +9 -9
  110. package/build/types/company/agent/change-entry-agent-surcharge-action.model.d.ts +5 -5
  111. package/build/types/company/agent/entry-totals.d.ts +7 -7
  112. package/build/types/company/agent/index.d.ts +3 -3
  113. package/build/types/company/agent-print-action-request.d.ts +11 -11
  114. package/build/types/company/agent-print-action.d.ts +6 -6
  115. package/build/types/company/custom-entry-status-item.d.ts +6 -6
  116. package/build/types/company/index.d.ts +5 -5
  117. package/build/types/company/number-string-pair.d.ts +4 -4
  118. package/build/types/enums/allotment-kind.d.ts +4 -4
  119. package/build/types/enums/allotment-status.d.ts +5 -5
  120. package/build/types/enums/allotment-type.d.ts +5 -5
  121. package/build/types/enums/availability-search-type.d.ts +6 -6
  122. package/build/types/enums/custom-field-data-type.d.ts +8 -7
  123. package/build/types/enums/data-type.d.ts +14 -14
  124. package/build/types/enums/date-amount-type.d.ts +4 -4
  125. package/build/types/enums/dossier-type.d.ts +6 -6
  126. package/build/types/enums/duration-type.d.ts +6 -6
  127. package/build/types/enums/entry-line-flag.d.ts +6 -6
  128. package/build/types/enums/entry-line-status.d.ts +19 -19
  129. package/build/types/enums/entry-status.d.ts +8 -8
  130. package/build/types/enums/export-status.d.ts +5 -5
  131. package/build/types/enums/form-field-type.d.ts +12 -12
  132. package/build/types/enums/form-field-width.d.ts +8 -8
  133. package/build/types/enums/form-type.d.ts +4 -4
  134. package/build/types/enums/gender.d.ts +5 -5
  135. package/build/types/enums/height-type.d.ts +4 -4
  136. package/build/types/enums/index.d.ts +34 -34
  137. package/build/types/enums/meta-data-item-property-type.d.ts +6 -6
  138. package/build/types/enums/meta-data-type.d.ts +10 -10
  139. package/build/types/enums/note-type.d.ts +8 -8
  140. package/build/types/enums/payment-type.d.ts +6 -6
  141. package/build/types/enums/portal-qsm-type.d.ts +13 -13
  142. package/build/types/enums/price-chart-type.d.ts +4 -4
  143. package/build/types/enums/print-action-group.d.ts +10 -10
  144. package/build/types/enums/requirement-type.d.ts +5 -5
  145. package/build/types/enums/room-type.d.ts +8 -8
  146. package/build/types/enums/route-transport-type.d.ts +19 -19
  147. package/build/types/enums/sale-type.d.ts +4 -4
  148. package/build/types/enums/service-type.d.ts +33 -33
  149. package/build/types/enums/traject-node-type.d.ts +6 -6
  150. package/build/types/enums/unit-of-measure.d.ts +5 -5
  151. package/build/types/enums/vendor-type.d.ts +24 -24
  152. package/build/types/enums/weight-type.d.ts +4 -4
  153. package/build/types/hubs/index.d.ts +1 -1
  154. package/build/types/hubs/search/flight-search-finish-response.d.ts +4 -4
  155. package/build/types/hubs/search/flight-search-request.d.ts +37 -32
  156. package/build/types/hubs/search/flight-search-response.d.ts +63 -59
  157. package/build/types/hubs/search/index.d.ts +3 -3
  158. package/build/types/index.d.ts +10 -10
  159. package/build/types/mollie/index.d.ts +2 -2
  160. package/build/types/mollie/mollie-payment-request.d.ts +7 -7
  161. package/build/types/mollie/mollie-payment.d.ts +3 -3
  162. package/build/types/odata/column.d.ts +8 -8
  163. package/build/types/odata/filter-item.d.ts +14 -14
  164. package/build/types/odata/index.d.ts +4 -4
  165. package/build/types/odata/odata-params.d.ts +3 -3
  166. package/build/types/odata/page-result.d.ts +5 -5
  167. package/build/types/offer/address-item.d.ts +30 -30
  168. package/build/types/offer/allotment-meta-data.d.ts +6 -6
  169. package/build/types/offer/confirmed-dossier-check.d.ts +6 -6
  170. package/build/types/offer/country-item.d.ts +5 -5
  171. package/build/types/offer/crm-contact-request.d.ts +28 -36
  172. package/build/types/offer/customer-request.d.ts +5 -5
  173. package/build/types/offer/dossier-default-product.d.ts +14 -14
  174. package/build/types/offer/dossier-pax-item.d.ts +4 -4
  175. package/build/types/offer/dossier-view-result.d.ts +48 -48
  176. package/build/types/offer/entry-check-response.d.ts +8 -8
  177. package/build/types/offer/entry-light.d.ts +41 -41
  178. package/build/types/offer/entry-line-meta-data.d.ts +5 -5
  179. package/build/types/offer/entry-line-pax.d.ts +8 -8
  180. package/build/types/offer/entry-line.d.ts +67 -73
  181. package/build/types/offer/entry-price-line.d.ts +40 -40
  182. package/build/types/offer/entry-room.d.ts +6 -6
  183. package/build/types/offer/entry-room2.d.ts +5 -5
  184. package/build/types/offer/entry.d.ts +55 -65
  185. package/build/types/offer/flight-data-segment-meta-data.d.ts +31 -31
  186. package/build/types/offer/flight-meta-data-line.d.ts +16 -16
  187. package/build/types/offer/flight-meta-data.d.ts +13 -13
  188. package/build/types/offer/flight-pool.d.ts +5 -5
  189. package/build/types/offer/geographical-region.d.ts +32 -32
  190. package/build/types/offer/index.d.ts +46 -46
  191. package/build/types/offer/item-tag.d.ts +3 -3
  192. package/build/types/offer/language.d.ts +5 -5
  193. package/build/types/offer/location-item.d.ts +5 -5
  194. package/build/types/offer/member-confirmation-request.d.ts +5 -5
  195. package/build/types/offer/member-forgot-password-request.d.ts +5 -5
  196. package/build/types/offer/member-info.d.ts +14 -14
  197. package/build/types/offer/member-login-request.d.ts +5 -5
  198. package/build/types/offer/member-login-response.d.ts +3 -3
  199. package/build/types/offer/member-reset-password-request.d.ts +4 -4
  200. package/build/types/offer/note.d.ts +16 -16
  201. package/build/types/offer/pax.d.ts +29 -29
  202. package/build/types/offer/payment.d.ts +20 -20
  203. package/build/types/offer/person-country-preference.d.ts +7 -7
  204. package/build/types/offer/person-location-preference.d.ts +7 -7
  205. package/build/types/offer/person-oord-preference.d.ts +7 -7
  206. package/build/types/offer/person-period-date-range-preference.d.ts +6 -6
  207. package/build/types/offer/person-period-preference.d.ts +7 -7
  208. package/build/types/offer/person-region-preference.d.ts +7 -7
  209. package/build/types/offer/person-tour-group-preference.d.ts +7 -7
  210. package/build/types/offer/product-notification-result.d.ts +9 -9
  211. package/build/types/offer/publishing/geo-json-point.d.ts +4 -4
  212. package/build/types/offer/publishing/index.d.ts +6 -6
  213. package/build/types/offer/publishing/mail.d.ts +15 -15
  214. package/build/types/offer/publishing/published-content-item.d.ts +22 -22
  215. package/build/types/offer/publishing/published-content.d.ts +10 -10
  216. package/build/types/offer/publishing/published-field-values.d.ts +20 -20
  217. package/build/types/offer/publishing/template-content.d.ts +30 -47
  218. package/build/types/offer/web-contact-form-request.d.ts +13 -13
  219. package/build/types/offer/web-contact-has-tag-request.d.ts +4 -4
  220. package/build/types/shared/date-struct.d.ts +5 -5
  221. package/build/types/shared/index.d.ts +2 -2
  222. package/build/types/shared/ticket-number.d.ts +5 -5
  223. package/build/types/tide-client-config.d.ts +5 -5
  224. package/build/types/web/affiliate.d.ts +5 -5
  225. package/build/types/web/agent-allotment-item.d.ts +31 -31
  226. package/build/types/web/agent-allotment.d.ts +32 -32
  227. package/build/types/web/agent-dossier-allotment-item.d.ts +8 -8
  228. package/build/types/web/agent-dossier-allotment.d.ts +14 -14
  229. package/build/types/web/agent-dossier-book-feedback.d.ts +5 -5
  230. package/build/types/web/agent-dossier-entry-line.d.ts +8 -8
  231. package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +18 -18
  232. package/build/types/web/agent-dossier-flight-meta-data.d.ts +6 -6
  233. package/build/types/web/agent-dossier-item.d.ts +18 -18
  234. package/build/types/web/agent-dossier-traveler.d.ts +10 -10
  235. package/build/types/web/agent-dossier.d.ts +19 -19
  236. package/build/types/web/airport.d.ts +8 -6
  237. package/build/types/web/contact-form-request.d.ts +11 -11
  238. package/build/types/web/content-by-parent-request.d.ts +4 -4
  239. package/build/types/web/content-by-property-request.d.ts +9 -9
  240. package/build/types/web/content-by-template-request.d.ts +5 -5
  241. package/build/types/web/content-filter-request.d.ts +4 -4
  242. package/build/types/web/generate-booking-accommodation-request.d.ts +6 -6
  243. package/build/types/web/index.d.ts +28 -27
  244. package/build/types/web/locations-request.d.ts +3 -3
  245. package/build/types/web/portal.d.ts +8 -8
  246. package/build/types/web/style-sheet.d.ts +7 -7
  247. package/build/types/web/tide-location.d.ts +9 -9
  248. package/build/types/web/web-contact.d.ts +9 -9
  249. package/build/types/web/web-form.d.ts +70 -68
  250. package/build/types/web/web-opportunity-request.d.ts +9 -9
  251. package/build/types/web/web-redirect.d.ts +17 -0
  252. package/build/types/web/web-template.d.ts +34 -34
  253. package/build/types/web/website-configuration.d.ts +75 -36
  254. package/build/utils/api.d.ts +3 -23
  255. package/build/utils/booking-v2-client.d.ts +28 -172
  256. package/build/utils/common-client.d.ts +3 -26
  257. package/build/utils/json.d.ts +2 -2
  258. package/build/utils/member-client.d.ts +7 -32
  259. package/build/utils/mollie-client.d.ts +7 -15
  260. package/build/utils/packaging-client.d.ts +19 -59
  261. package/build/utils/search-client.d.ts +24 -60
  262. package/build/utils/service-token.d.ts +16 -23
  263. package/build/utils/template-content.d.ts +9 -33
  264. package/build/utils/web-agent-client.d.ts +28 -98
  265. package/build/utils/web-client.d.ts +75 -136
  266. package/build/utils/web-contact-client.d.ts +11 -23
  267. package/build/utils/web-content-client.d.ts +89 -134
  268. package/build/utils/web-file.d.ts +20 -29
  269. package/build/utils/web-form.d.ts +20 -36
  270. package/build/utils/web-redirect-client.d.ts +10 -0
  271. package/build/utils/web-template-client.d.ts +9 -12
  272. package/package.json +71 -71
  273. package/build/types/booking-v2/request/price-list-request.d.ts +0 -3
@@ -1,20 +1,20 @@
1
- export interface Payment {
2
- id: number;
3
- date: Date;
4
- dossierNumber: string;
5
- dossierId?: number;
6
- codaId?: number;
7
- ledgerAccountId?: number;
8
- ledgerAccountNumber?: string;
9
- amount: number;
10
- currency: string;
11
- accountNumber: string;
12
- paymentMethod: string;
13
- paymentType: number;
14
- note: string;
15
- isChecked: boolean;
16
- structuredPaymentRemark: string;
17
- client: string;
18
- exportTime?: Date;
19
- exportStatus?: number;
20
- }
1
+ export interface Payment {
2
+ id: number;
3
+ date: Date;
4
+ dossierNumber: string;
5
+ dossierId?: number;
6
+ codaId?: number;
7
+ ledgerAccountId?: number;
8
+ ledgerAccountNumber?: string;
9
+ amount: number;
10
+ currency: string;
11
+ accountNumber: string;
12
+ paymentMethod: string;
13
+ paymentType: number;
14
+ note: string;
15
+ isChecked: boolean;
16
+ structuredPaymentRemark: string;
17
+ client: string;
18
+ exportTime?: Date;
19
+ exportStatus?: number;
20
+ }
@@ -1,7 +1,7 @@
1
- export interface PersonCountryPreference {
2
- id?: number;
3
- personId: number;
4
- countryId: number;
5
- countryName: string;
6
- order: number;
7
- }
1
+ export interface PersonCountryPreference {
2
+ id?: number;
3
+ personId: number;
4
+ countryId: number;
5
+ countryName: string;
6
+ order: number;
7
+ }
@@ -1,7 +1,7 @@
1
- export interface PersonLocationPreference {
2
- id?: number;
3
- personId: number;
4
- locationId: number;
5
- locationName: string;
6
- order: number;
7
- }
1
+ export interface PersonLocationPreference {
2
+ id?: number;
3
+ personId: number;
4
+ locationId: number;
5
+ locationName: string;
6
+ order: number;
7
+ }
@@ -1,7 +1,7 @@
1
- export interface PersonOordPreference {
2
- id?: number;
3
- personId: number;
4
- oordId: number;
5
- oordName: string;
6
- order: number;
7
- }
1
+ export interface PersonOordPreference {
2
+ id?: number;
3
+ personId: number;
4
+ oordId: number;
5
+ oordName: string;
6
+ order: number;
7
+ }
@@ -1,6 +1,6 @@
1
- export interface PersonPeriodDateRangePreference {
2
- id?: number;
3
- personId: number;
4
- startDate: Date;
5
- endDate: Date;
6
- }
1
+ export interface PersonPeriodDateRangePreference {
2
+ id?: number;
3
+ personId: number;
4
+ startDate: Date;
5
+ endDate: Date;
6
+ }
@@ -1,7 +1,7 @@
1
- export interface PersonPeriodPreference {
2
- id?: number;
3
- personId: number;
4
- periodId: number;
5
- periodName: string;
6
- order: number;
7
- }
1
+ export interface PersonPeriodPreference {
2
+ id?: number;
3
+ personId: number;
4
+ periodId: number;
5
+ periodName: string;
6
+ order: number;
7
+ }
@@ -1,7 +1,7 @@
1
- export interface PersonRegionPreference {
2
- id?: number;
3
- personId: number;
4
- regionId: number;
5
- regionName: string;
6
- order: number;
7
- }
1
+ export interface PersonRegionPreference {
2
+ id?: number;
3
+ personId: number;
4
+ regionId: number;
5
+ regionName: string;
6
+ order: number;
7
+ }
@@ -1,7 +1,7 @@
1
- export interface PersonTourGroupPreference {
2
- id?: number;
3
- adults: number;
4
- children: number;
5
- rooms: number;
6
- personId: number;
7
- }
1
+ export interface PersonTourGroupPreference {
2
+ id?: number;
3
+ adults: number;
4
+ children: number;
5
+ rooms: number;
6
+ personId: number;
7
+ }
@@ -1,9 +1,9 @@
1
- export interface ProductNotificationResult {
2
- id: number;
3
- productCode: string;
4
- productName: string;
5
- title: string;
6
- description: string;
7
- isBlocking: boolean;
8
- hasToBeConfirmed: boolean;
9
- }
1
+ export interface ProductNotificationResult {
2
+ id: number;
3
+ productCode: string;
4
+ productName: string;
5
+ title: string;
6
+ description: string;
7
+ isBlocking: boolean;
8
+ hasToBeConfirmed: boolean;
9
+ }
@@ -1,4 +1,4 @@
1
- export interface GeoJsonPoint {
2
- type: "Point";
3
- coordinates: number[];
4
- }
1
+ export interface GeoJsonPoint {
2
+ type: "Point";
3
+ coordinates: number[];
4
+ }
@@ -1,6 +1,6 @@
1
- export * from "./geo-json-point";
2
- export * from "./mail";
3
- export * from "./published-content-item";
4
- export * from "./published-content";
5
- export * from "./published-field-values";
6
- export * from "./template-content";
1
+ export * from "./geo-json-point";
2
+ export * from "./mail";
3
+ export * from "./published-content-item";
4
+ export * from "./published-content";
5
+ export * from "./published-field-values";
6
+ export * from "./template-content";
@@ -1,15 +1,15 @@
1
- export interface Mail {
2
- firstName: string;
3
- lastName: string;
4
- phone: string;
5
- emailaddress: string;
6
- message: string;
7
- emailTemplate: number;
8
- street: string;
9
- houseNumber: string;
10
- mailbox: string;
11
- postalCode: string;
12
- city: string;
13
- country: string;
14
- ignoreBCC: boolean;
15
- }
1
+ export interface Mail {
2
+ firstName: string;
3
+ lastName: string;
4
+ phone: string;
5
+ emailaddress: string;
6
+ message: string;
7
+ emailTemplate: number;
8
+ street: string;
9
+ houseNumber: string;
10
+ mailbox: string;
11
+ postalCode: string;
12
+ city: string;
13
+ country: string;
14
+ ignoreBCC: boolean;
15
+ }
@@ -1,22 +1,22 @@
1
- import { GeoJsonPoint } from "./geo-json-point";
2
- export interface PublishedContentItem {
3
- publishedBy: string;
4
- publishedAt: string;
5
- publishedVersion: number;
6
- itemId: number;
7
- parentItemId: number | null;
8
- name: string;
9
- templateName: string;
10
- position: number;
11
- content: {
12
- [culture: string]: {
13
- [key: string]: unknown;
14
- };
15
- };
16
- geographicalContent: {
17
- [culture: string]: {
18
- [key: string]: GeoJsonPoint;
19
- };
20
- };
21
- children: PublishedContentItem[];
22
- }
1
+ import { GeoJsonPoint } from "./geo-json-point";
2
+ export interface PublishedContentItem {
3
+ publishedBy: string;
4
+ publishedAt: string;
5
+ publishedVersion: number;
6
+ itemId: number;
7
+ parentItemId: number | null;
8
+ name: string;
9
+ templateName: string;
10
+ position: number;
11
+ content: {
12
+ [culture: string]: {
13
+ [key: string]: unknown;
14
+ };
15
+ };
16
+ geographicalContent: {
17
+ [culture: string]: {
18
+ [key: string]: GeoJsonPoint;
19
+ };
20
+ };
21
+ children: PublishedContentItem[];
22
+ }
@@ -1,10 +1,10 @@
1
- import { PublishedContentItem } from "./published-content-item";
2
- export interface PublishedLanguages {
3
- [language: string]: PublishedContentItem[];
4
- }
5
- export interface PublishedChannels {
6
- [channel: string]: PublishedLanguages;
7
- }
8
- export interface PublishedContent {
9
- channels: PublishedChannels;
10
- }
1
+ import { PublishedContentItem } from "./published-content-item";
2
+ export interface PublishedLanguages {
3
+ [language: string]: PublishedContentItem[];
4
+ }
5
+ export interface PublishedChannels {
6
+ [channel: string]: PublishedLanguages;
7
+ }
8
+ export interface PublishedContent {
9
+ channels: PublishedChannels;
10
+ }
@@ -1,20 +1,20 @@
1
- /** An Image field, or one entry of an ImageList field, as Tide publishes it. */
2
- export interface PublishedImage {
3
- url?: string | null;
4
- title?: string | null;
5
- altText?: string | null;
6
- order?: number | null;
7
- type?: number | null;
8
- copyright?: string | null;
9
- }
10
- /** An Entity field (or one entry of a MultipleEntities field). */
11
- export interface PublishedEntity {
12
- key: number;
13
- value: string | null;
14
- localizedValue?: string | null;
15
- /** The template field's custom editor, e.g. "Product", "Country", "Airport". */
16
- entityType: string | null;
17
- code?: string | null;
18
- /** Airline and Airport entities carry their IATA code instead of `code`. */
19
- iata?: string | null;
20
- }
1
+ /** An Image field, or one entry of an ImageList field, as Tide publishes it. */
2
+ export interface PublishedImage {
3
+ url?: string | null;
4
+ title?: string | null;
5
+ altText?: string | null;
6
+ order?: number | null;
7
+ type?: number | null;
8
+ copyright?: string | null;
9
+ }
10
+ /** An Entity field (or one entry of a MultipleEntities field). */
11
+ export interface PublishedEntity {
12
+ key: number;
13
+ value: string | null;
14
+ localizedValue?: string | null;
15
+ /** The template field's custom editor, e.g. "Product", "Country", "Airport". */
16
+ entityType: string | null;
17
+ code?: string | null;
18
+ /** Airline and Airport entities carry their IATA code instead of `code`. */
19
+ iata?: string | null;
20
+ }
@@ -1,47 +1,30 @@
1
- import { PublishedContentItem } from "./published-content-item";
2
- /**
3
- * Template name -> content type. Empty here: a project fills it by running
4
- * `tide-client generate-types`, whose output augments this interface
5
- * (`declare module "@qite/tide-client" { interface TideTemplateMap { … } }`).
6
- */
7
- export interface TideTemplateMap {}
8
- declare type HasTemplates = [keyof TideTemplateMap] extends [never]
9
- ? false
10
- : true;
11
- /** The project's template names, or `string` when no types were generated. */
12
- export declare type TideTemplateName = HasTemplates extends true
13
- ? Extract<keyof TideTemplateMap, string>
14
- : string;
15
- declare type UntypedContent = {
16
- [group: string]:
17
- | {
18
- [field: string]: unknown;
19
- }
20
- | undefined;
21
- };
22
- /** The `content` of an item of this template. */
23
- export declare type TideTemplateContent<T extends string> =
24
- T extends keyof TideTemplateMap ? TideTemplateMap[T] : UntypedContent;
25
- /** A published item known to be of template `T`. */
26
- export declare type TideTemplateItem<T extends string> =
27
- PublishedContentItem & {
28
- templateName: T;
29
- content: TideTemplateContent<T>;
30
- };
31
- /** The groups of template `T`. */
32
- export declare type TideTemplateGroup<T extends string> = Extract<
33
- keyof TideTemplateContent<T>,
34
- string
35
- >;
36
- /** The fields of group `G` of template `T`. */
37
- export declare type TideTemplateFieldName<
38
- T extends string,
39
- G extends TideTemplateGroup<T>
40
- > = Extract<keyof NonNullable<TideTemplateContent<T>[G]>, string>;
41
- /** The published value of field `F` in group `G` of template `T`. */
42
- export declare type TideTemplateFieldValue<
43
- T extends string,
44
- G extends TideTemplateGroup<T>,
45
- F extends TideTemplateFieldName<T, G>
46
- > = NonNullable<TideTemplateContent<T>[G]>[F];
47
- export {};
1
+ import { PublishedContentItem } from "./published-content-item";
2
+ /**
3
+ * Template name -> content type. Empty here: a project fills it by running
4
+ * `tide-client generate-types`, whose output augments this interface
5
+ * (`declare module "@qite/tide-client" { interface TideTemplateMap { … } }`).
6
+ */
7
+ export interface TideTemplateMap {
8
+ }
9
+ declare type HasTemplates = [keyof TideTemplateMap] extends [never] ? false : true;
10
+ /** The project's template names, or `string` when no types were generated. */
11
+ export declare type TideTemplateName = HasTemplates extends true ? Extract<keyof TideTemplateMap, string> : string;
12
+ declare type UntypedContent = {
13
+ [group: string]: {
14
+ [field: string]: unknown;
15
+ } | undefined;
16
+ };
17
+ /** The `content` of an item of this template. */
18
+ export declare type TideTemplateContent<T extends string> = T extends keyof TideTemplateMap ? TideTemplateMap[T] : UntypedContent;
19
+ /** A published item known to be of template `T`. */
20
+ export declare type TideTemplateItem<T extends string> = PublishedContentItem & {
21
+ templateName: T;
22
+ content: TideTemplateContent<T>;
23
+ };
24
+ /** The groups of template `T`. */
25
+ export declare type TideTemplateGroup<T extends string> = Extract<keyof TideTemplateContent<T>, string>;
26
+ /** The fields of group `G` of template `T`. */
27
+ export declare type TideTemplateFieldName<T extends string, G extends TideTemplateGroup<T>> = Extract<keyof NonNullable<TideTemplateContent<T>[G]>, string>;
28
+ /** The published value of field `F` in group `G` of template `T`. */
29
+ export declare type TideTemplateFieldValue<T extends string, G extends TideTemplateGroup<T>, F extends TideTemplateFieldName<T, G>> = NonNullable<TideTemplateContent<T>[G]>[F];
30
+ export {};
@@ -1,13 +1,13 @@
1
- export interface WebContactFormRequest {
2
- internalEmailTemplate?: number;
3
- externalEmailTemplate?: number;
4
- officeId: number;
5
- firstName: string;
6
- lastName: string;
7
- email: string;
8
- phone?: string;
9
- tags?: number[];
10
- message?: string;
11
- languageCode: string;
12
- formContent?: Record<string, string>;
13
- }
1
+ export interface WebContactFormRequest {
2
+ internalEmailTemplate?: number;
3
+ externalEmailTemplate?: number;
4
+ officeId: number;
5
+ firstName: string;
6
+ lastName: string;
7
+ email: string;
8
+ phone?: string;
9
+ tags?: number[];
10
+ message?: string;
11
+ languageCode: string;
12
+ formContent?: Record<string, string>;
13
+ }
@@ -1,4 +1,4 @@
1
- export interface WebContactHasTagRequest {
2
- email: string;
3
- tag: number;
4
- }
1
+ export interface WebContactHasTagRequest {
2
+ email: string;
3
+ tag: number;
4
+ }
@@ -1,5 +1,5 @@
1
- export interface DateStruct {
2
- day: number;
3
- month: number;
4
- year: number;
5
- }
1
+ export interface DateStruct {
2
+ day: number;
3
+ month: number;
4
+ year: number;
5
+ }
@@ -1,2 +1,2 @@
1
- export * from "./date-struct";
2
- export * from "./ticket-number";
1
+ export * from "./date-struct";
2
+ export * from "./ticket-number";
@@ -1,5 +1,5 @@
1
- export interface TicketNumber {
2
- travelerId: number;
3
- travelerGuid: string;
4
- number: string;
5
- }
1
+ export interface TicketNumber {
2
+ travelerId: number;
3
+ travelerGuid: string;
4
+ number: string;
5
+ }
@@ -1,5 +1,5 @@
1
- export interface TideClientConfig {
2
- host: string;
3
- apiKey: string;
4
- token?: string;
5
- }
1
+ export interface TideClientConfig {
2
+ host: string;
3
+ apiKey: string;
4
+ token?: string;
5
+ }
@@ -1,5 +1,5 @@
1
- export interface Affiliate {
2
- id: number;
3
- slug: string;
4
- companyId: number;
5
- }
1
+ export interface Affiliate {
2
+ id: number;
3
+ slug: string;
4
+ companyId: number;
5
+ }
@@ -1,31 +1,31 @@
1
- import { AllotmentKind, AllotmentStatus } from "../enums";
2
- export interface AgentAllotmentItem {
3
- id: number;
4
- name: string;
5
- startDate: Date;
6
- endDate: Date;
7
- minPlaces: number;
8
- totalPlaces: number;
9
- bookedPlaces: number;
10
- inOptionPlaces: number;
11
- releaseDate: Date | null;
12
- status: AllotmentStatus;
13
- customStatusName: string;
14
- tourCode: string;
15
- primaryPerson: string;
16
- secondaryPerson: string;
17
- tertiaryPerson: string;
18
- startTime: string;
19
- endTime: string;
20
- kind: AllotmentKind;
21
- ticketingDate: Date | null;
22
- paxListDeadline: Date | null;
23
- firstDepositDeadline: Date | null;
24
- secondDepositDeadline: Date | null;
25
- thirdDepositDeadline: Date | null;
26
- issueDate: Date | null;
27
- departureMeetingDate: Date | null;
28
- departureMeetingAddressName: string;
29
- dossierNumbers: string[];
30
- productCodes: string[];
31
- }
1
+ import { AllotmentKind, AllotmentStatus } from "../enums";
2
+ export interface AgentAllotmentItem {
3
+ id: number;
4
+ name: string;
5
+ startDate: Date;
6
+ endDate: Date;
7
+ minPlaces: number;
8
+ totalPlaces: number;
9
+ bookedPlaces: number;
10
+ inOptionPlaces: number;
11
+ releaseDate: Date | null;
12
+ status: AllotmentStatus;
13
+ customStatusName: string;
14
+ tourCode: string;
15
+ primaryPerson: string;
16
+ secondaryPerson: string;
17
+ tertiaryPerson: string;
18
+ startTime: string;
19
+ endTime: string;
20
+ kind: AllotmentKind;
21
+ ticketingDate: Date | null;
22
+ paxListDeadline: Date | null;
23
+ firstDepositDeadline: Date | null;
24
+ secondDepositDeadline: Date | null;
25
+ thirdDepositDeadline: Date | null;
26
+ issueDate: Date | null;
27
+ departureMeetingDate: Date | null;
28
+ departureMeetingAddressName: string;
29
+ dossierNumbers: string[];
30
+ productCodes: string[];
31
+ }
@@ -1,32 +1,32 @@
1
- import { AllotmentKind, AllotmentStatus } from "../enums";
2
- import { AllotmentMetaData } from "../offer";
3
- export interface AgentAllotment {
4
- id: number;
5
- name: string;
6
- startDate: Date;
7
- endDate: Date;
8
- minPlaces: number;
9
- totalPlaces: number;
10
- bookedPlaces: number;
11
- inOptionPlaces: number;
12
- releaseDate: Date | null;
13
- status: AllotmentStatus;
14
- customStatusName: string;
15
- tourCode: string;
16
- primaryPerson: string;
17
- secondaryPerson: string;
18
- tertiaryPerson: string;
19
- remarks: string;
20
- startTime: string;
21
- endTime: string;
22
- kind: AllotmentKind;
23
- ticketingDate: Date | null;
24
- paxListDeadline: Date | null;
25
- firstDepositDeadline: Date | null;
26
- secondDepositDeadline: Date | null;
27
- thirdDepositDeadline: Date | null;
28
- issueDate: Date | null;
29
- departureMeetingDate: Date | null;
30
- departureMeetingAddressName: string;
31
- metaDatas: AllotmentMetaData[];
32
- }
1
+ import { AllotmentKind, AllotmentStatus } from "../enums";
2
+ import { AllotmentMetaData } from "../offer";
3
+ export interface AgentAllotment {
4
+ id: number;
5
+ name: string;
6
+ startDate: Date;
7
+ endDate: Date;
8
+ minPlaces: number;
9
+ totalPlaces: number;
10
+ bookedPlaces: number;
11
+ inOptionPlaces: number;
12
+ releaseDate: Date | null;
13
+ status: AllotmentStatus;
14
+ customStatusName: string;
15
+ tourCode: string;
16
+ primaryPerson: string;
17
+ secondaryPerson: string;
18
+ tertiaryPerson: string;
19
+ remarks: string;
20
+ startTime: string;
21
+ endTime: string;
22
+ kind: AllotmentKind;
23
+ ticketingDate: Date | null;
24
+ paxListDeadline: Date | null;
25
+ firstDepositDeadline: Date | null;
26
+ secondDepositDeadline: Date | null;
27
+ thirdDepositDeadline: Date | null;
28
+ issueDate: Date | null;
29
+ departureMeetingDate: Date | null;
30
+ departureMeetingAddressName: string;
31
+ metaDatas: AllotmentMetaData[];
32
+ }