@voyant-travel/bookings-react 0.119.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (602) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +87 -0
  3. package/dist/admin/booking-contract-dialog.d.ts +22 -0
  4. package/dist/admin/booking-contract-dialog.d.ts.map +1 -0
  5. package/dist/admin/booking-contract-dialog.js +161 -0
  6. package/dist/admin/booking-detail-host.d.ts +103 -0
  7. package/dist/admin/booking-detail-host.d.ts.map +1 -0
  8. package/dist/admin/booking-detail-host.js +127 -0
  9. package/dist/admin/booking-detail-skeleton.d.ts +7 -0
  10. package/dist/admin/booking-detail-skeleton.d.ts.map +1 -0
  11. package/dist/admin/booking-detail-skeleton.js +24 -0
  12. package/dist/admin/booking-documents-table.d.ts +13 -0
  13. package/dist/admin/booking-documents-table.d.ts.map +1 -0
  14. package/dist/admin/booking-documents-table.js +259 -0
  15. package/dist/admin/booking-invoice-sheet.d.ts +18 -0
  16. package/dist/admin/booking-invoice-sheet.d.ts.map +1 -0
  17. package/dist/admin/booking-invoice-sheet.js +101 -0
  18. package/dist/admin/booking-journey-host.d.ts +24 -0
  19. package/dist/admin/booking-journey-host.d.ts.map +1 -0
  20. package/dist/admin/booking-journey-host.js +278 -0
  21. package/dist/admin/bookings-host.d.ts +26 -0
  22. package/dist/admin/bookings-host.d.ts.map +1 -0
  23. package/dist/admin/bookings-host.js +18 -0
  24. package/dist/admin/bookings-list-skeleton.d.ts +10 -0
  25. package/dist/admin/bookings-list-skeleton.d.ts.map +1 -0
  26. package/dist/admin/bookings-list-skeleton.js +25 -0
  27. package/dist/admin/index.d.ts +273 -0
  28. package/dist/admin/index.d.ts.map +1 -0
  29. package/dist/admin/index.js +331 -0
  30. package/dist/admin/journey-billing-duplicate-warning.d.ts +3 -0
  31. package/dist/admin/journey-billing-duplicate-warning.d.ts.map +1 -0
  32. package/dist/admin/journey-billing-duplicate-warning.js +26 -0
  33. package/dist/admin/journey-departure-picker.d.ts +7 -0
  34. package/dist/admin/journey-departure-picker.d.ts.map +1 -0
  35. package/dist/admin/journey-departure-picker.js +100 -0
  36. package/dist/admin/journey-units-picker.d.ts +11 -0
  37. package/dist/admin/journey-units-picker.d.ts.map +1 -0
  38. package/dist/admin/journey-units-picker.js +60 -0
  39. package/dist/admin/journey-voucher-picker.d.ts +3 -0
  40. package/dist/admin/journey-voucher-picker.d.ts.map +1 -0
  41. package/dist/admin/journey-voucher-picker.js +71 -0
  42. package/dist/admin/pages/booking-compose-page.d.ts +9 -0
  43. package/dist/admin/pages/booking-compose-page.d.ts.map +1 -0
  44. package/dist/admin/pages/booking-compose-page.js +17 -0
  45. package/dist/admin/pages/booking-detail-page.d.ts +11 -0
  46. package/dist/admin/pages/booking-detail-page.d.ts.map +1 -0
  47. package/dist/admin/pages/booking-detail-page.js +14 -0
  48. package/dist/admin/pages/booking-journey-page.d.ts +12 -0
  49. package/dist/admin/pages/booking-journey-page.d.ts.map +1 -0
  50. package/dist/admin/pages/booking-journey-page.js +26 -0
  51. package/dist/admin/pages/booking-new-page.d.ts +15 -0
  52. package/dist/admin/pages/booking-new-page.d.ts.map +1 -0
  53. package/dist/admin/pages/booking-new-page.js +50 -0
  54. package/dist/admin/pages/bookings-index-page.d.ts +20 -0
  55. package/dist/admin/pages/bookings-index-page.d.ts.map +1 -0
  56. package/dist/admin/pages/bookings-index-page.js +18 -0
  57. package/dist/admin/person-bookings-widget.d.ts +13 -0
  58. package/dist/admin/person-bookings-widget.d.ts.map +1 -0
  59. package/dist/admin/person-bookings-widget.js +48 -0
  60. package/dist/admin/slots.d.ts +31 -0
  61. package/dist/admin/slots.d.ts.map +1 -0
  62. package/dist/admin/slots.js +30 -0
  63. package/dist/admin/use-booking-action-ledger-events.d.ts +15 -0
  64. package/dist/admin/use-booking-action-ledger-events.d.ts.map +1 -0
  65. package/dist/admin/use-booking-action-ledger-events.js +66 -0
  66. package/dist/client.d.ts +14 -0
  67. package/dist/client.d.ts.map +1 -0
  68. package/dist/client.js +59 -0
  69. package/dist/components/booking-activity-timeline.d.ts +32 -0
  70. package/dist/components/booking-activity-timeline.d.ts.map +1 -0
  71. package/dist/components/booking-activity-timeline.js +147 -0
  72. package/dist/components/booking-billing-dialog.d.ts +16 -0
  73. package/dist/components/booking-billing-dialog.d.ts.map +1 -0
  74. package/dist/components/booking-billing-dialog.js +315 -0
  75. package/dist/components/booking-cancellation-dialog.d.ts +18 -0
  76. package/dist/components/booking-cancellation-dialog.d.ts.map +1 -0
  77. package/dist/components/booking-cancellation-dialog.js +79 -0
  78. package/dist/components/booking-combobox.d.ts +13 -0
  79. package/dist/components/booking-combobox.d.ts.map +1 -0
  80. package/dist/components/booking-combobox.js +44 -0
  81. package/dist/components/booking-create-form-utils.d.ts +56 -0
  82. package/dist/components/booking-create-form-utils.d.ts.map +1 -0
  83. package/dist/components/booking-create-form-utils.js +216 -0
  84. package/dist/components/booking-create-page.d.ts +14 -0
  85. package/dist/components/booking-create-page.d.ts.map +1 -0
  86. package/dist/components/booking-create-page.js +11 -0
  87. package/dist/components/booking-create-preview-card.d.ts +26 -0
  88. package/dist/components/booking-create-preview-card.d.ts.map +1 -0
  89. package/dist/components/booking-create-preview-card.js +107 -0
  90. package/dist/components/booking-create-product-extras-picker.d.ts +18 -0
  91. package/dist/components/booking-create-product-extras-picker.d.ts.map +1 -0
  92. package/dist/components/booking-create-product-extras-picker.js +82 -0
  93. package/dist/components/booking-create-sheet.d.ts +34 -0
  94. package/dist/components/booking-create-sheet.d.ts.map +1 -0
  95. package/dist/components/booking-create-sheet.js +811 -0
  96. package/dist/components/booking-create-utils.d.ts +66 -0
  97. package/dist/components/booking-create-utils.d.ts.map +1 -0
  98. package/dist/components/booking-create-utils.js +185 -0
  99. package/dist/components/booking-detail-page.d.ts +126 -0
  100. package/dist/components/booking-detail-page.d.ts.map +1 -0
  101. package/dist/components/booking-detail-page.js +264 -0
  102. package/dist/components/booking-dialog.d.ts +28 -0
  103. package/dist/components/booking-dialog.d.ts.map +1 -0
  104. package/dist/components/booking-dialog.js +130 -0
  105. package/dist/components/booking-document-dialog.d.ts +8 -0
  106. package/dist/components/booking-document-dialog.d.ts.map +1 -0
  107. package/dist/components/booking-document-dialog.js +83 -0
  108. package/dist/components/booking-document-list.d.ts +5 -0
  109. package/dist/components/booking-document-list.d.ts.map +1 -0
  110. package/dist/components/booking-document-list.js +43 -0
  111. package/dist/components/booking-group-link-dialog.d.ts +10 -0
  112. package/dist/components/booking-group-link-dialog.d.ts.map +1 -0
  113. package/dist/components/booking-group-link-dialog.js +79 -0
  114. package/dist/components/booking-group-section.d.ts +27 -0
  115. package/dist/components/booking-group-section.d.ts.map +1 -0
  116. package/dist/components/booking-group-section.js +51 -0
  117. package/dist/components/booking-guarantee-dialog.d.ts +10 -0
  118. package/dist/components/booking-guarantee-dialog.d.ts.map +1 -0
  119. package/dist/components/booking-guarantee-dialog.js +123 -0
  120. package/dist/components/booking-guarantee-list.d.ts +5 -0
  121. package/dist/components/booking-guarantee-list.d.ts.map +1 -0
  122. package/dist/components/booking-guarantee-list.js +86 -0
  123. package/dist/components/booking-item-dialog.d.ts +10 -0
  124. package/dist/components/booking-item-dialog.d.ts.map +1 -0
  125. package/dist/components/booking-item-dialog.js +155 -0
  126. package/dist/components/booking-item-list.d.ts +12 -0
  127. package/dist/components/booking-item-list.d.ts.map +1 -0
  128. package/dist/components/booking-item-list.js +191 -0
  129. package/dist/components/booking-item-travelers.d.ts +6 -0
  130. package/dist/components/booking-item-travelers.d.ts.map +1 -0
  131. package/dist/components/booking-item-travelers.js +57 -0
  132. package/dist/components/booking-list-filters.d.ts +43 -0
  133. package/dist/components/booking-list-filters.d.ts.map +1 -0
  134. package/dist/components/booking-list-filters.js +192 -0
  135. package/dist/components/booking-list.d.ts +50 -0
  136. package/dist/components/booking-list.d.ts.map +1 -0
  137. package/dist/components/booking-list.js +352 -0
  138. package/dist/components/booking-note-dialog.d.ts +16 -0
  139. package/dist/components/booking-note-dialog.d.ts.map +1 -0
  140. package/dist/components/booking-note-dialog.js +41 -0
  141. package/dist/components/booking-notes.d.ts +5 -0
  142. package/dist/components/booking-notes.d.ts.map +1 -0
  143. package/dist/components/booking-notes.js +45 -0
  144. package/dist/components/booking-payment-reconciliation-banner.d.ts +5 -0
  145. package/dist/components/booking-payment-reconciliation-banner.d.ts.map +1 -0
  146. package/dist/components/booking-payment-reconciliation-banner.js +91 -0
  147. package/dist/components/booking-payment-schedule-dialog.d.ts +10 -0
  148. package/dist/components/booking-payment-schedule-dialog.d.ts.map +1 -0
  149. package/dist/components/booking-payment-schedule-dialog.js +117 -0
  150. package/dist/components/booking-payment-schedule-list.d.ts +10 -0
  151. package/dist/components/booking-payment-schedule-list.d.ts.map +1 -0
  152. package/dist/components/booking-payment-schedule-list.js +217 -0
  153. package/dist/components/booking-payments-summary.d.ts +83 -0
  154. package/dist/components/booking-payments-summary.d.ts.map +1 -0
  155. package/dist/components/booking-payments-summary.js +176 -0
  156. package/dist/components/booking-quick-view-sheet.d.ts +14 -0
  157. package/dist/components/booking-quick-view-sheet.d.ts.map +1 -0
  158. package/dist/components/booking-quick-view-sheet.js +283 -0
  159. package/dist/components/bookings-page.d.ts +19 -0
  160. package/dist/components/bookings-page.d.ts.map +1 -0
  161. package/dist/components/bookings-page.js +9 -0
  162. package/dist/components/file-dropzone.d.ts +25 -0
  163. package/dist/components/file-dropzone.d.ts.map +1 -0
  164. package/dist/components/file-dropzone.js +102 -0
  165. package/dist/components/icon-action-button.d.ts +18 -0
  166. package/dist/components/icon-action-button.d.ts.map +1 -0
  167. package/dist/components/icon-action-button.js +13 -0
  168. package/dist/components/option-units-stepper-section.d.ts +111 -0
  169. package/dist/components/option-units-stepper-section.d.ts.map +1 -0
  170. package/dist/components/option-units-stepper-section.js +276 -0
  171. package/dist/components/payment-schedule-section.d.ts +91 -0
  172. package/dist/components/payment-schedule-section.d.ts.map +1 -0
  173. package/dist/components/payment-schedule-section.js +206 -0
  174. package/dist/components/person-picker-section.d.ts +71 -0
  175. package/dist/components/person-picker-section.d.ts.map +1 -0
  176. package/dist/components/person-picker-section.js +160 -0
  177. package/dist/components/price-breakdown-section.d.ts +83 -0
  178. package/dist/components/price-breakdown-section.d.ts.map +1 -0
  179. package/dist/components/price-breakdown-section.js +278 -0
  180. package/dist/components/product-picker-section.d.ts +29 -0
  181. package/dist/components/product-picker-section.d.ts.map +1 -0
  182. package/dist/components/product-picker-section.js +74 -0
  183. package/dist/components/shared-room-section.d.ts +40 -0
  184. package/dist/components/shared-room-section.d.ts.map +1 -0
  185. package/dist/components/shared-room-section.js +99 -0
  186. package/dist/components/status-badge.d.ts +24 -0
  187. package/dist/components/status-badge.d.ts.map +1 -0
  188. package/dist/components/status-badge.js +65 -0
  189. package/dist/components/status-change-dialog.d.ts +10 -0
  190. package/dist/components/status-change-dialog.d.ts.map +1 -0
  191. package/dist/components/status-change-dialog.js +57 -0
  192. package/dist/components/supplier-status-dialog.d.ts +10 -0
  193. package/dist/components/supplier-status-dialog.d.ts.map +1 -0
  194. package/dist/components/supplier-status-dialog.js +98 -0
  195. package/dist/components/supplier-status-list.d.ts +5 -0
  196. package/dist/components/supplier-status-list.d.ts.map +1 -0
  197. package/dist/components/supplier-status-list.js +115 -0
  198. package/dist/components/traveler-category-buttons.d.ts +26 -0
  199. package/dist/components/traveler-category-buttons.d.ts.map +1 -0
  200. package/dist/components/traveler-category-buttons.js +35 -0
  201. package/dist/components/traveler-dialog.d.ts +10 -0
  202. package/dist/components/traveler-dialog.d.ts.map +1 -0
  203. package/dist/components/traveler-dialog.js +256 -0
  204. package/dist/components/traveler-list.d.ts +6 -0
  205. package/dist/components/traveler-list.d.ts.map +1 -0
  206. package/dist/components/traveler-list.js +295 -0
  207. package/dist/components/travelers-section-controls.d.ts +52 -0
  208. package/dist/components/travelers-section-controls.d.ts.map +1 -0
  209. package/dist/components/travelers-section-controls.js +206 -0
  210. package/dist/components/travelers-section.d.ts +159 -0
  211. package/dist/components/travelers-section.d.ts.map +1 -0
  212. package/dist/components/travelers-section.js +355 -0
  213. package/dist/components/voucher-picker-section.d.ts +50 -0
  214. package/dist/components/voucher-picker-section.d.ts.map +1 -0
  215. package/dist/components/voucher-picker-section.js +79 -0
  216. package/dist/extras/client.d.ts +14 -0
  217. package/dist/extras/client.d.ts.map +1 -0
  218. package/dist/extras/client.js +58 -0
  219. package/dist/extras/components/extra-catalog-card.d.ts +13 -0
  220. package/dist/extras/components/extra-catalog-card.d.ts.map +1 -0
  221. package/dist/extras/components/extra-catalog-card.js +52 -0
  222. package/dist/extras/components/product-combobox.d.ts +9 -0
  223. package/dist/extras/components/product-combobox.d.ts.map +1 -0
  224. package/dist/extras/components/product-combobox.js +46 -0
  225. package/dist/extras/components/slot-extras-manifest-panel.d.ts +6 -0
  226. package/dist/extras/components/slot-extras-manifest-panel.d.ts.map +1 -0
  227. package/dist/extras/components/slot-extras-manifest-panel.js +108 -0
  228. package/dist/extras/hooks/index.d.ts +5 -0
  229. package/dist/extras/hooks/index.d.ts.map +1 -0
  230. package/dist/extras/hooks/index.js +4 -0
  231. package/dist/extras/hooks/use-product-extra.d.ts +24 -0
  232. package/dist/extras/hooks/use-product-extra.d.ts.map +1 -0
  233. package/dist/extras/hooks/use-product-extra.js +12 -0
  234. package/dist/extras/hooks/use-product-extras.d.ts +30 -0
  235. package/dist/extras/hooks/use-product-extras.d.ts.map +1 -0
  236. package/dist/extras/hooks/use-product-extras.js +12 -0
  237. package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts +48 -0
  238. package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts.map +1 -0
  239. package/dist/extras/hooks/use-slot-extra-manifest-mutation.js +26 -0
  240. package/dist/extras/hooks/use-slot-extra-manifest.d.ts +68 -0
  241. package/dist/extras/hooks/use-slot-extra-manifest.d.ts.map +1 -0
  242. package/dist/extras/hooks/use-slot-extra-manifest.js +11 -0
  243. package/dist/extras/i18n/en.d.ts +52 -0
  244. package/dist/extras/i18n/en.d.ts.map +1 -0
  245. package/dist/extras/i18n/en.js +51 -0
  246. package/dist/extras/i18n/index.d.ts +5 -0
  247. package/dist/extras/i18n/index.d.ts.map +1 -0
  248. package/dist/extras/i18n/index.js +3 -0
  249. package/dist/extras/i18n/messages.d.ts +37 -0
  250. package/dist/extras/i18n/messages.d.ts.map +1 -0
  251. package/dist/extras/i18n/messages.js +1 -0
  252. package/dist/extras/i18n/provider.d.ts +126 -0
  253. package/dist/extras/i18n/provider.d.ts.map +1 -0
  254. package/dist/extras/i18n/provider.js +44 -0
  255. package/dist/extras/i18n/ro.d.ts +52 -0
  256. package/dist/extras/i18n/ro.d.ts.map +1 -0
  257. package/dist/extras/i18n/ro.js +51 -0
  258. package/dist/extras/index.d.ts +7 -0
  259. package/dist/extras/index.d.ts.map +1 -0
  260. package/dist/extras/index.js +6 -0
  261. package/dist/extras/provider.d.ts +2 -0
  262. package/dist/extras/provider.d.ts.map +1 -0
  263. package/dist/extras/provider.js +1 -0
  264. package/dist/extras/query-keys.d.ts +16 -0
  265. package/dist/extras/query-keys.d.ts.map +1 -0
  266. package/dist/extras/query-keys.js +8 -0
  267. package/dist/extras/query-options.d.ts +455 -0
  268. package/dist/extras/query-options.d.ts.map +1 -0
  269. package/dist/extras/query-options.js +44 -0
  270. package/dist/extras/schemas.d.ts +416 -0
  271. package/dist/extras/schemas.d.ts.map +1 -0
  272. package/dist/extras/schemas.js +89 -0
  273. package/dist/extras/ui.d.ts +4 -0
  274. package/dist/extras/ui.d.ts.map +1 -0
  275. package/dist/extras/ui.js +3 -0
  276. package/dist/extras.d.ts +10 -0
  277. package/dist/extras.d.ts.map +1 -0
  278. package/dist/extras.js +9 -0
  279. package/dist/hooks/index.d.ts +36 -0
  280. package/dist/hooks/index.d.ts.map +1 -0
  281. package/dist/hooks/index.js +35 -0
  282. package/dist/hooks/use-booking-action-ledger.d.ts +63 -0
  283. package/dist/hooks/use-booking-action-ledger.d.ts.map +1 -0
  284. package/dist/hooks/use-booking-action-ledger.js +34 -0
  285. package/dist/hooks/use-booking-activity.d.ts +17 -0
  286. package/dist/hooks/use-booking-activity.d.ts.map +1 -0
  287. package/dist/hooks/use-booking-activity.js +12 -0
  288. package/dist/hooks/use-booking-cancel-mutation.d.ts +69 -0
  289. package/dist/hooks/use-booking-cancel-mutation.d.ts.map +1 -0
  290. package/dist/hooks/use-booking-cancel-mutation.js +24 -0
  291. package/dist/hooks/use-booking-contract-generation.d.ts +31 -0
  292. package/dist/hooks/use-booking-contract-generation.d.ts.map +1 -0
  293. package/dist/hooks/use-booking-contract-generation.js +36 -0
  294. package/dist/hooks/use-booking-convert-mutation.d.ts +81 -0
  295. package/dist/hooks/use-booking-convert-mutation.d.ts.map +1 -0
  296. package/dist/hooks/use-booking-convert-mutation.js +24 -0
  297. package/dist/hooks/use-booking-create-mutation.d.ts +337 -0
  298. package/dist/hooks/use-booking-create-mutation.d.ts.map +1 -0
  299. package/dist/hooks/use-booking-create-mutation.js +43 -0
  300. package/dist/hooks/use-booking-documents.d.ts +41 -0
  301. package/dist/hooks/use-booking-documents.d.ts.map +1 -0
  302. package/dist/hooks/use-booking-documents.js +46 -0
  303. package/dist/hooks/use-booking-dual-create-mutation.d.ts +338 -0
  304. package/dist/hooks/use-booking-dual-create-mutation.d.ts.map +1 -0
  305. package/dist/hooks/use-booking-dual-create-mutation.js +45 -0
  306. package/dist/hooks/use-booking-group-for-booking.d.ts +24 -0
  307. package/dist/hooks/use-booking-group-for-booking.d.ts.map +1 -0
  308. package/dist/hooks/use-booking-group-for-booking.js +12 -0
  309. package/dist/hooks/use-booking-group-member-mutation.d.ts +27 -0
  310. package/dist/hooks/use-booking-group-member-mutation.d.ts.map +1 -0
  311. package/dist/hooks/use-booking-group-member-mutation.js +38 -0
  312. package/dist/hooks/use-booking-group-mutation.d.ts +40 -0
  313. package/dist/hooks/use-booking-group-mutation.d.ts.map +1 -0
  314. package/dist/hooks/use-booking-group-mutation.js +32 -0
  315. package/dist/hooks/use-booking-group.d.ts +85 -0
  316. package/dist/hooks/use-booking-group.d.ts.map +1 -0
  317. package/dist/hooks/use-booking-group.js +12 -0
  318. package/dist/hooks/use-booking-groups.d.ts +21 -0
  319. package/dist/hooks/use-booking-groups.d.ts.map +1 -0
  320. package/dist/hooks/use-booking-groups.js +12 -0
  321. package/dist/hooks/use-booking-item-mutation.d.ts +101 -0
  322. package/dist/hooks/use-booking-item-mutation.d.ts.map +1 -0
  323. package/dist/hooks/use-booking-item-mutation.js +42 -0
  324. package/dist/hooks/use-booking-item-travelers.d.ts +32 -0
  325. package/dist/hooks/use-booking-item-travelers.d.ts.map +1 -0
  326. package/dist/hooks/use-booking-item-travelers.js +48 -0
  327. package/dist/hooks/use-booking-items.d.ts +36 -0
  328. package/dist/hooks/use-booking-items.d.ts.map +1 -0
  329. package/dist/hooks/use-booking-items.js +12 -0
  330. package/dist/hooks/use-booking-mutation.d.ts +158 -0
  331. package/dist/hooks/use-booking-mutation.d.ts.map +1 -0
  332. package/dist/hooks/use-booking-mutation.js +39 -0
  333. package/dist/hooks/use-booking-note-mutation.d.ts +39 -0
  334. package/dist/hooks/use-booking-note-mutation.d.ts.map +1 -0
  335. package/dist/hooks/use-booking-note-mutation.js +44 -0
  336. package/dist/hooks/use-booking-notes.d.ts +15 -0
  337. package/dist/hooks/use-booking-notes.d.ts.map +1 -0
  338. package/dist/hooks/use-booking-notes.js +12 -0
  339. package/dist/hooks/use-booking-primary-product.d.ts +28 -0
  340. package/dist/hooks/use-booking-primary-product.d.ts.map +1 -0
  341. package/dist/hooks/use-booking-primary-product.js +20 -0
  342. package/dist/hooks/use-booking-status-mutation.d.ts +156 -0
  343. package/dist/hooks/use-booking-status-mutation.d.ts.map +1 -0
  344. package/dist/hooks/use-booking-status-mutation.js +54 -0
  345. package/dist/hooks/use-booking-tax-preview.d.ts +29 -0
  346. package/dist/hooks/use-booking-tax-preview.d.ts.map +1 -0
  347. package/dist/hooks/use-booking-tax-preview.js +21 -0
  348. package/dist/hooks/use-booking.d.ts +67 -0
  349. package/dist/hooks/use-booking.d.ts.map +1 -0
  350. package/dist/hooks/use-booking.js +12 -0
  351. package/dist/hooks/use-bookings.d.ts +71 -0
  352. package/dist/hooks/use-bookings.d.ts.map +1 -0
  353. package/dist/hooks/use-bookings.js +12 -0
  354. package/dist/hooks/use-pricing-preview.d.ts +61 -0
  355. package/dist/hooks/use-pricing-preview.d.ts.map +1 -0
  356. package/dist/hooks/use-pricing-preview.js +18 -0
  357. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +148 -0
  358. package/dist/hooks/use-public-booking-session-flow-mutation.d.ts.map +1 -0
  359. package/dist/hooks/use-public-booking-session-flow-mutation.js +35 -0
  360. package/dist/hooks/use-public-booking-session-state.d.ts +16 -0
  361. package/dist/hooks/use-public-booking-session-state.d.ts.map +1 -0
  362. package/dist/hooks/use-public-booking-session-state.js +12 -0
  363. package/dist/hooks/use-public-booking-session.d.ts +101 -0
  364. package/dist/hooks/use-public-booking-session.d.ts.map +1 -0
  365. package/dist/hooks/use-public-booking-session.js +12 -0
  366. package/dist/hooks/use-reveal-traveler.d.ts +54 -0
  367. package/dist/hooks/use-reveal-traveler.d.ts.map +1 -0
  368. package/dist/hooks/use-reveal-traveler.js +18 -0
  369. package/dist/hooks/use-sharing-groups.d.ts +41 -0
  370. package/dist/hooks/use-sharing-groups.d.ts.map +1 -0
  371. package/dist/hooks/use-sharing-groups.js +20 -0
  372. package/dist/hooks/use-supplier-status-mutation.d.ts +46 -0
  373. package/dist/hooks/use-supplier-status-mutation.d.ts.map +1 -0
  374. package/dist/hooks/use-supplier-status-mutation.js +39 -0
  375. package/dist/hooks/use-supplier-statuses.d.ts +20 -0
  376. package/dist/hooks/use-supplier-statuses.d.ts.map +1 -0
  377. package/dist/hooks/use-supplier-statuses.js +12 -0
  378. package/dist/hooks/use-traveler-mutation.d.ts +55 -0
  379. package/dist/hooks/use-traveler-mutation.d.ts.map +1 -0
  380. package/dist/hooks/use-traveler-mutation.js +42 -0
  381. package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts +120 -0
  382. package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts.map +1 -0
  383. package/dist/hooks/use-traveler-with-travel-details-mutation.js +43 -0
  384. package/dist/hooks/use-travelers.d.ts +23 -0
  385. package/dist/hooks/use-travelers.d.ts.map +1 -0
  386. package/dist/hooks/use-travelers.js +12 -0
  387. package/dist/i18n/en-base.d.ts +295 -0
  388. package/dist/i18n/en-base.d.ts.map +1 -0
  389. package/dist/i18n/en-base.js +294 -0
  390. package/dist/i18n/en-create-list.d.ts +327 -0
  391. package/dist/i18n/en-create-list.d.ts.map +1 -0
  392. package/dist/i18n/en-create-list.js +326 -0
  393. package/dist/i18n/en-journey.d.ts +229 -0
  394. package/dist/i18n/en-journey.d.ts.map +1 -0
  395. package/dist/i18n/en-journey.js +228 -0
  396. package/dist/i18n/en-operations.d.ts +382 -0
  397. package/dist/i18n/en-operations.d.ts.map +1 -0
  398. package/dist/i18n/en-operations.js +381 -0
  399. package/dist/i18n/en-sections.d.ts +360 -0
  400. package/dist/i18n/en-sections.d.ts.map +1 -0
  401. package/dist/i18n/en-sections.js +359 -0
  402. package/dist/i18n/en.d.ts +1581 -0
  403. package/dist/i18n/en.d.ts.map +1 -0
  404. package/dist/i18n/en.js +12 -0
  405. package/dist/i18n/index.d.ts +5 -0
  406. package/dist/i18n/index.d.ts.map +1 -0
  407. package/dist/i18n/index.js +3 -0
  408. package/dist/i18n/messages-base.d.ts +251 -0
  409. package/dist/i18n/messages-base.d.ts.map +1 -0
  410. package/dist/i18n/messages-base.js +1 -0
  411. package/dist/i18n/messages-create-list.d.ts +310 -0
  412. package/dist/i18n/messages-create-list.d.ts.map +1 -0
  413. package/dist/i18n/messages-create-list.js +1 -0
  414. package/dist/i18n/messages-journey.d.ts +198 -0
  415. package/dist/i18n/messages-journey.d.ts.map +1 -0
  416. package/dist/i18n/messages-journey.js +1 -0
  417. package/dist/i18n/messages-operations.d.ts +362 -0
  418. package/dist/i18n/messages-operations.d.ts.map +1 -0
  419. package/dist/i18n/messages-operations.js +1 -0
  420. package/dist/i18n/messages-sections.d.ts +312 -0
  421. package/dist/i18n/messages-sections.d.ts.map +1 -0
  422. package/dist/i18n/messages-sections.js +1 -0
  423. package/dist/i18n/messages.d.ts +7 -0
  424. package/dist/i18n/messages.d.ts.map +1 -0
  425. package/dist/i18n/messages.js +1 -0
  426. package/dist/i18n/provider.d.ts +3185 -0
  427. package/dist/i18n/provider.d.ts.map +1 -0
  428. package/dist/i18n/provider.js +45 -0
  429. package/dist/i18n/ro-base.d.ts +295 -0
  430. package/dist/i18n/ro-base.d.ts.map +1 -0
  431. package/dist/i18n/ro-base.js +294 -0
  432. package/dist/i18n/ro-create-list.d.ts +327 -0
  433. package/dist/i18n/ro-create-list.d.ts.map +1 -0
  434. package/dist/i18n/ro-create-list.js +326 -0
  435. package/dist/i18n/ro-journey.d.ts +229 -0
  436. package/dist/i18n/ro-journey.d.ts.map +1 -0
  437. package/dist/i18n/ro-journey.js +228 -0
  438. package/dist/i18n/ro-operations.d.ts +382 -0
  439. package/dist/i18n/ro-operations.d.ts.map +1 -0
  440. package/dist/i18n/ro-operations.js +381 -0
  441. package/dist/i18n/ro-sections.d.ts +360 -0
  442. package/dist/i18n/ro-sections.d.ts.map +1 -0
  443. package/dist/i18n/ro-sections.js +359 -0
  444. package/dist/i18n/ro.d.ts +1581 -0
  445. package/dist/i18n/ro.d.ts.map +1 -0
  446. package/dist/i18n/ro.js +12 -0
  447. package/dist/index.d.ts +9 -0
  448. package/dist/index.d.ts.map +1 -0
  449. package/dist/index.js +8 -0
  450. package/dist/journey/components/booking-journey-rules.d.ts +48 -0
  451. package/dist/journey/components/booking-journey-rules.d.ts.map +1 -0
  452. package/dist/journey/components/booking-journey-rules.js +235 -0
  453. package/dist/journey/components/booking-journey.d.ts +3 -0
  454. package/dist/journey/components/booking-journey.d.ts.map +1 -0
  455. package/dist/journey/components/booking-journey.js +368 -0
  456. package/dist/journey/components/configure-step-skeleton.d.ts +8 -0
  457. package/dist/journey/components/configure-step-skeleton.d.ts.map +1 -0
  458. package/dist/journey/components/configure-step-skeleton.js +11 -0
  459. package/dist/journey/components/contract-preview-dialog.d.ts +47 -0
  460. package/dist/journey/components/contract-preview-dialog.d.ts.map +1 -0
  461. package/dist/journey/components/contract-preview-dialog.js +124 -0
  462. package/dist/journey/components/journey-steps/accommodation-step.d.ts +3 -0
  463. package/dist/journey/components/journey-steps/accommodation-step.d.ts.map +1 -0
  464. package/dist/journey/components/journey-steps/accommodation-step.js +71 -0
  465. package/dist/journey/components/journey-steps/addons-step.d.ts +3 -0
  466. package/dist/journey/components/journey-steps/addons-step.d.ts.map +1 -0
  467. package/dist/journey/components/journey-steps/addons-step.js +40 -0
  468. package/dist/journey/components/journey-steps/billing-step.d.ts +8 -0
  469. package/dist/journey/components/journey-steps/billing-step.d.ts.map +1 -0
  470. package/dist/journey/components/journey-steps/billing-step.js +78 -0
  471. package/dist/journey/components/journey-steps/configure-steps.d.ts +28 -0
  472. package/dist/journey/components/journey-steps/configure-steps.d.ts.map +1 -0
  473. package/dist/journey/components/journey-steps/configure-steps.js +232 -0
  474. package/dist/journey/components/journey-steps/documents-step.d.ts +11 -0
  475. package/dist/journey/components/journey-steps/documents-step.d.ts.map +1 -0
  476. package/dist/journey/components/journey-steps/documents-step.js +36 -0
  477. package/dist/journey/components/journey-steps/payment-step.d.ts +29 -0
  478. package/dist/journey/components/journey-steps/payment-step.d.ts.map +1 -0
  479. package/dist/journey/components/journey-steps/payment-step.js +225 -0
  480. package/dist/journey/components/journey-steps/review-step.d.ts +27 -0
  481. package/dist/journey/components/journey-steps/review-step.d.ts.map +1 -0
  482. package/dist/journey/components/journey-steps/review-step.js +18 -0
  483. package/dist/journey/components/journey-steps/shared.d.ts +75 -0
  484. package/dist/journey/components/journey-steps/shared.d.ts.map +1 -0
  485. package/dist/journey/components/journey-steps/shared.js +108 -0
  486. package/dist/journey/components/journey-steps/travelers-step.d.ts +7 -0
  487. package/dist/journey/components/journey-steps/travelers-step.d.ts.map +1 -0
  488. package/dist/journey/components/journey-steps/travelers-step.js +201 -0
  489. package/dist/journey/components/journey-steps.d.ts +21 -0
  490. package/dist/journey/components/journey-steps.d.ts.map +1 -0
  491. package/dist/journey/components/journey-steps.js +20 -0
  492. package/dist/journey/components/side-panel.d.ts +17 -0
  493. package/dist/journey/components/side-panel.d.ts.map +1 -0
  494. package/dist/journey/components/side-panel.js +245 -0
  495. package/dist/journey/components/stacked-journey.d.ts +30 -0
  496. package/dist/journey/components/stacked-journey.d.ts.map +1 -0
  497. package/dist/journey/components/stacked-journey.js +50 -0
  498. package/dist/journey/components/step-header.d.ts +7 -0
  499. package/dist/journey/components/step-header.d.ts.map +1 -0
  500. package/dist/journey/components/step-header.js +12 -0
  501. package/dist/journey/index.d.ts +18 -0
  502. package/dist/journey/index.d.ts.map +1 -0
  503. package/dist/journey/index.js +17 -0
  504. package/dist/journey/lib/draft-state.d.ts +35 -0
  505. package/dist/journey/lib/draft-state.d.ts.map +1 -0
  506. package/dist/journey/lib/draft-state.js +57 -0
  507. package/dist/journey/lib/pax-band-dependencies.d.ts +27 -0
  508. package/dist/journey/lib/pax-band-dependencies.d.ts.map +1 -0
  509. package/dist/journey/lib/pax-band-dependencies.js +50 -0
  510. package/dist/journey/lib/payment-schedule.d.ts +19 -0
  511. package/dist/journey/lib/payment-schedule.d.ts.map +1 -0
  512. package/dist/journey/lib/payment-schedule.js +90 -0
  513. package/dist/journey/types.d.ts +403 -0
  514. package/dist/journey/types.d.ts.map +1 -0
  515. package/dist/journey/types.js +19 -0
  516. package/dist/provider.d.ts +2 -0
  517. package/dist/provider.d.ts.map +1 -0
  518. package/dist/provider.js +1 -0
  519. package/dist/query-keys.d.ts +74 -0
  520. package/dist/query-keys.d.ts.map +1 -0
  521. package/dist/query-keys.js +26 -0
  522. package/dist/query-options.d.ts +2534 -0
  523. package/dist/query-options.d.ts.map +1 -0
  524. package/dist/query-options.js +233 -0
  525. package/dist/requirements/client.d.ts +14 -0
  526. package/dist/requirements/client.d.ts.map +1 -0
  527. package/dist/requirements/client.js +59 -0
  528. package/dist/requirements/components/booking-requirements-contact-tab.d.ts +8 -0
  529. package/dist/requirements/components/booking-requirements-contact-tab.d.ts.map +1 -0
  530. package/dist/requirements/components/booking-requirements-contact-tab.js +8 -0
  531. package/dist/requirements/components/booking-requirements-questions-tab.d.ts +14 -0
  532. package/dist/requirements/components/booking-requirements-questions-tab.d.ts.map +1 -0
  533. package/dist/requirements/components/booking-requirements-questions-tab.js +17 -0
  534. package/dist/requirements/constants.d.ts +114 -0
  535. package/dist/requirements/constants.d.ts.map +1 -0
  536. package/dist/requirements/constants.js +45 -0
  537. package/dist/requirements/hooks/index.d.ts +6 -0
  538. package/dist/requirements/hooks/index.d.ts.map +1 -0
  539. package/dist/requirements/hooks/index.js +6 -0
  540. package/dist/requirements/hooks/use-booking-questions.d.ts +24 -0
  541. package/dist/requirements/hooks/use-booking-questions.d.ts.map +1 -0
  542. package/dist/requirements/hooks/use-booking-questions.js +9 -0
  543. package/dist/requirements/hooks/use-contact-requirements.d.ts +22 -0
  544. package/dist/requirements/hooks/use-contact-requirements.d.ts.map +1 -0
  545. package/dist/requirements/hooks/use-contact-requirements.js +9 -0
  546. package/dist/requirements/hooks/use-products.d.ts +16 -0
  547. package/dist/requirements/hooks/use-products.d.ts.map +1 -0
  548. package/dist/requirements/hooks/use-products.js +9 -0
  549. package/dist/requirements/hooks/use-question-options.d.ts +19 -0
  550. package/dist/requirements/hooks/use-question-options.d.ts.map +1 -0
  551. package/dist/requirements/hooks/use-question-options.js +9 -0
  552. package/dist/requirements/hooks/use-transport-requirements.d.ts +30 -0
  553. package/dist/requirements/hooks/use-transport-requirements.d.ts.map +1 -0
  554. package/dist/requirements/hooks/use-transport-requirements.js +9 -0
  555. package/dist/requirements/i18n/en.d.ts +94 -0
  556. package/dist/requirements/i18n/en.d.ts.map +1 -0
  557. package/dist/requirements/i18n/en.js +93 -0
  558. package/dist/requirements/i18n/index.d.ts +5 -0
  559. package/dist/requirements/i18n/index.d.ts.map +1 -0
  560. package/dist/requirements/i18n/index.js +3 -0
  561. package/dist/requirements/i18n/messages.d.ts +59 -0
  562. package/dist/requirements/i18n/messages.d.ts.map +1 -0
  563. package/dist/requirements/i18n/messages.js +1 -0
  564. package/dist/requirements/i18n/provider.d.ts +210 -0
  565. package/dist/requirements/i18n/provider.d.ts.map +1 -0
  566. package/dist/requirements/i18n/provider.js +44 -0
  567. package/dist/requirements/i18n/ro.d.ts +94 -0
  568. package/dist/requirements/i18n/ro.d.ts.map +1 -0
  569. package/dist/requirements/i18n/ro.js +93 -0
  570. package/dist/requirements/index.d.ts +9 -0
  571. package/dist/requirements/index.d.ts.map +1 -0
  572. package/dist/requirements/index.js +8 -0
  573. package/dist/requirements/provider.d.ts +2 -0
  574. package/dist/requirements/provider.d.ts.map +1 -0
  575. package/dist/requirements/provider.js +1 -0
  576. package/dist/requirements/query-keys.d.ts +33 -0
  577. package/dist/requirements/query-keys.d.ts.map +1 -0
  578. package/dist/requirements/query-keys.js +13 -0
  579. package/dist/requirements/query-options.d.ts +371 -0
  580. package/dist/requirements/query-options.d.ts.map +1 -0
  581. package/dist/requirements/query-options.js +80 -0
  582. package/dist/requirements/schemas.d.ts +320 -0
  583. package/dist/requirements/schemas.d.ts.map +1 -0
  584. package/dist/requirements/schemas.js +121 -0
  585. package/dist/requirements/ui.d.ts +4 -0
  586. package/dist/requirements/ui.d.ts.map +1 -0
  587. package/dist/requirements/ui.js +3 -0
  588. package/dist/requirements/utils.d.ts +2 -0
  589. package/dist/requirements/utils.d.ts.map +1 -0
  590. package/dist/requirements/utils.js +4 -0
  591. package/dist/schemas.d.ts +2070 -0
  592. package/dist/schemas.d.ts.map +1 -0
  593. package/dist/schemas.js +507 -0
  594. package/dist/status-presentation.d.ts +34 -0
  595. package/dist/status-presentation.d.ts.map +1 -0
  596. package/dist/status-presentation.js +38 -0
  597. package/dist/ui.d.ts +43 -0
  598. package/dist/ui.d.ts.map +1 -0
  599. package/dist/ui.js +42 -0
  600. package/package.json +256 -0
  601. package/src/requirements/styles.css +1 -0
  602. package/src/styles.css +13 -0
