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