@voyant-travel/finance 0.119.5 → 0.120.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.
- package/dist/checkout-routes.d.ts +248 -248
- package/dist/checkout-service-plan.d.ts +1 -1
- package/dist/checkout-validation.d.ts +62 -62
- package/dist/routes-action-ledger.d.ts +39 -39
- package/dist/routes-booking-billing.d.ts +92 -92
- package/dist/routes-booking-reads.d.ts +1 -1
- package/dist/routes-documents.d.ts +8 -8
- package/dist/routes-invoice-core.d.ts +48 -48
- package/dist/routes-invoice-documents.d.ts +25 -25
- package/dist/routes-invoice-issue.d.ts +69 -69
- package/dist/routes-payment-processing.d.ts +87 -87
- package/dist/routes-payments.d.ts +12 -12
- package/dist/routes-public.d.ts +58 -58
- package/dist/routes-reference-data.d.ts +24 -24
- package/dist/routes-runtime.d.ts +1 -1
- package/dist/routes-settlement.d.ts +1 -1
- package/dist/routes-supplier-invoices.d.ts +35 -35
- package/dist/routes-vouchers.d.ts +13 -13
- package/dist/routes.d.ts +373 -373
- package/dist/schema/booking-billing.d.ts +2 -2
- package/dist/schema/payment-instruments.d.ts +2 -2
- package/dist/schema/payment-processing.d.ts +1 -1
- package/dist/schema/payment-sessions.d.ts +3 -3
- package/dist/schema/receivables.d.ts +1 -1
- package/dist/schema/supplier-invoices.d.ts +1 -1
- package/dist/schema/vouchers.d.ts +1 -1
- package/dist/service-accountant-shares.d.ts +5 -5
- package/dist/service-booking-billing.d.ts +127 -127
- package/dist/service-booking-create.d.ts +32 -32
- package/dist/service-booking-guarantees.d.ts +36 -36
- package/dist/service-booking-item-billing.d.ts +23 -23
- package/dist/service-booking-payment-schedules.d.ts +68 -68
- package/dist/service-bookings-dual-create.d.ts +46 -46
- package/dist/service-invoice-artifacts.d.ts +17 -17
- package/dist/service-invoice-core.d.ts +21 -21
- package/dist/service-invoice-credit-notes.d.ts +9 -9
- package/dist/service-invoice-from-booking.d.ts +12 -12
- package/dist/service-invoice-line-items.d.ts +8 -8
- package/dist/service-invoice-numbering.d.ts +17 -17
- package/dist/service-invoice-payments.d.ts +13 -13
- package/dist/service-invoices.d.ts +63 -63
- package/dist/service-issue.d.ts +24 -24
- package/dist/service-payment-authorizations.d.ts +22 -22
- package/dist/service-payment-instruments.d.ts +18 -18
- package/dist/service-payment-processing.d.ts +85 -85
- package/dist/service-payment-session-completion.d.ts +3 -3
- package/dist/service-payment-sessions.d.ts +42 -42
- package/dist/service-public.d.ts +18 -18
- package/dist/service-reference-data.d.ts +22 -22
- package/dist/service-reports.d.ts +2 -2
- package/dist/service-shared.d.ts +3 -3
- package/dist/service-supplier-invoices.d.ts +19 -19
- package/dist/service-supplier-payments.d.ts +10 -10
- package/dist/service-vouchers.d.ts +5 -5
- package/dist/service.d.ts +357 -357
- package/package.json +10 -10
|
@@ -65,44 +65,43 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
65
65
|
documentType: "proforma" | "invoice" | null;
|
|
66
66
|
willCreateDefaultPaymentPlan: boolean;
|
|
67
67
|
selectedSchedule: {
|
|
68
|
-
currency: string;
|
|
69
68
|
id: string;
|
|
69
|
+
status: "expired" | "cancelled" | "pending" | "paid" | "due" | "waived";
|
|
70
70
|
createdAt: string;
|
|
71
|
+
notes: string | null;
|
|
71
72
|
updatedAt: string;
|
|
72
|
-
status: "pending" | "cancelled" | "due" | "paid" | "waived" | "expired";
|
|
73
73
|
bookingId: string;
|
|
74
|
-
|
|
75
|
-
notes: string | null;
|
|
76
|
-
bookingItemId: string | null;
|
|
77
|
-
scheduleType: "other" | "deposit" | "balance" | "installment" | "hold";
|
|
74
|
+
currency: string;
|
|
78
75
|
dueDate: string;
|
|
76
|
+
bookingItemId: string | null;
|
|
77
|
+
scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
|
|
78
|
+
amountCents: number;
|
|
79
79
|
} | null;
|
|
80
80
|
selectedInvoice: {
|
|
81
|
-
subtotalCents: number;
|
|
82
|
-
currency: string;
|
|
83
81
|
id: string;
|
|
82
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
83
|
+
organizationId: string | null;
|
|
84
84
|
createdAt: string;
|
|
85
|
-
|
|
86
|
-
taxRegimeId: string | null;
|
|
87
|
-
taxCents: number;
|
|
88
|
-
totalCents: number;
|
|
89
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
90
|
-
bookingId: string;
|
|
85
|
+
personId: string | null;
|
|
91
86
|
notes: string | null;
|
|
92
|
-
|
|
93
|
-
dueDate: string;
|
|
87
|
+
updatedAt: string;
|
|
94
88
|
invoiceNumber: string;
|
|
95
89
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
96
90
|
convertedFromInvoiceId: string | null;
|
|
97
91
|
seriesId: string | null;
|
|
98
92
|
sequence: number | null;
|
|
93
|
+
templateId: string | null;
|
|
94
|
+
taxRegimeId: string | null;
|
|
99
95
|
language: string | null;
|
|
100
|
-
|
|
101
|
-
|
|
96
|
+
bookingId: string;
|
|
97
|
+
currency: string;
|
|
102
98
|
baseCurrency: string | null;
|
|
103
99
|
fxRateSetId: string | null;
|
|
100
|
+
subtotalCents: number;
|
|
104
101
|
baseSubtotalCents: number | null;
|
|
102
|
+
taxCents: number;
|
|
105
103
|
baseTaxCents: number | null;
|
|
104
|
+
totalCents: number;
|
|
106
105
|
baseTotalCents: number | null;
|
|
107
106
|
paidCents: number;
|
|
108
107
|
basePaidCents: number | null;
|
|
@@ -111,6 +110,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
111
110
|
commissionPercent: number | null;
|
|
112
111
|
commissionAmountCents: number | null;
|
|
113
112
|
issueDate: string;
|
|
113
|
+
dueDate: string;
|
|
114
114
|
voidedAt: string | null;
|
|
115
115
|
voidReason: string | null;
|
|
116
116
|
} | null;
|
|
@@ -163,44 +163,43 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
163
163
|
documentType: "proforma" | "invoice" | null;
|
|
164
164
|
willCreateDefaultPaymentPlan: boolean;
|
|
165
165
|
selectedSchedule: {
|
|
166
|
-
currency: string;
|
|
167
166
|
id: string;
|
|
167
|
+
status: "expired" | "cancelled" | "pending" | "paid" | "due" | "waived";
|
|
168
168
|
createdAt: string;
|
|
169
|
+
notes: string | null;
|
|
169
170
|
updatedAt: string;
|
|
170
|
-
status: "pending" | "cancelled" | "due" | "paid" | "waived" | "expired";
|
|
171
171
|
bookingId: string;
|
|
172
|
-
|
|
173
|
-
notes: string | null;
|
|
174
|
-
bookingItemId: string | null;
|
|
175
|
-
scheduleType: "other" | "deposit" | "balance" | "installment" | "hold";
|
|
172
|
+
currency: string;
|
|
176
173
|
dueDate: string;
|
|
174
|
+
bookingItemId: string | null;
|
|
175
|
+
scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
|
|
176
|
+
amountCents: number;
|
|
177
177
|
} | null;
|
|
178
178
|
selectedInvoice: {
|
|
179
|
-
subtotalCents: number;
|
|
180
|
-
currency: string;
|
|
181
179
|
id: string;
|
|
180
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
181
|
+
organizationId: string | null;
|
|
182
182
|
createdAt: string;
|
|
183
|
-
|
|
184
|
-
taxRegimeId: string | null;
|
|
185
|
-
taxCents: number;
|
|
186
|
-
totalCents: number;
|
|
187
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
188
|
-
bookingId: string;
|
|
183
|
+
personId: string | null;
|
|
189
184
|
notes: string | null;
|
|
190
|
-
|
|
191
|
-
dueDate: string;
|
|
185
|
+
updatedAt: string;
|
|
192
186
|
invoiceNumber: string;
|
|
193
187
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
194
188
|
convertedFromInvoiceId: string | null;
|
|
195
189
|
seriesId: string | null;
|
|
196
190
|
sequence: number | null;
|
|
191
|
+
templateId: string | null;
|
|
192
|
+
taxRegimeId: string | null;
|
|
197
193
|
language: string | null;
|
|
198
|
-
|
|
199
|
-
|
|
194
|
+
bookingId: string;
|
|
195
|
+
currency: string;
|
|
200
196
|
baseCurrency: string | null;
|
|
201
197
|
fxRateSetId: string | null;
|
|
198
|
+
subtotalCents: number;
|
|
202
199
|
baseSubtotalCents: number | null;
|
|
200
|
+
taxCents: number;
|
|
203
201
|
baseTaxCents: number | null;
|
|
202
|
+
totalCents: number;
|
|
204
203
|
baseTotalCents: number | null;
|
|
205
204
|
paidCents: number;
|
|
206
205
|
basePaidCents: number | null;
|
|
@@ -209,6 +208,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
209
208
|
commissionPercent: number | null;
|
|
210
209
|
commissionAmountCents: number | null;
|
|
211
210
|
issueDate: string;
|
|
211
|
+
dueDate: string;
|
|
212
212
|
voidedAt: string | null;
|
|
213
213
|
voidReason: string | null;
|
|
214
214
|
} | null;
|
|
@@ -217,31 +217,30 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
217
217
|
recommendedAction: "create_bank_transfer_document" | "create_payment_session" | "create_invoice_then_payment_session" | "none";
|
|
218
218
|
};
|
|
219
219
|
invoice: {
|
|
220
|
-
subtotalCents: number;
|
|
221
|
-
currency: string;
|
|
222
220
|
id: string;
|
|
221
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
222
|
+
organizationId: string | null;
|
|
223
223
|
createdAt: string;
|
|
224
|
-
|
|
225
|
-
taxRegimeId: string | null;
|
|
226
|
-
taxCents: number;
|
|
227
|
-
totalCents: number;
|
|
228
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
229
|
-
bookingId: string;
|
|
224
|
+
personId: string | null;
|
|
230
225
|
notes: string | null;
|
|
231
|
-
|
|
232
|
-
dueDate: string;
|
|
226
|
+
updatedAt: string;
|
|
233
227
|
invoiceNumber: string;
|
|
234
228
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
235
229
|
convertedFromInvoiceId: string | null;
|
|
236
230
|
seriesId: string | null;
|
|
237
231
|
sequence: number | null;
|
|
232
|
+
templateId: string | null;
|
|
233
|
+
taxRegimeId: string | null;
|
|
238
234
|
language: string | null;
|
|
239
|
-
|
|
240
|
-
|
|
235
|
+
bookingId: string;
|
|
236
|
+
currency: string;
|
|
241
237
|
baseCurrency: string | null;
|
|
242
238
|
fxRateSetId: string | null;
|
|
239
|
+
subtotalCents: number;
|
|
243
240
|
baseSubtotalCents: number | null;
|
|
241
|
+
taxCents: number;
|
|
244
242
|
baseTaxCents: number | null;
|
|
243
|
+
totalCents: number;
|
|
245
244
|
baseTotalCents: number | null;
|
|
246
245
|
paidCents: number;
|
|
247
246
|
basePaidCents: number | null;
|
|
@@ -250,56 +249,57 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
250
249
|
commissionPercent: number | null;
|
|
251
250
|
commissionAmountCents: number | null;
|
|
252
251
|
issueDate: string;
|
|
252
|
+
dueDate: string;
|
|
253
253
|
voidedAt: string | null;
|
|
254
254
|
voidReason: string | null;
|
|
255
255
|
} | null;
|
|
256
256
|
paymentSession: {
|
|
257
|
-
currency: string;
|
|
258
257
|
id: string;
|
|
258
|
+
status: "failed" | "expired" | "cancelled" | "pending" | "processing" | "paid" | "requires_redirect" | "authorized";
|
|
259
|
+
idempotencyKey: string | null;
|
|
260
|
+
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
|
|
261
|
+
targetId: string | null;
|
|
259
262
|
createdAt: string;
|
|
260
|
-
|
|
263
|
+
expiresAt: string | null;
|
|
264
|
+
provider: string | null;
|
|
265
|
+
notes: string | null;
|
|
261
266
|
metadata: {
|
|
262
267
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
263
268
|
} | null;
|
|
264
|
-
|
|
265
|
-
status: "processing" | "failed" | "pending" | "cancelled" | "paid" | "expired" | "authorized" | "requires_redirect";
|
|
266
|
-
targetType: "other" | "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "flight_order" | "order";
|
|
267
|
-
targetId: string | null;
|
|
269
|
+
updatedAt: string;
|
|
268
270
|
bookingId: string | null;
|
|
269
|
-
|
|
271
|
+
currency: string;
|
|
270
272
|
invoiceId: string | null;
|
|
271
273
|
amountCents: number;
|
|
272
|
-
notes: string | null;
|
|
273
274
|
bookingPaymentScheduleId: string | null;
|
|
275
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
276
|
+
paymentInstrumentId: string | null;
|
|
277
|
+
orderId: string | null;
|
|
274
278
|
bookingGuaranteeId: string | null;
|
|
275
|
-
|
|
279
|
+
paymentAuthorizationId: string | null;
|
|
280
|
+
paymentCaptureId: string | null;
|
|
281
|
+
paymentId: string | null;
|
|
282
|
+
providerSessionId: string | null;
|
|
283
|
+
providerPaymentId: string | null;
|
|
284
|
+
externalReference: string | null;
|
|
285
|
+
clientReference: string | null;
|
|
276
286
|
payerPersonId: string | null;
|
|
277
287
|
payerOrganizationId: string | null;
|
|
278
288
|
payerEmail: string | null;
|
|
279
289
|
payerName: string | null;
|
|
280
|
-
|
|
281
|
-
clientReference: string | null;
|
|
290
|
+
redirectUrl: string | null;
|
|
282
291
|
returnUrl: string | null;
|
|
283
292
|
cancelUrl: string | null;
|
|
284
293
|
callbackUrl: string | null;
|
|
285
|
-
expiresAt: string | null;
|
|
286
|
-
providerPayload: {
|
|
287
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
288
|
-
} | null;
|
|
289
|
-
orderId: string | null;
|
|
290
|
-
paymentInstrumentId: string | null;
|
|
291
|
-
paymentAuthorizationId: string | null;
|
|
292
|
-
paymentCaptureId: string | null;
|
|
293
|
-
paymentId: string | null;
|
|
294
|
-
providerSessionId: string | null;
|
|
295
|
-
providerPaymentId: string | null;
|
|
296
|
-
redirectUrl: string | null;
|
|
297
294
|
completedAt: string | null;
|
|
298
295
|
failedAt: string | null;
|
|
299
296
|
cancelledAt: string | null;
|
|
300
297
|
expiredAt: string | null;
|
|
301
298
|
failureCode: string | null;
|
|
302
299
|
failureMessage: string | null;
|
|
300
|
+
providerPayload: {
|
|
301
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
302
|
+
} | null;
|
|
303
303
|
} | null;
|
|
304
304
|
invoiceNotification: {
|
|
305
305
|
id: string;
|
|
@@ -391,44 +391,43 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
391
391
|
documentType: "proforma" | "invoice" | null;
|
|
392
392
|
willCreateDefaultPaymentPlan: boolean;
|
|
393
393
|
selectedSchedule: {
|
|
394
|
-
currency: string;
|
|
395
394
|
id: string;
|
|
395
|
+
status: "expired" | "cancelled" | "pending" | "paid" | "due" | "waived";
|
|
396
396
|
createdAt: string;
|
|
397
|
+
notes: string | null;
|
|
397
398
|
updatedAt: string;
|
|
398
|
-
status: "pending" | "cancelled" | "due" | "paid" | "waived" | "expired";
|
|
399
399
|
bookingId: string;
|
|
400
|
-
|
|
401
|
-
notes: string | null;
|
|
402
|
-
bookingItemId: string | null;
|
|
403
|
-
scheduleType: "other" | "deposit" | "balance" | "installment" | "hold";
|
|
400
|
+
currency: string;
|
|
404
401
|
dueDate: string;
|
|
402
|
+
bookingItemId: string | null;
|
|
403
|
+
scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
|
|
404
|
+
amountCents: number;
|
|
405
405
|
} | null;
|
|
406
406
|
selectedInvoice: {
|
|
407
|
-
subtotalCents: number;
|
|
408
|
-
currency: string;
|
|
409
407
|
id: string;
|
|
408
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
409
|
+
organizationId: string | null;
|
|
410
410
|
createdAt: string;
|
|
411
|
-
|
|
412
|
-
taxRegimeId: string | null;
|
|
413
|
-
taxCents: number;
|
|
414
|
-
totalCents: number;
|
|
415
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
416
|
-
bookingId: string;
|
|
411
|
+
personId: string | null;
|
|
417
412
|
notes: string | null;
|
|
418
|
-
|
|
419
|
-
dueDate: string;
|
|
413
|
+
updatedAt: string;
|
|
420
414
|
invoiceNumber: string;
|
|
421
415
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
422
416
|
convertedFromInvoiceId: string | null;
|
|
423
417
|
seriesId: string | null;
|
|
424
418
|
sequence: number | null;
|
|
419
|
+
templateId: string | null;
|
|
420
|
+
taxRegimeId: string | null;
|
|
425
421
|
language: string | null;
|
|
426
|
-
|
|
427
|
-
|
|
422
|
+
bookingId: string;
|
|
423
|
+
currency: string;
|
|
428
424
|
baseCurrency: string | null;
|
|
429
425
|
fxRateSetId: string | null;
|
|
426
|
+
subtotalCents: number;
|
|
430
427
|
baseSubtotalCents: number | null;
|
|
428
|
+
taxCents: number;
|
|
431
429
|
baseTaxCents: number | null;
|
|
430
|
+
totalCents: number;
|
|
432
431
|
baseTotalCents: number | null;
|
|
433
432
|
paidCents: number;
|
|
434
433
|
basePaidCents: number | null;
|
|
@@ -437,6 +436,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
437
436
|
commissionPercent: number | null;
|
|
438
437
|
commissionAmountCents: number | null;
|
|
439
438
|
issueDate: string;
|
|
439
|
+
dueDate: string;
|
|
440
440
|
voidedAt: string | null;
|
|
441
441
|
voidReason: string | null;
|
|
442
442
|
} | null;
|
|
@@ -445,31 +445,30 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
445
445
|
recommendedAction: "create_bank_transfer_document" | "create_payment_session" | "create_invoice_then_payment_session" | "none";
|
|
446
446
|
};
|
|
447
447
|
invoice: {
|
|
448
|
-
subtotalCents: number;
|
|
449
|
-
currency: string;
|
|
450
448
|
id: string;
|
|
449
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
450
|
+
organizationId: string | null;
|
|
451
451
|
createdAt: string;
|
|
452
|
-
|
|
453
|
-
taxRegimeId: string | null;
|
|
454
|
-
taxCents: number;
|
|
455
|
-
totalCents: number;
|
|
456
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
457
|
-
bookingId: string;
|
|
452
|
+
personId: string | null;
|
|
458
453
|
notes: string | null;
|
|
459
|
-
|
|
460
|
-
dueDate: string;
|
|
454
|
+
updatedAt: string;
|
|
461
455
|
invoiceNumber: string;
|
|
462
456
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
463
457
|
convertedFromInvoiceId: string | null;
|
|
464
458
|
seriesId: string | null;
|
|
465
459
|
sequence: number | null;
|
|
460
|
+
templateId: string | null;
|
|
461
|
+
taxRegimeId: string | null;
|
|
466
462
|
language: string | null;
|
|
467
|
-
|
|
468
|
-
|
|
463
|
+
bookingId: string;
|
|
464
|
+
currency: string;
|
|
469
465
|
baseCurrency: string | null;
|
|
470
466
|
fxRateSetId: string | null;
|
|
467
|
+
subtotalCents: number;
|
|
471
468
|
baseSubtotalCents: number | null;
|
|
469
|
+
taxCents: number;
|
|
472
470
|
baseTaxCents: number | null;
|
|
471
|
+
totalCents: number;
|
|
473
472
|
baseTotalCents: number | null;
|
|
474
473
|
paidCents: number;
|
|
475
474
|
basePaidCents: number | null;
|
|
@@ -478,56 +477,57 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
478
477
|
commissionPercent: number | null;
|
|
479
478
|
commissionAmountCents: number | null;
|
|
480
479
|
issueDate: string;
|
|
480
|
+
dueDate: string;
|
|
481
481
|
voidedAt: string | null;
|
|
482
482
|
voidReason: string | null;
|
|
483
483
|
} | null;
|
|
484
484
|
paymentSession: {
|
|
485
|
-
currency: string;
|
|
486
485
|
id: string;
|
|
486
|
+
status: "failed" | "expired" | "cancelled" | "pending" | "processing" | "paid" | "requires_redirect" | "authorized";
|
|
487
|
+
idempotencyKey: string | null;
|
|
488
|
+
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
|
|
489
|
+
targetId: string | null;
|
|
487
490
|
createdAt: string;
|
|
488
|
-
|
|
491
|
+
expiresAt: string | null;
|
|
492
|
+
provider: string | null;
|
|
493
|
+
notes: string | null;
|
|
489
494
|
metadata: {
|
|
490
495
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
491
496
|
} | null;
|
|
492
|
-
|
|
493
|
-
status: "processing" | "failed" | "pending" | "cancelled" | "paid" | "expired" | "authorized" | "requires_redirect";
|
|
494
|
-
targetType: "other" | "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "flight_order" | "order";
|
|
495
|
-
targetId: string | null;
|
|
497
|
+
updatedAt: string;
|
|
496
498
|
bookingId: string | null;
|
|
497
|
-
|
|
499
|
+
currency: string;
|
|
498
500
|
invoiceId: string | null;
|
|
499
501
|
amountCents: number;
|
|
500
|
-
notes: string | null;
|
|
501
502
|
bookingPaymentScheduleId: string | null;
|
|
503
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
504
|
+
paymentInstrumentId: string | null;
|
|
505
|
+
orderId: string | null;
|
|
502
506
|
bookingGuaranteeId: string | null;
|
|
503
|
-
|
|
507
|
+
paymentAuthorizationId: string | null;
|
|
508
|
+
paymentCaptureId: string | null;
|
|
509
|
+
paymentId: string | null;
|
|
510
|
+
providerSessionId: string | null;
|
|
511
|
+
providerPaymentId: string | null;
|
|
512
|
+
externalReference: string | null;
|
|
513
|
+
clientReference: string | null;
|
|
504
514
|
payerPersonId: string | null;
|
|
505
515
|
payerOrganizationId: string | null;
|
|
506
516
|
payerEmail: string | null;
|
|
507
517
|
payerName: string | null;
|
|
508
|
-
|
|
509
|
-
clientReference: string | null;
|
|
518
|
+
redirectUrl: string | null;
|
|
510
519
|
returnUrl: string | null;
|
|
511
520
|
cancelUrl: string | null;
|
|
512
521
|
callbackUrl: string | null;
|
|
513
|
-
expiresAt: string | null;
|
|
514
|
-
providerPayload: {
|
|
515
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
516
|
-
} | null;
|
|
517
|
-
orderId: string | null;
|
|
518
|
-
paymentInstrumentId: string | null;
|
|
519
|
-
paymentAuthorizationId: string | null;
|
|
520
|
-
paymentCaptureId: string | null;
|
|
521
|
-
paymentId: string | null;
|
|
522
|
-
providerSessionId: string | null;
|
|
523
|
-
providerPaymentId: string | null;
|
|
524
|
-
redirectUrl: string | null;
|
|
525
522
|
completedAt: string | null;
|
|
526
523
|
failedAt: string | null;
|
|
527
524
|
cancelledAt: string | null;
|
|
528
525
|
expiredAt: string | null;
|
|
529
526
|
failureCode: string | null;
|
|
530
527
|
failureMessage: string | null;
|
|
528
|
+
providerPayload: {
|
|
529
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
530
|
+
} | null;
|
|
531
531
|
} | null;
|
|
532
532
|
invoiceNotification: {
|
|
533
533
|
id: string;
|
|
@@ -619,44 +619,43 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
619
619
|
documentType: "proforma" | "invoice" | null;
|
|
620
620
|
willCreateDefaultPaymentPlan: boolean;
|
|
621
621
|
selectedSchedule: {
|
|
622
|
-
currency: string;
|
|
623
622
|
id: string;
|
|
623
|
+
status: "expired" | "cancelled" | "pending" | "paid" | "due" | "waived";
|
|
624
624
|
createdAt: string;
|
|
625
|
+
notes: string | null;
|
|
625
626
|
updatedAt: string;
|
|
626
|
-
status: "pending" | "cancelled" | "due" | "paid" | "waived" | "expired";
|
|
627
627
|
bookingId: string;
|
|
628
|
-
|
|
629
|
-
notes: string | null;
|
|
630
|
-
bookingItemId: string | null;
|
|
631
|
-
scheduleType: "other" | "deposit" | "balance" | "installment" | "hold";
|
|
628
|
+
currency: string;
|
|
632
629
|
dueDate: string;
|
|
630
|
+
bookingItemId: string | null;
|
|
631
|
+
scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
|
|
632
|
+
amountCents: number;
|
|
633
633
|
} | null;
|
|
634
634
|
selectedInvoice: {
|
|
635
|
-
subtotalCents: number;
|
|
636
|
-
currency: string;
|
|
637
635
|
id: string;
|
|
636
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
637
|
+
organizationId: string | null;
|
|
638
638
|
createdAt: string;
|
|
639
|
-
|
|
640
|
-
taxRegimeId: string | null;
|
|
641
|
-
taxCents: number;
|
|
642
|
-
totalCents: number;
|
|
643
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
644
|
-
bookingId: string;
|
|
639
|
+
personId: string | null;
|
|
645
640
|
notes: string | null;
|
|
646
|
-
|
|
647
|
-
dueDate: string;
|
|
641
|
+
updatedAt: string;
|
|
648
642
|
invoiceNumber: string;
|
|
649
643
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
650
644
|
convertedFromInvoiceId: string | null;
|
|
651
645
|
seriesId: string | null;
|
|
652
646
|
sequence: number | null;
|
|
647
|
+
templateId: string | null;
|
|
648
|
+
taxRegimeId: string | null;
|
|
653
649
|
language: string | null;
|
|
654
|
-
|
|
655
|
-
|
|
650
|
+
bookingId: string;
|
|
651
|
+
currency: string;
|
|
656
652
|
baseCurrency: string | null;
|
|
657
653
|
fxRateSetId: string | null;
|
|
654
|
+
subtotalCents: number;
|
|
658
655
|
baseSubtotalCents: number | null;
|
|
656
|
+
taxCents: number;
|
|
659
657
|
baseTaxCents: number | null;
|
|
658
|
+
totalCents: number;
|
|
660
659
|
baseTotalCents: number | null;
|
|
661
660
|
paidCents: number;
|
|
662
661
|
basePaidCents: number | null;
|
|
@@ -665,6 +664,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
665
664
|
commissionPercent: number | null;
|
|
666
665
|
commissionAmountCents: number | null;
|
|
667
666
|
issueDate: string;
|
|
667
|
+
dueDate: string;
|
|
668
668
|
voidedAt: string | null;
|
|
669
669
|
voidReason: string | null;
|
|
670
670
|
} | null;
|
|
@@ -717,44 +717,43 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
717
717
|
documentType: "proforma" | "invoice" | null;
|
|
718
718
|
willCreateDefaultPaymentPlan: boolean;
|
|
719
719
|
selectedSchedule: {
|
|
720
|
-
currency: string;
|
|
721
720
|
id: string;
|
|
721
|
+
status: "expired" | "cancelled" | "pending" | "paid" | "due" | "waived";
|
|
722
722
|
createdAt: string;
|
|
723
|
+
notes: string | null;
|
|
723
724
|
updatedAt: string;
|
|
724
|
-
status: "pending" | "cancelled" | "due" | "paid" | "waived" | "expired";
|
|
725
725
|
bookingId: string;
|
|
726
|
-
|
|
727
|
-
notes: string | null;
|
|
728
|
-
bookingItemId: string | null;
|
|
729
|
-
scheduleType: "other" | "deposit" | "balance" | "installment" | "hold";
|
|
726
|
+
currency: string;
|
|
730
727
|
dueDate: string;
|
|
728
|
+
bookingItemId: string | null;
|
|
729
|
+
scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
|
|
730
|
+
amountCents: number;
|
|
731
731
|
} | null;
|
|
732
732
|
selectedInvoice: {
|
|
733
|
-
subtotalCents: number;
|
|
734
|
-
currency: string;
|
|
735
733
|
id: string;
|
|
734
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
735
|
+
organizationId: string | null;
|
|
736
736
|
createdAt: string;
|
|
737
|
-
|
|
738
|
-
taxRegimeId: string | null;
|
|
739
|
-
taxCents: number;
|
|
740
|
-
totalCents: number;
|
|
741
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
742
|
-
bookingId: string;
|
|
737
|
+
personId: string | null;
|
|
743
738
|
notes: string | null;
|
|
744
|
-
|
|
745
|
-
dueDate: string;
|
|
739
|
+
updatedAt: string;
|
|
746
740
|
invoiceNumber: string;
|
|
747
741
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
748
742
|
convertedFromInvoiceId: string | null;
|
|
749
743
|
seriesId: string | null;
|
|
750
744
|
sequence: number | null;
|
|
745
|
+
templateId: string | null;
|
|
746
|
+
taxRegimeId: string | null;
|
|
751
747
|
language: string | null;
|
|
752
|
-
|
|
753
|
-
|
|
748
|
+
bookingId: string;
|
|
749
|
+
currency: string;
|
|
754
750
|
baseCurrency: string | null;
|
|
755
751
|
fxRateSetId: string | null;
|
|
752
|
+
subtotalCents: number;
|
|
756
753
|
baseSubtotalCents: number | null;
|
|
754
|
+
taxCents: number;
|
|
757
755
|
baseTaxCents: number | null;
|
|
756
|
+
totalCents: number;
|
|
758
757
|
baseTotalCents: number | null;
|
|
759
758
|
paidCents: number;
|
|
760
759
|
basePaidCents: number | null;
|
|
@@ -763,6 +762,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
763
762
|
commissionPercent: number | null;
|
|
764
763
|
commissionAmountCents: number | null;
|
|
765
764
|
issueDate: string;
|
|
765
|
+
dueDate: string;
|
|
766
766
|
voidedAt: string | null;
|
|
767
767
|
voidReason: string | null;
|
|
768
768
|
} | null;
|
|
@@ -771,31 +771,30 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
771
771
|
recommendedAction: "create_bank_transfer_document" | "create_payment_session" | "create_invoice_then_payment_session" | "none";
|
|
772
772
|
};
|
|
773
773
|
invoice: {
|
|
774
|
-
subtotalCents: number;
|
|
775
|
-
currency: string;
|
|
776
774
|
id: string;
|
|
775
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
776
|
+
organizationId: string | null;
|
|
777
777
|
createdAt: string;
|
|
778
|
-
|
|
779
|
-
taxRegimeId: string | null;
|
|
780
|
-
taxCents: number;
|
|
781
|
-
totalCents: number;
|
|
782
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
783
|
-
bookingId: string;
|
|
778
|
+
personId: string | null;
|
|
784
779
|
notes: string | null;
|
|
785
|
-
|
|
786
|
-
dueDate: string;
|
|
780
|
+
updatedAt: string;
|
|
787
781
|
invoiceNumber: string;
|
|
788
782
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
789
783
|
convertedFromInvoiceId: string | null;
|
|
790
784
|
seriesId: string | null;
|
|
791
785
|
sequence: number | null;
|
|
786
|
+
templateId: string | null;
|
|
787
|
+
taxRegimeId: string | null;
|
|
792
788
|
language: string | null;
|
|
793
|
-
|
|
794
|
-
|
|
789
|
+
bookingId: string;
|
|
790
|
+
currency: string;
|
|
795
791
|
baseCurrency: string | null;
|
|
796
792
|
fxRateSetId: string | null;
|
|
793
|
+
subtotalCents: number;
|
|
797
794
|
baseSubtotalCents: number | null;
|
|
795
|
+
taxCents: number;
|
|
798
796
|
baseTaxCents: number | null;
|
|
797
|
+
totalCents: number;
|
|
799
798
|
baseTotalCents: number | null;
|
|
800
799
|
paidCents: number;
|
|
801
800
|
basePaidCents: number | null;
|
|
@@ -804,56 +803,57 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
804
803
|
commissionPercent: number | null;
|
|
805
804
|
commissionAmountCents: number | null;
|
|
806
805
|
issueDate: string;
|
|
806
|
+
dueDate: string;
|
|
807
807
|
voidedAt: string | null;
|
|
808
808
|
voidReason: string | null;
|
|
809
809
|
} | null;
|
|
810
810
|
paymentSession: {
|
|
811
|
-
currency: string;
|
|
812
811
|
id: string;
|
|
812
|
+
status: "failed" | "expired" | "cancelled" | "pending" | "processing" | "paid" | "requires_redirect" | "authorized";
|
|
813
|
+
idempotencyKey: string | null;
|
|
814
|
+
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
|
|
815
|
+
targetId: string | null;
|
|
813
816
|
createdAt: string;
|
|
814
|
-
|
|
817
|
+
expiresAt: string | null;
|
|
818
|
+
provider: string | null;
|
|
819
|
+
notes: string | null;
|
|
815
820
|
metadata: {
|
|
816
821
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
817
822
|
} | null;
|
|
818
|
-
|
|
819
|
-
status: "processing" | "failed" | "pending" | "cancelled" | "paid" | "expired" | "authorized" | "requires_redirect";
|
|
820
|
-
targetType: "other" | "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "flight_order" | "order";
|
|
821
|
-
targetId: string | null;
|
|
823
|
+
updatedAt: string;
|
|
822
824
|
bookingId: string | null;
|
|
823
|
-
|
|
825
|
+
currency: string;
|
|
824
826
|
invoiceId: string | null;
|
|
825
827
|
amountCents: number;
|
|
826
|
-
notes: string | null;
|
|
827
828
|
bookingPaymentScheduleId: string | null;
|
|
829
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
830
|
+
paymentInstrumentId: string | null;
|
|
831
|
+
orderId: string | null;
|
|
828
832
|
bookingGuaranteeId: string | null;
|
|
829
|
-
|
|
833
|
+
paymentAuthorizationId: string | null;
|
|
834
|
+
paymentCaptureId: string | null;
|
|
835
|
+
paymentId: string | null;
|
|
836
|
+
providerSessionId: string | null;
|
|
837
|
+
providerPaymentId: string | null;
|
|
838
|
+
externalReference: string | null;
|
|
839
|
+
clientReference: string | null;
|
|
830
840
|
payerPersonId: string | null;
|
|
831
841
|
payerOrganizationId: string | null;
|
|
832
842
|
payerEmail: string | null;
|
|
833
843
|
payerName: string | null;
|
|
834
|
-
|
|
835
|
-
clientReference: string | null;
|
|
844
|
+
redirectUrl: string | null;
|
|
836
845
|
returnUrl: string | null;
|
|
837
846
|
cancelUrl: string | null;
|
|
838
847
|
callbackUrl: string | null;
|
|
839
|
-
expiresAt: string | null;
|
|
840
|
-
providerPayload: {
|
|
841
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
842
|
-
} | null;
|
|
843
|
-
orderId: string | null;
|
|
844
|
-
paymentInstrumentId: string | null;
|
|
845
|
-
paymentAuthorizationId: string | null;
|
|
846
|
-
paymentCaptureId: string | null;
|
|
847
|
-
paymentId: string | null;
|
|
848
|
-
providerSessionId: string | null;
|
|
849
|
-
providerPaymentId: string | null;
|
|
850
|
-
redirectUrl: string | null;
|
|
851
848
|
completedAt: string | null;
|
|
852
849
|
failedAt: string | null;
|
|
853
850
|
cancelledAt: string | null;
|
|
854
851
|
expiredAt: string | null;
|
|
855
852
|
failureCode: string | null;
|
|
856
853
|
failureMessage: string | null;
|
|
854
|
+
providerPayload: {
|
|
855
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
856
|
+
} | null;
|
|
857
857
|
} | null;
|
|
858
858
|
invoiceNotification: {
|
|
859
859
|
id: string;
|
|
@@ -945,44 +945,43 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
945
945
|
documentType: "proforma" | "invoice" | null;
|
|
946
946
|
willCreateDefaultPaymentPlan: boolean;
|
|
947
947
|
selectedSchedule: {
|
|
948
|
-
currency: string;
|
|
949
948
|
id: string;
|
|
949
|
+
status: "expired" | "cancelled" | "pending" | "paid" | "due" | "waived";
|
|
950
950
|
createdAt: string;
|
|
951
|
+
notes: string | null;
|
|
951
952
|
updatedAt: string;
|
|
952
|
-
status: "pending" | "cancelled" | "due" | "paid" | "waived" | "expired";
|
|
953
953
|
bookingId: string;
|
|
954
|
-
|
|
955
|
-
notes: string | null;
|
|
956
|
-
bookingItemId: string | null;
|
|
957
|
-
scheduleType: "other" | "deposit" | "balance" | "installment" | "hold";
|
|
954
|
+
currency: string;
|
|
958
955
|
dueDate: string;
|
|
956
|
+
bookingItemId: string | null;
|
|
957
|
+
scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
|
|
958
|
+
amountCents: number;
|
|
959
959
|
} | null;
|
|
960
960
|
selectedInvoice: {
|
|
961
|
-
subtotalCents: number;
|
|
962
|
-
currency: string;
|
|
963
961
|
id: string;
|
|
962
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
963
|
+
organizationId: string | null;
|
|
964
964
|
createdAt: string;
|
|
965
|
-
|
|
966
|
-
taxRegimeId: string | null;
|
|
967
|
-
taxCents: number;
|
|
968
|
-
totalCents: number;
|
|
969
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
970
|
-
bookingId: string;
|
|
965
|
+
personId: string | null;
|
|
971
966
|
notes: string | null;
|
|
972
|
-
|
|
973
|
-
dueDate: string;
|
|
967
|
+
updatedAt: string;
|
|
974
968
|
invoiceNumber: string;
|
|
975
969
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
976
970
|
convertedFromInvoiceId: string | null;
|
|
977
971
|
seriesId: string | null;
|
|
978
972
|
sequence: number | null;
|
|
973
|
+
templateId: string | null;
|
|
974
|
+
taxRegimeId: string | null;
|
|
979
975
|
language: string | null;
|
|
980
|
-
|
|
981
|
-
|
|
976
|
+
bookingId: string;
|
|
977
|
+
currency: string;
|
|
982
978
|
baseCurrency: string | null;
|
|
983
979
|
fxRateSetId: string | null;
|
|
980
|
+
subtotalCents: number;
|
|
984
981
|
baseSubtotalCents: number | null;
|
|
982
|
+
taxCents: number;
|
|
985
983
|
baseTaxCents: number | null;
|
|
984
|
+
totalCents: number;
|
|
986
985
|
baseTotalCents: number | null;
|
|
987
986
|
paidCents: number;
|
|
988
987
|
basePaidCents: number | null;
|
|
@@ -991,6 +990,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
991
990
|
commissionPercent: number | null;
|
|
992
991
|
commissionAmountCents: number | null;
|
|
993
992
|
issueDate: string;
|
|
993
|
+
dueDate: string;
|
|
994
994
|
voidedAt: string | null;
|
|
995
995
|
voidReason: string | null;
|
|
996
996
|
} | null;
|
|
@@ -999,31 +999,30 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
999
999
|
recommendedAction: "create_bank_transfer_document" | "create_payment_session" | "create_invoice_then_payment_session" | "none";
|
|
1000
1000
|
};
|
|
1001
1001
|
invoice: {
|
|
1002
|
-
subtotalCents: number;
|
|
1003
|
-
currency: string;
|
|
1004
1002
|
id: string;
|
|
1003
|
+
status: "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "paid" | "overdue" | "void";
|
|
1004
|
+
organizationId: string | null;
|
|
1005
1005
|
createdAt: string;
|
|
1006
|
-
|
|
1007
|
-
taxRegimeId: string | null;
|
|
1008
|
-
taxCents: number;
|
|
1009
|
-
totalCents: number;
|
|
1010
|
-
status: "void" | "paid" | "draft" | "pending_external_allocation" | "issued" | "partially_paid" | "overdue";
|
|
1011
|
-
bookingId: string;
|
|
1006
|
+
personId: string | null;
|
|
1012
1007
|
notes: string | null;
|
|
1013
|
-
|
|
1014
|
-
dueDate: string;
|
|
1008
|
+
updatedAt: string;
|
|
1015
1009
|
invoiceNumber: string;
|
|
1016
1010
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1017
1011
|
convertedFromInvoiceId: string | null;
|
|
1018
1012
|
seriesId: string | null;
|
|
1019
1013
|
sequence: number | null;
|
|
1014
|
+
templateId: string | null;
|
|
1015
|
+
taxRegimeId: string | null;
|
|
1020
1016
|
language: string | null;
|
|
1021
|
-
|
|
1022
|
-
|
|
1017
|
+
bookingId: string;
|
|
1018
|
+
currency: string;
|
|
1023
1019
|
baseCurrency: string | null;
|
|
1024
1020
|
fxRateSetId: string | null;
|
|
1021
|
+
subtotalCents: number;
|
|
1025
1022
|
baseSubtotalCents: number | null;
|
|
1023
|
+
taxCents: number;
|
|
1026
1024
|
baseTaxCents: number | null;
|
|
1025
|
+
totalCents: number;
|
|
1027
1026
|
baseTotalCents: number | null;
|
|
1028
1027
|
paidCents: number;
|
|
1029
1028
|
basePaidCents: number | null;
|
|
@@ -1032,56 +1031,57 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1032
1031
|
commissionPercent: number | null;
|
|
1033
1032
|
commissionAmountCents: number | null;
|
|
1034
1033
|
issueDate: string;
|
|
1034
|
+
dueDate: string;
|
|
1035
1035
|
voidedAt: string | null;
|
|
1036
1036
|
voidReason: string | null;
|
|
1037
1037
|
} | null;
|
|
1038
1038
|
paymentSession: {
|
|
1039
|
-
currency: string;
|
|
1040
1039
|
id: string;
|
|
1040
|
+
status: "failed" | "expired" | "cancelled" | "pending" | "processing" | "paid" | "requires_redirect" | "authorized";
|
|
1041
|
+
idempotencyKey: string | null;
|
|
1042
|
+
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "flight_order";
|
|
1043
|
+
targetId: string | null;
|
|
1041
1044
|
createdAt: string;
|
|
1042
|
-
|
|
1045
|
+
expiresAt: string | null;
|
|
1046
|
+
provider: string | null;
|
|
1047
|
+
notes: string | null;
|
|
1043
1048
|
metadata: {
|
|
1044
1049
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1045
1050
|
} | null;
|
|
1046
|
-
|
|
1047
|
-
status: "processing" | "failed" | "pending" | "cancelled" | "paid" | "expired" | "authorized" | "requires_redirect";
|
|
1048
|
-
targetType: "other" | "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "flight_order" | "order";
|
|
1049
|
-
targetId: string | null;
|
|
1051
|
+
updatedAt: string;
|
|
1050
1052
|
bookingId: string | null;
|
|
1051
|
-
|
|
1053
|
+
currency: string;
|
|
1052
1054
|
invoiceId: string | null;
|
|
1053
1055
|
amountCents: number;
|
|
1054
|
-
notes: string | null;
|
|
1055
1056
|
bookingPaymentScheduleId: string | null;
|
|
1057
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
1058
|
+
paymentInstrumentId: string | null;
|
|
1059
|
+
orderId: string | null;
|
|
1056
1060
|
bookingGuaranteeId: string | null;
|
|
1057
|
-
|
|
1061
|
+
paymentAuthorizationId: string | null;
|
|
1062
|
+
paymentCaptureId: string | null;
|
|
1063
|
+
paymentId: string | null;
|
|
1064
|
+
providerSessionId: string | null;
|
|
1065
|
+
providerPaymentId: string | null;
|
|
1066
|
+
externalReference: string | null;
|
|
1067
|
+
clientReference: string | null;
|
|
1058
1068
|
payerPersonId: string | null;
|
|
1059
1069
|
payerOrganizationId: string | null;
|
|
1060
1070
|
payerEmail: string | null;
|
|
1061
1071
|
payerName: string | null;
|
|
1062
|
-
|
|
1063
|
-
clientReference: string | null;
|
|
1072
|
+
redirectUrl: string | null;
|
|
1064
1073
|
returnUrl: string | null;
|
|
1065
1074
|
cancelUrl: string | null;
|
|
1066
1075
|
callbackUrl: string | null;
|
|
1067
|
-
expiresAt: string | null;
|
|
1068
|
-
providerPayload: {
|
|
1069
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1070
|
-
} | null;
|
|
1071
|
-
orderId: string | null;
|
|
1072
|
-
paymentInstrumentId: string | null;
|
|
1073
|
-
paymentAuthorizationId: string | null;
|
|
1074
|
-
paymentCaptureId: string | null;
|
|
1075
|
-
paymentId: string | null;
|
|
1076
|
-
providerSessionId: string | null;
|
|
1077
|
-
providerPaymentId: string | null;
|
|
1078
|
-
redirectUrl: string | null;
|
|
1079
1076
|
completedAt: string | null;
|
|
1080
1077
|
failedAt: string | null;
|
|
1081
1078
|
cancelledAt: string | null;
|
|
1082
1079
|
expiredAt: string | null;
|
|
1083
1080
|
failureCode: string | null;
|
|
1084
1081
|
failureMessage: string | null;
|
|
1082
|
+
providerPayload: {
|
|
1083
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1084
|
+
} | null;
|
|
1085
1085
|
} | null;
|
|
1086
1086
|
invoiceNotification: {
|
|
1087
1087
|
id: string;
|