@voyantjs/storefront 0.82.1 → 0.84.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
CHANGED
|
@@ -733,7 +733,7 @@ export declare function createStorefrontPublicRoutes(options?: StorefrontService
|
|
|
733
733
|
session: {
|
|
734
734
|
sessionId: string;
|
|
735
735
|
bookingNumber: string;
|
|
736
|
-
status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress"
|
|
736
|
+
status: "completed" | "cancelled" | "expired" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress";
|
|
737
737
|
externalBookingRef: string | null;
|
|
738
738
|
communicationLanguage: string | null;
|
|
739
739
|
sellCurrency: string;
|
|
@@ -764,7 +764,7 @@ export declare function createStorefrontPublicRoutes(options?: StorefrontService
|
|
|
764
764
|
title: string;
|
|
765
765
|
description: string | null;
|
|
766
766
|
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
767
|
-
status: "cancelled" | "
|
|
767
|
+
status: "cancelled" | "expired" | "draft" | "on_hold" | "confirmed" | "fulfilled";
|
|
768
768
|
serviceDate: string | null;
|
|
769
769
|
startsAt: string | null;
|
|
770
770
|
endsAt: string | null;
|
|
@@ -797,7 +797,7 @@ export declare function createStorefrontPublicRoutes(options?: StorefrontService
|
|
|
797
797
|
availabilitySlotId: string | null;
|
|
798
798
|
quantity: number;
|
|
799
799
|
allocationType: "resource" | "pickup" | "unit";
|
|
800
|
-
status: "cancelled" | "
|
|
800
|
+
status: "cancelled" | "expired" | "confirmed" | "fulfilled" | "held" | "released";
|
|
801
801
|
holdExpiresAt: string | null;
|
|
802
802
|
confirmedAt: string | null;
|
|
803
803
|
releasedAt: string | null;
|
|
@@ -899,7 +899,7 @@ export declare function createStorefrontPublicRoutes(options?: StorefrontService
|
|
|
899
899
|
availabilitySlotId: string | null;
|
|
900
900
|
quantity: number;
|
|
901
901
|
allocationType: "resource" | "pickup" | "unit";
|
|
902
|
-
status: "cancelled" | "
|
|
902
|
+
status: "cancelled" | "expired" | "confirmed" | "fulfilled" | "held" | "released";
|
|
903
903
|
holdExpiresAt: string | null;
|
|
904
904
|
confirmedAt: string | null;
|
|
905
905
|
releasedAt: string | null;
|
|
@@ -56,7 +56,7 @@ export declare function bootstrapStorefrontBookingSession(context: StorefrontBoo
|
|
|
56
56
|
session: {
|
|
57
57
|
sessionId: string;
|
|
58
58
|
bookingNumber: string;
|
|
59
|
-
status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress"
|
|
59
|
+
status: "completed" | "cancelled" | "expired" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress";
|
|
60
60
|
externalBookingRef: string | null;
|
|
61
61
|
communicationLanguage: string | null;
|
|
62
62
|
sellCurrency: string;
|
|
@@ -87,7 +87,7 @@ export declare function bootstrapStorefrontBookingSession(context: StorefrontBoo
|
|
|
87
87
|
title: string;
|
|
88
88
|
description: string | null;
|
|
89
89
|
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
90
|
-
status: "cancelled" | "
|
|
90
|
+
status: "cancelled" | "expired" | "draft" | "on_hold" | "confirmed" | "fulfilled";
|
|
91
91
|
serviceDate: string | null;
|
|
92
92
|
startsAt: string | null;
|
|
93
93
|
endsAt: string | null;
|
|
@@ -120,7 +120,7 @@ export declare function bootstrapStorefrontBookingSession(context: StorefrontBoo
|
|
|
120
120
|
availabilitySlotId: string | null;
|
|
121
121
|
quantity: number;
|
|
122
122
|
allocationType: "resource" | "pickup" | "unit";
|
|
123
|
-
status: "cancelled" | "
|
|
123
|
+
status: "cancelled" | "expired" | "confirmed" | "fulfilled" | "held" | "released";
|
|
124
124
|
holdExpiresAt: string | null;
|
|
125
125
|
confirmedAt: string | null;
|
|
126
126
|
releasedAt: string | null;
|
|
@@ -215,7 +215,7 @@ export declare function bootstrapStorefrontBookingSession(context: StorefrontBoo
|
|
|
215
215
|
availabilitySlotId: string | null;
|
|
216
216
|
quantity: number;
|
|
217
217
|
allocationType: "resource" | "pickup" | "unit";
|
|
218
|
-
status: "cancelled" | "
|
|
218
|
+
status: "cancelled" | "expired" | "confirmed" | "fulfilled" | "held" | "released";
|
|
219
219
|
holdExpiresAt: string | null;
|
|
220
220
|
confirmedAt: string | null;
|
|
221
221
|
releasedAt: string | null;
|
package/dist/service.d.ts
CHANGED
|
@@ -825,7 +825,7 @@ export declare function createStorefrontService(options?: StorefrontServiceOptio
|
|
|
825
825
|
session: {
|
|
826
826
|
sessionId: string;
|
|
827
827
|
bookingNumber: string;
|
|
828
|
-
status: "completed" | "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress"
|
|
828
|
+
status: "completed" | "cancelled" | "expired" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress";
|
|
829
829
|
externalBookingRef: string | null;
|
|
830
830
|
communicationLanguage: string | null;
|
|
831
831
|
sellCurrency: string;
|
|
@@ -856,7 +856,7 @@ export declare function createStorefrontService(options?: StorefrontServiceOptio
|
|
|
856
856
|
title: string;
|
|
857
857
|
description: string | null;
|
|
858
858
|
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
859
|
-
status: "cancelled" | "
|
|
859
|
+
status: "cancelled" | "expired" | "draft" | "on_hold" | "confirmed" | "fulfilled";
|
|
860
860
|
serviceDate: string | null;
|
|
861
861
|
startsAt: string | null;
|
|
862
862
|
endsAt: string | null;
|
|
@@ -889,7 +889,7 @@ export declare function createStorefrontService(options?: StorefrontServiceOptio
|
|
|
889
889
|
availabilitySlotId: string | null;
|
|
890
890
|
quantity: number;
|
|
891
891
|
allocationType: "resource" | "pickup" | "unit";
|
|
892
|
-
status: "cancelled" | "
|
|
892
|
+
status: "cancelled" | "expired" | "confirmed" | "fulfilled" | "held" | "released";
|
|
893
893
|
holdExpiresAt: string | null;
|
|
894
894
|
confirmedAt: string | null;
|
|
895
895
|
releasedAt: string | null;
|
|
@@ -984,7 +984,7 @@ export declare function createStorefrontService(options?: StorefrontServiceOptio
|
|
|
984
984
|
availabilitySlotId: string | null;
|
|
985
985
|
quantity: number;
|
|
986
986
|
allocationType: "resource" | "pickup" | "unit";
|
|
987
|
-
status: "cancelled" | "
|
|
987
|
+
status: "cancelled" | "expired" | "confirmed" | "fulfilled" | "held" | "released";
|
|
988
988
|
holdExpiresAt: string | null;
|
|
989
989
|
confirmedAt: string | null;
|
|
990
990
|
releasedAt: string | null;
|
package/dist/validation.d.ts
CHANGED
|
@@ -1411,12 +1411,12 @@ export declare const storefrontBookingSessionBootstrapSchema: z.ZodObject<{
|
|
|
1411
1411
|
status: z.ZodEnum<{
|
|
1412
1412
|
completed: "completed";
|
|
1413
1413
|
cancelled: "cancelled";
|
|
1414
|
+
expired: "expired";
|
|
1414
1415
|
draft: "draft";
|
|
1415
1416
|
on_hold: "on_hold";
|
|
1416
1417
|
awaiting_payment: "awaiting_payment";
|
|
1417
1418
|
confirmed: "confirmed";
|
|
1418
1419
|
in_progress: "in_progress";
|
|
1419
|
-
expired: "expired";
|
|
1420
1420
|
}>;
|
|
1421
1421
|
externalBookingRef: z.ZodNullable<z.ZodString>;
|
|
1422
1422
|
communicationLanguage: z.ZodNullable<z.ZodString>;
|
|
@@ -1471,10 +1471,10 @@ export declare const storefrontBookingSessionBootstrapSchema: z.ZodObject<{
|
|
|
1471
1471
|
}>;
|
|
1472
1472
|
status: z.ZodEnum<{
|
|
1473
1473
|
cancelled: "cancelled";
|
|
1474
|
+
expired: "expired";
|
|
1474
1475
|
draft: "draft";
|
|
1475
1476
|
on_hold: "on_hold";
|
|
1476
1477
|
confirmed: "confirmed";
|
|
1477
|
-
expired: "expired";
|
|
1478
1478
|
fulfilled: "fulfilled";
|
|
1479
1479
|
}>;
|
|
1480
1480
|
serviceDate: z.ZodNullable<z.ZodString>;
|
|
@@ -1520,8 +1520,8 @@ export declare const storefrontBookingSessionBootstrapSchema: z.ZodObject<{
|
|
|
1520
1520
|
}>;
|
|
1521
1521
|
status: z.ZodEnum<{
|
|
1522
1522
|
cancelled: "cancelled";
|
|
1523
|
-
confirmed: "confirmed";
|
|
1524
1523
|
expired: "expired";
|
|
1524
|
+
confirmed: "confirmed";
|
|
1525
1525
|
fulfilled: "fulfilled";
|
|
1526
1526
|
held: "held";
|
|
1527
1527
|
released: "released";
|
|
@@ -1661,8 +1661,8 @@ export declare const storefrontBookingSessionBootstrapSchema: z.ZodObject<{
|
|
|
1661
1661
|
}>;
|
|
1662
1662
|
status: z.ZodEnum<{
|
|
1663
1663
|
cancelled: "cancelled";
|
|
1664
|
-
confirmed: "confirmed";
|
|
1665
1664
|
expired: "expired";
|
|
1665
|
+
confirmed: "confirmed";
|
|
1666
1666
|
fulfilled: "fulfilled";
|
|
1667
1667
|
held: "held";
|
|
1668
1668
|
released: "released";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/storefront",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.84.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
"drizzle-orm": "^0.45.2",
|
|
40
40
|
"hono": "^4.12.10",
|
|
41
41
|
"zod": "^4.3.6",
|
|
42
|
-
"@voyantjs/availability": "0.
|
|
43
|
-
"@voyantjs/
|
|
44
|
-
"@voyantjs/crm": "0.
|
|
45
|
-
"@voyantjs/
|
|
46
|
-
"@voyantjs/
|
|
47
|
-
"@voyantjs/
|
|
48
|
-
"@voyantjs/
|
|
49
|
-
"@voyantjs/
|
|
50
|
-
"@voyantjs/sellability": "0.
|
|
51
|
-
"@voyantjs/
|
|
42
|
+
"@voyantjs/availability": "0.84.0",
|
|
43
|
+
"@voyantjs/core": "0.84.0",
|
|
44
|
+
"@voyantjs/crm": "0.84.0",
|
|
45
|
+
"@voyantjs/extras": "0.84.0",
|
|
46
|
+
"@voyantjs/bookings": "0.84.0",
|
|
47
|
+
"@voyantjs/hono": "0.84.0",
|
|
48
|
+
"@voyantjs/pricing": "0.84.0",
|
|
49
|
+
"@voyantjs/products": "0.84.0",
|
|
50
|
+
"@voyantjs/sellability": "0.84.0",
|
|
51
|
+
"@voyantjs/finance": "0.84.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"typescript": "^6.0.2",
|
|
55
55
|
"vitest": "^4.1.2",
|
|
56
|
-
"@voyantjs/
|
|
57
|
-
"@voyantjs/
|
|
56
|
+
"@voyantjs/db": "0.84.0",
|
|
57
|
+
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
58
58
|
},
|
|
59
59
|
"files": [
|
|
60
60
|
"dist"
|