@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
package/dist/routes.d.ts CHANGED
@@ -9,7 +9,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
9
9
  data: {
10
10
  total: number;
11
11
  countsByStatus: {
12
- status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
12
+ status: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue";
13
13
  count: number;
14
14
  }[];
15
15
  counts: {
@@ -60,7 +60,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
60
60
  id: string;
61
61
  invoiceNumber: string | null;
62
62
  bookingId: string | null;
63
- status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
63
+ status: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue";
64
64
  currency: string;
65
65
  totalCents: number;
66
66
  balanceDueCents: number;
@@ -82,7 +82,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
82
82
  offset?: unknown;
83
83
  paymentAuthorizationId?: string | undefined;
84
84
  invoiceId?: string | undefined;
85
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
85
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
86
86
  };
87
87
  };
88
88
  output: {
@@ -90,7 +90,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
90
90
  id: string;
91
91
  paymentAuthorizationId: string | null;
92
92
  invoiceId: string | null;
93
- status: "pending" | "completed" | "failed" | "refunded" | "voided";
93
+ status: "pending" | "failed" | "voided" | "completed" | "refunded";
94
94
  currency: string;
95
95
  amountCents: number;
96
96
  provider: string | null;
@@ -118,7 +118,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
118
118
  amountCents: number;
119
119
  paymentAuthorizationId?: string | null | undefined;
120
120
  invoiceId?: string | null | undefined;
121
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
121
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
122
122
  provider?: string | null | undefined;
123
123
  externalCaptureId?: string | null | undefined;
124
124
  capturedAt?: string | null | undefined;
@@ -138,7 +138,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
138
138
  amountCents: number;
139
139
  paymentAuthorizationId?: string | null | undefined;
140
140
  invoiceId?: string | null | undefined;
141
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
141
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
142
142
  provider?: string | null | undefined;
143
143
  externalCaptureId?: string | null | undefined;
144
144
  capturedAt?: string | null | undefined;
@@ -151,7 +151,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
151
151
  id: string;
152
152
  paymentAuthorizationId: string | null;
153
153
  invoiceId: string | null;
154
- status: "pending" | "completed" | "failed" | "refunded" | "voided";
154
+ status: "pending" | "failed" | "voided" | "completed" | "refunded";
155
155
  currency: string;
156
156
  amountCents: number;
157
157
  provider: string | null;
@@ -191,7 +191,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
191
191
  id: string;
192
192
  paymentAuthorizationId: string | null;
193
193
  invoiceId: string | null;
194
- status: "pending" | "completed" | "failed" | "refunded" | "voided";
194
+ status: "pending" | "failed" | "voided" | "completed" | "refunded";
195
195
  currency: string;
196
196
  amountCents: number;
197
197
  provider: string | null;
@@ -218,7 +218,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
218
218
  json: {
219
219
  paymentAuthorizationId?: string | null | undefined;
220
220
  invoiceId?: string | null | undefined;
221
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
221
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
222
222
  currency?: string | undefined;
223
223
  amountCents?: number | undefined;
224
224
  provider?: string | null | undefined;
@@ -232,7 +232,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
232
232
  error: string;
233
233
  };
234
234
  outputFormat: "json";
235
- status: 404;
235
+ status: 400;
236
236
  } | {
237
237
  input: {
238
238
  param: {
@@ -242,7 +242,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
242
242
  json: {
243
243
  paymentAuthorizationId?: string | null | undefined;
244
244
  invoiceId?: string | null | undefined;
245
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
245
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
246
246
  currency?: string | undefined;
247
247
  amountCents?: number | undefined;
248
248
  provider?: string | null | undefined;
@@ -256,7 +256,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
256
256
  error: string;
257
257
  };
258
258
  outputFormat: "json";
259
- status: 400;
259
+ status: 404;
260
260
  } | {
261
261
  input: {
262
262
  param: {
@@ -266,7 +266,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
266
266
  json: {
267
267
  paymentAuthorizationId?: string | null | undefined;
268
268
  invoiceId?: string | null | undefined;
269
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
269
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
270
270
  currency?: string | undefined;
271
271
  amountCents?: number | undefined;
272
272
  provider?: string | null | undefined;
@@ -281,7 +281,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
281
281
  id: string;
282
282
  paymentAuthorizationId: string | null;
283
283
  invoiceId: string | null;
284
- status: "pending" | "completed" | "failed" | "refunded" | "voided";
284
+ status: "pending" | "failed" | "voided" | "completed" | "refunded";
285
285
  currency: string;
286
286
  amountCents: number;
287
287
  provider: string | null;
@@ -334,7 +334,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
334
334
  invoiceId?: string | undefined;
335
335
  bookingGuaranteeId?: string | undefined;
336
336
  paymentInstrumentId?: string | undefined;
337
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
337
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
338
338
  legacyOrderId?: string | null | undefined;
339
339
  };
340
340
  };
@@ -346,8 +346,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
346
346
  invoiceId: string | null;
347
347
  bookingGuaranteeId: string | null;
348
348
  paymentInstrumentId: string | null;
349
- status: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided";
350
- captureMode: "automatic" | "manual";
349
+ status: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
350
+ captureMode: "manual" | "automatic";
351
351
  currency: string;
352
352
  amountCents: number;
353
353
  provider: string | null;
@@ -417,8 +417,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
417
417
  invoiceId?: string | null | undefined;
418
418
  bookingGuaranteeId?: string | null | undefined;
419
419
  paymentInstrumentId?: string | null | undefined;
420
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
421
- captureMode?: "automatic" | "manual" | undefined;
420
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
421
+ captureMode?: "manual" | "automatic" | undefined;
422
422
  provider?: string | null | undefined;
423
423
  externalAuthorizationId?: string | null | undefined;
424
424
  approvalCode?: string | null | undefined;
@@ -481,8 +481,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
481
481
  invoiceId?: string | null | undefined;
482
482
  bookingGuaranteeId?: string | null | undefined;
483
483
  paymentInstrumentId?: string | null | undefined;
484
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
485
- captureMode?: "automatic" | "manual" | undefined;
484
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
485
+ captureMode?: "manual" | "automatic" | undefined;
486
486
  provider?: string | null | undefined;
487
487
  externalAuthorizationId?: string | null | undefined;
488
488
  approvalCode?: string | null | undefined;
@@ -501,8 +501,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
501
501
  invoiceId: string | null;
502
502
  bookingGuaranteeId: string | null;
503
503
  paymentInstrumentId: string | null;
504
- status: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided";
505
- captureMode: "automatic" | "manual";
504
+ status: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
505
+ captureMode: "manual" | "automatic";
506
506
  currency: string;
507
507
  amountCents: number;
508
508
  provider: string | null;
@@ -547,8 +547,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
547
547
  invoiceId: string | null;
548
548
  bookingGuaranteeId: string | null;
549
549
  paymentInstrumentId: string | null;
550
- status: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided";
551
- captureMode: "automatic" | "manual";
550
+ status: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
551
+ captureMode: "manual" | "automatic";
552
552
  currency: string;
553
553
  amountCents: number;
554
554
  provider: string | null;
@@ -617,8 +617,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
617
617
  invoiceId?: string | null | undefined;
618
618
  bookingGuaranteeId?: string | null | undefined;
619
619
  paymentInstrumentId?: string | null | undefined;
620
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
621
- captureMode?: "automatic" | "manual" | undefined;
620
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
621
+ captureMode?: "manual" | "automatic" | undefined;
622
622
  currency?: string | undefined;
623
623
  amountCents?: number | undefined;
624
624
  provider?: string | null | undefined;
@@ -635,7 +635,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
635
635
  error: string;
636
636
  };
637
637
  outputFormat: "json";
638
- status: 404;
638
+ status: 400;
639
639
  } | {
640
640
  input: {
641
641
  param: {
@@ -685,8 +685,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
685
685
  invoiceId?: string | null | undefined;
686
686
  bookingGuaranteeId?: string | null | undefined;
687
687
  paymentInstrumentId?: string | null | undefined;
688
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
689
- captureMode?: "automatic" | "manual" | undefined;
688
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
689
+ captureMode?: "manual" | "automatic" | undefined;
690
690
  currency?: string | undefined;
691
691
  amountCents?: number | undefined;
692
692
  provider?: string | null | undefined;
@@ -703,7 +703,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
703
703
  error: string;
704
704
  };
705
705
  outputFormat: "json";
706
- status: 400;
706
+ status: 404;
707
707
  } | {
708
708
  input: {
709
709
  param: {
@@ -753,8 +753,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
753
753
  invoiceId?: string | null | undefined;
754
754
  bookingGuaranteeId?: string | null | undefined;
755
755
  paymentInstrumentId?: string | null | undefined;
756
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
757
- captureMode?: "automatic" | "manual" | undefined;
756
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
757
+ captureMode?: "manual" | "automatic" | undefined;
758
758
  currency?: string | undefined;
759
759
  amountCents?: number | undefined;
760
760
  provider?: string | null | undefined;
@@ -775,8 +775,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
775
775
  invoiceId: string | null;
776
776
  bookingGuaranteeId: string | null;
777
777
  paymentInstrumentId: string | null;
778
- status: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided";
779
- captureMode: "automatic" | "manual";
778
+ status: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
779
+ captureMode: "manual" | "automatic";
780
780
  currency: string;
781
781
  amountCents: number;
782
782
  provider: string | null;
@@ -833,7 +833,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
833
833
  supplierId?: string | undefined;
834
834
  channelId?: string | undefined;
835
835
  status?: "expired" | "active" | "inactive" | "revoked" | "failed_verification" | undefined;
836
- instrumentType?: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account" | undefined;
836
+ instrumentType?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account" | undefined;
837
837
  search?: string | undefined;
838
838
  };
839
839
  };
@@ -845,7 +845,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
845
845
  organizationId: string | null;
846
846
  supplierId: string | null;
847
847
  channelId: string | null;
848
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
848
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
849
849
  status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
850
850
  label: string;
851
851
  provider: string | null;
@@ -877,7 +877,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
877
877
  $post: {
878
878
  input: {
879
879
  json: {
880
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
880
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
881
881
  label: string;
882
882
  ownerType?: "other" | "client" | "supplier" | "channel" | "agency" | "internal" | undefined;
883
883
  personId?: string | null | undefined;
@@ -908,7 +908,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
908
908
  } | {
909
909
  input: {
910
910
  json: {
911
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
911
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
912
912
  label: string;
913
913
  ownerType?: "other" | "client" | "supplier" | "channel" | "agency" | "internal" | undefined;
914
914
  personId?: string | null | undefined;
@@ -939,7 +939,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
939
939
  organizationId: string | null;
940
940
  supplierId: string | null;
941
941
  channelId: string | null;
942
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
942
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
943
943
  status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
944
944
  label: string;
945
945
  provider: string | null;
@@ -990,7 +990,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
990
990
  organizationId: string | null;
991
991
  supplierId: string | null;
992
992
  channelId: string | null;
993
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
993
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
994
994
  status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
995
995
  label: string;
996
996
  provider: string | null;
@@ -1028,7 +1028,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1028
1028
  organizationId?: string | null | undefined;
1029
1029
  supplierId?: string | null | undefined;
1030
1030
  channelId?: string | null | undefined;
1031
- instrumentType?: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account" | undefined;
1031
+ instrumentType?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account" | undefined;
1032
1032
  status?: "expired" | "active" | "inactive" | "revoked" | "failed_verification" | undefined;
1033
1033
  label?: string | undefined;
1034
1034
  provider?: string | null | undefined;
@@ -1050,7 +1050,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1050
1050
  error: string;
1051
1051
  };
1052
1052
  outputFormat: "json";
1053
- status: 404;
1053
+ status: 400;
1054
1054
  } | {
1055
1055
  input: {
1056
1056
  param: {
@@ -1063,7 +1063,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1063
1063
  organizationId?: string | null | undefined;
1064
1064
  supplierId?: string | null | undefined;
1065
1065
  channelId?: string | null | undefined;
1066
- instrumentType?: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account" | undefined;
1066
+ instrumentType?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account" | undefined;
1067
1067
  status?: "expired" | "active" | "inactive" | "revoked" | "failed_verification" | undefined;
1068
1068
  label?: string | undefined;
1069
1069
  provider?: string | null | undefined;
@@ -1085,7 +1085,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1085
1085
  error: string;
1086
1086
  };
1087
1087
  outputFormat: "json";
1088
- status: 400;
1088
+ status: 404;
1089
1089
  } | {
1090
1090
  input: {
1091
1091
  param: {
@@ -1098,7 +1098,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1098
1098
  organizationId?: string | null | undefined;
1099
1099
  supplierId?: string | null | undefined;
1100
1100
  channelId?: string | null | undefined;
1101
- instrumentType?: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account" | undefined;
1101
+ instrumentType?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account" | undefined;
1102
1102
  status?: "expired" | "active" | "inactive" | "revoked" | "failed_verification" | undefined;
1103
1103
  label?: string | undefined;
1104
1104
  provider?: string | null | undefined;
@@ -1124,7 +1124,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1124
1124
  organizationId: string | null;
1125
1125
  supplierId: string | null;
1126
1126
  channelId: string | null;
1127
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
1127
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
1128
1128
  status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
1129
1129
  label: string;
1130
1130
  provider: string | null;
@@ -1185,8 +1185,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1185
1185
  invoiceId?: string | undefined;
1186
1186
  bookingPaymentScheduleId?: string | undefined;
1187
1187
  bookingGuaranteeId?: string | undefined;
1188
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1189
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1188
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1189
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1190
1190
  provider?: string | undefined;
1191
1191
  providerSessionId?: string | undefined;
1192
1192
  providerPaymentId?: string | undefined;
@@ -1199,7 +1199,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1199
1199
  output: {
1200
1200
  data: {
1201
1201
  id: string;
1202
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1202
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1203
1203
  targetId: string | null;
1204
1204
  bookingId: string | null;
1205
1205
  orderId: string | null;
@@ -1210,7 +1210,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1210
1210
  paymentAuthorizationId: string | null;
1211
1211
  paymentCaptureId: string | null;
1212
1212
  paymentId: string | null;
1213
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1213
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1214
1214
  provider: string | null;
1215
1215
  providerSessionId: string | null;
1216
1216
  providerPaymentId: string | null;
@@ -1219,7 +1219,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1219
1219
  clientReference: string | null;
1220
1220
  currency: string;
1221
1221
  amountCents: number;
1222
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1222
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1223
1223
  payerPersonId: string | null;
1224
1224
  payerOrganizationId: string | null;
1225
1225
  payerEmail: string | null;
@@ -1298,7 +1298,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1298
1298
  reference?: string | null | undefined;
1299
1299
  idempotencyKey?: string | null | undefined;
1300
1300
  } | undefined;
1301
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1301
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1302
1302
  targetId?: string | null | undefined;
1303
1303
  bookingId?: string | null | undefined;
1304
1304
  invoiceId?: string | null | undefined;
@@ -1308,14 +1308,14 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1308
1308
  paymentAuthorizationId?: string | null | undefined;
1309
1309
  paymentCaptureId?: string | null | undefined;
1310
1310
  paymentId?: string | null | undefined;
1311
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1311
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1312
1312
  provider?: string | null | undefined;
1313
1313
  providerSessionId?: string | null | undefined;
1314
1314
  providerPaymentId?: string | null | undefined;
1315
1315
  externalReference?: string | null | undefined;
1316
1316
  idempotencyKey?: string | null | undefined;
1317
1317
  clientReference?: string | null | undefined;
1318
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1318
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1319
1319
  payerPersonId?: string | null | undefined;
1320
1320
  payerOrganizationId?: string | null | undefined;
1321
1321
  payerEmail?: string | null | undefined;
@@ -1338,10 +1338,57 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1338
1338
  };
1339
1339
  };
1340
1340
  output: {
1341
- error: string;
1341
+ data: {
1342
+ id: string;
1343
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1344
+ targetId: string | null;
1345
+ bookingId: string | null;
1346
+ orderId: string | null;
1347
+ invoiceId: string | null;
1348
+ bookingPaymentScheduleId: string | null;
1349
+ bookingGuaranteeId: string | null;
1350
+ paymentInstrumentId: string | null;
1351
+ paymentAuthorizationId: string | null;
1352
+ paymentCaptureId: string | null;
1353
+ paymentId: string | null;
1354
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1355
+ provider: string | null;
1356
+ providerSessionId: string | null;
1357
+ providerPaymentId: string | null;
1358
+ externalReference: string | null;
1359
+ idempotencyKey: string | null;
1360
+ clientReference: string | null;
1361
+ currency: string;
1362
+ amountCents: number;
1363
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1364
+ payerPersonId: string | null;
1365
+ payerOrganizationId: string | null;
1366
+ payerEmail: string | null;
1367
+ payerName: string | null;
1368
+ redirectUrl: string | null;
1369
+ returnUrl: string | null;
1370
+ cancelUrl: string | null;
1371
+ callbackUrl: string | null;
1372
+ expiresAt: string | null;
1373
+ completedAt: string | null;
1374
+ failedAt: string | null;
1375
+ cancelledAt: string | null;
1376
+ expiredAt: string | null;
1377
+ failureCode: string | null;
1378
+ failureMessage: string | null;
1379
+ notes: string | null;
1380
+ providerPayload: {
1381
+ [x: string]: import("hono/utils/types").JSONValue;
1382
+ } | null;
1383
+ metadata: {
1384
+ [x: string]: import("hono/utils/types").JSONValue;
1385
+ } | null;
1386
+ createdAt: string;
1387
+ updatedAt: string;
1388
+ };
1342
1389
  };
1343
1390
  outputFormat: "json";
1344
- status: 400;
1391
+ status: 201;
1345
1392
  } | {
1346
1393
  input: {
1347
1394
  json: {
@@ -1385,7 +1432,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1385
1432
  reference?: string | null | undefined;
1386
1433
  idempotencyKey?: string | null | undefined;
1387
1434
  } | undefined;
1388
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1435
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1389
1436
  targetId?: string | null | undefined;
1390
1437
  bookingId?: string | null | undefined;
1391
1438
  invoiceId?: string | null | undefined;
@@ -1395,14 +1442,14 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1395
1442
  paymentAuthorizationId?: string | null | undefined;
1396
1443
  paymentCaptureId?: string | null | undefined;
1397
1444
  paymentId?: string | null | undefined;
1398
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1445
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1399
1446
  provider?: string | null | undefined;
1400
1447
  providerSessionId?: string | null | undefined;
1401
1448
  providerPaymentId?: string | null | undefined;
1402
1449
  externalReference?: string | null | undefined;
1403
1450
  idempotencyKey?: string | null | undefined;
1404
1451
  clientReference?: string | null | undefined;
1405
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1452
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1406
1453
  payerPersonId?: string | null | undefined;
1407
1454
  payerOrganizationId?: string | null | undefined;
1408
1455
  payerEmail?: string | null | undefined;
@@ -1425,73 +1472,15 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1425
1472
  };
1426
1473
  };
1427
1474
  output: {
1428
- data: {
1429
- id: string;
1430
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1431
- targetId: string | null;
1432
- bookingId: string | null;
1433
- orderId: string | null;
1434
- invoiceId: string | null;
1435
- bookingPaymentScheduleId: string | null;
1436
- bookingGuaranteeId: string | null;
1437
- paymentInstrumentId: string | null;
1438
- paymentAuthorizationId: string | null;
1439
- paymentCaptureId: string | null;
1440
- paymentId: string | null;
1441
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1442
- provider: string | null;
1443
- providerSessionId: string | null;
1444
- providerPaymentId: string | null;
1445
- externalReference: string | null;
1446
- idempotencyKey: string | null;
1447
- clientReference: string | null;
1448
- currency: string;
1449
- amountCents: number;
1450
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1451
- payerPersonId: string | null;
1452
- payerOrganizationId: string | null;
1453
- payerEmail: string | null;
1454
- payerName: string | null;
1455
- redirectUrl: string | null;
1456
- returnUrl: string | null;
1457
- cancelUrl: string | null;
1458
- callbackUrl: string | null;
1459
- expiresAt: string | null;
1460
- completedAt: string | null;
1461
- failedAt: string | null;
1462
- cancelledAt: string | null;
1463
- expiredAt: string | null;
1464
- failureCode: string | null;
1465
- failureMessage: string | null;
1466
- notes: string | null;
1467
- providerPayload: {
1468
- [x: string]: import("hono/utils/types").JSONValue;
1469
- } | null;
1470
- metadata: {
1471
- [x: string]: import("hono/utils/types").JSONValue;
1472
- } | null;
1473
- createdAt: string;
1474
- updatedAt: string;
1475
- };
1475
+ error: string;
1476
1476
  };
1477
1477
  outputFormat: "json";
1478
- status: 201;
1478
+ status: 400;
1479
1479
  };
1480
1480
  };
1481
1481
  } & {
1482
1482
  "/payment-sessions/:id": {
1483
1483
  $get: {
1484
- input: {
1485
- param: {
1486
- id: string;
1487
- };
1488
- };
1489
- output: {
1490
- error: string;
1491
- };
1492
- outputFormat: "json";
1493
- status: 404;
1494
- } | {
1495
1484
  input: {
1496
1485
  param: {
1497
1486
  id: string;
@@ -1500,7 +1489,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1500
1489
  output: {
1501
1490
  data: {
1502
1491
  id: string;
1503
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1492
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1504
1493
  targetId: string | null;
1505
1494
  bookingId: string | null;
1506
1495
  orderId: string | null;
@@ -1511,7 +1500,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1511
1500
  paymentAuthorizationId: string | null;
1512
1501
  paymentCaptureId: string | null;
1513
1502
  paymentId: string | null;
1514
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1503
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1515
1504
  provider: string | null;
1516
1505
  providerSessionId: string | null;
1517
1506
  providerPaymentId: string | null;
@@ -1520,7 +1509,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1520
1509
  clientReference: string | null;
1521
1510
  currency: string;
1522
1511
  amountCents: number;
1523
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1512
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1524
1513
  payerPersonId: string | null;
1525
1514
  payerOrganizationId: string | null;
1526
1515
  payerEmail: string | null;
@@ -1549,6 +1538,17 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1549
1538
  };
1550
1539
  outputFormat: "json";
1551
1540
  status: 200;
1541
+ } | {
1542
+ input: {
1543
+ param: {
1544
+ id: string;
1545
+ };
1546
+ };
1547
+ output: {
1548
+ error: string;
1549
+ };
1550
+ outputFormat: "json";
1551
+ status: 404;
1552
1552
  };
1553
1553
  };
1554
1554
  } & {
@@ -1598,7 +1598,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1598
1598
  reference?: string | null | undefined;
1599
1599
  idempotencyKey?: string | null | undefined;
1600
1600
  } | undefined;
1601
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1601
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1602
1602
  targetId?: string | null | undefined;
1603
1603
  bookingId?: string | null | undefined;
1604
1604
  invoiceId?: string | null | undefined;
@@ -1608,7 +1608,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1608
1608
  paymentAuthorizationId?: string | null | undefined;
1609
1609
  paymentCaptureId?: string | null | undefined;
1610
1610
  paymentId?: string | null | undefined;
1611
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1611
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1612
1612
  provider?: string | null | undefined;
1613
1613
  providerSessionId?: string | null | undefined;
1614
1614
  providerPaymentId?: string | null | undefined;
@@ -1617,7 +1617,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1617
1617
  clientReference?: string | null | undefined;
1618
1618
  currency?: string | undefined;
1619
1619
  amountCents?: number | undefined;
1620
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1620
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1621
1621
  payerPersonId?: string | null | undefined;
1622
1622
  payerOrganizationId?: string | null | undefined;
1623
1623
  payerEmail?: string | null | undefined;
@@ -1643,7 +1643,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1643
1643
  error: string;
1644
1644
  };
1645
1645
  outputFormat: "json";
1646
- status: 404;
1646
+ status: 400;
1647
1647
  } | {
1648
1648
  input: {
1649
1649
  param: {
@@ -1689,7 +1689,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1689
1689
  reference?: string | null | undefined;
1690
1690
  idempotencyKey?: string | null | undefined;
1691
1691
  } | undefined;
1692
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1692
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1693
1693
  targetId?: string | null | undefined;
1694
1694
  bookingId?: string | null | undefined;
1695
1695
  invoiceId?: string | null | undefined;
@@ -1699,7 +1699,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1699
1699
  paymentAuthorizationId?: string | null | undefined;
1700
1700
  paymentCaptureId?: string | null | undefined;
1701
1701
  paymentId?: string | null | undefined;
1702
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1702
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1703
1703
  provider?: string | null | undefined;
1704
1704
  providerSessionId?: string | null | undefined;
1705
1705
  providerPaymentId?: string | null | undefined;
@@ -1708,7 +1708,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1708
1708
  clientReference?: string | null | undefined;
1709
1709
  currency?: string | undefined;
1710
1710
  amountCents?: number | undefined;
1711
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1711
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1712
1712
  payerPersonId?: string | null | undefined;
1713
1713
  payerOrganizationId?: string | null | undefined;
1714
1714
  payerEmail?: string | null | undefined;
@@ -1734,7 +1734,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1734
1734
  error: string;
1735
1735
  };
1736
1736
  outputFormat: "json";
1737
- status: 400;
1737
+ status: 404;
1738
1738
  } | {
1739
1739
  input: {
1740
1740
  param: {
@@ -1780,7 +1780,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1780
1780
  reference?: string | null | undefined;
1781
1781
  idempotencyKey?: string | null | undefined;
1782
1782
  } | undefined;
1783
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1783
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1784
1784
  targetId?: string | null | undefined;
1785
1785
  bookingId?: string | null | undefined;
1786
1786
  invoiceId?: string | null | undefined;
@@ -1790,7 +1790,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1790
1790
  paymentAuthorizationId?: string | null | undefined;
1791
1791
  paymentCaptureId?: string | null | undefined;
1792
1792
  paymentId?: string | null | undefined;
1793
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1793
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1794
1794
  provider?: string | null | undefined;
1795
1795
  providerSessionId?: string | null | undefined;
1796
1796
  providerPaymentId?: string | null | undefined;
@@ -1799,7 +1799,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1799
1799
  clientReference?: string | null | undefined;
1800
1800
  currency?: string | undefined;
1801
1801
  amountCents?: number | undefined;
1802
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1802
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1803
1803
  payerPersonId?: string | null | undefined;
1804
1804
  payerOrganizationId?: string | null | undefined;
1805
1805
  payerEmail?: string | null | undefined;
@@ -1824,7 +1824,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1824
1824
  output: {
1825
1825
  data: {
1826
1826
  id: string;
1827
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1827
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1828
1828
  targetId: string | null;
1829
1829
  bookingId: string | null;
1830
1830
  orderId: string | null;
@@ -1835,7 +1835,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1835
1835
  paymentAuthorizationId: string | null;
1836
1836
  paymentCaptureId: string | null;
1837
1837
  paymentId: string | null;
1838
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1838
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1839
1839
  provider: string | null;
1840
1840
  providerSessionId: string | null;
1841
1841
  providerPaymentId: string | null;
@@ -1844,7 +1844,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1844
1844
  clientReference: string | null;
1845
1845
  currency: string;
1846
1846
  amountCents: number;
1847
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1847
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1848
1848
  payerPersonId: string | null;
1849
1849
  payerOrganizationId: string | null;
1850
1850
  payerEmail: string | null;
@@ -1902,7 +1902,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1902
1902
  error: string;
1903
1903
  };
1904
1904
  outputFormat: "json";
1905
- status: 404;
1905
+ status: 400;
1906
1906
  } | {
1907
1907
  input: {
1908
1908
  param: {
@@ -1928,7 +1928,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1928
1928
  error: string;
1929
1929
  };
1930
1930
  outputFormat: "json";
1931
- status: 400;
1931
+ status: 404;
1932
1932
  } | {
1933
1933
  input: {
1934
1934
  param: {
@@ -1953,7 +1953,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1953
1953
  output: {
1954
1954
  data: {
1955
1955
  id: string;
1956
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1956
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1957
1957
  targetId: string | null;
1958
1958
  bookingId: string | null;
1959
1959
  orderId: string | null;
@@ -1964,7 +1964,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1964
1964
  paymentAuthorizationId: string | null;
1965
1965
  paymentCaptureId: string | null;
1966
1966
  paymentId: string | null;
1967
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1967
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1968
1968
  provider: string | null;
1969
1969
  providerSessionId: string | null;
1970
1970
  providerPaymentId: string | null;
@@ -1973,7 +1973,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
1973
1973
  clientReference: string | null;
1974
1974
  currency: string;
1975
1975
  amountCents: number;
1976
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1976
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1977
1977
  payerPersonId: string | null;
1978
1978
  payerOrganizationId: string | null;
1979
1979
  payerEmail: string | null;
@@ -2026,7 +2026,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2026
2026
  output: {
2027
2027
  data: {
2028
2028
  id: string;
2029
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2029
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2030
2030
  targetId: string | null;
2031
2031
  bookingId: string | null;
2032
2032
  orderId: string | null;
@@ -2037,7 +2037,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2037
2037
  paymentAuthorizationId: string | null;
2038
2038
  paymentCaptureId: string | null;
2039
2039
  paymentId: string | null;
2040
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
2040
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
2041
2041
  provider: string | null;
2042
2042
  providerSessionId: string | null;
2043
2043
  providerPaymentId: string | null;
@@ -2046,7 +2046,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2046
2046
  clientReference: string | null;
2047
2047
  currency: string;
2048
2048
  amountCents: number;
2049
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
2049
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
2050
2050
  payerPersonId: string | null;
2051
2051
  payerOrganizationId: string | null;
2052
2052
  payerEmail: string | null;
@@ -2129,7 +2129,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2129
2129
  output: {
2130
2130
  data: {
2131
2131
  id: string;
2132
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2132
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2133
2133
  targetId: string | null;
2134
2134
  bookingId: string | null;
2135
2135
  orderId: string | null;
@@ -2140,7 +2140,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2140
2140
  paymentAuthorizationId: string | null;
2141
2141
  paymentCaptureId: string | null;
2142
2142
  paymentId: string | null;
2143
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
2143
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
2144
2144
  provider: string | null;
2145
2145
  providerSessionId: string | null;
2146
2146
  providerPaymentId: string | null;
@@ -2149,7 +2149,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2149
2149
  clientReference: string | null;
2150
2150
  currency: string;
2151
2151
  amountCents: number;
2152
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
2152
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
2153
2153
  payerPersonId: string | null;
2154
2154
  payerOrganizationId: string | null;
2155
2155
  payerEmail: string | null;
@@ -2202,7 +2202,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2202
2202
  output: {
2203
2203
  data: {
2204
2204
  id: string;
2205
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2205
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2206
2206
  targetId: string | null;
2207
2207
  bookingId: string | null;
2208
2208
  orderId: string | null;
@@ -2213,7 +2213,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2213
2213
  paymentAuthorizationId: string | null;
2214
2214
  paymentCaptureId: string | null;
2215
2215
  paymentId: string | null;
2216
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
2216
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
2217
2217
  provider: string | null;
2218
2218
  providerSessionId: string | null;
2219
2219
  providerPaymentId: string | null;
@@ -2222,7 +2222,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2222
2222
  clientReference: string | null;
2223
2223
  currency: string;
2224
2224
  amountCents: number;
2225
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
2225
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
2226
2226
  payerPersonId: string | null;
2227
2227
  payerOrganizationId: string | null;
2228
2228
  payerEmail: string | null;
@@ -2275,7 +2275,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2275
2275
  output: {
2276
2276
  data: {
2277
2277
  id: string;
2278
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2278
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2279
2279
  targetId: string | null;
2280
2280
  bookingId: string | null;
2281
2281
  orderId: string | null;
@@ -2286,7 +2286,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2286
2286
  paymentAuthorizationId: string | null;
2287
2287
  paymentCaptureId: string | null;
2288
2288
  paymentId: string | null;
2289
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
2289
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
2290
2290
  provider: string | null;
2291
2291
  providerSessionId: string | null;
2292
2292
  providerPaymentId: string | null;
@@ -2295,7 +2295,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2295
2295
  clientReference: string | null;
2296
2296
  currency: string;
2297
2297
  amountCents: number;
2298
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
2298
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
2299
2299
  payerPersonId: string | null;
2300
2300
  payerOrganizationId: string | null;
2301
2301
  payerEmail: string | null;
@@ -2502,10 +2502,17 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2502
2502
  };
2503
2503
  };
2504
2504
  output: {
2505
- error: string;
2505
+ data: {
2506
+ id: string;
2507
+ name: string;
2508
+ sortOrder: number;
2509
+ archived: boolean;
2510
+ createdAt: string;
2511
+ updatedAt: string;
2512
+ };
2506
2513
  };
2507
2514
  outputFormat: "json";
2508
- status: 404;
2515
+ status: 200;
2509
2516
  } | {
2510
2517
  input: {
2511
2518
  param: {
@@ -2519,17 +2526,10 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2519
2526
  };
2520
2527
  };
2521
2528
  output: {
2522
- data: {
2523
- id: string;
2524
- name: string;
2525
- sortOrder: number;
2526
- archived: boolean;
2527
- createdAt: string;
2528
- updatedAt: string;
2529
- };
2529
+ error: string;
2530
2530
  };
2531
2531
  outputFormat: "json";
2532
- status: 200;
2532
+ status: 404;
2533
2533
  };
2534
2534
  };
2535
2535
  }, "/"> & import("hono/types").MergeSchemaPath<{
@@ -2803,11 +2803,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2803
2803
  bookingItemId: string;
2804
2804
  channelId: string | null;
2805
2805
  recipientType: "other" | "supplier" | "channel" | "agency" | "internal" | "affiliate" | "agent";
2806
- commissionModel: "percentage" | "fixed" | "markup" | "net";
2806
+ commissionModel: "fixed" | "percentage" | "markup" | "net";
2807
2807
  currency: string | null;
2808
2808
  amountCents: number | null;
2809
2809
  rateBasisPoints: number | null;
2810
- status: "paid" | "void" | "pending" | "accrued" | "payable";
2810
+ status: "void" | "paid" | "pending" | "accrued" | "payable";
2811
2811
  payableAt: string | null;
2812
2812
  paidAt: string | null;
2813
2813
  notes: string | null;
@@ -2830,11 +2830,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2830
2830
  json: {
2831
2831
  recipientType: "other" | "supplier" | "channel" | "agency" | "internal" | "affiliate" | "agent";
2832
2832
  channelId?: string | null | undefined;
2833
- commissionModel?: "percentage" | "fixed" | "markup" | "net" | undefined;
2833
+ commissionModel?: "fixed" | "percentage" | "markup" | "net" | undefined;
2834
2834
  currency?: string | null | undefined;
2835
2835
  amountCents?: number | null | undefined;
2836
2836
  rateBasisPoints?: number | null | undefined;
2837
- status?: "paid" | "void" | "pending" | "accrued" | "payable" | undefined;
2837
+ status?: "void" | "paid" | "pending" | "accrued" | "payable" | undefined;
2838
2838
  payableAt?: string | null | undefined;
2839
2839
  paidAt?: string | null | undefined;
2840
2840
  notes?: string | null | undefined;
@@ -2842,9 +2842,13 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2842
2842
  };
2843
2843
  output: {
2844
2844
  error: string;
2845
+ code: string;
2846
+ details?: {
2847
+ [x: string]: import("hono/utils/types").JSONValue;
2848
+ } | undefined;
2845
2849
  };
2846
2850
  outputFormat: "json";
2847
- status: 404;
2851
+ status: 400;
2848
2852
  } | {
2849
2853
  input: {
2850
2854
  param: {
@@ -2854,11 +2858,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2854
2858
  json: {
2855
2859
  recipientType: "other" | "supplier" | "channel" | "agency" | "internal" | "affiliate" | "agent";
2856
2860
  channelId?: string | null | undefined;
2857
- commissionModel?: "percentage" | "fixed" | "markup" | "net" | undefined;
2861
+ commissionModel?: "fixed" | "percentage" | "markup" | "net" | undefined;
2858
2862
  currency?: string | null | undefined;
2859
2863
  amountCents?: number | null | undefined;
2860
2864
  rateBasisPoints?: number | null | undefined;
2861
- status?: "paid" | "void" | "pending" | "accrued" | "payable" | undefined;
2865
+ status?: "void" | "paid" | "pending" | "accrued" | "payable" | undefined;
2862
2866
  payableAt?: string | null | undefined;
2863
2867
  paidAt?: string | null | undefined;
2864
2868
  notes?: string | null | undefined;
@@ -2866,13 +2870,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2866
2870
  };
2867
2871
  output: {
2868
2872
  error: string;
2869
- code: string;
2870
- details?: {
2871
- [x: string]: import("hono/utils/types").JSONValue;
2872
- } | undefined;
2873
2873
  };
2874
2874
  outputFormat: "json";
2875
- status: 400;
2875
+ status: 404;
2876
2876
  } | {
2877
2877
  input: {
2878
2878
  param: {
@@ -2882,11 +2882,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2882
2882
  json: {
2883
2883
  recipientType: "other" | "supplier" | "channel" | "agency" | "internal" | "affiliate" | "agent";
2884
2884
  channelId?: string | null | undefined;
2885
- commissionModel?: "percentage" | "fixed" | "markup" | "net" | undefined;
2885
+ commissionModel?: "fixed" | "percentage" | "markup" | "net" | undefined;
2886
2886
  currency?: string | null | undefined;
2887
2887
  amountCents?: number | null | undefined;
2888
2888
  rateBasisPoints?: number | null | undefined;
2889
- status?: "paid" | "void" | "pending" | "accrued" | "payable" | undefined;
2889
+ status?: "void" | "paid" | "pending" | "accrued" | "payable" | undefined;
2890
2890
  payableAt?: string | null | undefined;
2891
2891
  paidAt?: string | null | undefined;
2892
2892
  notes?: string | null | undefined;
@@ -2898,11 +2898,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2898
2898
  bookingItemId: string;
2899
2899
  channelId: string | null;
2900
2900
  recipientType: "other" | "supplier" | "channel" | "agency" | "internal" | "affiliate" | "agent";
2901
- commissionModel: "percentage" | "fixed" | "markup" | "net";
2901
+ commissionModel: "fixed" | "percentage" | "markup" | "net";
2902
2902
  currency: string | null;
2903
2903
  amountCents: number | null;
2904
2904
  rateBasisPoints: number | null;
2905
- status: "paid" | "void" | "pending" | "accrued" | "payable";
2905
+ status: "void" | "paid" | "pending" | "accrued" | "payable";
2906
2906
  payableAt: string | null;
2907
2907
  paidAt: string | null;
2908
2908
  notes: string | null;
@@ -2924,8 +2924,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2924
2924
  };
2925
2925
  } & {
2926
2926
  json: {
2927
- commissionModel?: "percentage" | "fixed" | "markup" | "net" | undefined;
2928
- status?: "paid" | "void" | "pending" | "accrued" | "payable" | undefined;
2927
+ commissionModel?: "fixed" | "percentage" | "markup" | "net" | undefined;
2928
+ status?: "void" | "paid" | "pending" | "accrued" | "payable" | undefined;
2929
2929
  channelId?: string | null | undefined;
2930
2930
  recipientType?: "other" | "supplier" | "channel" | "agency" | "internal" | "affiliate" | "agent" | undefined;
2931
2931
  currency?: string | null | undefined;
@@ -2938,9 +2938,13 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2938
2938
  };
2939
2939
  output: {
2940
2940
  error: string;
2941
+ code: string;
2942
+ details?: {
2943
+ [x: string]: import("hono/utils/types").JSONValue;
2944
+ } | undefined;
2941
2945
  };
2942
2946
  outputFormat: "json";
2943
- status: 404;
2947
+ status: 400;
2944
2948
  } | {
2945
2949
  input: {
2946
2950
  param: {
@@ -2949,8 +2953,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2949
2953
  };
2950
2954
  } & {
2951
2955
  json: {
2952
- commissionModel?: "percentage" | "fixed" | "markup" | "net" | undefined;
2953
- status?: "paid" | "void" | "pending" | "accrued" | "payable" | undefined;
2956
+ commissionModel?: "fixed" | "percentage" | "markup" | "net" | undefined;
2957
+ status?: "void" | "paid" | "pending" | "accrued" | "payable" | undefined;
2954
2958
  channelId?: string | null | undefined;
2955
2959
  recipientType?: "other" | "supplier" | "channel" | "agency" | "internal" | "affiliate" | "agent" | undefined;
2956
2960
  currency?: string | null | undefined;
@@ -2963,13 +2967,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2963
2967
  };
2964
2968
  output: {
2965
2969
  error: string;
2966
- code: string;
2967
- details?: {
2968
- [x: string]: import("hono/utils/types").JSONValue;
2969
- } | undefined;
2970
2970
  };
2971
2971
  outputFormat: "json";
2972
- status: 400;
2972
+ status: 404;
2973
2973
  } | {
2974
2974
  input: {
2975
2975
  param: {
@@ -2978,8 +2978,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2978
2978
  };
2979
2979
  } & {
2980
2980
  json: {
2981
- commissionModel?: "percentage" | "fixed" | "markup" | "net" | undefined;
2982
- status?: "paid" | "void" | "pending" | "accrued" | "payable" | undefined;
2981
+ commissionModel?: "fixed" | "percentage" | "markup" | "net" | undefined;
2982
+ status?: "void" | "paid" | "pending" | "accrued" | "payable" | undefined;
2983
2983
  channelId?: string | null | undefined;
2984
2984
  recipientType?: "other" | "supplier" | "channel" | "agency" | "internal" | "affiliate" | "agent" | undefined;
2985
2985
  currency?: string | null | undefined;
@@ -2996,11 +2996,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
2996
2996
  bookingItemId: string;
2997
2997
  channelId: string | null;
2998
2998
  recipientType: "other" | "supplier" | "channel" | "agency" | "internal" | "affiliate" | "agent";
2999
- commissionModel: "percentage" | "fixed" | "markup" | "net";
2999
+ commissionModel: "fixed" | "percentage" | "markup" | "net";
3000
3000
  currency: string | null;
3001
3001
  amountCents: number | null;
3002
3002
  rateBasisPoints: number | null;
3003
- status: "paid" | "void" | "pending" | "accrued" | "payable";
3003
+ status: "void" | "paid" | "pending" | "accrued" | "payable";
3004
3004
  payableAt: string | null;
3005
3005
  paidAt: string | null;
3006
3006
  notes: string | null;
@@ -3297,8 +3297,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3297
3297
  bookingId: string;
3298
3298
  bookingPaymentScheduleId: string | null;
3299
3299
  bookingItemId: string | null;
3300
- guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3301
- status: "pending" | "failed" | "cancelled" | "expired" | "active" | "released";
3300
+ guaranteeType: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3301
+ status: "expired" | "active" | "pending" | "failed" | "cancelled" | "released";
3302
3302
  paymentInstrumentId: string | null;
3303
3303
  paymentAuthorizationId: string | null;
3304
3304
  currency: string | null;
@@ -3326,10 +3326,10 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3326
3326
  };
3327
3327
  } & {
3328
3328
  json: {
3329
- guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3329
+ guaranteeType: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3330
3330
  bookingPaymentScheduleId?: string | null | undefined;
3331
3331
  bookingItemId?: string | null | undefined;
3332
- status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
3332
+ status?: "expired" | "active" | "pending" | "failed" | "cancelled" | "released" | undefined;
3333
3333
  paymentInstrumentId?: string | null | undefined;
3334
3334
  paymentAuthorizationId?: string | null | undefined;
3335
3335
  currency?: string | null | undefined;
@@ -3354,10 +3354,10 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3354
3354
  };
3355
3355
  } & {
3356
3356
  json: {
3357
- guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3357
+ guaranteeType: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3358
3358
  bookingPaymentScheduleId?: string | null | undefined;
3359
3359
  bookingItemId?: string | null | undefined;
3360
- status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
3360
+ status?: "expired" | "active" | "pending" | "failed" | "cancelled" | "released" | undefined;
3361
3361
  paymentInstrumentId?: string | null | undefined;
3362
3362
  paymentAuthorizationId?: string | null | undefined;
3363
3363
  currency?: string | null | undefined;
@@ -3382,10 +3382,10 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3382
3382
  };
3383
3383
  } & {
3384
3384
  json: {
3385
- guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3385
+ guaranteeType: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3386
3386
  bookingPaymentScheduleId?: string | null | undefined;
3387
3387
  bookingItemId?: string | null | undefined;
3388
- status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
3388
+ status?: "expired" | "active" | "pending" | "failed" | "cancelled" | "released" | undefined;
3389
3389
  paymentInstrumentId?: string | null | undefined;
3390
3390
  paymentAuthorizationId?: string | null | undefined;
3391
3391
  currency?: string | null | undefined;
@@ -3404,8 +3404,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3404
3404
  bookingId: string;
3405
3405
  bookingPaymentScheduleId: string | null;
3406
3406
  bookingItemId: string | null;
3407
- guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3408
- status: "pending" | "failed" | "cancelled" | "expired" | "active" | "released";
3407
+ guaranteeType: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3408
+ status: "expired" | "active" | "pending" | "failed" | "cancelled" | "released";
3409
3409
  paymentInstrumentId: string | null;
3410
3410
  paymentAuthorizationId: string | null;
3411
3411
  currency: string | null;
@@ -3473,7 +3473,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3473
3473
  idempotencyKey?: string | null | undefined;
3474
3474
  } | undefined;
3475
3475
  provider?: string | null | undefined;
3476
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
3476
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
3477
3477
  payerPersonId?: string | null | undefined;
3478
3478
  payerOrganizationId?: string | null | undefined;
3479
3479
  payerEmail?: string | null | undefined;
@@ -3542,7 +3542,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3542
3542
  idempotencyKey?: string | null | undefined;
3543
3543
  } | undefined;
3544
3544
  provider?: string | null | undefined;
3545
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
3545
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
3546
3546
  payerPersonId?: string | null | undefined;
3547
3547
  payerOrganizationId?: string | null | undefined;
3548
3548
  payerEmail?: string | null | undefined;
@@ -3611,7 +3611,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3611
3611
  idempotencyKey?: string | null | undefined;
3612
3612
  } | undefined;
3613
3613
  provider?: string | null | undefined;
3614
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
3614
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
3615
3615
  payerPersonId?: string | null | undefined;
3616
3616
  payerOrganizationId?: string | null | undefined;
3617
3617
  payerEmail?: string | null | undefined;
@@ -3680,7 +3680,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3680
3680
  idempotencyKey?: string | null | undefined;
3681
3681
  } | undefined;
3682
3682
  provider?: string | null | undefined;
3683
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
3683
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
3684
3684
  payerPersonId?: string | null | undefined;
3685
3685
  payerOrganizationId?: string | null | undefined;
3686
3686
  payerEmail?: string | null | undefined;
@@ -3700,7 +3700,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3700
3700
  output: {
3701
3701
  data: {
3702
3702
  id: string;
3703
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
3703
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
3704
3704
  targetId: string | null;
3705
3705
  bookingId: string | null;
3706
3706
  orderId: string | null;
@@ -3711,7 +3711,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3711
3711
  paymentAuthorizationId: string | null;
3712
3712
  paymentCaptureId: string | null;
3713
3713
  paymentId: string | null;
3714
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
3714
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
3715
3715
  provider: string | null;
3716
3716
  providerSessionId: string | null;
3717
3717
  providerPaymentId: string | null;
@@ -3720,7 +3720,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3720
3720
  clientReference: string | null;
3721
3721
  currency: string;
3722
3722
  amountCents: number;
3723
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
3723
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
3724
3724
  payerPersonId: string | null;
3725
3725
  payerOrganizationId: string | null;
3726
3726
  payerEmail: string | null;
@@ -3763,8 +3763,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3763
3763
  json: {
3764
3764
  bookingPaymentScheduleId?: string | null | undefined;
3765
3765
  bookingItemId?: string | null | undefined;
3766
- guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
3767
- status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
3766
+ guaranteeType?: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
3767
+ status?: "expired" | "active" | "pending" | "failed" | "cancelled" | "released" | undefined;
3768
3768
  paymentInstrumentId?: string | null | undefined;
3769
3769
  paymentAuthorizationId?: string | null | undefined;
3770
3770
  currency?: string | null | undefined;
@@ -3792,8 +3792,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3792
3792
  json: {
3793
3793
  bookingPaymentScheduleId?: string | null | undefined;
3794
3794
  bookingItemId?: string | null | undefined;
3795
- guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
3796
- status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
3795
+ guaranteeType?: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
3796
+ status?: "expired" | "active" | "pending" | "failed" | "cancelled" | "released" | undefined;
3797
3797
  paymentInstrumentId?: string | null | undefined;
3798
3798
  paymentAuthorizationId?: string | null | undefined;
3799
3799
  currency?: string | null | undefined;
@@ -3821,8 +3821,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3821
3821
  json: {
3822
3822
  bookingPaymentScheduleId?: string | null | undefined;
3823
3823
  bookingItemId?: string | null | undefined;
3824
- guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
3825
- status?: "pending" | "failed" | "cancelled" | "expired" | "active" | "released" | undefined;
3824
+ guaranteeType?: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
3825
+ status?: "expired" | "active" | "pending" | "failed" | "cancelled" | "released" | undefined;
3826
3826
  paymentInstrumentId?: string | null | undefined;
3827
3827
  paymentAuthorizationId?: string | null | undefined;
3828
3828
  currency?: string | null | undefined;
@@ -3841,8 +3841,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3841
3841
  bookingId: string;
3842
3842
  bookingPaymentScheduleId: string | null;
3843
3843
  bookingItemId: string | null;
3844
- guaranteeType: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3845
- status: "pending" | "failed" | "cancelled" | "expired" | "active" | "released";
3844
+ guaranteeType: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter";
3845
+ status: "expired" | "active" | "pending" | "failed" | "cancelled" | "released";
3846
3846
  paymentInstrumentId: string | null;
3847
3847
  paymentAuthorizationId: string | null;
3848
3848
  currency: string | null;
@@ -3872,9 +3872,13 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3872
3872
  };
3873
3873
  output: {
3874
3874
  error: string;
3875
+ code: string;
3876
+ details?: {
3877
+ [x: string]: import("hono/utils/types").JSONValue;
3878
+ } | undefined;
3875
3879
  };
3876
3880
  outputFormat: "json";
3877
- status: 404;
3881
+ status: 400;
3878
3882
  } | {
3879
3883
  input: {
3880
3884
  param: {
@@ -3884,13 +3888,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3884
3888
  };
3885
3889
  output: {
3886
3890
  error: string;
3887
- code: string;
3888
- details?: {
3889
- [x: string]: import("hono/utils/types").JSONValue;
3890
- } | undefined;
3891
3891
  };
3892
3892
  outputFormat: "json";
3893
- status: 400;
3893
+ status: 404;
3894
3894
  } | {
3895
3895
  input: {
3896
3896
  param: {
@@ -3919,7 +3919,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3919
3919
  bookingId: string;
3920
3920
  bookingItemId: string | null;
3921
3921
  scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
3922
- status: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived";
3922
+ status: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived";
3923
3923
  dueDate: string;
3924
3924
  currency: string;
3925
3925
  amountCents: number;
@@ -3946,7 +3946,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3946
3946
  amountCents: number;
3947
3947
  bookingItemId?: string | null | undefined;
3948
3948
  scheduleType?: "other" | "deposit" | "installment" | "balance" | "hold" | undefined;
3949
- status?: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived" | undefined;
3949
+ status?: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived" | undefined;
3950
3950
  notes?: string | null | undefined;
3951
3951
  };
3952
3952
  };
@@ -3956,7 +3956,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3956
3956
  bookingId: string;
3957
3957
  bookingItemId: string | null;
3958
3958
  scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
3959
- status: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived";
3959
+ status: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived";
3960
3960
  dueDate: string;
3961
3961
  currency: string;
3962
3962
  amountCents: number;
@@ -3979,15 +3979,19 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
3979
3979
  amountCents: number;
3980
3980
  bookingItemId?: string | null | undefined;
3981
3981
  scheduleType?: "other" | "deposit" | "installment" | "balance" | "hold" | undefined;
3982
- status?: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived" | undefined;
3982
+ status?: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived" | undefined;
3983
3983
  notes?: string | null | undefined;
3984
3984
  };
3985
3985
  };
3986
3986
  output: {
3987
3987
  error: string;
3988
+ code: string;
3989
+ details?: {
3990
+ [x: string]: import("hono/utils/types").JSONValue;
3991
+ } | undefined;
3988
3992
  };
3989
3993
  outputFormat: "json";
3990
- status: 404;
3994
+ status: 400;
3991
3995
  } | {
3992
3996
  input: {
3993
3997
  param: {
@@ -4000,19 +4004,15 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4000
4004
  amountCents: number;
4001
4005
  bookingItemId?: string | null | undefined;
4002
4006
  scheduleType?: "other" | "deposit" | "installment" | "balance" | "hold" | undefined;
4003
- status?: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived" | undefined;
4007
+ status?: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived" | undefined;
4004
4008
  notes?: string | null | undefined;
4005
4009
  };
4006
4010
  };
4007
4011
  output: {
4008
4012
  error: string;
4009
- code: string;
4010
- details?: {
4011
- [x: string]: import("hono/utils/types").JSONValue;
4012
- } | undefined;
4013
4013
  };
4014
4014
  outputFormat: "json";
4015
- status: 400;
4015
+ status: 404;
4016
4016
  } | {
4017
4017
  input: {
4018
4018
  param: {
@@ -4025,7 +4025,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4025
4025
  amountCents: number;
4026
4026
  bookingItemId?: string | null | undefined;
4027
4027
  scheduleType?: "other" | "deposit" | "installment" | "balance" | "hold" | undefined;
4028
- status?: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived" | undefined;
4028
+ status?: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived" | undefined;
4029
4029
  notes?: string | null | undefined;
4030
4030
  };
4031
4031
  };
@@ -4056,7 +4056,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4056
4056
  balanceDueDaysBeforeStart?: number | undefined;
4057
4057
  clearExistingPending?: boolean | undefined;
4058
4058
  createGuarantee?: boolean | undefined;
4059
- guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
4059
+ guaranteeType?: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
4060
4060
  notes?: string | null | undefined;
4061
4061
  };
4062
4062
  };
@@ -4078,7 +4078,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4078
4078
  balanceDueDaysBeforeStart?: number | undefined;
4079
4079
  clearExistingPending?: boolean | undefined;
4080
4080
  createGuarantee?: boolean | undefined;
4081
- guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
4081
+ guaranteeType?: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
4082
4082
  notes?: string | null | undefined;
4083
4083
  };
4084
4084
  };
@@ -4088,7 +4088,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4088
4088
  bookingId: string;
4089
4089
  bookingItemId: string | null;
4090
4090
  scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
4091
- status: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived";
4091
+ status: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived";
4092
4092
  dueDate: string;
4093
4093
  currency: string;
4094
4094
  amountCents: number;
@@ -4112,7 +4112,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4112
4112
  balanceDueDaysBeforeStart?: number | undefined;
4113
4113
  clearExistingPending?: boolean | undefined;
4114
4114
  createGuarantee?: boolean | undefined;
4115
- guaranteeType?: "bank_transfer" | "credit_card" | "other" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
4115
+ guaranteeType?: "other" | "credit_card" | "bank_transfer" | "deposit" | "preauth" | "card_on_file" | "voucher" | "agency_letter" | undefined;
4116
4116
  notes?: string | null | undefined;
4117
4117
  };
4118
4118
  };
@@ -4135,7 +4135,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4135
4135
  json: {
4136
4136
  bookingItemId?: string | null | undefined;
4137
4137
  scheduleType?: "other" | "deposit" | "installment" | "balance" | "hold" | undefined;
4138
- status?: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived" | undefined;
4138
+ status?: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived" | undefined;
4139
4139
  dueDate?: string | undefined;
4140
4140
  currency?: string | undefined;
4141
4141
  amountCents?: number | undefined;
@@ -4144,9 +4144,13 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4144
4144
  };
4145
4145
  output: {
4146
4146
  error: string;
4147
+ code: string;
4148
+ details?: {
4149
+ [x: string]: import("hono/utils/types").JSONValue;
4150
+ } | undefined;
4147
4151
  };
4148
4152
  outputFormat: "json";
4149
- status: 404;
4153
+ status: 400;
4150
4154
  } | {
4151
4155
  input: {
4152
4156
  param: {
@@ -4157,7 +4161,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4157
4161
  json: {
4158
4162
  bookingItemId?: string | null | undefined;
4159
4163
  scheduleType?: "other" | "deposit" | "installment" | "balance" | "hold" | undefined;
4160
- status?: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived" | undefined;
4164
+ status?: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived" | undefined;
4161
4165
  dueDate?: string | undefined;
4162
4166
  currency?: string | undefined;
4163
4167
  amountCents?: number | undefined;
@@ -4166,13 +4170,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4166
4170
  };
4167
4171
  output: {
4168
4172
  error: string;
4169
- code: string;
4170
- details?: {
4171
- [x: string]: import("hono/utils/types").JSONValue;
4172
- } | undefined;
4173
4173
  };
4174
4174
  outputFormat: "json";
4175
- status: 400;
4175
+ status: 404;
4176
4176
  } | {
4177
4177
  input: {
4178
4178
  param: {
@@ -4183,7 +4183,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4183
4183
  json: {
4184
4184
  bookingItemId?: string | null | undefined;
4185
4185
  scheduleType?: "other" | "deposit" | "installment" | "balance" | "hold" | undefined;
4186
- status?: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived" | undefined;
4186
+ status?: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived" | undefined;
4187
4187
  dueDate?: string | undefined;
4188
4188
  currency?: string | undefined;
4189
4189
  amountCents?: number | undefined;
@@ -4210,7 +4210,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4210
4210
  json: {
4211
4211
  bookingItemId?: string | null | undefined;
4212
4212
  scheduleType?: "other" | "deposit" | "installment" | "balance" | "hold" | undefined;
4213
- status?: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived" | undefined;
4213
+ status?: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived" | undefined;
4214
4214
  dueDate?: string | undefined;
4215
4215
  currency?: string | undefined;
4216
4216
  amountCents?: number | undefined;
@@ -4223,7 +4223,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4223
4223
  bookingId: string;
4224
4224
  bookingItemId: string | null;
4225
4225
  scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
4226
- status: "paid" | "pending" | "cancelled" | "expired" | "due" | "waived";
4226
+ status: "paid" | "expired" | "pending" | "cancelled" | "due" | "waived";
4227
4227
  dueDate: string;
4228
4228
  currency: string;
4229
4229
  amountCents: number;
@@ -4285,7 +4285,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4285
4285
  idempotencyKey?: string | null | undefined;
4286
4286
  } | undefined;
4287
4287
  provider?: string | null | undefined;
4288
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
4288
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
4289
4289
  payerPersonId?: string | null | undefined;
4290
4290
  payerOrganizationId?: string | null | undefined;
4291
4291
  payerEmail?: string | null | undefined;
@@ -4354,7 +4354,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4354
4354
  idempotencyKey?: string | null | undefined;
4355
4355
  } | undefined;
4356
4356
  provider?: string | null | undefined;
4357
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
4357
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
4358
4358
  payerPersonId?: string | null | undefined;
4359
4359
  payerOrganizationId?: string | null | undefined;
4360
4360
  payerEmail?: string | null | undefined;
@@ -4423,7 +4423,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4423
4423
  idempotencyKey?: string | null | undefined;
4424
4424
  } | undefined;
4425
4425
  provider?: string | null | undefined;
4426
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
4426
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
4427
4427
  payerPersonId?: string | null | undefined;
4428
4428
  payerOrganizationId?: string | null | undefined;
4429
4429
  payerEmail?: string | null | undefined;
@@ -4443,7 +4443,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4443
4443
  output: {
4444
4444
  data: {
4445
4445
  id: string;
4446
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
4446
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
4447
4447
  targetId: string | null;
4448
4448
  bookingId: string | null;
4449
4449
  orderId: string | null;
@@ -4454,7 +4454,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4454
4454
  paymentAuthorizationId: string | null;
4455
4455
  paymentCaptureId: string | null;
4456
4456
  paymentId: string | null;
4457
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
4457
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
4458
4458
  provider: string | null;
4459
4459
  providerSessionId: string | null;
4460
4460
  providerPaymentId: string | null;
@@ -4463,7 +4463,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4463
4463
  clientReference: string | null;
4464
4464
  currency: string;
4465
4465
  amountCents: number;
4466
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
4466
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
4467
4467
  payerPersonId: string | null;
4468
4468
  payerOrganizationId: string | null;
4469
4469
  payerEmail: string | null;
@@ -4539,7 +4539,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4539
4539
  idempotencyKey?: string | null | undefined;
4540
4540
  } | undefined;
4541
4541
  provider?: string | null | undefined;
4542
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
4542
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
4543
4543
  payerPersonId?: string | null | undefined;
4544
4544
  payerOrganizationId?: string | null | undefined;
4545
4545
  payerEmail?: string | null | undefined;
@@ -4599,12 +4599,12 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4599
4599
  bookingId?: string | undefined;
4600
4600
  supplierInvoiceId?: string | undefined;
4601
4601
  supplierId?: string | undefined;
4602
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
4603
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
4602
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
4603
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
4604
4604
  currency?: string | undefined;
4605
4605
  paymentDateFrom?: string | undefined;
4606
4606
  paymentDateTo?: string | undefined;
4607
- sortBy?: "status" | "createdAt" | "amountCents" | "paymentDate" | undefined;
4607
+ sortBy?: "status" | "amountCents" | "paymentDate" | "createdAt" | undefined;
4608
4608
  sortDir?: "asc" | "desc" | undefined;
4609
4609
  limit?: unknown;
4610
4610
  offset?: unknown;
@@ -4622,9 +4622,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4622
4622
  baseCurrency: string | null;
4623
4623
  baseAmountCents: number | null;
4624
4624
  fxRateSetId: string | null;
4625
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
4625
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
4626
4626
  paymentInstrumentId: string | null;
4627
- status: "pending" | "completed" | "failed" | "refunded";
4627
+ status: "pending" | "failed" | "completed" | "refunded";
4628
4628
  referenceNumber: string | null;
4629
4629
  paymentDate: string;
4630
4630
  notes: string | null;
@@ -4646,7 +4646,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4646
4646
  json: {
4647
4647
  amountCents: number;
4648
4648
  currency: string;
4649
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
4649
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
4650
4650
  paymentDate: string;
4651
4651
  bookingId?: string | null | undefined;
4652
4652
  supplierInvoiceId?: string | null | undefined;
@@ -4656,7 +4656,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4656
4656
  baseAmountCents?: number | null | undefined;
4657
4657
  fxRateSetId?: string | null | undefined;
4658
4658
  paymentInstrumentId?: string | null | undefined;
4659
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
4659
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
4660
4660
  referenceNumber?: string | null | undefined;
4661
4661
  notes?: string | null | undefined;
4662
4662
  };
@@ -4671,7 +4671,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4671
4671
  json: {
4672
4672
  amountCents: number;
4673
4673
  currency: string;
4674
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
4674
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
4675
4675
  paymentDate: string;
4676
4676
  bookingId?: string | null | undefined;
4677
4677
  supplierInvoiceId?: string | null | undefined;
@@ -4681,7 +4681,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4681
4681
  baseAmountCents?: number | null | undefined;
4682
4682
  fxRateSetId?: string | null | undefined;
4683
4683
  paymentInstrumentId?: string | null | undefined;
4684
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
4684
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
4685
4685
  referenceNumber?: string | null | undefined;
4686
4686
  notes?: string | null | undefined;
4687
4687
  };
@@ -4698,9 +4698,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4698
4698
  baseCurrency: string | null;
4699
4699
  baseAmountCents: number | null;
4700
4700
  fxRateSetId: string | null;
4701
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
4701
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
4702
4702
  paymentInstrumentId: string | null;
4703
- status: "pending" | "completed" | "failed" | "refunded";
4703
+ status: "pending" | "failed" | "completed" | "refunded";
4704
4704
  referenceNumber: string | null;
4705
4705
  paymentDate: string;
4706
4706
  notes: string | null;
@@ -4715,7 +4715,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4715
4715
  json: {
4716
4716
  amountCents: number;
4717
4717
  currency: string;
4718
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
4718
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
4719
4719
  paymentDate: string;
4720
4720
  bookingId?: string | null | undefined;
4721
4721
  supplierInvoiceId?: string | null | undefined;
@@ -4725,7 +4725,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4725
4725
  baseAmountCents?: number | null | undefined;
4726
4726
  fxRateSetId?: string | null | undefined;
4727
4727
  paymentInstrumentId?: string | null | undefined;
4728
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
4728
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
4729
4729
  referenceNumber?: string | null | undefined;
4730
4730
  notes?: string | null | undefined;
4731
4731
  };
@@ -4756,9 +4756,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4756
4756
  baseCurrency?: string | null | undefined;
4757
4757
  baseAmountCents?: number | null | undefined;
4758
4758
  fxRateSetId?: string | null | undefined;
4759
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
4759
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
4760
4760
  paymentInstrumentId?: string | null | undefined;
4761
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
4761
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
4762
4762
  referenceNumber?: string | null | undefined;
4763
4763
  paymentDate?: string | undefined;
4764
4764
  notes?: string | null | undefined;
@@ -4768,7 +4768,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4768
4768
  error: string;
4769
4769
  };
4770
4770
  outputFormat: "json";
4771
- status: 404;
4771
+ status: 400;
4772
4772
  } | {
4773
4773
  input: {
4774
4774
  param: {
@@ -4785,9 +4785,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4785
4785
  baseCurrency?: string | null | undefined;
4786
4786
  baseAmountCents?: number | null | undefined;
4787
4787
  fxRateSetId?: string | null | undefined;
4788
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
4788
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
4789
4789
  paymentInstrumentId?: string | null | undefined;
4790
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
4790
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
4791
4791
  referenceNumber?: string | null | undefined;
4792
4792
  paymentDate?: string | undefined;
4793
4793
  notes?: string | null | undefined;
@@ -4797,7 +4797,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4797
4797
  error: string;
4798
4798
  };
4799
4799
  outputFormat: "json";
4800
- status: 400;
4800
+ status: 404;
4801
4801
  } | {
4802
4802
  input: {
4803
4803
  param: {
@@ -4814,9 +4814,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4814
4814
  baseCurrency?: string | null | undefined;
4815
4815
  baseAmountCents?: number | null | undefined;
4816
4816
  fxRateSetId?: string | null | undefined;
4817
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
4817
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
4818
4818
  paymentInstrumentId?: string | null | undefined;
4819
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
4819
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
4820
4820
  referenceNumber?: string | null | undefined;
4821
4821
  paymentDate?: string | undefined;
4822
4822
  notes?: string | null | undefined;
@@ -4844,9 +4844,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4844
4844
  baseCurrency?: string | null | undefined;
4845
4845
  baseAmountCents?: number | null | undefined;
4846
4846
  fxRateSetId?: string | null | undefined;
4847
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
4847
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
4848
4848
  paymentInstrumentId?: string | null | undefined;
4849
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
4849
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
4850
4850
  referenceNumber?: string | null | undefined;
4851
4851
  paymentDate?: string | undefined;
4852
4852
  notes?: string | null | undefined;
@@ -4864,9 +4864,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4864
4864
  baseCurrency: string | null;
4865
4865
  baseAmountCents: number | null;
4866
4866
  fxRateSetId: string | null;
4867
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
4867
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
4868
4868
  paymentInstrumentId: string | null;
4869
- status: "pending" | "completed" | "failed" | "refunded";
4869
+ status: "pending" | "failed" | "completed" | "refunded";
4870
4870
  referenceNumber: string | null;
4871
4871
  paymentDate: string;
4872
4872
  notes: string | null;
@@ -4884,8 +4884,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4884
4884
  input: {
4885
4885
  query: {
4886
4886
  kind?: "supplier" | "customer" | undefined;
4887
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
4888
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
4887
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
4888
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
4889
4889
  currency?: string | undefined;
4890
4890
  invoiceId?: string | undefined;
4891
4891
  bookingId?: string | undefined;
@@ -4893,7 +4893,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4893
4893
  paymentDateFrom?: string | undefined;
4894
4894
  paymentDateTo?: string | undefined;
4895
4895
  search?: string | undefined;
4896
- sortBy?: "status" | "createdAt" | "amountCents" | "paymentDate" | undefined;
4896
+ sortBy?: "status" | "amountCents" | "paymentDate" | "createdAt" | undefined;
4897
4897
  sortDir?: "asc" | "desc" | undefined;
4898
4898
  limit?: unknown;
4899
4899
  offset?: unknown;
@@ -4997,11 +4997,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
4997
4997
  baseCurrency?: string | null | undefined;
4998
4998
  baseAmountCents?: number | null | undefined;
4999
4999
  fxRateSetId?: string | null | undefined;
5000
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
5000
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
5001
5001
  paymentInstrumentId?: string | null | undefined;
5002
5002
  paymentAuthorizationId?: string | null | undefined;
5003
5003
  paymentCaptureId?: string | null | undefined;
5004
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
5004
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
5005
5005
  referenceNumber?: string | null | undefined;
5006
5006
  paymentDate?: string | undefined;
5007
5007
  notes?: string | null | undefined;
@@ -5011,7 +5011,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5011
5011
  error: string;
5012
5012
  };
5013
5013
  outputFormat: "json";
5014
- status: 404;
5014
+ status: 400;
5015
5015
  } | {
5016
5016
  input: {
5017
5017
  param: {
@@ -5024,11 +5024,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5024
5024
  baseCurrency?: string | null | undefined;
5025
5025
  baseAmountCents?: number | null | undefined;
5026
5026
  fxRateSetId?: string | null | undefined;
5027
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
5027
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
5028
5028
  paymentInstrumentId?: string | null | undefined;
5029
5029
  paymentAuthorizationId?: string | null | undefined;
5030
5030
  paymentCaptureId?: string | null | undefined;
5031
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
5031
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
5032
5032
  referenceNumber?: string | null | undefined;
5033
5033
  paymentDate?: string | undefined;
5034
5034
  notes?: string | null | undefined;
@@ -5038,7 +5038,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5038
5038
  error: string;
5039
5039
  };
5040
5040
  outputFormat: "json";
5041
- status: 400;
5041
+ status: 404;
5042
5042
  } | {
5043
5043
  input: {
5044
5044
  param: {
@@ -5051,21 +5051,39 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5051
5051
  baseCurrency?: string | null | undefined;
5052
5052
  baseAmountCents?: number | null | undefined;
5053
5053
  fxRateSetId?: string | null | undefined;
5054
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
5054
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
5055
5055
  paymentInstrumentId?: string | null | undefined;
5056
5056
  paymentAuthorizationId?: string | null | undefined;
5057
5057
  paymentCaptureId?: string | null | undefined;
5058
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
5058
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
5059
5059
  referenceNumber?: string | null | undefined;
5060
5060
  paymentDate?: string | undefined;
5061
5061
  notes?: string | null | undefined;
5062
5062
  };
5063
5063
  };
5064
5064
  output: {
5065
- error: string;
5065
+ data: {
5066
+ id: string;
5067
+ invoiceId: string;
5068
+ amountCents: number;
5069
+ currency: string;
5070
+ baseCurrency: string | null;
5071
+ baseAmountCents: number | null;
5072
+ fxRateSetId: string | null;
5073
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
5074
+ paymentInstrumentId: string | null;
5075
+ paymentAuthorizationId: string | null;
5076
+ paymentCaptureId: string | null;
5077
+ status: "pending" | "failed" | "completed" | "refunded";
5078
+ referenceNumber: string | null;
5079
+ paymentDate: string;
5080
+ notes: string | null;
5081
+ createdAt: string;
5082
+ updatedAt: string;
5083
+ };
5066
5084
  };
5067
5085
  outputFormat: "json";
5068
- status: 409;
5086
+ status: 200;
5069
5087
  } | {
5070
5088
  input: {
5071
5089
  param: {
@@ -5078,39 +5096,21 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5078
5096
  baseCurrency?: string | null | undefined;
5079
5097
  baseAmountCents?: number | null | undefined;
5080
5098
  fxRateSetId?: string | null | undefined;
5081
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | undefined;
5099
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
5082
5100
  paymentInstrumentId?: string | null | undefined;
5083
5101
  paymentAuthorizationId?: string | null | undefined;
5084
5102
  paymentCaptureId?: string | null | undefined;
5085
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
5103
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
5086
5104
  referenceNumber?: string | null | undefined;
5087
5105
  paymentDate?: string | undefined;
5088
5106
  notes?: string | null | undefined;
5089
5107
  };
5090
5108
  };
5091
5109
  output: {
5092
- data: {
5093
- id: string;
5094
- invoiceId: string;
5095
- amountCents: number;
5096
- currency: string;
5097
- baseCurrency: string | null;
5098
- baseAmountCents: number | null;
5099
- fxRateSetId: string | null;
5100
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
5101
- paymentInstrumentId: string | null;
5102
- paymentAuthorizationId: string | null;
5103
- paymentCaptureId: string | null;
5104
- status: "pending" | "completed" | "failed" | "refunded";
5105
- referenceNumber: string | null;
5106
- paymentDate: string;
5107
- notes: string | null;
5108
- createdAt: string;
5109
- updatedAt: string;
5110
- };
5110
+ error: string;
5111
5111
  };
5112
5112
  outputFormat: "json";
5113
- status: 200;
5113
+ status: 409;
5114
5114
  };
5115
5115
  };
5116
5116
  } & {
@@ -5125,7 +5125,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5125
5125
  error: string;
5126
5126
  };
5127
5127
  outputFormat: "json";
5128
- status: 404;
5128
+ status: 400;
5129
5129
  } | {
5130
5130
  input: {
5131
5131
  param: {
@@ -5136,7 +5136,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5136
5136
  error: string;
5137
5137
  };
5138
5138
  outputFormat: "json";
5139
- status: 400;
5139
+ status: 404;
5140
5140
  } | {
5141
5141
  input: {
5142
5142
  param: {
@@ -5152,11 +5152,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5152
5152
  baseCurrency: string | null;
5153
5153
  baseAmountCents: number | null;
5154
5154
  fxRateSetId: string | null;
5155
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
5155
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
5156
5156
  paymentInstrumentId: string | null;
5157
5157
  paymentAuthorizationId: string | null;
5158
5158
  paymentCaptureId: string | null;
5159
- status: "pending" | "completed" | "failed" | "refunded";
5159
+ status: "pending" | "failed" | "completed" | "refunded";
5160
5160
  referenceNumber: string | null;
5161
5161
  paymentDate: string;
5162
5162
  notes: string | null;
@@ -5205,7 +5205,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5205
5205
  error: string;
5206
5206
  };
5207
5207
  outputFormat: "json";
5208
- status: 404;
5208
+ status: 400;
5209
5209
  } | {
5210
5210
  input: {
5211
5211
  param: {
@@ -5220,7 +5220,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5220
5220
  error: string;
5221
5221
  };
5222
5222
  outputFormat: "json";
5223
- status: 400;
5223
+ status: 404;
5224
5224
  } | {
5225
5225
  input: {
5226
5226
  param: {
@@ -5290,7 +5290,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5290
5290
  error: string;
5291
5291
  };
5292
5292
  outputFormat: "json";
5293
- status: 404;
5293
+ status: 400;
5294
5294
  } | {
5295
5295
  input: {
5296
5296
  param: {
@@ -5310,7 +5310,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5310
5310
  error: string;
5311
5311
  };
5312
5312
  outputFormat: "json";
5313
- status: 400;
5313
+ status: 404;
5314
5314
  } | {
5315
5315
  input: {
5316
5316
  param: {
@@ -5395,7 +5395,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5395
5395
  error: string;
5396
5396
  };
5397
5397
  outputFormat: "json";
5398
- status: 404;
5398
+ status: 400;
5399
5399
  } | {
5400
5400
  input: {
5401
5401
  param: {
@@ -5418,7 +5418,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5418
5418
  error: string;
5419
5419
  };
5420
5420
  outputFormat: "json";
5421
- status: 400;
5421
+ status: 404;
5422
5422
  } | {
5423
5423
  input: {
5424
5424
  param: {
@@ -5506,7 +5506,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5506
5506
  error: string;
5507
5507
  };
5508
5508
  outputFormat: "json";
5509
- status: 404;
5509
+ status: 400;
5510
5510
  } | {
5511
5511
  input: {
5512
5512
  param: {
@@ -5530,7 +5530,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5530
5530
  error: string;
5531
5531
  };
5532
5532
  outputFormat: "json";
5533
- status: 400;
5533
+ status: 404;
5534
5534
  } | {
5535
5535
  input: {
5536
5536
  param: {
@@ -5612,11 +5612,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5612
5612
  baseCurrency: string | null;
5613
5613
  baseAmountCents: number | null;
5614
5614
  fxRateSetId: string | null;
5615
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
5615
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
5616
5616
  paymentInstrumentId: string | null;
5617
5617
  paymentAuthorizationId: string | null;
5618
5618
  paymentCaptureId: string | null;
5619
- status: "pending" | "completed" | "failed" | "refunded";
5619
+ status: "pending" | "failed" | "completed" | "refunded";
5620
5620
  referenceNumber: string | null;
5621
5621
  paymentDate: string;
5622
5622
  notes: string | null;
@@ -5639,7 +5639,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5639
5639
  json: {
5640
5640
  amountCents: number;
5641
5641
  currency: string;
5642
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
5642
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
5643
5643
  paymentDate: string;
5644
5644
  baseCurrency?: string | null | undefined;
5645
5645
  baseAmountCents?: number | null | undefined;
@@ -5649,7 +5649,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5649
5649
  paymentCaptureId?: string | null | undefined;
5650
5650
  referenceNumber?: string | null | undefined;
5651
5651
  notes?: string | null | undefined;
5652
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
5652
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
5653
5653
  idempotencyKey?: string | null | undefined;
5654
5654
  };
5655
5655
  };
@@ -5657,7 +5657,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5657
5657
  error: string;
5658
5658
  };
5659
5659
  outputFormat: "json";
5660
- status: 404;
5660
+ status: 400;
5661
5661
  } | {
5662
5662
  input: {
5663
5663
  param: {
@@ -5667,7 +5667,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5667
5667
  json: {
5668
5668
  amountCents: number;
5669
5669
  currency: string;
5670
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
5670
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
5671
5671
  paymentDate: string;
5672
5672
  baseCurrency?: string | null | undefined;
5673
5673
  baseAmountCents?: number | null | undefined;
@@ -5677,7 +5677,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5677
5677
  paymentCaptureId?: string | null | undefined;
5678
5678
  referenceNumber?: string | null | undefined;
5679
5679
  notes?: string | null | undefined;
5680
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
5680
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
5681
5681
  idempotencyKey?: string | null | undefined;
5682
5682
  };
5683
5683
  };
@@ -5685,7 +5685,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5685
5685
  error: string;
5686
5686
  };
5687
5687
  outputFormat: "json";
5688
- status: 400;
5688
+ status: 404;
5689
5689
  } | {
5690
5690
  input: {
5691
5691
  param: {
@@ -5695,7 +5695,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5695
5695
  json: {
5696
5696
  amountCents: number;
5697
5697
  currency: string;
5698
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
5698
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
5699
5699
  paymentDate: string;
5700
5700
  baseCurrency?: string | null | undefined;
5701
5701
  baseAmountCents?: number | null | undefined;
@@ -5705,7 +5705,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5705
5705
  paymentCaptureId?: string | null | undefined;
5706
5706
  referenceNumber?: string | null | undefined;
5707
5707
  notes?: string | null | undefined;
5708
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
5708
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
5709
5709
  idempotencyKey?: string | null | undefined;
5710
5710
  };
5711
5711
  };
@@ -5723,7 +5723,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5723
5723
  json: {
5724
5724
  amountCents: number;
5725
5725
  currency: string;
5726
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
5726
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
5727
5727
  paymentDate: string;
5728
5728
  baseCurrency?: string | null | undefined;
5729
5729
  baseAmountCents?: number | null | undefined;
@@ -5733,7 +5733,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5733
5733
  paymentCaptureId?: string | null | undefined;
5734
5734
  referenceNumber?: string | null | undefined;
5735
5735
  notes?: string | null | undefined;
5736
- status?: "pending" | "completed" | "failed" | "refunded" | undefined;
5736
+ status?: "pending" | "failed" | "completed" | "refunded" | undefined;
5737
5737
  idempotencyKey?: string | null | undefined;
5738
5738
  };
5739
5739
  };
@@ -5746,11 +5746,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5746
5746
  baseCurrency: string | null;
5747
5747
  baseAmountCents: number | null;
5748
5748
  fxRateSetId: string | null;
5749
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
5749
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
5750
5750
  paymentInstrumentId: string | null;
5751
5751
  paymentAuthorizationId: string | null;
5752
5752
  paymentCaptureId: string | null;
5753
- status: "pending" | "completed" | "failed" | "refunded";
5753
+ status: "pending" | "failed" | "completed" | "refunded";
5754
5754
  referenceNumber: string | null;
5755
5755
  paymentDate: string;
5756
5756
  notes: string | null;
@@ -5812,7 +5812,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5812
5812
  error: string;
5813
5813
  };
5814
5814
  outputFormat: "json";
5815
- status: 404;
5815
+ status: 400;
5816
5816
  } | {
5817
5817
  input: {
5818
5818
  param: {
@@ -5834,7 +5834,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5834
5834
  error: string;
5835
5835
  };
5836
5836
  outputFormat: "json";
5837
- status: 400;
5837
+ status: 404;
5838
5838
  } | {
5839
5839
  input: {
5840
5840
  param: {
@@ -5895,7 +5895,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5895
5895
  error: string;
5896
5896
  };
5897
5897
  outputFormat: "json";
5898
- status: 404;
5898
+ status: 400;
5899
5899
  } | {
5900
5900
  input: {
5901
5901
  param: {
@@ -5918,7 +5918,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
5918
5918
  error: string;
5919
5919
  };
5920
5920
  outputFormat: "json";
5921
- status: 400;
5921
+ status: 404;
5922
5922
  } | {
5923
5923
  input: {
5924
5924
  param: {
@@ -6017,7 +6017,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6017
6017
  bookingId: string;
6018
6018
  personId: string | null;
6019
6019
  organizationId: string | null;
6020
- status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
6020
+ status: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue";
6021
6021
  currency: string;
6022
6022
  baseCurrency: string | null;
6023
6023
  fxRateSetId: string | null;
@@ -6061,7 +6061,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6061
6061
  bookingId?: string | undefined;
6062
6062
  personId?: string | null | undefined;
6063
6063
  organizationId?: string | null | undefined;
6064
- status?: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void" | undefined;
6064
+ status?: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | undefined;
6065
6065
  currency?: string | undefined;
6066
6066
  baseCurrency?: string | null | undefined;
6067
6067
  fxRateSetId?: string | null | undefined;
@@ -6086,7 +6086,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6086
6086
  error: string;
6087
6087
  };
6088
6088
  outputFormat: "json";
6089
- status: 404;
6089
+ status: 400;
6090
6090
  } | {
6091
6091
  input: {
6092
6092
  param: {
@@ -6098,7 +6098,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6098
6098
  bookingId?: string | undefined;
6099
6099
  personId?: string | null | undefined;
6100
6100
  organizationId?: string | null | undefined;
6101
- status?: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void" | undefined;
6101
+ status?: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | undefined;
6102
6102
  currency?: string | undefined;
6103
6103
  baseCurrency?: string | null | undefined;
6104
6104
  fxRateSetId?: string | null | undefined;
@@ -6120,46 +6120,10 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6120
6120
  };
6121
6121
  };
6122
6122
  output: {
6123
- data: {
6124
- id: string;
6125
- invoiceNumber: string;
6126
- invoiceType: "invoice" | "proforma" | "credit_note";
6127
- convertedFromInvoiceId: string | null;
6128
- seriesId: string | null;
6129
- sequence: number | null;
6130
- templateId: string | null;
6131
- taxRegimeId: string | null;
6132
- language: string | null;
6133
- bookingId: string;
6134
- personId: string | null;
6135
- organizationId: string | null;
6136
- status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
6137
- currency: string;
6138
- baseCurrency: string | null;
6139
- fxRateSetId: string | null;
6140
- subtotalCents: number;
6141
- baseSubtotalCents: number | null;
6142
- taxCents: number;
6143
- baseTaxCents: number | null;
6144
- totalCents: number;
6145
- baseTotalCents: number | null;
6146
- paidCents: number;
6147
- basePaidCents: number | null;
6148
- balanceDueCents: number;
6149
- baseBalanceDueCents: number | null;
6150
- commissionPercent: number | null;
6151
- commissionAmountCents: number | null;
6152
- issueDate: string;
6153
- dueDate: string;
6154
- notes: string | null;
6155
- voidedAt: string | null;
6156
- voidReason: string | null;
6157
- createdAt: string;
6158
- updatedAt: string;
6159
- };
6123
+ error: string;
6160
6124
  };
6161
6125
  outputFormat: "json";
6162
- status: 200;
6126
+ status: 404;
6163
6127
  } | {
6164
6128
  input: {
6165
6129
  param: {
@@ -6171,7 +6135,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6171
6135
  bookingId?: string | undefined;
6172
6136
  personId?: string | null | undefined;
6173
6137
  organizationId?: string | null | undefined;
6174
- status?: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void" | undefined;
6138
+ status?: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | undefined;
6175
6139
  currency?: string | undefined;
6176
6140
  baseCurrency?: string | null | undefined;
6177
6141
  fxRateSetId?: string | null | undefined;
@@ -6196,7 +6160,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6196
6160
  error: string;
6197
6161
  };
6198
6162
  outputFormat: "json";
6199
- status: 400;
6163
+ status: 409;
6200
6164
  } | {
6201
6165
  input: {
6202
6166
  param: {
@@ -6208,7 +6172,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6208
6172
  bookingId?: string | undefined;
6209
6173
  personId?: string | null | undefined;
6210
6174
  organizationId?: string | null | undefined;
6211
- status?: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void" | undefined;
6175
+ status?: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | undefined;
6212
6176
  currency?: string | undefined;
6213
6177
  baseCurrency?: string | null | undefined;
6214
6178
  fxRateSetId?: string | null | undefined;
@@ -6230,10 +6194,46 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6230
6194
  };
6231
6195
  };
6232
6196
  output: {
6233
- error: string;
6197
+ data: {
6198
+ id: string;
6199
+ invoiceNumber: string;
6200
+ invoiceType: "invoice" | "proforma" | "credit_note";
6201
+ convertedFromInvoiceId: string | null;
6202
+ seriesId: string | null;
6203
+ sequence: number | null;
6204
+ templateId: string | null;
6205
+ taxRegimeId: string | null;
6206
+ language: string | null;
6207
+ bookingId: string;
6208
+ personId: string | null;
6209
+ organizationId: string | null;
6210
+ status: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue";
6211
+ currency: string;
6212
+ baseCurrency: string | null;
6213
+ fxRateSetId: string | null;
6214
+ subtotalCents: number;
6215
+ baseSubtotalCents: number | null;
6216
+ taxCents: number;
6217
+ baseTaxCents: number | null;
6218
+ totalCents: number;
6219
+ baseTotalCents: number | null;
6220
+ paidCents: number;
6221
+ basePaidCents: number | null;
6222
+ balanceDueCents: number;
6223
+ baseBalanceDueCents: number | null;
6224
+ commissionPercent: number | null;
6225
+ commissionAmountCents: number | null;
6226
+ issueDate: string;
6227
+ dueDate: string;
6228
+ notes: string | null;
6229
+ voidedAt: string | null;
6230
+ voidReason: string | null;
6231
+ createdAt: string;
6232
+ updatedAt: string;
6233
+ };
6234
6234
  };
6235
6235
  outputFormat: "json";
6236
- status: 409;
6236
+ status: 200;
6237
6237
  };
6238
6238
  };
6239
6239
  } & {
@@ -6248,7 +6248,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6248
6248
  error: string;
6249
6249
  };
6250
6250
  outputFormat: "json";
6251
- status: 404;
6251
+ status: 400;
6252
6252
  } | {
6253
6253
  input: {
6254
6254
  param: {
@@ -6259,7 +6259,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6259
6259
  error: string;
6260
6260
  };
6261
6261
  outputFormat: "json";
6262
- status: 400;
6262
+ status: 404;
6263
6263
  } | {
6264
6264
  input: {
6265
6265
  param: {
@@ -6285,7 +6285,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6285
6285
  error: string;
6286
6286
  };
6287
6287
  outputFormat: "json";
6288
- status: 404;
6288
+ status: 400;
6289
6289
  } | {
6290
6290
  input: {
6291
6291
  param: {
@@ -6296,7 +6296,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6296
6296
  error: string;
6297
6297
  };
6298
6298
  outputFormat: "json";
6299
- status: 400;
6299
+ status: 404;
6300
6300
  } | {
6301
6301
  input: {
6302
6302
  param: {
@@ -6328,7 +6328,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6328
6328
  bookingId: string;
6329
6329
  personId: string | null;
6330
6330
  organizationId: string | null;
6331
- status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
6331
+ status: "void" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue";
6332
6332
  currency: string;
6333
6333
  baseCurrency: string | null;
6334
6334
  fxRateSetId: string | null;
@@ -6405,7 +6405,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6405
6405
  idempotencyKey?: string | null | undefined;
6406
6406
  } | undefined;
6407
6407
  provider?: string | null | undefined;
6408
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
6408
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
6409
6409
  payerPersonId?: string | null | undefined;
6410
6410
  payerOrganizationId?: string | null | undefined;
6411
6411
  payerEmail?: string | null | undefined;
@@ -6426,7 +6426,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6426
6426
  error: string;
6427
6427
  };
6428
6428
  outputFormat: "json";
6429
- status: 404;
6429
+ status: 400;
6430
6430
  } | {
6431
6431
  input: {
6432
6432
  param: {
@@ -6473,7 +6473,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6473
6473
  idempotencyKey?: string | null | undefined;
6474
6474
  } | undefined;
6475
6475
  provider?: string | null | undefined;
6476
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
6476
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
6477
6477
  payerPersonId?: string | null | undefined;
6478
6478
  payerOrganizationId?: string | null | undefined;
6479
6479
  payerEmail?: string | null | undefined;
@@ -6494,7 +6494,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6494
6494
  error: string;
6495
6495
  };
6496
6496
  outputFormat: "json";
6497
- status: 400;
6497
+ status: 404;
6498
6498
  } | {
6499
6499
  input: {
6500
6500
  param: {
@@ -6541,7 +6541,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6541
6541
  idempotencyKey?: string | null | undefined;
6542
6542
  } | undefined;
6543
6543
  provider?: string | null | undefined;
6544
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
6544
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
6545
6545
  payerPersonId?: string | null | undefined;
6546
6546
  payerOrganizationId?: string | null | undefined;
6547
6547
  payerEmail?: string | null | undefined;
@@ -6609,7 +6609,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6609
6609
  idempotencyKey?: string | null | undefined;
6610
6610
  } | undefined;
6611
6611
  provider?: string | null | undefined;
6612
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
6612
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
6613
6613
  payerPersonId?: string | null | undefined;
6614
6614
  payerOrganizationId?: string | null | undefined;
6615
6615
  payerEmail?: string | null | undefined;
@@ -6629,7 +6629,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6629
6629
  output: {
6630
6630
  data: {
6631
6631
  id: string;
6632
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
6632
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
6633
6633
  targetId: string | null;
6634
6634
  bookingId: string | null;
6635
6635
  orderId: string | null;
@@ -6640,7 +6640,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6640
6640
  paymentAuthorizationId: string | null;
6641
6641
  paymentCaptureId: string | null;
6642
6642
  paymentId: string | null;
6643
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
6643
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
6644
6644
  provider: string | null;
6645
6645
  providerSessionId: string | null;
6646
6646
  providerPaymentId: string | null;
@@ -6649,7 +6649,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6649
6649
  clientReference: string | null;
6650
6650
  currency: string;
6651
6651
  amountCents: number;
6652
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
6652
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
6653
6653
  payerPersonId: string | null;
6654
6654
  payerOrganizationId: string | null;
6655
6655
  payerEmail: string | null;
@@ -6699,7 +6699,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6699
6699
  side: "sell" | "buy";
6700
6700
  priority: number;
6701
6701
  name: string;
6702
- appliesTo: "accommodation" | "base" | "addon" | "all";
6702
+ appliesTo: "base" | "addon" | "accommodation" | "all";
6703
6703
  condition: {
6704
6704
  [x: string]: import("hono/utils/types").JSONValue;
6705
6705
  } | null;
@@ -6726,7 +6726,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6726
6726
  taxRegimeId: string;
6727
6727
  side?: "sell" | "buy" | undefined;
6728
6728
  priority?: number | undefined;
6729
- appliesTo?: "accommodation" | "base" | "addon" | "all" | undefined;
6729
+ appliesTo?: "base" | "addon" | "accommodation" | "all" | undefined;
6730
6730
  condition?: Record<string, unknown> | null | undefined;
6731
6731
  active?: boolean | undefined;
6732
6732
  };
@@ -6748,7 +6748,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6748
6748
  taxRegimeId: string;
6749
6749
  side?: "sell" | "buy" | undefined;
6750
6750
  priority?: number | undefined;
6751
- appliesTo?: "accommodation" | "base" | "addon" | "all" | undefined;
6751
+ appliesTo?: "base" | "addon" | "accommodation" | "all" | undefined;
6752
6752
  condition?: Record<string, unknown> | null | undefined;
6753
6753
  active?: boolean | undefined;
6754
6754
  };
@@ -6760,7 +6760,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6760
6760
  side: "sell" | "buy";
6761
6761
  priority: number;
6762
6762
  name: string;
6763
- appliesTo: "accommodation" | "base" | "addon" | "all";
6763
+ appliesTo: "base" | "addon" | "accommodation" | "all";
6764
6764
  condition: {
6765
6765
  [x: string]: import("hono/utils/types").JSONValue;
6766
6766
  } | null;
@@ -6804,7 +6804,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6804
6804
  side: "sell" | "buy";
6805
6805
  priority: number;
6806
6806
  name: string;
6807
- appliesTo: "accommodation" | "base" | "addon" | "all";
6807
+ appliesTo: "base" | "addon" | "accommodation" | "all";
6808
6808
  condition: {
6809
6809
  [x: string]: import("hono/utils/types").JSONValue;
6810
6810
  } | null;
@@ -6831,7 +6831,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6831
6831
  side?: "sell" | "buy" | undefined;
6832
6832
  priority?: number | undefined;
6833
6833
  name?: string | undefined;
6834
- appliesTo?: "accommodation" | "base" | "addon" | "all" | undefined;
6834
+ appliesTo?: "base" | "addon" | "accommodation" | "all" | undefined;
6835
6835
  condition?: Record<string, unknown> | null | undefined;
6836
6836
  taxRegimeId?: string | undefined;
6837
6837
  active?: boolean | undefined;
@@ -6857,7 +6857,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6857
6857
  side?: "sell" | "buy" | undefined;
6858
6858
  priority?: number | undefined;
6859
6859
  name?: string | undefined;
6860
- appliesTo?: "accommodation" | "base" | "addon" | "all" | undefined;
6860
+ appliesTo?: "base" | "addon" | "accommodation" | "all" | undefined;
6861
6861
  condition?: Record<string, unknown> | null | undefined;
6862
6862
  taxRegimeId?: string | undefined;
6863
6863
  active?: boolean | undefined;
@@ -6883,7 +6883,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6883
6883
  side?: "sell" | "buy" | undefined;
6884
6884
  priority?: number | undefined;
6885
6885
  name?: string | undefined;
6886
- appliesTo?: "accommodation" | "base" | "addon" | "all" | undefined;
6886
+ appliesTo?: "base" | "addon" | "accommodation" | "all" | undefined;
6887
6887
  condition?: Record<string, unknown> | null | undefined;
6888
6888
  taxRegimeId?: string | undefined;
6889
6889
  active?: boolean | undefined;
@@ -6896,7 +6896,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
6896
6896
  side: "sell" | "buy";
6897
6897
  priority: number;
6898
6898
  name: string;
6899
- appliesTo: "accommodation" | "base" | "addon" | "all";
6899
+ appliesTo: "base" | "addon" | "accommodation" | "all";
6900
6900
  condition: {
6901
6901
  [x: string]: import("hono/utils/types").JSONValue;
6902
6902
  } | null;
@@ -7185,7 +7185,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
7185
7185
  defaultRegimeId: string | null;
7186
7186
  lines: {
7187
7187
  regime_id: string;
7188
- applies_to: "accommodation" | "base" | "addon" | "all";
7188
+ applies_to: "base" | "addon" | "accommodation" | "all";
7189
7189
  }[] | null;
7190
7190
  active: boolean;
7191
7191
  createdAt: string;
@@ -7210,7 +7210,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
7210
7210
  defaultRegimeId?: string | null | undefined;
7211
7211
  lines?: {
7212
7212
  regime_id: string;
7213
- applies_to: "accommodation" | "base" | "addon" | "all";
7213
+ applies_to: "base" | "addon" | "accommodation" | "all";
7214
7214
  }[] | null | undefined;
7215
7215
  active?: boolean | undefined;
7216
7216
  };
@@ -7233,7 +7233,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
7233
7233
  defaultRegimeId?: string | null | undefined;
7234
7234
  lines?: {
7235
7235
  regime_id: string;
7236
- applies_to: "accommodation" | "base" | "addon" | "all";
7236
+ applies_to: "base" | "addon" | "accommodation" | "all";
7237
7237
  }[] | null | undefined;
7238
7238
  active?: boolean | undefined;
7239
7239
  };
@@ -7247,7 +7247,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
7247
7247
  defaultRegimeId: string | null;
7248
7248
  lines: {
7249
7249
  regime_id: string;
7250
- applies_to: "accommodation" | "base" | "addon" | "all";
7250
+ applies_to: "base" | "addon" | "accommodation" | "all";
7251
7251
  }[] | null;
7252
7252
  active: boolean;
7253
7253
  createdAt: string;
@@ -7290,7 +7290,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
7290
7290
  defaultRegimeId: string | null;
7291
7291
  lines: {
7292
7292
  regime_id: string;
7293
- applies_to: "accommodation" | "base" | "addon" | "all";
7293
+ applies_to: "base" | "addon" | "accommodation" | "all";
7294
7294
  }[] | null;
7295
7295
  active: boolean;
7296
7296
  createdAt: string;
@@ -7316,7 +7316,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
7316
7316
  defaultRegimeId?: string | null | undefined;
7317
7317
  lines?: {
7318
7318
  regime_id: string;
7319
- applies_to: "accommodation" | "base" | "addon" | "all";
7319
+ applies_to: "base" | "addon" | "accommodation" | "all";
7320
7320
  }[] | null | undefined;
7321
7321
  active?: boolean | undefined;
7322
7322
  };
@@ -7343,7 +7343,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
7343
7343
  defaultRegimeId?: string | null | undefined;
7344
7344
  lines?: {
7345
7345
  regime_id: string;
7346
- applies_to: "accommodation" | "base" | "addon" | "all";
7346
+ applies_to: "base" | "addon" | "accommodation" | "all";
7347
7347
  }[] | null | undefined;
7348
7348
  active?: boolean | undefined;
7349
7349
  };
@@ -7370,7 +7370,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
7370
7370
  defaultRegimeId?: string | null | undefined;
7371
7371
  lines?: {
7372
7372
  regime_id: string;
7373
- applies_to: "accommodation" | "base" | "addon" | "all";
7373
+ applies_to: "base" | "addon" | "accommodation" | "all";
7374
7374
  }[] | null | undefined;
7375
7375
  active?: boolean | undefined;
7376
7376
  };
@@ -7384,7 +7384,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
7384
7384
  defaultRegimeId: string | null;
7385
7385
  lines: {
7386
7386
  regime_id: string;
7387
- applies_to: "accommodation" | "base" | "addon" | "all";
7387
+ applies_to: "base" | "addon" | "accommodation" | "all";
7388
7388
  }[] | null;
7389
7389
  active: boolean;
7390
7390
  createdAt: string;
@@ -8060,21 +8060,6 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8060
8060
  } & {
8061
8061
  "/invoice-number-series/:id": {
8062
8062
  $get: {
8063
- input: {
8064
- param: {
8065
- id: string;
8066
- };
8067
- };
8068
- output: {
8069
- error: string;
8070
- code?: string | undefined;
8071
- details?: {
8072
- [x: string]: import("hono/utils/types").JSONValue;
8073
- } | undefined;
8074
- };
8075
- outputFormat: "json";
8076
- status: 404;
8077
- } | {
8078
8063
  input: {
8079
8064
  param: {
8080
8065
  id: string;
@@ -8102,6 +8087,21 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8102
8087
  };
8103
8088
  outputFormat: "json";
8104
8089
  status: 200;
8090
+ } | {
8091
+ input: {
8092
+ param: {
8093
+ id: string;
8094
+ };
8095
+ };
8096
+ output: {
8097
+ error: string;
8098
+ code?: string | undefined;
8099
+ details?: {
8100
+ [x: string]: import("hono/utils/types").JSONValue;
8101
+ } | undefined;
8102
+ };
8103
+ outputFormat: "json";
8104
+ status: 404;
8105
8105
  };
8106
8106
  };
8107
8107
  } & {
@@ -8343,7 +8343,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8343
8343
  error: string;
8344
8344
  };
8345
8345
  outputFormat: "json";
8346
- status: 404;
8346
+ status: 400;
8347
8347
  } | {
8348
8348
  input: {
8349
8349
  param: {
@@ -8365,7 +8365,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8365
8365
  error: string;
8366
8366
  };
8367
8367
  outputFormat: "json";
8368
- status: 400;
8368
+ status: 404;
8369
8369
  } | {
8370
8370
  input: {
8371
8371
  param: {
@@ -8479,7 +8479,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8479
8479
  error: string;
8480
8480
  };
8481
8481
  outputFormat: "json";
8482
- status: 404;
8482
+ status: 400;
8483
8483
  } | {
8484
8484
  input: {
8485
8485
  param: {
@@ -8500,7 +8500,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8500
8500
  error: string;
8501
8501
  };
8502
8502
  outputFormat: "json";
8503
- status: 400;
8503
+ status: 404;
8504
8504
  } | {
8505
8505
  input: {
8506
8506
  param: {
@@ -8558,7 +8558,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8558
8558
  error: string;
8559
8559
  };
8560
8560
  outputFormat: "json";
8561
- status: 404;
8561
+ status: 400;
8562
8562
  } | {
8563
8563
  input: {
8564
8564
  param: {
@@ -8580,7 +8580,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8580
8580
  error: string;
8581
8581
  };
8582
8582
  outputFormat: "json";
8583
- status: 400;
8583
+ status: 404;
8584
8584
  } | {
8585
8585
  input: {
8586
8586
  param: {
@@ -8692,7 +8692,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8692
8692
  id: string;
8693
8693
  invoiceId: string;
8694
8694
  templateId: string | null;
8695
- format: "html" | "pdf" | "xml" | "json";
8695
+ format: "json" | "xml" | "pdf" | "html";
8696
8696
  status: "pending" | "failed" | "ready" | "stale";
8697
8697
  storageKey: string | null;
8698
8698
  fileSize: number | null;
@@ -8724,7 +8724,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8724
8724
  } & {
8725
8725
  json: {
8726
8726
  templateId?: string | null | undefined;
8727
- format?: "html" | "pdf" | "xml" | "json" | undefined;
8727
+ format?: "json" | "xml" | "pdf" | "html" | undefined;
8728
8728
  language?: string | null | undefined;
8729
8729
  wait?: unknown;
8730
8730
  waitTimeoutMs?: unknown;
@@ -8734,7 +8734,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8734
8734
  error: string;
8735
8735
  };
8736
8736
  outputFormat: "json";
8737
- status: 404;
8737
+ status: 400;
8738
8738
  } | {
8739
8739
  input: {
8740
8740
  param: {
@@ -8748,7 +8748,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8748
8748
  } & {
8749
8749
  json: {
8750
8750
  templateId?: string | null | undefined;
8751
- format?: "html" | "pdf" | "xml" | "json" | undefined;
8751
+ format?: "json" | "xml" | "pdf" | "html" | undefined;
8752
8752
  language?: string | null | undefined;
8753
8753
  wait?: unknown;
8754
8754
  waitTimeoutMs?: unknown;
@@ -8758,7 +8758,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8758
8758
  error: string;
8759
8759
  };
8760
8760
  outputFormat: "json";
8761
- status: 400;
8761
+ status: 404;
8762
8762
  } | {
8763
8763
  input: {
8764
8764
  param: {
@@ -8772,7 +8772,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8772
8772
  } & {
8773
8773
  json: {
8774
8774
  templateId?: string | null | undefined;
8775
- format?: "html" | "pdf" | "xml" | "json" | undefined;
8775
+ format?: "json" | "xml" | "pdf" | "html" | undefined;
8776
8776
  language?: string | null | undefined;
8777
8777
  wait?: unknown;
8778
8778
  waitTimeoutMs?: unknown;
@@ -8783,7 +8783,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8783
8783
  id: string;
8784
8784
  invoiceId: string;
8785
8785
  templateId: string | null;
8786
- format: "html" | "pdf" | "xml" | "json";
8786
+ format: "json" | "xml" | "pdf" | "html";
8787
8787
  status: "pending" | "failed" | "ready" | "stale";
8788
8788
  storageKey: string | null;
8789
8789
  fileSize: number | null;
@@ -8799,7 +8799,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8799
8799
  id: string;
8800
8800
  invoiceId: string;
8801
8801
  templateId: string | null;
8802
- format: "html" | "pdf" | "xml" | "json";
8802
+ format: "json" | "xml" | "pdf" | "html";
8803
8803
  status: "pending" | "failed" | "ready" | "stale";
8804
8804
  storageKey: string | null;
8805
8805
  fileSize: number | null;
@@ -8833,7 +8833,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8833
8833
  } & {
8834
8834
  json: {
8835
8835
  templateId?: string | null | undefined;
8836
- format?: "html" | "pdf" | "xml" | "json" | undefined;
8836
+ format?: "json" | "xml" | "pdf" | "html" | undefined;
8837
8837
  language?: string | null | undefined;
8838
8838
  wait?: unknown;
8839
8839
  waitTimeoutMs?: unknown;
@@ -8845,7 +8845,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
8845
8845
  id: string;
8846
8846
  invoiceId: string;
8847
8847
  templateId: string | null;
8848
- format: "html" | "pdf" | "xml" | "json";
8848
+ format: "json" | "xml" | "pdf" | "html";
8849
8849
  status: "pending" | "failed" | "ready" | "stale";
8850
8850
  storageKey: string | null;
8851
8851
  fileSize: number | null;
@@ -9073,7 +9073,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
9073
9073
  error: string;
9074
9074
  };
9075
9075
  outputFormat: "json";
9076
- status: 404;
9076
+ status: 400;
9077
9077
  } | {
9078
9078
  input: {
9079
9079
  param: {
@@ -9094,7 +9094,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
9094
9094
  error: string;
9095
9095
  };
9096
9096
  outputFormat: "json";
9097
- status: 400;
9097
+ status: 404;
9098
9098
  } | {
9099
9099
  input: {
9100
9100
  param: {
@@ -9156,7 +9156,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
9156
9156
  error: string;
9157
9157
  };
9158
9158
  outputFormat: "json";
9159
- status: 404;
9159
+ status: 400;
9160
9160
  } | {
9161
9161
  input: {
9162
9162
  param: {
@@ -9174,7 +9174,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
9174
9174
  error: string;
9175
9175
  };
9176
9176
  outputFormat: "json";
9177
- status: 400;
9177
+ status: 404;
9178
9178
  } | {
9179
9179
  input: {
9180
9180
  param: {
@@ -9265,17 +9265,6 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
9265
9265
  }, "/">, "/"> | import("hono/types").MergeSchemaPath<{
9266
9266
  "/bookings/:bookingId/payments": {
9267
9267
  $get: {
9268
- input: {
9269
- param: {
9270
- bookingId: string;
9271
- };
9272
- };
9273
- output: {
9274
- error: string;
9275
- };
9276
- outputFormat: "json";
9277
- status: 404;
9278
- } | {
9279
9268
  input: {
9280
9269
  param: {
9281
9270
  bookingId: string;
@@ -9290,8 +9279,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
9290
9279
  invoiceId: string | null;
9291
9280
  invoiceNumber: string | null;
9292
9281
  invoiceType: "invoice" | "proforma" | "credit_note" | null;
9293
- status: "pending" | "completed" | "failed" | "refunded";
9294
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
9282
+ status: "pending" | "failed" | "completed" | "refunded";
9283
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
9295
9284
  amountCents: number;
9296
9285
  currency: string;
9297
9286
  baseCurrency: string | null;
@@ -9304,6 +9293,17 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
9304
9293
  };
9305
9294
  outputFormat: "json";
9306
9295
  status: 200;
9296
+ } | {
9297
+ input: {
9298
+ param: {
9299
+ bookingId: string;
9300
+ };
9301
+ };
9302
+ output: {
9303
+ error: string;
9304
+ };
9305
+ outputFormat: "json";
9306
+ status: 404;
9307
9307
  };
9308
9308
  };
9309
9309
  }, "/">, "/", "/aggregates">;