@voyant-travel/bookings-react 0.155.2 → 0.156.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 (425) hide show
  1. package/dist/admin/booking-contract-dialog.d.ts +0 -1
  2. package/dist/admin/booking-detail-host.d.ts +0 -1
  3. package/dist/admin/booking-detail-skeleton.d.ts +0 -1
  4. package/dist/admin/booking-documents-table.d.ts +0 -1
  5. package/dist/admin/booking-invoice-sheet.d.ts +0 -1
  6. package/dist/admin/booking-journey-host.d.ts +0 -1
  7. package/dist/admin/booking-journey-host.js +5 -5
  8. package/dist/admin/bookings-host.d.ts +0 -1
  9. package/dist/admin/bookings-list-skeleton.d.ts +0 -1
  10. package/dist/admin/index.d.ts +0 -1
  11. package/dist/admin/journey-billing-duplicate-warning.d.ts +0 -1
  12. package/dist/admin/journey-departure-picker.d.ts +0 -1
  13. package/dist/admin/journey-travel-credit-picker.d.ts +2 -0
  14. package/dist/admin/{journey-voucher-picker.js → journey-travel-credit-picker.js} +19 -19
  15. package/dist/admin/journey-units-picker.d.ts +0 -1
  16. package/dist/admin/pages/booking-compose-page.d.ts +0 -1
  17. package/dist/admin/pages/booking-detail-page.d.ts +0 -1
  18. package/dist/admin/pages/booking-journey-page.d.ts +0 -1
  19. package/dist/admin/pages/booking-new-page.d.ts +0 -1
  20. package/dist/admin/pages/bookings-index-page.d.ts +0 -1
  21. package/dist/admin/person-bookings-widget.d.ts +0 -1
  22. package/dist/admin/slots.d.ts +0 -1
  23. package/dist/admin/use-booking-action-ledger-events.d.ts +0 -1
  24. package/dist/booking-list-constants.d.ts +0 -1
  25. package/dist/client.d.ts +0 -1
  26. package/dist/components/booking-activity-timeline.d.ts +0 -1
  27. package/dist/components/booking-billing-dialog.d.ts +0 -1
  28. package/dist/components/booking-cancellation-dialog.d.ts +0 -1
  29. package/dist/components/booking-combobox.d.ts +0 -1
  30. package/dist/components/booking-create-form-utils.d.ts +0 -1
  31. package/dist/components/booking-create-page.d.ts +0 -1
  32. package/dist/components/booking-create-preview-card.d.ts +0 -1
  33. package/dist/components/booking-create-product-extras-picker.d.ts +0 -1
  34. package/dist/components/booking-create-sheet.d.ts +1 -2
  35. package/dist/components/booking-create-sheet.js +16 -16
  36. package/dist/components/booking-create-utils.d.ts +0 -1
  37. package/dist/components/booking-detail-page.d.ts +0 -1
  38. package/dist/components/booking-dialog.d.ts +0 -1
  39. package/dist/components/booking-document-dialog.d.ts +0 -1
  40. package/dist/components/booking-document-list.d.ts +0 -1
  41. package/dist/components/booking-group-link-dialog.d.ts +0 -1
  42. package/dist/components/booking-group-section.d.ts +0 -1
  43. package/dist/components/booking-guarantee-dialog.d.ts +0 -1
  44. package/dist/components/booking-guarantee-list.d.ts +0 -1
  45. package/dist/components/booking-item-dialog.d.ts +0 -1
  46. package/dist/components/booking-item-list.d.ts +0 -1
  47. package/dist/components/booking-item-travelers.d.ts +0 -1
  48. package/dist/components/booking-list-filters.d.ts +0 -1
  49. package/dist/components/booking-list.d.ts +0 -1
  50. package/dist/components/booking-note-dialog.d.ts +0 -1
  51. package/dist/components/booking-notes.d.ts +0 -1
  52. package/dist/components/booking-payment-reconciliation-banner.d.ts +0 -1
  53. package/dist/components/booking-payment-schedule-dialog.d.ts +0 -1
  54. package/dist/components/booking-payment-schedule-list.d.ts +0 -1
  55. package/dist/components/booking-payments-summary.d.ts +3 -4
  56. package/dist/components/booking-payments-summary.js +2 -2
  57. package/dist/components/booking-quick-view-sheet.d.ts +0 -1
  58. package/dist/components/bookings-page.d.ts +0 -1
  59. package/dist/components/file-dropzone.d.ts +0 -1
  60. package/dist/components/icon-action-button.d.ts +0 -1
  61. package/dist/components/option-units-stepper-section.d.ts +0 -1
  62. package/dist/components/payment-schedule-section.d.ts +0 -1
  63. package/dist/components/payment-schedule-section.js +1 -1
  64. package/dist/components/person-picker-section.d.ts +0 -1
  65. package/dist/components/price-breakdown-section.d.ts +0 -1
  66. package/dist/components/product-picker-section.d.ts +0 -1
  67. package/dist/components/shared-room-section.d.ts +0 -1
  68. package/dist/components/status-badge.d.ts +0 -1
  69. package/dist/components/status-change-dialog.d.ts +0 -1
  70. package/dist/components/supplier-status-dialog.d.ts +0 -1
  71. package/dist/components/supplier-status-list.d.ts +0 -1
  72. package/dist/components/{voucher-picker-section.d.ts → travel-credit-picker-section.d.ts} +13 -15
  73. package/dist/components/{voucher-picker-section.js → travel-credit-picker-section.js} +18 -19
  74. package/dist/components/traveler-category-buttons.d.ts +0 -1
  75. package/dist/components/traveler-dialog.d.ts +0 -1
  76. package/dist/components/traveler-list.d.ts +0 -1
  77. package/dist/components/travelers-section-controls.d.ts +0 -1
  78. package/dist/components/travelers-section.d.ts +0 -1
  79. package/dist/extras/client.d.ts +0 -1
  80. package/dist/extras/components/product-combobox.d.ts +0 -1
  81. package/dist/extras/components/slot-extras-manifest-panel.d.ts +0 -1
  82. package/dist/extras/hooks/index.d.ts +0 -1
  83. package/dist/extras/hooks/use-product-extra.d.ts +0 -1
  84. package/dist/extras/hooks/use-product-extras.d.ts +0 -1
  85. package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts +0 -1
  86. package/dist/extras/hooks/use-slot-extra-manifest.d.ts +0 -1
  87. package/dist/extras/i18n/en.d.ts +0 -1
  88. package/dist/extras/i18n/index.d.ts +0 -1
  89. package/dist/extras/i18n/messages.d.ts +0 -1
  90. package/dist/extras/i18n/provider.d.ts +0 -1
  91. package/dist/extras/i18n/ro.d.ts +0 -1
  92. package/dist/extras/index.d.ts +0 -1
  93. package/dist/extras/provider.d.ts +0 -1
  94. package/dist/extras/query-keys.d.ts +0 -1
  95. package/dist/extras/query-options.d.ts +0 -1
  96. package/dist/extras/schemas.d.ts +0 -1
  97. package/dist/extras.d.ts +0 -1
  98. package/dist/hooks/index.d.ts +1 -2
  99. package/dist/hooks/use-booking-action-ledger.d.ts +0 -1
  100. package/dist/hooks/use-booking-activity.d.ts +0 -1
  101. package/dist/hooks/use-booking-cancel-mutation.d.ts +0 -1
  102. package/dist/hooks/use-booking-contract-generation.d.ts +0 -1
  103. package/dist/hooks/use-booking-convert-mutation.d.ts +0 -1
  104. package/dist/hooks/use-booking-create-mutation.d.ts +6 -7
  105. package/dist/hooks/use-booking-create-mutation.js +3 -3
  106. package/dist/hooks/use-booking-documents.d.ts +0 -1
  107. package/dist/hooks/use-booking-dual-create-mutation.d.ts +4 -5
  108. package/dist/hooks/use-booking-dual-create-mutation.js +2 -2
  109. package/dist/hooks/use-booking-group-for-booking.d.ts +0 -1
  110. package/dist/hooks/use-booking-group-member-mutation.d.ts +0 -1
  111. package/dist/hooks/use-booking-group-mutation.d.ts +0 -1
  112. package/dist/hooks/use-booking-group.d.ts +0 -1
  113. package/dist/hooks/use-booking-groups.d.ts +0 -1
  114. package/dist/hooks/use-booking-item-mutation.d.ts +0 -1
  115. package/dist/hooks/use-booking-item-travelers.d.ts +0 -1
  116. package/dist/hooks/use-booking-items.d.ts +0 -1
  117. package/dist/hooks/use-booking-mutation.d.ts +0 -1
  118. package/dist/hooks/use-booking-note-mutation.d.ts +0 -1
  119. package/dist/hooks/use-booking-notes.d.ts +0 -1
  120. package/dist/hooks/use-booking-primary-product.d.ts +0 -1
  121. package/dist/hooks/use-booking-status-mutation.d.ts +0 -1
  122. package/dist/hooks/use-booking-tax-preview.d.ts +0 -1
  123. package/dist/hooks/use-booking.d.ts +0 -1
  124. package/dist/hooks/use-bookings.d.ts +0 -1
  125. package/dist/hooks/use-pricing-preview.d.ts +0 -1
  126. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +0 -1
  127. package/dist/hooks/use-public-booking-session-state.d.ts +0 -1
  128. package/dist/hooks/use-public-booking-session.d.ts +0 -1
  129. package/dist/hooks/use-reveal-traveler.d.ts +0 -1
  130. package/dist/hooks/use-sharing-groups.d.ts +0 -1
  131. package/dist/hooks/use-supplier-status-mutation.d.ts +0 -1
  132. package/dist/hooks/use-supplier-statuses.d.ts +0 -1
  133. package/dist/hooks/use-traveler-mutation.d.ts +0 -1
  134. package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts +0 -1
  135. package/dist/hooks/use-travelers.d.ts +0 -1
  136. package/dist/i18n/en-base.d.ts +0 -1
  137. package/dist/i18n/en-create-list.d.ts +7 -8
  138. package/dist/i18n/en-create-list.js +8 -8
  139. package/dist/i18n/en-journey.d.ts +0 -1
  140. package/dist/i18n/en-operations.d.ts +0 -1
  141. package/dist/i18n/en-sections.d.ts +1 -2
  142. package/dist/i18n/en-sections.js +13 -13
  143. package/dist/i18n/en.d.ts +8 -9
  144. package/dist/i18n/index.d.ts +0 -1
  145. package/dist/i18n/messages-base.d.ts +0 -1
  146. package/dist/i18n/messages-create-list.d.ts +7 -8
  147. package/dist/i18n/messages-journey.d.ts +0 -1
  148. package/dist/i18n/messages-operations.d.ts +0 -1
  149. package/dist/i18n/messages-sections.d.ts +1 -2
  150. package/dist/i18n/messages.d.ts +0 -1
  151. package/dist/i18n/provider.d.ts +16 -17
  152. package/dist/i18n/ro-base.d.ts +0 -1
  153. package/dist/i18n/ro-create-list.d.ts +7 -8
  154. package/dist/i18n/ro-create-list.js +8 -8
  155. package/dist/i18n/ro-journey.d.ts +0 -1
  156. package/dist/i18n/ro-operations.d.ts +0 -1
  157. package/dist/i18n/ro-sections.d.ts +1 -2
  158. package/dist/i18n/ro-sections.js +13 -13
  159. package/dist/i18n/ro.d.ts +8 -9
  160. package/dist/index.d.ts +0 -1
  161. package/dist/journey/components/booking-journey-rules.d.ts +0 -1
  162. package/dist/journey/components/booking-journey.d.ts +0 -1
  163. package/dist/journey/components/booking-journey.js +2 -2
  164. package/dist/journey/components/configure-step-skeleton.d.ts +0 -1
  165. package/dist/journey/components/contract-preview-dialog.d.ts +0 -1
  166. package/dist/journey/components/journey-steps/accommodation-step.d.ts +0 -1
  167. package/dist/journey/components/journey-steps/addons-step.d.ts +0 -1
  168. package/dist/journey/components/journey-steps/billing-step.d.ts +0 -1
  169. package/dist/journey/components/journey-steps/configure-steps.d.ts +0 -1
  170. package/dist/journey/components/journey-steps/documents-step.d.ts +0 -1
  171. package/dist/journey/components/journey-steps/payment-step.d.ts +4 -5
  172. package/dist/journey/components/journey-steps/payment-step.js +25 -25
  173. package/dist/journey/components/journey-steps/review-step.d.ts +0 -1
  174. package/dist/journey/components/journey-steps/shared.d.ts +0 -1
  175. package/dist/journey/components/journey-steps/travelers-step.d.ts +0 -1
  176. package/dist/journey/components/journey-steps.d.ts +0 -1
  177. package/dist/journey/components/side-panel.d.ts +1 -2
  178. package/dist/journey/components/stacked-journey.d.ts +0 -1
  179. package/dist/journey/components/step-header.d.ts +0 -1
  180. package/dist/journey/index.d.ts +1 -2
  181. package/dist/journey/lib/draft-state.d.ts +0 -1
  182. package/dist/journey/lib/email-validation.d.ts +0 -1
  183. package/dist/journey/lib/pax-band-dependencies.d.ts +0 -1
  184. package/dist/journey/lib/payment-schedule.d.ts +0 -1
  185. package/dist/journey/types.d.ts +10 -11
  186. package/dist/provider.d.ts +0 -1
  187. package/dist/query-keys.d.ts +0 -1
  188. package/dist/query-options.d.ts +0 -1
  189. package/dist/requirements/client.d.ts +0 -1
  190. package/dist/requirements/components/booking-requirements-contact-tab.d.ts +0 -1
  191. package/dist/requirements/components/booking-requirements-questions-tab.d.ts +0 -1
  192. package/dist/requirements/constants.d.ts +0 -1
  193. package/dist/requirements/hooks/index.d.ts +0 -1
  194. package/dist/requirements/hooks/use-booking-questions.d.ts +0 -1
  195. package/dist/requirements/hooks/use-contact-requirements.d.ts +0 -1
  196. package/dist/requirements/hooks/use-products.d.ts +0 -1
  197. package/dist/requirements/hooks/use-question-options.d.ts +0 -1
  198. package/dist/requirements/hooks/use-transport-requirements.d.ts +0 -1
  199. package/dist/requirements/i18n/en.d.ts +0 -1
  200. package/dist/requirements/i18n/index.d.ts +0 -1
  201. package/dist/requirements/i18n/messages.d.ts +0 -1
  202. package/dist/requirements/i18n/provider.d.ts +0 -1
  203. package/dist/requirements/i18n/ro.d.ts +0 -1
  204. package/dist/requirements/index.d.ts +0 -1
  205. package/dist/requirements/provider.d.ts +0 -1
  206. package/dist/requirements/query-keys.d.ts +0 -1
  207. package/dist/requirements/query-options.d.ts +0 -1
  208. package/dist/requirements/schemas.d.ts +0 -1
  209. package/dist/requirements/ui.d.ts +0 -1
  210. package/dist/requirements/utils.d.ts +0 -1
  211. package/dist/schemas.d.ts +0 -1
  212. package/dist/status-presentation.d.ts +0 -1
  213. package/dist/storefront/index.d.ts +0 -1
  214. package/dist/storefront/resolve-contract-variables.d.ts +0 -1
  215. package/dist/storefront/storefront-booking-errors.d.ts +0 -1
  216. package/dist/storefront/storefront-booking-journey.d.ts +0 -1
  217. package/dist/storefront/storefront-booking-page.d.ts +0 -1
  218. package/dist/ui.d.ts +1 -2
  219. package/dist/ui.js +1 -1
  220. package/package.json +42 -42
  221. package/dist/admin/booking-contract-dialog.d.ts.map +0 -1
  222. package/dist/admin/booking-detail-host.d.ts.map +0 -1
  223. package/dist/admin/booking-detail-skeleton.d.ts.map +0 -1
  224. package/dist/admin/booking-documents-table.d.ts.map +0 -1
  225. package/dist/admin/booking-invoice-sheet.d.ts.map +0 -1
  226. package/dist/admin/booking-journey-host.d.ts.map +0 -1
  227. package/dist/admin/bookings-host.d.ts.map +0 -1
  228. package/dist/admin/bookings-list-skeleton.d.ts.map +0 -1
  229. package/dist/admin/index.d.ts.map +0 -1
  230. package/dist/admin/journey-billing-duplicate-warning.d.ts.map +0 -1
  231. package/dist/admin/journey-departure-picker.d.ts.map +0 -1
  232. package/dist/admin/journey-units-picker.d.ts.map +0 -1
  233. package/dist/admin/journey-voucher-picker.d.ts +0 -3
  234. package/dist/admin/journey-voucher-picker.d.ts.map +0 -1
  235. package/dist/admin/pages/booking-compose-page.d.ts.map +0 -1
  236. package/dist/admin/pages/booking-detail-page.d.ts.map +0 -1
  237. package/dist/admin/pages/booking-journey-page.d.ts.map +0 -1
  238. package/dist/admin/pages/booking-new-page.d.ts.map +0 -1
  239. package/dist/admin/pages/bookings-index-page.d.ts.map +0 -1
  240. package/dist/admin/person-bookings-widget.d.ts.map +0 -1
  241. package/dist/admin/slots.d.ts.map +0 -1
  242. package/dist/admin/use-booking-action-ledger-events.d.ts.map +0 -1
  243. package/dist/booking-list-constants.d.ts.map +0 -1
  244. package/dist/client.d.ts.map +0 -1
  245. package/dist/components/booking-activity-timeline.d.ts.map +0 -1
  246. package/dist/components/booking-billing-dialog.d.ts.map +0 -1
  247. package/dist/components/booking-cancellation-dialog.d.ts.map +0 -1
  248. package/dist/components/booking-combobox.d.ts.map +0 -1
  249. package/dist/components/booking-create-form-utils.d.ts.map +0 -1
  250. package/dist/components/booking-create-page.d.ts.map +0 -1
  251. package/dist/components/booking-create-preview-card.d.ts.map +0 -1
  252. package/dist/components/booking-create-product-extras-picker.d.ts.map +0 -1
  253. package/dist/components/booking-create-sheet.d.ts.map +0 -1
  254. package/dist/components/booking-create-utils.d.ts.map +0 -1
  255. package/dist/components/booking-detail-page.d.ts.map +0 -1
  256. package/dist/components/booking-dialog.d.ts.map +0 -1
  257. package/dist/components/booking-document-dialog.d.ts.map +0 -1
  258. package/dist/components/booking-document-list.d.ts.map +0 -1
  259. package/dist/components/booking-group-link-dialog.d.ts.map +0 -1
  260. package/dist/components/booking-group-section.d.ts.map +0 -1
  261. package/dist/components/booking-guarantee-dialog.d.ts.map +0 -1
  262. package/dist/components/booking-guarantee-list.d.ts.map +0 -1
  263. package/dist/components/booking-item-dialog.d.ts.map +0 -1
  264. package/dist/components/booking-item-list.d.ts.map +0 -1
  265. package/dist/components/booking-item-travelers.d.ts.map +0 -1
  266. package/dist/components/booking-list-filters.d.ts.map +0 -1
  267. package/dist/components/booking-list.d.ts.map +0 -1
  268. package/dist/components/booking-note-dialog.d.ts.map +0 -1
  269. package/dist/components/booking-notes.d.ts.map +0 -1
  270. package/dist/components/booking-payment-reconciliation-banner.d.ts.map +0 -1
  271. package/dist/components/booking-payment-schedule-dialog.d.ts.map +0 -1
  272. package/dist/components/booking-payment-schedule-list.d.ts.map +0 -1
  273. package/dist/components/booking-payments-summary.d.ts.map +0 -1
  274. package/dist/components/booking-quick-view-sheet.d.ts.map +0 -1
  275. package/dist/components/bookings-page.d.ts.map +0 -1
  276. package/dist/components/file-dropzone.d.ts.map +0 -1
  277. package/dist/components/icon-action-button.d.ts.map +0 -1
  278. package/dist/components/option-units-stepper-section.d.ts.map +0 -1
  279. package/dist/components/payment-schedule-section.d.ts.map +0 -1
  280. package/dist/components/person-picker-section.d.ts.map +0 -1
  281. package/dist/components/price-breakdown-section.d.ts.map +0 -1
  282. package/dist/components/product-picker-section.d.ts.map +0 -1
  283. package/dist/components/shared-room-section.d.ts.map +0 -1
  284. package/dist/components/status-badge.d.ts.map +0 -1
  285. package/dist/components/status-change-dialog.d.ts.map +0 -1
  286. package/dist/components/supplier-status-dialog.d.ts.map +0 -1
  287. package/dist/components/supplier-status-list.d.ts.map +0 -1
  288. package/dist/components/traveler-category-buttons.d.ts.map +0 -1
  289. package/dist/components/traveler-dialog.d.ts.map +0 -1
  290. package/dist/components/traveler-list.d.ts.map +0 -1
  291. package/dist/components/travelers-section-controls.d.ts.map +0 -1
  292. package/dist/components/travelers-section.d.ts.map +0 -1
  293. package/dist/components/voucher-picker-section.d.ts.map +0 -1
  294. package/dist/extras/client.d.ts.map +0 -1
  295. package/dist/extras/components/product-combobox.d.ts.map +0 -1
  296. package/dist/extras/components/slot-extras-manifest-panel.d.ts.map +0 -1
  297. package/dist/extras/hooks/index.d.ts.map +0 -1
  298. package/dist/extras/hooks/use-product-extra.d.ts.map +0 -1
  299. package/dist/extras/hooks/use-product-extras.d.ts.map +0 -1
  300. package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts.map +0 -1
  301. package/dist/extras/hooks/use-slot-extra-manifest.d.ts.map +0 -1
  302. package/dist/extras/i18n/en.d.ts.map +0 -1
  303. package/dist/extras/i18n/index.d.ts.map +0 -1
  304. package/dist/extras/i18n/messages.d.ts.map +0 -1
  305. package/dist/extras/i18n/provider.d.ts.map +0 -1
  306. package/dist/extras/i18n/ro.d.ts.map +0 -1
  307. package/dist/extras/index.d.ts.map +0 -1
  308. package/dist/extras/provider.d.ts.map +0 -1
  309. package/dist/extras/query-keys.d.ts.map +0 -1
  310. package/dist/extras/query-options.d.ts.map +0 -1
  311. package/dist/extras/schemas.d.ts.map +0 -1
  312. package/dist/extras.d.ts.map +0 -1
  313. package/dist/hooks/index.d.ts.map +0 -1
  314. package/dist/hooks/use-booking-action-ledger.d.ts.map +0 -1
  315. package/dist/hooks/use-booking-activity.d.ts.map +0 -1
  316. package/dist/hooks/use-booking-cancel-mutation.d.ts.map +0 -1
  317. package/dist/hooks/use-booking-contract-generation.d.ts.map +0 -1
  318. package/dist/hooks/use-booking-convert-mutation.d.ts.map +0 -1
  319. package/dist/hooks/use-booking-create-mutation.d.ts.map +0 -1
  320. package/dist/hooks/use-booking-documents.d.ts.map +0 -1
  321. package/dist/hooks/use-booking-dual-create-mutation.d.ts.map +0 -1
  322. package/dist/hooks/use-booking-group-for-booking.d.ts.map +0 -1
  323. package/dist/hooks/use-booking-group-member-mutation.d.ts.map +0 -1
  324. package/dist/hooks/use-booking-group-mutation.d.ts.map +0 -1
  325. package/dist/hooks/use-booking-group.d.ts.map +0 -1
  326. package/dist/hooks/use-booking-groups.d.ts.map +0 -1
  327. package/dist/hooks/use-booking-item-mutation.d.ts.map +0 -1
  328. package/dist/hooks/use-booking-item-travelers.d.ts.map +0 -1
  329. package/dist/hooks/use-booking-items.d.ts.map +0 -1
  330. package/dist/hooks/use-booking-mutation.d.ts.map +0 -1
  331. package/dist/hooks/use-booking-note-mutation.d.ts.map +0 -1
  332. package/dist/hooks/use-booking-notes.d.ts.map +0 -1
  333. package/dist/hooks/use-booking-primary-product.d.ts.map +0 -1
  334. package/dist/hooks/use-booking-status-mutation.d.ts.map +0 -1
  335. package/dist/hooks/use-booking-tax-preview.d.ts.map +0 -1
  336. package/dist/hooks/use-booking.d.ts.map +0 -1
  337. package/dist/hooks/use-bookings.d.ts.map +0 -1
  338. package/dist/hooks/use-pricing-preview.d.ts.map +0 -1
  339. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts.map +0 -1
  340. package/dist/hooks/use-public-booking-session-state.d.ts.map +0 -1
  341. package/dist/hooks/use-public-booking-session.d.ts.map +0 -1
  342. package/dist/hooks/use-reveal-traveler.d.ts.map +0 -1
  343. package/dist/hooks/use-sharing-groups.d.ts.map +0 -1
  344. package/dist/hooks/use-supplier-status-mutation.d.ts.map +0 -1
  345. package/dist/hooks/use-supplier-statuses.d.ts.map +0 -1
  346. package/dist/hooks/use-traveler-mutation.d.ts.map +0 -1
  347. package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts.map +0 -1
  348. package/dist/hooks/use-travelers.d.ts.map +0 -1
  349. package/dist/i18n/en-base.d.ts.map +0 -1
  350. package/dist/i18n/en-create-list.d.ts.map +0 -1
  351. package/dist/i18n/en-journey.d.ts.map +0 -1
  352. package/dist/i18n/en-operations.d.ts.map +0 -1
  353. package/dist/i18n/en-sections.d.ts.map +0 -1
  354. package/dist/i18n/en.d.ts.map +0 -1
  355. package/dist/i18n/index.d.ts.map +0 -1
  356. package/dist/i18n/messages-base.d.ts.map +0 -1
  357. package/dist/i18n/messages-create-list.d.ts.map +0 -1
  358. package/dist/i18n/messages-journey.d.ts.map +0 -1
  359. package/dist/i18n/messages-operations.d.ts.map +0 -1
  360. package/dist/i18n/messages-sections.d.ts.map +0 -1
  361. package/dist/i18n/messages.d.ts.map +0 -1
  362. package/dist/i18n/provider.d.ts.map +0 -1
  363. package/dist/i18n/ro-base.d.ts.map +0 -1
  364. package/dist/i18n/ro-create-list.d.ts.map +0 -1
  365. package/dist/i18n/ro-journey.d.ts.map +0 -1
  366. package/dist/i18n/ro-operations.d.ts.map +0 -1
  367. package/dist/i18n/ro-sections.d.ts.map +0 -1
  368. package/dist/i18n/ro.d.ts.map +0 -1
  369. package/dist/index.d.ts.map +0 -1
  370. package/dist/journey/components/booking-journey-rules.d.ts.map +0 -1
  371. package/dist/journey/components/booking-journey.d.ts.map +0 -1
  372. package/dist/journey/components/configure-step-skeleton.d.ts.map +0 -1
  373. package/dist/journey/components/contract-preview-dialog.d.ts.map +0 -1
  374. package/dist/journey/components/journey-steps/accommodation-step.d.ts.map +0 -1
  375. package/dist/journey/components/journey-steps/addons-step.d.ts.map +0 -1
  376. package/dist/journey/components/journey-steps/billing-step.d.ts.map +0 -1
  377. package/dist/journey/components/journey-steps/configure-steps.d.ts.map +0 -1
  378. package/dist/journey/components/journey-steps/documents-step.d.ts.map +0 -1
  379. package/dist/journey/components/journey-steps/payment-step.d.ts.map +0 -1
  380. package/dist/journey/components/journey-steps/review-step.d.ts.map +0 -1
  381. package/dist/journey/components/journey-steps/shared.d.ts.map +0 -1
  382. package/dist/journey/components/journey-steps/travelers-step.d.ts.map +0 -1
  383. package/dist/journey/components/journey-steps.d.ts.map +0 -1
  384. package/dist/journey/components/side-panel.d.ts.map +0 -1
  385. package/dist/journey/components/stacked-journey.d.ts.map +0 -1
  386. package/dist/journey/components/step-header.d.ts.map +0 -1
  387. package/dist/journey/index.d.ts.map +0 -1
  388. package/dist/journey/lib/draft-state.d.ts.map +0 -1
  389. package/dist/journey/lib/email-validation.d.ts.map +0 -1
  390. package/dist/journey/lib/pax-band-dependencies.d.ts.map +0 -1
  391. package/dist/journey/lib/payment-schedule.d.ts.map +0 -1
  392. package/dist/journey/types.d.ts.map +0 -1
  393. package/dist/provider.d.ts.map +0 -1
  394. package/dist/query-keys.d.ts.map +0 -1
  395. package/dist/query-options.d.ts.map +0 -1
  396. package/dist/requirements/client.d.ts.map +0 -1
  397. package/dist/requirements/components/booking-requirements-contact-tab.d.ts.map +0 -1
  398. package/dist/requirements/components/booking-requirements-questions-tab.d.ts.map +0 -1
  399. package/dist/requirements/constants.d.ts.map +0 -1
  400. package/dist/requirements/hooks/index.d.ts.map +0 -1
  401. package/dist/requirements/hooks/use-booking-questions.d.ts.map +0 -1
  402. package/dist/requirements/hooks/use-contact-requirements.d.ts.map +0 -1
  403. package/dist/requirements/hooks/use-products.d.ts.map +0 -1
  404. package/dist/requirements/hooks/use-question-options.d.ts.map +0 -1
  405. package/dist/requirements/hooks/use-transport-requirements.d.ts.map +0 -1
  406. package/dist/requirements/i18n/en.d.ts.map +0 -1
  407. package/dist/requirements/i18n/index.d.ts.map +0 -1
  408. package/dist/requirements/i18n/messages.d.ts.map +0 -1
  409. package/dist/requirements/i18n/provider.d.ts.map +0 -1
  410. package/dist/requirements/i18n/ro.d.ts.map +0 -1
  411. package/dist/requirements/index.d.ts.map +0 -1
  412. package/dist/requirements/provider.d.ts.map +0 -1
  413. package/dist/requirements/query-keys.d.ts.map +0 -1
  414. package/dist/requirements/query-options.d.ts.map +0 -1
  415. package/dist/requirements/schemas.d.ts.map +0 -1
  416. package/dist/requirements/ui.d.ts.map +0 -1
  417. package/dist/requirements/utils.d.ts.map +0 -1
  418. package/dist/schemas.d.ts.map +0 -1
  419. package/dist/status-presentation.d.ts.map +0 -1
  420. package/dist/storefront/index.d.ts.map +0 -1
  421. package/dist/storefront/resolve-contract-variables.d.ts.map +0 -1
  422. package/dist/storefront/storefront-booking-errors.d.ts.map +0 -1
  423. package/dist/storefront/storefront-booking-journey.d.ts.map +0 -1
  424. package/dist/storefront/storefront-booking-page.d.ts.map +0 -1
  425. package/dist/ui.d.ts.map +0 -1
