@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
@@ -44,7 +44,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
44
44
  offset?: unknown;
45
45
  paymentAuthorizationId?: string | undefined;
46
46
  invoiceId?: string | undefined;
47
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
47
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
48
48
  };
49
49
  };
50
50
  output: {
@@ -52,7 +52,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
52
52
  id: string;
53
53
  paymentAuthorizationId: string | null;
54
54
  invoiceId: string | null;
55
- status: "pending" | "completed" | "failed" | "refunded" | "voided";
55
+ status: "pending" | "failed" | "voided" | "completed" | "refunded";
56
56
  currency: string;
57
57
  amountCents: number;
58
58
  provider: string | null;
@@ -80,7 +80,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
80
80
  amountCents: number;
81
81
  paymentAuthorizationId?: string | null | undefined;
82
82
  invoiceId?: string | null | undefined;
83
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
83
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
84
84
  provider?: string | null | undefined;
85
85
  externalCaptureId?: string | null | undefined;
86
86
  capturedAt?: string | null | undefined;
@@ -100,7 +100,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
100
100
  amountCents: number;
101
101
  paymentAuthorizationId?: string | null | undefined;
102
102
  invoiceId?: string | null | undefined;
103
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
103
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
104
104
  provider?: string | null | undefined;
105
105
  externalCaptureId?: string | null | undefined;
106
106
  capturedAt?: string | null | undefined;
@@ -113,7 +113,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
113
113
  id: string;
114
114
  paymentAuthorizationId: string | null;
115
115
  invoiceId: string | null;
116
- status: "pending" | "completed" | "failed" | "refunded" | "voided";
116
+ status: "pending" | "failed" | "voided" | "completed" | "refunded";
117
117
  currency: string;
118
118
  amountCents: number;
119
119
  provider: string | null;
@@ -153,7 +153,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
153
153
  id: string;
154
154
  paymentAuthorizationId: string | null;
155
155
  invoiceId: string | null;
156
- status: "pending" | "completed" | "failed" | "refunded" | "voided";
156
+ status: "pending" | "failed" | "voided" | "completed" | "refunded";
157
157
  currency: string;
158
158
  amountCents: number;
159
159
  provider: string | null;
@@ -180,7 +180,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
180
180
  json: {
181
181
  paymentAuthorizationId?: string | null | undefined;
182
182
  invoiceId?: string | null | undefined;
183
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
183
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
184
184
  currency?: string | undefined;
185
185
  amountCents?: number | undefined;
186
186
  provider?: string | null | undefined;
@@ -194,7 +194,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
194
194
  error: string;
195
195
  };
196
196
  outputFormat: "json";
197
- status: 404;
197
+ status: 400;
198
198
  } | {
199
199
  input: {
200
200
  param: {
@@ -204,7 +204,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
204
204
  json: {
205
205
  paymentAuthorizationId?: string | null | undefined;
206
206
  invoiceId?: string | null | undefined;
207
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
207
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
208
208
  currency?: string | undefined;
209
209
  amountCents?: number | undefined;
210
210
  provider?: string | null | undefined;
@@ -218,7 +218,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
218
218
  error: string;
219
219
  };
220
220
  outputFormat: "json";
221
- status: 400;
221
+ status: 404;
222
222
  } | {
223
223
  input: {
224
224
  param: {
@@ -228,7 +228,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
228
228
  json: {
229
229
  paymentAuthorizationId?: string | null | undefined;
230
230
  invoiceId?: string | null | undefined;
231
- status?: "pending" | "completed" | "failed" | "refunded" | "voided" | undefined;
231
+ status?: "pending" | "failed" | "voided" | "completed" | "refunded" | undefined;
232
232
  currency?: string | undefined;
233
233
  amountCents?: number | undefined;
234
234
  provider?: string | null | undefined;
@@ -243,7 +243,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
243
243
  id: string;
244
244
  paymentAuthorizationId: string | null;
245
245
  invoiceId: string | null;
246
- status: "pending" | "completed" | "failed" | "refunded" | "voided";
246
+ status: "pending" | "failed" | "voided" | "completed" | "refunded";
247
247
  currency: string;
248
248
  amountCents: number;
249
249
  provider: string | null;
@@ -296,7 +296,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
296
296
  invoiceId?: string | undefined;
297
297
  bookingGuaranteeId?: string | undefined;
298
298
  paymentInstrumentId?: string | undefined;
299
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
299
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
300
300
  legacyOrderId?: string | null | undefined;
301
301
  };
302
302
  };
@@ -308,8 +308,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
308
308
  invoiceId: string | null;
309
309
  bookingGuaranteeId: string | null;
310
310
  paymentInstrumentId: string | null;
311
- status: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided";
312
- captureMode: "automatic" | "manual";
311
+ status: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
312
+ captureMode: "manual" | "automatic";
313
313
  currency: string;
314
314
  amountCents: number;
315
315
  provider: string | null;
@@ -379,8 +379,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
379
379
  invoiceId?: string | null | undefined;
380
380
  bookingGuaranteeId?: string | null | undefined;
381
381
  paymentInstrumentId?: string | null | undefined;
382
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
383
- captureMode?: "automatic" | "manual" | undefined;
382
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
383
+ captureMode?: "manual" | "automatic" | undefined;
384
384
  provider?: string | null | undefined;
385
385
  externalAuthorizationId?: string | null | undefined;
386
386
  approvalCode?: string | null | undefined;
@@ -443,8 +443,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
443
443
  invoiceId?: string | null | undefined;
444
444
  bookingGuaranteeId?: string | null | undefined;
445
445
  paymentInstrumentId?: string | null | undefined;
446
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
447
- captureMode?: "automatic" | "manual" | undefined;
446
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
447
+ captureMode?: "manual" | "automatic" | undefined;
448
448
  provider?: string | null | undefined;
449
449
  externalAuthorizationId?: string | null | undefined;
450
450
  approvalCode?: string | null | undefined;
@@ -463,8 +463,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
463
463
  invoiceId: string | null;
464
464
  bookingGuaranteeId: string | null;
465
465
  paymentInstrumentId: string | null;
466
- status: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided";
467
- captureMode: "automatic" | "manual";
466
+ status: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
467
+ captureMode: "manual" | "automatic";
468
468
  currency: string;
469
469
  amountCents: number;
470
470
  provider: string | null;
@@ -509,8 +509,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
509
509
  invoiceId: string | null;
510
510
  bookingGuaranteeId: string | null;
511
511
  paymentInstrumentId: string | null;
512
- status: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided";
513
- captureMode: "automatic" | "manual";
512
+ status: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
513
+ captureMode: "manual" | "automatic";
514
514
  currency: string;
515
515
  amountCents: number;
516
516
  provider: string | null;
@@ -579,8 +579,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
579
579
  invoiceId?: string | null | undefined;
580
580
  bookingGuaranteeId?: string | null | undefined;
581
581
  paymentInstrumentId?: string | null | undefined;
582
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
583
- captureMode?: "automatic" | "manual" | undefined;
582
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
583
+ captureMode?: "manual" | "automatic" | undefined;
584
584
  currency?: string | undefined;
585
585
  amountCents?: number | undefined;
586
586
  provider?: string | null | undefined;
@@ -597,7 +597,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
597
597
  error: string;
598
598
  };
599
599
  outputFormat: "json";
600
- status: 404;
600
+ status: 400;
601
601
  } | {
602
602
  input: {
603
603
  param: {
@@ -647,8 +647,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
647
647
  invoiceId?: string | null | undefined;
648
648
  bookingGuaranteeId?: string | null | undefined;
649
649
  paymentInstrumentId?: string | null | undefined;
650
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
651
- captureMode?: "automatic" | "manual" | undefined;
650
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
651
+ captureMode?: "manual" | "automatic" | undefined;
652
652
  currency?: string | undefined;
653
653
  amountCents?: number | undefined;
654
654
  provider?: string | null | undefined;
@@ -665,7 +665,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
665
665
  error: string;
666
666
  };
667
667
  outputFormat: "json";
668
- status: 400;
668
+ status: 404;
669
669
  } | {
670
670
  input: {
671
671
  param: {
@@ -715,8 +715,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
715
715
  invoiceId?: string | null | undefined;
716
716
  bookingGuaranteeId?: string | null | undefined;
717
717
  paymentInstrumentId?: string | null | undefined;
718
- status?: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided" | undefined;
719
- captureMode?: "automatic" | "manual" | undefined;
718
+ status?: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided" | undefined;
719
+ captureMode?: "manual" | "automatic" | undefined;
720
720
  currency?: string | undefined;
721
721
  amountCents?: number | undefined;
722
722
  provider?: string | null | undefined;
@@ -737,8 +737,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
737
737
  invoiceId: string | null;
738
738
  bookingGuaranteeId: string | null;
739
739
  paymentInstrumentId: string | null;
740
- status: "pending" | "failed" | "authorized" | "expired" | "partially_captured" | "captured" | "voided";
741
- captureMode: "automatic" | "manual";
740
+ status: "expired" | "pending" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
741
+ captureMode: "manual" | "automatic";
742
742
  currency: string;
743
743
  amountCents: number;
744
744
  provider: string | null;
@@ -795,7 +795,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
795
795
  supplierId?: string | undefined;
796
796
  channelId?: string | undefined;
797
797
  status?: "expired" | "active" | "inactive" | "revoked" | "failed_verification" | undefined;
798
- instrumentType?: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account" | undefined;
798
+ instrumentType?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account" | undefined;
799
799
  search?: string | undefined;
800
800
  };
801
801
  };
@@ -807,7 +807,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
807
807
  organizationId: string | null;
808
808
  supplierId: string | null;
809
809
  channelId: string | null;
810
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
810
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
811
811
  status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
812
812
  label: string;
813
813
  provider: string | null;
@@ -839,7 +839,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
839
839
  $post: {
840
840
  input: {
841
841
  json: {
842
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
842
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
843
843
  label: string;
844
844
  ownerType?: "other" | "client" | "supplier" | "channel" | "agency" | "internal" | undefined;
845
845
  personId?: string | null | undefined;
@@ -870,7 +870,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
870
870
  } | {
871
871
  input: {
872
872
  json: {
873
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
873
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
874
874
  label: string;
875
875
  ownerType?: "other" | "client" | "supplier" | "channel" | "agency" | "internal" | undefined;
876
876
  personId?: string | null | undefined;
@@ -901,7 +901,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
901
901
  organizationId: string | null;
902
902
  supplierId: string | null;
903
903
  channelId: string | null;
904
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
904
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
905
905
  status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
906
906
  label: string;
907
907
  provider: string | null;
@@ -952,7 +952,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
952
952
  organizationId: string | null;
953
953
  supplierId: string | null;
954
954
  channelId: string | null;
955
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
955
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
956
956
  status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
957
957
  label: string;
958
958
  provider: string | null;
@@ -990,7 +990,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
990
990
  organizationId?: string | null | undefined;
991
991
  supplierId?: string | null | undefined;
992
992
  channelId?: string | null | undefined;
993
- instrumentType?: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account" | undefined;
993
+ instrumentType?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account" | undefined;
994
994
  status?: "expired" | "active" | "inactive" | "revoked" | "failed_verification" | undefined;
995
995
  label?: string | undefined;
996
996
  provider?: string | null | undefined;
@@ -1012,7 +1012,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1012
1012
  error: string;
1013
1013
  };
1014
1014
  outputFormat: "json";
1015
- status: 404;
1015
+ status: 400;
1016
1016
  } | {
1017
1017
  input: {
1018
1018
  param: {
@@ -1025,7 +1025,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1025
1025
  organizationId?: string | null | undefined;
1026
1026
  supplierId?: string | null | undefined;
1027
1027
  channelId?: string | null | undefined;
1028
- instrumentType?: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account" | undefined;
1028
+ instrumentType?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account" | undefined;
1029
1029
  status?: "expired" | "active" | "inactive" | "revoked" | "failed_verification" | undefined;
1030
1030
  label?: string | undefined;
1031
1031
  provider?: string | null | undefined;
@@ -1047,7 +1047,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1047
1047
  error: string;
1048
1048
  };
1049
1049
  outputFormat: "json";
1050
- status: 400;
1050
+ status: 404;
1051
1051
  } | {
1052
1052
  input: {
1053
1053
  param: {
@@ -1060,7 +1060,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1060
1060
  organizationId?: string | null | undefined;
1061
1061
  supplierId?: string | null | undefined;
1062
1062
  channelId?: string | null | undefined;
1063
- instrumentType?: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account" | undefined;
1063
+ instrumentType?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account" | undefined;
1064
1064
  status?: "expired" | "active" | "inactive" | "revoked" | "failed_verification" | undefined;
1065
1065
  label?: string | undefined;
1066
1066
  provider?: string | null | undefined;
@@ -1086,7 +1086,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1086
1086
  organizationId: string | null;
1087
1087
  supplierId: string | null;
1088
1088
  channelId: string | null;
1089
- instrumentType: "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "other" | "bank_account";
1089
+ instrumentType: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_account";
1090
1090
  status: "expired" | "active" | "inactive" | "revoked" | "failed_verification";
1091
1091
  label: string;
1092
1092
  provider: string | null;
@@ -1147,8 +1147,8 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1147
1147
  invoiceId?: string | undefined;
1148
1148
  bookingPaymentScheduleId?: string | undefined;
1149
1149
  bookingGuaranteeId?: string | undefined;
1150
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1151
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1150
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1151
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1152
1152
  provider?: string | undefined;
1153
1153
  providerSessionId?: string | undefined;
1154
1154
  providerPaymentId?: string | undefined;
@@ -1161,7 +1161,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1161
1161
  output: {
1162
1162
  data: {
1163
1163
  id: string;
1164
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1164
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1165
1165
  targetId: string | null;
1166
1166
  bookingId: string | null;
1167
1167
  orderId: string | null;
@@ -1172,7 +1172,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1172
1172
  paymentAuthorizationId: string | null;
1173
1173
  paymentCaptureId: string | null;
1174
1174
  paymentId: string | null;
1175
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1175
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1176
1176
  provider: string | null;
1177
1177
  providerSessionId: string | null;
1178
1178
  providerPaymentId: string | null;
@@ -1181,7 +1181,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1181
1181
  clientReference: string | null;
1182
1182
  currency: string;
1183
1183
  amountCents: number;
1184
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1184
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1185
1185
  payerPersonId: string | null;
1186
1186
  payerOrganizationId: string | null;
1187
1187
  payerEmail: string | null;
@@ -1260,7 +1260,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1260
1260
  reference?: string | null | undefined;
1261
1261
  idempotencyKey?: string | null | undefined;
1262
1262
  } | undefined;
1263
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1263
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1264
1264
  targetId?: string | null | undefined;
1265
1265
  bookingId?: string | null | undefined;
1266
1266
  invoiceId?: string | null | undefined;
@@ -1270,14 +1270,14 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1270
1270
  paymentAuthorizationId?: string | null | undefined;
1271
1271
  paymentCaptureId?: string | null | undefined;
1272
1272
  paymentId?: string | null | undefined;
1273
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1273
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1274
1274
  provider?: string | null | undefined;
1275
1275
  providerSessionId?: string | null | undefined;
1276
1276
  providerPaymentId?: string | null | undefined;
1277
1277
  externalReference?: string | null | undefined;
1278
1278
  idempotencyKey?: string | null | undefined;
1279
1279
  clientReference?: string | null | undefined;
1280
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1280
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1281
1281
  payerPersonId?: string | null | undefined;
1282
1282
  payerOrganizationId?: string | null | undefined;
1283
1283
  payerEmail?: string | null | undefined;
@@ -1300,10 +1300,57 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1300
1300
  };
1301
1301
  };
1302
1302
  output: {
1303
- error: string;
1303
+ data: {
1304
+ id: string;
1305
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1306
+ targetId: string | null;
1307
+ bookingId: string | null;
1308
+ orderId: string | null;
1309
+ invoiceId: string | null;
1310
+ bookingPaymentScheduleId: string | null;
1311
+ bookingGuaranteeId: string | null;
1312
+ paymentInstrumentId: string | null;
1313
+ paymentAuthorizationId: string | null;
1314
+ paymentCaptureId: string | null;
1315
+ paymentId: string | null;
1316
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1317
+ provider: string | null;
1318
+ providerSessionId: string | null;
1319
+ providerPaymentId: string | null;
1320
+ externalReference: string | null;
1321
+ idempotencyKey: string | null;
1322
+ clientReference: string | null;
1323
+ currency: string;
1324
+ amountCents: number;
1325
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1326
+ payerPersonId: string | null;
1327
+ payerOrganizationId: string | null;
1328
+ payerEmail: string | null;
1329
+ payerName: string | null;
1330
+ redirectUrl: string | null;
1331
+ returnUrl: string | null;
1332
+ cancelUrl: string | null;
1333
+ callbackUrl: string | null;
1334
+ expiresAt: string | null;
1335
+ completedAt: string | null;
1336
+ failedAt: string | null;
1337
+ cancelledAt: string | null;
1338
+ expiredAt: string | null;
1339
+ failureCode: string | null;
1340
+ failureMessage: string | null;
1341
+ notes: string | null;
1342
+ providerPayload: {
1343
+ [x: string]: import("hono/utils/types").JSONValue;
1344
+ } | null;
1345
+ metadata: {
1346
+ [x: string]: import("hono/utils/types").JSONValue;
1347
+ } | null;
1348
+ createdAt: string;
1349
+ updatedAt: string;
1350
+ };
1304
1351
  };
1305
1352
  outputFormat: "json";
1306
- status: 400;
1353
+ status: 201;
1307
1354
  } | {
1308
1355
  input: {
1309
1356
  json: {
@@ -1347,7 +1394,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1347
1394
  reference?: string | null | undefined;
1348
1395
  idempotencyKey?: string | null | undefined;
1349
1396
  } | undefined;
1350
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1397
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1351
1398
  targetId?: string | null | undefined;
1352
1399
  bookingId?: string | null | undefined;
1353
1400
  invoiceId?: string | null | undefined;
@@ -1357,14 +1404,14 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1357
1404
  paymentAuthorizationId?: string | null | undefined;
1358
1405
  paymentCaptureId?: string | null | undefined;
1359
1406
  paymentId?: string | null | undefined;
1360
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1407
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1361
1408
  provider?: string | null | undefined;
1362
1409
  providerSessionId?: string | null | undefined;
1363
1410
  providerPaymentId?: string | null | undefined;
1364
1411
  externalReference?: string | null | undefined;
1365
1412
  idempotencyKey?: string | null | undefined;
1366
1413
  clientReference?: string | null | undefined;
1367
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1414
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1368
1415
  payerPersonId?: string | null | undefined;
1369
1416
  payerOrganizationId?: string | null | undefined;
1370
1417
  payerEmail?: string | null | undefined;
@@ -1387,73 +1434,15 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1387
1434
  };
1388
1435
  };
1389
1436
  output: {
1390
- data: {
1391
- id: string;
1392
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1393
- targetId: string | null;
1394
- bookingId: string | null;
1395
- orderId: string | null;
1396
- invoiceId: string | null;
1397
- bookingPaymentScheduleId: string | null;
1398
- bookingGuaranteeId: string | null;
1399
- paymentInstrumentId: string | null;
1400
- paymentAuthorizationId: string | null;
1401
- paymentCaptureId: string | null;
1402
- paymentId: string | null;
1403
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1404
- provider: string | null;
1405
- providerSessionId: string | null;
1406
- providerPaymentId: string | null;
1407
- externalReference: string | null;
1408
- idempotencyKey: string | null;
1409
- clientReference: string | null;
1410
- currency: string;
1411
- amountCents: number;
1412
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1413
- payerPersonId: string | null;
1414
- payerOrganizationId: string | null;
1415
- payerEmail: string | null;
1416
- payerName: string | null;
1417
- redirectUrl: string | null;
1418
- returnUrl: string | null;
1419
- cancelUrl: string | null;
1420
- callbackUrl: string | null;
1421
- expiresAt: string | null;
1422
- completedAt: string | null;
1423
- failedAt: string | null;
1424
- cancelledAt: string | null;
1425
- expiredAt: string | null;
1426
- failureCode: string | null;
1427
- failureMessage: string | null;
1428
- notes: string | null;
1429
- providerPayload: {
1430
- [x: string]: import("hono/utils/types").JSONValue;
1431
- } | null;
1432
- metadata: {
1433
- [x: string]: import("hono/utils/types").JSONValue;
1434
- } | null;
1435
- createdAt: string;
1436
- updatedAt: string;
1437
- };
1437
+ error: string;
1438
1438
  };
1439
1439
  outputFormat: "json";
1440
- status: 201;
1440
+ status: 400;
1441
1441
  };
1442
1442
  };
1443
1443
  } & {
1444
1444
  "/payment-sessions/:id": {
1445
1445
  $get: {
1446
- input: {
1447
- param: {
1448
- id: string;
1449
- };
1450
- };
1451
- output: {
1452
- error: string;
1453
- };
1454
- outputFormat: "json";
1455
- status: 404;
1456
- } | {
1457
1446
  input: {
1458
1447
  param: {
1459
1448
  id: string;
@@ -1462,7 +1451,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1462
1451
  output: {
1463
1452
  data: {
1464
1453
  id: string;
1465
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1454
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1466
1455
  targetId: string | null;
1467
1456
  bookingId: string | null;
1468
1457
  orderId: string | null;
@@ -1473,7 +1462,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1473
1462
  paymentAuthorizationId: string | null;
1474
1463
  paymentCaptureId: string | null;
1475
1464
  paymentId: string | null;
1476
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1465
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1477
1466
  provider: string | null;
1478
1467
  providerSessionId: string | null;
1479
1468
  providerPaymentId: string | null;
@@ -1482,7 +1471,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1482
1471
  clientReference: string | null;
1483
1472
  currency: string;
1484
1473
  amountCents: number;
1485
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1474
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1486
1475
  payerPersonId: string | null;
1487
1476
  payerOrganizationId: string | null;
1488
1477
  payerEmail: string | null;
@@ -1511,6 +1500,17 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1511
1500
  };
1512
1501
  outputFormat: "json";
1513
1502
  status: 200;
1503
+ } | {
1504
+ input: {
1505
+ param: {
1506
+ id: string;
1507
+ };
1508
+ };
1509
+ output: {
1510
+ error: string;
1511
+ };
1512
+ outputFormat: "json";
1513
+ status: 404;
1514
1514
  };
1515
1515
  };
1516
1516
  } & {
@@ -1560,7 +1560,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1560
1560
  reference?: string | null | undefined;
1561
1561
  idempotencyKey?: string | null | undefined;
1562
1562
  } | undefined;
1563
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1563
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1564
1564
  targetId?: string | null | undefined;
1565
1565
  bookingId?: string | null | undefined;
1566
1566
  invoiceId?: string | null | undefined;
@@ -1570,7 +1570,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1570
1570
  paymentAuthorizationId?: string | null | undefined;
1571
1571
  paymentCaptureId?: string | null | undefined;
1572
1572
  paymentId?: string | null | undefined;
1573
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1573
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1574
1574
  provider?: string | null | undefined;
1575
1575
  providerSessionId?: string | null | undefined;
1576
1576
  providerPaymentId?: string | null | undefined;
@@ -1579,7 +1579,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1579
1579
  clientReference?: string | null | undefined;
1580
1580
  currency?: string | undefined;
1581
1581
  amountCents?: number | undefined;
1582
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1582
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1583
1583
  payerPersonId?: string | null | undefined;
1584
1584
  payerOrganizationId?: string | null | undefined;
1585
1585
  payerEmail?: string | null | undefined;
@@ -1605,7 +1605,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1605
1605
  error: string;
1606
1606
  };
1607
1607
  outputFormat: "json";
1608
- status: 404;
1608
+ status: 400;
1609
1609
  } | {
1610
1610
  input: {
1611
1611
  param: {
@@ -1651,7 +1651,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1651
1651
  reference?: string | null | undefined;
1652
1652
  idempotencyKey?: string | null | undefined;
1653
1653
  } | undefined;
1654
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1654
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1655
1655
  targetId?: string | null | undefined;
1656
1656
  bookingId?: string | null | undefined;
1657
1657
  invoiceId?: string | null | undefined;
@@ -1661,7 +1661,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1661
1661
  paymentAuthorizationId?: string | null | undefined;
1662
1662
  paymentCaptureId?: string | null | undefined;
1663
1663
  paymentId?: string | null | undefined;
1664
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1664
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1665
1665
  provider?: string | null | undefined;
1666
1666
  providerSessionId?: string | null | undefined;
1667
1667
  providerPaymentId?: string | null | undefined;
@@ -1670,7 +1670,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1670
1670
  clientReference?: string | null | undefined;
1671
1671
  currency?: string | undefined;
1672
1672
  amountCents?: number | undefined;
1673
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1673
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1674
1674
  payerPersonId?: string | null | undefined;
1675
1675
  payerOrganizationId?: string | null | undefined;
1676
1676
  payerEmail?: string | null | undefined;
@@ -1696,7 +1696,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1696
1696
  error: string;
1697
1697
  };
1698
1698
  outputFormat: "json";
1699
- status: 400;
1699
+ status: 404;
1700
1700
  } | {
1701
1701
  input: {
1702
1702
  param: {
@@ -1742,7 +1742,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1742
1742
  reference?: string | null | undefined;
1743
1743
  idempotencyKey?: string | null | undefined;
1744
1744
  } | undefined;
1745
- targetType?: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1745
+ targetType?: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order" | undefined;
1746
1746
  targetId?: string | null | undefined;
1747
1747
  bookingId?: string | null | undefined;
1748
1748
  invoiceId?: string | null | undefined;
@@ -1752,7 +1752,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1752
1752
  paymentAuthorizationId?: string | null | undefined;
1753
1753
  paymentCaptureId?: string | null | undefined;
1754
1754
  paymentId?: string | null | undefined;
1755
- status?: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired" | undefined;
1755
+ status?: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | undefined;
1756
1756
  provider?: string | null | undefined;
1757
1757
  providerSessionId?: string | null | undefined;
1758
1758
  providerPaymentId?: string | null | undefined;
@@ -1761,7 +1761,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1761
1761
  clientReference?: string | null | undefined;
1762
1762
  currency?: string | undefined;
1763
1763
  amountCents?: number | undefined;
1764
- paymentMethod?: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null | undefined;
1764
+ paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null | undefined;
1765
1765
  payerPersonId?: string | null | undefined;
1766
1766
  payerOrganizationId?: string | null | undefined;
1767
1767
  payerEmail?: string | null | undefined;
@@ -1786,7 +1786,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1786
1786
  output: {
1787
1787
  data: {
1788
1788
  id: string;
1789
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1789
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1790
1790
  targetId: string | null;
1791
1791
  bookingId: string | null;
1792
1792
  orderId: string | null;
@@ -1797,7 +1797,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1797
1797
  paymentAuthorizationId: string | null;
1798
1798
  paymentCaptureId: string | null;
1799
1799
  paymentId: string | null;
1800
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1800
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1801
1801
  provider: string | null;
1802
1802
  providerSessionId: string | null;
1803
1803
  providerPaymentId: string | null;
@@ -1806,7 +1806,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1806
1806
  clientReference: string | null;
1807
1807
  currency: string;
1808
1808
  amountCents: number;
1809
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1809
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1810
1810
  payerPersonId: string | null;
1811
1811
  payerOrganizationId: string | null;
1812
1812
  payerEmail: string | null;
@@ -1864,7 +1864,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1864
1864
  error: string;
1865
1865
  };
1866
1866
  outputFormat: "json";
1867
- status: 404;
1867
+ status: 400;
1868
1868
  } | {
1869
1869
  input: {
1870
1870
  param: {
@@ -1890,7 +1890,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1890
1890
  error: string;
1891
1891
  };
1892
1892
  outputFormat: "json";
1893
- status: 400;
1893
+ status: 404;
1894
1894
  } | {
1895
1895
  input: {
1896
1896
  param: {
@@ -1915,7 +1915,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1915
1915
  output: {
1916
1916
  data: {
1917
1917
  id: string;
1918
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1918
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1919
1919
  targetId: string | null;
1920
1920
  bookingId: string | null;
1921
1921
  orderId: string | null;
@@ -1926,7 +1926,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1926
1926
  paymentAuthorizationId: string | null;
1927
1927
  paymentCaptureId: string | null;
1928
1928
  paymentId: string | null;
1929
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
1929
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
1930
1930
  provider: string | null;
1931
1931
  providerSessionId: string | null;
1932
1932
  providerPaymentId: string | null;
@@ -1935,7 +1935,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1935
1935
  clientReference: string | null;
1936
1936
  currency: string;
1937
1937
  amountCents: number;
1938
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
1938
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
1939
1939
  payerPersonId: string | null;
1940
1940
  payerOrganizationId: string | null;
1941
1941
  payerEmail: string | null;
@@ -1988,7 +1988,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1988
1988
  output: {
1989
1989
  data: {
1990
1990
  id: string;
1991
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1991
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
1992
1992
  targetId: string | null;
1993
1993
  bookingId: string | null;
1994
1994
  orderId: string | null;
@@ -1999,7 +1999,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
1999
1999
  paymentAuthorizationId: string | null;
2000
2000
  paymentCaptureId: string | null;
2001
2001
  paymentId: string | null;
2002
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
2002
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
2003
2003
  provider: string | null;
2004
2004
  providerSessionId: string | null;
2005
2005
  providerPaymentId: string | null;
@@ -2008,7 +2008,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2008
2008
  clientReference: string | null;
2009
2009
  currency: string;
2010
2010
  amountCents: number;
2011
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
2011
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
2012
2012
  payerPersonId: string | null;
2013
2013
  payerOrganizationId: string | null;
2014
2014
  payerEmail: string | null;
@@ -2091,7 +2091,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2091
2091
  output: {
2092
2092
  data: {
2093
2093
  id: string;
2094
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2094
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2095
2095
  targetId: string | null;
2096
2096
  bookingId: string | null;
2097
2097
  orderId: string | null;
@@ -2102,7 +2102,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2102
2102
  paymentAuthorizationId: string | null;
2103
2103
  paymentCaptureId: string | null;
2104
2104
  paymentId: string | null;
2105
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
2105
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
2106
2106
  provider: string | null;
2107
2107
  providerSessionId: string | null;
2108
2108
  providerPaymentId: string | null;
@@ -2111,7 +2111,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2111
2111
  clientReference: string | null;
2112
2112
  currency: string;
2113
2113
  amountCents: number;
2114
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
2114
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
2115
2115
  payerPersonId: string | null;
2116
2116
  payerOrganizationId: string | null;
2117
2117
  payerEmail: string | null;
@@ -2164,7 +2164,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2164
2164
  output: {
2165
2165
  data: {
2166
2166
  id: string;
2167
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2167
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2168
2168
  targetId: string | null;
2169
2169
  bookingId: string | null;
2170
2170
  orderId: string | null;
@@ -2175,7 +2175,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2175
2175
  paymentAuthorizationId: string | null;
2176
2176
  paymentCaptureId: string | null;
2177
2177
  paymentId: string | null;
2178
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
2178
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
2179
2179
  provider: string | null;
2180
2180
  providerSessionId: string | null;
2181
2181
  providerPaymentId: string | null;
@@ -2184,7 +2184,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2184
2184
  clientReference: string | null;
2185
2185
  currency: string;
2186
2186
  amountCents: number;
2187
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
2187
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
2188
2188
  payerPersonId: string | null;
2189
2189
  payerOrganizationId: string | null;
2190
2190
  payerEmail: string | null;
@@ -2237,7 +2237,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2237
2237
  output: {
2238
2238
  data: {
2239
2239
  id: string;
2240
- targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2240
+ targetType: "invoice" | "other" | "booking" | "order" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
2241
2241
  targetId: string | null;
2242
2242
  bookingId: string | null;
2243
2243
  orderId: string | null;
@@ -2248,7 +2248,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2248
2248
  paymentAuthorizationId: string | null;
2249
2249
  paymentCaptureId: string | null;
2250
2250
  paymentId: string | null;
2251
- status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
2251
+ status: "paid" | "expired" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled";
2252
2252
  provider: string | null;
2253
2253
  providerSessionId: string | null;
2254
2254
  providerPaymentId: string | null;
@@ -2257,7 +2257,7 @@ export declare const financePaymentProcessingRoutes: OpenAPIHono<Env, import("ho
2257
2257
  clientReference: string | null;
2258
2258
  currency: string;
2259
2259
  amountCents: number;
2260
- paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other" | null;
2260
+ paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | null;
2261
2261
  payerPersonId: string | null;
2262
2262
  payerOrganizationId: string | null;
2263
2263
  payerEmail: string | null;