hububb-saas-shared 1.0.64 → 1.0.65
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.
|
@@ -21,7 +21,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
21
21
|
userRoleId: z.ZodNumber;
|
|
22
22
|
stripeCustomerId: z.ZodOptional<z.ZodString>;
|
|
23
23
|
onboardingStep: z.ZodNumber;
|
|
24
|
-
onboardingType: z.
|
|
24
|
+
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
name: string;
|
|
27
27
|
id: string;
|
|
@@ -35,7 +35,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
35
35
|
isOnboardingCompleted: boolean;
|
|
36
36
|
userRoleId: number;
|
|
37
37
|
onboardingStep: number;
|
|
38
|
-
onboardingType:
|
|
38
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
39
39
|
photoUrl?: string | undefined;
|
|
40
40
|
stripeCustomerId?: string | undefined;
|
|
41
41
|
}, {
|
|
@@ -51,7 +51,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
51
51
|
isOnboardingCompleted: boolean;
|
|
52
52
|
userRoleId: number;
|
|
53
53
|
onboardingStep: number;
|
|
54
|
-
onboardingType:
|
|
54
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
55
55
|
photoUrl?: string | undefined;
|
|
56
56
|
stripeCustomerId?: string | undefined;
|
|
57
57
|
}>>;
|
|
@@ -87,7 +87,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
87
87
|
isOnboardingCompleted: boolean;
|
|
88
88
|
userRoleId: number;
|
|
89
89
|
onboardingStep: number;
|
|
90
|
-
onboardingType:
|
|
90
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
91
91
|
photoUrl?: string | undefined;
|
|
92
92
|
stripeCustomerId?: string | undefined;
|
|
93
93
|
} | undefined;
|
|
@@ -117,7 +117,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
117
117
|
isOnboardingCompleted: boolean;
|
|
118
118
|
userRoleId: number;
|
|
119
119
|
onboardingStep: number;
|
|
120
|
-
onboardingType:
|
|
120
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
121
121
|
photoUrl?: string | undefined;
|
|
122
122
|
stripeCustomerId?: string | undefined;
|
|
123
123
|
} | undefined;
|
|
@@ -148,7 +148,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
148
148
|
userRoleId: z.ZodNumber;
|
|
149
149
|
stripeCustomerId: z.ZodOptional<z.ZodString>;
|
|
150
150
|
onboardingStep: z.ZodNumber;
|
|
151
|
-
onboardingType: z.
|
|
151
|
+
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
153
|
name: string;
|
|
154
154
|
id: string;
|
|
@@ -162,7 +162,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
162
162
|
isOnboardingCompleted: boolean;
|
|
163
163
|
userRoleId: number;
|
|
164
164
|
onboardingStep: number;
|
|
165
|
-
onboardingType:
|
|
165
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
166
166
|
photoUrl?: string | undefined;
|
|
167
167
|
stripeCustomerId?: string | undefined;
|
|
168
168
|
}, {
|
|
@@ -178,7 +178,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
178
178
|
isOnboardingCompleted: boolean;
|
|
179
179
|
userRoleId: number;
|
|
180
180
|
onboardingStep: number;
|
|
181
|
-
onboardingType:
|
|
181
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
182
182
|
photoUrl?: string | undefined;
|
|
183
183
|
stripeCustomerId?: string | undefined;
|
|
184
184
|
}>>;
|
|
@@ -214,7 +214,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
214
214
|
isOnboardingCompleted: boolean;
|
|
215
215
|
userRoleId: number;
|
|
216
216
|
onboardingStep: number;
|
|
217
|
-
onboardingType:
|
|
217
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
218
218
|
photoUrl?: string | undefined;
|
|
219
219
|
stripeCustomerId?: string | undefined;
|
|
220
220
|
} | undefined;
|
|
@@ -244,7 +244,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
244
244
|
isOnboardingCompleted: boolean;
|
|
245
245
|
userRoleId: number;
|
|
246
246
|
onboardingStep: number;
|
|
247
|
-
onboardingType:
|
|
247
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
248
248
|
photoUrl?: string | undefined;
|
|
249
249
|
stripeCustomerId?: string | undefined;
|
|
250
250
|
} | undefined;
|
|
@@ -267,7 +267,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
267
267
|
userRoleId: z.ZodNumber;
|
|
268
268
|
stripeCustomerId: z.ZodOptional<z.ZodString>;
|
|
269
269
|
onboardingStep: z.ZodNumber;
|
|
270
|
-
onboardingType: z.
|
|
270
|
+
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
272
|
name: string;
|
|
273
273
|
id: string;
|
|
@@ -281,7 +281,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
281
281
|
isOnboardingCompleted: boolean;
|
|
282
282
|
userRoleId: number;
|
|
283
283
|
onboardingStep: number;
|
|
284
|
-
onboardingType:
|
|
284
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
285
285
|
photoUrl?: string | undefined;
|
|
286
286
|
stripeCustomerId?: string | undefined;
|
|
287
287
|
}, {
|
|
@@ -297,7 +297,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
297
297
|
isOnboardingCompleted: boolean;
|
|
298
298
|
userRoleId: number;
|
|
299
299
|
onboardingStep: number;
|
|
300
|
-
onboardingType:
|
|
300
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
301
301
|
photoUrl?: string | undefined;
|
|
302
302
|
stripeCustomerId?: string | undefined;
|
|
303
303
|
}>, "many">>;
|
|
@@ -507,7 +507,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
507
507
|
isOnboardingCompleted: boolean;
|
|
508
508
|
userRoleId: number;
|
|
509
509
|
onboardingStep: number;
|
|
510
|
-
onboardingType:
|
|
510
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
511
511
|
photoUrl?: string | undefined;
|
|
512
512
|
stripeCustomerId?: string | undefined;
|
|
513
513
|
} | undefined;
|
|
@@ -527,7 +527,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
527
527
|
isOnboardingCompleted: boolean;
|
|
528
528
|
userRoleId: number;
|
|
529
529
|
onboardingStep: number;
|
|
530
|
-
onboardingType:
|
|
530
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
531
531
|
photoUrl?: string | undefined;
|
|
532
532
|
stripeCustomerId?: string | undefined;
|
|
533
533
|
}[] | undefined;
|
|
@@ -606,7 +606,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
606
606
|
isOnboardingCompleted: boolean;
|
|
607
607
|
userRoleId: number;
|
|
608
608
|
onboardingStep: number;
|
|
609
|
-
onboardingType:
|
|
609
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
610
610
|
photoUrl?: string | undefined;
|
|
611
611
|
stripeCustomerId?: string | undefined;
|
|
612
612
|
} | undefined;
|
|
@@ -626,7 +626,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
626
626
|
isOnboardingCompleted: boolean;
|
|
627
627
|
userRoleId: number;
|
|
628
628
|
onboardingStep: number;
|
|
629
|
-
onboardingType:
|
|
629
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
630
630
|
photoUrl?: string | undefined;
|
|
631
631
|
stripeCustomerId?: string | undefined;
|
|
632
632
|
}[] | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnboardingType } from "../../types";
|
|
2
1
|
export declare const userSchema: import("zod").ZodObject<{
|
|
3
2
|
id: import("zod").ZodString;
|
|
4
3
|
name: import("zod").ZodString;
|
|
@@ -14,7 +13,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
14
13
|
userRoleId: import("zod").ZodNumber;
|
|
15
14
|
stripeCustomerId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
15
|
onboardingStep: import("zod").ZodNumber;
|
|
17
|
-
onboardingType: import("zod").
|
|
16
|
+
onboardingType: import("zod").ZodUnion<[import("zod").ZodLiteral<"AIRBNB_CONNECT">, import("zod").ZodLiteral<"MANUAL_LISTING">]>;
|
|
18
17
|
}, "strip", import("zod").ZodTypeAny, {
|
|
19
18
|
name: string;
|
|
20
19
|
id: string;
|
|
@@ -28,7 +27,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
28
27
|
isOnboardingCompleted: boolean;
|
|
29
28
|
userRoleId: number;
|
|
30
29
|
onboardingStep: number;
|
|
31
|
-
onboardingType:
|
|
30
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
32
31
|
photoUrl?: string | undefined;
|
|
33
32
|
stripeCustomerId?: string | undefined;
|
|
34
33
|
}, {
|
|
@@ -44,7 +43,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
44
43
|
isOnboardingCompleted: boolean;
|
|
45
44
|
userRoleId: number;
|
|
46
45
|
onboardingStep: number;
|
|
47
|
-
onboardingType:
|
|
46
|
+
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
48
47
|
photoUrl?: string | undefined;
|
|
49
48
|
stripeCustomerId?: string | undefined;
|
|
50
49
|
}>;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.userSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const types_1 = require("../../types");
|
|
6
5
|
exports.userSchema = (0, zod_1.object)({
|
|
7
6
|
id: (0, zod_1.string)(),
|
|
8
7
|
name: (0, zod_1.string)(),
|
|
@@ -18,5 +17,5 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
18
17
|
userRoleId: (0, zod_1.number)(),
|
|
19
18
|
stripeCustomerId: (0, zod_1.string)().optional(),
|
|
20
19
|
onboardingStep: (0, zod_1.number)(),
|
|
21
|
-
onboardingType: (0, zod_1.
|
|
20
|
+
onboardingType: (0, zod_1.union)([(0, zod_1.literal)("AIRBNB_CONNECT"), (0, zod_1.literal)("MANUAL_LISTING")]),
|
|
22
21
|
});
|