hububb-saas-shared 1.0.99 → 1.0.100
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.
|
@@ -22,7 +22,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
22
22
|
onboardingStep: z.ZodNumber;
|
|
23
23
|
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
24
24
|
hasFullAccess: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
-
position: z.ZodOptional<z.
|
|
25
|
+
position: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"bookkeper">, z.ZodLiteral<"customer-experience">, z.ZodLiteral<"customer-experience-head">, z.ZodLiteral<"guest-coordinator">, z.ZodLiteral<"guest-coordinator-head">, z.ZodLiteral<"property-management">, z.ZodLiteral<"property-management-head">, z.ZodLiteral<"account-manager">, z.ZodLiteral<"developer">, z.ZodLiteral<"finance">, z.ZodLiteral<"finance-head">, z.ZodLiteral<"marketing">, z.ZodLiteral<"product">, z.ZodLiteral<"product-head">]>>;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
name: string;
|
|
28
28
|
id: string;
|
|
@@ -37,7 +37,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
37
37
|
userRoleId: number;
|
|
38
38
|
onboardingStep: number;
|
|
39
39
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
40
|
-
position?:
|
|
40
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
41
41
|
photoUrl?: string | undefined;
|
|
42
42
|
stripeCustomerId?: string | undefined;
|
|
43
43
|
hasFullAccess?: boolean | undefined;
|
|
@@ -55,7 +55,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
55
55
|
userRoleId: number;
|
|
56
56
|
onboardingStep: number;
|
|
57
57
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
58
|
-
position?:
|
|
58
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
59
59
|
photoUrl?: string | undefined;
|
|
60
60
|
stripeCustomerId?: string | undefined;
|
|
61
61
|
hasFullAccess?: boolean | undefined;
|
|
@@ -93,7 +93,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
93
93
|
userRoleId: number;
|
|
94
94
|
onboardingStep: number;
|
|
95
95
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
96
|
-
position?:
|
|
96
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
97
97
|
photoUrl?: string | undefined;
|
|
98
98
|
stripeCustomerId?: string | undefined;
|
|
99
99
|
hasFullAccess?: boolean | undefined;
|
|
@@ -125,7 +125,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
125
125
|
userRoleId: number;
|
|
126
126
|
onboardingStep: number;
|
|
127
127
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
128
|
-
position?:
|
|
128
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
129
129
|
photoUrl?: string | undefined;
|
|
130
130
|
stripeCustomerId?: string | undefined;
|
|
131
131
|
hasFullAccess?: boolean | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
159
159
|
onboardingStep: z.ZodNumber;
|
|
160
160
|
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
161
161
|
hasFullAccess: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
-
position: z.ZodOptional<z.
|
|
162
|
+
position: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"bookkeper">, z.ZodLiteral<"customer-experience">, z.ZodLiteral<"customer-experience-head">, z.ZodLiteral<"guest-coordinator">, z.ZodLiteral<"guest-coordinator-head">, z.ZodLiteral<"property-management">, z.ZodLiteral<"property-management-head">, z.ZodLiteral<"account-manager">, z.ZodLiteral<"developer">, z.ZodLiteral<"finance">, z.ZodLiteral<"finance-head">, z.ZodLiteral<"marketing">, z.ZodLiteral<"product">, z.ZodLiteral<"product-head">]>>;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
164
|
name: string;
|
|
165
165
|
id: string;
|
|
@@ -174,7 +174,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
174
174
|
userRoleId: number;
|
|
175
175
|
onboardingStep: number;
|
|
176
176
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
177
|
-
position?:
|
|
177
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
178
178
|
photoUrl?: string | undefined;
|
|
179
179
|
stripeCustomerId?: string | undefined;
|
|
180
180
|
hasFullAccess?: boolean | undefined;
|
|
@@ -192,7 +192,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
192
192
|
userRoleId: number;
|
|
193
193
|
onboardingStep: number;
|
|
194
194
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
195
|
-
position?:
|
|
195
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
196
196
|
photoUrl?: string | undefined;
|
|
197
197
|
stripeCustomerId?: string | undefined;
|
|
198
198
|
hasFullAccess?: boolean | undefined;
|
|
@@ -230,7 +230,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
230
230
|
userRoleId: number;
|
|
231
231
|
onboardingStep: number;
|
|
232
232
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
233
|
-
position?:
|
|
233
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
234
234
|
photoUrl?: string | undefined;
|
|
235
235
|
stripeCustomerId?: string | undefined;
|
|
236
236
|
hasFullAccess?: boolean | undefined;
|
|
@@ -262,7 +262,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
262
262
|
userRoleId: number;
|
|
263
263
|
onboardingStep: number;
|
|
264
264
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
265
|
-
position?:
|
|
265
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
266
266
|
photoUrl?: string | undefined;
|
|
267
267
|
stripeCustomerId?: string | undefined;
|
|
268
268
|
hasFullAccess?: boolean | undefined;
|
|
@@ -288,7 +288,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
288
288
|
onboardingStep: z.ZodNumber;
|
|
289
289
|
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
290
290
|
hasFullAccess: z.ZodOptional<z.ZodBoolean>;
|
|
291
|
-
position: z.ZodOptional<z.
|
|
291
|
+
position: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"bookkeper">, z.ZodLiteral<"customer-experience">, z.ZodLiteral<"customer-experience-head">, z.ZodLiteral<"guest-coordinator">, z.ZodLiteral<"guest-coordinator-head">, z.ZodLiteral<"property-management">, z.ZodLiteral<"property-management-head">, z.ZodLiteral<"account-manager">, z.ZodLiteral<"developer">, z.ZodLiteral<"finance">, z.ZodLiteral<"finance-head">, z.ZodLiteral<"marketing">, z.ZodLiteral<"product">, z.ZodLiteral<"product-head">]>>;
|
|
292
292
|
}, {
|
|
293
293
|
userRole: z.ZodOptional<z.ZodObject<{
|
|
294
294
|
id: z.ZodNumber;
|
|
@@ -320,7 +320,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
320
320
|
userRoleId: number;
|
|
321
321
|
onboardingStep: number;
|
|
322
322
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
323
|
-
position?:
|
|
323
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
324
324
|
photoUrl?: string | undefined;
|
|
325
325
|
stripeCustomerId?: string | undefined;
|
|
326
326
|
hasFullAccess?: boolean | undefined;
|
|
@@ -344,7 +344,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
344
344
|
userRoleId: number;
|
|
345
345
|
onboardingStep: number;
|
|
346
346
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
347
|
-
position?:
|
|
347
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
348
348
|
photoUrl?: string | undefined;
|
|
349
349
|
stripeCustomerId?: string | undefined;
|
|
350
350
|
hasFullAccess?: boolean | undefined;
|
|
@@ -563,7 +563,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
563
563
|
onboardingStep: z.ZodNumber;
|
|
564
564
|
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
565
565
|
hasFullAccess: z.ZodOptional<z.ZodBoolean>;
|
|
566
|
-
position: z.ZodOptional<z.
|
|
566
|
+
position: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"bookkeper">, z.ZodLiteral<"customer-experience">, z.ZodLiteral<"customer-experience-head">, z.ZodLiteral<"guest-coordinator">, z.ZodLiteral<"guest-coordinator-head">, z.ZodLiteral<"property-management">, z.ZodLiteral<"property-management-head">, z.ZodLiteral<"account-manager">, z.ZodLiteral<"developer">, z.ZodLiteral<"finance">, z.ZodLiteral<"finance-head">, z.ZodLiteral<"marketing">, z.ZodLiteral<"product">, z.ZodLiteral<"product-head">]>>;
|
|
567
567
|
}, "name" | "id" | "email" | "firstName" | "lastName" | "phone" | "photoUrl" | "userRoleId">, "strip", z.ZodTypeAny, {
|
|
568
568
|
name: string;
|
|
569
569
|
id: string;
|
|
@@ -600,7 +600,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
600
600
|
onboardingStep: z.ZodNumber;
|
|
601
601
|
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
602
602
|
hasFullAccess: z.ZodOptional<z.ZodBoolean>;
|
|
603
|
-
position: z.ZodOptional<z.
|
|
603
|
+
position: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"bookkeper">, z.ZodLiteral<"customer-experience">, z.ZodLiteral<"customer-experience-head">, z.ZodLiteral<"guest-coordinator">, z.ZodLiteral<"guest-coordinator-head">, z.ZodLiteral<"property-management">, z.ZodLiteral<"property-management-head">, z.ZodLiteral<"account-manager">, z.ZodLiteral<"developer">, z.ZodLiteral<"finance">, z.ZodLiteral<"finance-head">, z.ZodLiteral<"marketing">, z.ZodLiteral<"product">, z.ZodLiteral<"product-head">]>>;
|
|
604
604
|
}, "name" | "id" | "firstName" | "lastName" | "photoUrl">, "strip", z.ZodTypeAny, {
|
|
605
605
|
name: string;
|
|
606
606
|
id: string;
|
|
@@ -652,7 +652,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
652
652
|
userRoleId: number;
|
|
653
653
|
onboardingStep: number;
|
|
654
654
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
655
|
-
position?:
|
|
655
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
656
656
|
photoUrl?: string | undefined;
|
|
657
657
|
stripeCustomerId?: string | undefined;
|
|
658
658
|
hasFullAccess?: boolean | undefined;
|
|
@@ -674,7 +674,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
674
674
|
userRoleId: number;
|
|
675
675
|
onboardingStep: number;
|
|
676
676
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
677
|
-
position?:
|
|
677
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
678
678
|
photoUrl?: string | undefined;
|
|
679
679
|
stripeCustomerId?: string | undefined;
|
|
680
680
|
hasFullAccess?: boolean | undefined;
|
|
@@ -784,7 +784,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
784
784
|
userRoleId: number;
|
|
785
785
|
onboardingStep: number;
|
|
786
786
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
787
|
-
position?:
|
|
787
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
788
788
|
photoUrl?: string | undefined;
|
|
789
789
|
stripeCustomerId?: string | undefined;
|
|
790
790
|
hasFullAccess?: boolean | undefined;
|
|
@@ -806,7 +806,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
806
806
|
userRoleId: number;
|
|
807
807
|
onboardingStep: number;
|
|
808
808
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
809
|
-
position?:
|
|
809
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
810
810
|
photoUrl?: string | undefined;
|
|
811
811
|
stripeCustomerId?: string | undefined;
|
|
812
812
|
hasFullAccess?: boolean | undefined;
|
|
@@ -15,7 +15,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
15
15
|
onboardingStep: import("zod").ZodNumber;
|
|
16
16
|
onboardingType: import("zod").ZodUnion<[import("zod").ZodLiteral<"AIRBNB_CONNECT">, import("zod").ZodLiteral<"MANUAL_LISTING">]>;
|
|
17
17
|
hasFullAccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
18
|
-
position: import("zod").ZodOptional<import("zod").
|
|
18
|
+
position: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"bookkeper">, import("zod").ZodLiteral<"customer-experience">, import("zod").ZodLiteral<"customer-experience-head">, import("zod").ZodLiteral<"guest-coordinator">, import("zod").ZodLiteral<"guest-coordinator-head">, import("zod").ZodLiteral<"property-management">, import("zod").ZodLiteral<"property-management-head">, import("zod").ZodLiteral<"account-manager">, import("zod").ZodLiteral<"developer">, import("zod").ZodLiteral<"finance">, import("zod").ZodLiteral<"finance-head">, import("zod").ZodLiteral<"marketing">, import("zod").ZodLiteral<"product">, import("zod").ZodLiteral<"product-head">]>>;
|
|
19
19
|
}, "strip", import("zod").ZodTypeAny, {
|
|
20
20
|
name: string;
|
|
21
21
|
id: string;
|
|
@@ -30,7 +30,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
30
30
|
userRoleId: number;
|
|
31
31
|
onboardingStep: number;
|
|
32
32
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
33
|
-
position?:
|
|
33
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
34
34
|
photoUrl?: string | undefined;
|
|
35
35
|
stripeCustomerId?: string | undefined;
|
|
36
36
|
hasFullAccess?: boolean | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
48
48
|
userRoleId: number;
|
|
49
49
|
onboardingStep: number;
|
|
50
50
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
51
|
-
position?:
|
|
51
|
+
position?: "product" | "bookkeper" | "customer-experience" | "customer-experience-head" | "guest-coordinator" | "guest-coordinator-head" | "property-management" | "property-management-head" | "account-manager" | "developer" | "finance" | "finance-head" | "marketing" | "product-head" | undefined;
|
|
52
52
|
photoUrl?: string | undefined;
|
|
53
53
|
stripeCustomerId?: string | undefined;
|
|
54
54
|
hasFullAccess?: boolean | undefined;
|
|
@@ -19,5 +19,20 @@ exports.userSchema = (0, zod_1.object)({
|
|
|
19
19
|
onboardingStep: (0, zod_1.number)(),
|
|
20
20
|
onboardingType: (0, zod_1.union)([(0, zod_1.literal)("AIRBNB_CONNECT"), (0, zod_1.literal)("MANUAL_LISTING")]),
|
|
21
21
|
hasFullAccess: (0, zod_1.boolean)().optional(),
|
|
22
|
-
position: (0, zod_1.
|
|
22
|
+
position: (0, zod_1.union)([
|
|
23
|
+
(0, zod_1.literal)("bookkeper"),
|
|
24
|
+
(0, zod_1.literal)("customer-experience"),
|
|
25
|
+
(0, zod_1.literal)("customer-experience-head"),
|
|
26
|
+
(0, zod_1.literal)("guest-coordinator"),
|
|
27
|
+
(0, zod_1.literal)("guest-coordinator-head"),
|
|
28
|
+
(0, zod_1.literal)("property-management"),
|
|
29
|
+
(0, zod_1.literal)("property-management-head"),
|
|
30
|
+
(0, zod_1.literal)("account-manager"),
|
|
31
|
+
(0, zod_1.literal)("developer"),
|
|
32
|
+
(0, zod_1.literal)("finance"),
|
|
33
|
+
(0, zod_1.literal)("finance-head"),
|
|
34
|
+
(0, zod_1.literal)("marketing"),
|
|
35
|
+
(0, zod_1.literal)("product"),
|
|
36
|
+
(0, zod_1.literal)("product-head"),
|
|
37
|
+
]).optional(),
|
|
23
38
|
});
|