@voyantjs/checkout 0.6.9 → 0.7.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.d.ts +7 -7
- package/dist/validation.d.ts +3 -3
- package/package.json +6 -6
package/dist/routes.d.ts
CHANGED
|
@@ -63,9 +63,9 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
63
63
|
notes: string | null;
|
|
64
64
|
bookingId: string;
|
|
65
65
|
bookingItemId: string | null;
|
|
66
|
+
amountCents: number;
|
|
66
67
|
dueDate: string;
|
|
67
68
|
scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
|
|
68
|
-
amountCents: number;
|
|
69
69
|
} | null;
|
|
70
70
|
selectedInvoice: {
|
|
71
71
|
id: string;
|
|
@@ -158,9 +158,9 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
158
158
|
notes: string | null;
|
|
159
159
|
bookingId: string;
|
|
160
160
|
bookingItemId: string | null;
|
|
161
|
+
amountCents: number;
|
|
161
162
|
dueDate: string;
|
|
162
163
|
scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
|
|
163
|
-
amountCents: number;
|
|
164
164
|
} | null;
|
|
165
165
|
selectedInvoice: {
|
|
166
166
|
id: string;
|
|
@@ -249,19 +249,19 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
249
249
|
cancelledAt: string | null;
|
|
250
250
|
completedAt: string | null;
|
|
251
251
|
bookingId: string | null;
|
|
252
|
+
paymentId: string | null;
|
|
253
|
+
amountCents: number;
|
|
252
254
|
provider: string | null;
|
|
253
255
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
254
256
|
targetId: string | null;
|
|
255
257
|
orderId: string | null;
|
|
256
258
|
invoiceId: string | null;
|
|
257
|
-
amountCents: number;
|
|
258
259
|
bookingPaymentScheduleId: string | null;
|
|
259
260
|
paymentInstrumentId: string | null;
|
|
260
261
|
bookingGuaranteeId: string | null;
|
|
261
262
|
paymentAuthorizationId: string | null;
|
|
262
263
|
paymentCaptureId: string | null;
|
|
263
264
|
paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
|
|
264
|
-
paymentId: string | null;
|
|
265
265
|
providerSessionId: string | null;
|
|
266
266
|
providerPaymentId: string | null;
|
|
267
267
|
externalReference: string | null;
|
|
@@ -422,9 +422,9 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
422
422
|
notes: string | null;
|
|
423
423
|
bookingId: string;
|
|
424
424
|
bookingItemId: string | null;
|
|
425
|
+
amountCents: number;
|
|
425
426
|
dueDate: string;
|
|
426
427
|
scheduleType: "other" | "deposit" | "installment" | "balance" | "hold";
|
|
427
|
-
amountCents: number;
|
|
428
428
|
} | null;
|
|
429
429
|
selectedInvoice: {
|
|
430
430
|
id: string;
|
|
@@ -513,19 +513,19 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
513
513
|
cancelledAt: string | null;
|
|
514
514
|
completedAt: string | null;
|
|
515
515
|
bookingId: string | null;
|
|
516
|
+
paymentId: string | null;
|
|
517
|
+
amountCents: number;
|
|
516
518
|
provider: string | null;
|
|
517
519
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
518
520
|
targetId: string | null;
|
|
519
521
|
orderId: string | null;
|
|
520
522
|
invoiceId: string | null;
|
|
521
|
-
amountCents: number;
|
|
522
523
|
bookingPaymentScheduleId: string | null;
|
|
523
524
|
paymentInstrumentId: string | null;
|
|
524
525
|
bookingGuaranteeId: string | null;
|
|
525
526
|
paymentAuthorizationId: string | null;
|
|
526
527
|
paymentCaptureId: string | null;
|
|
527
528
|
paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill" | null;
|
|
528
|
-
paymentId: string | null;
|
|
529
529
|
providerSessionId: string | null;
|
|
530
530
|
providerPaymentId: string | null;
|
|
531
531
|
externalReference: string | null;
|
package/dist/validation.d.ts
CHANGED
|
@@ -932,8 +932,8 @@ export declare const checkoutReminderRunListQuerySchema: z.ZodObject<{
|
|
|
932
932
|
failed: "failed";
|
|
933
933
|
sent: "sent";
|
|
934
934
|
processing: "processing";
|
|
935
|
-
queued: "queued";
|
|
936
935
|
skipped: "skipped";
|
|
936
|
+
queued: "queued";
|
|
937
937
|
}>>;
|
|
938
938
|
}, z.core.$strip>;
|
|
939
939
|
export declare const checkoutReminderRunSchema: z.ZodObject<{
|
|
@@ -953,8 +953,8 @@ export declare const checkoutReminderRunSchema: z.ZodObject<{
|
|
|
953
953
|
failed: "failed";
|
|
954
954
|
sent: "sent";
|
|
955
955
|
processing: "processing";
|
|
956
|
-
queued: "queued";
|
|
957
956
|
skipped: "skipped";
|
|
957
|
+
queued: "queued";
|
|
958
958
|
}>;
|
|
959
959
|
deliveryStatus: z.ZodNullable<z.ZodEnum<{
|
|
960
960
|
pending: "pending";
|
|
@@ -992,8 +992,8 @@ export declare const checkoutReminderRunListResponseSchema: z.ZodObject<{
|
|
|
992
992
|
failed: "failed";
|
|
993
993
|
sent: "sent";
|
|
994
994
|
processing: "processing";
|
|
995
|
-
queued: "queued";
|
|
996
995
|
skipped: "skipped";
|
|
996
|
+
queued: "queued";
|
|
997
997
|
}>;
|
|
998
998
|
deliveryStatus: z.ZodNullable<z.ZodEnum<{
|
|
999
999
|
pending: "pending";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/checkout",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"drizzle-orm": "^0.45.2",
|
|
26
26
|
"hono": "^4.12.10",
|
|
27
27
|
"zod": "^4.3.6",
|
|
28
|
-
"@voyantjs/bookings": "0.
|
|
29
|
-
"@voyantjs/core": "0.
|
|
30
|
-
"@voyantjs/finance": "0.
|
|
31
|
-
"@voyantjs/hono": "0.
|
|
32
|
-
"@voyantjs/notifications": "0.
|
|
28
|
+
"@voyantjs/bookings": "0.7.0",
|
|
29
|
+
"@voyantjs/core": "0.7.0",
|
|
30
|
+
"@voyantjs/finance": "0.7.0",
|
|
31
|
+
"@voyantjs/hono": "0.7.0",
|
|
32
|
+
"@voyantjs/notifications": "0.7.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^6.0.2",
|