@voyantjs/customer-portal 0.20.0 → 0.21.1
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
CHANGED
|
@@ -607,7 +607,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
|
|
|
607
607
|
data: {
|
|
608
608
|
bookingId: string;
|
|
609
609
|
bookingNumber: string;
|
|
610
|
-
status: "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired" | "cancelled";
|
|
610
|
+
status: "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired" | "cancelled";
|
|
611
611
|
sellCurrency: string;
|
|
612
612
|
sellAmountCents: number | null;
|
|
613
613
|
productTitle: string | null;
|
|
@@ -648,7 +648,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
|
|
|
648
648
|
data: {
|
|
649
649
|
bookingId: string;
|
|
650
650
|
bookingNumber: string;
|
|
651
|
-
status: "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired" | "cancelled";
|
|
651
|
+
status: "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired" | "cancelled";
|
|
652
652
|
sellCurrency: string;
|
|
653
653
|
sellAmountCents: number | null;
|
|
654
654
|
startDate: string | null;
|
|
@@ -728,7 +728,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
|
|
|
728
728
|
invoiceId: string;
|
|
729
729
|
invoiceNumber: string;
|
|
730
730
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
731
|
-
status: "pending" | "
|
|
731
|
+
status: "pending" | "failed" | "completed" | "refunded";
|
|
732
732
|
paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
|
|
733
733
|
amountCents: number;
|
|
734
734
|
currency: string;
|
|
@@ -743,7 +743,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
|
|
|
743
743
|
travelerId: string | null;
|
|
744
744
|
fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
745
745
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
746
|
-
status: "pending" | "
|
|
746
|
+
status: "pending" | "failed" | "issued" | "reissued" | "revoked";
|
|
747
747
|
artifactUrl: string | null;
|
|
748
748
|
}[];
|
|
749
749
|
};
|
|
@@ -1420,7 +1420,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
|
|
|
1420
1420
|
data: {
|
|
1421
1421
|
bookingId: string;
|
|
1422
1422
|
bookingNumber: string;
|
|
1423
|
-
status: "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired" | "cancelled";
|
|
1423
|
+
status: "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired" | "cancelled";
|
|
1424
1424
|
sellCurrency: string;
|
|
1425
1425
|
sellAmountCents: number | null;
|
|
1426
1426
|
productTitle: string | null;
|
|
@@ -1461,7 +1461,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
|
|
|
1461
1461
|
data: {
|
|
1462
1462
|
bookingId: string;
|
|
1463
1463
|
bookingNumber: string;
|
|
1464
|
-
status: "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired" | "cancelled";
|
|
1464
|
+
status: "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired" | "cancelled";
|
|
1465
1465
|
sellCurrency: string;
|
|
1466
1466
|
sellAmountCents: number | null;
|
|
1467
1467
|
startDate: string | null;
|
|
@@ -1541,7 +1541,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
|
|
|
1541
1541
|
invoiceId: string;
|
|
1542
1542
|
invoiceNumber: string;
|
|
1543
1543
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1544
|
-
status: "pending" | "
|
|
1544
|
+
status: "pending" | "failed" | "completed" | "refunded";
|
|
1545
1545
|
paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
|
|
1546
1546
|
amountCents: number;
|
|
1547
1547
|
currency: string;
|
|
@@ -1556,7 +1556,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
|
|
|
1556
1556
|
travelerId: string | null;
|
|
1557
1557
|
fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1558
1558
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1559
|
-
status: "pending" | "
|
|
1559
|
+
status: "pending" | "failed" | "issued" | "reissued" | "revoked";
|
|
1560
1560
|
artifactUrl: string | null;
|
|
1561
1561
|
}[];
|
|
1562
1562
|
};
|
|
@@ -702,6 +702,7 @@ export declare const customerPortalBookingSummarySchema: z.ZodObject<{
|
|
|
702
702
|
status: z.ZodEnum<{
|
|
703
703
|
draft: "draft";
|
|
704
704
|
on_hold: "on_hold";
|
|
705
|
+
awaiting_payment: "awaiting_payment";
|
|
705
706
|
confirmed: "confirmed";
|
|
706
707
|
in_progress: "in_progress";
|
|
707
708
|
completed: "completed";
|
|
@@ -897,8 +898,8 @@ export declare const customerPortalBookingPaymentSchema: z.ZodObject<{
|
|
|
897
898
|
}>;
|
|
898
899
|
status: z.ZodEnum<{
|
|
899
900
|
pending: "pending";
|
|
900
|
-
completed: "completed";
|
|
901
901
|
failed: "failed";
|
|
902
|
+
completed: "completed";
|
|
902
903
|
refunded: "refunded";
|
|
903
904
|
}>;
|
|
904
905
|
paymentMethod: z.ZodEnum<{
|
|
@@ -968,8 +969,8 @@ export declare const customerPortalBookingFinancialsSchema: z.ZodObject<{
|
|
|
968
969
|
}>;
|
|
969
970
|
status: z.ZodEnum<{
|
|
970
971
|
pending: "pending";
|
|
971
|
-
completed: "completed";
|
|
972
972
|
failed: "failed";
|
|
973
|
+
completed: "completed";
|
|
973
974
|
refunded: "refunded";
|
|
974
975
|
}>;
|
|
975
976
|
paymentMethod: z.ZodEnum<{
|
|
@@ -1012,10 +1013,10 @@ export declare const customerPortalBookingFulfillmentSchema: z.ZodObject<{
|
|
|
1012
1013
|
}>;
|
|
1013
1014
|
status: z.ZodEnum<{
|
|
1014
1015
|
pending: "pending";
|
|
1016
|
+
failed: "failed";
|
|
1015
1017
|
issued: "issued";
|
|
1016
1018
|
reissued: "reissued";
|
|
1017
1019
|
revoked: "revoked";
|
|
1018
|
-
failed: "failed";
|
|
1019
1020
|
}>;
|
|
1020
1021
|
artifactUrl: z.ZodNullable<z.ZodString>;
|
|
1021
1022
|
}, z.core.$strip>;
|
|
@@ -1025,6 +1026,7 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
|
|
|
1025
1026
|
status: z.ZodEnum<{
|
|
1026
1027
|
draft: "draft";
|
|
1027
1028
|
on_hold: "on_hold";
|
|
1029
|
+
awaiting_payment: "awaiting_payment";
|
|
1028
1030
|
confirmed: "confirmed";
|
|
1029
1031
|
in_progress: "in_progress";
|
|
1030
1032
|
completed: "completed";
|
|
@@ -1179,8 +1181,8 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
|
|
|
1179
1181
|
}>;
|
|
1180
1182
|
status: z.ZodEnum<{
|
|
1181
1183
|
pending: "pending";
|
|
1182
|
-
completed: "completed";
|
|
1183
1184
|
failed: "failed";
|
|
1185
|
+
completed: "completed";
|
|
1184
1186
|
refunded: "refunded";
|
|
1185
1187
|
}>;
|
|
1186
1188
|
paymentMethod: z.ZodEnum<{
|
|
@@ -1223,10 +1225,10 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
|
|
|
1223
1225
|
}>;
|
|
1224
1226
|
status: z.ZodEnum<{
|
|
1225
1227
|
pending: "pending";
|
|
1228
|
+
failed: "failed";
|
|
1226
1229
|
issued: "issued";
|
|
1227
1230
|
reissued: "reissued";
|
|
1228
1231
|
revoked: "revoked";
|
|
1229
|
-
failed: "failed";
|
|
1230
1232
|
}>;
|
|
1231
1233
|
artifactUrl: z.ZodNullable<z.ZodString>;
|
|
1232
1234
|
}, z.core.$strip>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-public.d.ts","sourceRoot":"","sources":["../src/validation-public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"validation-public.d.ts","sourceRoot":"","sources":["../src/validation-public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAgJvB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;iBAWtC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;iBAc1C,CAAA;AAEJ,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYrC,CAAA;AAEF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGjD,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCtC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;iBAM3C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyC1C,CAAA;AAEJ,eAAO,MAAM,sCAAsC;;iBAEjD,CAAA;AAEF,eAAO,MAAM,uCAAuC;;;;;iBAKlD,CAAA;AAEF,eAAO,MAAM,2CAA2C;;iBAEtD,CAAA;AAEF,eAAO,MAAM,4CAA4C;;;;iBAIvD,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYtC,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C,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA;AAC7F,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAA;AACnG,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/customer-portal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"drizzle-orm": "^0.45.2",
|
|
35
35
|
"hono": "^4.12.10",
|
|
36
36
|
"zod": "^4.3.6",
|
|
37
|
-
"@voyantjs/bookings": "0.
|
|
38
|
-
"@voyantjs/core": "0.
|
|
39
|
-
"@voyantjs/crm": "0.
|
|
40
|
-
"@voyantjs/db": "0.
|
|
41
|
-
"@voyantjs/finance": "0.
|
|
42
|
-
"@voyantjs/hono": "0.
|
|
43
|
-
"@voyantjs/identity": "0.
|
|
44
|
-
"@voyantjs/legal": "0.
|
|
45
|
-
"@voyantjs/utils": "0.
|
|
37
|
+
"@voyantjs/bookings": "0.21.1",
|
|
38
|
+
"@voyantjs/core": "0.21.1",
|
|
39
|
+
"@voyantjs/crm": "0.21.1",
|
|
40
|
+
"@voyantjs/db": "0.21.1",
|
|
41
|
+
"@voyantjs/finance": "0.21.1",
|
|
42
|
+
"@voyantjs/hono": "0.21.1",
|
|
43
|
+
"@voyantjs/identity": "0.21.1",
|
|
44
|
+
"@voyantjs/legal": "0.21.1",
|
|
45
|
+
"@voyantjs/utils": "0.21.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"typescript": "^6.0.2",
|