@voyant-travel/finance 0.167.0 → 0.168.0

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 (196) hide show
  1. package/README.md +23 -9
  2. package/dist/action-ledger-drift.d.ts.map +1 -0
  3. package/dist/booking-lifecycle.d.ts.map +1 -0
  4. package/dist/booking-schedule/subscriber-runtime.d.ts.map +1 -0
  5. package/dist/booking-tax.d.ts +31 -19
  6. package/dist/booking-tax.d.ts.map +1 -0
  7. package/dist/booking-tax.js +48 -15
  8. package/dist/card-payment.d.ts.map +1 -0
  9. package/dist/checkout-routes.d.ts +294 -294
  10. package/dist/checkout-routes.d.ts.map +1 -0
  11. package/dist/checkout-service-plan.d.ts +2 -2
  12. package/dist/checkout-service-plan.d.ts.map +1 -0
  13. package/dist/checkout-service.d.ts.map +1 -0
  14. package/dist/checkout-validation.d.ts.map +1 -0
  15. package/dist/document-download.d.ts.map +1 -0
  16. package/dist/fx-money.d.ts.map +1 -0
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.d.ts.map +1 -0
  19. package/dist/index.js +3 -3
  20. package/dist/invoice-fx.d.ts.map +1 -0
  21. package/dist/invoice-number-errors.d.ts.map +1 -0
  22. package/dist/linkables.d.ts.map +1 -0
  23. package/dist/markets-ref.d.ts.map +1 -0
  24. package/dist/mcp-runtime.d.ts.map +1 -0
  25. package/dist/order-payment-sessions.d.ts.map +1 -0
  26. package/dist/payment-adapter-events.d.ts +3 -3
  27. package/dist/payment-link.d.ts.map +1 -0
  28. package/dist/payment-policy-cascade.d.ts.map +1 -0
  29. package/dist/payment-policy.d.ts.map +1 -0
  30. package/dist/payment-schedule/routes.d.ts +2 -2
  31. package/dist/payment-schedule/routes.d.ts.map +1 -0
  32. package/dist/route-runtime.d.ts.map +1 -0
  33. package/dist/routes-action-ledger.d.ts +25 -25
  34. package/dist/routes-action-ledger.d.ts.map +1 -0
  35. package/dist/routes-booking-billing.d.ts +95 -95
  36. package/dist/routes-booking-billing.d.ts.map +1 -0
  37. package/dist/routes-booking-create.d.ts.map +1 -0
  38. package/dist/routes-booking-reads.d.ts +13 -13
  39. package/dist/routes-booking-reads.d.ts.map +1 -0
  40. package/dist/routes-documents.d.ts +11 -11
  41. package/dist/routes-documents.d.ts.map +1 -0
  42. package/dist/routes-invoice-core.d.ts +87 -87
  43. package/dist/routes-invoice-core.d.ts.map +1 -0
  44. package/dist/routes-invoice-documents.d.ts +16 -16
  45. package/dist/routes-invoice-documents.d.ts.map +1 -0
  46. package/dist/routes-invoice-issue.d.ts.map +1 -0
  47. package/dist/routes-invoice-schemas.d.ts +20 -20
  48. package/dist/routes-invoice-schemas.d.ts.map +1 -0
  49. package/dist/routes-payment-processing.d.ts +152 -152
  50. package/dist/routes-payment-processing.d.ts.map +1 -0
  51. package/dist/routes-payment-schemas.d.ts +17 -17
  52. package/dist/routes-payment-schemas.d.ts.map +1 -0
  53. package/dist/routes-payments.d.ts +64 -64
  54. package/dist/routes-payments.d.ts.map +1 -0
  55. package/dist/routes-public-accountant.d.ts +19 -19
  56. package/dist/routes-public.d.ts +102 -102
  57. package/dist/routes-public.d.ts.map +1 -0
  58. package/dist/routes-reference-data.d.ts +33 -33
  59. package/dist/routes-reference-data.d.ts.map +1 -0
  60. package/dist/routes-reports.d.ts +11 -11
  61. package/dist/routes-reports.d.ts.map +1 -0
  62. package/dist/routes-runtime.d.ts +1 -1
  63. package/dist/routes-runtime.d.ts.map +1 -0
  64. package/dist/routes-settlement.d.ts +12 -12
  65. package/dist/routes-settlement.d.ts.map +1 -0
  66. package/dist/routes-shared.d.ts.map +1 -0
  67. package/dist/routes-supplier-invoices.d.ts +75 -75
  68. package/dist/routes-supplier-invoices.d.ts.map +1 -0
  69. package/dist/routes-travel-credits.d.ts +4 -4
  70. package/dist/routes-vouchers.d.ts +401 -0
  71. package/dist/routes-vouchers.d.ts.map +1 -0
  72. package/dist/routes-vouchers.js +176 -0
  73. package/dist/routes.d.ts +477 -477
  74. package/dist/routes.d.ts.map +1 -0
  75. package/dist/runtime-contributor.d.ts.map +1 -0
  76. package/dist/runtime-port.d.ts +20 -24
  77. package/dist/runtime-port.d.ts.map +1 -0
  78. package/dist/runtime-port.js +10 -11
  79. package/dist/runtime.d.ts.map +1 -0
  80. package/dist/schema/booking-billing.d.ts +5 -5
  81. package/dist/schema/booking-billing.d.ts.map +1 -0
  82. package/dist/schema/enums.d.ts.map +1 -0
  83. package/dist/schema/invoice-documents.d.ts +1 -1
  84. package/dist/schema/invoice-documents.d.ts.map +1 -0
  85. package/dist/schema/payment-instruments.d.ts +1 -1
  86. package/dist/schema/payment-instruments.d.ts.map +1 -0
  87. package/dist/schema/payment-processing.d.ts +3 -3
  88. package/dist/schema/payment-processing.d.ts.map +1 -0
  89. package/dist/schema/payment-sessions.d.ts +3 -3
  90. package/dist/schema/payment-sessions.d.ts.map +1 -0
  91. package/dist/schema/receivables.d.ts +3 -3
  92. package/dist/schema/receivables.d.ts.map +1 -0
  93. package/dist/schema/relations.d.ts.map +1 -0
  94. package/dist/schema/supplier-invoices.d.ts +5 -5
  95. package/dist/schema/supplier-invoices.d.ts.map +1 -0
  96. package/dist/schema/tax.d.ts +1 -1
  97. package/dist/schema/tax.d.ts.map +1 -0
  98. package/dist/schema/vouchers.d.ts +444 -0
  99. package/dist/schema/vouchers.d.ts.map +1 -0
  100. package/dist/schema/vouchers.js +64 -0
  101. package/dist/schema.d.ts.map +1 -0
  102. package/dist/service-accountant-shares.d.ts.map +1 -0
  103. package/dist/service-action-ledger-accounting.d.ts.map +1 -0
  104. package/dist/service-action-ledger-booking-payments.d.ts.map +1 -0
  105. package/dist/service-action-ledger-bookings.d.ts.map +1 -0
  106. package/dist/service-action-ledger-payment-authorizations.d.ts.map +1 -0
  107. package/dist/service-action-ledger-payment-sessions.d.ts.map +1 -0
  108. package/dist/service-action-ledger-supplier-invoices.d.ts.map +1 -0
  109. package/dist/service-action-ledger-supplier-payments.d.ts.map +1 -0
  110. package/dist/service-action-ledger.d.ts.map +1 -0
  111. package/dist/service-aggregates.d.ts.map +1 -0
  112. package/dist/service-booking-billing.d.ts +111 -111
  113. package/dist/service-booking-billing.d.ts.map +1 -0
  114. package/dist/service-booking-create.d.ts +11 -11
  115. package/dist/service-booking-create.d.ts.map +1 -0
  116. package/dist/service-booking-guarantees.d.ts +34 -34
  117. package/dist/service-booking-guarantees.d.ts.map +1 -0
  118. package/dist/service-booking-item-billing.d.ts +21 -21
  119. package/dist/service-booking-item-billing.d.ts.map +1 -0
  120. package/dist/service-booking-payment-schedules.d.ts +56 -56
  121. package/dist/service-booking-payment-schedules.d.ts.map +1 -0
  122. package/dist/service-bookings-dual-create.d.ts +22 -22
  123. package/dist/service-bookings-dual-create.d.ts.map +1 -0
  124. package/dist/service-boundary-sql.d.ts.map +1 -0
  125. package/dist/service-cost-categories.d.ts.map +1 -0
  126. package/dist/service-documents.d.ts.map +1 -0
  127. package/dist/service-invoice-artifacts.d.ts +24 -24
  128. package/dist/service-invoice-artifacts.d.ts.map +1 -0
  129. package/dist/service-invoice-core.d.ts +28 -28
  130. package/dist/service-invoice-core.d.ts.map +1 -0
  131. package/dist/service-invoice-credit-notes.d.ts +10 -10
  132. package/dist/service-invoice-credit-notes.d.ts.map +1 -0
  133. package/dist/service-invoice-from-booking.d.ts +19 -19
  134. package/dist/service-invoice-from-booking.d.ts.map +1 -0
  135. package/dist/service-invoice-line-items.d.ts +10 -10
  136. package/dist/service-invoice-line-items.d.ts.map +1 -0
  137. package/dist/service-invoice-numbering.d.ts +28 -28
  138. package/dist/service-invoice-numbering.d.ts.map +1 -0
  139. package/dist/service-invoice-payments.d.ts +20 -20
  140. package/dist/service-invoice-payments.d.ts.map +1 -0
  141. package/dist/service-invoices.d.ts +87 -87
  142. package/dist/service-invoices.d.ts.map +1 -0
  143. package/dist/service-issue.d.ts +38 -38
  144. package/dist/service-issue.d.ts.map +1 -0
  145. package/dist/service-payment-authorizations.d.ts +26 -26
  146. package/dist/service-payment-authorizations.d.ts.map +1 -0
  147. package/dist/service-payment-instruments.d.ts +10 -10
  148. package/dist/service-payment-instruments.d.ts.map +1 -0
  149. package/dist/service-payment-processing.d.ts +77 -77
  150. package/dist/service-payment-processing.d.ts.map +1 -0
  151. package/dist/service-payment-session-completion.d.ts +3 -3
  152. package/dist/service-payment-session-completion.d.ts.map +1 -0
  153. package/dist/service-payment-sessions.d.ts +38 -38
  154. package/dist/service-payment-sessions.d.ts.map +1 -0
  155. package/dist/service-profitability.d.ts.map +1 -0
  156. package/dist/service-public.d.ts +16 -16
  157. package/dist/service-public.d.ts.map +1 -0
  158. package/dist/service-reference-data.d.ts +23 -23
  159. package/dist/service-reference-data.d.ts.map +1 -0
  160. package/dist/service-rendition-wait.d.ts +1 -1
  161. package/dist/service-rendition-wait.d.ts.map +1 -0
  162. package/dist/service-reports.d.ts.map +1 -0
  163. package/dist/service-settlement.d.ts.map +1 -0
  164. package/dist/service-shared.d.ts +4 -4
  165. package/dist/service-shared.d.ts.map +1 -0
  166. package/dist/service-supplier-invoices.d.ts +20 -20
  167. package/dist/service-supplier-invoices.d.ts.map +1 -0
  168. package/dist/service-supplier-payments.d.ts +16 -16
  169. package/dist/service-supplier-payments.d.ts.map +1 -0
  170. package/dist/service-travel-credits.d.ts +10 -10
  171. package/dist/service-vouchers-migration.d.ts +51 -0
  172. package/dist/service-vouchers-migration.d.ts.map +1 -0
  173. package/dist/service-vouchers-migration.js +154 -0
  174. package/dist/service-vouchers.d.ts +157 -0
  175. package/dist/service-vouchers.d.ts.map +1 -0
  176. package/dist/service-vouchers.js +191 -0
  177. package/dist/service.d.ts +376 -376
  178. package/dist/service.d.ts.map +1 -0
  179. package/dist/stale-booking-holds-runtime.d.ts.map +1 -0
  180. package/dist/tools.d.ts +21 -21
  181. package/dist/tools.d.ts.map +1 -0
  182. package/dist/validation-billing.d.ts.map +1 -0
  183. package/dist/validation-payments.d.ts.map +1 -0
  184. package/dist/validation-public.d.ts.map +1 -0
  185. package/dist/validation-shared.d.ts.map +1 -0
  186. package/dist/validation-vouchers.d.ts +2 -0
  187. package/dist/validation-vouchers.d.ts.map +1 -0
  188. package/dist/validation-vouchers.js +1 -0
  189. package/dist/validation.d.ts.map +1 -0
  190. package/dist/voyant.d.ts +2 -1
  191. package/dist/voyant.d.ts.map +1 -0
  192. package/dist/voyant.js +43 -7
  193. package/openapi/admin/booking-tax-preview.json +33 -0
  194. package/openapi/admin/{booking-tax.json → booking-tax-settings.json} +7 -32
  195. package/package.json +205 -170
  196. package/LICENSE +0 -201
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes-booking-billing.d.ts","sourceRoot":"","sources":["../src/routes-booking-billing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,EAAe,WAAW,EAAK,MAAM,mBAAmB,CAAA;AAM/D,OAAO,EAAE,KAAK,GAAG,EAAY,MAAM,oBAAoB,CAAA;AA45BvD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAME,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes-booking-create.d.ts","sourceRoot":"","sources":["../src/routes-booking-create.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAgY/D,eAAO,MAAM,uBAAuB,EAAE,aAIrC,CAAA"}
@@ -19,17 +19,6 @@ import type { Env } from "./routes-shared.js";
19
19
  export declare const financeBookingReadRoutes: OpenAPIHono<Env, {
20
20
  "/bookings/:bookingId/payments": {
21
21
  $get: {
22
- input: {
23
- param: {
24
- bookingId: string;
25
- };
26
- };
27
- output: {
28
- error: string;
29
- };
30
- outputFormat: "json";
31
- status: 404;
32
- } | {
33
22
  input: {
34
23
  param: {
35
24
  bookingId: string;
@@ -44,8 +33,8 @@ export declare const financeBookingReadRoutes: OpenAPIHono<Env, {
44
33
  invoiceId: string | null;
45
34
  invoiceNumber: string | null;
46
35
  invoiceType: "invoice" | "proforma" | "credit_note" | null;
47
- status: "pending" | "completed" | "failed" | "refunded";
48
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
36
+ status: "pending" | "failed" | "completed" | "refunded";
37
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
49
38
  amountCents: number;
50
39
  currency: string;
51
40
  baseCurrency: string | null;
@@ -58,6 +47,17 @@ export declare const financeBookingReadRoutes: OpenAPIHono<Env, {
58
47
  };
59
48
  outputFormat: "json";
60
49
  status: 200;
50
+ } | {
51
+ input: {
52
+ param: {
53
+ bookingId: string;
54
+ };
55
+ };
56
+ output: {
57
+ error: string;
58
+ };
59
+ outputFormat: "json";
60
+ status: 404;
61
61
  };
62
62
  };
63
63
  }, "/">;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes-booking-reads.d.ts","sourceRoot":"","sources":["../src/routes-booking-reads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAe,WAAW,EAAK,MAAM,mBAAmB,CAAA;AAG/D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAuB7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAYnC,CAAA"}
@@ -58,7 +58,7 @@ export declare function createFinanceAdminDocumentRoutes(options?: FinanceDocume
58
58
  id: string;
59
59
  invoiceId: string;
60
60
  templateId: string | null;
61
- format: "html" | "pdf" | "xml" | "json";
61
+ format: "json" | "xml" | "pdf" | "html";
62
62
  status: "pending" | "failed" | "ready" | "stale";
63
63
  storageKey: string | null;
64
64
  fileSize: number | null;
@@ -171,7 +171,7 @@ export declare function createFinanceAdminDocumentRoutes(options?: FinanceDocume
171
171
  id: string;
172
172
  invoiceId: string;
173
173
  templateId: string | null;
174
- format: "html" | "pdf" | "xml" | "json";
174
+ format: "json" | "xml" | "pdf" | "html";
175
175
  status: "pending" | "failed" | "ready" | "stale";
176
176
  storageKey: string | null;
177
177
  fileSize: number | null;
@@ -208,11 +208,9 @@ export declare function createFinanceAdminDocumentRoutes(options?: FinanceDocume
208
208
  id: string;
209
209
  };
210
210
  };
211
- output: {
212
- error: string;
213
- };
214
- outputFormat: "json";
215
- status: 404;
211
+ output: {};
212
+ outputFormat: string;
213
+ status: 302;
216
214
  } | {
217
215
  input: {
218
216
  param: {
@@ -223,16 +221,18 @@ export declare function createFinanceAdminDocumentRoutes(options?: FinanceDocume
223
221
  error: string;
224
222
  };
225
223
  outputFormat: "json";
226
- status: 501;
224
+ status: 404;
227
225
  } | {
228
226
  input: {
229
227
  param: {
230
228
  id: string;
231
229
  };
232
230
  };
233
- output: {};
234
- outputFormat: string;
235
- status: 302;
231
+ output: {
232
+ error: string;
233
+ };
234
+ outputFormat: "json";
235
+ status: 501;
236
236
  };
237
237
  };
238
238
  }, "/">;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes-documents.d.ts","sourceRoot":"","sources":["../src/routes-documents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAe,WAAW,EAAK,MAAM,mBAAmB,CAAA;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAMpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAWjE,OAAO,EAA2B,KAAK,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AAG/F,KAAK,GAAG,GAAG;IACT,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,SAAS,EAAE;QACT,SAAS,EAAE,eAAe,CAAA;QAC1B,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,MAAM,WAAW,2BAA2B;IAC1C,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;IACnD,+BAA+B,CAAC,EAAE,CAChC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9B,wBAAwB,GAAG,SAAS,CAAA;IACzC,0BAA0B,CAAC,EAAE,CAC3B,QAAQ,EAAE,OAAO,EACjB,UAAU,EAAE,MAAM,KACf,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,MAAM,GAAG,IAAI,CAAA;IAC3C,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,QAAQ,GAAG,SAAS,CAAA;CAC9E;AAwHD,wBAAgB,gCAAgC,CAAC,OAAO,GAAE,2BAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2EzF"}
@@ -60,7 +60,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
60
60
  error: string;
61
61
  };
62
62
  outputFormat: "json";
63
- status: 404;
63
+ status: 400;
64
64
  } | {
65
65
  input: {
66
66
  param: {
@@ -75,7 +75,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
75
75
  error: string;
76
76
  };
77
77
  outputFormat: "json";
78
- status: 400;
78
+ status: 404;
79
79
  } | {
80
80
  input: {
81
81
  param: {
@@ -145,7 +145,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
145
145
  error: string;
146
146
  };
147
147
  outputFormat: "json";
148
- status: 404;
148
+ status: 400;
149
149
  } | {
150
150
  input: {
151
151
  param: {
@@ -165,7 +165,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
165
165
  error: string;
166
166
  };
167
167
  outputFormat: "json";
168
- status: 400;
168
+ status: 404;
169
169
  } | {
170
170
  input: {
171
171
  param: {
@@ -250,7 +250,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
250
250
  error: string;
251
251
  };
252
252
  outputFormat: "json";
253
- status: 404;
253
+ status: 400;
254
254
  } | {
255
255
  input: {
256
256
  param: {
@@ -273,7 +273,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
273
273
  error: string;
274
274
  };
275
275
  outputFormat: "json";
276
- status: 400;
276
+ status: 404;
277
277
  } | {
278
278
  input: {
279
279
  param: {
@@ -361,7 +361,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
361
361
  error: string;
362
362
  };
363
363
  outputFormat: "json";
364
- status: 404;
364
+ status: 400;
365
365
  } | {
366
366
  input: {
367
367
  param: {
@@ -385,7 +385,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
385
385
  error: string;
386
386
  };
387
387
  outputFormat: "json";
388
- status: 400;
388
+ status: 404;
389
389
  } | {
390
390
  input: {
391
391
  param: {
@@ -467,11 +467,11 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
467
467
  baseCurrency: string | null;
468
468
  baseAmountCents: number | null;
469
469
  fxRateSetId: string | null;
470
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
470
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
471
471
  paymentInstrumentId: string | null;
472
472
  paymentAuthorizationId: string | null;
473
473
  paymentCaptureId: string | null;
474
- status: "pending" | "completed" | "failed" | "refunded";
474
+ status: "pending" | "failed" | "completed" | "refunded";
475
475
  referenceNumber: string | null;
476
476
  paymentDate: string;
477
477
  notes: string | null;
@@ -494,7 +494,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
494
494
  json: {
495
495
  amountCents: number;
496
496
  currency: string;
497
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
497
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
498
498
  paymentDate: string;
499
499
  baseCurrency?: string | null | undefined;
500
500
  baseAmountCents?: number | null | undefined;
@@ -504,7 +504,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
504
504
  paymentCaptureId?: string | null | undefined;
505
505
  referenceNumber?: string | null | undefined;
506
506
  notes?: string | null | undefined;
507
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
507
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
508
508
  idempotencyKey?: string | null | undefined;
509
509
  };
510
510
  };
@@ -512,7 +512,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
512
512
  error: string;
513
513
  };
514
514
  outputFormat: "json";
515
- status: 404;
515
+ status: 400;
516
516
  } | {
517
517
  input: {
518
518
  param: {
@@ -522,7 +522,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
522
522
  json: {
523
523
  amountCents: number;
524
524
  currency: string;
525
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
525
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
526
526
  paymentDate: string;
527
527
  baseCurrency?: string | null | undefined;
528
528
  baseAmountCents?: number | null | undefined;
@@ -532,7 +532,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
532
532
  paymentCaptureId?: string | null | undefined;
533
533
  referenceNumber?: string | null | undefined;
534
534
  notes?: string | null | undefined;
535
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
535
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
536
536
  idempotencyKey?: string | null | undefined;
537
537
  };
538
538
  };
@@ -540,7 +540,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
540
540
  error: string;
541
541
  };
542
542
  outputFormat: "json";
543
- status: 400;
543
+ status: 404;
544
544
  } | {
545
545
  input: {
546
546
  param: {
@@ -550,7 +550,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
550
550
  json: {
551
551
  amountCents: number;
552
552
  currency: string;
553
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
553
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
554
554
  paymentDate: string;
555
555
  baseCurrency?: string | null | undefined;
556
556
  baseAmountCents?: number | null | undefined;
@@ -560,7 +560,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
560
560
  paymentCaptureId?: string | null | undefined;
561
561
  referenceNumber?: string | null | undefined;
562
562
  notes?: string | null | undefined;
563
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
563
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
564
564
  idempotencyKey?: string | null | undefined;
565
565
  };
566
566
  };
@@ -578,7 +578,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
578
578
  json: {
579
579
  amountCents: number;
580
580
  currency: string;
581
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
581
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
582
582
  paymentDate: string;
583
583
  baseCurrency?: string | null | undefined;
584
584
  baseAmountCents?: number | null | undefined;
@@ -588,7 +588,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
588
588
  paymentCaptureId?: string | null | undefined;
589
589
  referenceNumber?: string | null | undefined;
590
590
  notes?: string | null | undefined;
591
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
591
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
592
592
  idempotencyKey?: string | null | undefined;
593
593
  };
594
594
  };
@@ -601,11 +601,11 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
601
601
  baseCurrency: string | null;
602
602
  baseAmountCents: number | null;
603
603
  fxRateSetId: string | null;
604
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
604
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
605
605
  paymentInstrumentId: string | null;
606
606
  paymentAuthorizationId: string | null;
607
607
  paymentCaptureId: string | null;
608
- status: "pending" | "completed" | "failed" | "refunded";
608
+ status: "pending" | "failed" | "completed" | "refunded";
609
609
  referenceNumber: string | null;
610
610
  paymentDate: string;
611
611
  notes: string | null;
@@ -667,7 +667,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
667
667
  error: string;
668
668
  };
669
669
  outputFormat: "json";
670
- status: 404;
670
+ status: 400;
671
671
  } | {
672
672
  input: {
673
673
  param: {
@@ -689,7 +689,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
689
689
  error: string;
690
690
  };
691
691
  outputFormat: "json";
692
- status: 400;
692
+ status: 404;
693
693
  } | {
694
694
  input: {
695
695
  param: {
@@ -750,7 +750,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
750
750
  error: string;
751
751
  };
752
752
  outputFormat: "json";
753
- status: 404;
753
+ status: 400;
754
754
  } | {
755
755
  input: {
756
756
  param: {
@@ -773,7 +773,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
773
773
  error: string;
774
774
  };
775
775
  outputFormat: "json";
776
- status: 400;
776
+ status: 404;
777
777
  } | {
778
778
  input: {
779
779
  param: {
@@ -872,7 +872,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
872
872
  bookingId: string;
873
873
  personId: string | null;
874
874
  organizationId: string | null;
875
- status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
875
+ status: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue";
876
876
  currency: string;
877
877
  baseCurrency: string | null;
878
878
  fxRateSetId: string | null;
@@ -916,7 +916,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
916
916
  bookingId?: string | undefined;
917
917
  personId?: string | null | undefined;
918
918
  organizationId?: string | null | undefined;
919
- status?: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void" | undefined;
919
+ status?: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | undefined;
920
920
  currency?: string | undefined;
921
921
  baseCurrency?: string | null | undefined;
922
922
  fxRateSetId?: string | null | undefined;
@@ -941,7 +941,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
941
941
  error: string;
942
942
  };
943
943
  outputFormat: "json";
944
- status: 404;
944
+ status: 400;
945
945
  } | {
946
946
  input: {
947
947
  param: {
@@ -953,7 +953,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
953
953
  bookingId?: string | undefined;
954
954
  personId?: string | null | undefined;
955
955
  organizationId?: string | null | undefined;
956
- status?: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void" | undefined;
956
+ status?: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | undefined;
957
957
  currency?: string | undefined;
958
958
  baseCurrency?: string | null | undefined;
959
959
  fxRateSetId?: string | null | undefined;
@@ -975,46 +975,10 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
975
975
  };
976
976
  };
977
977
  output: {
978
- data: {
979
- id: string;
980
- invoiceNumber: string;
981
- invoiceType: "invoice" | "proforma" | "credit_note";
982
- convertedFromInvoiceId: string | null;
983
- seriesId: string | null;
984
- sequence: number | null;
985
- templateId: string | null;
986
- taxRegimeId: string | null;
987
- language: string | null;
988
- bookingId: string;
989
- personId: string | null;
990
- organizationId: string | null;
991
- status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
992
- currency: string;
993
- baseCurrency: string | null;
994
- fxRateSetId: string | null;
995
- subtotalCents: number;
996
- baseSubtotalCents: number | null;
997
- taxCents: number;
998
- baseTaxCents: number | null;
999
- totalCents: number;
1000
- baseTotalCents: number | null;
1001
- paidCents: number;
1002
- basePaidCents: number | null;
1003
- balanceDueCents: number;
1004
- baseBalanceDueCents: number | null;
1005
- commissionPercent: number | null;
1006
- commissionAmountCents: number | null;
1007
- issueDate: string;
1008
- dueDate: string;
1009
- notes: string | null;
1010
- voidedAt: string | null;
1011
- voidReason: string | null;
1012
- createdAt: string;
1013
- updatedAt: string;
1014
- };
978
+ error: string;
1015
979
  };
1016
980
  outputFormat: "json";
1017
- status: 200;
981
+ status: 404;
1018
982
  } | {
1019
983
  input: {
1020
984
  param: {
@@ -1026,7 +990,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1026
990
  bookingId?: string | undefined;
1027
991
  personId?: string | null | undefined;
1028
992
  organizationId?: string | null | undefined;
1029
- status?: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void" | undefined;
993
+ status?: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | undefined;
1030
994
  currency?: string | undefined;
1031
995
  baseCurrency?: string | null | undefined;
1032
996
  fxRateSetId?: string | null | undefined;
@@ -1051,7 +1015,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1051
1015
  error: string;
1052
1016
  };
1053
1017
  outputFormat: "json";
1054
- status: 400;
1018
+ status: 409;
1055
1019
  } | {
1056
1020
  input: {
1057
1021
  param: {
@@ -1063,7 +1027,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1063
1027
  bookingId?: string | undefined;
1064
1028
  personId?: string | null | undefined;
1065
1029
  organizationId?: string | null | undefined;
1066
- status?: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void" | undefined;
1030
+ status?: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | undefined;
1067
1031
  currency?: string | undefined;
1068
1032
  baseCurrency?: string | null | undefined;
1069
1033
  fxRateSetId?: string | null | undefined;
@@ -1085,10 +1049,46 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1085
1049
  };
1086
1050
  };
1087
1051
  output: {
1088
- error: string;
1052
+ data: {
1053
+ id: string;
1054
+ invoiceNumber: string;
1055
+ invoiceType: "invoice" | "proforma" | "credit_note";
1056
+ convertedFromInvoiceId: string | null;
1057
+ seriesId: string | null;
1058
+ sequence: number | null;
1059
+ templateId: string | null;
1060
+ taxRegimeId: string | null;
1061
+ language: string | null;
1062
+ bookingId: string;
1063
+ personId: string | null;
1064
+ organizationId: string | null;
1065
+ status: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue";
1066
+ currency: string;
1067
+ baseCurrency: string | null;
1068
+ fxRateSetId: string | null;
1069
+ subtotalCents: number;
1070
+ baseSubtotalCents: number | null;
1071
+ taxCents: number;
1072
+ baseTaxCents: number | null;
1073
+ totalCents: number;
1074
+ baseTotalCents: number | null;
1075
+ paidCents: number;
1076
+ basePaidCents: number | null;
1077
+ balanceDueCents: number;
1078
+ baseBalanceDueCents: number | null;
1079
+ commissionPercent: number | null;
1080
+ commissionAmountCents: number | null;
1081
+ issueDate: string;
1082
+ dueDate: string;
1083
+ notes: string | null;
1084
+ voidedAt: string | null;
1085
+ voidReason: string | null;
1086
+ createdAt: string;
1087
+ updatedAt: string;
1088
+ };
1089
1089
  };
1090
1090
  outputFormat: "json";
1091
- status: 409;
1091
+ status: 200;
1092
1092
  };
1093
1093
  };
1094
1094
  } & {
@@ -1103,7 +1103,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1103
1103
  error: string;
1104
1104
  };
1105
1105
  outputFormat: "json";
1106
- status: 404;
1106
+ status: 400;
1107
1107
  } | {
1108
1108
  input: {
1109
1109
  param: {
@@ -1114,7 +1114,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1114
1114
  error: string;
1115
1115
  };
1116
1116
  outputFormat: "json";
1117
- status: 400;
1117
+ status: 404;
1118
1118
  } | {
1119
1119
  input: {
1120
1120
  param: {
@@ -1140,7 +1140,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1140
1140
  error: string;
1141
1141
  };
1142
1142
  outputFormat: "json";
1143
- status: 404;
1143
+ status: 400;
1144
1144
  } | {
1145
1145
  input: {
1146
1146
  param: {
@@ -1151,7 +1151,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1151
1151
  error: string;
1152
1152
  };
1153
1153
  outputFormat: "json";
1154
- status: 400;
1154
+ status: 404;
1155
1155
  } | {
1156
1156
  input: {
1157
1157
  param: {
@@ -1183,7 +1183,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1183
1183
  bookingId: string;
1184
1184
  personId: string | null;
1185
1185
  organizationId: string | null;
1186
- status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
1186
+ status: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue";
1187
1187
  currency: string;
1188
1188
  baseCurrency: string | null;
1189
1189
  fxRateSetId: string | null;
@@ -1260,7 +1260,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1260
1260
  idempotencyKey?: string | null | undefined;
1261
1261
  } | undefined;
1262
1262
  provider?: string | null | undefined;
1263
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1263
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1264
1264
  payerPersonId?: string | null | undefined;
1265
1265
  payerOrganizationId?: string | null | undefined;
1266
1266
  payerEmail?: string | null | undefined;
@@ -1281,7 +1281,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1281
1281
  error: string;
1282
1282
  };
1283
1283
  outputFormat: "json";
1284
- status: 404;
1284
+ status: 400;
1285
1285
  } | {
1286
1286
  input: {
1287
1287
  param: {
@@ -1328,7 +1328,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1328
1328
  idempotencyKey?: string | null | undefined;
1329
1329
  } | undefined;
1330
1330
  provider?: string | null | undefined;
1331
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1331
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1332
1332
  payerPersonId?: string | null | undefined;
1333
1333
  payerOrganizationId?: string | null | undefined;
1334
1334
  payerEmail?: string | null | undefined;
@@ -1349,7 +1349,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1349
1349
  error: string;
1350
1350
  };
1351
1351
  outputFormat: "json";
1352
- status: 400;
1352
+ status: 404;
1353
1353
  } | {
1354
1354
  input: {
1355
1355
  param: {
@@ -1396,7 +1396,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1396
1396
  idempotencyKey?: string | null | undefined;
1397
1397
  } | undefined;
1398
1398
  provider?: string | null | undefined;
1399
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1399
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1400
1400
  payerPersonId?: string | null | undefined;
1401
1401
  payerOrganizationId?: string | null | undefined;
1402
1402
  payerEmail?: string | null | undefined;
@@ -1464,7 +1464,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1464
1464
  idempotencyKey?: string | null | undefined;
1465
1465
  } | undefined;
1466
1466
  provider?: string | null | undefined;
1467
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1467
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1468
1468
  payerPersonId?: string | null | undefined;
1469
1469
  payerOrganizationId?: string | null | undefined;
1470
1470
  payerEmail?: string | null | undefined;
@@ -1484,7 +1484,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1484
1484
  output: {
1485
1485
  data: {
1486
1486
  id: string;
1487
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1487
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1488
1488
  targetId: string | null;
1489
1489
  bookingId: string | null;
1490
1490
  orderId: string | null;
@@ -1495,7 +1495,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1495
1495
  paymentAuthorizationId: string | null;
1496
1496
  paymentCaptureId: string | null;
1497
1497
  paymentId: string | null;
1498
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1498
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1499
1499
  provider: string | null;
1500
1500
  providerSessionId: string | null;
1501
1501
  providerPaymentId: string | null;
@@ -1504,7 +1504,7 @@ export declare const financeInvoiceCoreRoutes: OpenAPIHono<Env, import("hono/typ
1504
1504
  clientReference: string | null;
1505
1505
  currency: string;
1506
1506
  amountCents: number;
1507
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1507
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1508
1508
  payerPersonId: string | null;
1509
1509
  payerOrganizationId: string | null;
1510
1510
  payerEmail: string | null;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes-invoice-core.d.ts","sourceRoot":"","sources":["../src/routes-invoice-core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAe,WAAW,EAAK,MAAM,mBAAmB,CAAA;AAe/D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAgwB7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAQZ,CAAA"}