@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.
- package/README.md +23 -9
- package/dist/action-ledger-drift.d.ts.map +1 -0
- package/dist/booking-lifecycle.d.ts.map +1 -0
- package/dist/booking-schedule/subscriber-runtime.d.ts.map +1 -0
- package/dist/booking-tax.d.ts +31 -19
- package/dist/booking-tax.d.ts.map +1 -0
- package/dist/booking-tax.js +48 -15
- package/dist/card-payment.d.ts.map +1 -0
- package/dist/checkout-routes.d.ts +294 -294
- package/dist/checkout-routes.d.ts.map +1 -0
- package/dist/checkout-service-plan.d.ts +2 -2
- package/dist/checkout-service-plan.d.ts.map +1 -0
- package/dist/checkout-service.d.ts.map +1 -0
- package/dist/checkout-validation.d.ts.map +1 -0
- package/dist/document-download.d.ts.map +1 -0
- package/dist/fx-money.d.ts.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -3
- package/dist/invoice-fx.d.ts.map +1 -0
- package/dist/invoice-number-errors.d.ts.map +1 -0
- package/dist/linkables.d.ts.map +1 -0
- package/dist/markets-ref.d.ts.map +1 -0
- package/dist/mcp-runtime.d.ts.map +1 -0
- package/dist/order-payment-sessions.d.ts.map +1 -0
- package/dist/payment-adapter-events.d.ts +3 -3
- package/dist/payment-link.d.ts.map +1 -0
- package/dist/payment-policy-cascade.d.ts.map +1 -0
- package/dist/payment-policy.d.ts.map +1 -0
- package/dist/payment-schedule/routes.d.ts +2 -2
- package/dist/payment-schedule/routes.d.ts.map +1 -0
- package/dist/route-runtime.d.ts.map +1 -0
- package/dist/routes-action-ledger.d.ts +25 -25
- package/dist/routes-action-ledger.d.ts.map +1 -0
- package/dist/routes-booking-billing.d.ts +95 -95
- package/dist/routes-booking-billing.d.ts.map +1 -0
- package/dist/routes-booking-create.d.ts.map +1 -0
- package/dist/routes-booking-reads.d.ts +13 -13
- package/dist/routes-booking-reads.d.ts.map +1 -0
- package/dist/routes-documents.d.ts +11 -11
- package/dist/routes-documents.d.ts.map +1 -0
- package/dist/routes-invoice-core.d.ts +87 -87
- package/dist/routes-invoice-core.d.ts.map +1 -0
- package/dist/routes-invoice-documents.d.ts +16 -16
- package/dist/routes-invoice-documents.d.ts.map +1 -0
- package/dist/routes-invoice-issue.d.ts.map +1 -0
- package/dist/routes-invoice-schemas.d.ts +20 -20
- package/dist/routes-invoice-schemas.d.ts.map +1 -0
- package/dist/routes-payment-processing.d.ts +152 -152
- package/dist/routes-payment-processing.d.ts.map +1 -0
- package/dist/routes-payment-schemas.d.ts +17 -17
- package/dist/routes-payment-schemas.d.ts.map +1 -0
- package/dist/routes-payments.d.ts +64 -64
- package/dist/routes-payments.d.ts.map +1 -0
- package/dist/routes-public-accountant.d.ts +19 -19
- package/dist/routes-public.d.ts +102 -102
- package/dist/routes-public.d.ts.map +1 -0
- package/dist/routes-reference-data.d.ts +33 -33
- package/dist/routes-reference-data.d.ts.map +1 -0
- package/dist/routes-reports.d.ts +11 -11
- package/dist/routes-reports.d.ts.map +1 -0
- package/dist/routes-runtime.d.ts +1 -1
- package/dist/routes-runtime.d.ts.map +1 -0
- package/dist/routes-settlement.d.ts +12 -12
- package/dist/routes-settlement.d.ts.map +1 -0
- package/dist/routes-shared.d.ts.map +1 -0
- package/dist/routes-supplier-invoices.d.ts +75 -75
- package/dist/routes-supplier-invoices.d.ts.map +1 -0
- package/dist/routes-travel-credits.d.ts +4 -4
- package/dist/routes-vouchers.d.ts +401 -0
- package/dist/routes-vouchers.d.ts.map +1 -0
- package/dist/routes-vouchers.js +176 -0
- package/dist/routes.d.ts +477 -477
- package/dist/routes.d.ts.map +1 -0
- package/dist/runtime-contributor.d.ts.map +1 -0
- package/dist/runtime-port.d.ts +20 -24
- package/dist/runtime-port.d.ts.map +1 -0
- package/dist/runtime-port.js +10 -11
- package/dist/runtime.d.ts.map +1 -0
- package/dist/schema/booking-billing.d.ts +5 -5
- package/dist/schema/booking-billing.d.ts.map +1 -0
- package/dist/schema/enums.d.ts.map +1 -0
- package/dist/schema/invoice-documents.d.ts +1 -1
- package/dist/schema/invoice-documents.d.ts.map +1 -0
- package/dist/schema/payment-instruments.d.ts +1 -1
- package/dist/schema/payment-instruments.d.ts.map +1 -0
- package/dist/schema/payment-processing.d.ts +3 -3
- package/dist/schema/payment-processing.d.ts.map +1 -0
- package/dist/schema/payment-sessions.d.ts +3 -3
- package/dist/schema/payment-sessions.d.ts.map +1 -0
- package/dist/schema/receivables.d.ts +3 -3
- package/dist/schema/receivables.d.ts.map +1 -0
- package/dist/schema/relations.d.ts.map +1 -0
- package/dist/schema/supplier-invoices.d.ts +5 -5
- package/dist/schema/supplier-invoices.d.ts.map +1 -0
- package/dist/schema/tax.d.ts +1 -1
- package/dist/schema/tax.d.ts.map +1 -0
- package/dist/schema/vouchers.d.ts +444 -0
- package/dist/schema/vouchers.d.ts.map +1 -0
- package/dist/schema/vouchers.js +64 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/service-accountant-shares.d.ts.map +1 -0
- package/dist/service-action-ledger-accounting.d.ts.map +1 -0
- package/dist/service-action-ledger-booking-payments.d.ts.map +1 -0
- package/dist/service-action-ledger-bookings.d.ts.map +1 -0
- package/dist/service-action-ledger-payment-authorizations.d.ts.map +1 -0
- package/dist/service-action-ledger-payment-sessions.d.ts.map +1 -0
- package/dist/service-action-ledger-supplier-invoices.d.ts.map +1 -0
- package/dist/service-action-ledger-supplier-payments.d.ts.map +1 -0
- package/dist/service-action-ledger.d.ts.map +1 -0
- package/dist/service-aggregates.d.ts.map +1 -0
- package/dist/service-booking-billing.d.ts +111 -111
- package/dist/service-booking-billing.d.ts.map +1 -0
- package/dist/service-booking-create.d.ts +11 -11
- package/dist/service-booking-create.d.ts.map +1 -0
- package/dist/service-booking-guarantees.d.ts +34 -34
- package/dist/service-booking-guarantees.d.ts.map +1 -0
- package/dist/service-booking-item-billing.d.ts +21 -21
- package/dist/service-booking-item-billing.d.ts.map +1 -0
- package/dist/service-booking-payment-schedules.d.ts +56 -56
- package/dist/service-booking-payment-schedules.d.ts.map +1 -0
- package/dist/service-bookings-dual-create.d.ts +22 -22
- package/dist/service-bookings-dual-create.d.ts.map +1 -0
- package/dist/service-boundary-sql.d.ts.map +1 -0
- package/dist/service-cost-categories.d.ts.map +1 -0
- package/dist/service-documents.d.ts.map +1 -0
- package/dist/service-invoice-artifacts.d.ts +24 -24
- package/dist/service-invoice-artifacts.d.ts.map +1 -0
- package/dist/service-invoice-core.d.ts +28 -28
- package/dist/service-invoice-core.d.ts.map +1 -0
- package/dist/service-invoice-credit-notes.d.ts +10 -10
- package/dist/service-invoice-credit-notes.d.ts.map +1 -0
- package/dist/service-invoice-from-booking.d.ts +19 -19
- package/dist/service-invoice-from-booking.d.ts.map +1 -0
- package/dist/service-invoice-line-items.d.ts +10 -10
- package/dist/service-invoice-line-items.d.ts.map +1 -0
- package/dist/service-invoice-numbering.d.ts +28 -28
- package/dist/service-invoice-numbering.d.ts.map +1 -0
- package/dist/service-invoice-payments.d.ts +20 -20
- package/dist/service-invoice-payments.d.ts.map +1 -0
- package/dist/service-invoices.d.ts +87 -87
- package/dist/service-invoices.d.ts.map +1 -0
- package/dist/service-issue.d.ts +38 -38
- package/dist/service-issue.d.ts.map +1 -0
- package/dist/service-payment-authorizations.d.ts +26 -26
- package/dist/service-payment-authorizations.d.ts.map +1 -0
- package/dist/service-payment-instruments.d.ts +10 -10
- package/dist/service-payment-instruments.d.ts.map +1 -0
- package/dist/service-payment-processing.d.ts +77 -77
- package/dist/service-payment-processing.d.ts.map +1 -0
- package/dist/service-payment-session-completion.d.ts +3 -3
- package/dist/service-payment-session-completion.d.ts.map +1 -0
- package/dist/service-payment-sessions.d.ts +38 -38
- package/dist/service-payment-sessions.d.ts.map +1 -0
- package/dist/service-profitability.d.ts.map +1 -0
- package/dist/service-public.d.ts +16 -16
- package/dist/service-public.d.ts.map +1 -0
- package/dist/service-reference-data.d.ts +23 -23
- package/dist/service-reference-data.d.ts.map +1 -0
- package/dist/service-rendition-wait.d.ts +1 -1
- package/dist/service-rendition-wait.d.ts.map +1 -0
- package/dist/service-reports.d.ts.map +1 -0
- package/dist/service-settlement.d.ts.map +1 -0
- package/dist/service-shared.d.ts +4 -4
- package/dist/service-shared.d.ts.map +1 -0
- package/dist/service-supplier-invoices.d.ts +20 -20
- package/dist/service-supplier-invoices.d.ts.map +1 -0
- package/dist/service-supplier-payments.d.ts +16 -16
- package/dist/service-supplier-payments.d.ts.map +1 -0
- package/dist/service-travel-credits.d.ts +10 -10
- package/dist/service-vouchers-migration.d.ts +51 -0
- package/dist/service-vouchers-migration.d.ts.map +1 -0
- package/dist/service-vouchers-migration.js +154 -0
- package/dist/service-vouchers.d.ts +157 -0
- package/dist/service-vouchers.d.ts.map +1 -0
- package/dist/service-vouchers.js +191 -0
- package/dist/service.d.ts +376 -376
- package/dist/service.d.ts.map +1 -0
- package/dist/stale-booking-holds-runtime.d.ts.map +1 -0
- package/dist/tools.d.ts +21 -21
- package/dist/tools.d.ts.map +1 -0
- package/dist/validation-billing.d.ts.map +1 -0
- package/dist/validation-payments.d.ts.map +1 -0
- package/dist/validation-public.d.ts.map +1 -0
- package/dist/validation-shared.d.ts.map +1 -0
- package/dist/validation-vouchers.d.ts +2 -0
- package/dist/validation-vouchers.d.ts.map +1 -0
- package/dist/validation-vouchers.js +1 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/voyant.d.ts +2 -1
- package/dist/voyant.d.ts.map +1 -0
- package/dist/voyant.js +43 -7
- package/openapi/admin/booking-tax-preview.json +33 -0
- package/openapi/admin/{booking-tax.json → booking-tax-settings.json} +7 -32
- package/package.json +205 -170
- package/LICENSE +0 -201
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes-payment-processing.d.ts","sourceRoot":"","sources":["../src/routes-payment-processing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAAe,WAAW,EAAK,MAAM,mBAAmB,CAAA;AAe/D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAgzB7C,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAMR,CAAA"}
|
|
@@ -55,20 +55,20 @@ export declare const supplierPaymentSchema: z.ZodObject<{
|
|
|
55
55
|
baseAmountCents: z.ZodNullable<z.ZodNumber>;
|
|
56
56
|
fxRateSetId: z.ZodNullable<z.ZodString>;
|
|
57
57
|
paymentMethod: z.ZodEnum<{
|
|
58
|
-
|
|
58
|
+
other: "other";
|
|
59
59
|
credit_card: "credit_card";
|
|
60
|
+
bank_transfer: "bank_transfer";
|
|
60
61
|
debit_card: "debit_card";
|
|
61
|
-
cash: "cash";
|
|
62
|
-
cheque: "cheque";
|
|
63
62
|
wallet: "wallet";
|
|
64
|
-
direct_bill: "direct_bill";
|
|
65
63
|
travel_credit: "travel_credit";
|
|
66
|
-
|
|
64
|
+
direct_bill: "direct_bill";
|
|
65
|
+
cash: "cash";
|
|
66
|
+
cheque: "cheque";
|
|
67
67
|
}>;
|
|
68
68
|
paymentInstrumentId: z.ZodNullable<z.ZodString>;
|
|
69
69
|
status: z.ZodEnum<{
|
|
70
|
-
pending: "pending";
|
|
71
70
|
completed: "completed";
|
|
71
|
+
pending: "pending";
|
|
72
72
|
failed: "failed";
|
|
73
73
|
refunded: "refunded";
|
|
74
74
|
}>;
|
|
@@ -93,14 +93,14 @@ export declare const paymentInstrumentSchema: z.ZodObject<{
|
|
|
93
93
|
supplierId: z.ZodNullable<z.ZodString>;
|
|
94
94
|
channelId: z.ZodNullable<z.ZodString>;
|
|
95
95
|
instrumentType: z.ZodEnum<{
|
|
96
|
+
other: "other";
|
|
96
97
|
credit_card: "credit_card";
|
|
97
98
|
debit_card: "debit_card";
|
|
98
|
-
|
|
99
|
+
bank_account: "bank_account";
|
|
99
100
|
wallet: "wallet";
|
|
100
|
-
direct_bill: "direct_bill";
|
|
101
101
|
travel_credit: "travel_credit";
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
direct_bill: "direct_bill";
|
|
103
|
+
cash: "cash";
|
|
104
104
|
}>;
|
|
105
105
|
status: z.ZodEnum<{
|
|
106
106
|
expired: "expired";
|
|
@@ -134,17 +134,17 @@ export declare const paymentAuthorizationSchema: z.ZodObject<{
|
|
|
134
134
|
bookingGuaranteeId: z.ZodNullable<z.ZodString>;
|
|
135
135
|
paymentInstrumentId: z.ZodNullable<z.ZodString>;
|
|
136
136
|
status: z.ZodEnum<{
|
|
137
|
+
expired: "expired";
|
|
137
138
|
pending: "pending";
|
|
138
139
|
failed: "failed";
|
|
139
140
|
authorized: "authorized";
|
|
140
|
-
expired: "expired";
|
|
141
141
|
partially_captured: "partially_captured";
|
|
142
142
|
captured: "captured";
|
|
143
143
|
voided: "voided";
|
|
144
144
|
}>;
|
|
145
145
|
captureMode: z.ZodEnum<{
|
|
146
|
-
automatic: "automatic";
|
|
147
146
|
manual: "manual";
|
|
147
|
+
automatic: "automatic";
|
|
148
148
|
}>;
|
|
149
149
|
currency: z.ZodString;
|
|
150
150
|
amountCents: z.ZodNumber;
|
|
@@ -163,11 +163,11 @@ export declare const paymentCaptureSchema: z.ZodObject<{
|
|
|
163
163
|
paymentAuthorizationId: z.ZodNullable<z.ZodString>;
|
|
164
164
|
invoiceId: z.ZodNullable<z.ZodString>;
|
|
165
165
|
status: z.ZodEnum<{
|
|
166
|
-
pending: "pending";
|
|
167
166
|
completed: "completed";
|
|
167
|
+
pending: "pending";
|
|
168
168
|
failed: "failed";
|
|
169
|
-
refunded: "refunded";
|
|
170
169
|
voided: "voided";
|
|
170
|
+
refunded: "refunded";
|
|
171
171
|
}>;
|
|
172
172
|
currency: z.ZodString;
|
|
173
173
|
amountCents: z.ZodNumber;
|
|
@@ -184,8 +184,8 @@ export declare const travelCreditSchema: z.ZodObject<{
|
|
|
184
184
|
code: z.ZodString;
|
|
185
185
|
seriesCode: z.ZodNullable<z.ZodString>;
|
|
186
186
|
status: z.ZodEnum<{
|
|
187
|
-
void: "void";
|
|
188
187
|
expired: "expired";
|
|
188
|
+
void: "void";
|
|
189
189
|
active: "active";
|
|
190
190
|
redeemed: "redeemed";
|
|
191
191
|
}>;
|
|
@@ -226,8 +226,8 @@ export declare const travelCreditDetailSchema: z.ZodObject<{
|
|
|
226
226
|
code: z.ZodString;
|
|
227
227
|
seriesCode: z.ZodNullable<z.ZodString>;
|
|
228
228
|
status: z.ZodEnum<{
|
|
229
|
-
void: "void";
|
|
230
229
|
expired: "expired";
|
|
230
|
+
void: "void";
|
|
231
231
|
active: "active";
|
|
232
232
|
redeemed: "redeemed";
|
|
233
233
|
}>;
|
|
@@ -270,8 +270,8 @@ export declare const travelCreditRedeemResultSchema: z.ZodObject<{
|
|
|
270
270
|
code: z.ZodString;
|
|
271
271
|
seriesCode: z.ZodNullable<z.ZodString>;
|
|
272
272
|
status: z.ZodEnum<{
|
|
273
|
-
void: "void";
|
|
274
273
|
expired: "expired";
|
|
274
|
+
void: "void";
|
|
275
275
|
active: "active";
|
|
276
276
|
redeemed: "redeemed";
|
|
277
277
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes-payment-schemas.d.ts","sourceRoot":"","sources":["../src/routes-payment-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAA;AA2ErC,+FAA+F;AAC/F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB/B,CAAA;AAIF,wDAAwD;AACxD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBhC,CAAA;AAIF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyBlC,CAAA;AAIF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoBrC,CAAA;AAIF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;iBAc/B,CAAA;AAIF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBxB,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;iBAQlC,CAAA;AAEF,mFAAmF;AACnF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGpC,CAAA"}
|
|
@@ -23,12 +23,12 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
23
23
|
bookingId?: string | undefined;
|
|
24
24
|
supplierInvoiceId?: string | undefined;
|
|
25
25
|
supplierId?: string | undefined;
|
|
26
|
-
status?: "pending" | "
|
|
27
|
-
paymentMethod?: "
|
|
26
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
27
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
28
28
|
currency?: string | undefined;
|
|
29
29
|
paymentDateFrom?: string | undefined;
|
|
30
30
|
paymentDateTo?: string | undefined;
|
|
31
|
-
sortBy?: "status" | "
|
|
31
|
+
sortBy?: "status" | "amountCents" | "paymentDate" | "createdAt" | undefined;
|
|
32
32
|
sortDir?: "asc" | "desc" | undefined;
|
|
33
33
|
limit?: unknown;
|
|
34
34
|
offset?: unknown;
|
|
@@ -46,9 +46,9 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
46
46
|
baseCurrency: string | null;
|
|
47
47
|
baseAmountCents: number | null;
|
|
48
48
|
fxRateSetId: string | null;
|
|
49
|
-
paymentMethod: "
|
|
49
|
+
paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
|
|
50
50
|
paymentInstrumentId: string | null;
|
|
51
|
-
status: "pending" | "
|
|
51
|
+
status: "pending" | "failed" | "completed" | "refunded";
|
|
52
52
|
referenceNumber: string | null;
|
|
53
53
|
paymentDate: string;
|
|
54
54
|
notes: string | null;
|
|
@@ -70,7 +70,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
70
70
|
json: {
|
|
71
71
|
amountCents: number;
|
|
72
72
|
currency: string;
|
|
73
|
-
paymentMethod: "
|
|
73
|
+
paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
|
|
74
74
|
paymentDate: string;
|
|
75
75
|
bookingId?: string | null | undefined;
|
|
76
76
|
supplierInvoiceId?: string | null | undefined;
|
|
@@ -80,7 +80,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
80
80
|
baseAmountCents?: number | null | undefined;
|
|
81
81
|
fxRateSetId?: string | null | undefined;
|
|
82
82
|
paymentInstrumentId?: string | null | undefined;
|
|
83
|
-
status?: "pending" | "
|
|
83
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
84
84
|
referenceNumber?: string | null | undefined;
|
|
85
85
|
notes?: string | null | undefined;
|
|
86
86
|
};
|
|
@@ -95,7 +95,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
95
95
|
json: {
|
|
96
96
|
amountCents: number;
|
|
97
97
|
currency: string;
|
|
98
|
-
paymentMethod: "
|
|
98
|
+
paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
|
|
99
99
|
paymentDate: string;
|
|
100
100
|
bookingId?: string | null | undefined;
|
|
101
101
|
supplierInvoiceId?: string | null | undefined;
|
|
@@ -105,7 +105,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
105
105
|
baseAmountCents?: number | null | undefined;
|
|
106
106
|
fxRateSetId?: string | null | undefined;
|
|
107
107
|
paymentInstrumentId?: string | null | undefined;
|
|
108
|
-
status?: "pending" | "
|
|
108
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
109
109
|
referenceNumber?: string | null | undefined;
|
|
110
110
|
notes?: string | null | undefined;
|
|
111
111
|
};
|
|
@@ -122,9 +122,9 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
122
122
|
baseCurrency: string | null;
|
|
123
123
|
baseAmountCents: number | null;
|
|
124
124
|
fxRateSetId: string | null;
|
|
125
|
-
paymentMethod: "
|
|
125
|
+
paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
|
|
126
126
|
paymentInstrumentId: string | null;
|
|
127
|
-
status: "pending" | "
|
|
127
|
+
status: "pending" | "failed" | "completed" | "refunded";
|
|
128
128
|
referenceNumber: string | null;
|
|
129
129
|
paymentDate: string;
|
|
130
130
|
notes: string | null;
|
|
@@ -139,7 +139,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
139
139
|
json: {
|
|
140
140
|
amountCents: number;
|
|
141
141
|
currency: string;
|
|
142
|
-
paymentMethod: "
|
|
142
|
+
paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
|
|
143
143
|
paymentDate: string;
|
|
144
144
|
bookingId?: string | null | undefined;
|
|
145
145
|
supplierInvoiceId?: string | null | undefined;
|
|
@@ -149,7 +149,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
149
149
|
baseAmountCents?: number | null | undefined;
|
|
150
150
|
fxRateSetId?: string | null | undefined;
|
|
151
151
|
paymentInstrumentId?: string | null | undefined;
|
|
152
|
-
status?: "pending" | "
|
|
152
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
153
153
|
referenceNumber?: string | null | undefined;
|
|
154
154
|
notes?: string | null | undefined;
|
|
155
155
|
};
|
|
@@ -180,9 +180,9 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
180
180
|
baseCurrency?: string | null | undefined;
|
|
181
181
|
baseAmountCents?: number | null | undefined;
|
|
182
182
|
fxRateSetId?: string | null | undefined;
|
|
183
|
-
paymentMethod?: "
|
|
183
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
184
184
|
paymentInstrumentId?: string | null | undefined;
|
|
185
|
-
status?: "pending" | "
|
|
185
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
186
186
|
referenceNumber?: string | null | undefined;
|
|
187
187
|
paymentDate?: string | undefined;
|
|
188
188
|
notes?: string | null | undefined;
|
|
@@ -192,7 +192,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
192
192
|
error: string;
|
|
193
193
|
};
|
|
194
194
|
outputFormat: "json";
|
|
195
|
-
status:
|
|
195
|
+
status: 400;
|
|
196
196
|
} | {
|
|
197
197
|
input: {
|
|
198
198
|
param: {
|
|
@@ -209,9 +209,9 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
209
209
|
baseCurrency?: string | null | undefined;
|
|
210
210
|
baseAmountCents?: number | null | undefined;
|
|
211
211
|
fxRateSetId?: string | null | undefined;
|
|
212
|
-
paymentMethod?: "
|
|
212
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
213
213
|
paymentInstrumentId?: string | null | undefined;
|
|
214
|
-
status?: "pending" | "
|
|
214
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
215
215
|
referenceNumber?: string | null | undefined;
|
|
216
216
|
paymentDate?: string | undefined;
|
|
217
217
|
notes?: string | null | undefined;
|
|
@@ -221,7 +221,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
221
221
|
error: string;
|
|
222
222
|
};
|
|
223
223
|
outputFormat: "json";
|
|
224
|
-
status:
|
|
224
|
+
status: 404;
|
|
225
225
|
} | {
|
|
226
226
|
input: {
|
|
227
227
|
param: {
|
|
@@ -238,9 +238,9 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
238
238
|
baseCurrency?: string | null | undefined;
|
|
239
239
|
baseAmountCents?: number | null | undefined;
|
|
240
240
|
fxRateSetId?: string | null | undefined;
|
|
241
|
-
paymentMethod?: "
|
|
241
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
242
242
|
paymentInstrumentId?: string | null | undefined;
|
|
243
|
-
status?: "pending" | "
|
|
243
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
244
244
|
referenceNumber?: string | null | undefined;
|
|
245
245
|
paymentDate?: string | undefined;
|
|
246
246
|
notes?: string | null | undefined;
|
|
@@ -268,9 +268,9 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
268
268
|
baseCurrency?: string | null | undefined;
|
|
269
269
|
baseAmountCents?: number | null | undefined;
|
|
270
270
|
fxRateSetId?: string | null | undefined;
|
|
271
|
-
paymentMethod?: "
|
|
271
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
272
272
|
paymentInstrumentId?: string | null | undefined;
|
|
273
|
-
status?: "pending" | "
|
|
273
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
274
274
|
referenceNumber?: string | null | undefined;
|
|
275
275
|
paymentDate?: string | undefined;
|
|
276
276
|
notes?: string | null | undefined;
|
|
@@ -288,9 +288,9 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
288
288
|
baseCurrency: string | null;
|
|
289
289
|
baseAmountCents: number | null;
|
|
290
290
|
fxRateSetId: string | null;
|
|
291
|
-
paymentMethod: "
|
|
291
|
+
paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
|
|
292
292
|
paymentInstrumentId: string | null;
|
|
293
|
-
status: "pending" | "
|
|
293
|
+
status: "pending" | "failed" | "completed" | "refunded";
|
|
294
294
|
referenceNumber: string | null;
|
|
295
295
|
paymentDate: string;
|
|
296
296
|
notes: string | null;
|
|
@@ -308,8 +308,8 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
308
308
|
input: {
|
|
309
309
|
query: {
|
|
310
310
|
kind?: "supplier" | "customer" | undefined;
|
|
311
|
-
status?: "pending" | "
|
|
312
|
-
paymentMethod?: "
|
|
311
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
312
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
313
313
|
currency?: string | undefined;
|
|
314
314
|
invoiceId?: string | undefined;
|
|
315
315
|
bookingId?: string | undefined;
|
|
@@ -317,7 +317,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
317
317
|
paymentDateFrom?: string | undefined;
|
|
318
318
|
paymentDateTo?: string | undefined;
|
|
319
319
|
search?: string | undefined;
|
|
320
|
-
sortBy?: "status" | "
|
|
320
|
+
sortBy?: "status" | "amountCents" | "paymentDate" | "createdAt" | undefined;
|
|
321
321
|
sortDir?: "asc" | "desc" | undefined;
|
|
322
322
|
limit?: unknown;
|
|
323
323
|
offset?: unknown;
|
|
@@ -421,11 +421,11 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
421
421
|
baseCurrency?: string | null | undefined;
|
|
422
422
|
baseAmountCents?: number | null | undefined;
|
|
423
423
|
fxRateSetId?: string | null | undefined;
|
|
424
|
-
paymentMethod?: "
|
|
424
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
425
425
|
paymentInstrumentId?: string | null | undefined;
|
|
426
426
|
paymentAuthorizationId?: string | null | undefined;
|
|
427
427
|
paymentCaptureId?: string | null | undefined;
|
|
428
|
-
status?: "pending" | "
|
|
428
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
429
429
|
referenceNumber?: string | null | undefined;
|
|
430
430
|
paymentDate?: string | undefined;
|
|
431
431
|
notes?: string | null | undefined;
|
|
@@ -435,7 +435,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
435
435
|
error: string;
|
|
436
436
|
};
|
|
437
437
|
outputFormat: "json";
|
|
438
|
-
status:
|
|
438
|
+
status: 400;
|
|
439
439
|
} | {
|
|
440
440
|
input: {
|
|
441
441
|
param: {
|
|
@@ -448,11 +448,11 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
448
448
|
baseCurrency?: string | null | undefined;
|
|
449
449
|
baseAmountCents?: number | null | undefined;
|
|
450
450
|
fxRateSetId?: string | null | undefined;
|
|
451
|
-
paymentMethod?: "
|
|
451
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
452
452
|
paymentInstrumentId?: string | null | undefined;
|
|
453
453
|
paymentAuthorizationId?: string | null | undefined;
|
|
454
454
|
paymentCaptureId?: string | null | undefined;
|
|
455
|
-
status?: "pending" | "
|
|
455
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
456
456
|
referenceNumber?: string | null | undefined;
|
|
457
457
|
paymentDate?: string | undefined;
|
|
458
458
|
notes?: string | null | undefined;
|
|
@@ -462,7 +462,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
462
462
|
error: string;
|
|
463
463
|
};
|
|
464
464
|
outputFormat: "json";
|
|
465
|
-
status:
|
|
465
|
+
status: 404;
|
|
466
466
|
} | {
|
|
467
467
|
input: {
|
|
468
468
|
param: {
|
|
@@ -475,21 +475,39 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
475
475
|
baseCurrency?: string | null | undefined;
|
|
476
476
|
baseAmountCents?: number | null | undefined;
|
|
477
477
|
fxRateSetId?: string | null | undefined;
|
|
478
|
-
paymentMethod?: "
|
|
478
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
479
479
|
paymentInstrumentId?: string | null | undefined;
|
|
480
480
|
paymentAuthorizationId?: string | null | undefined;
|
|
481
481
|
paymentCaptureId?: string | null | undefined;
|
|
482
|
-
status?: "pending" | "
|
|
482
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
483
483
|
referenceNumber?: string | null | undefined;
|
|
484
484
|
paymentDate?: string | undefined;
|
|
485
485
|
notes?: string | null | undefined;
|
|
486
486
|
};
|
|
487
487
|
};
|
|
488
488
|
output: {
|
|
489
|
-
|
|
489
|
+
data: {
|
|
490
|
+
id: string;
|
|
491
|
+
invoiceId: string;
|
|
492
|
+
amountCents: number;
|
|
493
|
+
currency: string;
|
|
494
|
+
baseCurrency: string | null;
|
|
495
|
+
baseAmountCents: number | null;
|
|
496
|
+
fxRateSetId: string | null;
|
|
497
|
+
paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
|
|
498
|
+
paymentInstrumentId: string | null;
|
|
499
|
+
paymentAuthorizationId: string | null;
|
|
500
|
+
paymentCaptureId: string | null;
|
|
501
|
+
status: "pending" | "failed" | "completed" | "refunded";
|
|
502
|
+
referenceNumber: string | null;
|
|
503
|
+
paymentDate: string;
|
|
504
|
+
notes: string | null;
|
|
505
|
+
createdAt: string;
|
|
506
|
+
updatedAt: string;
|
|
507
|
+
};
|
|
490
508
|
};
|
|
491
509
|
outputFormat: "json";
|
|
492
|
-
status:
|
|
510
|
+
status: 200;
|
|
493
511
|
} | {
|
|
494
512
|
input: {
|
|
495
513
|
param: {
|
|
@@ -502,39 +520,21 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
502
520
|
baseCurrency?: string | null | undefined;
|
|
503
521
|
baseAmountCents?: number | null | undefined;
|
|
504
522
|
fxRateSetId?: string | null | undefined;
|
|
505
|
-
paymentMethod?: "
|
|
523
|
+
paymentMethod?: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque" | undefined;
|
|
506
524
|
paymentInstrumentId?: string | null | undefined;
|
|
507
525
|
paymentAuthorizationId?: string | null | undefined;
|
|
508
526
|
paymentCaptureId?: string | null | undefined;
|
|
509
|
-
status?: "pending" | "
|
|
527
|
+
status?: "pending" | "failed" | "completed" | "refunded" | undefined;
|
|
510
528
|
referenceNumber?: string | null | undefined;
|
|
511
529
|
paymentDate?: string | undefined;
|
|
512
530
|
notes?: string | null | undefined;
|
|
513
531
|
};
|
|
514
532
|
};
|
|
515
533
|
output: {
|
|
516
|
-
|
|
517
|
-
id: string;
|
|
518
|
-
invoiceId: string;
|
|
519
|
-
amountCents: number;
|
|
520
|
-
currency: string;
|
|
521
|
-
baseCurrency: string | null;
|
|
522
|
-
baseAmountCents: number | null;
|
|
523
|
-
fxRateSetId: string | null;
|
|
524
|
-
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "travel_credit" | "other";
|
|
525
|
-
paymentInstrumentId: string | null;
|
|
526
|
-
paymentAuthorizationId: string | null;
|
|
527
|
-
paymentCaptureId: string | null;
|
|
528
|
-
status: "pending" | "completed" | "failed" | "refunded";
|
|
529
|
-
referenceNumber: string | null;
|
|
530
|
-
paymentDate: string;
|
|
531
|
-
notes: string | null;
|
|
532
|
-
createdAt: string;
|
|
533
|
-
updatedAt: string;
|
|
534
|
-
};
|
|
534
|
+
error: string;
|
|
535
535
|
};
|
|
536
536
|
outputFormat: "json";
|
|
537
|
-
status:
|
|
537
|
+
status: 409;
|
|
538
538
|
};
|
|
539
539
|
};
|
|
540
540
|
} & {
|
|
@@ -549,7 +549,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
549
549
|
error: string;
|
|
550
550
|
};
|
|
551
551
|
outputFormat: "json";
|
|
552
|
-
status:
|
|
552
|
+
status: 400;
|
|
553
553
|
} | {
|
|
554
554
|
input: {
|
|
555
555
|
param: {
|
|
@@ -560,7 +560,7 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
560
560
|
error: string;
|
|
561
561
|
};
|
|
562
562
|
outputFormat: "json";
|
|
563
|
-
status:
|
|
563
|
+
status: 404;
|
|
564
564
|
} | {
|
|
565
565
|
input: {
|
|
566
566
|
param: {
|
|
@@ -576,11 +576,11 @@ export declare const financePaymentRoutes: OpenAPIHono<Env, import("hono/types")
|
|
|
576
576
|
baseCurrency: string | null;
|
|
577
577
|
baseAmountCents: number | null;
|
|
578
578
|
fxRateSetId: string | null;
|
|
579
|
-
paymentMethod: "
|
|
579
|
+
paymentMethod: "other" | "credit_card" | "debit_card" | "cash" | "wallet" | "direct_bill" | "travel_credit" | "bank_transfer" | "cheque";
|
|
580
580
|
paymentInstrumentId: string | null;
|
|
581
581
|
paymentAuthorizationId: string | null;
|
|
582
582
|
paymentCaptureId: string | null;
|
|
583
|
-
status: "pending" | "
|
|
583
|
+
status: "pending" | "failed" | "completed" | "refunded";
|
|
584
584
|
referenceNumber: string | null;
|
|
585
585
|
paymentDate: string;
|
|
586
586
|
notes: string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes-payments.d.ts","sourceRoot":"","sources":["../src/routes-payments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAe,WAAW,EAAK,MAAM,mBAAmB,CAAA;AAM/D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AA2Q7C,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAEG,CAAA"}
|
|
@@ -5,17 +5,6 @@ export interface PublicAccountantRouteOptions {
|
|
|
5
5
|
export declare function createPublicAccountantRoutes(options?: PublicAccountantRouteOptions): import("hono/hono-base").HonoBase<Env, {
|
|
6
6
|
"/accountant/:token/summary": {
|
|
7
7
|
$get: {
|
|
8
|
-
input: {
|
|
9
|
-
param: {
|
|
10
|
-
token: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
output: {
|
|
14
|
-
error: string;
|
|
15
|
-
};
|
|
16
|
-
outputFormat: "json";
|
|
17
|
-
status: 404;
|
|
18
|
-
} | {
|
|
19
8
|
input: {
|
|
20
9
|
param: {
|
|
21
10
|
token: string;
|
|
@@ -33,6 +22,17 @@ export declare function createPublicAccountantRoutes(options?: PublicAccountantR
|
|
|
33
22
|
};
|
|
34
23
|
outputFormat: "json";
|
|
35
24
|
status: 200;
|
|
25
|
+
} | {
|
|
26
|
+
input: {
|
|
27
|
+
param: {
|
|
28
|
+
token: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
output: {
|
|
32
|
+
error: string;
|
|
33
|
+
};
|
|
34
|
+
outputFormat: "json";
|
|
35
|
+
status: 404;
|
|
36
36
|
} | {
|
|
37
37
|
input: {
|
|
38
38
|
param: {
|
|
@@ -95,9 +95,11 @@ export declare function createPublicAccountantRoutes(options?: PublicAccountantR
|
|
|
95
95
|
token: string;
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
-
output:
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
output: {
|
|
99
|
+
error: string;
|
|
100
|
+
};
|
|
101
|
+
outputFormat: "json";
|
|
102
|
+
status: 404;
|
|
101
103
|
} | {
|
|
102
104
|
input: {
|
|
103
105
|
param: {
|
|
@@ -108,11 +110,9 @@ export declare function createPublicAccountantRoutes(options?: PublicAccountantR
|
|
|
108
110
|
token: string;
|
|
109
111
|
};
|
|
110
112
|
};
|
|
111
|
-
output:
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
outputFormat: "json";
|
|
115
|
-
status: 404;
|
|
113
|
+
output: undefined;
|
|
114
|
+
outputFormat: "redirect";
|
|
115
|
+
status: 302;
|
|
116
116
|
} | {
|
|
117
117
|
input: {
|
|
118
118
|
param: {
|