hububb-saas-shared 1.0.89 → 1.0.91
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/schemas/enums/index.d.ts +2 -3
- package/dist/schemas/enums/index.js +2 -3
- package/dist/schemas/service/index.d.ts +3 -0
- package/dist/schemas/service/index.js +1 -0
- package/dist/schemas/thread/index.d.ts +19 -0
- package/dist/schemas/user/index.d.ts +3 -0
- package/dist/schemas/user/index.js +1 -0
- package/package.json +1 -1
|
@@ -3,9 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceType = void 0;
|
|
4
4
|
var ServiceType;
|
|
5
5
|
(function (ServiceType) {
|
|
6
|
-
ServiceType["
|
|
7
|
-
ServiceType["
|
|
8
|
-
ServiceType["RECURRING"] = "RECURRING";
|
|
6
|
+
ServiceType["ON_DEMAND"] = "FULL";
|
|
7
|
+
ServiceType["SUBSCRIPTION"] = "PRORATED";
|
|
9
8
|
})(ServiceType || (exports.ServiceType = ServiceType = {}));
|
|
10
9
|
var TaskStatus;
|
|
11
10
|
(function (TaskStatus) {
|
|
@@ -4,6 +4,7 @@ export declare const serviceSchema: import("zod").ZodObject<{
|
|
|
4
4
|
name: import("zod").ZodString;
|
|
5
5
|
type: import("zod").ZodNativeEnum<typeof ServiceType>;
|
|
6
6
|
price: import("zod").ZodNumber;
|
|
7
|
+
content: import("zod").ZodString;
|
|
7
8
|
integrationName: import("zod").ZodString;
|
|
8
9
|
description: import("zod").ZodString;
|
|
9
10
|
image: import("zod").ZodString;
|
|
@@ -15,6 +16,7 @@ export declare const serviceSchema: import("zod").ZodObject<{
|
|
|
15
16
|
name: string;
|
|
16
17
|
type: ServiceType;
|
|
17
18
|
id: number;
|
|
19
|
+
content: string;
|
|
18
20
|
image: string;
|
|
19
21
|
description: string;
|
|
20
22
|
region: string;
|
|
@@ -27,6 +29,7 @@ export declare const serviceSchema: import("zod").ZodObject<{
|
|
|
27
29
|
name: string;
|
|
28
30
|
type: ServiceType;
|
|
29
31
|
id: number;
|
|
32
|
+
content: string;
|
|
30
33
|
image: string;
|
|
31
34
|
description: string;
|
|
32
35
|
region: string;
|
|
@@ -8,6 +8,7 @@ exports.serviceSchema = (0, zod_1.object)({
|
|
|
8
8
|
name: (0, zod_1.string)(),
|
|
9
9
|
type: (0, zod_1.nativeEnum)(enums_1.ServiceType),
|
|
10
10
|
price: (0, zod_1.number)(),
|
|
11
|
+
content: (0, zod_1.string)(),
|
|
11
12
|
integrationName: (0, zod_1.string)(),
|
|
12
13
|
description: (0, zod_1.string)(),
|
|
13
14
|
image: (0, zod_1.string)(),
|
|
@@ -22,6 +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.ZodString>;
|
|
25
26
|
}, "strip", z.ZodTypeAny, {
|
|
26
27
|
name: string;
|
|
27
28
|
id: string;
|
|
@@ -36,6 +37,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
36
37
|
userRoleId: number;
|
|
37
38
|
onboardingStep: number;
|
|
38
39
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
40
|
+
position?: string | undefined;
|
|
39
41
|
photoUrl?: string | undefined;
|
|
40
42
|
stripeCustomerId?: string | undefined;
|
|
41
43
|
hasFullAccess?: boolean | undefined;
|
|
@@ -53,6 +55,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
53
55
|
userRoleId: number;
|
|
54
56
|
onboardingStep: number;
|
|
55
57
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
58
|
+
position?: string | undefined;
|
|
56
59
|
photoUrl?: string | undefined;
|
|
57
60
|
stripeCustomerId?: string | undefined;
|
|
58
61
|
hasFullAccess?: boolean | undefined;
|
|
@@ -90,6 +93,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
90
93
|
userRoleId: number;
|
|
91
94
|
onboardingStep: number;
|
|
92
95
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
96
|
+
position?: string | undefined;
|
|
93
97
|
photoUrl?: string | undefined;
|
|
94
98
|
stripeCustomerId?: string | undefined;
|
|
95
99
|
hasFullAccess?: boolean | undefined;
|
|
@@ -121,6 +125,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
|
|
|
121
125
|
userRoleId: number;
|
|
122
126
|
onboardingStep: number;
|
|
123
127
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
128
|
+
position?: string | undefined;
|
|
124
129
|
photoUrl?: string | undefined;
|
|
125
130
|
stripeCustomerId?: string | undefined;
|
|
126
131
|
hasFullAccess?: boolean | undefined;
|
|
@@ -154,6 +159,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
154
159
|
onboardingStep: z.ZodNumber;
|
|
155
160
|
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
156
161
|
hasFullAccess: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
+
position: z.ZodOptional<z.ZodString>;
|
|
157
163
|
}, "strip", z.ZodTypeAny, {
|
|
158
164
|
name: string;
|
|
159
165
|
id: string;
|
|
@@ -168,6 +174,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
168
174
|
userRoleId: number;
|
|
169
175
|
onboardingStep: number;
|
|
170
176
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
177
|
+
position?: string | undefined;
|
|
171
178
|
photoUrl?: string | undefined;
|
|
172
179
|
stripeCustomerId?: string | undefined;
|
|
173
180
|
hasFullAccess?: boolean | undefined;
|
|
@@ -185,6 +192,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
185
192
|
userRoleId: number;
|
|
186
193
|
onboardingStep: number;
|
|
187
194
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
195
|
+
position?: string | undefined;
|
|
188
196
|
photoUrl?: string | undefined;
|
|
189
197
|
stripeCustomerId?: string | undefined;
|
|
190
198
|
hasFullAccess?: boolean | undefined;
|
|
@@ -222,6 +230,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
222
230
|
userRoleId: number;
|
|
223
231
|
onboardingStep: number;
|
|
224
232
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
233
|
+
position?: string | undefined;
|
|
225
234
|
photoUrl?: string | undefined;
|
|
226
235
|
stripeCustomerId?: string | undefined;
|
|
227
236
|
hasFullAccess?: boolean | undefined;
|
|
@@ -253,6 +262,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
253
262
|
userRoleId: number;
|
|
254
263
|
onboardingStep: number;
|
|
255
264
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
265
|
+
position?: string | undefined;
|
|
256
266
|
photoUrl?: string | undefined;
|
|
257
267
|
stripeCustomerId?: string | undefined;
|
|
258
268
|
hasFullAccess?: boolean | undefined;
|
|
@@ -278,6 +288,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
278
288
|
onboardingStep: z.ZodNumber;
|
|
279
289
|
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
280
290
|
hasFullAccess: z.ZodOptional<z.ZodBoolean>;
|
|
291
|
+
position: z.ZodOptional<z.ZodString>;
|
|
281
292
|
}, {
|
|
282
293
|
userRole: z.ZodOptional<z.ZodObject<{
|
|
283
294
|
id: z.ZodNumber;
|
|
@@ -309,6 +320,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
309
320
|
userRoleId: number;
|
|
310
321
|
onboardingStep: number;
|
|
311
322
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
323
|
+
position?: string | undefined;
|
|
312
324
|
photoUrl?: string | undefined;
|
|
313
325
|
stripeCustomerId?: string | undefined;
|
|
314
326
|
hasFullAccess?: boolean | undefined;
|
|
@@ -332,6 +344,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
332
344
|
userRoleId: number;
|
|
333
345
|
onboardingStep: number;
|
|
334
346
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
347
|
+
position?: string | undefined;
|
|
335
348
|
photoUrl?: string | undefined;
|
|
336
349
|
stripeCustomerId?: string | undefined;
|
|
337
350
|
hasFullAccess?: boolean | undefined;
|
|
@@ -540,6 +553,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
540
553
|
onboardingStep: z.ZodNumber;
|
|
541
554
|
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
542
555
|
hasFullAccess: z.ZodOptional<z.ZodBoolean>;
|
|
556
|
+
position: z.ZodOptional<z.ZodString>;
|
|
543
557
|
}, "name" | "id" | "email" | "firstName" | "lastName" | "phone" | "photoUrl" | "userRoleId">, "strip", z.ZodTypeAny, {
|
|
544
558
|
name: string;
|
|
545
559
|
id: string;
|
|
@@ -576,6 +590,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
576
590
|
onboardingStep: z.ZodNumber;
|
|
577
591
|
onboardingType: z.ZodUnion<[z.ZodLiteral<"AIRBNB_CONNECT">, z.ZodLiteral<"MANUAL_LISTING">]>;
|
|
578
592
|
hasFullAccess: z.ZodOptional<z.ZodBoolean>;
|
|
593
|
+
position: z.ZodOptional<z.ZodString>;
|
|
579
594
|
}, "name" | "id" | "firstName" | "lastName" | "photoUrl">, "strip", z.ZodTypeAny, {
|
|
580
595
|
name: string;
|
|
581
596
|
id: string;
|
|
@@ -626,6 +641,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
626
641
|
userRoleId: number;
|
|
627
642
|
onboardingStep: number;
|
|
628
643
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
644
|
+
position?: string | undefined;
|
|
629
645
|
photoUrl?: string | undefined;
|
|
630
646
|
stripeCustomerId?: string | undefined;
|
|
631
647
|
hasFullAccess?: boolean | undefined;
|
|
@@ -647,6 +663,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
647
663
|
userRoleId: number;
|
|
648
664
|
onboardingStep: number;
|
|
649
665
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
666
|
+
position?: string | undefined;
|
|
650
667
|
photoUrl?: string | undefined;
|
|
651
668
|
stripeCustomerId?: string | undefined;
|
|
652
669
|
hasFullAccess?: boolean | undefined;
|
|
@@ -753,6 +770,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
753
770
|
userRoleId: number;
|
|
754
771
|
onboardingStep: number;
|
|
755
772
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
773
|
+
position?: string | undefined;
|
|
756
774
|
photoUrl?: string | undefined;
|
|
757
775
|
stripeCustomerId?: string | undefined;
|
|
758
776
|
hasFullAccess?: boolean | undefined;
|
|
@@ -774,6 +792,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
774
792
|
userRoleId: number;
|
|
775
793
|
onboardingStep: number;
|
|
776
794
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
795
|
+
position?: string | undefined;
|
|
777
796
|
photoUrl?: string | undefined;
|
|
778
797
|
stripeCustomerId?: string | undefined;
|
|
779
798
|
hasFullAccess?: boolean | undefined;
|
|
@@ -15,6 +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").ZodString>;
|
|
18
19
|
}, "strip", import("zod").ZodTypeAny, {
|
|
19
20
|
name: string;
|
|
20
21
|
id: string;
|
|
@@ -29,6 +30,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
29
30
|
userRoleId: number;
|
|
30
31
|
onboardingStep: number;
|
|
31
32
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
33
|
+
position?: string | undefined;
|
|
32
34
|
photoUrl?: string | undefined;
|
|
33
35
|
stripeCustomerId?: string | undefined;
|
|
34
36
|
hasFullAccess?: boolean | undefined;
|
|
@@ -46,6 +48,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
46
48
|
userRoleId: number;
|
|
47
49
|
onboardingStep: number;
|
|
48
50
|
onboardingType: "AIRBNB_CONNECT" | "MANUAL_LISTING";
|
|
51
|
+
position?: string | undefined;
|
|
49
52
|
photoUrl?: string | undefined;
|
|
50
53
|
stripeCustomerId?: string | undefined;
|
|
51
54
|
hasFullAccess?: boolean | undefined;
|
|
@@ -19,4 +19,5 @@ 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.string)().optional(),
|
|
22
23
|
});
|