hububb-saas-shared 1.2.39 → 1.2.41
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/service-provider/index.d.ts +6 -0
- package/dist/schemas/service-provider/index.js +2 -0
- package/dist/schemas/thread/index.d.ts +20 -20
- package/dist/types/enums/index.d.ts +9 -0
- package/dist/types/enums/index.js +11 -1
- package/dist/types/user/index.d.ts +1 -0
- package/dist/types/user-role/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -16,6 +16,8 @@ export declare const ServiceProviderSchema: import("zod").ZodObject<{
|
|
|
16
16
|
businessType: import("zod").ZodNullable<import("zod").ZodString>;
|
|
17
17
|
ownerId: import("zod").ZodString;
|
|
18
18
|
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"INDIVIDUAL">, import("zod").ZodLiteral<"BUSINESS">]>;
|
|
19
|
+
onboardingStep: import("zod").ZodString;
|
|
20
|
+
isOnboardingCompleted: import("zod").ZodBoolean;
|
|
19
21
|
}, "strip", import("zod").ZodTypeAny, {
|
|
20
22
|
name: string;
|
|
21
23
|
type: "INDIVIDUAL" | "BUSINESS";
|
|
@@ -26,6 +28,8 @@ export declare const ServiceProviderSchema: import("zod").ZodObject<{
|
|
|
26
28
|
createdAt: Date;
|
|
27
29
|
updatedAt: Date;
|
|
28
30
|
phone: string | null;
|
|
31
|
+
isOnboardingCompleted: boolean;
|
|
32
|
+
onboardingStep: string;
|
|
29
33
|
rating: number | null;
|
|
30
34
|
website: string | null;
|
|
31
35
|
logo: string | null;
|
|
@@ -44,6 +48,8 @@ export declare const ServiceProviderSchema: import("zod").ZodObject<{
|
|
|
44
48
|
createdAt: Date;
|
|
45
49
|
updatedAt: Date;
|
|
46
50
|
phone: string | null;
|
|
51
|
+
isOnboardingCompleted: boolean;
|
|
52
|
+
onboardingStep: string;
|
|
47
53
|
rating: number | null;
|
|
48
54
|
website: string | null;
|
|
49
55
|
logo: string | null;
|
|
@@ -23,6 +23,8 @@ exports.ServiceProviderSchema = (0, zod_1.object)({
|
|
|
23
23
|
businessType: (0, zod_1.string)().nullable(),
|
|
24
24
|
ownerId: (0, zod_1.string)(),
|
|
25
25
|
type: (0, zod_1.literal)("INDIVIDUAL").or((0, zod_1.literal)("BUSINESS")),
|
|
26
|
+
onboardingStep: (0, zod_1.string)(),
|
|
27
|
+
isOnboardingCompleted: (0, zod_1.boolean)(),
|
|
26
28
|
});
|
|
27
29
|
exports.ServiceProviderAreaSchema = (0, zod_1.object)({
|
|
28
30
|
id: (0, zod_1.number)(),
|
|
@@ -1382,6 +1382,16 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
1382
1382
|
id?: string | undefined;
|
|
1383
1383
|
source?: string | undefined;
|
|
1384
1384
|
title?: string | undefined;
|
|
1385
|
+
landlord?: {
|
|
1386
|
+
name: string;
|
|
1387
|
+
id: string;
|
|
1388
|
+
email: string;
|
|
1389
|
+
firstName: string;
|
|
1390
|
+
lastName: string;
|
|
1391
|
+
phone: string;
|
|
1392
|
+
userRoleId: number;
|
|
1393
|
+
photoUrl?: string | undefined;
|
|
1394
|
+
} | undefined;
|
|
1385
1395
|
propertyId?: number | undefined;
|
|
1386
1396
|
lastMessage?: {
|
|
1387
1397
|
id: string;
|
|
@@ -1542,16 +1552,6 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
1542
1552
|
whatsappTemplateSent?: boolean | undefined;
|
|
1543
1553
|
whatsappUserReplied?: boolean | undefined;
|
|
1544
1554
|
lastWhatsappMessageSentAt?: import("../../helpers").Timestamp | undefined;
|
|
1545
|
-
landlord?: {
|
|
1546
|
-
name: string;
|
|
1547
|
-
id: string;
|
|
1548
|
-
email: string;
|
|
1549
|
-
firstName: string;
|
|
1550
|
-
lastName: string;
|
|
1551
|
-
phone: string;
|
|
1552
|
-
userRoleId: number;
|
|
1553
|
-
photoUrl?: string | undefined;
|
|
1554
|
-
} | undefined;
|
|
1555
1555
|
operator?: {
|
|
1556
1556
|
name: string;
|
|
1557
1557
|
id: string;
|
|
@@ -1571,6 +1571,16 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
1571
1571
|
id?: string | undefined;
|
|
1572
1572
|
source?: string | undefined;
|
|
1573
1573
|
title?: string | undefined;
|
|
1574
|
+
landlord?: {
|
|
1575
|
+
name: string;
|
|
1576
|
+
id: string;
|
|
1577
|
+
email: string;
|
|
1578
|
+
firstName: string;
|
|
1579
|
+
lastName: string;
|
|
1580
|
+
phone: string;
|
|
1581
|
+
userRoleId: number;
|
|
1582
|
+
photoUrl?: string | undefined;
|
|
1583
|
+
} | undefined;
|
|
1574
1584
|
propertyId?: number | undefined;
|
|
1575
1585
|
lastMessage?: {
|
|
1576
1586
|
id: string;
|
|
@@ -1731,16 +1741,6 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
1731
1741
|
whatsappTemplateSent?: boolean | undefined;
|
|
1732
1742
|
whatsappUserReplied?: boolean | undefined;
|
|
1733
1743
|
lastWhatsappMessageSentAt?: import("../../helpers").Timestamp | undefined;
|
|
1734
|
-
landlord?: {
|
|
1735
|
-
name: string;
|
|
1736
|
-
id: string;
|
|
1737
|
-
email: string;
|
|
1738
|
-
firstName: string;
|
|
1739
|
-
lastName: string;
|
|
1740
|
-
phone: string;
|
|
1741
|
-
userRoleId: number;
|
|
1742
|
-
photoUrl?: string | undefined;
|
|
1743
|
-
} | undefined;
|
|
1744
1744
|
operator?: {
|
|
1745
1745
|
name: string;
|
|
1746
1746
|
id: string;
|
|
@@ -155,6 +155,15 @@ export declare enum TaskReportingPhotoType {
|
|
|
155
155
|
BEFORE = "BEFORE",
|
|
156
156
|
AFTER = "AFTER"
|
|
157
157
|
}
|
|
158
|
+
export declare enum UserRoleType {
|
|
159
|
+
admin = "admin",
|
|
160
|
+
landlord = "landlord",
|
|
161
|
+
operations = "operations",
|
|
162
|
+
provider_owner = "provider_owner",
|
|
163
|
+
individual_provider = "individual_provider",
|
|
164
|
+
provider_worker = "provider_worker",
|
|
165
|
+
guest = "guest"
|
|
166
|
+
}
|
|
158
167
|
export declare enum TaskPricingStatus {
|
|
159
168
|
PENDING = "PENDING",
|
|
160
169
|
PAID = "PAID",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HumanReviewStatus = exports.HumanReviewPriority = exports.TaskPricingStatus = exports.TaskReportingPhotoType = exports.TaskReportingVideoType = exports.TaskQuoteStatus = exports.TaskInventoryDetergentItemFillStateAfterCompletion = exports.TaskInventoryItemStatus = exports.TaskInventoryStatus = exports.InventoryItemCategory = exports.TaskBlockReason = exports.InvitedServiceProviderPreferencesPriority = exports.InvitedServiceProviderStatus = exports.PropertyManagerSessionType = exports.PropertyManagerSuggestionStatus = exports.PropertyManagerSessionStatus = exports.AgentActionType = exports.AgentSessionStatus = exports.GuestCoordinatorResponseStyle = exports.AiAgentCategory = exports.PropertyType = exports.OnboardingType = exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceCategory = exports.ServiceGroup = exports.ServiceType = void 0;
|
|
3
|
+
exports.HumanReviewStatus = exports.HumanReviewPriority = exports.TaskPricingStatus = exports.UserRoleType = exports.TaskReportingPhotoType = exports.TaskReportingVideoType = exports.TaskQuoteStatus = exports.TaskInventoryDetergentItemFillStateAfterCompletion = exports.TaskInventoryItemStatus = exports.TaskInventoryStatus = exports.InventoryItemCategory = exports.TaskBlockReason = exports.InvitedServiceProviderPreferencesPriority = exports.InvitedServiceProviderStatus = exports.PropertyManagerSessionType = exports.PropertyManagerSuggestionStatus = exports.PropertyManagerSessionStatus = exports.AgentActionType = exports.AgentSessionStatus = exports.GuestCoordinatorResponseStyle = exports.AiAgentCategory = exports.PropertyType = exports.OnboardingType = exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceCategory = exports.ServiceGroup = exports.ServiceType = void 0;
|
|
4
4
|
var ServiceType;
|
|
5
5
|
(function (ServiceType) {
|
|
6
6
|
ServiceType["INTEGRATION"] = "INTEGRATION";
|
|
@@ -191,6 +191,16 @@ var TaskReportingPhotoType;
|
|
|
191
191
|
TaskReportingPhotoType["BEFORE"] = "BEFORE";
|
|
192
192
|
TaskReportingPhotoType["AFTER"] = "AFTER";
|
|
193
193
|
})(TaskReportingPhotoType || (exports.TaskReportingPhotoType = TaskReportingPhotoType = {}));
|
|
194
|
+
var UserRoleType;
|
|
195
|
+
(function (UserRoleType) {
|
|
196
|
+
UserRoleType["admin"] = "admin";
|
|
197
|
+
UserRoleType["landlord"] = "landlord";
|
|
198
|
+
UserRoleType["operations"] = "operations";
|
|
199
|
+
UserRoleType["provider_owner"] = "provider_owner";
|
|
200
|
+
UserRoleType["individual_provider"] = "individual_provider";
|
|
201
|
+
UserRoleType["provider_worker"] = "provider_worker";
|
|
202
|
+
UserRoleType["guest"] = "guest";
|
|
203
|
+
})(UserRoleType || (exports.UserRoleType = UserRoleType = {}));
|
|
194
204
|
var TaskPricingStatus;
|
|
195
205
|
(function (TaskPricingStatus) {
|
|
196
206
|
TaskPricingStatus["PENDING"] = "PENDING";
|