@voyant-travel/finance-react 0.119.5

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 (517) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +75 -0
  3. package/dist/admin/booking-invoices-widget.d.ts +19 -0
  4. package/dist/admin/booking-invoices-widget.d.ts.map +1 -0
  5. package/dist/admin/booking-invoices-widget.js +204 -0
  6. package/dist/admin/booking-payment-policy-widget.d.ts +21 -0
  7. package/dist/admin/booking-payment-policy-widget.d.ts.map +1 -0
  8. package/dist/admin/booking-payment-policy-widget.js +128 -0
  9. package/dist/admin/booking-pending-payment-sessions-widget.d.ts +24 -0
  10. package/dist/admin/booking-pending-payment-sessions-widget.d.ts.map +1 -0
  11. package/dist/admin/booking-pending-payment-sessions-widget.js +139 -0
  12. package/dist/admin/credit-note-dialog.d.ts +9 -0
  13. package/dist/admin/credit-note-dialog.d.ts.map +1 -0
  14. package/dist/admin/credit-note-dialog.js +70 -0
  15. package/dist/admin/finance-shared.d.ts +7 -0
  16. package/dist/admin/finance-shared.d.ts.map +1 -0
  17. package/dist/admin/finance-shared.js +30 -0
  18. package/dist/admin/index.d.ts +99 -0
  19. package/dist/admin/index.d.ts.map +1 -0
  20. package/dist/admin/index.js +286 -0
  21. package/dist/admin/invoice-detail-host.d.ts +19 -0
  22. package/dist/admin/invoice-detail-host.d.ts.map +1 -0
  23. package/dist/admin/invoice-detail-host.js +147 -0
  24. package/dist/admin/invoice-detail-sections.d.ts +31 -0
  25. package/dist/admin/invoice-detail-sections.d.ts.map +1 -0
  26. package/dist/admin/invoice-detail-sections.js +109 -0
  27. package/dist/admin/invoice-detail-skeleton.d.ts +11 -0
  28. package/dist/admin/invoice-detail-skeleton.d.ts.map +1 -0
  29. package/dist/admin/invoice-detail-skeleton.js +33 -0
  30. package/dist/admin/line-item-dialog.d.ts +10 -0
  31. package/dist/admin/line-item-dialog.d.ts.map +1 -0
  32. package/dist/admin/line-item-dialog.js +91 -0
  33. package/dist/admin/pages/invoice-detail.d.ts +8 -0
  34. package/dist/admin/pages/invoice-detail.d.ts.map +1 -0
  35. package/dist/admin/pages/invoice-detail.js +11 -0
  36. package/dist/admin/pages/invoices-index.d.ts +8 -0
  37. package/dist/admin/pages/invoices-index.d.ts.map +1 -0
  38. package/dist/admin/pages/invoices-index.js +14 -0
  39. package/dist/admin/pages/payment-detail.d.ts +8 -0
  40. package/dist/admin/pages/payment-detail.d.ts.map +1 -0
  41. package/dist/admin/pages/payment-detail.js +11 -0
  42. package/dist/admin/pages/payments-index.d.ts +9 -0
  43. package/dist/admin/pages/payments-index.d.ts.map +1 -0
  44. package/dist/admin/pages/payments-index.js +21 -0
  45. package/dist/admin/pages/profitability.d.ts +10 -0
  46. package/dist/admin/pages/profitability.d.ts.map +1 -0
  47. package/dist/admin/pages/profitability.js +32 -0
  48. package/dist/admin/pages/supplier-invoice-detail.d.ts +20 -0
  49. package/dist/admin/pages/supplier-invoice-detail.d.ts.map +1 -0
  50. package/dist/admin/pages/supplier-invoice-detail.js +102 -0
  51. package/dist/admin/pages/supplier-invoices-index.d.ts +9 -0
  52. package/dist/admin/pages/supplier-invoices-index.d.ts.map +1 -0
  53. package/dist/admin/pages/supplier-invoices-index.js +16 -0
  54. package/dist/admin/payment-detail-host.d.ts +12 -0
  55. package/dist/admin/payment-detail-host.d.ts.map +1 -0
  56. package/dist/admin/payment-detail-host.js +108 -0
  57. package/dist/admin/payment-detail-skeleton.d.ts +8 -0
  58. package/dist/admin/payment-detail-skeleton.d.ts.map +1 -0
  59. package/dist/admin/payment-detail-skeleton.js +15 -0
  60. package/dist/admin/payment-dialog.d.ts +9 -0
  61. package/dist/admin/payment-dialog.d.ts.map +1 -0
  62. package/dist/admin/payment-dialog.js +99 -0
  63. package/dist/admin/record-payment-dialog.d.ts +16 -0
  64. package/dist/admin/record-payment-dialog.d.ts.map +1 -0
  65. package/dist/admin/record-payment-dialog.js +219 -0
  66. package/dist/admin/supplier-payment-policy-widget.d.ts +18 -0
  67. package/dist/admin/supplier-payment-policy-widget.d.ts.map +1 -0
  68. package/dist/admin/supplier-payment-policy-widget.js +31 -0
  69. package/dist/admin/use-supplier-picker.d.ts +19 -0
  70. package/dist/admin/use-supplier-picker.d.ts.map +1 -0
  71. package/dist/admin/use-supplier-picker.js +30 -0
  72. package/dist/checkout-components/collect-payment-dialog.d.ts +45 -0
  73. package/dist/checkout-components/collect-payment-dialog.d.ts.map +1 -0
  74. package/dist/checkout-components/collect-payment-dialog.js +121 -0
  75. package/dist/checkout-components/payment-link-landing-page.d.ts +76 -0
  76. package/dist/checkout-components/payment-link-landing-page.d.ts.map +1 -0
  77. package/dist/checkout-components/payment-link-landing-page.js +173 -0
  78. package/dist/checkout-components/payment-step.d.ts +42 -0
  79. package/dist/checkout-components/payment-step.d.ts.map +1 -0
  80. package/dist/checkout-components/payment-step.js +113 -0
  81. package/dist/checkout-hooks/index.d.ts +5 -0
  82. package/dist/checkout-hooks/index.d.ts.map +1 -0
  83. package/dist/checkout-hooks/index.js +4 -0
  84. package/dist/checkout-hooks/use-checkout-payment-link-config.d.ts +20 -0
  85. package/dist/checkout-hooks/use-checkout-payment-link-config.d.ts.map +1 -0
  86. package/dist/checkout-hooks/use-checkout-payment-link-config.js +26 -0
  87. package/dist/checkout-hooks/use-collect-payment.d.ts +227 -0
  88. package/dist/checkout-hooks/use-collect-payment.d.ts.map +1 -0
  89. package/dist/checkout-hooks/use-collect-payment.js +80 -0
  90. package/dist/checkout-hooks/use-initiate-checkout-collection.d.ts +308 -0
  91. package/dist/checkout-hooks/use-initiate-checkout-collection.d.ts.map +1 -0
  92. package/dist/checkout-hooks/use-initiate-checkout-collection.js +35 -0
  93. package/dist/checkout-hooks/use-preview-checkout-collection.d.ts +65 -0
  94. package/dist/checkout-hooks/use-preview-checkout-collection.d.ts.map +1 -0
  95. package/dist/checkout-hooks/use-preview-checkout-collection.js +27 -0
  96. package/dist/checkout-i18n/en.d.ts +3 -0
  97. package/dist/checkout-i18n/en.d.ts.map +1 -0
  98. package/dist/checkout-i18n/en.js +127 -0
  99. package/dist/checkout-i18n/index.d.ts +5 -0
  100. package/dist/checkout-i18n/index.d.ts.map +1 -0
  101. package/dist/checkout-i18n/index.js +3 -0
  102. package/dist/checkout-i18n/messages.d.ts +121 -0
  103. package/dist/checkout-i18n/messages.d.ts.map +1 -0
  104. package/dist/checkout-i18n/messages.js +1 -0
  105. package/dist/checkout-i18n/provider.d.ts +26 -0
  106. package/dist/checkout-i18n/provider.d.ts.map +1 -0
  107. package/dist/checkout-i18n/provider.js +41 -0
  108. package/dist/checkout-i18n/ro.d.ts +3 -0
  109. package/dist/checkout-i18n/ro.d.ts.map +1 -0
  110. package/dist/checkout-i18n/ro.js +127 -0
  111. package/dist/checkout-types.d.ts +53 -0
  112. package/dist/checkout-types.d.ts.map +1 -0
  113. package/dist/checkout-types.js +1 -0
  114. package/dist/checkout-ui.d.ts +7 -0
  115. package/dist/checkout-ui.d.ts.map +1 -0
  116. package/dist/checkout-ui.js +4 -0
  117. package/dist/checkout.d.ts +5 -0
  118. package/dist/checkout.d.ts.map +1 -0
  119. package/dist/checkout.js +3 -0
  120. package/dist/client.d.ts +16 -0
  121. package/dist/client.d.ts.map +1 -0
  122. package/dist/client.js +79 -0
  123. package/dist/components/accountant-portal/body.d.ts +8 -0
  124. package/dist/components/accountant-portal/body.d.ts.map +1 -0
  125. package/dist/components/accountant-portal/body.js +114 -0
  126. package/dist/components/accountant-portal/widgets.d.ts +13 -0
  127. package/dist/components/accountant-portal/widgets.d.ts.map +1 -0
  128. package/dist/components/accountant-portal/widgets.js +27 -0
  129. package/dist/components/accountant-portal.d.ts +10 -0
  130. package/dist/components/accountant-portal.d.ts.map +1 -0
  131. package/dist/components/accountant-portal.js +22 -0
  132. package/dist/components/accountant-share-dialog.d.ts +6 -0
  133. package/dist/components/accountant-share-dialog.d.ts.map +1 -0
  134. package/dist/components/accountant-share-dialog.js +53 -0
  135. package/dist/components/async-combobox.d.ts +33 -0
  136. package/dist/components/async-combobox.d.ts.map +1 -0
  137. package/dist/components/async-combobox.js +100 -0
  138. package/dist/components/booking-invoice-dialog.d.ts +63 -0
  139. package/dist/components/booking-invoice-dialog.d.ts.map +1 -0
  140. package/dist/components/booking-invoice-dialog.js +383 -0
  141. package/dist/components/cost-categories-page.d.ts +5 -0
  142. package/dist/components/cost-categories-page.d.ts.map +1 -0
  143. package/dist/components/cost-categories-page.js +30 -0
  144. package/dist/components/invoice-action-ledger-card.d.ts +15 -0
  145. package/dist/components/invoice-action-ledger-card.d.ts.map +1 -0
  146. package/dist/components/invoice-action-ledger-card.js +76 -0
  147. package/dist/components/invoice-bulk-actions.d.ts +10 -0
  148. package/dist/components/invoice-bulk-actions.d.ts.map +1 -0
  149. package/dist/components/invoice-bulk-actions.js +19 -0
  150. package/dist/components/invoice-detail-page/cards.d.ts +44 -0
  151. package/dist/components/invoice-detail-page/cards.d.ts.map +1 -0
  152. package/dist/components/invoice-detail-page/cards.js +43 -0
  153. package/dist/components/invoice-detail-page/header.d.ts +15 -0
  154. package/dist/components/invoice-detail-page/header.d.ts.map +1 -0
  155. package/dist/components/invoice-detail-page/header.js +30 -0
  156. package/dist/components/invoice-detail-page/notes-dialogs.d.ts +28 -0
  157. package/dist/components/invoice-detail-page/notes-dialogs.d.ts.map +1 -0
  158. package/dist/components/invoice-detail-page/notes-dialogs.js +104 -0
  159. package/dist/components/invoice-detail-page/primitives.d.ts +47 -0
  160. package/dist/components/invoice-detail-page/primitives.d.ts.map +1 -0
  161. package/dist/components/invoice-detail-page/primitives.js +76 -0
  162. package/dist/components/invoice-detail-page-with-action-ledger.d.ts +7 -0
  163. package/dist/components/invoice-detail-page-with-action-ledger.d.ts.map +1 -0
  164. package/dist/components/invoice-detail-page-with-action-ledger.js +11 -0
  165. package/dist/components/invoice-detail-page.d.ts +46 -0
  166. package/dist/components/invoice-detail-page.d.ts.map +1 -0
  167. package/dist/components/invoice-detail-page.js +134 -0
  168. package/dist/components/invoice-dialog.d.ts +9 -0
  169. package/dist/components/invoice-dialog.d.ts.map +1 -0
  170. package/dist/components/invoice-dialog.js +145 -0
  171. package/dist/components/invoice-number-series-dialog.d.ts +9 -0
  172. package/dist/components/invoice-number-series-dialog.d.ts.map +1 -0
  173. package/dist/components/invoice-number-series-dialog.js +134 -0
  174. package/dist/components/invoice-number-series-format.d.ts +3 -0
  175. package/dist/components/invoice-number-series-format.d.ts.map +1 -0
  176. package/dist/components/invoice-number-series-format.js +4 -0
  177. package/dist/components/invoice-number-series-page.d.ts +5 -0
  178. package/dist/components/invoice-number-series-page.d.ts.map +1 -0
  179. package/dist/components/invoice-number-series-page.js +55 -0
  180. package/dist/components/invoice-table-parts.d.ts +25 -0
  181. package/dist/components/invoice-table-parts.d.ts.map +1 -0
  182. package/dist/components/invoice-table-parts.js +32 -0
  183. package/dist/components/invoices-page-skeleton.d.ts +5 -0
  184. package/dist/components/invoices-page-skeleton.d.ts.map +1 -0
  185. package/dist/components/invoices-page-skeleton.js +13 -0
  186. package/dist/components/invoices-page.d.ts +6 -0
  187. package/dist/components/invoices-page.d.ts.map +1 -0
  188. package/dist/components/invoices-page.js +145 -0
  189. package/dist/components/payment-detail-page.d.ts +47 -0
  190. package/dist/components/payment-detail-page.d.ts.map +1 -0
  191. package/dist/components/payment-detail-page.js +90 -0
  192. package/dist/components/payment-policy-form.d.ts +49 -0
  193. package/dist/components/payment-policy-form.d.ts.map +1 -0
  194. package/dist/components/payment-policy-form.js +82 -0
  195. package/dist/components/payments-page/controls.d.ts +23 -0
  196. package/dist/components/payments-page/controls.d.ts.map +1 -0
  197. package/dist/components/payments-page/controls.js +20 -0
  198. package/dist/components/payments-page-skeleton.d.ts +5 -0
  199. package/dist/components/payments-page-skeleton.d.ts.map +1 -0
  200. package/dist/components/payments-page-skeleton.js +13 -0
  201. package/dist/components/payments-page.d.ts +20 -0
  202. package/dist/components/payments-page.d.ts.map +1 -0
  203. package/dist/components/payments-page.js +143 -0
  204. package/dist/components/profitability-page/sections.d.ts +24 -0
  205. package/dist/components/profitability-page/sections.d.ts.map +1 -0
  206. package/dist/components/profitability-page/sections.js +43 -0
  207. package/dist/components/profitability-page.d.ts +13 -0
  208. package/dist/components/profitability-page.d.ts.map +1 -0
  209. package/dist/components/profitability-page.js +175 -0
  210. package/dist/components/record-booking-payment-dialog/shared.d.ts +54 -0
  211. package/dist/components/record-booking-payment-dialog/shared.d.ts.map +1 -0
  212. package/dist/components/record-booking-payment-dialog/shared.js +47 -0
  213. package/dist/components/record-booking-payment-dialog.d.ts +4 -0
  214. package/dist/components/record-booking-payment-dialog.d.ts.map +1 -0
  215. package/dist/components/record-booking-payment-dialog.js +256 -0
  216. package/dist/components/supplier-invoice-detail-page/dialogs.d.ts +34 -0
  217. package/dist/components/supplier-invoice-detail-page/dialogs.d.ts.map +1 -0
  218. package/dist/components/supplier-invoice-detail-page/dialogs.js +119 -0
  219. package/dist/components/supplier-invoice-detail-page/shared.d.ts +64 -0
  220. package/dist/components/supplier-invoice-detail-page/shared.d.ts.map +1 -0
  221. package/dist/components/supplier-invoice-detail-page/shared.js +70 -0
  222. package/dist/components/supplier-invoice-detail-page.d.ts +4 -0
  223. package/dist/components/supplier-invoice-detail-page.d.ts.map +1 -0
  224. package/dist/components/supplier-invoice-detail-page.js +101 -0
  225. package/dist/components/supplier-invoice-form-dialog.d.ts +45 -0
  226. package/dist/components/supplier-invoice-form-dialog.d.ts.map +1 -0
  227. package/dist/components/supplier-invoice-form-dialog.js +102 -0
  228. package/dist/components/supplier-invoices-page.d.ts +14 -0
  229. package/dist/components/supplier-invoices-page.d.ts.map +1 -0
  230. package/dist/components/supplier-invoices-page.js +69 -0
  231. package/dist/components/supplier-payment-dialog.d.ts +7 -0
  232. package/dist/components/supplier-payment-dialog.d.ts.map +1 -0
  233. package/dist/components/supplier-payment-dialog.js +103 -0
  234. package/dist/components/taxes-page/policy-profile-sheet.d.ts +8 -0
  235. package/dist/components/taxes-page/policy-profile-sheet.d.ts.map +1 -0
  236. package/dist/components/taxes-page/policy-profile-sheet.js +52 -0
  237. package/dist/components/taxes-page/policy-rule-sheet.d.ts +10 -0
  238. package/dist/components/taxes-page/policy-rule-sheet.d.ts.map +1 -0
  239. package/dist/components/taxes-page/policy-rule-sheet.js +137 -0
  240. package/dist/components/taxes-page/shared.d.ts +128 -0
  241. package/dist/components/taxes-page/shared.d.ts.map +1 -0
  242. package/dist/components/taxes-page/shared.js +288 -0
  243. package/dist/components/taxes-page/sheets.d.ts +4 -0
  244. package/dist/components/taxes-page/sheets.d.ts.map +1 -0
  245. package/dist/components/taxes-page/sheets.js +3 -0
  246. package/dist/components/taxes-page/tax-sheet.d.ts +9 -0
  247. package/dist/components/taxes-page/tax-sheet.d.ts.map +1 -0
  248. package/dist/components/taxes-page/tax-sheet.js +108 -0
  249. package/dist/components/taxes-page.d.ts +4 -0
  250. package/dist/components/taxes-page.d.ts.map +1 -0
  251. package/dist/components/taxes-page.js +165 -0
  252. package/dist/hooks/index.d.ts +53 -0
  253. package/dist/hooks/index.d.ts.map +1 -0
  254. package/dist/hooks/index.js +52 -0
  255. package/dist/hooks/use-accountant-share-mutation.d.ts +20 -0
  256. package/dist/hooks/use-accountant-share-mutation.d.ts.map +1 -0
  257. package/dist/hooks/use-accountant-share-mutation.js +27 -0
  258. package/dist/hooks/use-accountant-shares.d.ts +13 -0
  259. package/dist/hooks/use-accountant-shares.d.ts.map +1 -0
  260. package/dist/hooks/use-accountant-shares.js +8 -0
  261. package/dist/hooks/use-admin-booking-payments.d.ts +30 -0
  262. package/dist/hooks/use-admin-booking-payments.d.ts.map +1 -0
  263. package/dist/hooks/use-admin-booking-payments.js +18 -0
  264. package/dist/hooks/use-all-payments.d.ts +35 -0
  265. package/dist/hooks/use-all-payments.d.ts.map +1 -0
  266. package/dist/hooks/use-all-payments.js +12 -0
  267. package/dist/hooks/use-booking-guarantees.d.ts +82 -0
  268. package/dist/hooks/use-booking-guarantees.d.ts.map +1 -0
  269. package/dist/hooks/use-booking-guarantees.js +46 -0
  270. package/dist/hooks/use-booking-payment-schedule-regenerate-mutation.d.ts +44 -0
  271. package/dist/hooks/use-booking-payment-schedule-regenerate-mutation.d.ts.map +1 -0
  272. package/dist/hooks/use-booking-payment-schedule-regenerate-mutation.js +27 -0
  273. package/dist/hooks/use-booking-payment-schedules.d.ts +63 -0
  274. package/dist/hooks/use-booking-payment-schedules.d.ts.map +1 -0
  275. package/dist/hooks/use-booking-payment-schedules.js +47 -0
  276. package/dist/hooks/use-cost-categories.d.ts +14 -0
  277. package/dist/hooks/use-cost-categories.d.ts.map +1 -0
  278. package/dist/hooks/use-cost-categories.js +9 -0
  279. package/dist/hooks/use-cost-category-mutation.d.ts +31 -0
  280. package/dist/hooks/use-cost-category-mutation.d.ts.map +1 -0
  281. package/dist/hooks/use-cost-category-mutation.js +27 -0
  282. package/dist/hooks/use-departure-profitability.d.ts +56 -0
  283. package/dist/hooks/use-departure-profitability.d.ts.map +1 -0
  284. package/dist/hooks/use-departure-profitability.js +12 -0
  285. package/dist/hooks/use-finance-action-ledger.d.ts +94 -0
  286. package/dist/hooks/use-finance-action-ledger.d.ts.map +1 -0
  287. package/dist/hooks/use-finance-action-ledger.js +20 -0
  288. package/dist/hooks/use-invoice-attachment-mutation.d.ts +43 -0
  289. package/dist/hooks/use-invoice-attachment-mutation.d.ts.map +1 -0
  290. package/dist/hooks/use-invoice-attachment-mutation.js +39 -0
  291. package/dist/hooks/use-invoice-attachments.d.ts +18 -0
  292. package/dist/hooks/use-invoice-attachments.d.ts.map +1 -0
  293. package/dist/hooks/use-invoice-attachments.js +12 -0
  294. package/dist/hooks/use-invoice-bulk-status-mutation.d.ts +51 -0
  295. package/dist/hooks/use-invoice-bulk-status-mutation.d.ts.map +1 -0
  296. package/dist/hooks/use-invoice-bulk-status-mutation.js +66 -0
  297. package/dist/hooks/use-invoice-credit-note-mutation.d.ts +38 -0
  298. package/dist/hooks/use-invoice-credit-note-mutation.d.ts.map +1 -0
  299. package/dist/hooks/use-invoice-credit-note-mutation.js +35 -0
  300. package/dist/hooks/use-invoice-credit-notes.d.ts +17 -0
  301. package/dist/hooks/use-invoice-credit-notes.d.ts.map +1 -0
  302. package/dist/hooks/use-invoice-credit-notes.js +12 -0
  303. package/dist/hooks/use-invoice-fx-rate.d.ts +19 -0
  304. package/dist/hooks/use-invoice-fx-rate.d.ts.map +1 -0
  305. package/dist/hooks/use-invoice-fx-rate.js +13 -0
  306. package/dist/hooks/use-invoice-line-item-mutation.d.ts +40 -0
  307. package/dist/hooks/use-invoice-line-item-mutation.d.ts.map +1 -0
  308. package/dist/hooks/use-invoice-line-item-mutation.js +42 -0
  309. package/dist/hooks/use-invoice-line-items.d.ts +17 -0
  310. package/dist/hooks/use-invoice-line-items.d.ts.map +1 -0
  311. package/dist/hooks/use-invoice-line-items.js +12 -0
  312. package/dist/hooks/use-invoice-mutation.d.ts +225 -0
  313. package/dist/hooks/use-invoice-mutation.d.ts.map +1 -0
  314. package/dist/hooks/use-invoice-mutation.js +121 -0
  315. package/dist/hooks/use-invoice-note-mutation.d.ts +11 -0
  316. package/dist/hooks/use-invoice-note-mutation.d.ts.map +1 -0
  317. package/dist/hooks/use-invoice-note-mutation.js +23 -0
  318. package/dist/hooks/use-invoice-notes.d.ts +13 -0
  319. package/dist/hooks/use-invoice-notes.d.ts.map +1 -0
  320. package/dist/hooks/use-invoice-notes.js +12 -0
  321. package/dist/hooks/use-invoice-number-series-mutation.d.ts +62 -0
  322. package/dist/hooks/use-invoice-number-series-mutation.d.ts.map +1 -0
  323. package/dist/hooks/use-invoice-number-series-mutation.js +39 -0
  324. package/dist/hooks/use-invoice-number-series.d.ts +28 -0
  325. package/dist/hooks/use-invoice-number-series.d.ts.map +1 -0
  326. package/dist/hooks/use-invoice-number-series.js +12 -0
  327. package/dist/hooks/use-invoice-payment-mutation.d.ts +29 -0
  328. package/dist/hooks/use-invoice-payment-mutation.d.ts.map +1 -0
  329. package/dist/hooks/use-invoice-payment-mutation.js +35 -0
  330. package/dist/hooks/use-invoice-payments.d.ts +21 -0
  331. package/dist/hooks/use-invoice-payments.d.ts.map +1 -0
  332. package/dist/hooks/use-invoice-payments.js +12 -0
  333. package/dist/hooks/use-invoice.d.ts +32 -0
  334. package/dist/hooks/use-invoice.d.ts.map +1 -0
  335. package/dist/hooks/use-invoice.js +12 -0
  336. package/dist/hooks/use-invoices.d.ts +36 -0
  337. package/dist/hooks/use-invoices.d.ts.map +1 -0
  338. package/dist/hooks/use-invoices.js +12 -0
  339. package/dist/hooks/use-payment-mutation.d.ts +57 -0
  340. package/dist/hooks/use-payment-mutation.d.ts.map +1 -0
  341. package/dist/hooks/use-payment-mutation.js +59 -0
  342. package/dist/hooks/use-payment-session-mutation.d.ts +205 -0
  343. package/dist/hooks/use-payment-session-mutation.d.ts.map +1 -0
  344. package/dist/hooks/use-payment-session-mutation.js +38 -0
  345. package/dist/hooks/use-payment-sessions.d.ts +97 -0
  346. package/dist/hooks/use-payment-sessions.d.ts.map +1 -0
  347. package/dist/hooks/use-payment-sessions.js +17 -0
  348. package/dist/hooks/use-payment.d.ts +31 -0
  349. package/dist/hooks/use-payment.d.ts.map +1 -0
  350. package/dist/hooks/use-payment.js +12 -0
  351. package/dist/hooks/use-product-profitability.d.ts +52 -0
  352. package/dist/hooks/use-product-profitability.d.ts.map +1 -0
  353. package/dist/hooks/use-product-profitability.js +12 -0
  354. package/dist/hooks/use-public-booking-documents.d.ts +29 -0
  355. package/dist/hooks/use-public-booking-documents.d.ts.map +1 -0
  356. package/dist/hooks/use-public-booking-documents.js +12 -0
  357. package/dist/hooks/use-public-booking-payment-options.d.ts +47 -0
  358. package/dist/hooks/use-public-booking-payment-options.d.ts.map +1 -0
  359. package/dist/hooks/use-public-booking-payment-options.js +12 -0
  360. package/dist/hooks/use-public-booking-payments.d.ts +24 -0
  361. package/dist/hooks/use-public-booking-payments.d.ts.map +1 -0
  362. package/dist/hooks/use-public-booking-payments.js +12 -0
  363. package/dist/hooks/use-public-finance-document-by-reference.d.ts +27 -0
  364. package/dist/hooks/use-public-finance-document-by-reference.d.ts.map +1 -0
  365. package/dist/hooks/use-public-finance-document-by-reference.js +12 -0
  366. package/dist/hooks/use-public-payment-session-mutation.d.ts +82 -0
  367. package/dist/hooks/use-public-payment-session-mutation.d.ts.map +1 -0
  368. package/dist/hooks/use-public-payment-session-mutation.js +33 -0
  369. package/dist/hooks/use-public-payment-session.d.ts +73 -0
  370. package/dist/hooks/use-public-payment-session.d.ts.map +1 -0
  371. package/dist/hooks/use-public-payment-session.js +12 -0
  372. package/dist/hooks/use-public-voucher-validation-mutation.d.ts +23 -0
  373. package/dist/hooks/use-public-voucher-validation-mutation.d.ts.map +1 -0
  374. package/dist/hooks/use-public-voucher-validation-mutation.js +17 -0
  375. package/dist/hooks/use-supplier-invoice-attachments.d.ts +17 -0
  376. package/dist/hooks/use-supplier-invoice-attachments.d.ts.map +1 -0
  377. package/dist/hooks/use-supplier-invoice-attachments.js +12 -0
  378. package/dist/hooks/use-supplier-invoice-mutation.d.ts +353 -0
  379. package/dist/hooks/use-supplier-invoice-mutation.d.ts.map +1 -0
  380. package/dist/hooks/use-supplier-invoice-mutation.js +81 -0
  381. package/dist/hooks/use-supplier-invoice-payments.d.ts +26 -0
  382. package/dist/hooks/use-supplier-invoice-payments.d.ts.map +1 -0
  383. package/dist/hooks/use-supplier-invoice-payments.js +12 -0
  384. package/dist/hooks/use-supplier-invoice.d.ts +65 -0
  385. package/dist/hooks/use-supplier-invoice.d.ts.map +1 -0
  386. package/dist/hooks/use-supplier-invoice.js +12 -0
  387. package/dist/hooks/use-supplier-invoices.d.ts +36 -0
  388. package/dist/hooks/use-supplier-invoices.d.ts.map +1 -0
  389. package/dist/hooks/use-supplier-invoices.js +12 -0
  390. package/dist/hooks/use-supplier-payment-mutation.d.ts +55 -0
  391. package/dist/hooks/use-supplier-payment-mutation.d.ts.map +1 -0
  392. package/dist/hooks/use-supplier-payment-mutation.js +35 -0
  393. package/dist/hooks/use-supplier-payments.d.ts +27 -0
  394. package/dist/hooks/use-supplier-payments.d.ts.map +1 -0
  395. package/dist/hooks/use-supplier-payments.js +12 -0
  396. package/dist/hooks/use-traveler-profitability.d.ts +24 -0
  397. package/dist/hooks/use-traveler-profitability.d.ts.map +1 -0
  398. package/dist/hooks/use-traveler-profitability.js +11 -0
  399. package/dist/hooks/use-voucher-mutation.d.ts +105 -0
  400. package/dist/hooks/use-voucher-mutation.d.ts.map +1 -0
  401. package/dist/hooks/use-voucher-mutation.js +50 -0
  402. package/dist/hooks/use-voucher.d.ts +38 -0
  403. package/dist/hooks/use-voucher.d.ts.map +1 -0
  404. package/dist/hooks/use-voucher.js +17 -0
  405. package/dist/hooks/use-vouchers.d.ts +34 -0
  406. package/dist/hooks/use-vouchers.d.ts.map +1 -0
  407. package/dist/hooks/use-vouchers.js +18 -0
  408. package/dist/i18n/en/invoices.d.ts +278 -0
  409. package/dist/i18n/en/invoices.d.ts.map +1 -0
  410. package/dist/i18n/en/invoices.js +277 -0
  411. package/dist/i18n/en/numberingAndPayments.d.ts +387 -0
  412. package/dist/i18n/en/numberingAndPayments.d.ts.map +1 -0
  413. package/dist/i18n/en/numberingAndPayments.js +386 -0
  414. package/dist/i18n/en/profitability.d.ts +147 -0
  415. package/dist/i18n/en/profitability.d.ts.map +1 -0
  416. package/dist/i18n/en/profitability.js +146 -0
  417. package/dist/i18n/en/suppliers.d.ts +187 -0
  418. package/dist/i18n/en/suppliers.d.ts.map +1 -0
  419. package/dist/i18n/en/suppliers.js +186 -0
  420. package/dist/i18n/en.d.ts +998 -0
  421. package/dist/i18n/en.d.ts.map +1 -0
  422. package/dist/i18n/en.js +22 -0
  423. package/dist/i18n/index.d.ts +5 -0
  424. package/dist/i18n/index.d.ts.map +1 -0
  425. package/dist/i18n/index.js +3 -0
  426. package/dist/i18n/messages/core.d.ts +18 -0
  427. package/dist/i18n/messages/core.d.ts.map +1 -0
  428. package/dist/i18n/messages/core.js +30 -0
  429. package/dist/i18n/messages/invoices.d.ts +252 -0
  430. package/dist/i18n/messages/invoices.d.ts.map +1 -0
  431. package/dist/i18n/messages/invoices.js +1 -0
  432. package/dist/i18n/messages/numberingAndPayments.d.ts +277 -0
  433. package/dist/i18n/messages/numberingAndPayments.d.ts.map +1 -0
  434. package/dist/i18n/messages/numberingAndPayments.js +1 -0
  435. package/dist/i18n/messages/profitability.d.ts +151 -0
  436. package/dist/i18n/messages/profitability.d.ts.map +1 -0
  437. package/dist/i18n/messages/profitability.js +1 -0
  438. package/dist/i18n/messages/suppliers.d.ts +167 -0
  439. package/dist/i18n/messages/suppliers.d.ts.map +1 -0
  440. package/dist/i18n/messages/suppliers.js +1 -0
  441. package/dist/i18n/messages.d.ts +29 -0
  442. package/dist/i18n/messages.d.ts.map +1 -0
  443. package/dist/i18n/messages.js +1 -0
  444. package/dist/i18n/provider.d.ts +2018 -0
  445. package/dist/i18n/provider.d.ts.map +1 -0
  446. package/dist/i18n/provider.js +44 -0
  447. package/dist/i18n/ro/invoices.d.ts +278 -0
  448. package/dist/i18n/ro/invoices.d.ts.map +1 -0
  449. package/dist/i18n/ro/invoices.js +277 -0
  450. package/dist/i18n/ro/numberingAndPayments.d.ts +387 -0
  451. package/dist/i18n/ro/numberingAndPayments.d.ts.map +1 -0
  452. package/dist/i18n/ro/numberingAndPayments.js +386 -0
  453. package/dist/i18n/ro/profitability.d.ts +147 -0
  454. package/dist/i18n/ro/profitability.d.ts.map +1 -0
  455. package/dist/i18n/ro/profitability.js +146 -0
  456. package/dist/i18n/ro/suppliers.d.ts +187 -0
  457. package/dist/i18n/ro/suppliers.d.ts.map +1 -0
  458. package/dist/i18n/ro/suppliers.js +186 -0
  459. package/dist/i18n/ro.d.ts +998 -0
  460. package/dist/i18n/ro.d.ts.map +1 -0
  461. package/dist/i18n/ro.js +22 -0
  462. package/dist/index.d.ts +11 -0
  463. package/dist/index.d.ts.map +1 -0
  464. package/dist/index.js +9 -0
  465. package/dist/operations.d.ts +484 -0
  466. package/dist/operations.d.ts.map +1 -0
  467. package/dist/operations.js +52 -0
  468. package/dist/provider.d.ts +2 -0
  469. package/dist/provider.d.ts.map +1 -0
  470. package/dist/provider.js +1 -0
  471. package/dist/query-keys.d.ts +195 -0
  472. package/dist/query-keys.d.ts.map +1 -0
  473. package/dist/query-keys.js +49 -0
  474. package/dist/query-options/public-reporting.d.ts +2129 -0
  475. package/dist/query-options/public-reporting.d.ts.map +1 -0
  476. package/dist/query-options/public-reporting.js +193 -0
  477. package/dist/query-options-action-ledger.d.ts +382 -0
  478. package/dist/query-options-action-ledger.d.ts.map +1 -0
  479. package/dist/query-options-action-ledger.js +36 -0
  480. package/dist/query-options.d.ts +2057 -0
  481. package/dist/query-options.d.ts.map +1 -0
  482. package/dist/query-options.js +328 -0
  483. package/dist/schemas/accountant.d.ts +168 -0
  484. package/dist/schemas/accountant.d.ts.map +1 -0
  485. package/dist/schemas/accountant.js +53 -0
  486. package/dist/schemas/action-ledger.d.ts +206 -0
  487. package/dist/schemas/action-ledger.d.ts.map +1 -0
  488. package/dist/schemas/action-ledger.js +83 -0
  489. package/dist/schemas/common.d.ts +17 -0
  490. package/dist/schemas/common.d.ts.map +1 -0
  491. package/dist/schemas/common.js +10 -0
  492. package/dist/schemas/invoice.d.ts +1451 -0
  493. package/dist/schemas/invoice.d.ts.map +1 -0
  494. package/dist/schemas/invoice.js +438 -0
  495. package/dist/schemas/profitability.d.ts +333 -0
  496. package/dist/schemas/profitability.d.ts.map +1 -0
  497. package/dist/schemas/profitability.js +84 -0
  498. package/dist/schemas/public.d.ts +481 -0
  499. package/dist/schemas/public.d.ts.map +1 -0
  500. package/dist/schemas/public.js +9 -0
  501. package/dist/schemas/responses.d.ts +632 -0
  502. package/dist/schemas/responses.d.ts.map +1 -0
  503. package/dist/schemas/responses.js +27 -0
  504. package/dist/schemas/supplier.d.ts +226 -0
  505. package/dist/schemas/supplier.d.ts.map +1 -0
  506. package/dist/schemas/supplier.js +103 -0
  507. package/dist/schemas/vouchers.d.ts +283 -0
  508. package/dist/schemas/vouchers.d.ts.map +1 -0
  509. package/dist/schemas/vouchers.js +49 -0
  510. package/dist/schemas.d.ts +10 -0
  511. package/dist/schemas.d.ts.map +1 -0
  512. package/dist/schemas.js +9 -0
  513. package/dist/ui.d.ts +27 -0
  514. package/dist/ui.d.ts.map +1 -0
  515. package/dist/ui.js +26 -0
  516. package/package.json +181 -0
  517. package/src/styles.css +12 -0
