@voyantjs/checkout 0.20.0 → 0.21.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 +38 -28
- package/dist/routes.d.ts.map +1 -1
- package/dist/service.d.ts +2 -2
- package/dist/service.d.ts.map +1 -1
- package/dist/validation.d.ts +15 -9
- package/dist/validation.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/routes.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
82
82
|
fxRateSetId: string | null;
|
|
83
83
|
invoiceNumber: string;
|
|
84
84
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
85
|
+
convertedFromInvoiceId: string | null;
|
|
85
86
|
seriesId: string | null;
|
|
86
87
|
sequence: number | null;
|
|
87
88
|
templateId: string | null;
|
|
@@ -177,6 +178,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
177
178
|
fxRateSetId: string | null;
|
|
178
179
|
invoiceNumber: string;
|
|
179
180
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
181
|
+
convertedFromInvoiceId: string | null;
|
|
180
182
|
seriesId: string | null;
|
|
181
183
|
sequence: number | null;
|
|
182
184
|
templateId: string | null;
|
|
@@ -215,6 +217,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
215
217
|
fxRateSetId: string | null;
|
|
216
218
|
invoiceNumber: string;
|
|
217
219
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
220
|
+
convertedFromInvoiceId: string | null;
|
|
218
221
|
seriesId: string | null;
|
|
219
222
|
sequence: number | null;
|
|
220
223
|
templateId: string | null;
|
|
@@ -242,7 +245,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
242
245
|
createdAt: string;
|
|
243
246
|
updatedAt: string;
|
|
244
247
|
expiresAt: string | null;
|
|
245
|
-
status: "pending" | "
|
|
248
|
+
status: "pending" | "failed" | "expired" | "cancelled" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
246
249
|
currency: string;
|
|
247
250
|
notes: string | null;
|
|
248
251
|
idempotencyKey: string | null;
|
|
@@ -290,8 +293,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
290
293
|
createdAt: string;
|
|
291
294
|
updatedAt: string;
|
|
292
295
|
organizationId: string | null;
|
|
293
|
-
status: "pending" | "
|
|
296
|
+
status: "pending" | "failed" | "cancelled" | "sent";
|
|
294
297
|
provider: string;
|
|
298
|
+
scheduledFor: string | null;
|
|
299
|
+
errorMessage: string | null;
|
|
295
300
|
bookingId: string | null;
|
|
296
301
|
personId: string | null;
|
|
297
302
|
channel: "email" | "sms";
|
|
@@ -300,7 +305,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
300
305
|
templateId: string | null;
|
|
301
306
|
invoiceId: string | null;
|
|
302
307
|
failedAt: string | null;
|
|
303
|
-
errorMessage: string | null;
|
|
304
308
|
subject: string | null;
|
|
305
309
|
sentAt: string | null;
|
|
306
310
|
fromAddress: string | null;
|
|
@@ -313,7 +317,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
313
317
|
payloadData: {
|
|
314
318
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
315
319
|
} | null;
|
|
316
|
-
scheduledFor: string | null;
|
|
317
320
|
} | null;
|
|
318
321
|
paymentSessionNotification: {
|
|
319
322
|
metadata: {
|
|
@@ -323,8 +326,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
323
326
|
createdAt: string;
|
|
324
327
|
updatedAt: string;
|
|
325
328
|
organizationId: string | null;
|
|
326
|
-
status: "pending" | "
|
|
329
|
+
status: "pending" | "failed" | "cancelled" | "sent";
|
|
327
330
|
provider: string;
|
|
331
|
+
scheduledFor: string | null;
|
|
332
|
+
errorMessage: string | null;
|
|
328
333
|
bookingId: string | null;
|
|
329
334
|
personId: string | null;
|
|
330
335
|
channel: "email" | "sms";
|
|
@@ -333,7 +338,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
333
338
|
templateId: string | null;
|
|
334
339
|
invoiceId: string | null;
|
|
335
340
|
failedAt: string | null;
|
|
336
|
-
errorMessage: string | null;
|
|
337
341
|
subject: string | null;
|
|
338
342
|
sentAt: string | null;
|
|
339
343
|
fromAddress: string | null;
|
|
@@ -346,7 +350,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
346
350
|
payloadData: {
|
|
347
351
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
348
352
|
} | null;
|
|
349
|
-
scheduledFor: string | null;
|
|
350
353
|
} | null;
|
|
351
354
|
bankTransferInstructions: {
|
|
352
355
|
provider: string | null;
|
|
@@ -441,6 +444,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
441
444
|
fxRateSetId: string | null;
|
|
442
445
|
invoiceNumber: string;
|
|
443
446
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
447
|
+
convertedFromInvoiceId: string | null;
|
|
444
448
|
seriesId: string | null;
|
|
445
449
|
sequence: number | null;
|
|
446
450
|
templateId: string | null;
|
|
@@ -479,6 +483,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
479
483
|
fxRateSetId: string | null;
|
|
480
484
|
invoiceNumber: string;
|
|
481
485
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
486
|
+
convertedFromInvoiceId: string | null;
|
|
482
487
|
seriesId: string | null;
|
|
483
488
|
sequence: number | null;
|
|
484
489
|
templateId: string | null;
|
|
@@ -506,7 +511,7 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
506
511
|
createdAt: string;
|
|
507
512
|
updatedAt: string;
|
|
508
513
|
expiresAt: string | null;
|
|
509
|
-
status: "pending" | "
|
|
514
|
+
status: "pending" | "failed" | "expired" | "cancelled" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
510
515
|
currency: string;
|
|
511
516
|
notes: string | null;
|
|
512
517
|
idempotencyKey: string | null;
|
|
@@ -554,8 +559,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
554
559
|
createdAt: string;
|
|
555
560
|
updatedAt: string;
|
|
556
561
|
organizationId: string | null;
|
|
557
|
-
status: "pending" | "
|
|
562
|
+
status: "pending" | "failed" | "cancelled" | "sent";
|
|
558
563
|
provider: string;
|
|
564
|
+
scheduledFor: string | null;
|
|
565
|
+
errorMessage: string | null;
|
|
559
566
|
bookingId: string | null;
|
|
560
567
|
personId: string | null;
|
|
561
568
|
channel: "email" | "sms";
|
|
@@ -564,7 +571,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
564
571
|
templateId: string | null;
|
|
565
572
|
invoiceId: string | null;
|
|
566
573
|
failedAt: string | null;
|
|
567
|
-
errorMessage: string | null;
|
|
568
574
|
subject: string | null;
|
|
569
575
|
sentAt: string | null;
|
|
570
576
|
fromAddress: string | null;
|
|
@@ -577,7 +583,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
577
583
|
payloadData: {
|
|
578
584
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
579
585
|
} | null;
|
|
580
|
-
scheduledFor: string | null;
|
|
581
586
|
} | null;
|
|
582
587
|
paymentSessionNotification: {
|
|
583
588
|
metadata: {
|
|
@@ -587,8 +592,10 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
587
592
|
createdAt: string;
|
|
588
593
|
updatedAt: string;
|
|
589
594
|
organizationId: string | null;
|
|
590
|
-
status: "pending" | "
|
|
595
|
+
status: "pending" | "failed" | "cancelled" | "sent";
|
|
591
596
|
provider: string;
|
|
597
|
+
scheduledFor: string | null;
|
|
598
|
+
errorMessage: string | null;
|
|
592
599
|
bookingId: string | null;
|
|
593
600
|
personId: string | null;
|
|
594
601
|
channel: "email" | "sms";
|
|
@@ -597,7 +604,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
597
604
|
templateId: string | null;
|
|
598
605
|
invoiceId: string | null;
|
|
599
606
|
failedAt: string | null;
|
|
600
|
-
errorMessage: string | null;
|
|
601
607
|
subject: string | null;
|
|
602
608
|
sentAt: string | null;
|
|
603
609
|
fromAddress: string | null;
|
|
@@ -610,7 +616,6 @@ export declare function createCheckoutRoutes(options?: CheckoutRoutesOptions): i
|
|
|
610
616
|
payloadData: {
|
|
611
617
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
612
618
|
} | null;
|
|
613
|
-
scheduledFor: string | null;
|
|
614
619
|
} | null;
|
|
615
620
|
bankTransferInstructions: {
|
|
616
621
|
provider: string | null;
|
|
@@ -705,6 +710,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
705
710
|
fxRateSetId: string | null;
|
|
706
711
|
invoiceNumber: string;
|
|
707
712
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
713
|
+
convertedFromInvoiceId: string | null;
|
|
708
714
|
seriesId: string | null;
|
|
709
715
|
sequence: number | null;
|
|
710
716
|
templateId: string | null;
|
|
@@ -800,6 +806,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
800
806
|
fxRateSetId: string | null;
|
|
801
807
|
invoiceNumber: string;
|
|
802
808
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
809
|
+
convertedFromInvoiceId: string | null;
|
|
803
810
|
seriesId: string | null;
|
|
804
811
|
sequence: number | null;
|
|
805
812
|
templateId: string | null;
|
|
@@ -838,6 +845,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
838
845
|
fxRateSetId: string | null;
|
|
839
846
|
invoiceNumber: string;
|
|
840
847
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
848
|
+
convertedFromInvoiceId: string | null;
|
|
841
849
|
seriesId: string | null;
|
|
842
850
|
sequence: number | null;
|
|
843
851
|
templateId: string | null;
|
|
@@ -865,7 +873,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
865
873
|
createdAt: string;
|
|
866
874
|
updatedAt: string;
|
|
867
875
|
expiresAt: string | null;
|
|
868
|
-
status: "pending" | "
|
|
876
|
+
status: "pending" | "failed" | "expired" | "cancelled" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
869
877
|
currency: string;
|
|
870
878
|
notes: string | null;
|
|
871
879
|
idempotencyKey: string | null;
|
|
@@ -913,8 +921,10 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
913
921
|
createdAt: string;
|
|
914
922
|
updatedAt: string;
|
|
915
923
|
organizationId: string | null;
|
|
916
|
-
status: "pending" | "
|
|
924
|
+
status: "pending" | "failed" | "cancelled" | "sent";
|
|
917
925
|
provider: string;
|
|
926
|
+
scheduledFor: string | null;
|
|
927
|
+
errorMessage: string | null;
|
|
918
928
|
bookingId: string | null;
|
|
919
929
|
personId: string | null;
|
|
920
930
|
channel: "email" | "sms";
|
|
@@ -923,7 +933,6 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
923
933
|
templateId: string | null;
|
|
924
934
|
invoiceId: string | null;
|
|
925
935
|
failedAt: string | null;
|
|
926
|
-
errorMessage: string | null;
|
|
927
936
|
subject: string | null;
|
|
928
937
|
sentAt: string | null;
|
|
929
938
|
fromAddress: string | null;
|
|
@@ -936,7 +945,6 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
936
945
|
payloadData: {
|
|
937
946
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
938
947
|
} | null;
|
|
939
|
-
scheduledFor: string | null;
|
|
940
948
|
} | null;
|
|
941
949
|
paymentSessionNotification: {
|
|
942
950
|
metadata: {
|
|
@@ -946,8 +954,10 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
946
954
|
createdAt: string;
|
|
947
955
|
updatedAt: string;
|
|
948
956
|
organizationId: string | null;
|
|
949
|
-
status: "pending" | "
|
|
957
|
+
status: "pending" | "failed" | "cancelled" | "sent";
|
|
950
958
|
provider: string;
|
|
959
|
+
scheduledFor: string | null;
|
|
960
|
+
errorMessage: string | null;
|
|
951
961
|
bookingId: string | null;
|
|
952
962
|
personId: string | null;
|
|
953
963
|
channel: "email" | "sms";
|
|
@@ -956,7 +966,6 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
956
966
|
templateId: string | null;
|
|
957
967
|
invoiceId: string | null;
|
|
958
968
|
failedAt: string | null;
|
|
959
|
-
errorMessage: string | null;
|
|
960
969
|
subject: string | null;
|
|
961
970
|
sentAt: string | null;
|
|
962
971
|
fromAddress: string | null;
|
|
@@ -969,7 +978,6 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
969
978
|
payloadData: {
|
|
970
979
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
971
980
|
} | null;
|
|
972
|
-
scheduledFor: string | null;
|
|
973
981
|
} | null;
|
|
974
982
|
bankTransferInstructions: {
|
|
975
983
|
provider: string | null;
|
|
@@ -1064,6 +1072,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1064
1072
|
fxRateSetId: string | null;
|
|
1065
1073
|
invoiceNumber: string;
|
|
1066
1074
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1075
|
+
convertedFromInvoiceId: string | null;
|
|
1067
1076
|
seriesId: string | null;
|
|
1068
1077
|
sequence: number | null;
|
|
1069
1078
|
templateId: string | null;
|
|
@@ -1102,6 +1111,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1102
1111
|
fxRateSetId: string | null;
|
|
1103
1112
|
invoiceNumber: string;
|
|
1104
1113
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1114
|
+
convertedFromInvoiceId: string | null;
|
|
1105
1115
|
seriesId: string | null;
|
|
1106
1116
|
sequence: number | null;
|
|
1107
1117
|
templateId: string | null;
|
|
@@ -1129,7 +1139,7 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1129
1139
|
createdAt: string;
|
|
1130
1140
|
updatedAt: string;
|
|
1131
1141
|
expiresAt: string | null;
|
|
1132
|
-
status: "pending" | "
|
|
1142
|
+
status: "pending" | "failed" | "expired" | "cancelled" | "paid" | "requires_redirect" | "processing" | "authorized";
|
|
1133
1143
|
currency: string;
|
|
1134
1144
|
notes: string | null;
|
|
1135
1145
|
idempotencyKey: string | null;
|
|
@@ -1177,8 +1187,10 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1177
1187
|
createdAt: string;
|
|
1178
1188
|
updatedAt: string;
|
|
1179
1189
|
organizationId: string | null;
|
|
1180
|
-
status: "pending" | "
|
|
1190
|
+
status: "pending" | "failed" | "cancelled" | "sent";
|
|
1181
1191
|
provider: string;
|
|
1192
|
+
scheduledFor: string | null;
|
|
1193
|
+
errorMessage: string | null;
|
|
1182
1194
|
bookingId: string | null;
|
|
1183
1195
|
personId: string | null;
|
|
1184
1196
|
channel: "email" | "sms";
|
|
@@ -1187,7 +1199,6 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1187
1199
|
templateId: string | null;
|
|
1188
1200
|
invoiceId: string | null;
|
|
1189
1201
|
failedAt: string | null;
|
|
1190
|
-
errorMessage: string | null;
|
|
1191
1202
|
subject: string | null;
|
|
1192
1203
|
sentAt: string | null;
|
|
1193
1204
|
fromAddress: string | null;
|
|
@@ -1200,7 +1211,6 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1200
1211
|
payloadData: {
|
|
1201
1212
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1202
1213
|
} | null;
|
|
1203
|
-
scheduledFor: string | null;
|
|
1204
1214
|
} | null;
|
|
1205
1215
|
paymentSessionNotification: {
|
|
1206
1216
|
metadata: {
|
|
@@ -1210,8 +1220,10 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1210
1220
|
createdAt: string;
|
|
1211
1221
|
updatedAt: string;
|
|
1212
1222
|
organizationId: string | null;
|
|
1213
|
-
status: "pending" | "
|
|
1223
|
+
status: "pending" | "failed" | "cancelled" | "sent";
|
|
1214
1224
|
provider: string;
|
|
1225
|
+
scheduledFor: string | null;
|
|
1226
|
+
errorMessage: string | null;
|
|
1215
1227
|
bookingId: string | null;
|
|
1216
1228
|
personId: string | null;
|
|
1217
1229
|
channel: "email" | "sms";
|
|
@@ -1220,7 +1232,6 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1220
1232
|
templateId: string | null;
|
|
1221
1233
|
invoiceId: string | null;
|
|
1222
1234
|
failedAt: string | null;
|
|
1223
|
-
errorMessage: string | null;
|
|
1224
1235
|
subject: string | null;
|
|
1225
1236
|
sentAt: string | null;
|
|
1226
1237
|
fromAddress: string | null;
|
|
@@ -1233,7 +1244,6 @@ export declare function createCheckoutAdminRoutes(options?: CheckoutRoutesOption
|
|
|
1233
1244
|
payloadData: {
|
|
1234
1245
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1235
1246
|
} | null;
|
|
1236
|
-
scheduledFor: string | null;
|
|
1237
1247
|
} | null;
|
|
1238
1248
|
bankTransferInstructions: {
|
|
1239
1249
|
provider: string | null;
|
package/dist/routes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAA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from "@voyantjs/finance";
|
|
2
|
-
import type { NotificationDelivery, NotificationService } from "@voyantjs/notifications";
|
|
2
|
+
import type { NotificationDelivery, NotificationReminderRun, NotificationService } from "@voyantjs/notifications";
|
|
3
3
|
import type { PostgresJsDatabase } from "drizzle-orm/postgres-js";
|
|
4
4
|
import type { BootstrapCheckoutCollectionInput, CheckoutBankTransferInstructionsRecord, CheckoutProviderStartInput, CheckoutReminderRunListQuery, InitiateCheckoutCollectionInput, PreviewCheckoutCollectionInput } from "./validation.js";
|
|
5
5
|
export interface CheckoutPolicyOptions {
|
|
@@ -87,7 +87,7 @@ export interface CheckoutReminderRunSummary {
|
|
|
87
87
|
reminderRuleId: string;
|
|
88
88
|
reminderRuleSlug: string | null;
|
|
89
89
|
reminderRuleName: string | null;
|
|
90
|
-
targetType: "
|
|
90
|
+
targetType: NotificationReminderRun["targetType"];
|
|
91
91
|
targetId: string;
|
|
92
92
|
bookingId: string | null;
|
|
93
93
|
paymentSessionId: string | null;
|
package/dist/service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AACA,OAAO,EACL,uBAAuB,EAIvB,QAAQ,EACR,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AACA,OAAO,EACL,uBAAuB,EAIvB,QAAQ,EACR,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,yBAAyB,CAAA;AAQhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAEjE,OAAO,KAAK,EACV,gCAAgC,EAChC,sCAAsC,EACtC,0BAA0B,EAC1B,4BAA4B,EAC5B,+BAA+B,EAC/B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AE,4BAA4B,GAClC,OAAO,CAAC,uBAAuB,CAAC,CAwElC"}
|
package/dist/validation.d.ts
CHANGED
|
@@ -429,8 +429,8 @@ export declare const checkoutNotificationDeliverySchema: z.ZodObject<{
|
|
|
429
429
|
provider: z.ZodString;
|
|
430
430
|
status: z.ZodEnum<{
|
|
431
431
|
pending: "pending";
|
|
432
|
-
cancelled: "cancelled";
|
|
433
432
|
failed: "failed";
|
|
433
|
+
cancelled: "cancelled";
|
|
434
434
|
sent: "sent";
|
|
435
435
|
}>;
|
|
436
436
|
toAddress: z.ZodString;
|
|
@@ -617,9 +617,9 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
617
617
|
bookingGuaranteeId: z.ZodNullable<z.ZodString>;
|
|
618
618
|
status: z.ZodEnum<{
|
|
619
619
|
pending: "pending";
|
|
620
|
+
failed: "failed";
|
|
620
621
|
expired: "expired";
|
|
621
622
|
cancelled: "cancelled";
|
|
622
|
-
failed: "failed";
|
|
623
623
|
paid: "paid";
|
|
624
624
|
requires_redirect: "requires_redirect";
|
|
625
625
|
processing: "processing";
|
|
@@ -664,8 +664,8 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
664
664
|
provider: z.ZodString;
|
|
665
665
|
status: z.ZodEnum<{
|
|
666
666
|
pending: "pending";
|
|
667
|
-
cancelled: "cancelled";
|
|
668
667
|
failed: "failed";
|
|
668
|
+
cancelled: "cancelled";
|
|
669
669
|
sent: "sent";
|
|
670
670
|
}>;
|
|
671
671
|
toAddress: z.ZodString;
|
|
@@ -684,8 +684,8 @@ export declare const initiatedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
684
684
|
provider: z.ZodString;
|
|
685
685
|
status: z.ZodEnum<{
|
|
686
686
|
pending: "pending";
|
|
687
|
-
cancelled: "cancelled";
|
|
688
687
|
failed: "failed";
|
|
688
|
+
cancelled: "cancelled";
|
|
689
689
|
sent: "sent";
|
|
690
690
|
}>;
|
|
691
691
|
toAddress: z.ZodString;
|
|
@@ -815,9 +815,9 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
815
815
|
bookingGuaranteeId: z.ZodNullable<z.ZodString>;
|
|
816
816
|
status: z.ZodEnum<{
|
|
817
817
|
pending: "pending";
|
|
818
|
+
failed: "failed";
|
|
818
819
|
expired: "expired";
|
|
819
820
|
cancelled: "cancelled";
|
|
820
|
-
failed: "failed";
|
|
821
821
|
paid: "paid";
|
|
822
822
|
requires_redirect: "requires_redirect";
|
|
823
823
|
processing: "processing";
|
|
@@ -862,8 +862,8 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
862
862
|
provider: z.ZodString;
|
|
863
863
|
status: z.ZodEnum<{
|
|
864
864
|
pending: "pending";
|
|
865
|
-
cancelled: "cancelled";
|
|
866
865
|
failed: "failed";
|
|
866
|
+
cancelled: "cancelled";
|
|
867
867
|
sent: "sent";
|
|
868
868
|
}>;
|
|
869
869
|
toAddress: z.ZodString;
|
|
@@ -882,8 +882,8 @@ export declare const bootstrappedCheckoutCollectionSchema: z.ZodObject<{
|
|
|
882
882
|
provider: z.ZodString;
|
|
883
883
|
status: z.ZodEnum<{
|
|
884
884
|
pending: "pending";
|
|
885
|
-
cancelled: "cancelled";
|
|
886
885
|
failed: "failed";
|
|
886
|
+
cancelled: "cancelled";
|
|
887
887
|
sent: "sent";
|
|
888
888
|
}>;
|
|
889
889
|
toAddress: z.ZodString;
|
|
@@ -946,8 +946,11 @@ export declare const checkoutReminderRunSchema: z.ZodObject<{
|
|
|
946
946
|
reminderRuleSlug: z.ZodNullable<z.ZodString>;
|
|
947
947
|
reminderRuleName: z.ZodNullable<z.ZodString>;
|
|
948
948
|
targetType: z.ZodEnum<{
|
|
949
|
+
booking_confirmed: "booking_confirmed";
|
|
949
950
|
invoice: "invoice";
|
|
950
951
|
booking_payment_schedule: "booking_payment_schedule";
|
|
952
|
+
payment_complete: "payment_complete";
|
|
953
|
+
booking_cancelled_non_payment: "booking_cancelled_non_payment";
|
|
951
954
|
}>;
|
|
952
955
|
targetId: z.ZodString;
|
|
953
956
|
bookingId: z.ZodNullable<z.ZodString>;
|
|
@@ -962,8 +965,8 @@ export declare const checkoutReminderRunSchema: z.ZodObject<{
|
|
|
962
965
|
}>;
|
|
963
966
|
deliveryStatus: z.ZodNullable<z.ZodEnum<{
|
|
964
967
|
pending: "pending";
|
|
965
|
-
cancelled: "cancelled";
|
|
966
968
|
failed: "failed";
|
|
969
|
+
cancelled: "cancelled";
|
|
967
970
|
sent: "sent";
|
|
968
971
|
}>>;
|
|
969
972
|
channel: z.ZodNullable<z.ZodEnum<{
|
|
@@ -985,8 +988,11 @@ export declare const checkoutReminderRunListResponseSchema: z.ZodObject<{
|
|
|
985
988
|
reminderRuleSlug: z.ZodNullable<z.ZodString>;
|
|
986
989
|
reminderRuleName: z.ZodNullable<z.ZodString>;
|
|
987
990
|
targetType: z.ZodEnum<{
|
|
991
|
+
booking_confirmed: "booking_confirmed";
|
|
988
992
|
invoice: "invoice";
|
|
989
993
|
booking_payment_schedule: "booking_payment_schedule";
|
|
994
|
+
payment_complete: "payment_complete";
|
|
995
|
+
booking_cancelled_non_payment: "booking_cancelled_non_payment";
|
|
990
996
|
}>;
|
|
991
997
|
targetId: z.ZodString;
|
|
992
998
|
bookingId: z.ZodNullable<z.ZodString>;
|
|
@@ -1001,8 +1007,8 @@ export declare const checkoutReminderRunListResponseSchema: z.ZodObject<{
|
|
|
1001
1007
|
}>;
|
|
1002
1008
|
deliveryStatus: z.ZodNullable<z.ZodEnum<{
|
|
1003
1009
|
pending: "pending";
|
|
1004
|
-
cancelled: "cancelled";
|
|
1005
1010
|
failed: "failed";
|
|
1011
|
+
cancelled: "cancelled";
|
|
1006
1012
|
sent: "sent";
|
|
1007
1013
|
}>>;
|
|
1008
1014
|
channel: z.ZodNullable<z.ZodEnum<{
|
package/dist/validation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d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M,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/checkout",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"drizzle-orm": "^0.45.2",
|
|
30
30
|
"hono": "^4.12.10",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@voyantjs/bookings": "0.
|
|
33
|
-
"@voyantjs/core": "0.
|
|
34
|
-
"@voyantjs/finance": "0.
|
|
35
|
-
"@voyantjs/hono": "0.
|
|
36
|
-
"@voyantjs/notifications": "0.
|
|
32
|
+
"@voyantjs/bookings": "0.21.0",
|
|
33
|
+
"@voyantjs/core": "0.21.0",
|
|
34
|
+
"@voyantjs/finance": "0.21.0",
|
|
35
|
+
"@voyantjs/hono": "0.21.0",
|
|
36
|
+
"@voyantjs/notifications": "0.21.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "^6.0.2",
|