@@ -0,0 +1,2534 @@
1
+ import { type FetchWithValidationOptions } from "./client.js";
2
+ import type { UseBookingOptions } from "./hooks/use-booking.js";
3
+ import type { UseBookingActivityOptions } from "./hooks/use-booking-activity.js";
4
+ import type { UseBookingTravelerDocumentsOptions } from "./hooks/use-booking-documents.js";
5
+ import type { UseBookingGroupOptions } from "./hooks/use-booking-group.js";
6
+ import type { UseBookingGroupForBookingOptions } from "./hooks/use-booking-group-for-booking.js";
7
+ import type { UseBookingGroupsOptions } from "./hooks/use-booking-groups.js";
8
+ import type { UseBookingItemTravelersOptions } from "./hooks/use-booking-item-travelers.js";
9
+ import type { UseBookingItemsOptions } from "./hooks/use-booking-items.js";
10
+ import type { UseBookingNotesOptions } from "./hooks/use-booking-notes.js";
11
+ import type { UseBookingsOptions } from "./hooks/use-bookings.js";
12
+ import type { UseSupplierStatusesOptions } from "./hooks/use-supplier-statuses.js";
13
+ import type { UseTravelersOptions } from "./hooks/use-travelers.js";
14
+ import { type PricingPreviewFilters, type TaxPreviewFilters } from "./query-keys.js";
15
+ export declare function getBookingsQueryOptions(client: FetchWithValidationOptions, options?: UseBookingsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
16
+ data: {
17
+ id: string;
18
+ bookingNumber: string;
19
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
20
+ personId: string | null;
21
+ organizationId: string | null;
22
+ sellCurrency: string;
23
+ sellAmountCents: number | null;
24
+ costAmountCents: number | null;
25
+ marginPercent: number | null;
26
+ startDate: string | null;
27
+ endDate: string | null;
28
+ pax: number | null;
29
+ internalNotes: string | null;
30
+ createdAt: string;
31
+ updatedAt: string;
32
+ startsAt?: string | null | undefined;
33
+ endsAt?: string | null | undefined;
34
+ items?: {
35
+ id: string;
36
+ title: string;
37
+ itemType: string;
38
+ productId: string | null;
39
+ productName?: string | null | undefined;
40
+ startsAt?: string | null | undefined;
41
+ endsAt?: string | null | undefined;
42
+ }[] | undefined;
43
+ communicationLanguage?: string | null | undefined;
44
+ contactFirstName?: string | null | undefined;
45
+ contactLastName?: string | null | undefined;
46
+ contactPartyType?: "individual" | "company" | null | undefined;
47
+ contactTaxId?: string | null | undefined;
48
+ contactEmail?: string | null | undefined;
49
+ contactPhone?: string | null | undefined;
50
+ contactPreferredLanguage?: string | null | undefined;
51
+ contactCountry?: string | null | undefined;
52
+ contactRegion?: string | null | undefined;
53
+ contactCity?: string | null | undefined;
54
+ contactAddressLine1?: string | null | undefined;
55
+ contactAddressLine2?: string | null | undefined;
56
+ contactPostalCode?: string | null | undefined;
57
+ customerPaymentPolicy?: {
58
+ deposit: {
59
+ kind: "none" | "percent" | "fixed_cents";
60
+ percent?: number | undefined;
61
+ amountCents?: number | undefined;
62
+ };
63
+ minDaysBeforeDepartureForDeposit: number;
64
+ balanceDueDaysBeforeDeparture: number;
65
+ balanceDueMinDaysFromNow: number;
66
+ } | null | undefined;
67
+ priceOverride?: {
68
+ isManual: true;
69
+ originalAmountCents: number | null;
70
+ overriddenAmountCents: number;
71
+ currency: string;
72
+ reason: string;
73
+ overriddenBy: string;
74
+ overriddenAt: string;
75
+ } | null | undefined;
76
+ }[];
77
+ total: number;
78
+ limit: number;
79
+ offset: number;
80
+ }, Error, {
81
+ data: {
82
+ id: string;
83
+ bookingNumber: string;
84
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
85
+ personId: string | null;
86
+ organizationId: string | null;
87
+ sellCurrency: string;
88
+ sellAmountCents: number | null;
89
+ costAmountCents: number | null;
90
+ marginPercent: number | null;
91
+ startDate: string | null;
92
+ endDate: string | null;
93
+ pax: number | null;
94
+ internalNotes: string | null;
95
+ createdAt: string;
96
+ updatedAt: string;
97
+ startsAt?: string | null | undefined;
98
+ endsAt?: string | null | undefined;
99
+ items?: {
100
+ id: string;
101
+ title: string;
102
+ itemType: string;
103
+ productId: string | null;
104
+ productName?: string | null | undefined;
105
+ startsAt?: string | null | undefined;
106
+ endsAt?: string | null | undefined;
107
+ }[] | undefined;
108
+ communicationLanguage?: string | null | undefined;
109
+ contactFirstName?: string | null | undefined;
110
+ contactLastName?: string | null | undefined;
111
+ contactPartyType?: "individual" | "company" | null | undefined;
112
+ contactTaxId?: string | null | undefined;
113
+ contactEmail?: string | null | undefined;
114
+ contactPhone?: string | null | undefined;
115
+ contactPreferredLanguage?: string | null | undefined;
116
+ contactCountry?: string | null | undefined;
117
+ contactRegion?: string | null | undefined;
118
+ contactCity?: string | null | undefined;
119
+ contactAddressLine1?: string | null | undefined;
120
+ contactAddressLine2?: string | null | undefined;
121
+ contactPostalCode?: string | null | undefined;
122
+ customerPaymentPolicy?: {
123
+ deposit: {
124
+ kind: "none" | "percent" | "fixed_cents";
125
+ percent?: number | undefined;
126
+ amountCents?: number | undefined;
127
+ };
128
+ minDaysBeforeDepartureForDeposit: number;
129
+ balanceDueDaysBeforeDeparture: number;
130
+ balanceDueMinDaysFromNow: number;
131
+ } | null | undefined;
132
+ priceOverride?: {
133
+ isManual: true;
134
+ originalAmountCents: number | null;
135
+ overriddenAmountCents: number;
136
+ currency: string;
137
+ reason: string;
138
+ overriddenBy: string;
139
+ overriddenAt: string;
140
+ } | null | undefined;
141
+ }[];
142
+ total: number;
143
+ limit: number;
144
+ offset: number;
145
+ }, readonly ["voyant", "bookings", "bookings", "list", import("./query-keys.js").BookingsListFilters]>, "queryFn"> & {
146
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
147
+ data: {
148
+ id: string;
149
+ bookingNumber: string;
150
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
151
+ personId: string | null;
152
+ organizationId: string | null;
153
+ sellCurrency: string;
154
+ sellAmountCents: number | null;
155
+ costAmountCents: number | null;
156
+ marginPercent: number | null;
157
+ startDate: string | null;
158
+ endDate: string | null;
159
+ pax: number | null;
160
+ internalNotes: string | null;
161
+ createdAt: string;
162
+ updatedAt: string;
163
+ startsAt?: string | null | undefined;
164
+ endsAt?: string | null | undefined;
165
+ items?: {
166
+ id: string;
167
+ title: string;
168
+ itemType: string;
169
+ productId: string | null;
170
+ productName?: string | null | undefined;
171
+ startsAt?: string | null | undefined;
172
+ endsAt?: string | null | undefined;
173
+ }[] | undefined;
174
+ communicationLanguage?: string | null | undefined;
175
+ contactFirstName?: string | null | undefined;
176
+ contactLastName?: string | null | undefined;
177
+ contactPartyType?: "individual" | "company" | null | undefined;
178
+ contactTaxId?: string | null | undefined;
179
+ contactEmail?: string | null | undefined;
180
+ contactPhone?: string | null | undefined;
181
+ contactPreferredLanguage?: string | null | undefined;
182
+ contactCountry?: string | null | undefined;
183
+ contactRegion?: string | null | undefined;
184
+ contactCity?: string | null | undefined;
185
+ contactAddressLine1?: string | null | undefined;
186
+ contactAddressLine2?: string | null | undefined;
187
+ contactPostalCode?: string | null | undefined;
188
+ customerPaymentPolicy?: {
189
+ deposit: {
190
+ kind: "none" | "percent" | "fixed_cents";
191
+ percent?: number | undefined;
192
+ amountCents?: number | undefined;
193
+ };
194
+ minDaysBeforeDepartureForDeposit: number;
195
+ balanceDueDaysBeforeDeparture: number;
196
+ balanceDueMinDaysFromNow: number;
197
+ } | null | undefined;
198
+ priceOverride?: {
199
+ isManual: true;
200
+ originalAmountCents: number | null;
201
+ overriddenAmountCents: number;
202
+ currency: string;
203
+ reason: string;
204
+ overriddenBy: string;
205
+ overriddenAt: string;
206
+ } | null | undefined;
207
+ }[];
208
+ total: number;
209
+ limit: number;
210
+ offset: number;
211
+ }, readonly ["voyant", "bookings", "bookings", "list", import("./query-keys.js").BookingsListFilters], never> | undefined;
212
+ } & {
213
+ queryKey: readonly ["voyant", "bookings", "bookings", "list", import("./query-keys.js").BookingsListFilters] & {
214
+ [dataTagSymbol]: {
215
+ data: {
216
+ id: string;
217
+ bookingNumber: string;
218
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
219
+ personId: string | null;
220
+ organizationId: string | null;
221
+ sellCurrency: string;
222
+ sellAmountCents: number | null;
223
+ costAmountCents: number | null;
224
+ marginPercent: number | null;
225
+ startDate: string | null;
226
+ endDate: string | null;
227
+ pax: number | null;
228
+ internalNotes: string | null;
229
+ createdAt: string;
230
+ updatedAt: string;
231
+ startsAt?: string | null | undefined;
232
+ endsAt?: string | null | undefined;
233
+ items?: {
234
+ id: string;
235
+ title: string;
236
+ itemType: string;
237
+ productId: string | null;
238
+ productName?: string | null | undefined;
239
+ startsAt?: string | null | undefined;
240
+ endsAt?: string | null | undefined;
241
+ }[] | undefined;
242
+ communicationLanguage?: string | null | undefined;
243
+ contactFirstName?: string | null | undefined;
244
+ contactLastName?: string | null | undefined;
245
+ contactPartyType?: "individual" | "company" | null | undefined;
246
+ contactTaxId?: string | null | undefined;
247
+ contactEmail?: string | null | undefined;
248
+ contactPhone?: string | null | undefined;
249
+ contactPreferredLanguage?: string | null | undefined;
250
+ contactCountry?: string | null | undefined;
251
+ contactRegion?: string | null | undefined;
252
+ contactCity?: string | null | undefined;
253
+ contactAddressLine1?: string | null | undefined;
254
+ contactAddressLine2?: string | null | undefined;
255
+ contactPostalCode?: string | null | undefined;
256
+ customerPaymentPolicy?: {
257
+ deposit: {
258
+ kind: "none" | "percent" | "fixed_cents";
259
+ percent?: number | undefined;
260
+ amountCents?: number | undefined;
261
+ };
262
+ minDaysBeforeDepartureForDeposit: number;
263
+ balanceDueDaysBeforeDeparture: number;
264
+ balanceDueMinDaysFromNow: number;
265
+ } | null | undefined;
266
+ priceOverride?: {
267
+ isManual: true;
268
+ originalAmountCents: number | null;
269
+ overriddenAmountCents: number;
270
+ currency: string;
271
+ reason: string;
272
+ overriddenBy: string;
273
+ overriddenAt: string;
274
+ } | null | undefined;
275
+ }[];
276
+ total: number;
277
+ limit: number;
278
+ offset: number;
279
+ };
280
+ [dataTagErrorSymbol]: Error;
281
+ };
282
+ };
283
+ export declare function getBookingQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined, options?: UseBookingOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
284
+ data: {
285
+ id: string;
286
+ bookingNumber: string;
287
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
288
+ personId: string | null;
289
+ organizationId: string | null;
290
+ sellCurrency: string;
291
+ sellAmountCents: number | null;
292
+ costAmountCents: number | null;
293
+ marginPercent: number | null;
294
+ startDate: string | null;
295
+ endDate: string | null;
296
+ pax: number | null;
297
+ internalNotes: string | null;
298
+ createdAt: string;
299
+ updatedAt: string;
300
+ startsAt?: string | null | undefined;
301
+ endsAt?: string | null | undefined;
302
+ items?: {
303
+ id: string;
304
+ title: string;
305
+ itemType: string;
306
+ productId: string | null;
307
+ productName?: string | null | undefined;
308
+ startsAt?: string | null | undefined;
309
+ endsAt?: string | null | undefined;
310
+ }[] | undefined;
311
+ communicationLanguage?: string | null | undefined;
312
+ contactFirstName?: string | null | undefined;
313
+ contactLastName?: string | null | undefined;
314
+ contactPartyType?: "individual" | "company" | null | undefined;
315
+ contactTaxId?: string | null | undefined;
316
+ contactEmail?: string | null | undefined;
317
+ contactPhone?: string | null | undefined;
318
+ contactPreferredLanguage?: string | null | undefined;
319
+ contactCountry?: string | null | undefined;
320
+ contactRegion?: string | null | undefined;
321
+ contactCity?: string | null | undefined;
322
+ contactAddressLine1?: string | null | undefined;
323
+ contactAddressLine2?: string | null | undefined;
324
+ contactPostalCode?: string | null | undefined;
325
+ customerPaymentPolicy?: {
326
+ deposit: {
327
+ kind: "none" | "percent" | "fixed_cents";
328
+ percent?: number | undefined;
329
+ amountCents?: number | undefined;
330
+ };
331
+ minDaysBeforeDepartureForDeposit: number;
332
+ balanceDueDaysBeforeDeparture: number;
333
+ balanceDueMinDaysFromNow: number;
334
+ } | null | undefined;
335
+ priceOverride?: {
336
+ isManual: true;
337
+ originalAmountCents: number | null;
338
+ overriddenAmountCents: number;
339
+ currency: string;
340
+ reason: string;
341
+ overriddenBy: string;
342
+ overriddenAt: string;
343
+ } | null | undefined;
344
+ };
345
+ }, Error, {
346
+ data: {
347
+ id: string;
348
+ bookingNumber: string;
349
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
350
+ personId: string | null;
351
+ organizationId: string | null;
352
+ sellCurrency: string;
353
+ sellAmountCents: number | null;
354
+ costAmountCents: number | null;
355
+ marginPercent: number | null;
356
+ startDate: string | null;
357
+ endDate: string | null;
358
+ pax: number | null;
359
+ internalNotes: string | null;
360
+ createdAt: string;
361
+ updatedAt: string;
362
+ startsAt?: string | null | undefined;
363
+ endsAt?: string | null | undefined;
364
+ items?: {
365
+ id: string;
366
+ title: string;
367
+ itemType: string;
368
+ productId: string | null;
369
+ productName?: string | null | undefined;
370
+ startsAt?: string | null | undefined;
371
+ endsAt?: string | null | undefined;
372
+ }[] | undefined;
373
+ communicationLanguage?: string | null | undefined;
374
+ contactFirstName?: string | null | undefined;
375
+ contactLastName?: string | null | undefined;
376
+ contactPartyType?: "individual" | "company" | null | undefined;
377
+ contactTaxId?: string | null | undefined;
378
+ contactEmail?: string | null | undefined;
379
+ contactPhone?: string | null | undefined;
380
+ contactPreferredLanguage?: string | null | undefined;
381
+ contactCountry?: string | null | undefined;
382
+ contactRegion?: string | null | undefined;
383
+ contactCity?: string | null | undefined;
384
+ contactAddressLine1?: string | null | undefined;
385
+ contactAddressLine2?: string | null | undefined;
386
+ contactPostalCode?: string | null | undefined;
387
+ customerPaymentPolicy?: {
388
+ deposit: {
389
+ kind: "none" | "percent" | "fixed_cents";
390
+ percent?: number | undefined;
391
+ amountCents?: number | undefined;
392
+ };
393
+ minDaysBeforeDepartureForDeposit: number;
394
+ balanceDueDaysBeforeDeparture: number;
395
+ balanceDueMinDaysFromNow: number;
396
+ } | null | undefined;
397
+ priceOverride?: {
398
+ isManual: true;
399
+ originalAmountCents: number | null;
400
+ overriddenAmountCents: number;
401
+ currency: string;
402
+ reason: string;
403
+ overriddenBy: string;
404
+ overriddenAt: string;
405
+ } | null | undefined;
406
+ };
407
+ }, readonly ["voyant", "bookings", "bookings", "detail", string]>, "queryFn"> & {
408
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
409
+ data: {
410
+ id: string;
411
+ bookingNumber: string;
412
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
413
+ personId: string | null;
414
+ organizationId: string | null;
415
+ sellCurrency: string;
416
+ sellAmountCents: number | null;
417
+ costAmountCents: number | null;
418
+ marginPercent: number | null;
419
+ startDate: string | null;
420
+ endDate: string | null;
421
+ pax: number | null;
422
+ internalNotes: string | null;
423
+ createdAt: string;
424
+ updatedAt: string;
425
+ startsAt?: string | null | undefined;
426
+ endsAt?: string | null | undefined;
427
+ items?: {
428
+ id: string;
429
+ title: string;
430
+ itemType: string;
431
+ productId: string | null;
432
+ productName?: string | null | undefined;
433
+ startsAt?: string | null | undefined;
434
+ endsAt?: string | null | undefined;
435
+ }[] | undefined;
436
+ communicationLanguage?: string | null | undefined;
437
+ contactFirstName?: string | null | undefined;
438
+ contactLastName?: string | null | undefined;
439
+ contactPartyType?: "individual" | "company" | null | undefined;
440
+ contactTaxId?: string | null | undefined;
441
+ contactEmail?: string | null | undefined;
442
+ contactPhone?: string | null | undefined;
443
+ contactPreferredLanguage?: string | null | undefined;
444
+ contactCountry?: string | null | undefined;
445
+ contactRegion?: string | null | undefined;
446
+ contactCity?: string | null | undefined;
447
+ contactAddressLine1?: string | null | undefined;
448
+ contactAddressLine2?: string | null | undefined;
449
+ contactPostalCode?: string | null | undefined;
450
+ customerPaymentPolicy?: {
451
+ deposit: {
452
+ kind: "none" | "percent" | "fixed_cents";
453
+ percent?: number | undefined;
454
+ amountCents?: number | undefined;
455
+ };
456
+ minDaysBeforeDepartureForDeposit: number;
457
+ balanceDueDaysBeforeDeparture: number;
458
+ balanceDueMinDaysFromNow: number;
459
+ } | null | undefined;
460
+ priceOverride?: {
461
+ isManual: true;
462
+ originalAmountCents: number | null;
463
+ overriddenAmountCents: number;
464
+ currency: string;
465
+ reason: string;
466
+ overriddenBy: string;
467
+ overriddenAt: string;
468
+ } | null | undefined;
469
+ };
470
+ }, readonly ["voyant", "bookings", "bookings", "detail", string], never> | undefined;
471
+ } & {
472
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string] & {
473
+ [dataTagSymbol]: {
474
+ data: {
475
+ id: string;
476
+ bookingNumber: string;
477
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
478
+ personId: string | null;
479
+ organizationId: string | null;
480
+ sellCurrency: string;
481
+ sellAmountCents: number | null;
482
+ costAmountCents: number | null;
483
+ marginPercent: number | null;
484
+ startDate: string | null;
485
+ endDate: string | null;
486
+ pax: number | null;
487
+ internalNotes: string | null;
488
+ createdAt: string;
489
+ updatedAt: string;
490
+ startsAt?: string | null | undefined;
491
+ endsAt?: string | null | undefined;
492
+ items?: {
493
+ id: string;
494
+ title: string;
495
+ itemType: string;
496
+ productId: string | null;
497
+ productName?: string | null | undefined;
498
+ startsAt?: string | null | undefined;
499
+ endsAt?: string | null | undefined;
500
+ }[] | undefined;
501
+ communicationLanguage?: string | null | undefined;
502
+ contactFirstName?: string | null | undefined;
503
+ contactLastName?: string | null | undefined;
504
+ contactPartyType?: "individual" | "company" | null | undefined;
505
+ contactTaxId?: string | null | undefined;
506
+ contactEmail?: string | null | undefined;
507
+ contactPhone?: string | null | undefined;
508
+ contactPreferredLanguage?: string | null | undefined;
509
+ contactCountry?: string | null | undefined;
510
+ contactRegion?: string | null | undefined;
511
+ contactCity?: string | null | undefined;
512
+ contactAddressLine1?: string | null | undefined;
513
+ contactAddressLine2?: string | null | undefined;
514
+ contactPostalCode?: string | null | undefined;
515
+ customerPaymentPolicy?: {
516
+ deposit: {
517
+ kind: "none" | "percent" | "fixed_cents";
518
+ percent?: number | undefined;
519
+ amountCents?: number | undefined;
520
+ };
521
+ minDaysBeforeDepartureForDeposit: number;
522
+ balanceDueDaysBeforeDeparture: number;
523
+ balanceDueMinDaysFromNow: number;
524
+ } | null | undefined;
525
+ priceOverride?: {
526
+ isManual: true;
527
+ originalAmountCents: number | null;
528
+ overriddenAmountCents: number;
529
+ currency: string;
530
+ reason: string;
531
+ overriddenBy: string;
532
+ overriddenAt: string;
533
+ } | null | undefined;
534
+ };
535
+ };
536
+ [dataTagErrorSymbol]: Error;
537
+ };
538
+ };
539
+ export declare function getBookingItemsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseBookingItemsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
540
+ data: {
541
+ id: string;
542
+ bookingId: string;
543
+ title: string;
544
+ description: string | null;
545
+ itemType: "other" | "unit" | "service" | "accommodation" | "transport" | "tax" | "extra" | "fee" | "discount" | "adjustment";
546
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "confirmed" | "on_hold";
547
+ serviceDate: string | null;
548
+ startsAt: string | null;
549
+ endsAt: string | null;
550
+ quantity: number;
551
+ sellCurrency: string;
552
+ unitSellAmountCents: number | null;
553
+ totalSellAmountCents: number | null;
554
+ costCurrency: string | null;
555
+ unitCostAmountCents: number | null;
556
+ totalCostAmountCents: number | null;
557
+ notes: string | null;
558
+ productId: string | null;
559
+ optionId: string | null;
560
+ optionUnitId: string | null;
561
+ pricingCategoryId: string | null;
562
+ availabilitySlotId: string | null;
563
+ createdAt: string;
564
+ updatedAt: string;
565
+ productNameSnapshot?: string | null | undefined;
566
+ optionNameSnapshot?: string | null | undefined;
567
+ unitNameSnapshot?: string | null | undefined;
568
+ departureLabelSnapshot?: string | null | undefined;
569
+ }[];
570
+ }, Error, {
571
+ data: {
572
+ id: string;
573
+ bookingId: string;
574
+ title: string;
575
+ description: string | null;
576
+ itemType: "other" | "unit" | "service" | "accommodation" | "transport" | "tax" | "extra" | "fee" | "discount" | "adjustment";
577
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "confirmed" | "on_hold";
578
+ serviceDate: string | null;
579
+ startsAt: string | null;
580
+ endsAt: string | null;
581
+ quantity: number;
582
+ sellCurrency: string;
583
+ unitSellAmountCents: number | null;
584
+ totalSellAmountCents: number | null;
585
+ costCurrency: string | null;
586
+ unitCostAmountCents: number | null;
587
+ totalCostAmountCents: number | null;
588
+ notes: string | null;
589
+ productId: string | null;
590
+ optionId: string | null;
591
+ optionUnitId: string | null;
592
+ pricingCategoryId: string | null;
593
+ availabilitySlotId: string | null;
594
+ createdAt: string;
595
+ updatedAt: string;
596
+ productNameSnapshot?: string | null | undefined;
597
+ optionNameSnapshot?: string | null | undefined;
598
+ unitNameSnapshot?: string | null | undefined;
599
+ departureLabelSnapshot?: string | null | undefined;
600
+ }[];
601
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "items"]>, "queryFn"> & {
602
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
603
+ data: {
604
+ id: string;
605
+ bookingId: string;
606
+ title: string;
607
+ description: string | null;
608
+ itemType: "other" | "unit" | "service" | "accommodation" | "transport" | "tax" | "extra" | "fee" | "discount" | "adjustment";
609
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "confirmed" | "on_hold";
610
+ serviceDate: string | null;
611
+ startsAt: string | null;
612
+ endsAt: string | null;
613
+ quantity: number;
614
+ sellCurrency: string;
615
+ unitSellAmountCents: number | null;
616
+ totalSellAmountCents: number | null;
617
+ costCurrency: string | null;
618
+ unitCostAmountCents: number | null;
619
+ totalCostAmountCents: number | null;
620
+ notes: string | null;
621
+ productId: string | null;
622
+ optionId: string | null;
623
+ optionUnitId: string | null;
624
+ pricingCategoryId: string | null;
625
+ availabilitySlotId: string | null;
626
+ createdAt: string;
627
+ updatedAt: string;
628
+ productNameSnapshot?: string | null | undefined;
629
+ optionNameSnapshot?: string | null | undefined;
630
+ unitNameSnapshot?: string | null | undefined;
631
+ departureLabelSnapshot?: string | null | undefined;
632
+ }[];
633
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "items"], never> | undefined;
634
+ } & {
635
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "items"] & {
636
+ [dataTagSymbol]: {
637
+ data: {
638
+ id: string;
639
+ bookingId: string;
640
+ title: string;
641
+ description: string | null;
642
+ itemType: "other" | "unit" | "service" | "accommodation" | "transport" | "tax" | "extra" | "fee" | "discount" | "adjustment";
643
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "confirmed" | "on_hold";
644
+ serviceDate: string | null;
645
+ startsAt: string | null;
646
+ endsAt: string | null;
647
+ quantity: number;
648
+ sellCurrency: string;
649
+ unitSellAmountCents: number | null;
650
+ totalSellAmountCents: number | null;
651
+ costCurrency: string | null;
652
+ unitCostAmountCents: number | null;
653
+ totalCostAmountCents: number | null;
654
+ notes: string | null;
655
+ productId: string | null;
656
+ optionId: string | null;
657
+ optionUnitId: string | null;
658
+ pricingCategoryId: string | null;
659
+ availabilitySlotId: string | null;
660
+ createdAt: string;
661
+ updatedAt: string;
662
+ productNameSnapshot?: string | null | undefined;
663
+ optionNameSnapshot?: string | null | undefined;
664
+ unitNameSnapshot?: string | null | undefined;
665
+ departureLabelSnapshot?: string | null | undefined;
666
+ }[];
667
+ };
668
+ [dataTagErrorSymbol]: Error;
669
+ };
670
+ };
671
+ export declare function getBookingItemTravelersQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, itemId: string | null | undefined, options?: UseBookingItemTravelersOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
672
+ data: {
673
+ id: string;
674
+ bookingItemId: string;
675
+ travelerId: string;
676
+ role: "other" | "traveler" | "occupant" | "beneficiary" | "service_assignee" | "primary_contact";
677
+ isPrimary: boolean;
678
+ createdAt: string;
679
+ }[];
680
+ }, Error, {
681
+ data: {
682
+ id: string;
683
+ bookingItemId: string;
684
+ travelerId: string;
685
+ role: "other" | "traveler" | "occupant" | "beneficiary" | "service_assignee" | "primary_contact";
686
+ isPrimary: boolean;
687
+ createdAt: string;
688
+ }[];
689
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"]>, "queryFn"> & {
690
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
691
+ data: {
692
+ id: string;
693
+ bookingItemId: string;
694
+ travelerId: string;
695
+ role: "other" | "traveler" | "occupant" | "beneficiary" | "service_assignee" | "primary_contact";
696
+ isPrimary: boolean;
697
+ createdAt: string;
698
+ }[];
699
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"], never> | undefined;
700
+ } & {
701
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "items", string, "travelers"] & {
702
+ [dataTagSymbol]: {
703
+ data: {
704
+ id: string;
705
+ bookingItemId: string;
706
+ travelerId: string;
707
+ role: "other" | "traveler" | "occupant" | "beneficiary" | "service_assignee" | "primary_contact";
708
+ isPrimary: boolean;
709
+ createdAt: string;
710
+ }[];
711
+ };
712
+ [dataTagErrorSymbol]: Error;
713
+ };
714
+ };
715
+ export declare function getBookingTravelerDocumentsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseBookingTravelerDocumentsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
716
+ data: {
717
+ id: string;
718
+ bookingId: string;
719
+ travelerId: string | null;
720
+ type: "other" | "visa" | "insurance" | "health" | "passport_copy";
721
+ fileName: string;
722
+ fileUrl: string;
723
+ expiresAt: string | null;
724
+ notes: string | null;
725
+ createdAt: string;
726
+ }[];
727
+ }, Error, {
728
+ data: {
729
+ id: string;
730
+ bookingId: string;
731
+ travelerId: string | null;
732
+ type: "other" | "visa" | "insurance" | "health" | "passport_copy";
733
+ fileName: string;
734
+ fileUrl: string;
735
+ expiresAt: string | null;
736
+ notes: string | null;
737
+ createdAt: string;
738
+ }[];
739
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "documents"]>, "queryFn"> & {
740
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
741
+ data: {
742
+ id: string;
743
+ bookingId: string;
744
+ travelerId: string | null;
745
+ type: "other" | "visa" | "insurance" | "health" | "passport_copy";
746
+ fileName: string;
747
+ fileUrl: string;
748
+ expiresAt: string | null;
749
+ notes: string | null;
750
+ createdAt: string;
751
+ }[];
752
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "documents"], never> | undefined;
753
+ } & {
754
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "documents"] & {
755
+ [dataTagSymbol]: {
756
+ data: {
757
+ id: string;
758
+ bookingId: string;
759
+ travelerId: string | null;
760
+ type: "other" | "visa" | "insurance" | "health" | "passport_copy";
761
+ fileName: string;
762
+ fileUrl: string;
763
+ expiresAt: string | null;
764
+ notes: string | null;
765
+ createdAt: string;
766
+ }[];
767
+ };
768
+ [dataTagErrorSymbol]: Error;
769
+ };
770
+ };
771
+ export declare function getTravelersQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseTravelersOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
772
+ data: {
773
+ id: string;
774
+ bookingId: string;
775
+ participantType: string;
776
+ firstName: string;
777
+ lastName: string;
778
+ email: string | null;
779
+ phone: string | null;
780
+ specialRequests: string | null;
781
+ isPrimary: boolean;
782
+ createdAt: string;
783
+ travelerCategory?: string | null | undefined;
784
+ personId?: string | null | undefined;
785
+ preferredLanguage?: string | null | undefined;
786
+ notes?: string | null | undefined;
787
+ updatedAt?: string | undefined;
788
+ }[];
789
+ }, Error, {
790
+ data: {
791
+ id: string;
792
+ bookingId: string;
793
+ participantType: string;
794
+ firstName: string;
795
+ lastName: string;
796
+ email: string | null;
797
+ phone: string | null;
798
+ specialRequests: string | null;
799
+ isPrimary: boolean;
800
+ createdAt: string;
801
+ travelerCategory?: string | null | undefined;
802
+ personId?: string | null | undefined;
803
+ preferredLanguage?: string | null | undefined;
804
+ notes?: string | null | undefined;
805
+ updatedAt?: string | undefined;
806
+ }[];
807
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"]>, "queryFn"> & {
808
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
809
+ data: {
810
+ id: string;
811
+ bookingId: string;
812
+ participantType: string;
813
+ firstName: string;
814
+ lastName: string;
815
+ email: string | null;
816
+ phone: string | null;
817
+ specialRequests: string | null;
818
+ isPrimary: boolean;
819
+ createdAt: string;
820
+ travelerCategory?: string | null | undefined;
821
+ personId?: string | null | undefined;
822
+ preferredLanguage?: string | null | undefined;
823
+ notes?: string | null | undefined;
824
+ updatedAt?: string | undefined;
825
+ }[];
826
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"], never> | undefined;
827
+ } & {
828
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "travelers"] & {
829
+ [dataTagSymbol]: {
830
+ data: {
831
+ id: string;
832
+ bookingId: string;
833
+ participantType: string;
834
+ firstName: string;
835
+ lastName: string;
836
+ email: string | null;
837
+ phone: string | null;
838
+ specialRequests: string | null;
839
+ isPrimary: boolean;
840
+ createdAt: string;
841
+ travelerCategory?: string | null | undefined;
842
+ personId?: string | null | undefined;
843
+ preferredLanguage?: string | null | undefined;
844
+ notes?: string | null | undefined;
845
+ updatedAt?: string | undefined;
846
+ }[];
847
+ };
848
+ [dataTagErrorSymbol]: Error;
849
+ };
850
+ };
851
+ export declare function getSharingGroupsForSlotQueryOptions(client: FetchWithValidationOptions, slotId: string | null | undefined): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
852
+ data: {
853
+ id: string;
854
+ label: string;
855
+ occupancy: number;
856
+ roomTypeId: string | null;
857
+ bookingIds: string[];
858
+ }[];
859
+ }, Error, {
860
+ data: {
861
+ id: string;
862
+ label: string;
863
+ occupancy: number;
864
+ roomTypeId: string | null;
865
+ bookingIds: string[];
866
+ }[];
867
+ }, readonly ["voyant", "bookings", "sharing-groups", "slot", string]>, "queryFn"> & {
868
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
869
+ data: {
870
+ id: string;
871
+ label: string;
872
+ occupancy: number;
873
+ roomTypeId: string | null;
874
+ bookingIds: string[];
875
+ }[];
876
+ }, readonly ["voyant", "bookings", "sharing-groups", "slot", string], never> | undefined;
877
+ } & {
878
+ queryKey: readonly ["voyant", "bookings", "sharing-groups", "slot", string] & {
879
+ [dataTagSymbol]: {
880
+ data: {
881
+ id: string;
882
+ label: string;
883
+ occupancy: number;
884
+ roomTypeId: string | null;
885
+ bookingIds: string[];
886
+ }[];
887
+ };
888
+ [dataTagErrorSymbol]: Error;
889
+ };
890
+ };
891
+ export declare function getBookingsBySharingGroupQueryOptions(client: FetchWithValidationOptions, slotId: string | null | undefined, groupId: string | null | undefined): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
892
+ data: {
893
+ id: string;
894
+ bookingId: string;
895
+ participantType: string;
896
+ firstName: string;
897
+ lastName: string;
898
+ email: string | null;
899
+ phone: string | null;
900
+ specialRequests: string | null;
901
+ isPrimary: boolean;
902
+ createdAt: string;
903
+ bookingNumber: string;
904
+ personId: string | null;
905
+ isLeadTraveler: boolean;
906
+ sharingGroupId: string;
907
+ roomTypeId: string | null;
908
+ bedPreference: string | null;
909
+ allocations: Record<string, string>;
910
+ travelerCategory?: string | null | undefined;
911
+ preferredLanguage?: string | null | undefined;
912
+ notes?: string | null | undefined;
913
+ updatedAt?: string | undefined;
914
+ }[];
915
+ }, Error, {
916
+ data: {
917
+ id: string;
918
+ bookingId: string;
919
+ participantType: string;
920
+ firstName: string;
921
+ lastName: string;
922
+ email: string | null;
923
+ phone: string | null;
924
+ specialRequests: string | null;
925
+ isPrimary: boolean;
926
+ createdAt: string;
927
+ bookingNumber: string;
928
+ personId: string | null;
929
+ isLeadTraveler: boolean;
930
+ sharingGroupId: string;
931
+ roomTypeId: string | null;
932
+ bedPreference: string | null;
933
+ allocations: Record<string, string>;
934
+ travelerCategory?: string | null | undefined;
935
+ preferredLanguage?: string | null | undefined;
936
+ notes?: string | null | undefined;
937
+ updatedAt?: string | undefined;
938
+ }[];
939
+ }, readonly ["voyant", "bookings", "sharing-groups", "slot", string, string, "travelers"]>, "queryFn"> & {
940
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
941
+ data: {
942
+ id: string;
943
+ bookingId: string;
944
+ participantType: string;
945
+ firstName: string;
946
+ lastName: string;
947
+ email: string | null;
948
+ phone: string | null;
949
+ specialRequests: string | null;
950
+ isPrimary: boolean;
951
+ createdAt: string;
952
+ bookingNumber: string;
953
+ personId: string | null;
954
+ isLeadTraveler: boolean;
955
+ sharingGroupId: string;
956
+ roomTypeId: string | null;
957
+ bedPreference: string | null;
958
+ allocations: Record<string, string>;
959
+ travelerCategory?: string | null | undefined;
960
+ preferredLanguage?: string | null | undefined;
961
+ notes?: string | null | undefined;
962
+ updatedAt?: string | undefined;
963
+ }[];
964
+ }, readonly ["voyant", "bookings", "sharing-groups", "slot", string, string, "travelers"], never> | undefined;
965
+ } & {
966
+ queryKey: readonly ["voyant", "bookings", "sharing-groups", "slot", string, string, "travelers"] & {
967
+ [dataTagSymbol]: {
968
+ data: {
969
+ id: string;
970
+ bookingId: string;
971
+ participantType: string;
972
+ firstName: string;
973
+ lastName: string;
974
+ email: string | null;
975
+ phone: string | null;
976
+ specialRequests: string | null;
977
+ isPrimary: boolean;
978
+ createdAt: string;
979
+ bookingNumber: string;
980
+ personId: string | null;
981
+ isLeadTraveler: boolean;
982
+ sharingGroupId: string;
983
+ roomTypeId: string | null;
984
+ bedPreference: string | null;
985
+ allocations: Record<string, string>;
986
+ travelerCategory?: string | null | undefined;
987
+ preferredLanguage?: string | null | undefined;
988
+ notes?: string | null | undefined;
989
+ updatedAt?: string | undefined;
990
+ }[];
991
+ };
992
+ [dataTagErrorSymbol]: Error;
993
+ };
994
+ };
995
+ /**
996
+ * Fetch a single traveler with PII unmasked. Backend authorizes via
997
+ * the same policy as `/travel-details` (staff or `bookings-pii:read`)
998
+ * and audit-logs the access. Used by the "click to reveal" eye button
999
+ * in the operator's traveler list — fetched lazily so unauthenticated
1000
+ * pageloads don't trigger reveal logs.
1001
+ */
1002
+ export declare function getTravelerRevealQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, travelerId: string | null | undefined): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1003
+ data: {
1004
+ id: string;
1005
+ bookingId: string;
1006
+ participantType: string;
1007
+ firstName: string;
1008
+ lastName: string;
1009
+ email: string | null;
1010
+ phone: string | null;
1011
+ specialRequests: string | null;
1012
+ isPrimary: boolean;
1013
+ createdAt: string;
1014
+ travelDetails: {
1015
+ travelerId: string;
1016
+ nationality: string | null;
1017
+ documentType: "other" | "passport" | "visa" | "id_card" | "driver_license" | null;
1018
+ documentNumber: string | null;
1019
+ documentExpiry: string | null;
1020
+ documentIssuingCountry: string | null;
1021
+ documentIssuingAuthority: string | null;
1022
+ documentPersonDocumentId: string | null;
1023
+ dateOfBirth: string | null;
1024
+ dietaryRequirements: string | null;
1025
+ accessibilityNeeds: string | null;
1026
+ isLeadTraveler: boolean;
1027
+ sharingGroupId: string | null;
1028
+ roomTypeId: string | null;
1029
+ bedPreference: "double" | "single" | "twin" | "no-preference" | null;
1030
+ allocations: Record<string, string>;
1031
+ createdAt: string;
1032
+ updatedAt: string;
1033
+ } | null;
1034
+ travelerCategory?: string | null | undefined;
1035
+ personId?: string | null | undefined;
1036
+ preferredLanguage?: string | null | undefined;
1037
+ notes?: string | null | undefined;
1038
+ updatedAt?: string | undefined;
1039
+ };
1040
+ }, Error, {
1041
+ data: {
1042
+ id: string;
1043
+ bookingId: string;
1044
+ participantType: string;
1045
+ firstName: string;
1046
+ lastName: string;
1047
+ email: string | null;
1048
+ phone: string | null;
1049
+ specialRequests: string | null;
1050
+ isPrimary: boolean;
1051
+ createdAt: string;
1052
+ travelDetails: {
1053
+ travelerId: string;
1054
+ nationality: string | null;
1055
+ documentType: "other" | "passport" | "visa" | "id_card" | "driver_license" | null;
1056
+ documentNumber: string | null;
1057
+ documentExpiry: string | null;
1058
+ documentIssuingCountry: string | null;
1059
+ documentIssuingAuthority: string | null;
1060
+ documentPersonDocumentId: string | null;
1061
+ dateOfBirth: string | null;
1062
+ dietaryRequirements: string | null;
1063
+ accessibilityNeeds: string | null;
1064
+ isLeadTraveler: boolean;
1065
+ sharingGroupId: string | null;
1066
+ roomTypeId: string | null;
1067
+ bedPreference: "double" | "single" | "twin" | "no-preference" | null;
1068
+ allocations: Record<string, string>;
1069
+ createdAt: string;
1070
+ updatedAt: string;
1071
+ } | null;
1072
+ travelerCategory?: string | null | undefined;
1073
+ personId?: string | null | undefined;
1074
+ preferredLanguage?: string | null | undefined;
1075
+ notes?: string | null | undefined;
1076
+ updatedAt?: string | undefined;
1077
+ };
1078
+ }, string[]>, "queryFn"> & {
1079
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1080
+ data: {
1081
+ id: string;
1082
+ bookingId: string;
1083
+ participantType: string;
1084
+ firstName: string;
1085
+ lastName: string;
1086
+ email: string | null;
1087
+ phone: string | null;
1088
+ specialRequests: string | null;
1089
+ isPrimary: boolean;
1090
+ createdAt: string;
1091
+ travelDetails: {
1092
+ travelerId: string;
1093
+ nationality: string | null;
1094
+ documentType: "other" | "passport" | "visa" | "id_card" | "driver_license" | null;
1095
+ documentNumber: string | null;
1096
+ documentExpiry: string | null;
1097
+ documentIssuingCountry: string | null;
1098
+ documentIssuingAuthority: string | null;
1099
+ documentPersonDocumentId: string | null;
1100
+ dateOfBirth: string | null;
1101
+ dietaryRequirements: string | null;
1102
+ accessibilityNeeds: string | null;
1103
+ isLeadTraveler: boolean;
1104
+ sharingGroupId: string | null;
1105
+ roomTypeId: string | null;
1106
+ bedPreference: "double" | "single" | "twin" | "no-preference" | null;
1107
+ allocations: Record<string, string>;
1108
+ createdAt: string;
1109
+ updatedAt: string;
1110
+ } | null;
1111
+ travelerCategory?: string | null | undefined;
1112
+ personId?: string | null | undefined;
1113
+ preferredLanguage?: string | null | undefined;
1114
+ notes?: string | null | undefined;
1115
+ updatedAt?: string | undefined;
1116
+ };
1117
+ }, string[], never> | undefined;
1118
+ } & {
1119
+ queryKey: string[] & {
1120
+ [dataTagSymbol]: {
1121
+ data: {
1122
+ id: string;
1123
+ bookingId: string;
1124
+ participantType: string;
1125
+ firstName: string;
1126
+ lastName: string;
1127
+ email: string | null;
1128
+ phone: string | null;
1129
+ specialRequests: string | null;
1130
+ isPrimary: boolean;
1131
+ createdAt: string;
1132
+ travelDetails: {
1133
+ travelerId: string;
1134
+ nationality: string | null;
1135
+ documentType: "other" | "passport" | "visa" | "id_card" | "driver_license" | null;
1136
+ documentNumber: string | null;
1137
+ documentExpiry: string | null;
1138
+ documentIssuingCountry: string | null;
1139
+ documentIssuingAuthority: string | null;
1140
+ documentPersonDocumentId: string | null;
1141
+ dateOfBirth: string | null;
1142
+ dietaryRequirements: string | null;
1143
+ accessibilityNeeds: string | null;
1144
+ isLeadTraveler: boolean;
1145
+ sharingGroupId: string | null;
1146
+ roomTypeId: string | null;
1147
+ bedPreference: "double" | "single" | "twin" | "no-preference" | null;
1148
+ allocations: Record<string, string>;
1149
+ createdAt: string;
1150
+ updatedAt: string;
1151
+ } | null;
1152
+ travelerCategory?: string | null | undefined;
1153
+ personId?: string | null | undefined;
1154
+ preferredLanguage?: string | null | undefined;
1155
+ notes?: string | null | undefined;
1156
+ updatedAt?: string | undefined;
1157
+ };
1158
+ };
1159
+ [dataTagErrorSymbol]: Error;
1160
+ };
1161
+ };
1162
+ export declare function getSupplierStatusesQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseSupplierStatusesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1163
+ data: {
1164
+ id: string;
1165
+ bookingId: string;
1166
+ supplierServiceId: string | null;
1167
+ serviceName: string;
1168
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
1169
+ supplierReference: string | null;
1170
+ costCurrency: string;
1171
+ costAmountCents: number;
1172
+ notes: string | null;
1173
+ confirmedAt: string | null;
1174
+ createdAt: string;
1175
+ updatedAt: string;
1176
+ }[];
1177
+ }, Error, {
1178
+ data: {
1179
+ id: string;
1180
+ bookingId: string;
1181
+ supplierServiceId: string | null;
1182
+ serviceName: string;
1183
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
1184
+ supplierReference: string | null;
1185
+ costCurrency: string;
1186
+ costAmountCents: number;
1187
+ notes: string | null;
1188
+ confirmedAt: string | null;
1189
+ createdAt: string;
1190
+ updatedAt: string;
1191
+ }[];
1192
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "supplier-statuses"]>, "queryFn"> & {
1193
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1194
+ data: {
1195
+ id: string;
1196
+ bookingId: string;
1197
+ supplierServiceId: string | null;
1198
+ serviceName: string;
1199
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
1200
+ supplierReference: string | null;
1201
+ costCurrency: string;
1202
+ costAmountCents: number;
1203
+ notes: string | null;
1204
+ confirmedAt: string | null;
1205
+ createdAt: string;
1206
+ updatedAt: string;
1207
+ }[];
1208
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "supplier-statuses"], never> | undefined;
1209
+ } & {
1210
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "supplier-statuses"] & {
1211
+ [dataTagSymbol]: {
1212
+ data: {
1213
+ id: string;
1214
+ bookingId: string;
1215
+ supplierServiceId: string | null;
1216
+ serviceName: string;
1217
+ status: "pending" | "cancelled" | "confirmed" | "rejected";
1218
+ supplierReference: string | null;
1219
+ costCurrency: string;
1220
+ costAmountCents: number;
1221
+ notes: string | null;
1222
+ confirmedAt: string | null;
1223
+ createdAt: string;
1224
+ updatedAt: string;
1225
+ }[];
1226
+ };
1227
+ [dataTagErrorSymbol]: Error;
1228
+ };
1229
+ };
1230
+ export declare function getBookingActivityQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseBookingActivityOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1231
+ data: {
1232
+ id: string;
1233
+ bookingId: string;
1234
+ actorId: string | null;
1235
+ activityType: string;
1236
+ description: string;
1237
+ metadata: Record<string, unknown> | null;
1238
+ createdAt: string;
1239
+ actorName?: string | null | undefined;
1240
+ actorEmail?: string | null | undefined;
1241
+ }[];
1242
+ }, Error, {
1243
+ data: {
1244
+ id: string;
1245
+ bookingId: string;
1246
+ actorId: string | null;
1247
+ activityType: string;
1248
+ description: string;
1249
+ metadata: Record<string, unknown> | null;
1250
+ createdAt: string;
1251
+ actorName?: string | null | undefined;
1252
+ actorEmail?: string | null | undefined;
1253
+ }[];
1254
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "activity"]>, "queryFn"> & {
1255
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1256
+ data: {
1257
+ id: string;
1258
+ bookingId: string;
1259
+ actorId: string | null;
1260
+ activityType: string;
1261
+ description: string;
1262
+ metadata: Record<string, unknown> | null;
1263
+ createdAt: string;
1264
+ actorName?: string | null | undefined;
1265
+ actorEmail?: string | null | undefined;
1266
+ }[];
1267
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "activity"], never> | undefined;
1268
+ } & {
1269
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "activity"] & {
1270
+ [dataTagSymbol]: {
1271
+ data: {
1272
+ id: string;
1273
+ bookingId: string;
1274
+ actorId: string | null;
1275
+ activityType: string;
1276
+ description: string;
1277
+ metadata: Record<string, unknown> | null;
1278
+ createdAt: string;
1279
+ actorName?: string | null | undefined;
1280
+ actorEmail?: string | null | undefined;
1281
+ }[];
1282
+ };
1283
+ [dataTagErrorSymbol]: Error;
1284
+ };
1285
+ };
1286
+ export declare function getBookingNotesQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseBookingNotesOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1287
+ data: {
1288
+ id: string;
1289
+ bookingId: string;
1290
+ authorId: string;
1291
+ content: string;
1292
+ createdAt: string;
1293
+ authorName?: string | null | undefined;
1294
+ authorEmail?: string | null | undefined;
1295
+ }[];
1296
+ }, Error, {
1297
+ data: {
1298
+ id: string;
1299
+ bookingId: string;
1300
+ authorId: string;
1301
+ content: string;
1302
+ createdAt: string;
1303
+ authorName?: string | null | undefined;
1304
+ authorEmail?: string | null | undefined;
1305
+ }[];
1306
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "notes"]>, "queryFn"> & {
1307
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1308
+ data: {
1309
+ id: string;
1310
+ bookingId: string;
1311
+ authorId: string;
1312
+ content: string;
1313
+ createdAt: string;
1314
+ authorName?: string | null | undefined;
1315
+ authorEmail?: string | null | undefined;
1316
+ }[];
1317
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "notes"], never> | undefined;
1318
+ } & {
1319
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "notes"] & {
1320
+ [dataTagSymbol]: {
1321
+ data: {
1322
+ id: string;
1323
+ bookingId: string;
1324
+ authorId: string;
1325
+ content: string;
1326
+ createdAt: string;
1327
+ authorName?: string | null | undefined;
1328
+ authorEmail?: string | null | undefined;
1329
+ }[];
1330
+ };
1331
+ [dataTagErrorSymbol]: Error;
1332
+ };
1333
+ };
1334
+ export declare function getPublicBookingSessionQueryOptions(client: FetchWithValidationOptions, sessionId: string | null | undefined): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1335
+ data: {
1336
+ sessionId: string;
1337
+ bookingNumber: string;
1338
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
1339
+ externalBookingRef: string | null;
1340
+ communicationLanguage: string | null;
1341
+ sellCurrency: string;
1342
+ sellAmountCents: number | null;
1343
+ startDate: string | null;
1344
+ endDate: string | null;
1345
+ pax: number | null;
1346
+ holdExpiresAt: string | null;
1347
+ confirmedAt: string | null;
1348
+ expiredAt: string | null;
1349
+ cancelledAt: string | null;
1350
+ completedAt: string | null;
1351
+ travelers: {
1352
+ id: string;
1353
+ participantType: "other" | "traveler" | "occupant";
1354
+ travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
1355
+ firstName: string;
1356
+ lastName: string;
1357
+ email: string | null;
1358
+ phone: string | null;
1359
+ preferredLanguage: string | null;
1360
+ specialRequests: string | null;
1361
+ isPrimary: boolean;
1362
+ notes: string | null;
1363
+ }[];
1364
+ items: {
1365
+ id: string;
1366
+ title: string;
1367
+ description: string | null;
1368
+ itemType: "other" | "unit" | "service" | "accommodation" | "transport" | "tax" | "extra" | "fee" | "discount" | "adjustment";
1369
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "confirmed" | "on_hold";
1370
+ serviceDate: string | null;
1371
+ startsAt: string | null;
1372
+ endsAt: string | null;
1373
+ quantity: number;
1374
+ sellCurrency: string;
1375
+ unitSellAmountCents: number | null;
1376
+ totalSellAmountCents: number | null;
1377
+ costCurrency: string | null;
1378
+ unitCostAmountCents: number | null;
1379
+ totalCostAmountCents: number | null;
1380
+ notes: string | null;
1381
+ productId: string | null;
1382
+ optionId: string | null;
1383
+ optionUnitId: string | null;
1384
+ pricingCategoryId: string | null;
1385
+ travelerLinks: {
1386
+ id: string;
1387
+ travelerId: string;
1388
+ role: "other" | "traveler" | "occupant" | "beneficiary";
1389
+ isPrimary: boolean;
1390
+ }[];
1391
+ }[];
1392
+ allocations: {
1393
+ id: string;
1394
+ bookingItemId: string | null;
1395
+ productId: string | null;
1396
+ optionId: string | null;
1397
+ optionUnitId: string | null;
1398
+ pricingCategoryId: string | null;
1399
+ availabilitySlotId: string | null;
1400
+ quantity: number;
1401
+ allocationType: "resource" | "unit" | "pickup";
1402
+ status: "expired" | "cancelled" | "released" | "fulfilled" | "confirmed" | "held";
1403
+ holdExpiresAt: string | null;
1404
+ confirmedAt: string | null;
1405
+ releasedAt: string | null;
1406
+ }[];
1407
+ checklist: {
1408
+ hasTravelers: boolean;
1409
+ hasPrimaryTraveler: boolean;
1410
+ hasItems: boolean;
1411
+ hasAllocations: boolean;
1412
+ readyForConfirmation: boolean;
1413
+ };
1414
+ state: {
1415
+ sessionId: string;
1416
+ stateKey: "wizard";
1417
+ currentStep: string | null;
1418
+ completedSteps: string[];
1419
+ payload: Record<string, unknown>;
1420
+ version: number;
1421
+ createdAt: string;
1422
+ updatedAt: string;
1423
+ } | null;
1424
+ checkoutCapability?: {
1425
+ token: string;
1426
+ expiresAt: string;
1427
+ actions: ("session:read" | "session:update" | "session:reprice" | "session:finalize" | "payment:read" | "payment:start")[];
1428
+ } | undefined;
1429
+ };
1430
+ }, Error, {
1431
+ data: {
1432
+ sessionId: string;
1433
+ bookingNumber: string;
1434
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
1435
+ externalBookingRef: string | null;
1436
+ communicationLanguage: string | null;
1437
+ sellCurrency: string;
1438
+ sellAmountCents: number | null;
1439
+ startDate: string | null;
1440
+ endDate: string | null;
1441
+ pax: number | null;
1442
+ holdExpiresAt: string | null;
1443
+ confirmedAt: string | null;
1444
+ expiredAt: string | null;
1445
+ cancelledAt: string | null;
1446
+ completedAt: string | null;
1447
+ travelers: {
1448
+ id: string;
1449
+ participantType: "other" | "traveler" | "occupant";
1450
+ travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
1451
+ firstName: string;
1452
+ lastName: string;
1453
+ email: string | null;
1454
+ phone: string | null;
1455
+ preferredLanguage: string | null;
1456
+ specialRequests: string | null;
1457
+ isPrimary: boolean;
1458
+ notes: string | null;
1459
+ }[];
1460
+ items: {
1461
+ id: string;
1462
+ title: string;
1463
+ description: string | null;
1464
+ itemType: "other" | "unit" | "service" | "accommodation" | "transport" | "tax" | "extra" | "fee" | "discount" | "adjustment";
1465
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "confirmed" | "on_hold";
1466
+ serviceDate: string | null;
1467
+ startsAt: string | null;
1468
+ endsAt: string | null;
1469
+ quantity: number;
1470
+ sellCurrency: string;
1471
+ unitSellAmountCents: number | null;
1472
+ totalSellAmountCents: number | null;
1473
+ costCurrency: string | null;
1474
+ unitCostAmountCents: number | null;
1475
+ totalCostAmountCents: number | null;
1476
+ notes: string | null;
1477
+ productId: string | null;
1478
+ optionId: string | null;
1479
+ optionUnitId: string | null;
1480
+ pricingCategoryId: string | null;
1481
+ travelerLinks: {
1482
+ id: string;
1483
+ travelerId: string;
1484
+ role: "other" | "traveler" | "occupant" | "beneficiary";
1485
+ isPrimary: boolean;
1486
+ }[];
1487
+ }[];
1488
+ allocations: {
1489
+ id: string;
1490
+ bookingItemId: string | null;
1491
+ productId: string | null;
1492
+ optionId: string | null;
1493
+ optionUnitId: string | null;
1494
+ pricingCategoryId: string | null;
1495
+ availabilitySlotId: string | null;
1496
+ quantity: number;
1497
+ allocationType: "resource" | "unit" | "pickup";
1498
+ status: "expired" | "cancelled" | "released" | "fulfilled" | "confirmed" | "held";
1499
+ holdExpiresAt: string | null;
1500
+ confirmedAt: string | null;
1501
+ releasedAt: string | null;
1502
+ }[];
1503
+ checklist: {
1504
+ hasTravelers: boolean;
1505
+ hasPrimaryTraveler: boolean;
1506
+ hasItems: boolean;
1507
+ hasAllocations: boolean;
1508
+ readyForConfirmation: boolean;
1509
+ };
1510
+ state: {
1511
+ sessionId: string;
1512
+ stateKey: "wizard";
1513
+ currentStep: string | null;
1514
+ completedSteps: string[];
1515
+ payload: Record<string, unknown>;
1516
+ version: number;
1517
+ createdAt: string;
1518
+ updatedAt: string;
1519
+ } | null;
1520
+ checkoutCapability?: {
1521
+ token: string;
1522
+ expiresAt: string;
1523
+ actions: ("session:read" | "session:update" | "session:reprice" | "session:finalize" | "payment:read" | "payment:start")[];
1524
+ } | undefined;
1525
+ };
1526
+ }, readonly ["voyant", "bookings", "public-sessions", "detail", string]>, "queryFn"> & {
1527
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1528
+ data: {
1529
+ sessionId: string;
1530
+ bookingNumber: string;
1531
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
1532
+ externalBookingRef: string | null;
1533
+ communicationLanguage: string | null;
1534
+ sellCurrency: string;
1535
+ sellAmountCents: number | null;
1536
+ startDate: string | null;
1537
+ endDate: string | null;
1538
+ pax: number | null;
1539
+ holdExpiresAt: string | null;
1540
+ confirmedAt: string | null;
1541
+ expiredAt: string | null;
1542
+ cancelledAt: string | null;
1543
+ completedAt: string | null;
1544
+ travelers: {
1545
+ id: string;
1546
+ participantType: "other" | "traveler" | "occupant";
1547
+ travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
1548
+ firstName: string;
1549
+ lastName: string;
1550
+ email: string | null;
1551
+ phone: string | null;
1552
+ preferredLanguage: string | null;
1553
+ specialRequests: string | null;
1554
+ isPrimary: boolean;
1555
+ notes: string | null;
1556
+ }[];
1557
+ items: {
1558
+ id: string;
1559
+ title: string;
1560
+ description: string | null;
1561
+ itemType: "other" | "unit" | "service" | "accommodation" | "transport" | "tax" | "extra" | "fee" | "discount" | "adjustment";
1562
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "confirmed" | "on_hold";
1563
+ serviceDate: string | null;
1564
+ startsAt: string | null;
1565
+ endsAt: string | null;
1566
+ quantity: number;
1567
+ sellCurrency: string;
1568
+ unitSellAmountCents: number | null;
1569
+ totalSellAmountCents: number | null;
1570
+ costCurrency: string | null;
1571
+ unitCostAmountCents: number | null;
1572
+ totalCostAmountCents: number | null;
1573
+ notes: string | null;
1574
+ productId: string | null;
1575
+ optionId: string | null;
1576
+ optionUnitId: string | null;
1577
+ pricingCategoryId: string | null;
1578
+ travelerLinks: {
1579
+ id: string;
1580
+ travelerId: string;
1581
+ role: "other" | "traveler" | "occupant" | "beneficiary";
1582
+ isPrimary: boolean;
1583
+ }[];
1584
+ }[];
1585
+ allocations: {
1586
+ id: string;
1587
+ bookingItemId: string | null;
1588
+ productId: string | null;
1589
+ optionId: string | null;
1590
+ optionUnitId: string | null;
1591
+ pricingCategoryId: string | null;
1592
+ availabilitySlotId: string | null;
1593
+ quantity: number;
1594
+ allocationType: "resource" | "unit" | "pickup";
1595
+ status: "expired" | "cancelled" | "released" | "fulfilled" | "confirmed" | "held";
1596
+ holdExpiresAt: string | null;
1597
+ confirmedAt: string | null;
1598
+ releasedAt: string | null;
1599
+ }[];
1600
+ checklist: {
1601
+ hasTravelers: boolean;
1602
+ hasPrimaryTraveler: boolean;
1603
+ hasItems: boolean;
1604
+ hasAllocations: boolean;
1605
+ readyForConfirmation: boolean;
1606
+ };
1607
+ state: {
1608
+ sessionId: string;
1609
+ stateKey: "wizard";
1610
+ currentStep: string | null;
1611
+ completedSteps: string[];
1612
+ payload: Record<string, unknown>;
1613
+ version: number;
1614
+ createdAt: string;
1615
+ updatedAt: string;
1616
+ } | null;
1617
+ checkoutCapability?: {
1618
+ token: string;
1619
+ expiresAt: string;
1620
+ actions: ("session:read" | "session:update" | "session:reprice" | "session:finalize" | "payment:read" | "payment:start")[];
1621
+ } | undefined;
1622
+ };
1623
+ }, readonly ["voyant", "bookings", "public-sessions", "detail", string], never> | undefined;
1624
+ } & {
1625
+ queryKey: readonly ["voyant", "bookings", "public-sessions", "detail", string] & {
1626
+ [dataTagSymbol]: {
1627
+ data: {
1628
+ sessionId: string;
1629
+ bookingNumber: string;
1630
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
1631
+ externalBookingRef: string | null;
1632
+ communicationLanguage: string | null;
1633
+ sellCurrency: string;
1634
+ sellAmountCents: number | null;
1635
+ startDate: string | null;
1636
+ endDate: string | null;
1637
+ pax: number | null;
1638
+ holdExpiresAt: string | null;
1639
+ confirmedAt: string | null;
1640
+ expiredAt: string | null;
1641
+ cancelledAt: string | null;
1642
+ completedAt: string | null;
1643
+ travelers: {
1644
+ id: string;
1645
+ participantType: "other" | "traveler" | "occupant";
1646
+ travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
1647
+ firstName: string;
1648
+ lastName: string;
1649
+ email: string | null;
1650
+ phone: string | null;
1651
+ preferredLanguage: string | null;
1652
+ specialRequests: string | null;
1653
+ isPrimary: boolean;
1654
+ notes: string | null;
1655
+ }[];
1656
+ items: {
1657
+ id: string;
1658
+ title: string;
1659
+ description: string | null;
1660
+ itemType: "other" | "unit" | "service" | "accommodation" | "transport" | "tax" | "extra" | "fee" | "discount" | "adjustment";
1661
+ status: "draft" | "expired" | "cancelled" | "fulfilled" | "confirmed" | "on_hold";
1662
+ serviceDate: string | null;
1663
+ startsAt: string | null;
1664
+ endsAt: string | null;
1665
+ quantity: number;
1666
+ sellCurrency: string;
1667
+ unitSellAmountCents: number | null;
1668
+ totalSellAmountCents: number | null;
1669
+ costCurrency: string | null;
1670
+ unitCostAmountCents: number | null;
1671
+ totalCostAmountCents: number | null;
1672
+ notes: string | null;
1673
+ productId: string | null;
1674
+ optionId: string | null;
1675
+ optionUnitId: string | null;
1676
+ pricingCategoryId: string | null;
1677
+ travelerLinks: {
1678
+ id: string;
1679
+ travelerId: string;
1680
+ role: "other" | "traveler" | "occupant" | "beneficiary";
1681
+ isPrimary: boolean;
1682
+ }[];
1683
+ }[];
1684
+ allocations: {
1685
+ id: string;
1686
+ bookingItemId: string | null;
1687
+ productId: string | null;
1688
+ optionId: string | null;
1689
+ optionUnitId: string | null;
1690
+ pricingCategoryId: string | null;
1691
+ availabilitySlotId: string | null;
1692
+ quantity: number;
1693
+ allocationType: "resource" | "unit" | "pickup";
1694
+ status: "expired" | "cancelled" | "released" | "fulfilled" | "confirmed" | "held";
1695
+ holdExpiresAt: string | null;
1696
+ confirmedAt: string | null;
1697
+ releasedAt: string | null;
1698
+ }[];
1699
+ checklist: {
1700
+ hasTravelers: boolean;
1701
+ hasPrimaryTraveler: boolean;
1702
+ hasItems: boolean;
1703
+ hasAllocations: boolean;
1704
+ readyForConfirmation: boolean;
1705
+ };
1706
+ state: {
1707
+ sessionId: string;
1708
+ stateKey: "wizard";
1709
+ currentStep: string | null;
1710
+ completedSteps: string[];
1711
+ payload: Record<string, unknown>;
1712
+ version: number;
1713
+ createdAt: string;
1714
+ updatedAt: string;
1715
+ } | null;
1716
+ checkoutCapability?: {
1717
+ token: string;
1718
+ expiresAt: string;
1719
+ actions: ("session:read" | "session:update" | "session:reprice" | "session:finalize" | "payment:read" | "payment:start")[];
1720
+ } | undefined;
1721
+ };
1722
+ };
1723
+ [dataTagErrorSymbol]: Error;
1724
+ };
1725
+ };
1726
+ export declare function getPublicBookingSessionStateQueryOptions(client: FetchWithValidationOptions, sessionId: string | null | undefined): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1727
+ data: {
1728
+ sessionId: string;
1729
+ stateKey: "wizard";
1730
+ currentStep: string | null;
1731
+ completedSteps: string[];
1732
+ payload: Record<string, unknown>;
1733
+ version: number;
1734
+ createdAt: string;
1735
+ updatedAt: string;
1736
+ };
1737
+ }, Error, {
1738
+ data: {
1739
+ sessionId: string;
1740
+ stateKey: "wizard";
1741
+ currentStep: string | null;
1742
+ completedSteps: string[];
1743
+ payload: Record<string, unknown>;
1744
+ version: number;
1745
+ createdAt: string;
1746
+ updatedAt: string;
1747
+ };
1748
+ }, readonly ["voyant", "bookings", "public-sessions", "detail", string, "state"]>, "queryFn"> & {
1749
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1750
+ data: {
1751
+ sessionId: string;
1752
+ stateKey: "wizard";
1753
+ currentStep: string | null;
1754
+ completedSteps: string[];
1755
+ payload: Record<string, unknown>;
1756
+ version: number;
1757
+ createdAt: string;
1758
+ updatedAt: string;
1759
+ };
1760
+ }, readonly ["voyant", "bookings", "public-sessions", "detail", string, "state"], never> | undefined;
1761
+ } & {
1762
+ queryKey: readonly ["voyant", "bookings", "public-sessions", "detail", string, "state"] & {
1763
+ [dataTagSymbol]: {
1764
+ data: {
1765
+ sessionId: string;
1766
+ stateKey: "wizard";
1767
+ currentStep: string | null;
1768
+ completedSteps: string[];
1769
+ payload: Record<string, unknown>;
1770
+ version: number;
1771
+ createdAt: string;
1772
+ updatedAt: string;
1773
+ };
1774
+ };
1775
+ [dataTagErrorSymbol]: Error;
1776
+ };
1777
+ };
1778
+ export declare function getBookingGroupsQueryOptions(client: FetchWithValidationOptions, options?: UseBookingGroupsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1779
+ data: {
1780
+ id: string;
1781
+ kind: "other" | "shared_room";
1782
+ label: string;
1783
+ primaryBookingId: string | null;
1784
+ productId: string | null;
1785
+ optionUnitId: string | null;
1786
+ metadata: Record<string, unknown> | null;
1787
+ createdAt: string;
1788
+ updatedAt: string;
1789
+ }[];
1790
+ total: number;
1791
+ limit: number;
1792
+ offset: number;
1793
+ }, Error, {
1794
+ data: {
1795
+ id: string;
1796
+ kind: "other" | "shared_room";
1797
+ label: string;
1798
+ primaryBookingId: string | null;
1799
+ productId: string | null;
1800
+ optionUnitId: string | null;
1801
+ metadata: Record<string, unknown> | null;
1802
+ createdAt: string;
1803
+ updatedAt: string;
1804
+ }[];
1805
+ total: number;
1806
+ limit: number;
1807
+ offset: number;
1808
+ }, readonly ["voyant", "bookings", "groups", "list", import("./query-keys.js").BookingGroupsListFilters]>, "queryFn"> & {
1809
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1810
+ data: {
1811
+ id: string;
1812
+ kind: "other" | "shared_room";
1813
+ label: string;
1814
+ primaryBookingId: string | null;
1815
+ productId: string | null;
1816
+ optionUnitId: string | null;
1817
+ metadata: Record<string, unknown> | null;
1818
+ createdAt: string;
1819
+ updatedAt: string;
1820
+ }[];
1821
+ total: number;
1822
+ limit: number;
1823
+ offset: number;
1824
+ }, readonly ["voyant", "bookings", "groups", "list", import("./query-keys.js").BookingGroupsListFilters], never> | undefined;
1825
+ } & {
1826
+ queryKey: readonly ["voyant", "bookings", "groups", "list", import("./query-keys.js").BookingGroupsListFilters] & {
1827
+ [dataTagSymbol]: {
1828
+ data: {
1829
+ id: string;
1830
+ kind: "other" | "shared_room";
1831
+ label: string;
1832
+ primaryBookingId: string | null;
1833
+ productId: string | null;
1834
+ optionUnitId: string | null;
1835
+ metadata: Record<string, unknown> | null;
1836
+ createdAt: string;
1837
+ updatedAt: string;
1838
+ }[];
1839
+ total: number;
1840
+ limit: number;
1841
+ offset: number;
1842
+ };
1843
+ [dataTagErrorSymbol]: Error;
1844
+ };
1845
+ };
1846
+ export declare function getBookingGroupQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined, options?: UseBookingGroupOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1847
+ data: {
1848
+ id: string;
1849
+ kind: "other" | "shared_room";
1850
+ label: string;
1851
+ primaryBookingId: string | null;
1852
+ productId: string | null;
1853
+ optionUnitId: string | null;
1854
+ metadata: Record<string, unknown> | null;
1855
+ createdAt: string;
1856
+ updatedAt: string;
1857
+ members: {
1858
+ id: string;
1859
+ groupId: string;
1860
+ bookingId: string;
1861
+ role: "shared" | "primary";
1862
+ createdAt: string;
1863
+ booking: {
1864
+ id: string;
1865
+ bookingNumber: string;
1866
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
1867
+ personId: string | null;
1868
+ organizationId: string | null;
1869
+ sellCurrency: string;
1870
+ sellAmountCents: number | null;
1871
+ costAmountCents: number | null;
1872
+ marginPercent: number | null;
1873
+ startDate: string | null;
1874
+ endDate: string | null;
1875
+ pax: number | null;
1876
+ internalNotes: string | null;
1877
+ createdAt: string;
1878
+ updatedAt: string;
1879
+ startsAt?: string | null | undefined;
1880
+ endsAt?: string | null | undefined;
1881
+ items?: {
1882
+ id: string;
1883
+ title: string;
1884
+ itemType: string;
1885
+ productId: string | null;
1886
+ productName?: string | null | undefined;
1887
+ startsAt?: string | null | undefined;
1888
+ endsAt?: string | null | undefined;
1889
+ }[] | undefined;
1890
+ communicationLanguage?: string | null | undefined;
1891
+ contactFirstName?: string | null | undefined;
1892
+ contactLastName?: string | null | undefined;
1893
+ contactPartyType?: "individual" | "company" | null | undefined;
1894
+ contactTaxId?: string | null | undefined;
1895
+ contactEmail?: string | null | undefined;
1896
+ contactPhone?: string | null | undefined;
1897
+ contactPreferredLanguage?: string | null | undefined;
1898
+ contactCountry?: string | null | undefined;
1899
+ contactRegion?: string | null | undefined;
1900
+ contactCity?: string | null | undefined;
1901
+ contactAddressLine1?: string | null | undefined;
1902
+ contactAddressLine2?: string | null | undefined;
1903
+ contactPostalCode?: string | null | undefined;
1904
+ customerPaymentPolicy?: {
1905
+ deposit: {
1906
+ kind: "none" | "percent" | "fixed_cents";
1907
+ percent?: number | undefined;
1908
+ amountCents?: number | undefined;
1909
+ };
1910
+ minDaysBeforeDepartureForDeposit: number;
1911
+ balanceDueDaysBeforeDeparture: number;
1912
+ balanceDueMinDaysFromNow: number;
1913
+ } | null | undefined;
1914
+ priceOverride?: {
1915
+ isManual: true;
1916
+ originalAmountCents: number | null;
1917
+ overriddenAmountCents: number;
1918
+ currency: string;
1919
+ reason: string;
1920
+ overriddenBy: string;
1921
+ overriddenAt: string;
1922
+ } | null | undefined;
1923
+ } | null;
1924
+ }[];
1925
+ };
1926
+ }, Error, {
1927
+ data: {
1928
+ id: string;
1929
+ kind: "other" | "shared_room";
1930
+ label: string;
1931
+ primaryBookingId: string | null;
1932
+ productId: string | null;
1933
+ optionUnitId: string | null;
1934
+ metadata: Record<string, unknown> | null;
1935
+ createdAt: string;
1936
+ updatedAt: string;
1937
+ members: {
1938
+ id: string;
1939
+ groupId: string;
1940
+ bookingId: string;
1941
+ role: "shared" | "primary";
1942
+ createdAt: string;
1943
+ booking: {
1944
+ id: string;
1945
+ bookingNumber: string;
1946
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
1947
+ personId: string | null;
1948
+ organizationId: string | null;
1949
+ sellCurrency: string;
1950
+ sellAmountCents: number | null;
1951
+ costAmountCents: number | null;
1952
+ marginPercent: number | null;
1953
+ startDate: string | null;
1954
+ endDate: string | null;
1955
+ pax: number | null;
1956
+ internalNotes: string | null;
1957
+ createdAt: string;
1958
+ updatedAt: string;
1959
+ startsAt?: string | null | undefined;
1960
+ endsAt?: string | null | undefined;
1961
+ items?: {
1962
+ id: string;
1963
+ title: string;
1964
+ itemType: string;
1965
+ productId: string | null;
1966
+ productName?: string | null | undefined;
1967
+ startsAt?: string | null | undefined;
1968
+ endsAt?: string | null | undefined;
1969
+ }[] | undefined;
1970
+ communicationLanguage?: string | null | undefined;
1971
+ contactFirstName?: string | null | undefined;
1972
+ contactLastName?: string | null | undefined;
1973
+ contactPartyType?: "individual" | "company" | null | undefined;
1974
+ contactTaxId?: string | null | undefined;
1975
+ contactEmail?: string | null | undefined;
1976
+ contactPhone?: string | null | undefined;
1977
+ contactPreferredLanguage?: string | null | undefined;
1978
+ contactCountry?: string | null | undefined;
1979
+ contactRegion?: string | null | undefined;
1980
+ contactCity?: string | null | undefined;
1981
+ contactAddressLine1?: string | null | undefined;
1982
+ contactAddressLine2?: string | null | undefined;
1983
+ contactPostalCode?: string | null | undefined;
1984
+ customerPaymentPolicy?: {
1985
+ deposit: {
1986
+ kind: "none" | "percent" | "fixed_cents";
1987
+ percent?: number | undefined;
1988
+ amountCents?: number | undefined;
1989
+ };
1990
+ minDaysBeforeDepartureForDeposit: number;
1991
+ balanceDueDaysBeforeDeparture: number;
1992
+ balanceDueMinDaysFromNow: number;
1993
+ } | null | undefined;
1994
+ priceOverride?: {
1995
+ isManual: true;
1996
+ originalAmountCents: number | null;
1997
+ overriddenAmountCents: number;
1998
+ currency: string;
1999
+ reason: string;
2000
+ overriddenBy: string;
2001
+ overriddenAt: string;
2002
+ } | null | undefined;
2003
+ } | null;
2004
+ }[];
2005
+ };
2006
+ }, readonly ["voyant", "bookings", "groups", "detail", string]>, "queryFn"> & {
2007
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
2008
+ data: {
2009
+ id: string;
2010
+ kind: "other" | "shared_room";
2011
+ label: string;
2012
+ primaryBookingId: string | null;
2013
+ productId: string | null;
2014
+ optionUnitId: string | null;
2015
+ metadata: Record<string, unknown> | null;
2016
+ createdAt: string;
2017
+ updatedAt: string;
2018
+ members: {
2019
+ id: string;
2020
+ groupId: string;
2021
+ bookingId: string;
2022
+ role: "shared" | "primary";
2023
+ createdAt: string;
2024
+ booking: {
2025
+ id: string;
2026
+ bookingNumber: string;
2027
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
2028
+ personId: string | null;
2029
+ organizationId: string | null;
2030
+ sellCurrency: string;
2031
+ sellAmountCents: number | null;
2032
+ costAmountCents: number | null;
2033
+ marginPercent: number | null;
2034
+ startDate: string | null;
2035
+ endDate: string | null;
2036
+ pax: number | null;
2037
+ internalNotes: string | null;
2038
+ createdAt: string;
2039
+ updatedAt: string;
2040
+ startsAt?: string | null | undefined;
2041
+ endsAt?: string | null | undefined;
2042
+ items?: {
2043
+ id: string;
2044
+ title: string;
2045
+ itemType: string;
2046
+ productId: string | null;
2047
+ productName?: string | null | undefined;
2048
+ startsAt?: string | null | undefined;
2049
+ endsAt?: string | null | undefined;
2050
+ }[] | undefined;
2051
+ communicationLanguage?: string | null | undefined;
2052
+ contactFirstName?: string | null | undefined;
2053
+ contactLastName?: string | null | undefined;
2054
+ contactPartyType?: "individual" | "company" | null | undefined;
2055
+ contactTaxId?: string | null | undefined;
2056
+ contactEmail?: string | null | undefined;
2057
+ contactPhone?: string | null | undefined;
2058
+ contactPreferredLanguage?: string | null | undefined;
2059
+ contactCountry?: string | null | undefined;
2060
+ contactRegion?: string | null | undefined;
2061
+ contactCity?: string | null | undefined;
2062
+ contactAddressLine1?: string | null | undefined;
2063
+ contactAddressLine2?: string | null | undefined;
2064
+ contactPostalCode?: string | null | undefined;
2065
+ customerPaymentPolicy?: {
2066
+ deposit: {
2067
+ kind: "none" | "percent" | "fixed_cents";
2068
+ percent?: number | undefined;
2069
+ amountCents?: number | undefined;
2070
+ };
2071
+ minDaysBeforeDepartureForDeposit: number;
2072
+ balanceDueDaysBeforeDeparture: number;
2073
+ balanceDueMinDaysFromNow: number;
2074
+ } | null | undefined;
2075
+ priceOverride?: {
2076
+ isManual: true;
2077
+ originalAmountCents: number | null;
2078
+ overriddenAmountCents: number;
2079
+ currency: string;
2080
+ reason: string;
2081
+ overriddenBy: string;
2082
+ overriddenAt: string;
2083
+ } | null | undefined;
2084
+ } | null;
2085
+ }[];
2086
+ };
2087
+ }, readonly ["voyant", "bookings", "groups", "detail", string], never> | undefined;
2088
+ } & {
2089
+ queryKey: readonly ["voyant", "bookings", "groups", "detail", string] & {
2090
+ [dataTagSymbol]: {
2091
+ data: {
2092
+ id: string;
2093
+ kind: "other" | "shared_room";
2094
+ label: string;
2095
+ primaryBookingId: string | null;
2096
+ productId: string | null;
2097
+ optionUnitId: string | null;
2098
+ metadata: Record<string, unknown> | null;
2099
+ createdAt: string;
2100
+ updatedAt: string;
2101
+ members: {
2102
+ id: string;
2103
+ groupId: string;
2104
+ bookingId: string;
2105
+ role: "shared" | "primary";
2106
+ createdAt: string;
2107
+ booking: {
2108
+ id: string;
2109
+ bookingNumber: string;
2110
+ status: "draft" | "expired" | "cancelled" | "completed" | "confirmed" | "on_hold" | "awaiting_payment" | "in_progress";
2111
+ personId: string | null;
2112
+ organizationId: string | null;
2113
+ sellCurrency: string;
2114
+ sellAmountCents: number | null;
2115
+ costAmountCents: number | null;
2116
+ marginPercent: number | null;
2117
+ startDate: string | null;
2118
+ endDate: string | null;
2119
+ pax: number | null;
2120
+ internalNotes: string | null;
2121
+ createdAt: string;
2122
+ updatedAt: string;
2123
+ startsAt?: string | null | undefined;
2124
+ endsAt?: string | null | undefined;
2125
+ items?: {
2126
+ id: string;
2127
+ title: string;
2128
+ itemType: string;
2129
+ productId: string | null;
2130
+ productName?: string | null | undefined;
2131
+ startsAt?: string | null | undefined;
2132
+ endsAt?: string | null | undefined;
2133
+ }[] | undefined;
2134
+ communicationLanguage?: string | null | undefined;
2135
+ contactFirstName?: string | null | undefined;
2136
+ contactLastName?: string | null | undefined;
2137
+ contactPartyType?: "individual" | "company" | null | undefined;
2138
+ contactTaxId?: string | null | undefined;
2139
+ contactEmail?: string | null | undefined;
2140
+ contactPhone?: string | null | undefined;
2141
+ contactPreferredLanguage?: string | null | undefined;
2142
+ contactCountry?: string | null | undefined;
2143
+ contactRegion?: string | null | undefined;
2144
+ contactCity?: string | null | undefined;
2145
+ contactAddressLine1?: string | null | undefined;
2146
+ contactAddressLine2?: string | null | undefined;
2147
+ contactPostalCode?: string | null | undefined;
2148
+ customerPaymentPolicy?: {
2149
+ deposit: {
2150
+ kind: "none" | "percent" | "fixed_cents";
2151
+ percent?: number | undefined;
2152
+ amountCents?: number | undefined;
2153
+ };
2154
+ minDaysBeforeDepartureForDeposit: number;
2155
+ balanceDueDaysBeforeDeparture: number;
2156
+ balanceDueMinDaysFromNow: number;
2157
+ } | null | undefined;
2158
+ priceOverride?: {
2159
+ isManual: true;
2160
+ originalAmountCents: number | null;
2161
+ overriddenAmountCents: number;
2162
+ currency: string;
2163
+ reason: string;
2164
+ overriddenBy: string;
2165
+ overriddenAt: string;
2166
+ } | null | undefined;
2167
+ } | null;
2168
+ }[];
2169
+ };
2170
+ };
2171
+ [dataTagErrorSymbol]: Error;
2172
+ };
2173
+ };
2174
+ export declare function getBookingGroupForBookingQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UseBookingGroupForBookingOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2175
+ data: {
2176
+ id: string;
2177
+ kind: "other" | "shared_room";
2178
+ label: string;
2179
+ primaryBookingId: string | null;
2180
+ productId: string | null;
2181
+ optionUnitId: string | null;
2182
+ metadata: Record<string, unknown> | null;
2183
+ createdAt: string;
2184
+ updatedAt: string;
2185
+ membership: {
2186
+ id: string;
2187
+ groupId: string;
2188
+ bookingId: string;
2189
+ role: "shared" | "primary";
2190
+ createdAt: string;
2191
+ };
2192
+ } | null;
2193
+ }, Error, {
2194
+ data: {
2195
+ id: string;
2196
+ kind: "other" | "shared_room";
2197
+ label: string;
2198
+ primaryBookingId: string | null;
2199
+ productId: string | null;
2200
+ optionUnitId: string | null;
2201
+ metadata: Record<string, unknown> | null;
2202
+ createdAt: string;
2203
+ updatedAt: string;
2204
+ membership: {
2205
+ id: string;
2206
+ groupId: string;
2207
+ bookingId: string;
2208
+ role: "shared" | "primary";
2209
+ createdAt: string;
2210
+ };
2211
+ } | null;
2212
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "group"]>, "queryFn"> & {
2213
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
2214
+ data: {
2215
+ id: string;
2216
+ kind: "other" | "shared_room";
2217
+ label: string;
2218
+ primaryBookingId: string | null;
2219
+ productId: string | null;
2220
+ optionUnitId: string | null;
2221
+ metadata: Record<string, unknown> | null;
2222
+ createdAt: string;
2223
+ updatedAt: string;
2224
+ membership: {
2225
+ id: string;
2226
+ groupId: string;
2227
+ bookingId: string;
2228
+ role: "shared" | "primary";
2229
+ createdAt: string;
2230
+ };
2231
+ } | null;
2232
+ }, readonly ["voyant", "bookings", "bookings", "detail", string, "group"], never> | undefined;
2233
+ } & {
2234
+ queryKey: readonly ["voyant", "bookings", "bookings", "detail", string, "group"] & {
2235
+ [dataTagSymbol]: {
2236
+ data: {
2237
+ id: string;
2238
+ kind: "other" | "shared_room";
2239
+ label: string;
2240
+ primaryBookingId: string | null;
2241
+ productId: string | null;
2242
+ optionUnitId: string | null;
2243
+ metadata: Record<string, unknown> | null;
2244
+ createdAt: string;
2245
+ updatedAt: string;
2246
+ membership: {
2247
+ id: string;
2248
+ groupId: string;
2249
+ bookingId: string;
2250
+ role: "shared" | "primary";
2251
+ createdAt: string;
2252
+ };
2253
+ } | null;
2254
+ };
2255
+ [dataTagErrorSymbol]: Error;
2256
+ };
2257
+ };
2258
+ /**
2259
+ * Pricing preview — resolves the storefront pricing snapshot for a product
2260
+ * without creating a booking session. Use it for operator create dialogs,
2261
+ * tour-sheet quotes, and reconciliation where the question is "what would the
2262
+ * customer see?"
2263
+ */
2264
+ export declare function getPricingPreviewQueryOptions(client: FetchWithValidationOptions, filters: PricingPreviewFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2265
+ data: {
2266
+ catalog: {
2267
+ id: string;
2268
+ currencyCode: string;
2269
+ };
2270
+ options: {
2271
+ id: string;
2272
+ name: string;
2273
+ isDefault: boolean;
2274
+ }[];
2275
+ rules: {
2276
+ id: string;
2277
+ optionId: string;
2278
+ pricingMode: string;
2279
+ baseSellAmountCents: number | null;
2280
+ isDefault: boolean;
2281
+ }[];
2282
+ pricingCategories: {
2283
+ id: string;
2284
+ name: string;
2285
+ code: string | null;
2286
+ categoryType: string;
2287
+ minAge: number | null;
2288
+ maxAge: number | null;
2289
+ sortOrder: number;
2290
+ metadata?: Record<string, unknown> | null | undefined;
2291
+ }[];
2292
+ unitPrices: {
2293
+ id: string;
2294
+ optionPriceRuleId: string;
2295
+ optionId: string | null;
2296
+ unitId: string;
2297
+ unitName: string | null;
2298
+ unitType: string | null;
2299
+ occupancyMax: number | null;
2300
+ pricingCategoryId: string | null;
2301
+ pricingMode: string;
2302
+ sellAmountCents: number | null;
2303
+ minQuantity: number | null;
2304
+ maxQuantity: number | null;
2305
+ tiers: {
2306
+ minQuantity: number;
2307
+ maxQuantity: number | null;
2308
+ sellAmountCents: number | null;
2309
+ }[];
2310
+ }[];
2311
+ };
2312
+ }, Error, {
2313
+ data: {
2314
+ catalog: {
2315
+ id: string;
2316
+ currencyCode: string;
2317
+ };
2318
+ options: {
2319
+ id: string;
2320
+ name: string;
2321
+ isDefault: boolean;
2322
+ }[];
2323
+ rules: {
2324
+ id: string;
2325
+ optionId: string;
2326
+ pricingMode: string;
2327
+ baseSellAmountCents: number | null;
2328
+ isDefault: boolean;
2329
+ }[];
2330
+ pricingCategories: {
2331
+ id: string;
2332
+ name: string;
2333
+ code: string | null;
2334
+ categoryType: string;
2335
+ minAge: number | null;
2336
+ maxAge: number | null;
2337
+ sortOrder: number;
2338
+ metadata?: Record<string, unknown> | null | undefined;
2339
+ }[];
2340
+ unitPrices: {
2341
+ id: string;
2342
+ optionPriceRuleId: string;
2343
+ optionId: string | null;
2344
+ unitId: string;
2345
+ unitName: string | null;
2346
+ unitType: string | null;
2347
+ occupancyMax: number | null;
2348
+ pricingCategoryId: string | null;
2349
+ pricingMode: string;
2350
+ sellAmountCents: number | null;
2351
+ minQuantity: number | null;
2352
+ maxQuantity: number | null;
2353
+ tiers: {
2354
+ minQuantity: number;
2355
+ maxQuantity: number | null;
2356
+ sellAmountCents: number | null;
2357
+ }[];
2358
+ }[];
2359
+ };
2360
+ }, readonly ["voyant", "bookings", "pricing-preview", PricingPreviewFilters]>, "queryFn"> & {
2361
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
2362
+ data: {
2363
+ catalog: {
2364
+ id: string;
2365
+ currencyCode: string;
2366
+ };
2367
+ options: {
2368
+ id: string;
2369
+ name: string;
2370
+ isDefault: boolean;
2371
+ }[];
2372
+ rules: {
2373
+ id: string;
2374
+ optionId: string;
2375
+ pricingMode: string;
2376
+ baseSellAmountCents: number | null;
2377
+ isDefault: boolean;
2378
+ }[];
2379
+ pricingCategories: {
2380
+ id: string;
2381
+ name: string;
2382
+ code: string | null;
2383
+ categoryType: string;
2384
+ minAge: number | null;
2385
+ maxAge: number | null;
2386
+ sortOrder: number;
2387
+ metadata?: Record<string, unknown> | null | undefined;
2388
+ }[];
2389
+ unitPrices: {
2390
+ id: string;
2391
+ optionPriceRuleId: string;
2392
+ optionId: string | null;
2393
+ unitId: string;
2394
+ unitName: string | null;
2395
+ unitType: string | null;
2396
+ occupancyMax: number | null;
2397
+ pricingCategoryId: string | null;
2398
+ pricingMode: string;
2399
+ sellAmountCents: number | null;
2400
+ minQuantity: number | null;
2401
+ maxQuantity: number | null;
2402
+ tiers: {
2403
+ minQuantity: number;
2404
+ maxQuantity: number | null;
2405
+ sellAmountCents: number | null;
2406
+ }[];
2407
+ }[];
2408
+ };
2409
+ }, readonly ["voyant", "bookings", "pricing-preview", PricingPreviewFilters], never> | undefined;
2410
+ } & {
2411
+ queryKey: readonly ["voyant", "bookings", "pricing-preview", PricingPreviewFilters] & {
2412
+ [dataTagSymbol]: {
2413
+ data: {
2414
+ catalog: {
2415
+ id: string;
2416
+ currencyCode: string;
2417
+ };
2418
+ options: {
2419
+ id: string;
2420
+ name: string;
2421
+ isDefault: boolean;
2422
+ }[];
2423
+ rules: {
2424
+ id: string;
2425
+ optionId: string;
2426
+ pricingMode: string;
2427
+ baseSellAmountCents: number | null;
2428
+ isDefault: boolean;
2429
+ }[];
2430
+ pricingCategories: {
2431
+ id: string;
2432
+ name: string;
2433
+ code: string | null;
2434
+ categoryType: string;
2435
+ minAge: number | null;
2436
+ maxAge: number | null;
2437
+ sortOrder: number;
2438
+ metadata?: Record<string, unknown> | null | undefined;
2439
+ }[];
2440
+ unitPrices: {
2441
+ id: string;
2442
+ optionPriceRuleId: string;
2443
+ optionId: string | null;
2444
+ unitId: string;
2445
+ unitName: string | null;
2446
+ unitType: string | null;
2447
+ occupancyMax: number | null;
2448
+ pricingCategoryId: string | null;
2449
+ pricingMode: string;
2450
+ sellAmountCents: number | null;
2451
+ minQuantity: number | null;
2452
+ maxQuantity: number | null;
2453
+ tiers: {
2454
+ minQuantity: number;
2455
+ maxQuantity: number | null;
2456
+ sellAmountCents: number | null;
2457
+ }[];
2458
+ }[];
2459
+ };
2460
+ };
2461
+ [dataTagErrorSymbol]: Error;
2462
+ };
2463
+ };
2464
+ /**
2465
+ * Tax preview — resolves the configured sell-side tax rate against an
2466
+ * in-progress booking's subtotal so booking-create screens can show a
2467
+ * real subtotal/tax/total breakdown.
2468
+ *
2469
+ * Backed by the mountable booking-tax `/v1/admin/bookings/tax-preview`
2470
+ * route, which mirrors the logic that runs at booking-finalize time.
2471
+ * Numbers shown to staff match what will land in
2472
+ * `booking_item_tax_lines`.
2473
+ */
2474
+ export declare function getTaxPreviewQueryOptions(client: FetchWithValidationOptions, filters: TaxPreviewFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2475
+ data: {
2476
+ subtotalCents: number;
2477
+ taxCents: number;
2478
+ totalCents: number;
2479
+ currency: string;
2480
+ taxRate: {
2481
+ code: string;
2482
+ label: string;
2483
+ rateBasisPoints: number;
2484
+ priceMode: "inclusive" | "exclusive";
2485
+ } | null;
2486
+ };
2487
+ }, Error, {
2488
+ data: {
2489
+ subtotalCents: number;
2490
+ taxCents: number;
2491
+ totalCents: number;
2492
+ currency: string;
2493
+ taxRate: {
2494
+ code: string;
2495
+ label: string;
2496
+ rateBasisPoints: number;
2497
+ priceMode: "inclusive" | "exclusive";
2498
+ } | null;
2499
+ };
2500
+ }, readonly ["voyant", "bookings", "tax-preview", TaxPreviewFilters]>, "queryFn"> & {
2501
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
2502
+ data: {
2503
+ subtotalCents: number;
2504
+ taxCents: number;
2505
+ totalCents: number;
2506
+ currency: string;
2507
+ taxRate: {
2508
+ code: string;
2509
+ label: string;
2510
+ rateBasisPoints: number;
2511
+ priceMode: "inclusive" | "exclusive";
2512
+ } | null;
2513
+ };
2514
+ }, readonly ["voyant", "bookings", "tax-preview", TaxPreviewFilters], never> | undefined;
2515
+ } & {
2516
+ queryKey: readonly ["voyant", "bookings", "tax-preview", TaxPreviewFilters] & {
2517
+ [dataTagSymbol]: {
2518
+ data: {
2519
+ subtotalCents: number;
2520
+ taxCents: number;
2521
+ totalCents: number;
2522
+ currency: string;
2523
+ taxRate: {
2524
+ code: string;
2525
+ label: string;
2526
+ rateBasisPoints: number;
2527
+ priceMode: "inclusive" | "exclusive";
2528
+ } | null;
2529
+ };
2530
+ };
2531
+ [dataTagErrorSymbol]: Error;
2532
+ };
2533
+ };
2534
+ //# sourceMappingURL=query-options.d.ts.map