@@ -0,0 +1,2129 @@
1
+ import { type FetchWithValidationOptions } from "../client.js";
2
+ import type { UsePublicBookingDocumentsOptions } from "../hooks/use-public-booking-documents.js";
3
+ import type { UsePublicBookingPaymentOptionsOptions } from "../hooks/use-public-booking-payment-options.js";
4
+ import type { UsePublicBookingPaymentsOptions } from "../hooks/use-public-booking-payments.js";
5
+ import type { UsePublicFinanceDocumentByReferenceOptions } from "../hooks/use-public-finance-document-by-reference.js";
6
+ import type { UsePublicPaymentSessionOptions } from "../hooks/use-public-payment-session.js";
7
+ import type { UseVoucherOptions } from "../hooks/use-voucher.js";
8
+ import type { UseVouchersOptions } from "../hooks/use-vouchers.js";
9
+ import { type FinanceDepartureProfitabilityFilters, type FinanceProductProfitabilityFilters, type FinanceTravelerProfitabilityFilters } from "../query-keys.js";
10
+ export declare function getPublicBookingPaymentOptionsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UsePublicBookingPaymentOptionsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
11
+ data: {
12
+ bookingId: string;
13
+ accounts: {
14
+ id: string;
15
+ label: string;
16
+ provider: string | null;
17
+ instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "voucher" | "other" | "bank_account";
18
+ status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
19
+ brand: string | null;
20
+ last4: string | null;
21
+ expiryMonth: number | null;
22
+ expiryYear: number | null;
23
+ isDefault: boolean;
24
+ }[];
25
+ schedules: {
26
+ id: string;
27
+ scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
28
+ status: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived";
29
+ dueDate: string;
30
+ currency: string;
31
+ amountCents: number;
32
+ notes: string | null;
33
+ }[];
34
+ guarantees: {
35
+ id: string;
36
+ bookingPaymentScheduleId: string | null;
37
+ guaranteeType: string;
38
+ status: string;
39
+ currency: string | null;
40
+ amountCents: number | null;
41
+ provider: string | null;
42
+ referenceNumber: string | null;
43
+ expiresAt: string | null;
44
+ notes: string | null;
45
+ }[];
46
+ recommendedTarget: {
47
+ targetType: "booking_payment_schedule" | "booking_guarantee" | null;
48
+ targetId: string | null;
49
+ } | null;
50
+ };
51
+ }, Error, {
52
+ data: {
53
+ bookingId: string;
54
+ accounts: {
55
+ id: string;
56
+ label: string;
57
+ provider: string | null;
58
+ instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "voucher" | "other" | "bank_account";
59
+ status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
60
+ brand: string | null;
61
+ last4: string | null;
62
+ expiryMonth: number | null;
63
+ expiryYear: number | null;
64
+ isDefault: boolean;
65
+ }[];
66
+ schedules: {
67
+ id: string;
68
+ scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
69
+ status: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived";
70
+ dueDate: string;
71
+ currency: string;
72
+ amountCents: number;
73
+ notes: string | null;
74
+ }[];
75
+ guarantees: {
76
+ id: string;
77
+ bookingPaymentScheduleId: string | null;
78
+ guaranteeType: string;
79
+ status: string;
80
+ currency: string | null;
81
+ amountCents: number | null;
82
+ provider: string | null;
83
+ referenceNumber: string | null;
84
+ expiresAt: string | null;
85
+ notes: string | null;
86
+ }[];
87
+ recommendedTarget: {
88
+ targetType: "booking_payment_schedule" | "booking_guarantee" | null;
89
+ targetId: string | null;
90
+ } | null;
91
+ };
92
+ }, readonly ["voyant", "finance", "public-checkout", "booking-payment-options", string, import("../query-keys.js").PublicBookingPaymentOptionsFilters]>, "queryFn"> & {
93
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
94
+ data: {
95
+ bookingId: string;
96
+ accounts: {
97
+ id: string;
98
+ label: string;
99
+ provider: string | null;
100
+ instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "voucher" | "other" | "bank_account";
101
+ status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
102
+ brand: string | null;
103
+ last4: string | null;
104
+ expiryMonth: number | null;
105
+ expiryYear: number | null;
106
+ isDefault: boolean;
107
+ }[];
108
+ schedules: {
109
+ id: string;
110
+ scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
111
+ status: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived";
112
+ dueDate: string;
113
+ currency: string;
114
+ amountCents: number;
115
+ notes: string | null;
116
+ }[];
117
+ guarantees: {
118
+ id: string;
119
+ bookingPaymentScheduleId: string | null;
120
+ guaranteeType: string;
121
+ status: string;
122
+ currency: string | null;
123
+ amountCents: number | null;
124
+ provider: string | null;
125
+ referenceNumber: string | null;
126
+ expiresAt: string | null;
127
+ notes: string | null;
128
+ }[];
129
+ recommendedTarget: {
130
+ targetType: "booking_payment_schedule" | "booking_guarantee" | null;
131
+ targetId: string | null;
132
+ } | null;
133
+ };
134
+ }, readonly ["voyant", "finance", "public-checkout", "booking-payment-options", string, import("../query-keys.js").PublicBookingPaymentOptionsFilters], never> | undefined;
135
+ } & {
136
+ queryKey: readonly ["voyant", "finance", "public-checkout", "booking-payment-options", string, import("../query-keys.js").PublicBookingPaymentOptionsFilters] & {
137
+ [dataTagSymbol]: {
138
+ data: {
139
+ bookingId: string;
140
+ accounts: {
141
+ id: string;
142
+ label: string;
143
+ provider: string | null;
144
+ instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "voucher" | "other" | "bank_account";
145
+ status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
146
+ brand: string | null;
147
+ last4: string | null;
148
+ expiryMonth: number | null;
149
+ expiryYear: number | null;
150
+ isDefault: boolean;
151
+ }[];
152
+ schedules: {
153
+ id: string;
154
+ scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
155
+ status: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived";
156
+ dueDate: string;
157
+ currency: string;
158
+ amountCents: number;
159
+ notes: string | null;
160
+ }[];
161
+ guarantees: {
162
+ id: string;
163
+ bookingPaymentScheduleId: string | null;
164
+ guaranteeType: string;
165
+ status: string;
166
+ currency: string | null;
167
+ amountCents: number | null;
168
+ provider: string | null;
169
+ referenceNumber: string | null;
170
+ expiresAt: string | null;
171
+ notes: string | null;
172
+ }[];
173
+ recommendedTarget: {
174
+ targetType: "booking_payment_schedule" | "booking_guarantee" | null;
175
+ targetId: string | null;
176
+ } | null;
177
+ };
178
+ };
179
+ [dataTagErrorSymbol]: Error;
180
+ };
181
+ };
182
+ export declare function getPublicBookingDocumentsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UsePublicBookingDocumentsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
183
+ data: {
184
+ bookingId: string;
185
+ documents: {
186
+ invoiceId: string;
187
+ invoiceNumber: string;
188
+ invoiceType: "invoice" | "proforma" | "credit_note";
189
+ invoiceStatus: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
190
+ currency: string;
191
+ totalCents: number;
192
+ paidCents: number;
193
+ balanceDueCents: number;
194
+ issueDate: string;
195
+ dueDate: string;
196
+ renditionId: string | null;
197
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
198
+ format: "pdf" | "html" | "xml" | "json" | null;
199
+ language: string | null;
200
+ generatedAt: string | null;
201
+ fileSize: number | null;
202
+ checksum: string | null;
203
+ downloadUrl: string | null;
204
+ }[];
205
+ };
206
+ }, Error, {
207
+ data: {
208
+ bookingId: string;
209
+ documents: {
210
+ invoiceId: string;
211
+ invoiceNumber: string;
212
+ invoiceType: "invoice" | "proforma" | "credit_note";
213
+ invoiceStatus: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
214
+ currency: string;
215
+ totalCents: number;
216
+ paidCents: number;
217
+ balanceDueCents: number;
218
+ issueDate: string;
219
+ dueDate: string;
220
+ renditionId: string | null;
221
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
222
+ format: "pdf" | "html" | "xml" | "json" | null;
223
+ language: string | null;
224
+ generatedAt: string | null;
225
+ fileSize: number | null;
226
+ checksum: string | null;
227
+ downloadUrl: string | null;
228
+ }[];
229
+ };
230
+ }, readonly ["voyant", "finance", "public-checkout", "booking-documents", string]>, "queryFn"> & {
231
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
232
+ data: {
233
+ bookingId: string;
234
+ documents: {
235
+ invoiceId: string;
236
+ invoiceNumber: string;
237
+ invoiceType: "invoice" | "proforma" | "credit_note";
238
+ invoiceStatus: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
239
+ currency: string;
240
+ totalCents: number;
241
+ paidCents: number;
242
+ balanceDueCents: number;
243
+ issueDate: string;
244
+ dueDate: string;
245
+ renditionId: string | null;
246
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
247
+ format: "pdf" | "html" | "xml" | "json" | null;
248
+ language: string | null;
249
+ generatedAt: string | null;
250
+ fileSize: number | null;
251
+ checksum: string | null;
252
+ downloadUrl: string | null;
253
+ }[];
254
+ };
255
+ }, readonly ["voyant", "finance", "public-checkout", "booking-documents", string], never> | undefined;
256
+ } & {
257
+ queryKey: readonly ["voyant", "finance", "public-checkout", "booking-documents", string] & {
258
+ [dataTagSymbol]: {
259
+ data: {
260
+ bookingId: string;
261
+ documents: {
262
+ invoiceId: string;
263
+ invoiceNumber: string;
264
+ invoiceType: "invoice" | "proforma" | "credit_note";
265
+ invoiceStatus: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
266
+ currency: string;
267
+ totalCents: number;
268
+ paidCents: number;
269
+ balanceDueCents: number;
270
+ issueDate: string;
271
+ dueDate: string;
272
+ renditionId: string | null;
273
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
274
+ format: "pdf" | "html" | "xml" | "json" | null;
275
+ language: string | null;
276
+ generatedAt: string | null;
277
+ fileSize: number | null;
278
+ checksum: string | null;
279
+ downloadUrl: string | null;
280
+ }[];
281
+ };
282
+ };
283
+ [dataTagErrorSymbol]: Error;
284
+ };
285
+ };
286
+ export declare function getPublicFinanceDocumentByReferenceQueryOptions(client: FetchWithValidationOptions, reference: string | null | undefined, options?: UsePublicFinanceDocumentByReferenceOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
287
+ data: {
288
+ invoiceId: string;
289
+ invoiceNumber: string;
290
+ invoiceType: "invoice" | "proforma" | "credit_note";
291
+ invoiceStatus: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
292
+ currency: string;
293
+ totalCents: number;
294
+ paidCents: number;
295
+ balanceDueCents: number;
296
+ issueDate: string;
297
+ dueDate: string;
298
+ renditionId: string | null;
299
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
300
+ format: "pdf" | "html" | "xml" | "json" | null;
301
+ language: string | null;
302
+ generatedAt: string | null;
303
+ fileSize: number | null;
304
+ checksum: string | null;
305
+ downloadUrl: string | null;
306
+ bookingId: string;
307
+ };
308
+ }, Error, {
309
+ data: {
310
+ invoiceId: string;
311
+ invoiceNumber: string;
312
+ invoiceType: "invoice" | "proforma" | "credit_note";
313
+ invoiceStatus: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
314
+ currency: string;
315
+ totalCents: number;
316
+ paidCents: number;
317
+ balanceDueCents: number;
318
+ issueDate: string;
319
+ dueDate: string;
320
+ renditionId: string | null;
321
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
322
+ format: "pdf" | "html" | "xml" | "json" | null;
323
+ language: string | null;
324
+ generatedAt: string | null;
325
+ fileSize: number | null;
326
+ checksum: string | null;
327
+ downloadUrl: string | null;
328
+ bookingId: string;
329
+ };
330
+ }, readonly ["voyant", "finance", "public-checkout", "document-lookup", import("../query-keys.js").PublicFinanceDocumentLookupFilters]>, "queryFn"> & {
331
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
332
+ data: {
333
+ invoiceId: string;
334
+ invoiceNumber: string;
335
+ invoiceType: "invoice" | "proforma" | "credit_note";
336
+ invoiceStatus: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
337
+ currency: string;
338
+ totalCents: number;
339
+ paidCents: number;
340
+ balanceDueCents: number;
341
+ issueDate: string;
342
+ dueDate: string;
343
+ renditionId: string | null;
344
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
345
+ format: "pdf" | "html" | "xml" | "json" | null;
346
+ language: string | null;
347
+ generatedAt: string | null;
348
+ fileSize: number | null;
349
+ checksum: string | null;
350
+ downloadUrl: string | null;
351
+ bookingId: string;
352
+ };
353
+ }, readonly ["voyant", "finance", "public-checkout", "document-lookup", import("../query-keys.js").PublicFinanceDocumentLookupFilters], never> | undefined;
354
+ } & {
355
+ queryKey: readonly ["voyant", "finance", "public-checkout", "document-lookup", import("../query-keys.js").PublicFinanceDocumentLookupFilters] & {
356
+ [dataTagSymbol]: {
357
+ data: {
358
+ invoiceId: string;
359
+ invoiceNumber: string;
360
+ invoiceType: "invoice" | "proforma" | "credit_note";
361
+ invoiceStatus: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
362
+ currency: string;
363
+ totalCents: number;
364
+ paidCents: number;
365
+ balanceDueCents: number;
366
+ issueDate: string;
367
+ dueDate: string;
368
+ renditionId: string | null;
369
+ documentStatus: "pending" | "failed" | "ready" | "stale" | "missing";
370
+ format: "pdf" | "html" | "xml" | "json" | null;
371
+ language: string | null;
372
+ generatedAt: string | null;
373
+ fileSize: number | null;
374
+ checksum: string | null;
375
+ downloadUrl: string | null;
376
+ bookingId: string;
377
+ };
378
+ };
379
+ [dataTagErrorSymbol]: Error;
380
+ };
381
+ };
382
+ export declare function getPublicBookingPaymentsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined, options?: UsePublicBookingPaymentsOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
383
+ data: {
384
+ bookingId: string;
385
+ payments: {
386
+ id: string;
387
+ invoiceId: string;
388
+ invoiceNumber: string;
389
+ invoiceType: "invoice" | "proforma" | "credit_note";
390
+ status: "pending" | "completed" | "failed" | "refunded";
391
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other";
392
+ amountCents: number;
393
+ currency: string;
394
+ baseCurrency: string | null;
395
+ baseAmountCents: number | null;
396
+ paymentDate: string;
397
+ referenceNumber: string | null;
398
+ notes: string | null;
399
+ }[];
400
+ };
401
+ }, Error, {
402
+ data: {
403
+ bookingId: string;
404
+ payments: {
405
+ id: string;
406
+ invoiceId: string;
407
+ invoiceNumber: string;
408
+ invoiceType: "invoice" | "proforma" | "credit_note";
409
+ status: "pending" | "completed" | "failed" | "refunded";
410
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other";
411
+ amountCents: number;
412
+ currency: string;
413
+ baseCurrency: string | null;
414
+ baseAmountCents: number | null;
415
+ paymentDate: string;
416
+ referenceNumber: string | null;
417
+ notes: string | null;
418
+ }[];
419
+ };
420
+ }, readonly ["voyant", "finance", "public-checkout", "booking-payments", string]>, "queryFn"> & {
421
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
422
+ data: {
423
+ bookingId: string;
424
+ payments: {
425
+ id: string;
426
+ invoiceId: string;
427
+ invoiceNumber: string;
428
+ invoiceType: "invoice" | "proforma" | "credit_note";
429
+ status: "pending" | "completed" | "failed" | "refunded";
430
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other";
431
+ amountCents: number;
432
+ currency: string;
433
+ baseCurrency: string | null;
434
+ baseAmountCents: number | null;
435
+ paymentDate: string;
436
+ referenceNumber: string | null;
437
+ notes: string | null;
438
+ }[];
439
+ };
440
+ }, readonly ["voyant", "finance", "public-checkout", "booking-payments", string], never> | undefined;
441
+ } & {
442
+ queryKey: readonly ["voyant", "finance", "public-checkout", "booking-payments", string] & {
443
+ [dataTagSymbol]: {
444
+ data: {
445
+ bookingId: string;
446
+ payments: {
447
+ id: string;
448
+ invoiceId: string;
449
+ invoiceNumber: string;
450
+ invoiceType: "invoice" | "proforma" | "credit_note";
451
+ status: "pending" | "completed" | "failed" | "refunded";
452
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other";
453
+ amountCents: number;
454
+ currency: string;
455
+ baseCurrency: string | null;
456
+ baseAmountCents: number | null;
457
+ paymentDate: string;
458
+ referenceNumber: string | null;
459
+ notes: string | null;
460
+ }[];
461
+ };
462
+ };
463
+ [dataTagErrorSymbol]: Error;
464
+ };
465
+ };
466
+ export declare function getAdminBookingPaymentsQueryOptions(client: FetchWithValidationOptions, bookingId: string | null | undefined): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
467
+ data: {
468
+ bookingId: string;
469
+ payments: {
470
+ id: string;
471
+ invoiceId: string;
472
+ invoiceNumber: string;
473
+ invoiceType: "invoice" | "proforma" | "credit_note";
474
+ status: "pending" | "completed" | "failed" | "refunded";
475
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other";
476
+ amountCents: number;
477
+ currency: string;
478
+ baseCurrency: string | null;
479
+ baseAmountCents: number | null;
480
+ paymentDate: string;
481
+ referenceNumber: string | null;
482
+ notes: string | null;
483
+ }[];
484
+ };
485
+ }, Error, {
486
+ data: {
487
+ bookingId: string;
488
+ payments: {
489
+ id: string;
490
+ invoiceId: string;
491
+ invoiceNumber: string;
492
+ invoiceType: "invoice" | "proforma" | "credit_note";
493
+ status: "pending" | "completed" | "failed" | "refunded";
494
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other";
495
+ amountCents: number;
496
+ currency: string;
497
+ baseCurrency: string | null;
498
+ baseAmountCents: number | null;
499
+ paymentDate: string;
500
+ referenceNumber: string | null;
501
+ notes: string | null;
502
+ }[];
503
+ };
504
+ }, readonly ["voyant", "finance", "admin-booking-payments", string]>, "queryFn"> & {
505
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
506
+ data: {
507
+ bookingId: string;
508
+ payments: {
509
+ id: string;
510
+ invoiceId: string;
511
+ invoiceNumber: string;
512
+ invoiceType: "invoice" | "proforma" | "credit_note";
513
+ status: "pending" | "completed" | "failed" | "refunded";
514
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other";
515
+ amountCents: number;
516
+ currency: string;
517
+ baseCurrency: string | null;
518
+ baseAmountCents: number | null;
519
+ paymentDate: string;
520
+ referenceNumber: string | null;
521
+ notes: string | null;
522
+ }[];
523
+ };
524
+ }, readonly ["voyant", "finance", "admin-booking-payments", string], never> | undefined;
525
+ } & {
526
+ queryKey: readonly ["voyant", "finance", "admin-booking-payments", string] & {
527
+ [dataTagSymbol]: {
528
+ data: {
529
+ bookingId: string;
530
+ payments: {
531
+ id: string;
532
+ invoiceId: string;
533
+ invoiceNumber: string;
534
+ invoiceType: "invoice" | "proforma" | "credit_note";
535
+ status: "pending" | "completed" | "failed" | "refunded";
536
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other";
537
+ amountCents: number;
538
+ currency: string;
539
+ baseCurrency: string | null;
540
+ baseAmountCents: number | null;
541
+ paymentDate: string;
542
+ referenceNumber: string | null;
543
+ notes: string | null;
544
+ }[];
545
+ };
546
+ };
547
+ [dataTagErrorSymbol]: Error;
548
+ };
549
+ };
550
+ export declare function getPublicPaymentSessionQueryOptions(client: FetchWithValidationOptions, sessionId: string | null | undefined, options?: UsePublicPaymentSessionOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
551
+ data: {
552
+ legacyOrderId: string | null;
553
+ target: {
554
+ type: "booking";
555
+ bookingId: string;
556
+ } | {
557
+ type: "invoice";
558
+ invoiceId: string;
559
+ } | {
560
+ type: "booking_payment_schedule";
561
+ bookingPaymentScheduleId: string;
562
+ } | {
563
+ type: "booking_guarantee";
564
+ bookingGuaranteeId: string;
565
+ } | {
566
+ type: "flight_order";
567
+ flightOrderId: string;
568
+ } | {
569
+ type: "program";
570
+ programId: string;
571
+ } | {
572
+ type: "supplier_settlement";
573
+ supplierSettlementId: string;
574
+ } | {
575
+ type: "channel_settlement";
576
+ channelSettlementId: string;
577
+ } | {
578
+ type: "provider_reference";
579
+ provider: string;
580
+ reference: string;
581
+ } | {
582
+ type: "legacy_order";
583
+ legacyOrderId: string;
584
+ } | null;
585
+ provenance: {
586
+ source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
587
+ provider?: string | null | undefined;
588
+ reference?: string | null | undefined;
589
+ idempotencyKey?: string | null | undefined;
590
+ } | null;
591
+ id: string;
592
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
593
+ targetId: string | null;
594
+ bookingId: string | null;
595
+ invoiceId: string | null;
596
+ bookingPaymentScheduleId: string | null;
597
+ bookingGuaranteeId: string | null;
598
+ status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
599
+ provider: string | null;
600
+ providerSessionId: string | null;
601
+ providerPaymentId: string | null;
602
+ externalReference: string | null;
603
+ clientReference: string | null;
604
+ currency: string;
605
+ amountCents: number;
606
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
607
+ payerEmail: string | null;
608
+ payerName: string | null;
609
+ redirectUrl: string | null;
610
+ returnUrl: string | null;
611
+ cancelUrl: string | null;
612
+ expiresAt: string | null;
613
+ completedAt: string | null;
614
+ failureCode: string | null;
615
+ failureMessage: string | null;
616
+ notes: string | null;
617
+ };
618
+ }, Error, {
619
+ data: {
620
+ legacyOrderId: string | null;
621
+ target: {
622
+ type: "booking";
623
+ bookingId: string;
624
+ } | {
625
+ type: "invoice";
626
+ invoiceId: string;
627
+ } | {
628
+ type: "booking_payment_schedule";
629
+ bookingPaymentScheduleId: string;
630
+ } | {
631
+ type: "booking_guarantee";
632
+ bookingGuaranteeId: string;
633
+ } | {
634
+ type: "flight_order";
635
+ flightOrderId: string;
636
+ } | {
637
+ type: "program";
638
+ programId: string;
639
+ } | {
640
+ type: "supplier_settlement";
641
+ supplierSettlementId: string;
642
+ } | {
643
+ type: "channel_settlement";
644
+ channelSettlementId: string;
645
+ } | {
646
+ type: "provider_reference";
647
+ provider: string;
648
+ reference: string;
649
+ } | {
650
+ type: "legacy_order";
651
+ legacyOrderId: string;
652
+ } | null;
653
+ provenance: {
654
+ source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
655
+ provider?: string | null | undefined;
656
+ reference?: string | null | undefined;
657
+ idempotencyKey?: string | null | undefined;
658
+ } | null;
659
+ id: string;
660
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
661
+ targetId: string | null;
662
+ bookingId: string | null;
663
+ invoiceId: string | null;
664
+ bookingPaymentScheduleId: string | null;
665
+ bookingGuaranteeId: string | null;
666
+ status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
667
+ provider: string | null;
668
+ providerSessionId: string | null;
669
+ providerPaymentId: string | null;
670
+ externalReference: string | null;
671
+ clientReference: string | null;
672
+ currency: string;
673
+ amountCents: number;
674
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
675
+ payerEmail: string | null;
676
+ payerName: string | null;
677
+ redirectUrl: string | null;
678
+ returnUrl: string | null;
679
+ cancelUrl: string | null;
680
+ expiresAt: string | null;
681
+ completedAt: string | null;
682
+ failureCode: string | null;
683
+ failureMessage: string | null;
684
+ notes: string | null;
685
+ };
686
+ }, readonly ["voyant", "finance", "public-checkout", "payment-session", string]>, "queryFn"> & {
687
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
688
+ data: {
689
+ legacyOrderId: string | null;
690
+ target: {
691
+ type: "booking";
692
+ bookingId: string;
693
+ } | {
694
+ type: "invoice";
695
+ invoiceId: string;
696
+ } | {
697
+ type: "booking_payment_schedule";
698
+ bookingPaymentScheduleId: string;
699
+ } | {
700
+ type: "booking_guarantee";
701
+ bookingGuaranteeId: string;
702
+ } | {
703
+ type: "flight_order";
704
+ flightOrderId: string;
705
+ } | {
706
+ type: "program";
707
+ programId: string;
708
+ } | {
709
+ type: "supplier_settlement";
710
+ supplierSettlementId: string;
711
+ } | {
712
+ type: "channel_settlement";
713
+ channelSettlementId: string;
714
+ } | {
715
+ type: "provider_reference";
716
+ provider: string;
717
+ reference: string;
718
+ } | {
719
+ type: "legacy_order";
720
+ legacyOrderId: string;
721
+ } | null;
722
+ provenance: {
723
+ source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
724
+ provider?: string | null | undefined;
725
+ reference?: string | null | undefined;
726
+ idempotencyKey?: string | null | undefined;
727
+ } | null;
728
+ id: string;
729
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
730
+ targetId: string | null;
731
+ bookingId: string | null;
732
+ invoiceId: string | null;
733
+ bookingPaymentScheduleId: string | null;
734
+ bookingGuaranteeId: string | null;
735
+ status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
736
+ provider: string | null;
737
+ providerSessionId: string | null;
738
+ providerPaymentId: string | null;
739
+ externalReference: string | null;
740
+ clientReference: string | null;
741
+ currency: string;
742
+ amountCents: number;
743
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
744
+ payerEmail: string | null;
745
+ payerName: string | null;
746
+ redirectUrl: string | null;
747
+ returnUrl: string | null;
748
+ cancelUrl: string | null;
749
+ expiresAt: string | null;
750
+ completedAt: string | null;
751
+ failureCode: string | null;
752
+ failureMessage: string | null;
753
+ notes: string | null;
754
+ };
755
+ }, readonly ["voyant", "finance", "public-checkout", "payment-session", string], never> | undefined;
756
+ } & {
757
+ queryKey: readonly ["voyant", "finance", "public-checkout", "payment-session", string] & {
758
+ [dataTagSymbol]: {
759
+ data: {
760
+ legacyOrderId: string | null;
761
+ target: {
762
+ type: "booking";
763
+ bookingId: string;
764
+ } | {
765
+ type: "invoice";
766
+ invoiceId: string;
767
+ } | {
768
+ type: "booking_payment_schedule";
769
+ bookingPaymentScheduleId: string;
770
+ } | {
771
+ type: "booking_guarantee";
772
+ bookingGuaranteeId: string;
773
+ } | {
774
+ type: "flight_order";
775
+ flightOrderId: string;
776
+ } | {
777
+ type: "program";
778
+ programId: string;
779
+ } | {
780
+ type: "supplier_settlement";
781
+ supplierSettlementId: string;
782
+ } | {
783
+ type: "channel_settlement";
784
+ channelSettlementId: string;
785
+ } | {
786
+ type: "provider_reference";
787
+ provider: string;
788
+ reference: string;
789
+ } | {
790
+ type: "legacy_order";
791
+ legacyOrderId: string;
792
+ } | null;
793
+ provenance: {
794
+ source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
795
+ provider?: string | null | undefined;
796
+ reference?: string | null | undefined;
797
+ idempotencyKey?: string | null | undefined;
798
+ } | null;
799
+ id: string;
800
+ targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
801
+ targetId: string | null;
802
+ bookingId: string | null;
803
+ invoiceId: string | null;
804
+ bookingPaymentScheduleId: string | null;
805
+ bookingGuaranteeId: string | null;
806
+ status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
807
+ provider: string | null;
808
+ providerSessionId: string | null;
809
+ providerPaymentId: string | null;
810
+ externalReference: string | null;
811
+ clientReference: string | null;
812
+ currency: string;
813
+ amountCents: number;
814
+ paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
815
+ payerEmail: string | null;
816
+ payerName: string | null;
817
+ redirectUrl: string | null;
818
+ returnUrl: string | null;
819
+ cancelUrl: string | null;
820
+ expiresAt: string | null;
821
+ completedAt: string | null;
822
+ failureCode: string | null;
823
+ failureMessage: string | null;
824
+ notes: string | null;
825
+ };
826
+ };
827
+ [dataTagErrorSymbol]: Error;
828
+ };
829
+ };
830
+ export declare function getVouchersQueryOptions(client: FetchWithValidationOptions, options?: UseVouchersOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
831
+ data: {
832
+ id: string;
833
+ code: string;
834
+ status: "void" | "expired" | "active" | "redeemed";
835
+ currency: string;
836
+ initialAmountCents: number;
837
+ remainingAmountCents: number;
838
+ issuedToPersonId: string | null;
839
+ issuedToOrganizationId: string | null;
840
+ sourceType: "manual" | "refund" | "cancellation_credit" | "gift" | "promo";
841
+ sourceBookingId: string | null;
842
+ sourcePaymentId: string | null;
843
+ expiresAt: Date | null;
844
+ notes: string | null;
845
+ issuedByUserId: string | null;
846
+ createdAt: Date;
847
+ updatedAt: Date;
848
+ }[];
849
+ total: number;
850
+ limit: number;
851
+ offset: number;
852
+ }, Error, {
853
+ data: {
854
+ id: string;
855
+ code: string;
856
+ status: "void" | "expired" | "active" | "redeemed";
857
+ currency: string;
858
+ initialAmountCents: number;
859
+ remainingAmountCents: number;
860
+ issuedToPersonId: string | null;
861
+ issuedToOrganizationId: string | null;
862
+ sourceType: "manual" | "refund" | "cancellation_credit" | "gift" | "promo";
863
+ sourceBookingId: string | null;
864
+ sourcePaymentId: string | null;
865
+ expiresAt: Date | null;
866
+ notes: string | null;
867
+ issuedByUserId: string | null;
868
+ createdAt: Date;
869
+ updatedAt: Date;
870
+ }[];
871
+ total: number;
872
+ limit: number;
873
+ offset: number;
874
+ }, readonly ["voyant", "finance", "vouchers", "list", import("../query-keys.js").FinanceVoucherListFilters]>, "queryFn"> & {
875
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
876
+ data: {
877
+ id: string;
878
+ code: string;
879
+ status: "void" | "expired" | "active" | "redeemed";
880
+ currency: string;
881
+ initialAmountCents: number;
882
+ remainingAmountCents: number;
883
+ issuedToPersonId: string | null;
884
+ issuedToOrganizationId: string | null;
885
+ sourceType: "manual" | "refund" | "cancellation_credit" | "gift" | "promo";
886
+ sourceBookingId: string | null;
887
+ sourcePaymentId: string | null;
888
+ expiresAt: Date | null;
889
+ notes: string | null;
890
+ issuedByUserId: string | null;
891
+ createdAt: Date;
892
+ updatedAt: Date;
893
+ }[];
894
+ total: number;
895
+ limit: number;
896
+ offset: number;
897
+ }, readonly ["voyant", "finance", "vouchers", "list", import("../query-keys.js").FinanceVoucherListFilters], never> | undefined;
898
+ } & {
899
+ queryKey: readonly ["voyant", "finance", "vouchers", "list", import("../query-keys.js").FinanceVoucherListFilters] & {
900
+ [dataTagSymbol]: {
901
+ data: {
902
+ id: string;
903
+ code: string;
904
+ status: "void" | "expired" | "active" | "redeemed";
905
+ currency: string;
906
+ initialAmountCents: number;
907
+ remainingAmountCents: number;
908
+ issuedToPersonId: string | null;
909
+ issuedToOrganizationId: string | null;
910
+ sourceType: "manual" | "refund" | "cancellation_credit" | "gift" | "promo";
911
+ sourceBookingId: string | null;
912
+ sourcePaymentId: string | null;
913
+ expiresAt: Date | null;
914
+ notes: string | null;
915
+ issuedByUserId: string | null;
916
+ createdAt: Date;
917
+ updatedAt: Date;
918
+ }[];
919
+ total: number;
920
+ limit: number;
921
+ offset: number;
922
+ };
923
+ [dataTagErrorSymbol]: Error;
924
+ };
925
+ };
926
+ export declare function getVoucherQueryOptions(client: FetchWithValidationOptions, id: string | null | undefined, options?: UseVoucherOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
927
+ data: {
928
+ id: string;
929
+ code: string;
930
+ status: "void" | "expired" | "active" | "redeemed";
931
+ currency: string;
932
+ initialAmountCents: number;
933
+ remainingAmountCents: number;
934
+ issuedToPersonId: string | null;
935
+ issuedToOrganizationId: string | null;
936
+ sourceType: "manual" | "refund" | "cancellation_credit" | "gift" | "promo";
937
+ sourceBookingId: string | null;
938
+ sourcePaymentId: string | null;
939
+ expiresAt: Date | null;
940
+ notes: string | null;
941
+ issuedByUserId: string | null;
942
+ createdAt: Date;
943
+ updatedAt: Date;
944
+ redemptions: {
945
+ id: string;
946
+ voucherId: string;
947
+ bookingId: string;
948
+ paymentId: string | null;
949
+ amountCents: number;
950
+ createdByUserId: string | null;
951
+ createdAt: Date;
952
+ }[];
953
+ };
954
+ }, Error, {
955
+ data: {
956
+ id: string;
957
+ code: string;
958
+ status: "void" | "expired" | "active" | "redeemed";
959
+ currency: string;
960
+ initialAmountCents: number;
961
+ remainingAmountCents: number;
962
+ issuedToPersonId: string | null;
963
+ issuedToOrganizationId: string | null;
964
+ sourceType: "manual" | "refund" | "cancellation_credit" | "gift" | "promo";
965
+ sourceBookingId: string | null;
966
+ sourcePaymentId: string | null;
967
+ expiresAt: Date | null;
968
+ notes: string | null;
969
+ issuedByUserId: string | null;
970
+ createdAt: Date;
971
+ updatedAt: Date;
972
+ redemptions: {
973
+ id: string;
974
+ voucherId: string;
975
+ bookingId: string;
976
+ paymentId: string | null;
977
+ amountCents: number;
978
+ createdByUserId: string | null;
979
+ createdAt: Date;
980
+ }[];
981
+ };
982
+ }, readonly ["voyant", "finance", "vouchers", "detail", string]>, "queryFn"> & {
983
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
984
+ data: {
985
+ id: string;
986
+ code: string;
987
+ status: "void" | "expired" | "active" | "redeemed";
988
+ currency: string;
989
+ initialAmountCents: number;
990
+ remainingAmountCents: number;
991
+ issuedToPersonId: string | null;
992
+ issuedToOrganizationId: string | null;
993
+ sourceType: "manual" | "refund" | "cancellation_credit" | "gift" | "promo";
994
+ sourceBookingId: string | null;
995
+ sourcePaymentId: string | null;
996
+ expiresAt: Date | null;
997
+ notes: string | null;
998
+ issuedByUserId: string | null;
999
+ createdAt: Date;
1000
+ updatedAt: Date;
1001
+ redemptions: {
1002
+ id: string;
1003
+ voucherId: string;
1004
+ bookingId: string;
1005
+ paymentId: string | null;
1006
+ amountCents: number;
1007
+ createdByUserId: string | null;
1008
+ createdAt: Date;
1009
+ }[];
1010
+ };
1011
+ }, readonly ["voyant", "finance", "vouchers", "detail", string], never> | undefined;
1012
+ } & {
1013
+ queryKey: readonly ["voyant", "finance", "vouchers", "detail", string] & {
1014
+ [dataTagSymbol]: {
1015
+ data: {
1016
+ id: string;
1017
+ code: string;
1018
+ status: "void" | "expired" | "active" | "redeemed";
1019
+ currency: string;
1020
+ initialAmountCents: number;
1021
+ remainingAmountCents: number;
1022
+ issuedToPersonId: string | null;
1023
+ issuedToOrganizationId: string | null;
1024
+ sourceType: "manual" | "refund" | "cancellation_credit" | "gift" | "promo";
1025
+ sourceBookingId: string | null;
1026
+ sourcePaymentId: string | null;
1027
+ expiresAt: Date | null;
1028
+ notes: string | null;
1029
+ issuedByUserId: string | null;
1030
+ createdAt: Date;
1031
+ updatedAt: Date;
1032
+ redemptions: {
1033
+ id: string;
1034
+ voucherId: string;
1035
+ bookingId: string;
1036
+ paymentId: string | null;
1037
+ amountCents: number;
1038
+ createdByUserId: string | null;
1039
+ createdAt: Date;
1040
+ }[];
1041
+ };
1042
+ };
1043
+ [dataTagErrorSymbol]: Error;
1044
+ };
1045
+ };
1046
+ export declare function getDepartureProfitabilityQueryOptions(client: FetchWithValidationOptions, filters?: FinanceDepartureProfitabilityFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1047
+ data: {
1048
+ rows: {
1049
+ departureId: string;
1050
+ departureLabel: string | null;
1051
+ productId: string | null;
1052
+ productName: string | null;
1053
+ departureDate: string | null;
1054
+ currency: string;
1055
+ revenueCents: number;
1056
+ actualCostCents: number;
1057
+ plannedCostCents: number;
1058
+ profitCents: number;
1059
+ marginPercent: number | null;
1060
+ varianceCents: number;
1061
+ }[];
1062
+ costByServiceType: {
1063
+ serviceType: string;
1064
+ currency: string;
1065
+ amountCents: number;
1066
+ }[];
1067
+ unattributed: {
1068
+ currency: string;
1069
+ amountCents: number;
1070
+ }[];
1071
+ base?: {
1072
+ currency: string;
1073
+ rows: {
1074
+ departureId: string;
1075
+ departureLabel: string | null;
1076
+ productId: string | null;
1077
+ productName: string | null;
1078
+ departureDate: string | null;
1079
+ currency: string;
1080
+ revenueCents: number;
1081
+ actualCostCents: number;
1082
+ plannedCostCents: number;
1083
+ profitCents: number;
1084
+ marginPercent: number | null;
1085
+ varianceCents: number;
1086
+ }[];
1087
+ costByServiceType: {
1088
+ serviceType: string;
1089
+ currency: string;
1090
+ amountCents: number;
1091
+ }[];
1092
+ unattributedCents: number;
1093
+ unconvertibleCurrencies: string[];
1094
+ } | undefined;
1095
+ };
1096
+ }, Error, {
1097
+ data: {
1098
+ rows: {
1099
+ departureId: string;
1100
+ departureLabel: string | null;
1101
+ productId: string | null;
1102
+ productName: string | null;
1103
+ departureDate: string | null;
1104
+ currency: string;
1105
+ revenueCents: number;
1106
+ actualCostCents: number;
1107
+ plannedCostCents: number;
1108
+ profitCents: number;
1109
+ marginPercent: number | null;
1110
+ varianceCents: number;
1111
+ }[];
1112
+ costByServiceType: {
1113
+ serviceType: string;
1114
+ currency: string;
1115
+ amountCents: number;
1116
+ }[];
1117
+ unattributed: {
1118
+ currency: string;
1119
+ amountCents: number;
1120
+ }[];
1121
+ base?: {
1122
+ currency: string;
1123
+ rows: {
1124
+ departureId: string;
1125
+ departureLabel: string | null;
1126
+ productId: string | null;
1127
+ productName: string | null;
1128
+ departureDate: string | null;
1129
+ currency: string;
1130
+ revenueCents: number;
1131
+ actualCostCents: number;
1132
+ plannedCostCents: number;
1133
+ profitCents: number;
1134
+ marginPercent: number | null;
1135
+ varianceCents: number;
1136
+ }[];
1137
+ costByServiceType: {
1138
+ serviceType: string;
1139
+ currency: string;
1140
+ amountCents: number;
1141
+ }[];
1142
+ unattributedCents: number;
1143
+ unconvertibleCurrencies: string[];
1144
+ } | undefined;
1145
+ };
1146
+ }, readonly ["voyant", "finance", "profitability", "departures", FinanceDepartureProfitabilityFilters]>, "queryFn"> & {
1147
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1148
+ data: {
1149
+ rows: {
1150
+ departureId: string;
1151
+ departureLabel: string | null;
1152
+ productId: string | null;
1153
+ productName: string | null;
1154
+ departureDate: string | null;
1155
+ currency: string;
1156
+ revenueCents: number;
1157
+ actualCostCents: number;
1158
+ plannedCostCents: number;
1159
+ profitCents: number;
1160
+ marginPercent: number | null;
1161
+ varianceCents: number;
1162
+ }[];
1163
+ costByServiceType: {
1164
+ serviceType: string;
1165
+ currency: string;
1166
+ amountCents: number;
1167
+ }[];
1168
+ unattributed: {
1169
+ currency: string;
1170
+ amountCents: number;
1171
+ }[];
1172
+ base?: {
1173
+ currency: string;
1174
+ rows: {
1175
+ departureId: string;
1176
+ departureLabel: string | null;
1177
+ productId: string | null;
1178
+ productName: string | null;
1179
+ departureDate: string | null;
1180
+ currency: string;
1181
+ revenueCents: number;
1182
+ actualCostCents: number;
1183
+ plannedCostCents: number;
1184
+ profitCents: number;
1185
+ marginPercent: number | null;
1186
+ varianceCents: number;
1187
+ }[];
1188
+ costByServiceType: {
1189
+ serviceType: string;
1190
+ currency: string;
1191
+ amountCents: number;
1192
+ }[];
1193
+ unattributedCents: number;
1194
+ unconvertibleCurrencies: string[];
1195
+ } | undefined;
1196
+ };
1197
+ }, readonly ["voyant", "finance", "profitability", "departures", FinanceDepartureProfitabilityFilters], never> | undefined;
1198
+ } & {
1199
+ queryKey: readonly ["voyant", "finance", "profitability", "departures", FinanceDepartureProfitabilityFilters] & {
1200
+ [dataTagSymbol]: {
1201
+ data: {
1202
+ rows: {
1203
+ departureId: string;
1204
+ departureLabel: string | null;
1205
+ productId: string | null;
1206
+ productName: string | null;
1207
+ departureDate: string | null;
1208
+ currency: string;
1209
+ revenueCents: number;
1210
+ actualCostCents: number;
1211
+ plannedCostCents: number;
1212
+ profitCents: number;
1213
+ marginPercent: number | null;
1214
+ varianceCents: number;
1215
+ }[];
1216
+ costByServiceType: {
1217
+ serviceType: string;
1218
+ currency: string;
1219
+ amountCents: number;
1220
+ }[];
1221
+ unattributed: {
1222
+ currency: string;
1223
+ amountCents: number;
1224
+ }[];
1225
+ base?: {
1226
+ currency: string;
1227
+ rows: {
1228
+ departureId: string;
1229
+ departureLabel: string | null;
1230
+ productId: string | null;
1231
+ productName: string | null;
1232
+ departureDate: string | null;
1233
+ currency: string;
1234
+ revenueCents: number;
1235
+ actualCostCents: number;
1236
+ plannedCostCents: number;
1237
+ profitCents: number;
1238
+ marginPercent: number | null;
1239
+ varianceCents: number;
1240
+ }[];
1241
+ costByServiceType: {
1242
+ serviceType: string;
1243
+ currency: string;
1244
+ amountCents: number;
1245
+ }[];
1246
+ unattributedCents: number;
1247
+ unconvertibleCurrencies: string[];
1248
+ } | undefined;
1249
+ };
1250
+ };
1251
+ [dataTagErrorSymbol]: Error;
1252
+ };
1253
+ };
1254
+ export declare function getProductProfitabilityQueryOptions(client: FetchWithValidationOptions, filters?: FinanceProductProfitabilityFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1255
+ data: {
1256
+ rows: {
1257
+ productId: string;
1258
+ productName: string | null;
1259
+ currency: string;
1260
+ departureCount: number;
1261
+ revenueCents: number;
1262
+ actualCostCents: number;
1263
+ plannedCostCents: number;
1264
+ profitCents: number;
1265
+ marginPercent: number | null;
1266
+ varianceCents: number;
1267
+ }[];
1268
+ costByServiceType: {
1269
+ serviceType: string;
1270
+ currency: string;
1271
+ amountCents: number;
1272
+ }[];
1273
+ unattributed: {
1274
+ currency: string;
1275
+ amountCents: number;
1276
+ }[];
1277
+ base?: {
1278
+ currency: string;
1279
+ rows: {
1280
+ productId: string;
1281
+ productName: string | null;
1282
+ currency: string;
1283
+ departureCount: number;
1284
+ revenueCents: number;
1285
+ actualCostCents: number;
1286
+ plannedCostCents: number;
1287
+ profitCents: number;
1288
+ marginPercent: number | null;
1289
+ varianceCents: number;
1290
+ }[];
1291
+ costByServiceType: {
1292
+ serviceType: string;
1293
+ currency: string;
1294
+ amountCents: number;
1295
+ }[];
1296
+ unattributedCents: number;
1297
+ unconvertibleCurrencies: string[];
1298
+ } | undefined;
1299
+ };
1300
+ }, Error, {
1301
+ data: {
1302
+ rows: {
1303
+ productId: string;
1304
+ productName: string | null;
1305
+ currency: string;
1306
+ departureCount: number;
1307
+ revenueCents: number;
1308
+ actualCostCents: number;
1309
+ plannedCostCents: number;
1310
+ profitCents: number;
1311
+ marginPercent: number | null;
1312
+ varianceCents: number;
1313
+ }[];
1314
+ costByServiceType: {
1315
+ serviceType: string;
1316
+ currency: string;
1317
+ amountCents: number;
1318
+ }[];
1319
+ unattributed: {
1320
+ currency: string;
1321
+ amountCents: number;
1322
+ }[];
1323
+ base?: {
1324
+ currency: string;
1325
+ rows: {
1326
+ productId: string;
1327
+ productName: string | null;
1328
+ currency: string;
1329
+ departureCount: number;
1330
+ revenueCents: number;
1331
+ actualCostCents: number;
1332
+ plannedCostCents: number;
1333
+ profitCents: number;
1334
+ marginPercent: number | null;
1335
+ varianceCents: number;
1336
+ }[];
1337
+ costByServiceType: {
1338
+ serviceType: string;
1339
+ currency: string;
1340
+ amountCents: number;
1341
+ }[];
1342
+ unattributedCents: number;
1343
+ unconvertibleCurrencies: string[];
1344
+ } | undefined;
1345
+ };
1346
+ }, readonly ["voyant", "finance", "profitability", "products", FinanceProductProfitabilityFilters]>, "queryFn"> & {
1347
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1348
+ data: {
1349
+ rows: {
1350
+ productId: string;
1351
+ productName: string | null;
1352
+ currency: string;
1353
+ departureCount: number;
1354
+ revenueCents: number;
1355
+ actualCostCents: number;
1356
+ plannedCostCents: number;
1357
+ profitCents: number;
1358
+ marginPercent: number | null;
1359
+ varianceCents: number;
1360
+ }[];
1361
+ costByServiceType: {
1362
+ serviceType: string;
1363
+ currency: string;
1364
+ amountCents: number;
1365
+ }[];
1366
+ unattributed: {
1367
+ currency: string;
1368
+ amountCents: number;
1369
+ }[];
1370
+ base?: {
1371
+ currency: string;
1372
+ rows: {
1373
+ productId: string;
1374
+ productName: string | null;
1375
+ currency: string;
1376
+ departureCount: number;
1377
+ revenueCents: number;
1378
+ actualCostCents: number;
1379
+ plannedCostCents: number;
1380
+ profitCents: number;
1381
+ marginPercent: number | null;
1382
+ varianceCents: number;
1383
+ }[];
1384
+ costByServiceType: {
1385
+ serviceType: string;
1386
+ currency: string;
1387
+ amountCents: number;
1388
+ }[];
1389
+ unattributedCents: number;
1390
+ unconvertibleCurrencies: string[];
1391
+ } | undefined;
1392
+ };
1393
+ }, readonly ["voyant", "finance", "profitability", "products", FinanceProductProfitabilityFilters], never> | undefined;
1394
+ } & {
1395
+ queryKey: readonly ["voyant", "finance", "profitability", "products", FinanceProductProfitabilityFilters] & {
1396
+ [dataTagSymbol]: {
1397
+ data: {
1398
+ rows: {
1399
+ productId: string;
1400
+ productName: string | null;
1401
+ currency: string;
1402
+ departureCount: number;
1403
+ revenueCents: number;
1404
+ actualCostCents: number;
1405
+ plannedCostCents: number;
1406
+ profitCents: number;
1407
+ marginPercent: number | null;
1408
+ varianceCents: number;
1409
+ }[];
1410
+ costByServiceType: {
1411
+ serviceType: string;
1412
+ currency: string;
1413
+ amountCents: number;
1414
+ }[];
1415
+ unattributed: {
1416
+ currency: string;
1417
+ amountCents: number;
1418
+ }[];
1419
+ base?: {
1420
+ currency: string;
1421
+ rows: {
1422
+ productId: string;
1423
+ productName: string | null;
1424
+ currency: string;
1425
+ departureCount: number;
1426
+ revenueCents: number;
1427
+ actualCostCents: number;
1428
+ plannedCostCents: number;
1429
+ profitCents: number;
1430
+ marginPercent: number | null;
1431
+ varianceCents: number;
1432
+ }[];
1433
+ costByServiceType: {
1434
+ serviceType: string;
1435
+ currency: string;
1436
+ amountCents: number;
1437
+ }[];
1438
+ unattributedCents: number;
1439
+ unconvertibleCurrencies: string[];
1440
+ } | undefined;
1441
+ };
1442
+ };
1443
+ [dataTagErrorSymbol]: Error;
1444
+ };
1445
+ };
1446
+ export declare function getTravelerProfitabilityQueryOptions(client: FetchWithValidationOptions, filters: FinanceTravelerProfitabilityFilters): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1447
+ data: {
1448
+ departureId: string;
1449
+ currency: string;
1450
+ travelerCount: number;
1451
+ rows: {
1452
+ travelerId: string;
1453
+ travelerName: string;
1454
+ bookingId: string;
1455
+ currency: string;
1456
+ revenueCents: number;
1457
+ actualCostCents: number;
1458
+ plannedCostCents: number;
1459
+ profitCents: number;
1460
+ marginPercent: number | null;
1461
+ varianceCents: number;
1462
+ }[];
1463
+ };
1464
+ }, Error, {
1465
+ data: {
1466
+ departureId: string;
1467
+ currency: string;
1468
+ travelerCount: number;
1469
+ rows: {
1470
+ travelerId: string;
1471
+ travelerName: string;
1472
+ bookingId: string;
1473
+ currency: string;
1474
+ revenueCents: number;
1475
+ actualCostCents: number;
1476
+ plannedCostCents: number;
1477
+ profitCents: number;
1478
+ marginPercent: number | null;
1479
+ varianceCents: number;
1480
+ }[];
1481
+ };
1482
+ }, readonly ["voyant", "finance", "profitability", "travelers", FinanceTravelerProfitabilityFilters]>, "queryFn"> & {
1483
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1484
+ data: {
1485
+ departureId: string;
1486
+ currency: string;
1487
+ travelerCount: number;
1488
+ rows: {
1489
+ travelerId: string;
1490
+ travelerName: string;
1491
+ bookingId: string;
1492
+ currency: string;
1493
+ revenueCents: number;
1494
+ actualCostCents: number;
1495
+ plannedCostCents: number;
1496
+ profitCents: number;
1497
+ marginPercent: number | null;
1498
+ varianceCents: number;
1499
+ }[];
1500
+ };
1501
+ }, readonly ["voyant", "finance", "profitability", "travelers", FinanceTravelerProfitabilityFilters], never> | undefined;
1502
+ } & {
1503
+ queryKey: readonly ["voyant", "finance", "profitability", "travelers", FinanceTravelerProfitabilityFilters] & {
1504
+ [dataTagSymbol]: {
1505
+ data: {
1506
+ departureId: string;
1507
+ currency: string;
1508
+ travelerCount: number;
1509
+ rows: {
1510
+ travelerId: string;
1511
+ travelerName: string;
1512
+ bookingId: string;
1513
+ currency: string;
1514
+ revenueCents: number;
1515
+ actualCostCents: number;
1516
+ plannedCostCents: number;
1517
+ profitCents: number;
1518
+ marginPercent: number | null;
1519
+ varianceCents: number;
1520
+ }[];
1521
+ };
1522
+ };
1523
+ [dataTagErrorSymbol]: Error;
1524
+ };
1525
+ };
1526
+ export declare function getCostCategoriesQueryOptions(client: FetchWithValidationOptions, options?: {
1527
+ includeArchived?: boolean;
1528
+ }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1529
+ data: {
1530
+ id: string;
1531
+ name: string;
1532
+ sortOrder: number;
1533
+ archived: boolean;
1534
+ createdAt: string;
1535
+ updatedAt: string;
1536
+ }[];
1537
+ }, Error, {
1538
+ data: {
1539
+ id: string;
1540
+ name: string;
1541
+ sortOrder: number;
1542
+ archived: boolean;
1543
+ createdAt: string;
1544
+ updatedAt: string;
1545
+ }[];
1546
+ }, readonly ["voyant", "finance", "cost-categories"]>, "queryFn"> & {
1547
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1548
+ data: {
1549
+ id: string;
1550
+ name: string;
1551
+ sortOrder: number;
1552
+ archived: boolean;
1553
+ createdAt: string;
1554
+ updatedAt: string;
1555
+ }[];
1556
+ }, readonly ["voyant", "finance", "cost-categories"], never> | undefined;
1557
+ } & {
1558
+ queryKey: readonly ["voyant", "finance", "cost-categories"] & {
1559
+ [dataTagSymbol]: {
1560
+ data: {
1561
+ id: string;
1562
+ name: string;
1563
+ sortOrder: number;
1564
+ archived: boolean;
1565
+ createdAt: string;
1566
+ updatedAt: string;
1567
+ }[];
1568
+ };
1569
+ [dataTagErrorSymbol]: Error;
1570
+ };
1571
+ };
1572
+ export declare function getAccountantSharesQueryOptions(client: FetchWithValidationOptions): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1573
+ data: {
1574
+ from: string | null;
1575
+ to: string | null;
1576
+ baseCurrency: string | null;
1577
+ id: string;
1578
+ createdAt: string;
1579
+ expiresAt: string;
1580
+ lastAccessedAt: string | null;
1581
+ accessCount: number;
1582
+ }[];
1583
+ }, Error, {
1584
+ data: {
1585
+ from: string | null;
1586
+ to: string | null;
1587
+ baseCurrency: string | null;
1588
+ id: string;
1589
+ createdAt: string;
1590
+ expiresAt: string;
1591
+ lastAccessedAt: string | null;
1592
+ accessCount: number;
1593
+ }[];
1594
+ }, readonly ["voyant", "finance", "accountant-shares"]>, "queryFn"> & {
1595
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1596
+ data: {
1597
+ from: string | null;
1598
+ to: string | null;
1599
+ baseCurrency: string | null;
1600
+ id: string;
1601
+ createdAt: string;
1602
+ expiresAt: string;
1603
+ lastAccessedAt: string | null;
1604
+ accessCount: number;
1605
+ }[];
1606
+ }, readonly ["voyant", "finance", "accountant-shares"], never> | undefined;
1607
+ } & {
1608
+ queryKey: readonly ["voyant", "finance", "accountant-shares"] & {
1609
+ [dataTagSymbol]: {
1610
+ data: {
1611
+ from: string | null;
1612
+ to: string | null;
1613
+ baseCurrency: string | null;
1614
+ id: string;
1615
+ createdAt: string;
1616
+ expiresAt: string;
1617
+ lastAccessedAt: string | null;
1618
+ accessCount: number;
1619
+ }[];
1620
+ };
1621
+ [dataTagErrorSymbol]: Error;
1622
+ };
1623
+ };
1624
+ /** Public portal — `client` is an unauthenticated fetcher; `token` is the credential. */
1625
+ export declare function getAccountantSummaryQueryOptions(client: FetchWithValidationOptions, token: string, baseCurrency?: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1626
+ data: {
1627
+ scope: {
1628
+ from: string | null;
1629
+ to: string | null;
1630
+ baseCurrency: string | null;
1631
+ };
1632
+ departures: {
1633
+ rows: {
1634
+ departureId: string;
1635
+ departureLabel: string | null;
1636
+ productId: string | null;
1637
+ productName: string | null;
1638
+ departureDate: string | null;
1639
+ currency: string;
1640
+ revenueCents: number;
1641
+ actualCostCents: number;
1642
+ plannedCostCents: number;
1643
+ profitCents: number;
1644
+ marginPercent: number | null;
1645
+ varianceCents: number;
1646
+ }[];
1647
+ costByServiceType: {
1648
+ serviceType: string;
1649
+ currency: string;
1650
+ amountCents: number;
1651
+ }[];
1652
+ unattributed: {
1653
+ currency: string;
1654
+ amountCents: number;
1655
+ }[];
1656
+ base?: {
1657
+ currency: string;
1658
+ rows: {
1659
+ departureId: string;
1660
+ departureLabel: string | null;
1661
+ productId: string | null;
1662
+ productName: string | null;
1663
+ departureDate: string | null;
1664
+ currency: string;
1665
+ revenueCents: number;
1666
+ actualCostCents: number;
1667
+ plannedCostCents: number;
1668
+ profitCents: number;
1669
+ marginPercent: number | null;
1670
+ varianceCents: number;
1671
+ }[];
1672
+ costByServiceType: {
1673
+ serviceType: string;
1674
+ currency: string;
1675
+ amountCents: number;
1676
+ }[];
1677
+ unattributedCents: number;
1678
+ unconvertibleCurrencies: string[];
1679
+ } | undefined;
1680
+ };
1681
+ products: {
1682
+ rows: {
1683
+ productId: string;
1684
+ productName: string | null;
1685
+ currency: string;
1686
+ departureCount: number;
1687
+ revenueCents: number;
1688
+ actualCostCents: number;
1689
+ plannedCostCents: number;
1690
+ profitCents: number;
1691
+ marginPercent: number | null;
1692
+ varianceCents: number;
1693
+ }[];
1694
+ costByServiceType: {
1695
+ serviceType: string;
1696
+ currency: string;
1697
+ amountCents: number;
1698
+ }[];
1699
+ unattributed: {
1700
+ currency: string;
1701
+ amountCents: number;
1702
+ }[];
1703
+ base?: {
1704
+ currency: string;
1705
+ rows: {
1706
+ productId: string;
1707
+ productName: string | null;
1708
+ currency: string;
1709
+ departureCount: number;
1710
+ revenueCents: number;
1711
+ actualCostCents: number;
1712
+ plannedCostCents: number;
1713
+ profitCents: number;
1714
+ marginPercent: number | null;
1715
+ varianceCents: number;
1716
+ }[];
1717
+ costByServiceType: {
1718
+ serviceType: string;
1719
+ currency: string;
1720
+ amountCents: number;
1721
+ }[];
1722
+ unattributedCents: number;
1723
+ unconvertibleCurrencies: string[];
1724
+ } | undefined;
1725
+ };
1726
+ };
1727
+ }, Error, {
1728
+ data: {
1729
+ scope: {
1730
+ from: string | null;
1731
+ to: string | null;
1732
+ baseCurrency: string | null;
1733
+ };
1734
+ departures: {
1735
+ rows: {
1736
+ departureId: string;
1737
+ departureLabel: string | null;
1738
+ productId: string | null;
1739
+ productName: string | null;
1740
+ departureDate: string | null;
1741
+ currency: string;
1742
+ revenueCents: number;
1743
+ actualCostCents: number;
1744
+ plannedCostCents: number;
1745
+ profitCents: number;
1746
+ marginPercent: number | null;
1747
+ varianceCents: number;
1748
+ }[];
1749
+ costByServiceType: {
1750
+ serviceType: string;
1751
+ currency: string;
1752
+ amountCents: number;
1753
+ }[];
1754
+ unattributed: {
1755
+ currency: string;
1756
+ amountCents: number;
1757
+ }[];
1758
+ base?: {
1759
+ currency: string;
1760
+ rows: {
1761
+ departureId: string;
1762
+ departureLabel: string | null;
1763
+ productId: string | null;
1764
+ productName: string | null;
1765
+ departureDate: string | null;
1766
+ currency: string;
1767
+ revenueCents: number;
1768
+ actualCostCents: number;
1769
+ plannedCostCents: number;
1770
+ profitCents: number;
1771
+ marginPercent: number | null;
1772
+ varianceCents: number;
1773
+ }[];
1774
+ costByServiceType: {
1775
+ serviceType: string;
1776
+ currency: string;
1777
+ amountCents: number;
1778
+ }[];
1779
+ unattributedCents: number;
1780
+ unconvertibleCurrencies: string[];
1781
+ } | undefined;
1782
+ };
1783
+ products: {
1784
+ rows: {
1785
+ productId: string;
1786
+ productName: string | null;
1787
+ currency: string;
1788
+ departureCount: number;
1789
+ revenueCents: number;
1790
+ actualCostCents: number;
1791
+ plannedCostCents: number;
1792
+ profitCents: number;
1793
+ marginPercent: number | null;
1794
+ varianceCents: number;
1795
+ }[];
1796
+ costByServiceType: {
1797
+ serviceType: string;
1798
+ currency: string;
1799
+ amountCents: number;
1800
+ }[];
1801
+ unattributed: {
1802
+ currency: string;
1803
+ amountCents: number;
1804
+ }[];
1805
+ base?: {
1806
+ currency: string;
1807
+ rows: {
1808
+ productId: string;
1809
+ productName: string | null;
1810
+ currency: string;
1811
+ departureCount: number;
1812
+ revenueCents: number;
1813
+ actualCostCents: number;
1814
+ plannedCostCents: number;
1815
+ profitCents: number;
1816
+ marginPercent: number | null;
1817
+ varianceCents: number;
1818
+ }[];
1819
+ costByServiceType: {
1820
+ serviceType: string;
1821
+ currency: string;
1822
+ amountCents: number;
1823
+ }[];
1824
+ unattributedCents: number;
1825
+ unconvertibleCurrencies: string[];
1826
+ } | undefined;
1827
+ };
1828
+ };
1829
+ }, readonly ["voyant", "finance", "accountant-portal", string, "summary", string]>, "queryFn"> & {
1830
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
1831
+ data: {
1832
+ scope: {
1833
+ from: string | null;
1834
+ to: string | null;
1835
+ baseCurrency: string | null;
1836
+ };
1837
+ departures: {
1838
+ rows: {
1839
+ departureId: string;
1840
+ departureLabel: string | null;
1841
+ productId: string | null;
1842
+ productName: string | null;
1843
+ departureDate: string | null;
1844
+ currency: string;
1845
+ revenueCents: number;
1846
+ actualCostCents: number;
1847
+ plannedCostCents: number;
1848
+ profitCents: number;
1849
+ marginPercent: number | null;
1850
+ varianceCents: number;
1851
+ }[];
1852
+ costByServiceType: {
1853
+ serviceType: string;
1854
+ currency: string;
1855
+ amountCents: number;
1856
+ }[];
1857
+ unattributed: {
1858
+ currency: string;
1859
+ amountCents: number;
1860
+ }[];
1861
+ base?: {
1862
+ currency: string;
1863
+ rows: {
1864
+ departureId: string;
1865
+ departureLabel: string | null;
1866
+ productId: string | null;
1867
+ productName: string | null;
1868
+ departureDate: string | null;
1869
+ currency: string;
1870
+ revenueCents: number;
1871
+ actualCostCents: number;
1872
+ plannedCostCents: number;
1873
+ profitCents: number;
1874
+ marginPercent: number | null;
1875
+ varianceCents: number;
1876
+ }[];
1877
+ costByServiceType: {
1878
+ serviceType: string;
1879
+ currency: string;
1880
+ amountCents: number;
1881
+ }[];
1882
+ unattributedCents: number;
1883
+ unconvertibleCurrencies: string[];
1884
+ } | undefined;
1885
+ };
1886
+ products: {
1887
+ rows: {
1888
+ productId: string;
1889
+ productName: string | null;
1890
+ currency: string;
1891
+ departureCount: number;
1892
+ revenueCents: number;
1893
+ actualCostCents: number;
1894
+ plannedCostCents: number;
1895
+ profitCents: number;
1896
+ marginPercent: number | null;
1897
+ varianceCents: number;
1898
+ }[];
1899
+ costByServiceType: {
1900
+ serviceType: string;
1901
+ currency: string;
1902
+ amountCents: number;
1903
+ }[];
1904
+ unattributed: {
1905
+ currency: string;
1906
+ amountCents: number;
1907
+ }[];
1908
+ base?: {
1909
+ currency: string;
1910
+ rows: {
1911
+ productId: string;
1912
+ productName: string | null;
1913
+ currency: string;
1914
+ departureCount: number;
1915
+ revenueCents: number;
1916
+ actualCostCents: number;
1917
+ plannedCostCents: number;
1918
+ profitCents: number;
1919
+ marginPercent: number | null;
1920
+ varianceCents: number;
1921
+ }[];
1922
+ costByServiceType: {
1923
+ serviceType: string;
1924
+ currency: string;
1925
+ amountCents: number;
1926
+ }[];
1927
+ unattributedCents: number;
1928
+ unconvertibleCurrencies: string[];
1929
+ } | undefined;
1930
+ };
1931
+ };
1932
+ }, readonly ["voyant", "finance", "accountant-portal", string, "summary", string], never> | undefined;
1933
+ } & {
1934
+ queryKey: readonly ["voyant", "finance", "accountant-portal", string, "summary", string] & {
1935
+ [dataTagSymbol]: {
1936
+ data: {
1937
+ scope: {
1938
+ from: string | null;
1939
+ to: string | null;
1940
+ baseCurrency: string | null;
1941
+ };
1942
+ departures: {
1943
+ rows: {
1944
+ departureId: string;
1945
+ departureLabel: string | null;
1946
+ productId: string | null;
1947
+ productName: string | null;
1948
+ departureDate: string | null;
1949
+ currency: string;
1950
+ revenueCents: number;
1951
+ actualCostCents: number;
1952
+ plannedCostCents: number;
1953
+ profitCents: number;
1954
+ marginPercent: number | null;
1955
+ varianceCents: number;
1956
+ }[];
1957
+ costByServiceType: {
1958
+ serviceType: string;
1959
+ currency: string;
1960
+ amountCents: number;
1961
+ }[];
1962
+ unattributed: {
1963
+ currency: string;
1964
+ amountCents: number;
1965
+ }[];
1966
+ base?: {
1967
+ currency: string;
1968
+ rows: {
1969
+ departureId: string;
1970
+ departureLabel: string | null;
1971
+ productId: string | null;
1972
+ productName: string | null;
1973
+ departureDate: string | null;
1974
+ currency: string;
1975
+ revenueCents: number;
1976
+ actualCostCents: number;
1977
+ plannedCostCents: number;
1978
+ profitCents: number;
1979
+ marginPercent: number | null;
1980
+ varianceCents: number;
1981
+ }[];
1982
+ costByServiceType: {
1983
+ serviceType: string;
1984
+ currency: string;
1985
+ amountCents: number;
1986
+ }[];
1987
+ unattributedCents: number;
1988
+ unconvertibleCurrencies: string[];
1989
+ } | undefined;
1990
+ };
1991
+ products: {
1992
+ rows: {
1993
+ productId: string;
1994
+ productName: string | null;
1995
+ currency: string;
1996
+ departureCount: number;
1997
+ revenueCents: number;
1998
+ actualCostCents: number;
1999
+ plannedCostCents: number;
2000
+ profitCents: number;
2001
+ marginPercent: number | null;
2002
+ varianceCents: number;
2003
+ }[];
2004
+ costByServiceType: {
2005
+ serviceType: string;
2006
+ currency: string;
2007
+ amountCents: number;
2008
+ }[];
2009
+ unattributed: {
2010
+ currency: string;
2011
+ amountCents: number;
2012
+ }[];
2013
+ base?: {
2014
+ currency: string;
2015
+ rows: {
2016
+ productId: string;
2017
+ productName: string | null;
2018
+ currency: string;
2019
+ departureCount: number;
2020
+ revenueCents: number;
2021
+ actualCostCents: number;
2022
+ plannedCostCents: number;
2023
+ profitCents: number;
2024
+ marginPercent: number | null;
2025
+ varianceCents: number;
2026
+ }[];
2027
+ costByServiceType: {
2028
+ serviceType: string;
2029
+ currency: string;
2030
+ amountCents: number;
2031
+ }[];
2032
+ unattributedCents: number;
2033
+ unconvertibleCurrencies: string[];
2034
+ } | undefined;
2035
+ };
2036
+ };
2037
+ };
2038
+ [dataTagErrorSymbol]: Error;
2039
+ };
2040
+ };
2041
+ export declare function getAccountantInvoicesQueryOptions(client: FetchWithValidationOptions, token: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
2042
+ data: {
2043
+ id: string;
2044
+ kind: "client" | "supplier";
2045
+ invoiceNumber: string;
2046
+ status: string;
2047
+ currency: string;
2048
+ totalCents: number;
2049
+ paidCents: number;
2050
+ balanceDueCents: number;
2051
+ issueDate: string;
2052
+ dueDate: string | null;
2053
+ attachments: {
2054
+ id: string;
2055
+ name: string;
2056
+ mimeType: string | null;
2057
+ fileSize: number | null;
2058
+ hasFile: boolean;
2059
+ }[];
2060
+ }[];
2061
+ }, Error, {
2062
+ data: {
2063
+ id: string;
2064
+ kind: "client" | "supplier";
2065
+ invoiceNumber: string;
2066
+ status: string;
2067
+ currency: string;
2068
+ totalCents: number;
2069
+ paidCents: number;
2070
+ balanceDueCents: number;
2071
+ issueDate: string;
2072
+ dueDate: string | null;
2073
+ attachments: {
2074
+ id: string;
2075
+ name: string;
2076
+ mimeType: string | null;
2077
+ fileSize: number | null;
2078
+ hasFile: boolean;
2079
+ }[];
2080
+ }[];
2081
+ }, readonly ["voyant", "finance", "accountant-portal", string, "invoices"]>, "queryFn"> & {
2082
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
2083
+ data: {
2084
+ id: string;
2085
+ kind: "client" | "supplier";
2086
+ invoiceNumber: string;
2087
+ status: string;
2088
+ currency: string;
2089
+ totalCents: number;
2090
+ paidCents: number;
2091
+ balanceDueCents: number;
2092
+ issueDate: string;
2093
+ dueDate: string | null;
2094
+ attachments: {
2095
+ id: string;
2096
+ name: string;
2097
+ mimeType: string | null;
2098
+ fileSize: number | null;
2099
+ hasFile: boolean;
2100
+ }[];
2101
+ }[];
2102
+ }, readonly ["voyant", "finance", "accountant-portal", string, "invoices"], never> | undefined;
2103
+ } & {
2104
+ queryKey: readonly ["voyant", "finance", "accountant-portal", string, "invoices"] & {
2105
+ [dataTagSymbol]: {
2106
+ data: {
2107
+ id: string;
2108
+ kind: "client" | "supplier";
2109
+ invoiceNumber: string;
2110
+ status: string;
2111
+ currency: string;
2112
+ totalCents: number;
2113
+ paidCents: number;
2114
+ balanceDueCents: number;
2115
+ issueDate: string;
2116
+ dueDate: string | null;
2117
+ attachments: {
2118
+ id: string;
2119
+ name: string;
2120
+ mimeType: string | null;
2121
+ fileSize: number | null;
2122
+ hasFile: boolean;
2123
+ }[];
2124
+ }[];
2125
+ };
2126
+ [dataTagErrorSymbol]: Error;
2127
+ };
2128
+ };
2129
+ //# sourceMappingURL=public-reporting.d.ts.map