@@ -19,4 +19,3 @@ export interface BookingContractDialogProps {
19
19
  * attaches the uploaded file via the legal attachment upload route.
20
20
  */
21
21
  export declare function BookingContractDialog({ open, onOpenChange, bookingId, bookingNumber, onSuccess, }: BookingContractDialogProps): import("react").JSX.Element;
22
- //# sourceMappingURL=booking-contract-dialog.d.ts.map
@@ -100,4 +100,3 @@ export interface BookingDetailHostProps {
100
100
  * {@link BookingDetailHostSlots}.
101
101
  */
102
102
  export declare function BookingDetailHost({ id, activeTab, onTabChange, onRecordPayment, onEditPayment, onGenerateLink, slots, }: BookingDetailHostProps): import("react").JSX.Element;
103
- //# sourceMappingURL=booking-detail-host.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * bar, two list cards) so the pending state doesn't shift the page.
5
5
  */
6
6
  export declare function BookingDetailSkeleton(): import("react").JSX.Element;
7
- //# sourceMappingURL=booking-detail-skeleton.d.ts.map
@@ -10,4 +10,3 @@ export interface BookingDocumentsTableProps {
10
10
  * we don't need a join endpoint server-side.
11
11
  */
12
12
  export declare function BookingDocumentsTable({ bookingId, }: BookingDocumentsTableProps): React.ReactElement;
13
- //# sourceMappingURL=booking-documents-table.d.ts.map
@@ -15,4 +15,3 @@ export interface BookingInvoiceSheetProps {
15
15
  * from the shell's finance provider context — no app env import.
16
16
  */
17
17
  export declare function BookingInvoiceSheet({ invoiceId, onOpenInvoice }: BookingInvoiceSheetProps): import("react").JSX.Element;
18
- //# sourceMappingURL=booking-invoice-sheet.d.ts.map
@@ -21,4 +21,3 @@ export interface BookingJourneyHostProps {
21
21
  className?: string;
22
22
  }
23
23
  export declare function BookingJourneyHost({ entityModule, entityId, sourceKind, sourceConnectionId, sourceRef, departureId, departureDate, optionId, roomTypeId, ratePlanId, board, entityName, entityImageUrl, draftId, className, }: BookingJourneyHostProps): React.ReactElement;
24
- //# sourceMappingURL=booking-journey-host.d.ts.map
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  /**
4
4
  * Packaged admin host for the unified `<BookingJourney />` wizard —
5
5
  * supplies CRM-backed contact pickers, the B2B billing default, real
6
- * departure/units/voucher pickers over operator inventory, and post-commit
6
+ * departure/units/Travel Credit pickers over operator inventory, and post-commit
7
7
  * navigation to the new booking's detail page.
8
8
  *
9
9
  * Per booking-journey-architecture §8.1 + §10 Phase B, packaged per the
@@ -23,8 +23,8 @@ import { BookingJourney, } from "../journey/index.js";
23
23
  import { useVoyantBookingsContext } from "../provider.js";
24
24
  import { JourneyBillingDuplicateWarning } from "./journey-billing-duplicate-warning.js";
25
25
  import { JourneyDeparturePicker } from "./journey-departure-picker.js";
26
+ import { JourneyTravelCreditPicker } from "./journey-travel-credit-picker.js";
26
27
  import { JourneyUnitsPicker } from "./journey-units-picker.js";
27
- import { JourneyVoucherPicker } from "./journey-voucher-picker.js";
28
28
  /** The catalog browse surface the journey returns to when cancelled. */
29
29
  function journeyReturnSurface(vertical) {
30
30
  switch (vertical) {
@@ -60,9 +60,9 @@ export function BookingJourneyHost({ entityModule, entityId, sourceKind, sourceC
60
60
  // Rooms/units for the picked option + departure (operator inventory).
61
61
  return _jsx(JourneyUnitsPicker, { ...pickerProps });
62
62
  },
63
- renderVoucherPicker(pickerProps) {
64
- // Admin searches + selects a voucher (no need to know the code).
65
- return _jsx(JourneyVoucherPicker, { ...pickerProps });
63
+ renderTravelCreditPicker(pickerProps) {
64
+ // Admin searches and selects a Travel Credit without needing to know the code.
65
+ return _jsx(JourneyTravelCreditPicker, { ...pickerProps });
66
66
  },
67
67
  renderTravelerContactPicker({ apply, selectedPersonId }) {
68
68
  // Travelers reuse the same picker (person-only). Adapt the picker's
@@ -23,4 +23,3 @@ export interface BookingsHostProps {
23
23
  * `bookingsSearchToFilters`/`bookingsFiltersToSearch` helpers).
24
24
  */
25
25
  export declare function BookingsHost({ initialFilters, onFiltersChange, headerActions, }: BookingsHostProps): import("react").JSX.Element;
26
- //# sourceMappingURL=bookings-host.d.ts.map
@@ -7,4 +7,3 @@
7
7
  * - Pagination bar
8
8
  */
9
9
  export declare function BookingsListSkeleton(): import("react").JSX.Element;
10
- //# sourceMappingURL=bookings-list-skeleton.d.ts.map
@@ -249,4 +249,3 @@ export interface CreateBookingsAdminExtensionOptions {
249
249
  */
250
250
  export declare function createBookingsAdminExtension(options?: CreateBookingsAdminExtensionOptions): AdminExtension;
251
251
  export declare function createSelectedBookingsAdminExtension({ navMessages, }: SelectedAdminExtensionFactoryContext): AdminExtension;
252
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { BillingExtrasContext } from "../journey/index.js";
2
2
  export declare function JourneyBillingDuplicateWarning({ buyerType, personId, organizationId, productId, departureSlotId, }: BillingExtrasContext): React.ReactElement | null;
3
- //# sourceMappingURL=journey-billing-duplicate-warning.d.ts.map
@@ -4,4 +4,3 @@ export declare function JourneyDeparturePicker({ productId, optionId, slotId, de
4
4
  * show it read-only rather than a re-editable input. */
5
5
  lockDeparture?: boolean;
6
6
  }): React.ReactElement;
7
- //# sourceMappingURL=journey-departure-picker.d.ts.map
@@ -0,0 +1,2 @@
1
+ import type { TravelCreditPickerProps } from "../journey/index.js";
2
+ export declare function JourneyTravelCreditPicker({ value, onApply, }: TravelCreditPickerProps): React.ReactElement;
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  /**
4
- * Admin voucher picker an async combobox over the admin vouchers list.
5
- * Staff search by code and pick a voucher (the full remaining balance is
4
+ * Admin Travel Credit picker: an async combobox over the admin Travel Credit list.
5
+ * Staff search by code and pick a Travel Credit (the full remaining balance is
6
6
  * redeemed); they never need to know the exact code, unlike storefront
7
- * customers. Wired into `<BookingJourneyHost />` via `renderVoucherPicker`.
7
+ * customers. Wired into `<BookingJourneyHost />` via `renderTravelCreditPicker`.
8
8
  */
9
9
  import { useOperatorAdminMessages } from "@voyant-travel/admin";
10
- import { useVouchers } from "@voyant-travel/finance-react";
10
+ import { useTravelCredits } from "@voyant-travel/finance-react";
11
11
  import { Combobox, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxInput, ComboboxItem, ComboboxList, } from "@voyant-travel/ui/components/combobox";
12
12
  import { Label } from "@voyant-travel/ui/components/label";
13
13
  import { useEffect, useState } from "react";
@@ -19,32 +19,32 @@ function formatMoney(cents, currency) {
19
19
  return `${(cents / 100).toFixed(2)} ${currency}`;
20
20
  }
21
21
  }
22
- function voucherLabel(voucher) {
23
- return `${voucher.code} · ${formatMoney(voucher.remainingAmountCents, voucher.currency)}`;
22
+ function travelCreditLabel(travelCredit) {
23
+ return `${travelCredit.code} · ${formatMoney(travelCredit.remainingAmountCents, travelCredit.currency)}`;
24
24
  }
25
- export function JourneyVoucherPicker({ value, onApply }) {
25
+ export function JourneyTravelCreditPicker({ value, onApply, }) {
26
26
  const t = useOperatorAdminMessages().bookings.detail.bookingJourney;
27
27
  const [inputValue, setInputValue] = useState("");
28
28
  const [search, setSearch] = useState("");
29
- // Active vouchers with a remaining balance, filtered by the typed code.
30
- const query = useVouchers({
29
+ // Active Travel Credits with a remaining balance, filtered by the typed code.
30
+ const query = useTravelCredits({
31
31
  status: "active",
32
32
  hasBalance: true,
33
33
  search: search || undefined,
34
34
  limit: 20,
35
35
  });
36
- const vouchers = query.data?.data ?? [];
37
- const byId = new Map(vouchers.map((v) => [v.id, v]));
38
- const selectedId = value.voucherId ?? null;
39
- // Reflect a pre-selected voucher's label once its record loads.
36
+ const travelCredits = query.data?.data ?? [];
37
+ const byId = new Map(travelCredits.map((travelCredit) => [travelCredit.id, travelCredit]));
38
+ const selectedId = value.travelCreditId ?? null;
39
+ // Reflect a pre-selected Travel Credit's label once its record loads.
40
40
  useEffect(() => {
41
41
  if (selectedId && byId.has(selectedId)) {
42
- setInputValue(voucherLabel(byId.get(selectedId)));
42
+ setInputValue(travelCreditLabel(byId.get(selectedId)));
43
43
  }
44
44
  }, [selectedId, byId]);
45
- return (_jsxs("div", { className: "space-y-1", children: [_jsx(Label, { children: t.voucherPickerLabel }), _jsxs(Combobox, { items: vouchers.map((v) => v.id), value: selectedId, inputValue: inputValue, autoHighlight: true, itemToStringLabel: (id) => {
45
+ return (_jsxs("div", { className: "space-y-1", children: [_jsx(Label, { children: t.travelCreditPickerLabel }), _jsxs(Combobox, { items: travelCredits.map((travelCredit) => travelCredit.id), value: selectedId, inputValue: inputValue, autoHighlight: true, itemToStringLabel: (id) => {
46
46
  const v = byId.get(id);
47
- return v ? voucherLabel(v) : id;
47
+ return v ? travelCreditLabel(v) : id;
48
48
  }, itemToStringValue: (id) => id, onInputValueChange: (next) => {
49
49
  setInputValue(next);
50
50
  setSearch(next);
@@ -59,10 +59,10 @@ export function JourneyVoucherPicker({ value, onApply }) {
59
59
  }
60
60
  const v = byId.get(id);
61
61
  if (v) {
62
- onApply({ voucherId: v.id, amountCents: v.remainingAmountCents });
63
- setInputValue(voucherLabel(v));
62
+ onApply({ travelCreditId: v.id, amountCents: v.remainingAmountCents });
63
+ setInputValue(travelCreditLabel(v));
64
64
  }
65
- }, children: [_jsx(ComboboxInput, { placeholder: t.voucherSearchPlaceholder, showClear: !!selectedId }), _jsxs(ComboboxContent, { children: [_jsx(ComboboxEmpty, { children: t.voucherEmpty }), _jsx(ComboboxList, { children: _jsx(ComboboxCollection, { children: (id) => {
65
+ }, children: [_jsx(ComboboxInput, { placeholder: t.travelCreditSearchPlaceholder, showClear: !!selectedId }), _jsxs(ComboboxContent, { children: [_jsx(ComboboxEmpty, { children: t.travelCreditEmpty }), _jsx(ComboboxList, { children: _jsx(ComboboxCollection, { children: (id) => {
66
66
  const v = byId.get(id);
67
67
  if (!v)
68
68
  return null;
@@ -8,4 +8,3 @@ import type { UnitsPickerProps } from "../journey/index.js";
8
8
  * Wired into `<BookingJourneyHost />` via the `renderUnitsPicker` slot.
9
9
  */
10
10
  export declare function JourneyUnitsPicker({ productId, optionId, slotId, selections, onChange, }: UnitsPickerProps): React.ReactElement;
11
- //# sourceMappingURL=journey-units-picker.d.ts.map
@@ -6,4 +6,3 @@
6
6
  * history semantics — the alias never lands in history.
7
7
  */
8
8
  export default function BookingComposePage(): null;
9
- //# sourceMappingURL=booking-compose-page.d.ts.map
@@ -6,4 +6,3 @@ import type { BookingDetailPageComponentProps } from "../index.js";
6
6
  * this route page.
7
7
  */
8
8
  export default function BookingDetailDefaultPage({ id, activeTab, onTabChange, }: BookingDetailPageComponentProps): import("react").JSX.Element;
9
- //# sourceMappingURL=booking-detail-page.d.ts.map
@@ -9,4 +9,3 @@ import type { AdminRoutePageProps } from "@voyant-travel/admin";
9
9
  * escaped route file had).
10
10
  */
11
11
  export default function BookingJourneyPage({ params, search }: AdminRoutePageProps): import("react").JSX.Element;
12
- //# sourceMappingURL=booking-journey-page.d.ts.map
@@ -13,4 +13,3 @@ import * as React from "react";
13
13
  * static-over-dynamic scoring.
14
14
  */
15
15
  export default function BookingNewPage({ search }: AdminRoutePageProps): React.JSX.Element | null;
16
- //# sourceMappingURL=booking-new-page.d.ts.map
@@ -7,4 +7,3 @@ import { type AdminRoutePageProps } from "@voyant-travel/admin";
7
7
  * router already validated.
8
8
  */
9
9
  export default function BookingsIndexPage({ search, updateSearch }: AdminRoutePageProps): import("react").JSX.Element;
10
- //# sourceMappingURL=bookings-index-page.d.ts.map
@@ -10,4 +10,3 @@ export type PersonBookingsWidgetProps = PersonDetailBookingsTabContext;
10
10
  * semantic `booking.detail` destination.
11
11
  */
12
12
  export declare function PersonBookingsWidget({ personId }: PersonBookingsWidgetProps): import("react").JSX.Element;
13
- //# sourceMappingURL=person-bookings-widget.d.ts.map
@@ -35,4 +35,3 @@ export declare const bookingsListHeaderActionsSlot = "bookings.list.header-actio
35
35
  * callbacks without replacing the package-owned booking detail route.
36
36
  */
37
37
  export declare const bookingDetailPaymentControllerSlot = "booking.details.payment-controller";
38
- //# sourceMappingURL=slots.d.ts.map
@@ -12,4 +12,3 @@ export declare function useBookingActionLedgerEvents(bookingId: string): {
12
12
  events: TimelineEvent[];
13
13
  footer: React.ReactNode | null;
14
14
  };
15
- //# sourceMappingURL=use-booking-action-ledger-events.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const BOOKING_STATUS_ALL = "__all__";
2
- //# sourceMappingURL=booking-list-constants.d.ts.map
package/dist/client.d.ts CHANGED
@@ -11,4 +11,3 @@ export interface FetchWithValidationOptions {
11
11
  fetcher: VoyantFetcher;
12
12
  }
13
13
  export declare function fetchWithValidation<TOut>(path: string, schema: z.ZodType<TOut>, options: FetchWithValidationOptions, init?: RequestInit): Promise<TOut>;
14
- //# sourceMappingURL=client.d.ts.map
@@ -36,4 +36,3 @@ export type TimelineEvent = {
36
36
  };
37
37
  };
38
38
  export declare function BookingActivityTimeline({ bookingId, paymentsVariant, additionalEvents, footer, pageSize, }: BookingActivityTimelineProps): React.JSX.Element;
39
- //# sourceMappingURL=booking-activity-timeline.d.ts.map
@@ -13,4 +13,3 @@ export interface BookingBillingDialogProps {
13
13
  * this is the dialog they reach for.
14
14
  */
15
15
  export declare function BookingBillingDialog({ open, onOpenChange, booking, onSuccess, }: BookingBillingDialogProps): import("react").JSX.Element;
16
- //# sourceMappingURL=booking-billing-dialog.d.ts.map
@@ -24,4 +24,3 @@ export interface BookingCancellationDialogProps {
24
24
  onSuccess?: () => void;
25
25
  }
26
26
  export declare function BookingCancellationDialog({ open, onOpenChange, booking, paidAmountCents, hasRecordedPayment, productId, onSuccess, }: BookingCancellationDialogProps): React.JSX.Element;
27
- //# sourceMappingURL=booking-cancellation-dialog.d.ts.map
@@ -11,4 +11,3 @@ export interface BookingComboboxProps {
11
11
  limit?: number;
12
12
  }
13
13
  export declare function BookingCombobox({ value, onChange, placeholder, emptyText, disabled, className, triggerClassName, clearable, limit, }: BookingComboboxProps): React.JSX.Element;
14
- //# sourceMappingURL=booking-combobox.d.ts.map
@@ -54,4 +54,3 @@ export declare function formatPayloadResolverMismatchError(body: {
54
54
  mismatches: PayloadResolverMismatch[];
55
55
  }, unitLabels: Record<string, string>, validationMessages: BookingsUiMessages["bookingCreateDialog"]["validation"]): string;
56
56
  export {};
57
- //# sourceMappingURL=booking-create-form-utils.d.ts.map
@@ -11,4 +11,3 @@ export interface BookingCreatePageProps {
11
11
  * Full-page booking create surface for route-based booking creation.
12
12
  */
13
13
  export declare function BookingCreatePage({ onCreated, onCancel, defaultProductId, defaultSlotId, }: BookingCreatePageProps): import("react").JSX.Element;
14
- //# sourceMappingURL=booking-create-page.d.ts.map
@@ -24,4 +24,3 @@ export declare function BookingPreviewCard({ productId, optionId, slotId, slotLa
24
24
  messages: BookingsUiMessages;
25
25
  onPricingChange: (value: PriceBreakdownValue) => void;
26
26
  }): React.JSX.Element;
27
- //# sourceMappingURL=booking-create-preview-card.d.ts.map
@@ -15,4 +15,3 @@ export declare function ProductExtrasPickerSection({ productId, optionId, curren
15
15
  perPerson: string;
16
16
  };
17
17
  }): import("react").JSX.Element | null;
18
- //# sourceMappingURL=booking-create-product-extras-picker.d.ts.map
@@ -22,7 +22,7 @@ export interface BookingCreateFormProps {
22
22
  /**
23
23
  * Operator booking-create sheet. Composes the booking-create picker
24
24
  * sections — product, departure, rooms, person, shared-room, travelers,
25
- * price breakdown, voucher, payment schedule and submits via the atomic
25
+ * price breakdown, Travel Credit, payment schedule, and submits via the atomic
26
26
  * `POST /v1/admin/bookings/create` endpoint so partial failures can't
27
27
  * leave orphan state.
28
28
  *
@@ -32,4 +32,3 @@ export interface BookingCreateFormProps {
32
32
  */
33
33
  export declare function BookingCreateSheet({ open, onOpenChange, onCreated, defaultProductId, defaultSlotId, }: BookingCreateSheetProps): React.JSX.Element;
34
34
  export declare function BookingCreateForm({ onCreated, defaultProductId, defaultSlotId, enabled, onCancel, }: BookingCreateFormProps): React.JSX.Element;
35
- //# sourceMappingURL=booking-create-sheet.d.ts.map
@@ -23,12 +23,12 @@ import { emptyPaymentScheduleValue, PaymentScheduleSection, } from "./payment-sc
23
23
  import { emptyPersonPickerValue, PersonPickerSection, } from "./person-picker-section.js";
24
24
  import { ProductPickerSection } from "./product-picker-section.js";
25
25
  import { emptySharedRoomValue, SharedRoomSection, } from "./shared-room-section.js";
26
+ import { emptyTravelCreditPickerValue, TravelCreditPickerSection, } from "./travel-credit-picker-section.js";
26
27
  import { emptyTravelerListValue, TravelersSection, } from "./travelers-section.js";
27
- import { emptyVoucherPickerValue, VoucherPickerSection, } from "./voucher-picker-section.js";
28
28
  /**
29
29
  * Operator booking-create sheet. Composes the booking-create picker
30
30
  * sections — product, departure, rooms, person, shared-room, travelers,
31
- * price breakdown, voucher, payment schedule and submits via the atomic
31
+ * price breakdown, Travel Credit, payment schedule, and submits via the atomic
32
32
  * `POST /v1/admin/bookings/create` endpoint so partial failures can't
33
33
  * leave orphan state.
34
34
  *
@@ -55,7 +55,7 @@ export function BookingCreateForm({ onCreated, defaultProductId, defaultSlotId,
55
55
  const [person, setPerson] = React.useState(emptyPersonPickerValue);
56
56
  const [sharedRoom, setSharedRoom] = React.useState(emptySharedRoomValue);
57
57
  const [travelers, setTravelers] = React.useState(emptyTravelerListValue);
58
- const [voucher, setVoucher] = React.useState(emptyVoucherPickerValue);
58
+ const [travelCredit, setTravelCredit] = React.useState(emptyTravelCreditPickerValue);
59
59
  const [pricing, setPricing] = React.useState(null);
60
60
  const [paymentSchedule, setPaymentScheduleState] = React.useState(emptyPaymentScheduleValue);
61
61
  // Tracks whether the operator has manually touched the schedule. The
@@ -115,7 +115,7 @@ export function BookingCreateForm({ onCreated, defaultProductId, defaultSlotId,
115
115
  setPerson(emptyPersonPickerValue);
116
116
  setSharedRoom(emptySharedRoomValue);
117
117
  setTravelers(emptyTravelerListValue);
118
- setVoucher(emptyVoucherPickerValue);
118
+ setTravelCredit(emptyTravelCreditPickerValue);
119
119
  setPricing(null);
120
120
  setPaymentScheduleState(emptyPaymentScheduleValue);
121
121
  paymentScheduleTouchedRef.current = false;
@@ -417,7 +417,7 @@ export function BookingCreateForm({ onCreated, defaultProductId, defaultSlotId,
417
417
  extraLines,
418
418
  travelerCount: travelers.travelers.length,
419
419
  }), [extraLines, travelers.travelers.length]);
420
- // Currency placeholder used for voucher + payment schedule display.
420
+ // Currency placeholder used for Travel Credit and payment schedule display.
421
421
  // Consumers hooking in real product data should override this by wrapping
422
422
  // the component or swapping in their own currency-aware hook.
423
423
  const currency = messages.bookingCreateDialog.labels.currency;
@@ -599,10 +599,10 @@ export function BookingCreateForm({ onCreated, defaultProductId, defaultSlotId,
599
599
  travelerKeys: travelerKeys.length === redistributed.travelers.length ? travelerKeys : undefined,
600
600
  });
601
601
  const travelerRows = travelersToRows({ travelers: redistributed.travelers });
602
- const voucherRedemption = voucher.picked && voucher.picked.remainingAmountCents != null
602
+ const travelCreditRedemption = travelCredit.picked && travelCredit.picked.remainingAmountCents != null
603
603
  ? {
604
- voucherId: voucher.picked.id,
605
- amountCents: voucher.picked.remainingAmountCents,
604
+ travelCreditId: travelCredit.picked.id,
605
+ amountCents: travelCredit.picked.remainingAmountCents,
606
606
  }
607
607
  : undefined;
608
608
  const selectedSharedRoomUnitId = getSelectedSharedRoomUnitId(rooms.quantities);
@@ -682,7 +682,7 @@ export function BookingCreateForm({ onCreated, defaultProductId, defaultSlotId,
682
682
  extraLines: resolvedExtraLines.length > 0 ? resolvedExtraLines : undefined,
683
683
  travelers: travelerRows.length > 0 ? travelerRows : undefined,
684
684
  paymentSchedules: paymentSchedules.length > 0 ? paymentSchedules : undefined,
685
- voucherRedemption,
685
+ travelCreditRedemption,
686
686
  groupMembership,
687
687
  documentGeneration: generateProforma
688
688
  ? { contractDocument: false, invoiceDocument: true, invoiceType: "proforma" }
@@ -785,13 +785,13 @@ export function BookingCreateForm({ onCreated, defaultProductId, defaultSlotId,
785
785
  : messages.bookingCreateDialog.actions.createAwaitingPaymentBooking] })] })] }), _jsxs("div", { className: "flex flex-col gap-4 lg:col-span-4", children: [_jsx(BookingPreviewCard, { productId: product.productId, optionId: product.optionId, slotId: slotId, slotLabel: (() => {
786
786
  const slot = slots.find((s) => s.id === slotId);
787
787
  return slot ? formatSlotLabel(slot) : null;
788
- })(), unitQuantities: displayQuantities, unitLabels: roomUnitLabels, pricingCategoryQuantities: travelerPricingCategoryQuantities, pricingCategoryLabels: travelerPricingCategoryLabels, extraLines: displayExtraLines, travelers: travelers.travelers, messages: messages, onPricingChange: setPricing }), product.productId && slotId ? (_jsx(VoucherPickerSection, { value: voucher, onChange: setVoucher, currency: currency, labels: {
789
- heading: messages.bookingCreateDialog.labels.voucherHeading,
790
- codePlaceholder: messages.bookingCreateDialog.labels.voucherCodePlaceholder,
791
- apply: messages.bookingCreateDialog.labels.voucherApply,
792
- clear: messages.bookingCreateDialog.labels.voucherClear,
793
- remainingLabel: messages.bookingCreateDialog.labels.voucherRemainingLabel,
794
- invalidLabel: messages.bookingCreateDialog.labels.voucherInvalidLabel,
788
+ })(), unitQuantities: displayQuantities, unitLabels: roomUnitLabels, pricingCategoryQuantities: travelerPricingCategoryQuantities, pricingCategoryLabels: travelerPricingCategoryLabels, extraLines: displayExtraLines, travelers: travelers.travelers, messages: messages, onPricingChange: setPricing }), product.productId && slotId ? (_jsx(TravelCreditPickerSection, { value: travelCredit, onChange: setTravelCredit, currency: currency, labels: {
789
+ heading: messages.bookingCreateDialog.labels.travelCreditHeading,
790
+ codePlaceholder: messages.bookingCreateDialog.labels.travelCreditCodePlaceholder,
791
+ apply: messages.bookingCreateDialog.labels.travelCreditApply,
792
+ clear: messages.bookingCreateDialog.labels.travelCreditClear,
793
+ remainingLabel: messages.bookingCreateDialog.labels.travelCreditRemainingLabel,
794
+ invalidLabel: messages.bookingCreateDialog.labels.travelCreditInvalidLabel,
795
795
  } })) : null, product.productId && slotId ? (_jsx(PaymentScheduleSection, { value: paymentSchedule, onChange: setPaymentSchedule, currency: pricingCurrency, totalAmountCents: pricingTotalAmountCents, departureDate: selectedSlot?.startsAt?.slice(0, 10) ?? null, labels: {
796
796
  heading: messages.bookingCreateDialog.labels.paymentHeading,
797
797
  modeUnpaid: messages.bookingCreateDialog.labels.paymentModeUnpaid,
@@ -63,4 +63,3 @@ export declare function getBookableDepartureSlots<TSlot extends DepartureSlotSea
63
63
  export declare function itemLinesToRows(quantities: Record<string, number>, units: BookingCreateUnitLineRecord[], pricing: BookingCreatePricingRecord | null, travelerIndexesByUnitId?: Record<string, number[]>, travelerKeysByUnitId?: Record<string, string[]>, travelerIndexesByUnitAndCategoryId?: Record<string, Record<string, number[]>>, travelerKeysByUnitAndCategoryId?: Record<string, Record<string, string[]>>): BookingCreateItemLineInput[];
64
64
  export declare function getSelectedSharedRoomUnitId(quantities: Record<string, number>): string | null;
65
65
  export {};
66
- //# sourceMappingURL=booking-create-utils.d.ts.map
@@ -129,4 +129,3 @@ export declare function BookingBillingContextCard({ booking, onPersonOpen, onOrg
129
129
  /** Open the linked CRM organization's detail page. */
130
130
  onOrganizationOpen?: (organizationId: string) => void;
131
131
  }): import("react").JSX.Element;
132
- //# sourceMappingURL=booking-detail-page.d.ts.map
@@ -25,4 +25,3 @@ export interface BookingDialogProps {
25
25
  * the existing row's metadata (status, amounts, dates, notes).
26
26
  */
27
27
  export declare function BookingDialog({ open, onOpenChange, booking, onSuccess, defaultProductId, defaultSlotId, }: BookingDialogProps): import("react").JSX.Element;
28
- //# sourceMappingURL=booking-dialog.d.ts.map
@@ -5,4 +5,3 @@ export interface BookingDocumentDialogProps {
5
5
  onSuccess?: () => void;
6
6
  }
7
7
  export declare function BookingDocumentDialog({ open, onOpenChange, bookingId, onSuccess, }: BookingDocumentDialogProps): import("react").JSX.Element;
8
- //# sourceMappingURL=booking-document-dialog.d.ts.map
@@ -3,4 +3,3 @@ export interface BookingDocumentListProps {
3
3
  bookingId: string;
4
4
  }
5
5
  export declare function BookingDocumentList({ bookingId }: BookingDocumentListProps): React.JSX.Element;
6
- //# sourceMappingURL=booking-document-list.d.ts.map
@@ -8,4 +8,3 @@ export interface BookingGroupLinkDialogProps {
8
8
  onLinked?: (groupId: string) => void;
9
9
  }
10
10
  export declare function BookingGroupLinkDialog({ open, onOpenChange, bookingId, productId, optionUnitId, onLinked, }: BookingGroupLinkDialogProps): React.JSX.Element;
11
- //# sourceMappingURL=booking-group-link-dialog.d.ts.map
@@ -25,4 +25,3 @@ export interface BookingGroupSectionProps {
25
25
  hideWithoutAccommodation?: boolean;
26
26
  }
27
27
  export declare function BookingGroupSection({ bookingId, productId, optionUnitId, hideWithoutAccommodation, }: BookingGroupSectionProps): React.JSX.Element | null;
28
- //# sourceMappingURL=booking-group-section.d.ts.map
@@ -7,4 +7,3 @@ export interface BookingGuaranteeDialogProps {
7
7
  onSuccess?: () => void;
8
8
  }
9
9
  export declare function BookingGuaranteeDialog({ open, onOpenChange, bookingId, guarantee, onSuccess, }: BookingGuaranteeDialogProps): import("react").JSX.Element;
10
- //# sourceMappingURL=booking-guarantee-dialog.d.ts.map
@@ -3,4 +3,3 @@ export interface BookingGuaranteeListProps {
3
3
  bookingId: string;
4
4
  }
5
5
  export declare function BookingGuaranteeList({ bookingId }: BookingGuaranteeListProps): React.JSX.Element;
6
- //# sourceMappingURL=booking-guarantee-list.d.ts.map
@@ -7,4 +7,3 @@ export interface BookingItemDialogProps {
7
7
  onSuccess?: () => void;
8
8
  }
9
9
  export declare function BookingItemDialog({ open, onOpenChange, bookingId, item, onSuccess, }: BookingItemDialogProps): import("react").JSX.Element;
10
- //# sourceMappingURL=booking-item-dialog.d.ts.map
@@ -11,4 +11,3 @@ export interface BookingItemListProps {
11
11
  onResourceOpen?: (kind: BookingItemResourceKind, id: string) => void;
12
12
  }
13
13
  export declare function BookingItemList({ bookingId, readOnly, onResourceOpen, }: BookingItemListProps): React.JSX.Element;
14
- //# sourceMappingURL=booking-item-list.d.ts.map
@@ -4,4 +4,3 @@ export interface BookingItemTravelersProps {
4
4
  itemId: string;
5
5
  }
6
6
  export declare function BookingItemTravelers({ bookingId, itemId }: BookingItemTravelersProps): React.JSX.Element;
7
- //# sourceMappingURL=booking-item-travelers.d.ts.map
@@ -42,4 +42,3 @@ export interface BookingListFiltersPopoverProps {
42
42
  onClearFilters: () => void;
43
43
  }
44
44
  export declare function BookingListFiltersPopover({ open, onOpenChange, activeFilterCount, status, onStatusChange, productId, onProductIdChange, optionId, onOptionIdChange, availabilitySlotId, onAvailabilitySlotIdChange, supplierId, onSupplierIdChange, productCategoryId, onProductCategoryIdChange, personId, onPersonIdChange, organizationId, onOrganizationIdChange, dateRange, onDateRangeChange, paxMin, onPaxMinChange, paxMax, onPaxMaxChange, onFiltersChanged, hasActiveFilters, onClearFilters, }: BookingListFiltersPopoverProps): React.JSX.Element;
45
- //# sourceMappingURL=booking-list-filters.d.ts.map
@@ -47,4 +47,3 @@ export interface BookingListProps {
47
47
  onFiltersChange?: (filters: BookingListFiltersState) => void;
48
48
  }
49
49
  export declare function BookingList({ pageSize, onSelectBooking, onCreateBooking, headerActions, initialFilters, onFiltersChange, }?: BookingListProps): React.JSX.Element;
50
- //# sourceMappingURL=booking-list.d.ts.map
@@ -14,4 +14,3 @@ export interface BookingNoteDialogProps {
14
14
  * the booking-detail surface.
15
15
  */
16
16
  export declare function BookingNoteDialog({ open, onOpenChange, bookingId, note, onSuccess, }: BookingNoteDialogProps): React.JSX.Element;
17
- //# sourceMappingURL=booking-note-dialog.d.ts.map
@@ -3,4 +3,3 @@ export interface BookingNotesProps {
3
3
  bookingId: string;
4
4
  }
5
5
  export declare function BookingNotes({ bookingId }: BookingNotesProps): React.JSX.Element;
6
- //# sourceMappingURL=booking-notes.d.ts.map
@@ -2,4 +2,3 @@ export interface BookingPaymentReconciliationBannerProps {
2
2
  bookingId: string;
3
3
  }
4
4
  export declare function BookingPaymentReconciliationBanner({ bookingId, }: BookingPaymentReconciliationBannerProps): import("react").JSX.Element;
5
- //# sourceMappingURL=booking-payment-reconciliation-banner.d.ts.map
@@ -7,4 +7,3 @@ export interface BookingPaymentScheduleDialogProps {
7
7
  onSuccess?: () => void;
8
8
  }
9
9
  export declare function BookingPaymentScheduleDialog({ open, onOpenChange, bookingId, schedule, onSuccess, }: BookingPaymentScheduleDialogProps): import("react").JSX.Element;
10
- //# sourceMappingURL=booking-payment-schedule-dialog.d.ts.map
@@ -8,4 +8,3 @@ export interface BookingPaymentScheduleListProps {
8
8
  bookingId: string;
9
9
  }
10
10
  export declare function BookingPaymentScheduleList({ bookingId, addScheduleDisabledReason, }: BookingPaymentScheduleListProps): React.JSX.Element;
11
- //# sourceMappingURL=booking-payment-schedule-list.d.ts.map
@@ -17,13 +17,13 @@ export interface BookingPaymentSummaryPaymentRow {
17
17
  referenceNumber: string | null;
18
18
  notes: string | null;
19
19
  }
20
- export interface BookingPaymentSummaryVoucherRedemptionRow extends Omit<BookingPaymentSummaryPaymentRow, "source" | "invoiceId" | "invoiceNumber" | "invoiceType"> {
21
- source: "voucher_redemption";
20
+ export interface BookingPaymentSummaryTravelCreditRedemptionRow extends Omit<BookingPaymentSummaryPaymentRow, "source" | "invoiceId" | "invoiceNumber" | "invoiceType"> {
21
+ source: "travel_credit_redemption";
22
22
  invoiceId: null;
23
23
  invoiceNumber: null;
24
24
  invoiceType: null;
25
25
  }
26
- export type BookingPaymentsSummaryRow = BookingPaymentSummaryPaymentRow | BookingPaymentSummaryVoucherRedemptionRow;
26
+ export type BookingPaymentsSummaryRow = BookingPaymentSummaryPaymentRow | BookingPaymentSummaryTravelCreditRedemptionRow;
27
27
  export interface BookingPaymentsSummaryProps {
28
28
  bookingId: string;
29
29
  /**
@@ -88,4 +88,3 @@ export interface BookingPaymentsSummaryProps {
88
88
  * "list of payments" and "list of invoice line-items".
89
89
  */
90
90
  export declare function BookingPaymentsSummary({ bookingId, variant, onInvoiceOpen, getInvoiceHref, onViewPayment, onConvertProforma, onEditPayment, onDeletePayment, headerAction, }: BookingPaymentsSummaryProps): React.JSX.Element;
91
- //# sourceMappingURL=booking-payments-summary.d.ts.map
@@ -64,10 +64,10 @@ export function BookingPaymentsSummary({ bookingId, variant = "public", onInvoic
64
64
  notes: payment.notes,
65
65
  };
66
66
  const source = payment.source ?? "payment";
67
- if (source === "voucher_redemption") {
67
+ if (source === "travel_credit_redemption") {
68
68
  return {
69
69
  ...base,
70
- source: "voucher_redemption",
70
+ source: "travel_credit_redemption",
71
71
  invoiceId: null,
72
72
  invoiceNumber: null,
73
73
  invoiceType: null,
@@ -11,4 +11,3 @@ export interface BookingQuickViewSheetProps {
11
11
  locale?: string;
12
12
  }
13
13
  export declare function BookingQuickViewSheet({ bookingId, open, onOpenChange, onViewFull, locale, }: BookingQuickViewSheetProps): import("react").JSX.Element;
14
- //# sourceMappingURL=booking-quick-view-sheet.d.ts.map
@@ -16,4 +16,3 @@ export interface BookingsPageProps {
16
16
  onFiltersChange?: (filters: BookingListFiltersState) => void;
17
17
  }
18
18
  export declare function BookingsPage({ pageSize, onBookingOpen, onCreateBooking, headerActions, className, initialFilters, onFiltersChange, }?: BookingsPageProps): React.JSX.Element;
19
- //# sourceMappingURL=bookings-page.d.ts.map
@@ -25,4 +25,3 @@ export interface FileDropzoneProps {
25
25
  disabled?: boolean;
26
26
  }
27
27
  export declare function FileDropzone({ uploadUrl, accept, maxSize, onUploaded, onCleared, onError, helperText, disabled, }: FileDropzoneProps): React.JSX.Element;
28
- //# sourceMappingURL=file-dropzone.d.ts.map
@@ -15,4 +15,3 @@ export interface IconActionButtonProps {
15
15
  * short verb hint on hover.
16
16
  */
17
17
  export declare function IconActionButton({ label, icon, className, disabled, onClick, }: IconActionButtonProps): React.JSX.Element;
18
- //# sourceMappingURL=icon-action-button.d.ts.map
@@ -109,4 +109,3 @@ export declare function resolveSlotOptionId(slotRows: ReadonlyArray<{
109
109
  * or hasn't loaded slot rows yet, the product-level rows cover everything.
110
110
  */
111
111
  export declare function mergeStepperUnits(slotRows: ReadonlyArray<OptionUnitsStepperUnit>, productRows: ReadonlyArray<OptionUnitsStepperUnit>, slotOptionId: string | null, hasSlot: boolean): OptionUnitsStepperUnit[];
112
- //# sourceMappingURL=option-units-stepper-section.d.ts.map
@@ -88,4 +88,3 @@ export interface PaymentScheduleSectionProps {
88
88
  * `bookings.id`).
89
89
  */
90
90
  export declare function PaymentScheduleSection({ value, onChange, totalAmountCents, departureDate, currency, labels, }: PaymentScheduleSectionProps): import("react").JSX.Element;
91
- //# sourceMappingURL=payment-schedule-section.d.ts.map