@voyantjs/finance 0.9.0 → 0.10.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/routes-public.d.ts +4 -4
- package/dist/routes.d.ts +37 -37
- package/dist/schema.d.ts +3 -3
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +14 -2
- package/dist/service-bookings-dual-create.d.ts +0 -2
- package/dist/service-bookings-dual-create.d.ts.map +1 -1
- package/dist/service-bookings-quick-create.d.ts +0 -2
- package/dist/service-bookings-quick-create.d.ts.map +1 -1
- package/dist/service-bookings-quick-create.js +0 -2
- package/dist/service-public.d.ts +2 -2
- package/dist/service-vouchers.d.ts +5 -5
- package/dist/service.d.ts +41 -41
- package/dist/validation-payments.d.ts +5 -5
- package/dist/validation-public.d.ts +2 -2
- package/dist/validation-shared.d.ts +3 -3
- package/dist/validation-vouchers.d.ts +2 -2
- package/package.json +7 -7
package/dist/routes-public.d.ts
CHANGED
|
@@ -262,7 +262,7 @@ export declare function createPublicFinanceRoutes(options?: PublicFinanceRouteOp
|
|
|
262
262
|
label: string;
|
|
263
263
|
provider: string | null;
|
|
264
264
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
265
|
-
status: "
|
|
265
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
266
266
|
brand: string | null;
|
|
267
267
|
last4: string | null;
|
|
268
268
|
expiryMonth: number | null;
|
|
@@ -282,7 +282,7 @@ export declare function createPublicFinanceRoutes(options?: PublicFinanceRouteOp
|
|
|
282
282
|
id: string;
|
|
283
283
|
bookingPaymentScheduleId: string | null;
|
|
284
284
|
guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
|
|
285
|
-
status: "pending" | "
|
|
285
|
+
status: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
286
286
|
currency: string | null;
|
|
287
287
|
amountCents: number | null;
|
|
288
288
|
provider: string | null;
|
|
@@ -814,7 +814,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
814
814
|
label: string;
|
|
815
815
|
provider: string | null;
|
|
816
816
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
817
|
-
status: "
|
|
817
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
818
818
|
brand: string | null;
|
|
819
819
|
last4: string | null;
|
|
820
820
|
expiryMonth: number | null;
|
|
@@ -834,7 +834,7 @@ export declare const publicFinanceRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
834
834
|
id: string;
|
|
835
835
|
bookingPaymentScheduleId: string | null;
|
|
836
836
|
guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
|
|
837
|
-
status: "pending" | "
|
|
837
|
+
status: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
838
838
|
currency: string | null;
|
|
839
839
|
amountCents: number | null;
|
|
840
840
|
provider: string | null;
|
package/dist/routes.d.ts
CHANGED
|
@@ -113,13 +113,14 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
113
113
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
114
114
|
currency: string;
|
|
115
115
|
notes: string | null;
|
|
116
|
+
idempotencyKey: string | null;
|
|
117
|
+
provider: string | null;
|
|
118
|
+
bookingId: string | null;
|
|
116
119
|
expiredAt: string | null;
|
|
117
120
|
cancelledAt: string | null;
|
|
118
121
|
completedAt: string | null;
|
|
119
|
-
bookingId: string | null;
|
|
120
122
|
paymentId: string | null;
|
|
121
123
|
amountCents: number;
|
|
122
|
-
provider: string | null;
|
|
123
124
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
124
125
|
targetId: string | null;
|
|
125
126
|
orderId: string | null;
|
|
@@ -133,7 +134,6 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
133
134
|
providerSessionId: string | null;
|
|
134
135
|
providerPaymentId: string | null;
|
|
135
136
|
externalReference: string | null;
|
|
136
|
-
idempotencyKey: string | null;
|
|
137
137
|
clientReference: string | null;
|
|
138
138
|
payerPersonId: string | null;
|
|
139
139
|
payerOrganizationId: string | null;
|
|
@@ -679,7 +679,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
679
679
|
supplierId: string | null;
|
|
680
680
|
channelId: string | null;
|
|
681
681
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
682
|
-
status: "
|
|
682
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
683
683
|
label: string;
|
|
684
684
|
provider: string | null;
|
|
685
685
|
brand: string | null;
|
|
@@ -717,15 +717,15 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
717
717
|
createdAt: string;
|
|
718
718
|
updatedAt: string;
|
|
719
719
|
organizationId: string | null;
|
|
720
|
-
status: "
|
|
720
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
721
721
|
notes: string | null;
|
|
722
|
+
provider: string | null;
|
|
722
723
|
personId: string | null;
|
|
723
724
|
label: string;
|
|
724
725
|
ownerType: "internal" | "supplier" | "other" | "client" | "channel" | "agency";
|
|
725
726
|
supplierId: string | null;
|
|
726
727
|
channelId: string | null;
|
|
727
728
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
728
|
-
provider: string | null;
|
|
729
729
|
last4: string | null;
|
|
730
730
|
holderName: string | null;
|
|
731
731
|
expiryMonth: number | null;
|
|
@@ -769,7 +769,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
769
769
|
supplierId: string | null;
|
|
770
770
|
channelId: string | null;
|
|
771
771
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
772
|
-
status: "
|
|
772
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
773
773
|
label: string;
|
|
774
774
|
provider: string | null;
|
|
775
775
|
brand: string | null;
|
|
@@ -820,7 +820,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
820
820
|
supplierId: string | null;
|
|
821
821
|
channelId: string | null;
|
|
822
822
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
823
|
-
status: "
|
|
823
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
824
824
|
label: string;
|
|
825
825
|
provider: string | null;
|
|
826
826
|
brand: string | null;
|
|
@@ -916,9 +916,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
916
916
|
status: "pending" | "expired" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
|
|
917
917
|
currency: string;
|
|
918
918
|
notes: string | null;
|
|
919
|
+
provider: string | null;
|
|
919
920
|
bookingId: string | null;
|
|
920
921
|
amountCents: number;
|
|
921
|
-
provider: string | null;
|
|
922
922
|
orderId: string | null;
|
|
923
923
|
invoiceId: string | null;
|
|
924
924
|
paymentInstrumentId: string | null;
|
|
@@ -1092,8 +1092,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1092
1092
|
status: "pending" | "completed" | "failed" | "refunded" | "voided";
|
|
1093
1093
|
currency: string;
|
|
1094
1094
|
notes: string | null;
|
|
1095
|
-
amountCents: number;
|
|
1096
1095
|
provider: string | null;
|
|
1096
|
+
amountCents: number;
|
|
1097
1097
|
invoiceId: string | null;
|
|
1098
1098
|
paymentAuthorizationId: string | null;
|
|
1099
1099
|
externalCaptureId: string | null;
|
|
@@ -1438,13 +1438,14 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1438
1438
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
1439
1439
|
currency: string;
|
|
1440
1440
|
notes: string | null;
|
|
1441
|
+
idempotencyKey: string | null;
|
|
1442
|
+
provider: string | null;
|
|
1443
|
+
bookingId: string | null;
|
|
1441
1444
|
expiredAt: string | null;
|
|
1442
1445
|
cancelledAt: string | null;
|
|
1443
1446
|
completedAt: string | null;
|
|
1444
|
-
bookingId: string | null;
|
|
1445
1447
|
paymentId: string | null;
|
|
1446
1448
|
amountCents: number;
|
|
1447
|
-
provider: string | null;
|
|
1448
1449
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
1449
1450
|
targetId: string | null;
|
|
1450
1451
|
orderId: string | null;
|
|
@@ -1458,7 +1459,6 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1458
1459
|
providerSessionId: string | null;
|
|
1459
1460
|
providerPaymentId: string | null;
|
|
1460
1461
|
externalReference: string | null;
|
|
1461
|
-
idempotencyKey: string | null;
|
|
1462
1462
|
clientReference: string | null;
|
|
1463
1463
|
payerPersonId: string | null;
|
|
1464
1464
|
payerOrganizationId: string | null;
|
|
@@ -1538,7 +1538,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1538
1538
|
bookingPaymentScheduleId: string | null;
|
|
1539
1539
|
bookingItemId: string | null;
|
|
1540
1540
|
guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
|
|
1541
|
-
status: "pending" | "
|
|
1541
|
+
status: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
1542
1542
|
paymentInstrumentId: string | null;
|
|
1543
1543
|
paymentAuthorizationId: string | null;
|
|
1544
1544
|
currency: string | null;
|
|
@@ -1582,14 +1582,14 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1582
1582
|
createdAt: string;
|
|
1583
1583
|
updatedAt: string;
|
|
1584
1584
|
expiresAt: string | null;
|
|
1585
|
-
status: "pending" | "
|
|
1585
|
+
status: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
1586
1586
|
currency: string | null;
|
|
1587
1587
|
notes: string | null;
|
|
1588
|
+
provider: string | null;
|
|
1588
1589
|
bookingId: string;
|
|
1589
1590
|
bookingItemId: string | null;
|
|
1590
1591
|
releasedAt: string | null;
|
|
1591
1592
|
amountCents: number | null;
|
|
1592
|
-
provider: string | null;
|
|
1593
1593
|
bookingPaymentScheduleId: string | null;
|
|
1594
1594
|
guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
|
|
1595
1595
|
paymentInstrumentId: string | null;
|
|
@@ -1637,13 +1637,14 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1637
1637
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
1638
1638
|
currency: string;
|
|
1639
1639
|
notes: string | null;
|
|
1640
|
+
idempotencyKey: string | null;
|
|
1641
|
+
provider: string | null;
|
|
1642
|
+
bookingId: string | null;
|
|
1640
1643
|
expiredAt: string | null;
|
|
1641
1644
|
cancelledAt: string | null;
|
|
1642
1645
|
completedAt: string | null;
|
|
1643
|
-
bookingId: string | null;
|
|
1644
1646
|
paymentId: string | null;
|
|
1645
1647
|
amountCents: number;
|
|
1646
|
-
provider: string | null;
|
|
1647
1648
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
1648
1649
|
targetId: string | null;
|
|
1649
1650
|
orderId: string | null;
|
|
@@ -1657,7 +1658,6 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1657
1658
|
providerSessionId: string | null;
|
|
1658
1659
|
providerPaymentId: string | null;
|
|
1659
1660
|
externalReference: string | null;
|
|
1660
|
-
idempotencyKey: string | null;
|
|
1661
1661
|
clientReference: string | null;
|
|
1662
1662
|
payerPersonId: string | null;
|
|
1663
1663
|
payerOrganizationId: string | null;
|
|
@@ -1722,7 +1722,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1722
1722
|
bookingPaymentScheduleId: string | null;
|
|
1723
1723
|
bookingItemId: string | null;
|
|
1724
1724
|
guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
|
|
1725
|
-
status: "pending" | "
|
|
1725
|
+
status: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
1726
1726
|
paymentInstrumentId: string | null;
|
|
1727
1727
|
paymentAuthorizationId: string | null;
|
|
1728
1728
|
currency: string | null;
|
|
@@ -2107,11 +2107,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2107
2107
|
status: "pending" | "completed" | "failed" | "refunded";
|
|
2108
2108
|
currency: string;
|
|
2109
2109
|
notes: string | null;
|
|
2110
|
-
baseCurrency: string | null;
|
|
2111
2110
|
bookingId: string;
|
|
2111
|
+
baseCurrency: string | null;
|
|
2112
|
+
fxRateSetId: string | null;
|
|
2112
2113
|
amountCents: number;
|
|
2113
2114
|
supplierId: string | null;
|
|
2114
|
-
fxRateSetId: string | null;
|
|
2115
2115
|
paymentInstrumentId: string | null;
|
|
2116
2116
|
referenceNumber: string | null;
|
|
2117
2117
|
baseAmountCents: number | null;
|
|
@@ -2229,9 +2229,10 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2229
2229
|
issueDate: string;
|
|
2230
2230
|
currency: string;
|
|
2231
2231
|
notes: string | null;
|
|
2232
|
+
bookingId: string;
|
|
2232
2233
|
personId: string | null;
|
|
2233
2234
|
baseCurrency: string | null;
|
|
2234
|
-
|
|
2235
|
+
fxRateSetId: string | null;
|
|
2235
2236
|
invoiceNumber: string;
|
|
2236
2237
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
2237
2238
|
seriesId: string | null;
|
|
@@ -2239,7 +2240,6 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2239
2240
|
templateId: string | null;
|
|
2240
2241
|
taxRegimeId: string | null;
|
|
2241
2242
|
language: string | null;
|
|
2242
|
-
fxRateSetId: string | null;
|
|
2243
2243
|
subtotalCents: number;
|
|
2244
2244
|
baseSubtotalCents: number | null;
|
|
2245
2245
|
taxCents: number;
|
|
@@ -2280,9 +2280,10 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2280
2280
|
issueDate: string;
|
|
2281
2281
|
currency: string;
|
|
2282
2282
|
notes: string | null;
|
|
2283
|
+
bookingId: string;
|
|
2283
2284
|
personId: string | null;
|
|
2284
2285
|
baseCurrency: string | null;
|
|
2285
|
-
|
|
2286
|
+
fxRateSetId: string | null;
|
|
2286
2287
|
invoiceNumber: string;
|
|
2287
2288
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
2288
2289
|
seriesId: string | null;
|
|
@@ -2290,7 +2291,6 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2290
2291
|
templateId: string | null;
|
|
2291
2292
|
taxRegimeId: string | null;
|
|
2292
2293
|
language: string | null;
|
|
2293
|
-
fxRateSetId: string | null;
|
|
2294
2294
|
subtotalCents: number;
|
|
2295
2295
|
baseSubtotalCents: number | null;
|
|
2296
2296
|
taxCents: number;
|
|
@@ -2496,13 +2496,14 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2496
2496
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
2497
2497
|
currency: string;
|
|
2498
2498
|
notes: string | null;
|
|
2499
|
+
idempotencyKey: string | null;
|
|
2500
|
+
provider: string | null;
|
|
2501
|
+
bookingId: string | null;
|
|
2499
2502
|
expiredAt: string | null;
|
|
2500
2503
|
cancelledAt: string | null;
|
|
2501
2504
|
completedAt: string | null;
|
|
2502
|
-
bookingId: string | null;
|
|
2503
2505
|
paymentId: string | null;
|
|
2504
2506
|
amountCents: number;
|
|
2505
|
-
provider: string | null;
|
|
2506
2507
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
2507
2508
|
targetId: string | null;
|
|
2508
2509
|
orderId: string | null;
|
|
@@ -2516,7 +2517,6 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2516
2517
|
providerSessionId: string | null;
|
|
2517
2518
|
providerPaymentId: string | null;
|
|
2518
2519
|
externalReference: string | null;
|
|
2519
|
-
idempotencyKey: string | null;
|
|
2520
2520
|
clientReference: string | null;
|
|
2521
2521
|
payerPersonId: string | null;
|
|
2522
2522
|
payerOrganizationId: string | null;
|
|
@@ -2744,8 +2744,8 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2744
2744
|
currency: string;
|
|
2745
2745
|
notes: string | null;
|
|
2746
2746
|
baseCurrency: string | null;
|
|
2747
|
-
amountCents: number;
|
|
2748
2747
|
fxRateSetId: string | null;
|
|
2748
|
+
amountCents: number;
|
|
2749
2749
|
invoiceId: string;
|
|
2750
2750
|
paymentInstrumentId: string | null;
|
|
2751
2751
|
paymentAuthorizationId: string | null;
|
|
@@ -2817,9 +2817,9 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
2817
2817
|
currency: string;
|
|
2818
2818
|
notes: string | null;
|
|
2819
2819
|
baseCurrency: string | null;
|
|
2820
|
+
fxRateSetId: string | null;
|
|
2820
2821
|
reason: string;
|
|
2821
2822
|
amountCents: number;
|
|
2822
|
-
fxRateSetId: string | null;
|
|
2823
2823
|
invoiceId: string;
|
|
2824
2824
|
baseAmountCents: number | null;
|
|
2825
2825
|
creditNoteNumber: string;
|
|
@@ -3231,10 +3231,10 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3231
3231
|
updatedAt: string;
|
|
3232
3232
|
slug: string;
|
|
3233
3233
|
active: boolean;
|
|
3234
|
+
body: string;
|
|
3234
3235
|
language: string;
|
|
3235
3236
|
jurisdiction: string | null;
|
|
3236
3237
|
bodyFormat: "html" | "markdown" | "lexical_json";
|
|
3237
|
-
body: string;
|
|
3238
3238
|
cssStyles: string | null;
|
|
3239
3239
|
isDefault: boolean;
|
|
3240
3240
|
} | null;
|
|
@@ -3677,7 +3677,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3677
3677
|
id: string;
|
|
3678
3678
|
code: string;
|
|
3679
3679
|
seriesCode: string | null;
|
|
3680
|
-
status: "void" | "
|
|
3680
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
3681
3681
|
currency: string;
|
|
3682
3682
|
initialAmountCents: number;
|
|
3683
3683
|
remainingAmountCents: number;
|
|
@@ -3711,7 +3711,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3711
3711
|
createdAt: string;
|
|
3712
3712
|
updatedAt: string;
|
|
3713
3713
|
expiresAt: string | null;
|
|
3714
|
-
status: "void" | "
|
|
3714
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
3715
3715
|
currency: string;
|
|
3716
3716
|
notes: string | null;
|
|
3717
3717
|
code: string;
|
|
@@ -3771,7 +3771,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3771
3771
|
id: string;
|
|
3772
3772
|
code: string;
|
|
3773
3773
|
seriesCode: string | null;
|
|
3774
|
-
status: "void" | "
|
|
3774
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
3775
3775
|
currency: string;
|
|
3776
3776
|
initialAmountCents: number;
|
|
3777
3777
|
remainingAmountCents: number;
|
|
@@ -3816,7 +3816,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3816
3816
|
id: string;
|
|
3817
3817
|
code: string;
|
|
3818
3818
|
seriesCode: string | null;
|
|
3819
|
-
status: "void" | "
|
|
3819
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
3820
3820
|
currency: string;
|
|
3821
3821
|
initialAmountCents: number;
|
|
3822
3822
|
remainingAmountCents: number;
|
|
@@ -3851,7 +3851,7 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
3851
3851
|
id: string;
|
|
3852
3852
|
code: string;
|
|
3853
3853
|
seriesCode: string | null;
|
|
3854
|
-
status: "void" | "
|
|
3854
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
3855
3855
|
currency: string;
|
|
3856
3856
|
initialAmountCents: number;
|
|
3857
3857
|
remainingAmountCents: number;
|
package/dist/schema.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export declare const vouchers: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
87
87
|
tableName: "vouchers";
|
|
88
88
|
dataType: "string";
|
|
89
89
|
columnType: "PgEnumColumn";
|
|
90
|
-
data: "void" | "
|
|
90
|
+
data: "void" | "active" | "expired" | "redeemed";
|
|
91
91
|
driverParam: string;
|
|
92
92
|
notNull: true;
|
|
93
93
|
hasDefault: true;
|
|
@@ -598,7 +598,7 @@ export declare const paymentInstruments: import("drizzle-orm/pg-core").PgTableWi
|
|
|
598
598
|
tableName: "payment_instruments";
|
|
599
599
|
dataType: "string";
|
|
600
600
|
columnType: "PgEnumColumn";
|
|
601
|
-
data: "
|
|
601
|
+
data: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
602
602
|
driverParam: string;
|
|
603
603
|
notNull: true;
|
|
604
604
|
hasDefault: true;
|
|
@@ -2466,7 +2466,7 @@ export declare const bookingGuarantees: import("drizzle-orm/pg-core").PgTableWit
|
|
|
2466
2466
|
tableName: "booking_guarantees";
|
|
2467
2467
|
dataType: "string";
|
|
2468
2468
|
columnType: "PgEnumColumn";
|
|
2469
|
-
data: "pending" | "
|
|
2469
|
+
data: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
2470
2470
|
driverParam: string;
|
|
2471
2471
|
notNull: true;
|
|
2472
2472
|
hasDefault: true;
|
package/dist/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,iBAAiB,sGAO5B,CAAA;AAEF,eAAO,MAAM,iBAAiB,qJAU5B,CAAA;AAEF,eAAO,MAAM,iBAAiB,sFAK5B,CAAA;AAEF,eAAO,MAAM,wBAAwB,8IASnC,CAAA;AAEF,eAAO,MAAM,4BAA4B,iIAOvC,CAAA;AAEF,eAAO,MAAM,yBAAyB,0IASpC,CAAA;AAEF,eAAO,MAAM,8BAA8B,wGAOzC,CAAA;AAEF,eAAO,MAAM,2BAA2B,2GAMtC,CAAA;AAEF,eAAO,MAAM,8BAA8B,kIAQzC,CAAA;AAEF,eAAO,MAAM,wBAAwB,gGAMnC,CAAA;AAEF,eAAO,MAAM,eAAe,+DAAkD,CAAA;AAE9E,eAAO,MAAM,oBAAoB,sEAA+D,CAAA;AAEhG,eAAO,MAAM,uBAAuB,8FAMlC,CAAA;AAEF,eAAO,MAAM,yBAAyB,oGAOpC,CAAA;AAEF,eAAO,MAAM,iBAAiB,mJAS5B,CAAA;AAEF,eAAO,MAAM,mBAAmB,2GAO9B,CAAA;AAEF,eAAO,MAAM,YAAY,4EAA4D,CAAA;AAErF,eAAO,MAAM,2BAA2B,oHAQtC,CAAA;AAEF,eAAO,MAAM,mBAAmB,gFAK9B,CAAA;AAEF,eAAO,MAAM,oBAAoB,yFAM/B,CAAA;AAEF,eAAO,MAAM,eAAe,8EAAiE,CAAA;AAE7F,eAAO,MAAM,8BAA8B,sEAIzC,CAAA;AAEF,eAAO,MAAM,4BAA4B,8EAIvC,CAAA;AAEF,eAAO,MAAM,0BAA0B,sEAKrC,CAAA;AAEF,eAAO,MAAM,0BAA0B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B,CAAA;AAEH,eAAO,MAAM,0BAA0B;;;EAMpC,CAAA;AAEH,eAAO,MAAM,4BAA4B;;EAKtC,CAAA;AAEH,eAAO,MAAM,iBAAiB;;EAE3B,CAAA;AAEH,eAAO,MAAM,2BAA2B;;EAKrC,CAAA;AAEH,eAAO,MAAM,4BAA4B,8DAA6C,CAAA;AACtF,eAAO,MAAM,yBAAyB;;EAEnC,CAAA;AACH,eAAO,MAAM,mBAAmB,oDAAoC,CAAA"}
|
package/dist/schema.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { typeId, typeIdRef } from "@voyantjs/db/lib/typeid-column";
|
|
2
|
-
import { relations } from "drizzle-orm";
|
|
3
|
-
import { boolean, date, index, integer, jsonb, pgEnum, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
2
|
+
import { relations, sql } from "drizzle-orm";
|
|
3
|
+
import { boolean, check, date, index, integer, jsonb, pgEnum, pgTable, text, timestamp, uniqueIndex, } from "drizzle-orm/pg-core";
|
|
4
4
|
// ---------- enums ----------
|
|
5
5
|
export const invoiceStatusEnum = pgEnum("invoice_status", [
|
|
6
6
|
"draft",
|
|
@@ -476,6 +476,7 @@ export const bookingGuarantees = pgTable("booking_guarantees", {
|
|
|
476
476
|
index("idx_booking_guarantees_instrument").on(table.paymentInstrumentId),
|
|
477
477
|
index("idx_booking_guarantees_authorization").on(table.paymentAuthorizationId),
|
|
478
478
|
index("idx_booking_guarantees_status").on(table.status),
|
|
479
|
+
check("ck_booking_guarantees_currency_amount", sql `(${table.currency} IS NULL) = (${table.amountCents} IS NULL)`),
|
|
479
480
|
]);
|
|
480
481
|
// ---------- booking_item_tax_lines ----------
|
|
481
482
|
export const bookingItemTaxLines = pgTable("booking_item_tax_lines", {
|
|
@@ -519,6 +520,7 @@ export const bookingItemCommissions = pgTable("booking_item_commissions", {
|
|
|
519
520
|
index("idx_booking_item_commissions_item_created").on(table.bookingItemId, table.createdAt),
|
|
520
521
|
index("idx_booking_item_commissions_channel").on(table.channelId),
|
|
521
522
|
index("idx_booking_item_commissions_status").on(table.status),
|
|
523
|
+
check("ck_booking_item_commissions_currency_amount", sql `(${table.currency} IS NULL) = (${table.amountCents} IS NULL)`),
|
|
522
524
|
]);
|
|
523
525
|
// ---------- invoices ----------
|
|
524
526
|
export const invoices = pgTable("invoices", {
|
|
@@ -564,6 +566,15 @@ export const invoices = pgTable("invoices", {
|
|
|
564
566
|
index("idx_invoices_fx_rate_set").on(table.fxRateSetId),
|
|
565
567
|
index("idx_invoices_number").on(table.invoiceNumber),
|
|
566
568
|
index("idx_invoices_due_date").on(table.dueDate),
|
|
569
|
+
// base_currency covers every base_*_cents column. If any base amount is
|
|
570
|
+
// present, base_currency must be set so reporting can interpret it.
|
|
571
|
+
check("ck_invoices_base_currency_amounts", sql `(
|
|
572
|
+
${table.baseSubtotalCents} IS NULL
|
|
573
|
+
AND ${table.baseTaxCents} IS NULL
|
|
574
|
+
AND ${table.baseTotalCents} IS NULL
|
|
575
|
+
AND ${table.basePaidCents} IS NULL
|
|
576
|
+
AND ${table.baseBalanceDueCents} IS NULL
|
|
577
|
+
) OR ${table.baseCurrency} IS NOT NULL`),
|
|
567
578
|
]);
|
|
568
579
|
// ---------- invoice_line_items ----------
|
|
569
580
|
export const invoiceLineItems = pgTable("invoice_line_items", {
|
|
@@ -618,6 +629,7 @@ export const payments = pgTable("payments", {
|
|
|
618
629
|
index("idx_payments_capture").on(table.paymentCaptureId),
|
|
619
630
|
index("idx_payments_status").on(table.status),
|
|
620
631
|
index("idx_payments_date").on(table.paymentDate),
|
|
632
|
+
check("ck_payments_base_currency_amount", sql `(${table.baseCurrency} IS NULL) = (${table.baseAmountCents} IS NULL)`),
|
|
621
633
|
]);
|
|
622
634
|
// ---------- credit_notes ----------
|
|
623
635
|
export const creditNotes = pgTable("credit_notes", {
|
|
@@ -30,7 +30,6 @@ export declare const dualCreateBookingSchema: z.ZodObject<{
|
|
|
30
30
|
senior: "senior";
|
|
31
31
|
}>>>;
|
|
32
32
|
preferredLanguage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
33
|
-
accessibilityNeeds: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
34
33
|
specialRequests: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
35
34
|
roomUnitId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
36
35
|
isPrimary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -89,7 +88,6 @@ export declare const dualCreateBookingSchema: z.ZodObject<{
|
|
|
89
88
|
senior: "senior";
|
|
90
89
|
}>>>;
|
|
91
90
|
preferredLanguage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
92
|
-
accessibilityNeeds: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
93
91
|
specialRequests: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
94
92
|
roomUnitId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
95
93
|
isPrimary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-bookings-dual-create.d.ts","sourceRoot":"","sources":["../src/service-bookings-dual-create.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAG9B,MAAM,oCAAoC,CAAA;AAkB3C,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"service-bookings-dual-create.d.ts","sourceRoot":"","sources":["../src/service-bookings-dual-create.ts"],"names":[],"mappings":"AACA,OAAO,K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,MAAM,EAAE,OAAO,CAAC,yBAAyB,EAAE;QAAE,MAAM,EAAE,IAAI,CAAA;KAAE,CAAC,CAAA;CAC7D,CAAA;AAqBL;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,iBAAiB,CACrC,EAAE,EAAE,kBAAkB,EACtB,QAAQ,EAAE,sBAAsB,EAChC,OAAO,GAAE;IACP,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,wBAAwB,CAAA;CAC9B,GACL,OAAO,CAAC,wBAAwB,CAAC,CAkFnC"}
|
|
@@ -22,7 +22,6 @@ declare const travelerInputSchema: z.ZodObject<{
|
|
|
22
22
|
senior: "senior";
|
|
23
23
|
}>>>;
|
|
24
24
|
preferredLanguage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25
|
-
accessibilityNeeds: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
26
25
|
specialRequests: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
27
26
|
roomUnitId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
28
27
|
isPrimary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -55,7 +54,6 @@ export declare const quickCreateBookingSchema: z.ZodObject<{
|
|
|
55
54
|
senior: "senior";
|
|
56
55
|
}>>>;
|
|
57
56
|
preferredLanguage: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
58
|
-
accessibilityNeeds: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
59
57
|
specialRequests: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
60
58
|
roomUnitId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
61
59
|
isPrimary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-bookings-quick-create.d.ts","sourceRoot":"","sources":["../src/service-bookings-quick-create.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EA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kB,EACtB,QAAQ,EAAE,uBAAuB,EACjC,OAAO,GAAE;IACP,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,yBAAyB,CAAA;CAC/B,GACL,OAAO,CAAC,yBAAyB,CAAC,CA+MpC"}
|
|
@@ -15,7 +15,6 @@ const travelerInputSchema = z.object({
|
|
|
15
15
|
participantType: z.enum(["traveler", "occupant", "other"]).default("traveler"),
|
|
16
16
|
travelerCategory: z.enum(["adult", "child", "infant", "senior", "other"]).optional().nullable(),
|
|
17
17
|
preferredLanguage: z.string().max(35).optional().nullable(),
|
|
18
|
-
accessibilityNeeds: z.string().optional().nullable(),
|
|
19
18
|
specialRequests: z.string().optional().nullable(),
|
|
20
19
|
/**
|
|
21
20
|
* option_unit_id the passenger is assigned to. Accepted by the input
|
|
@@ -172,7 +171,6 @@ export async function quickCreateBooking(db, rawInput, options = {}) {
|
|
|
172
171
|
email: traveler.email ?? null,
|
|
173
172
|
phone: traveler.phone ?? null,
|
|
174
173
|
preferredLanguage: traveler.preferredLanguage ?? null,
|
|
175
|
-
accessibilityNeeds: traveler.accessibilityNeeds ?? null,
|
|
176
174
|
specialRequests: traveler.specialRequests ?? null,
|
|
177
175
|
isPrimary: traveler.isPrimary ?? false,
|
|
178
176
|
notes: traveler.notes ?? null,
|
package/dist/service-public.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare const publicFinanceService: {
|
|
|
13
13
|
label: string;
|
|
14
14
|
provider: string | null;
|
|
15
15
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
16
|
-
status: "
|
|
16
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
17
17
|
brand: string | null;
|
|
18
18
|
last4: string | null;
|
|
19
19
|
expiryMonth: number | null;
|
|
@@ -33,7 +33,7 @@ export declare const publicFinanceService: {
|
|
|
33
33
|
id: string;
|
|
34
34
|
bookingPaymentScheduleId: string | null;
|
|
35
35
|
guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
|
|
36
|
-
status: "pending" | "
|
|
36
|
+
status: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
37
37
|
currency: string | null;
|
|
38
38
|
amountCents: number | null;
|
|
39
39
|
provider: string | null;
|
|
@@ -25,7 +25,7 @@ export declare const vouchersService: {
|
|
|
25
25
|
id: string;
|
|
26
26
|
code: string;
|
|
27
27
|
seriesCode: string | null;
|
|
28
|
-
status: "void" | "
|
|
28
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
29
29
|
currency: string;
|
|
30
30
|
initialAmountCents: number;
|
|
31
31
|
remainingAmountCents: number;
|
|
@@ -58,7 +58,7 @@ export declare const vouchersService: {
|
|
|
58
58
|
id: string;
|
|
59
59
|
code: string;
|
|
60
60
|
seriesCode: string | null;
|
|
61
|
-
status: "void" | "
|
|
61
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
62
62
|
currency: string;
|
|
63
63
|
initialAmountCents: number;
|
|
64
64
|
remainingAmountCents: number;
|
|
@@ -79,7 +79,7 @@ export declare const vouchersService: {
|
|
|
79
79
|
createdAt: Date;
|
|
80
80
|
updatedAt: Date;
|
|
81
81
|
expiresAt: Date | null;
|
|
82
|
-
status: "void" | "
|
|
82
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
83
83
|
currency: string;
|
|
84
84
|
notes: string | null;
|
|
85
85
|
code: string;
|
|
@@ -98,7 +98,7 @@ export declare const vouchersService: {
|
|
|
98
98
|
id: string;
|
|
99
99
|
code: string;
|
|
100
100
|
seriesCode: string | null;
|
|
101
|
-
status: "void" | "
|
|
101
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
102
102
|
currency: string;
|
|
103
103
|
initialAmountCents: number;
|
|
104
104
|
remainingAmountCents: number;
|
|
@@ -126,7 +126,7 @@ export declare const vouchersService: {
|
|
|
126
126
|
id: string;
|
|
127
127
|
code: string;
|
|
128
128
|
seriesCode: string | null;
|
|
129
|
-
status: "void" | "
|
|
129
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
130
130
|
currency: string;
|
|
131
131
|
initialAmountCents: number;
|
|
132
132
|
remainingAmountCents: number;
|
package/dist/service.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare const financeService: {
|
|
|
88
88
|
list(db: PostgresJsDatabase, query: {
|
|
89
89
|
limit: number;
|
|
90
90
|
offset: number;
|
|
91
|
-
status?: "void" | "
|
|
91
|
+
status?: "void" | "active" | "expired" | "redeemed" | undefined;
|
|
92
92
|
seriesCode?: string | undefined;
|
|
93
93
|
issuedToPersonId?: string | undefined;
|
|
94
94
|
issuedToOrganizationId?: string | undefined;
|
|
@@ -99,7 +99,7 @@ export declare const financeService: {
|
|
|
99
99
|
id: string;
|
|
100
100
|
code: string;
|
|
101
101
|
seriesCode: string | null;
|
|
102
|
-
status: "void" | "
|
|
102
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
103
103
|
currency: string;
|
|
104
104
|
initialAmountCents: number;
|
|
105
105
|
remainingAmountCents: number;
|
|
@@ -132,7 +132,7 @@ export declare const financeService: {
|
|
|
132
132
|
id: string;
|
|
133
133
|
code: string;
|
|
134
134
|
seriesCode: string | null;
|
|
135
|
-
status: "void" | "
|
|
135
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
136
136
|
currency: string;
|
|
137
137
|
initialAmountCents: number;
|
|
138
138
|
remainingAmountCents: number;
|
|
@@ -166,7 +166,7 @@ export declare const financeService: {
|
|
|
166
166
|
createdAt: Date;
|
|
167
167
|
updatedAt: Date;
|
|
168
168
|
expiresAt: Date | null;
|
|
169
|
-
status: "void" | "
|
|
169
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
170
170
|
currency: string;
|
|
171
171
|
notes: string | null;
|
|
172
172
|
code: string;
|
|
@@ -182,7 +182,7 @@ export declare const financeService: {
|
|
|
182
182
|
issuedByUserId: string | null;
|
|
183
183
|
} | null>;
|
|
184
184
|
update(db: PostgresJsDatabase, id: string, input: {
|
|
185
|
-
status?: "void" | "
|
|
185
|
+
status?: "void" | "active" | "expired" | "redeemed" | undefined;
|
|
186
186
|
seriesCode?: string | null | undefined;
|
|
187
187
|
validFrom?: string | null | undefined;
|
|
188
188
|
expiresAt?: string | null | undefined;
|
|
@@ -193,7 +193,7 @@ export declare const financeService: {
|
|
|
193
193
|
id: string;
|
|
194
194
|
code: string;
|
|
195
195
|
seriesCode: string | null;
|
|
196
|
-
status: "void" | "
|
|
196
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
197
197
|
currency: string;
|
|
198
198
|
initialAmountCents: number;
|
|
199
199
|
remainingAmountCents: number;
|
|
@@ -218,7 +218,7 @@ export declare const financeService: {
|
|
|
218
218
|
id: string;
|
|
219
219
|
code: string;
|
|
220
220
|
seriesCode: string | null;
|
|
221
|
-
status: "void" | "
|
|
221
|
+
status: "void" | "active" | "expired" | "redeemed";
|
|
222
222
|
currency: string;
|
|
223
223
|
initialAmountCents: number;
|
|
224
224
|
remainingAmountCents: number;
|
|
@@ -255,7 +255,7 @@ export declare const financeService: {
|
|
|
255
255
|
supplierId: string | null;
|
|
256
256
|
channelId: string | null;
|
|
257
257
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
258
|
-
status: "
|
|
258
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
259
259
|
label: string;
|
|
260
260
|
provider: string | null;
|
|
261
261
|
brand: string | null;
|
|
@@ -285,7 +285,7 @@ export declare const financeService: {
|
|
|
285
285
|
supplierId: string | null;
|
|
286
286
|
channelId: string | null;
|
|
287
287
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
288
|
-
status: "
|
|
288
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
289
289
|
label: string;
|
|
290
290
|
provider: string | null;
|
|
291
291
|
brand: string | null;
|
|
@@ -310,15 +310,15 @@ export declare const financeService: {
|
|
|
310
310
|
createdAt: Date;
|
|
311
311
|
updatedAt: Date;
|
|
312
312
|
organizationId: string | null;
|
|
313
|
-
status: "
|
|
313
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
314
314
|
notes: string | null;
|
|
315
|
+
provider: string | null;
|
|
315
316
|
personId: string | null;
|
|
316
317
|
label: string;
|
|
317
318
|
ownerType: "internal" | "supplier" | "other" | "client" | "channel" | "agency";
|
|
318
319
|
supplierId: string | null;
|
|
319
320
|
channelId: string | null;
|
|
320
321
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
321
|
-
provider: string | null;
|
|
322
322
|
last4: string | null;
|
|
323
323
|
holderName: string | null;
|
|
324
324
|
expiryMonth: number | null;
|
|
@@ -337,7 +337,7 @@ export declare const financeService: {
|
|
|
337
337
|
supplierId: string | null;
|
|
338
338
|
channelId: string | null;
|
|
339
339
|
instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
|
|
340
|
-
status: "
|
|
340
|
+
status: "active" | "expired" | "revoked" | "inactive" | "failed_verification";
|
|
341
341
|
label: string;
|
|
342
342
|
provider: string | null;
|
|
343
343
|
brand: string | null;
|
|
@@ -460,13 +460,14 @@ export declare const financeService: {
|
|
|
460
460
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
461
461
|
currency: string;
|
|
462
462
|
notes: string | null;
|
|
463
|
+
idempotencyKey: string | null;
|
|
464
|
+
provider: string | null;
|
|
465
|
+
bookingId: string | null;
|
|
463
466
|
expiredAt: Date | null;
|
|
464
467
|
cancelledAt: Date | null;
|
|
465
468
|
completedAt: Date | null;
|
|
466
|
-
bookingId: string | null;
|
|
467
469
|
paymentId: string | null;
|
|
468
470
|
amountCents: number;
|
|
469
|
-
provider: string | null;
|
|
470
471
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
471
472
|
targetId: string | null;
|
|
472
473
|
orderId: string | null;
|
|
@@ -480,7 +481,6 @@ export declare const financeService: {
|
|
|
480
481
|
providerSessionId: string | null;
|
|
481
482
|
providerPaymentId: string | null;
|
|
482
483
|
externalReference: string | null;
|
|
483
|
-
idempotencyKey: string | null;
|
|
484
484
|
clientReference: string | null;
|
|
485
485
|
payerPersonId: string | null;
|
|
486
486
|
payerOrganizationId: string | null;
|
|
@@ -814,9 +814,9 @@ export declare const financeService: {
|
|
|
814
814
|
status: "pending" | "expired" | "failed" | "authorized" | "partially_captured" | "captured" | "voided";
|
|
815
815
|
currency: string;
|
|
816
816
|
notes: string | null;
|
|
817
|
+
provider: string | null;
|
|
817
818
|
bookingId: string | null;
|
|
818
819
|
amountCents: number;
|
|
819
|
-
provider: string | null;
|
|
820
820
|
orderId: string | null;
|
|
821
821
|
invoiceId: string | null;
|
|
822
822
|
paymentInstrumentId: string | null;
|
|
@@ -893,8 +893,8 @@ export declare const financeService: {
|
|
|
893
893
|
status: "pending" | "completed" | "failed" | "refunded" | "voided";
|
|
894
894
|
currency: string;
|
|
895
895
|
notes: string | null;
|
|
896
|
-
amountCents: number;
|
|
897
896
|
provider: string | null;
|
|
897
|
+
amountCents: number;
|
|
898
898
|
invoiceId: string | null;
|
|
899
899
|
paymentAuthorizationId: string | null;
|
|
900
900
|
externalCaptureId: string | null;
|
|
@@ -1359,13 +1359,14 @@ export declare const financeService: {
|
|
|
1359
1359
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
1360
1360
|
currency: string;
|
|
1361
1361
|
notes: string | null;
|
|
1362
|
+
idempotencyKey: string | null;
|
|
1363
|
+
provider: string | null;
|
|
1364
|
+
bookingId: string | null;
|
|
1362
1365
|
expiredAt: Date | null;
|
|
1363
1366
|
cancelledAt: Date | null;
|
|
1364
1367
|
completedAt: Date | null;
|
|
1365
|
-
bookingId: string | null;
|
|
1366
1368
|
paymentId: string | null;
|
|
1367
1369
|
amountCents: number;
|
|
1368
|
-
provider: string | null;
|
|
1369
1370
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
1370
1371
|
targetId: string | null;
|
|
1371
1372
|
orderId: string | null;
|
|
@@ -1379,7 +1380,6 @@ export declare const financeService: {
|
|
|
1379
1380
|
providerSessionId: string | null;
|
|
1380
1381
|
providerPaymentId: string | null;
|
|
1381
1382
|
externalReference: string | null;
|
|
1382
|
-
idempotencyKey: string | null;
|
|
1383
1383
|
clientReference: string | null;
|
|
1384
1384
|
payerPersonId: string | null;
|
|
1385
1385
|
payerOrganizationId: string | null;
|
|
@@ -1403,13 +1403,14 @@ export declare const financeService: {
|
|
|
1403
1403
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
1404
1404
|
currency: string;
|
|
1405
1405
|
notes: string | null;
|
|
1406
|
+
idempotencyKey: string | null;
|
|
1407
|
+
provider: string | null;
|
|
1408
|
+
bookingId: string | null;
|
|
1406
1409
|
expiredAt: Date | null;
|
|
1407
1410
|
cancelledAt: Date | null;
|
|
1408
1411
|
completedAt: Date | null;
|
|
1409
|
-
bookingId: string | null;
|
|
1410
1412
|
paymentId: string | null;
|
|
1411
1413
|
amountCents: number;
|
|
1412
|
-
provider: string | null;
|
|
1413
1414
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
1414
1415
|
targetId: string | null;
|
|
1415
1416
|
orderId: string | null;
|
|
@@ -1423,7 +1424,6 @@ export declare const financeService: {
|
|
|
1423
1424
|
providerSessionId: string | null;
|
|
1424
1425
|
providerPaymentId: string | null;
|
|
1425
1426
|
externalReference: string | null;
|
|
1426
|
-
idempotencyKey: string | null;
|
|
1427
1427
|
clientReference: string | null;
|
|
1428
1428
|
payerPersonId: string | null;
|
|
1429
1429
|
payerOrganizationId: string | null;
|
|
@@ -1529,7 +1529,7 @@ export declare const financeService: {
|
|
|
1529
1529
|
tableName: "booking_guarantees";
|
|
1530
1530
|
dataType: "string";
|
|
1531
1531
|
columnType: "PgEnumColumn";
|
|
1532
|
-
data: "pending" | "
|
|
1532
|
+
data: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
1533
1533
|
driverParam: string;
|
|
1534
1534
|
notNull: true;
|
|
1535
1535
|
hasDefault: true;
|
|
@@ -1751,7 +1751,7 @@ export declare const financeService: {
|
|
|
1751
1751
|
bookingPaymentScheduleId: string | null;
|
|
1752
1752
|
bookingItemId: string | null;
|
|
1753
1753
|
guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
|
|
1754
|
-
status: "pending" | "
|
|
1754
|
+
status: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
1755
1755
|
paymentInstrumentId: string | null;
|
|
1756
1756
|
paymentAuthorizationId: string | null;
|
|
1757
1757
|
currency: string | null;
|
|
@@ -1855,7 +1855,7 @@ export declare const financeService: {
|
|
|
1855
1855
|
tableName: "booking_guarantees";
|
|
1856
1856
|
dataType: "string";
|
|
1857
1857
|
columnType: "PgEnumColumn";
|
|
1858
|
-
data: "pending" | "
|
|
1858
|
+
data: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
1859
1859
|
driverParam: string;
|
|
1860
1860
|
notNull: true;
|
|
1861
1861
|
hasDefault: true;
|
|
@@ -2077,14 +2077,14 @@ export declare const financeService: {
|
|
|
2077
2077
|
createdAt: Date;
|
|
2078
2078
|
updatedAt: Date;
|
|
2079
2079
|
expiresAt: Date | null;
|
|
2080
|
-
status: "pending" | "
|
|
2080
|
+
status: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
2081
2081
|
currency: string | null;
|
|
2082
2082
|
notes: string | null;
|
|
2083
|
+
provider: string | null;
|
|
2083
2084
|
bookingId: string;
|
|
2084
2085
|
bookingItemId: string | null;
|
|
2085
2086
|
releasedAt: Date | null;
|
|
2086
2087
|
amountCents: number | null;
|
|
2087
|
-
provider: string | null;
|
|
2088
2088
|
bookingPaymentScheduleId: string | null;
|
|
2089
2089
|
guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
|
|
2090
2090
|
paymentInstrumentId: string | null;
|
|
@@ -2101,13 +2101,14 @@ export declare const financeService: {
|
|
|
2101
2101
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
2102
2102
|
currency: string;
|
|
2103
2103
|
notes: string | null;
|
|
2104
|
+
idempotencyKey: string | null;
|
|
2105
|
+
provider: string | null;
|
|
2106
|
+
bookingId: string | null;
|
|
2104
2107
|
expiredAt: Date | null;
|
|
2105
2108
|
cancelledAt: Date | null;
|
|
2106
2109
|
completedAt: Date | null;
|
|
2107
|
-
bookingId: string | null;
|
|
2108
2110
|
paymentId: string | null;
|
|
2109
2111
|
amountCents: number;
|
|
2110
|
-
provider: string | null;
|
|
2111
2112
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
2112
2113
|
targetId: string | null;
|
|
2113
2114
|
orderId: string | null;
|
|
@@ -2121,7 +2122,6 @@ export declare const financeService: {
|
|
|
2121
2122
|
providerSessionId: string | null;
|
|
2122
2123
|
providerPaymentId: string | null;
|
|
2123
2124
|
externalReference: string | null;
|
|
2124
|
-
idempotencyKey: string | null;
|
|
2125
2125
|
clientReference: string | null;
|
|
2126
2126
|
payerPersonId: string | null;
|
|
2127
2127
|
payerOrganizationId: string | null;
|
|
@@ -2142,7 +2142,7 @@ export declare const financeService: {
|
|
|
2142
2142
|
bookingPaymentScheduleId: string | null;
|
|
2143
2143
|
bookingItemId: string | null;
|
|
2144
2144
|
guaranteeType: "other" | "voucher" | "bank_transfer" | "credit_card" | "deposit" | "preauth" | "card_on_file" | "agency_letter";
|
|
2145
|
-
status: "pending" | "
|
|
2145
|
+
status: "pending" | "active" | "expired" | "cancelled" | "released" | "failed";
|
|
2146
2146
|
paymentInstrumentId: string | null;
|
|
2147
2147
|
paymentAuthorizationId: string | null;
|
|
2148
2148
|
currency: string | null;
|
|
@@ -3281,11 +3281,11 @@ export declare const financeService: {
|
|
|
3281
3281
|
status: "pending" | "completed" | "failed" | "refunded";
|
|
3282
3282
|
currency: string;
|
|
3283
3283
|
notes: string | null;
|
|
3284
|
-
baseCurrency: string | null;
|
|
3285
3284
|
bookingId: string;
|
|
3285
|
+
baseCurrency: string | null;
|
|
3286
|
+
fxRateSetId: string | null;
|
|
3286
3287
|
amountCents: number;
|
|
3287
3288
|
supplierId: string | null;
|
|
3288
|
-
fxRateSetId: string | null;
|
|
3289
3289
|
paymentInstrumentId: string | null;
|
|
3290
3290
|
referenceNumber: string | null;
|
|
3291
3291
|
baseAmountCents: number | null;
|
|
@@ -3360,9 +3360,10 @@ export declare const financeService: {
|
|
|
3360
3360
|
issueDate: string;
|
|
3361
3361
|
currency: string;
|
|
3362
3362
|
notes: string | null;
|
|
3363
|
+
bookingId: string;
|
|
3363
3364
|
personId: string | null;
|
|
3364
3365
|
baseCurrency: string | null;
|
|
3365
|
-
|
|
3366
|
+
fxRateSetId: string | null;
|
|
3366
3367
|
invoiceNumber: string;
|
|
3367
3368
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
3368
3369
|
seriesId: string | null;
|
|
@@ -3370,7 +3371,6 @@ export declare const financeService: {
|
|
|
3370
3371
|
templateId: string | null;
|
|
3371
3372
|
taxRegimeId: string | null;
|
|
3372
3373
|
language: string | null;
|
|
3373
|
-
fxRateSetId: string | null;
|
|
3374
3374
|
subtotalCents: number;
|
|
3375
3375
|
baseSubtotalCents: number | null;
|
|
3376
3376
|
taxCents: number;
|
|
@@ -3394,9 +3394,10 @@ export declare const financeService: {
|
|
|
3394
3394
|
issueDate: string;
|
|
3395
3395
|
currency: string;
|
|
3396
3396
|
notes: string | null;
|
|
3397
|
+
bookingId: string;
|
|
3397
3398
|
personId: string | null;
|
|
3398
3399
|
baseCurrency: string | null;
|
|
3399
|
-
|
|
3400
|
+
fxRateSetId: string | null;
|
|
3400
3401
|
invoiceNumber: string;
|
|
3401
3402
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
3402
3403
|
seriesId: string | null;
|
|
@@ -3404,7 +3405,6 @@ export declare const financeService: {
|
|
|
3404
3405
|
templateId: string | null;
|
|
3405
3406
|
taxRegimeId: string | null;
|
|
3406
3407
|
language: string | null;
|
|
3407
|
-
fxRateSetId: string | null;
|
|
3408
3408
|
subtotalCents: number;
|
|
3409
3409
|
baseSubtotalCents: number | null;
|
|
3410
3410
|
taxCents: number;
|
|
@@ -4482,8 +4482,8 @@ export declare const financeService: {
|
|
|
4482
4482
|
currency: string;
|
|
4483
4483
|
notes: string | null;
|
|
4484
4484
|
baseCurrency: string | null;
|
|
4485
|
-
amountCents: number;
|
|
4486
4485
|
fxRateSetId: string | null;
|
|
4486
|
+
amountCents: number;
|
|
4487
4487
|
invoiceId: string;
|
|
4488
4488
|
paymentInstrumentId: string | null;
|
|
4489
4489
|
paymentAuthorizationId: string | null;
|
|
@@ -4960,9 +4960,9 @@ export declare const financeService: {
|
|
|
4960
4960
|
currency: string;
|
|
4961
4961
|
notes: string | null;
|
|
4962
4962
|
baseCurrency: string | null;
|
|
4963
|
+
fxRateSetId: string | null;
|
|
4963
4964
|
reason: string;
|
|
4964
4965
|
amountCents: number;
|
|
4965
|
-
fxRateSetId: string | null;
|
|
4966
4966
|
invoiceId: string;
|
|
4967
4967
|
baseAmountCents: number | null;
|
|
4968
4968
|
creditNoteNumber: string;
|
|
@@ -5595,10 +5595,10 @@ export declare const financeService: {
|
|
|
5595
5595
|
updatedAt: Date;
|
|
5596
5596
|
slug: string;
|
|
5597
5597
|
active: boolean;
|
|
5598
|
+
body: string;
|
|
5598
5599
|
language: string;
|
|
5599
5600
|
jurisdiction: string | null;
|
|
5600
5601
|
bodyFormat: "html" | "markdown" | "lexical_json";
|
|
5601
|
-
body: string;
|
|
5602
5602
|
cssStyles: string | null;
|
|
5603
5603
|
isDefault: boolean;
|
|
5604
5604
|
} | null>;
|
|
@@ -23,9 +23,9 @@ export declare const insertPaymentInstrumentSchema: z.ZodObject<{
|
|
|
23
23
|
bank_account: "bank_account";
|
|
24
24
|
}>;
|
|
25
25
|
status: z.ZodDefault<z.ZodEnum<{
|
|
26
|
+
active: "active";
|
|
26
27
|
expired: "expired";
|
|
27
28
|
revoked: "revoked";
|
|
28
|
-
active: "active";
|
|
29
29
|
inactive: "inactive";
|
|
30
30
|
failed_verification: "failed_verification";
|
|
31
31
|
}>>;
|
|
@@ -68,9 +68,9 @@ export declare const updatePaymentInstrumentSchema: z.ZodObject<{
|
|
|
68
68
|
bank_account: "bank_account";
|
|
69
69
|
}>>;
|
|
70
70
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
71
|
+
active: "active";
|
|
71
72
|
expired: "expired";
|
|
72
73
|
revoked: "revoked";
|
|
73
|
-
active: "active";
|
|
74
74
|
inactive: "inactive";
|
|
75
75
|
failed_verification: "failed_verification";
|
|
76
76
|
}>>>;
|
|
@@ -105,9 +105,9 @@ export declare const paymentInstrumentListQuerySchema: z.ZodObject<{
|
|
|
105
105
|
supplierId: z.ZodOptional<z.ZodString>;
|
|
106
106
|
channelId: z.ZodOptional<z.ZodString>;
|
|
107
107
|
status: z.ZodOptional<z.ZodEnum<{
|
|
108
|
+
active: "active";
|
|
108
109
|
expired: "expired";
|
|
109
110
|
revoked: "revoked";
|
|
110
|
-
active: "active";
|
|
111
111
|
inactive: "inactive";
|
|
112
112
|
failed_verification: "failed_verification";
|
|
113
113
|
}>>;
|
|
@@ -654,11 +654,11 @@ export declare const insertBookingGuaranteeSchema: z.ZodObject<{
|
|
|
654
654
|
}>;
|
|
655
655
|
status: z.ZodDefault<z.ZodEnum<{
|
|
656
656
|
pending: "pending";
|
|
657
|
+
active: "active";
|
|
657
658
|
expired: "expired";
|
|
658
659
|
cancelled: "cancelled";
|
|
659
660
|
released: "released";
|
|
660
661
|
failed: "failed";
|
|
661
|
-
active: "active";
|
|
662
662
|
}>>;
|
|
663
663
|
paymentInstrumentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
664
664
|
paymentAuthorizationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -686,11 +686,11 @@ export declare const updateBookingGuaranteeSchema: z.ZodObject<{
|
|
|
686
686
|
}>>;
|
|
687
687
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
688
688
|
pending: "pending";
|
|
689
|
+
active: "active";
|
|
689
690
|
expired: "expired";
|
|
690
691
|
cancelled: "cancelled";
|
|
691
692
|
released: "released";
|
|
692
693
|
failed: "failed";
|
|
693
|
-
active: "active";
|
|
694
694
|
}>>>;
|
|
695
695
|
paymentInstrumentId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
696
696
|
paymentAuthorizationId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -87,9 +87,9 @@ export declare const publicPaymentAccountSchema: z.ZodObject<{
|
|
|
87
87
|
bank_account: "bank_account";
|
|
88
88
|
}>;
|
|
89
89
|
status: z.ZodEnum<{
|
|
90
|
+
active: "active";
|
|
90
91
|
expired: "expired";
|
|
91
92
|
revoked: "revoked";
|
|
92
|
-
active: "active";
|
|
93
93
|
inactive: "inactive";
|
|
94
94
|
failed_verification: "failed_verification";
|
|
95
95
|
}>;
|
|
@@ -150,9 +150,9 @@ export declare const publicBookingPaymentOptionsSchema: z.ZodObject<{
|
|
|
150
150
|
bank_account: "bank_account";
|
|
151
151
|
}>;
|
|
152
152
|
status: z.ZodEnum<{
|
|
153
|
+
active: "active";
|
|
153
154
|
expired: "expired";
|
|
154
155
|
revoked: "revoked";
|
|
155
|
-
active: "active";
|
|
156
156
|
inactive: "inactive";
|
|
157
157
|
failed_verification: "failed_verification";
|
|
158
158
|
}>;
|
|
@@ -61,9 +61,9 @@ export declare const paymentInstrumentOwnerTypeSchema: z.ZodEnum<{
|
|
|
61
61
|
agency: "agency";
|
|
62
62
|
}>;
|
|
63
63
|
export declare const paymentInstrumentStatusSchema: z.ZodEnum<{
|
|
64
|
+
active: "active";
|
|
64
65
|
expired: "expired";
|
|
65
66
|
revoked: "revoked";
|
|
66
|
-
active: "active";
|
|
67
67
|
inactive: "inactive";
|
|
68
68
|
failed_verification: "failed_verification";
|
|
69
69
|
}>;
|
|
@@ -119,11 +119,11 @@ export declare const guaranteeTypeSchema: z.ZodEnum<{
|
|
|
119
119
|
}>;
|
|
120
120
|
export declare const guaranteeStatusSchema: z.ZodEnum<{
|
|
121
121
|
pending: "pending";
|
|
122
|
+
active: "active";
|
|
122
123
|
expired: "expired";
|
|
123
124
|
cancelled: "cancelled";
|
|
124
125
|
released: "released";
|
|
125
126
|
failed: "failed";
|
|
126
|
-
active: "active";
|
|
127
127
|
}>;
|
|
128
128
|
export declare const taxScopeSchema: z.ZodEnum<{
|
|
129
129
|
included: "included";
|
|
@@ -158,8 +158,8 @@ export declare const paginationSchema: z.ZodObject<{
|
|
|
158
158
|
}, z.core.$strip>;
|
|
159
159
|
export declare const voucherStatusSchema: z.ZodEnum<{
|
|
160
160
|
void: "void";
|
|
161
|
-
expired: "expired";
|
|
162
161
|
active: "active";
|
|
162
|
+
expired: "expired";
|
|
163
163
|
redeemed: "redeemed";
|
|
164
164
|
}>;
|
|
165
165
|
export declare const voucherSourceTypeSchema: z.ZodEnum<{
|
|
@@ -27,8 +27,8 @@ export declare const insertVoucherSchema: z.ZodObject<{
|
|
|
27
27
|
export declare const updateVoucherSchema: z.ZodObject<{
|
|
28
28
|
status: z.ZodOptional<z.ZodEnum<{
|
|
29
29
|
void: "void";
|
|
30
|
-
expired: "expired";
|
|
31
30
|
active: "active";
|
|
31
|
+
expired: "expired";
|
|
32
32
|
redeemed: "redeemed";
|
|
33
33
|
}>>;
|
|
34
34
|
seriesCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -47,8 +47,8 @@ export declare const redeemVoucherSchema: z.ZodObject<{
|
|
|
47
47
|
export declare const voucherListQuerySchema: z.ZodObject<{
|
|
48
48
|
status: z.ZodOptional<z.ZodEnum<{
|
|
49
49
|
void: "void";
|
|
50
|
-
expired: "expired";
|
|
51
50
|
active: "active";
|
|
51
|
+
expired: "expired";
|
|
52
52
|
redeemed: "redeemed";
|
|
53
53
|
}>>;
|
|
54
54
|
seriesCode: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/finance",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"drizzle-orm": "^0.45.2",
|
|
34
34
|
"hono": "^4.12.10",
|
|
35
35
|
"zod": "^4.3.6",
|
|
36
|
-
"@voyantjs/bookings": "0.
|
|
37
|
-
"@voyantjs/core": "0.
|
|
38
|
-
"@voyantjs/db": "0.
|
|
39
|
-
"@voyantjs/hono": "0.
|
|
40
|
-
"@voyantjs/utils": "0.
|
|
41
|
-
"@voyantjs/voyant-storage": "0.
|
|
36
|
+
"@voyantjs/bookings": "0.10.0",
|
|
37
|
+
"@voyantjs/core": "0.10.0",
|
|
38
|
+
"@voyantjs/db": "0.10.0",
|
|
39
|
+
"@voyantjs/hono": "0.10.0",
|
|
40
|
+
"@voyantjs/utils": "0.10.0",
|
|
41
|
+
"@voyantjs/voyant-storage": "0.10.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "^6.0.2",
|