@voyant-travel/storefront 0.120.1 → 0.121.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 +2 -2
- package/dist/service.d.ts +2 -2
- package/dist/validation/intake.d.ts +2 -2
- package/dist/validation/intake.js +1 -1
- package/package.json +17 -17
package/dist/routes-public.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ export declare function createStorefrontPublicRoutes(options?: StorefrontService
|
|
|
135
135
|
personId: string;
|
|
136
136
|
kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
|
|
137
137
|
source: "admin" | "phone" | "booking" | "form" | "website" | "abandoned_cart";
|
|
138
|
-
status: "expired" | "
|
|
138
|
+
status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
|
|
139
139
|
duplicate: boolean;
|
|
140
140
|
};
|
|
141
141
|
};
|
|
@@ -160,7 +160,7 @@ export declare function createStorefrontPublicRoutes(options?: StorefrontService
|
|
|
160
160
|
personId: string;
|
|
161
161
|
kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
|
|
162
162
|
source: "admin" | "phone" | "booking" | "form" | "website" | "abandoned_cart";
|
|
163
|
-
status: "expired" | "
|
|
163
|
+
status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
|
|
164
164
|
duplicate: boolean;
|
|
165
165
|
doubleOptIn: "requested" | "not_configured";
|
|
166
166
|
};
|
package/dist/service.d.ts
CHANGED
|
@@ -1042,7 +1042,7 @@ export declare function createStorefrontService(options?: StorefrontServiceOptio
|
|
|
1042
1042
|
personId: string;
|
|
1043
1043
|
kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
|
|
1044
1044
|
source: "admin" | "phone" | "booking" | "form" | "website" | "abandoned_cart";
|
|
1045
|
-
status: "expired" | "
|
|
1045
|
+
status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
|
|
1046
1046
|
duplicate: boolean;
|
|
1047
1047
|
}>;
|
|
1048
1048
|
subscribeNewsletter(input: {
|
|
@@ -1053,7 +1053,7 @@ export declare function createStorefrontService(options?: StorefrontServiceOptio
|
|
|
1053
1053
|
personId: string;
|
|
1054
1054
|
kind: "notify" | "wishlist" | "inquiry" | "request_offer" | "referral";
|
|
1055
1055
|
source: "admin" | "phone" | "booking" | "form" | "website" | "abandoned_cart";
|
|
1056
|
-
status: "expired" | "
|
|
1056
|
+
status: "expired" | "new" | "contacted" | "qualified" | "converted" | "lost";
|
|
1057
1057
|
duplicate: boolean;
|
|
1058
1058
|
doubleOptIn: "requested" | "not_configured";
|
|
1059
1059
|
}>;
|
|
@@ -98,11 +98,11 @@ export declare const storefrontIntakeResponseSchema: z.ZodObject<{
|
|
|
98
98
|
}>;
|
|
99
99
|
status: z.ZodEnum<{
|
|
100
100
|
expired: "expired";
|
|
101
|
-
lost: "lost";
|
|
102
101
|
new: "new";
|
|
103
102
|
contacted: "contacted";
|
|
104
103
|
qualified: "qualified";
|
|
105
104
|
converted: "converted";
|
|
105
|
+
lost: "lost";
|
|
106
106
|
}>;
|
|
107
107
|
duplicate: z.ZodBoolean;
|
|
108
108
|
}, z.core.$strip>;
|
|
@@ -126,11 +126,11 @@ export declare const storefrontNewsletterSubscribeResponseSchema: z.ZodObject<{
|
|
|
126
126
|
}>;
|
|
127
127
|
status: z.ZodEnum<{
|
|
128
128
|
expired: "expired";
|
|
129
|
-
lost: "lost";
|
|
130
129
|
new: "new";
|
|
131
130
|
contacted: "contacted";
|
|
132
131
|
qualified: "qualified";
|
|
133
132
|
converted: "converted";
|
|
133
|
+
lost: "lost";
|
|
134
134
|
}>;
|
|
135
135
|
duplicate: z.ZodBoolean;
|
|
136
136
|
doubleOptIn: z.ZodEnum<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { customerSignalKindSchema, customerSignalSourceSchema, customerSignalStatusSchema, } from "@voyant-travel/
|
|
1
|
+
import { customerSignalKindSchema, customerSignalSourceSchema, customerSignalStatusSchema, } from "@voyant-travel/relationships-contracts/validation";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { languageTagSchema } from "../validation-settings.js";
|
|
4
4
|
const boundedRecordSchema = z
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/storefront",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.121.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -90,19 +90,19 @@
|
|
|
90
90
|
"drizzle-orm": "^0.45.2",
|
|
91
91
|
"hono": "^4.12.10",
|
|
92
92
|
"zod": "^4.3.6",
|
|
93
|
-
"@voyant-travel/bookings": "^0.
|
|
93
|
+
"@voyant-travel/bookings": "^0.120.1",
|
|
94
|
+
"@voyant-travel/commerce": "^0.2.2",
|
|
95
|
+
"@voyant-travel/db": "^0.108.1",
|
|
96
|
+
"@voyant-travel/finance": "^0.120.1",
|
|
94
97
|
"@voyant-travel/core": "^0.109.0",
|
|
95
|
-
"@voyant-travel/
|
|
96
|
-
"@voyant-travel/
|
|
97
|
-
"@voyant-travel/
|
|
98
|
-
"@voyant-travel/hono": "^0.109.1",
|
|
99
|
-
"@voyant-travel/finance": "^0.119.5",
|
|
100
|
-
"@voyant-travel/crm-contracts": "^0.106.1"
|
|
98
|
+
"@voyant-travel/hono": "^0.110.2",
|
|
99
|
+
"@voyant-travel/utils": "^0.105.2",
|
|
100
|
+
"@voyant-travel/relationships-contracts": "^0.107.0"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
|
-
"@voyant-travel/identity": "^0.
|
|
104
|
-
"@voyant-travel/legal": "^0.
|
|
105
|
-
"@voyant-travel/relationships": "^0.119.
|
|
103
|
+
"@voyant-travel/identity": "^0.120.1",
|
|
104
|
+
"@voyant-travel/legal": "^0.120.1",
|
|
105
|
+
"@voyant-travel/relationships": "^0.119.3"
|
|
106
106
|
},
|
|
107
107
|
"peerDependenciesMeta": {
|
|
108
108
|
"@voyant-travel/identity": {
|
|
@@ -118,12 +118,12 @@
|
|
|
118
118
|
"devDependencies": {
|
|
119
119
|
"typescript": "^6.0.2",
|
|
120
120
|
"vitest": "^4.1.2",
|
|
121
|
-
"@voyant-travel/identity": "^0.
|
|
122
|
-
"@voyant-travel/
|
|
123
|
-
"@voyant-travel/
|
|
124
|
-
"@voyant-travel/
|
|
125
|
-
"@voyant-travel/
|
|
126
|
-
"@voyant-travel/
|
|
121
|
+
"@voyant-travel/identity": "^0.120.1",
|
|
122
|
+
"@voyant-travel/inventory": "^0.2.0",
|
|
123
|
+
"@voyant-travel/legal": "^0.120.1",
|
|
124
|
+
"@voyant-travel/operations": "^0.1.0",
|
|
125
|
+
"@voyant-travel/relationships": "^0.119.3",
|
|
126
|
+
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
127
127
|
},
|
|
128
128
|
"files": [
|
|
129
129
|
"dist"
|