@voyantjs/checkout 0.8.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.d.ts +24 -24
- package/package.json +6 -6
package/dist/routes.d.ts
CHANGED
|
@@ -76,9 +76,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
76
76
|
issueDate: string;
|
|
77
77
|
currency: string;
|
|
78
78
|
notes: string | null;
|
|
79
|
+
bookingId: string;
|
|
79
80
|
personId: string | null;
|
|
80
81
|
baseCurrency: string | null;
|
|
81
|
-
|
|
82
|
+
fxRateSetId: string | null;
|
|
82
83
|
invoiceNumber: string;
|
|
83
84
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
84
85
|
seriesId: string | null;
|
|
@@ -86,7 +87,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
86
87
|
templateId: string | null;
|
|
87
88
|
taxRegimeId: string | null;
|
|
88
89
|
language: string | null;
|
|
89
|
-
fxRateSetId: string | null;
|
|
90
90
|
subtotalCents: number;
|
|
91
91
|
baseSubtotalCents: number | null;
|
|
92
92
|
taxCents: number;
|
|
@@ -171,9 +171,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
171
171
|
issueDate: string;
|
|
172
172
|
currency: string;
|
|
173
173
|
notes: string | null;
|
|
174
|
+
bookingId: string;
|
|
174
175
|
personId: string | null;
|
|
175
176
|
baseCurrency: string | null;
|
|
176
|
-
|
|
177
|
+
fxRateSetId: string | null;
|
|
177
178
|
invoiceNumber: string;
|
|
178
179
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
179
180
|
seriesId: string | null;
|
|
@@ -181,7 +182,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
181
182
|
templateId: string | null;
|
|
182
183
|
taxRegimeId: string | null;
|
|
183
184
|
language: string | null;
|
|
184
|
-
fxRateSetId: string | null;
|
|
185
185
|
subtotalCents: number;
|
|
186
186
|
baseSubtotalCents: number | null;
|
|
187
187
|
taxCents: number;
|
|
@@ -209,9 +209,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
209
209
|
issueDate: string;
|
|
210
210
|
currency: string;
|
|
211
211
|
notes: string | null;
|
|
212
|
+
bookingId: string;
|
|
212
213
|
personId: string | null;
|
|
213
214
|
baseCurrency: string | null;
|
|
214
|
-
|
|
215
|
+
fxRateSetId: string | null;
|
|
215
216
|
invoiceNumber: string;
|
|
216
217
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
217
218
|
seriesId: string | null;
|
|
@@ -219,7 +220,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
219
220
|
templateId: string | null;
|
|
220
221
|
taxRegimeId: string | null;
|
|
221
222
|
language: string | null;
|
|
222
|
-
fxRateSetId: string | null;
|
|
223
223
|
subtotalCents: number;
|
|
224
224
|
baseSubtotalCents: number | null;
|
|
225
225
|
taxCents: number;
|
|
@@ -245,13 +245,14 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
245
245
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
246
246
|
currency: string;
|
|
247
247
|
notes: string | null;
|
|
248
|
+
idempotencyKey: string | null;
|
|
249
|
+
provider: string | null;
|
|
250
|
+
bookingId: string | null;
|
|
248
251
|
expiredAt: string | null;
|
|
249
252
|
cancelledAt: string | null;
|
|
250
253
|
completedAt: string | null;
|
|
251
|
-
bookingId: string | null;
|
|
252
254
|
paymentId: string | null;
|
|
253
255
|
amountCents: number;
|
|
254
|
-
provider: string | null;
|
|
255
256
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
256
257
|
targetId: string | null;
|
|
257
258
|
orderId: string | null;
|
|
@@ -265,7 +266,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
265
266
|
providerSessionId: string | null;
|
|
266
267
|
providerPaymentId: string | null;
|
|
267
268
|
externalReference: string | null;
|
|
268
|
-
idempotencyKey: string | null;
|
|
269
269
|
clientReference: string | null;
|
|
270
270
|
payerPersonId: string | null;
|
|
271
271
|
payerOrganizationId: string | null;
|
|
@@ -291,10 +291,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
291
291
|
updatedAt: string;
|
|
292
292
|
organizationId: string | null;
|
|
293
293
|
status: "pending" | "cancelled" | "failed" | "sent";
|
|
294
|
-
|
|
294
|
+
provider: string;
|
|
295
295
|
bookingId: string | null;
|
|
296
|
+
personId: string | null;
|
|
296
297
|
channel: "email" | "sms";
|
|
297
|
-
provider: string;
|
|
298
298
|
targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
|
|
299
299
|
targetId: string | null;
|
|
300
300
|
templateId: string | null;
|
|
@@ -324,10 +324,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
324
324
|
updatedAt: string;
|
|
325
325
|
organizationId: string | null;
|
|
326
326
|
status: "pending" | "cancelled" | "failed" | "sent";
|
|
327
|
-
|
|
327
|
+
provider: string;
|
|
328
328
|
bookingId: string | null;
|
|
329
|
+
personId: string | null;
|
|
329
330
|
channel: "email" | "sms";
|
|
330
|
-
provider: string;
|
|
331
331
|
targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
|
|
332
332
|
targetId: string | null;
|
|
333
333
|
templateId: string | null;
|
|
@@ -435,9 +435,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
435
435
|
issueDate: string;
|
|
436
436
|
currency: string;
|
|
437
437
|
notes: string | null;
|
|
438
|
+
bookingId: string;
|
|
438
439
|
personId: string | null;
|
|
439
440
|
baseCurrency: string | null;
|
|
440
|
-
|
|
441
|
+
fxRateSetId: string | null;
|
|
441
442
|
invoiceNumber: string;
|
|
442
443
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
443
444
|
seriesId: string | null;
|
|
@@ -445,7 +446,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
445
446
|
templateId: string | null;
|
|
446
447
|
taxRegimeId: string | null;
|
|
447
448
|
language: string | null;
|
|
448
|
-
fxRateSetId: string | null;
|
|
449
449
|
subtotalCents: number;
|
|
450
450
|
baseSubtotalCents: number | null;
|
|
451
451
|
taxCents: number;
|
|
@@ -473,9 +473,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
473
473
|
issueDate: string;
|
|
474
474
|
currency: string;
|
|
475
475
|
notes: string | null;
|
|
476
|
+
bookingId: string;
|
|
476
477
|
personId: string | null;
|
|
477
478
|
baseCurrency: string | null;
|
|
478
|
-
|
|
479
|
+
fxRateSetId: string | null;
|
|
479
480
|
invoiceNumber: string;
|
|
480
481
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
481
482
|
seriesId: string | null;
|
|
@@ -483,7 +484,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
483
484
|
templateId: string | null;
|
|
484
485
|
taxRegimeId: string | null;
|
|
485
486
|
language: string | null;
|
|
486
|
-
fxRateSetId: string | null;
|
|
487
487
|
subtotalCents: number;
|
|
488
488
|
baseSubtotalCents: number | null;
|
|
489
489
|
taxCents: number;
|
|
@@ -509,13 +509,14 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
509
509
|
status: "pending" | "expired" | "cancelled" | "failed" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
510
510
|
currency: string;
|
|
511
511
|
notes: string | null;
|
|
512
|
+
idempotencyKey: string | null;
|
|
513
|
+
provider: string | null;
|
|
514
|
+
bookingId: string | null;
|
|
512
515
|
expiredAt: string | null;
|
|
513
516
|
cancelledAt: string | null;
|
|
514
517
|
completedAt: string | null;
|
|
515
|
-
bookingId: string | null;
|
|
516
518
|
paymentId: string | null;
|
|
517
519
|
amountCents: number;
|
|
518
|
-
provider: string | null;
|
|
519
520
|
targetType: "other" | "booking" | "order" | "invoice" | "booking_payment_schedule" | "booking_guarantee";
|
|
520
521
|
targetId: string | null;
|
|
521
522
|
orderId: string | null;
|
|
@@ -529,7 +530,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
529
530
|
providerSessionId: string | null;
|
|
530
531
|
providerPaymentId: string | null;
|
|
531
532
|
externalReference: string | null;
|
|
532
|
-
idempotencyKey: string | null;
|
|
533
533
|
clientReference: string | null;
|
|
534
534
|
payerPersonId: string | null;
|
|
535
535
|
payerOrganizationId: string | null;
|
|
@@ -555,10 +555,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
555
555
|
updatedAt: string;
|
|
556
556
|
organizationId: string | null;
|
|
557
557
|
status: "pending" | "cancelled" | "failed" | "sent";
|
|
558
|
-
|
|
558
|
+
provider: string;
|
|
559
559
|
bookingId: string | null;
|
|
560
|
+
personId: string | null;
|
|
560
561
|
channel: "email" | "sms";
|
|
561
|
-
provider: string;
|
|
562
562
|
targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
|
|
563
563
|
targetId: string | null;
|
|
564
564
|
templateId: string | null;
|
|
@@ -588,10 +588,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
588
588
|
updatedAt: string;
|
|
589
589
|
organizationId: string | null;
|
|
590
590
|
status: "pending" | "cancelled" | "failed" | "sent";
|
|
591
|
-
|
|
591
|
+
provider: string;
|
|
592
592
|
bookingId: string | null;
|
|
593
|
+
personId: string | null;
|
|
593
594
|
channel: "email" | "sms";
|
|
594
|
-
provider: string;
|
|
595
595
|
targetType: "organization" | "other" | "booking" | "invoice" | "booking_payment_schedule" | "booking_guarantee" | "person" | "payment_session";
|
|
596
596
|
targetId: string | null;
|
|
597
597
|
templateId: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/checkout",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.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.10.0",
|
|
29
|
+
"@voyantjs/core": "0.10.0",
|
|
30
|
+
"@voyantjs/finance": "0.10.0",
|
|
31
|
+
"@voyantjs/hono": "0.10.0",
|
|
32
|
+
"@voyantjs/notifications": "0.10.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^6.0.2",
|