@voyantjs/customer-portal 0.28.3 → 0.30.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 +10 -10
- package/dist/validation-public.d.ts +11 -11
- package/package.json +10 -10
package/dist/routes-public.d.ts
CHANGED
|
@@ -750,7 +750,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
|
|
|
750
750
|
data: {
|
|
751
751
|
bookingId: string;
|
|
752
752
|
bookingNumber: string;
|
|
753
|
-
status: "
|
|
753
|
+
status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
754
754
|
sellCurrency: string;
|
|
755
755
|
sellAmountCents: number | null;
|
|
756
756
|
productTitle: string | null;
|
|
@@ -791,7 +791,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
|
|
|
791
791
|
data: {
|
|
792
792
|
bookingId: string;
|
|
793
793
|
bookingNumber: string;
|
|
794
|
-
status: "
|
|
794
|
+
status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
795
795
|
sellCurrency: string;
|
|
796
796
|
sellAmountCents: number | null;
|
|
797
797
|
startDate: string | null;
|
|
@@ -812,7 +812,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
|
|
|
812
812
|
title: string;
|
|
813
813
|
description: string | null;
|
|
814
814
|
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
815
|
-
status: "
|
|
815
|
+
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
816
816
|
serviceDate: string | null;
|
|
817
817
|
startsAt: string | null;
|
|
818
818
|
endsAt: string | null;
|
|
@@ -871,7 +871,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
|
|
|
871
871
|
invoiceId: string;
|
|
872
872
|
invoiceNumber: string;
|
|
873
873
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
874
|
-
status: "pending" | "
|
|
874
|
+
status: "pending" | "completed" | "failed" | "refunded";
|
|
875
875
|
paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
|
|
876
876
|
amountCents: number;
|
|
877
877
|
currency: string;
|
|
@@ -885,7 +885,7 @@ export declare function createPublicCustomerPortalRoutes(options?: PublicCustome
|
|
|
885
885
|
bookingItemId: string | null;
|
|
886
886
|
travelerId: string | null;
|
|
887
887
|
fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
888
|
-
deliveryChannel: "
|
|
888
|
+
deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
|
|
889
889
|
status: "pending" | "failed" | "issued" | "reissued" | "revoked";
|
|
890
890
|
artifactUrl: string | null;
|
|
891
891
|
}[];
|
|
@@ -1706,7 +1706,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
|
|
|
1706
1706
|
data: {
|
|
1707
1707
|
bookingId: string;
|
|
1708
1708
|
bookingNumber: string;
|
|
1709
|
-
status: "
|
|
1709
|
+
status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
1710
1710
|
sellCurrency: string;
|
|
1711
1711
|
sellAmountCents: number | null;
|
|
1712
1712
|
productTitle: string | null;
|
|
@@ -1747,7 +1747,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
|
|
|
1747
1747
|
data: {
|
|
1748
1748
|
bookingId: string;
|
|
1749
1749
|
bookingNumber: string;
|
|
1750
|
-
status: "
|
|
1750
|
+
status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
1751
1751
|
sellCurrency: string;
|
|
1752
1752
|
sellAmountCents: number | null;
|
|
1753
1753
|
startDate: string | null;
|
|
@@ -1768,7 +1768,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
|
|
|
1768
1768
|
title: string;
|
|
1769
1769
|
description: string | null;
|
|
1770
1770
|
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1771
|
-
status: "
|
|
1771
|
+
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
1772
1772
|
serviceDate: string | null;
|
|
1773
1773
|
startsAt: string | null;
|
|
1774
1774
|
endsAt: string | null;
|
|
@@ -1827,7 +1827,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
|
|
|
1827
1827
|
invoiceId: string;
|
|
1828
1828
|
invoiceNumber: string;
|
|
1829
1829
|
invoiceType: "invoice" | "proforma" | "credit_note";
|
|
1830
|
-
status: "pending" | "
|
|
1830
|
+
status: "pending" | "completed" | "failed" | "refunded";
|
|
1831
1831
|
paymentMethod: "other" | "voucher" | "wallet" | "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "direct_bill";
|
|
1832
1832
|
amountCents: number;
|
|
1833
1833
|
currency: string;
|
|
@@ -1841,7 +1841,7 @@ export declare const publicCustomerPortalRoutes: import("hono/hono-base").HonoBa
|
|
|
1841
1841
|
bookingItemId: string | null;
|
|
1842
1842
|
travelerId: string | null;
|
|
1843
1843
|
fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1844
|
-
deliveryChannel: "
|
|
1844
|
+
deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
|
|
1845
1845
|
status: "pending" | "failed" | "issued" | "reissued" | "revoked";
|
|
1846
1846
|
artifactUrl: string | null;
|
|
1847
1847
|
}[];
|
|
@@ -727,14 +727,14 @@ export declare const customerPortalBookingSummarySchema: z.ZodObject<{
|
|
|
727
727
|
bookingId: z.ZodString;
|
|
728
728
|
bookingNumber: z.ZodString;
|
|
729
729
|
status: z.ZodEnum<{
|
|
730
|
+
completed: "completed";
|
|
731
|
+
cancelled: "cancelled";
|
|
730
732
|
draft: "draft";
|
|
731
733
|
on_hold: "on_hold";
|
|
732
734
|
awaiting_payment: "awaiting_payment";
|
|
733
735
|
confirmed: "confirmed";
|
|
734
736
|
in_progress: "in_progress";
|
|
735
|
-
completed: "completed";
|
|
736
737
|
expired: "expired";
|
|
737
|
-
cancelled: "cancelled";
|
|
738
738
|
}>;
|
|
739
739
|
sellCurrency: z.ZodString;
|
|
740
740
|
sellAmountCents: z.ZodNullable<z.ZodNumber>;
|
|
@@ -792,11 +792,11 @@ export declare const customerPortalBookingItemSchema: z.ZodObject<{
|
|
|
792
792
|
transport: "transport";
|
|
793
793
|
}>;
|
|
794
794
|
status: z.ZodEnum<{
|
|
795
|
+
cancelled: "cancelled";
|
|
795
796
|
draft: "draft";
|
|
796
797
|
on_hold: "on_hold";
|
|
797
798
|
confirmed: "confirmed";
|
|
798
799
|
expired: "expired";
|
|
799
|
-
cancelled: "cancelled";
|
|
800
800
|
fulfilled: "fulfilled";
|
|
801
801
|
}>;
|
|
802
802
|
serviceDate: z.ZodNullable<z.ZodString>;
|
|
@@ -925,8 +925,8 @@ export declare const customerPortalBookingPaymentSchema: z.ZodObject<{
|
|
|
925
925
|
}>;
|
|
926
926
|
status: z.ZodEnum<{
|
|
927
927
|
pending: "pending";
|
|
928
|
-
failed: "failed";
|
|
929
928
|
completed: "completed";
|
|
929
|
+
failed: "failed";
|
|
930
930
|
refunded: "refunded";
|
|
931
931
|
}>;
|
|
932
932
|
paymentMethod: z.ZodEnum<{
|
|
@@ -996,8 +996,8 @@ export declare const customerPortalBookingFinancialsSchema: z.ZodObject<{
|
|
|
996
996
|
}>;
|
|
997
997
|
status: z.ZodEnum<{
|
|
998
998
|
pending: "pending";
|
|
999
|
-
failed: "failed";
|
|
1000
999
|
completed: "completed";
|
|
1000
|
+
failed: "failed";
|
|
1001
1001
|
refunded: "refunded";
|
|
1002
1002
|
}>;
|
|
1003
1003
|
paymentMethod: z.ZodEnum<{
|
|
@@ -1032,10 +1032,10 @@ export declare const customerPortalBookingFulfillmentSchema: z.ZodObject<{
|
|
|
1032
1032
|
mobile: "mobile";
|
|
1033
1033
|
}>;
|
|
1034
1034
|
deliveryChannel: z.ZodEnum<{
|
|
1035
|
+
api: "api";
|
|
1035
1036
|
email: "email";
|
|
1036
1037
|
other: "other";
|
|
1037
1038
|
download: "download";
|
|
1038
|
-
api: "api";
|
|
1039
1039
|
wallet: "wallet";
|
|
1040
1040
|
}>;
|
|
1041
1041
|
status: z.ZodEnum<{
|
|
@@ -1051,14 +1051,14 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
|
|
|
1051
1051
|
bookingId: z.ZodString;
|
|
1052
1052
|
bookingNumber: z.ZodString;
|
|
1053
1053
|
status: z.ZodEnum<{
|
|
1054
|
+
completed: "completed";
|
|
1055
|
+
cancelled: "cancelled";
|
|
1054
1056
|
draft: "draft";
|
|
1055
1057
|
on_hold: "on_hold";
|
|
1056
1058
|
awaiting_payment: "awaiting_payment";
|
|
1057
1059
|
confirmed: "confirmed";
|
|
1058
1060
|
in_progress: "in_progress";
|
|
1059
|
-
completed: "completed";
|
|
1060
1061
|
expired: "expired";
|
|
1061
|
-
cancelled: "cancelled";
|
|
1062
1062
|
}>;
|
|
1063
1063
|
sellCurrency: z.ZodString;
|
|
1064
1064
|
sellAmountCents: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1096,11 +1096,11 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
|
|
|
1096
1096
|
transport: "transport";
|
|
1097
1097
|
}>;
|
|
1098
1098
|
status: z.ZodEnum<{
|
|
1099
|
+
cancelled: "cancelled";
|
|
1099
1100
|
draft: "draft";
|
|
1100
1101
|
on_hold: "on_hold";
|
|
1101
1102
|
confirmed: "confirmed";
|
|
1102
1103
|
expired: "expired";
|
|
1103
|
-
cancelled: "cancelled";
|
|
1104
1104
|
fulfilled: "fulfilled";
|
|
1105
1105
|
}>;
|
|
1106
1106
|
serviceDate: z.ZodNullable<z.ZodString>;
|
|
@@ -1208,8 +1208,8 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
|
|
|
1208
1208
|
}>;
|
|
1209
1209
|
status: z.ZodEnum<{
|
|
1210
1210
|
pending: "pending";
|
|
1211
|
-
failed: "failed";
|
|
1212
1211
|
completed: "completed";
|
|
1212
|
+
failed: "failed";
|
|
1213
1213
|
refunded: "refunded";
|
|
1214
1214
|
}>;
|
|
1215
1215
|
paymentMethod: z.ZodEnum<{
|
|
@@ -1244,10 +1244,10 @@ export declare const customerPortalBookingDetailSchema: z.ZodObject<{
|
|
|
1244
1244
|
mobile: "mobile";
|
|
1245
1245
|
}>;
|
|
1246
1246
|
deliveryChannel: z.ZodEnum<{
|
|
1247
|
+
api: "api";
|
|
1247
1248
|
email: "email";
|
|
1248
1249
|
other: "other";
|
|
1249
1250
|
download: "download";
|
|
1250
|
-
api: "api";
|
|
1251
1251
|
wallet: "wallet";
|
|
1252
1252
|
}>;
|
|
1253
1253
|
status: z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/customer-portal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
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.30.0",
|
|
38
|
+
"@voyantjs/core": "0.30.0",
|
|
39
|
+
"@voyantjs/crm": "0.30.0",
|
|
40
|
+
"@voyantjs/db": "0.30.0",
|
|
41
|
+
"@voyantjs/finance": "0.30.0",
|
|
42
|
+
"@voyantjs/hono": "0.30.0",
|
|
43
|
+
"@voyantjs/identity": "0.30.0",
|
|
44
|
+
"@voyantjs/legal": "0.30.0",
|
|
45
|
+
"@voyantjs/utils": "0.30.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"typescript": "^6.0.2",
|