hububb-saas-shared 1.2.17 → 1.2.19
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/additional-task-automation-service/index.d.ts +19 -0
- package/dist/schemas/additional-task-automation-service/index.js +11 -0
- package/dist/schemas/additional-task-service/index.d.ts +19 -0
- package/dist/schemas/additional-task-service/index.js +11 -0
- package/dist/schemas/index.d.ts +4 -0
- package/dist/schemas/index.js +4 -0
- package/dist/schemas/invited-service-provider/index.d.ts +35 -0
- package/dist/schemas/invited-service-provider/index.js +17 -0
- package/dist/schemas/invited-service-provider-preferences/index.d.ts +23 -0
- package/dist/schemas/invited-service-provider-preferences/index.js +13 -0
- package/dist/schemas/property/index.d.ts +4 -4
- package/dist/schemas/property-metadata/index.d.ts +2 -2
- package/dist/types/additional-task-automation-service/index.d.ts +8 -0
- package/dist/types/additional-task-automation-service/index.js +2 -0
- package/dist/types/additional-task-service/index.d.ts +8 -0
- package/dist/types/additional-task-service/index.js +2 -0
- package/dist/types/enums/index.d.ts +9 -0
- package/dist/types/enums/index.js +12 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.js +4 -0
- package/dist/types/invited-service-provider/index.d.ts +8 -0
- package/dist/types/invited-service-provider/index.js +2 -0
- package/dist/types/invited-service-provider-preferences/index.d.ts +8 -0
- package/dist/types/invited-service-provider-preferences/index.js +2 -0
- package/dist/types/task/index.d.ts +2 -0
- package/dist/types/task-automation/index.d.ts +2 -0
- package/dist/types/user/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const additionalTaskAutomationServiceSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
automationId: import("zod").ZodNumber;
|
|
4
|
+
serviceId: import("zod").ZodNumber;
|
|
5
|
+
createdAt: import("zod").ZodDate;
|
|
6
|
+
updatedAt: import("zod").ZodDate;
|
|
7
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
8
|
+
id: number;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
serviceId: number;
|
|
12
|
+
automationId: number;
|
|
13
|
+
}, {
|
|
14
|
+
id: number;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
serviceId: number;
|
|
18
|
+
automationId: number;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.additionalTaskAutomationServiceSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.additionalTaskAutomationServiceSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
automationId: (0, zod_1.number)().int(),
|
|
8
|
+
serviceId: (0, zod_1.number)().int(),
|
|
9
|
+
createdAt: (0, zod_1.date)(),
|
|
10
|
+
updatedAt: (0, zod_1.date)(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const additionalTaskServiceSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
taskId: import("zod").ZodNumber;
|
|
4
|
+
serviceId: import("zod").ZodNumber;
|
|
5
|
+
createdAt: import("zod").ZodDate;
|
|
6
|
+
updatedAt: import("zod").ZodDate;
|
|
7
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
8
|
+
id: number;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
serviceId: number;
|
|
12
|
+
taskId: number;
|
|
13
|
+
}, {
|
|
14
|
+
id: number;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
serviceId: number;
|
|
18
|
+
taskId: number;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.additionalTaskServiceSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.additionalTaskServiceSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
taskId: (0, zod_1.number)().int(),
|
|
8
|
+
serviceId: (0, zod_1.number)().int(),
|
|
9
|
+
createdAt: (0, zod_1.date)(),
|
|
10
|
+
updatedAt: (0, zod_1.date)(),
|
|
11
|
+
});
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -81,3 +81,7 @@ export * from './reporting-handbook';
|
|
|
81
81
|
export * from './supplies-and-notes-handbook';
|
|
82
82
|
export * from "./ai-agent";
|
|
83
83
|
export * from "./task-photography-space";
|
|
84
|
+
export * from "./invited-service-provider";
|
|
85
|
+
export * from "./invited-service-provider-preferences";
|
|
86
|
+
export * from "./additional-task-service";
|
|
87
|
+
export * from "./additional-task-automation-service";
|
package/dist/schemas/index.js
CHANGED
|
@@ -97,3 +97,7 @@ __exportStar(require("./reporting-handbook"), exports);
|
|
|
97
97
|
__exportStar(require("./supplies-and-notes-handbook"), exports);
|
|
98
98
|
__exportStar(require("./ai-agent"), exports);
|
|
99
99
|
__exportStar(require("./task-photography-space"), exports);
|
|
100
|
+
__exportStar(require("./invited-service-provider"), exports);
|
|
101
|
+
__exportStar(require("./invited-service-provider-preferences"), exports);
|
|
102
|
+
__exportStar(require("./additional-task-service"), exports);
|
|
103
|
+
__exportStar(require("./additional-task-automation-service"), exports);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { InvitedServiceProviderStatus } from "../../types/enums";
|
|
2
|
+
export declare const invitedServiceProviderSchema: import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodNumber;
|
|
4
|
+
phone: import("zod").ZodString;
|
|
5
|
+
phoneCountryCode: import("zod").ZodString;
|
|
6
|
+
phoneLocalNumber: import("zod").ZodString;
|
|
7
|
+
createdAt: import("zod").ZodDate;
|
|
8
|
+
updatedAt: import("zod").ZodDate;
|
|
9
|
+
invitedBy: import("zod").ZodString;
|
|
10
|
+
invitedAt: import("zod").ZodDate;
|
|
11
|
+
registeredAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
12
|
+
status: import("zod").ZodNativeEnum<typeof InvitedServiceProviderStatus>;
|
|
13
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14
|
+
id: number;
|
|
15
|
+
status: InvitedServiceProviderStatus;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
phone: string;
|
|
19
|
+
phoneCountryCode: string;
|
|
20
|
+
phoneLocalNumber: string;
|
|
21
|
+
invitedBy: string;
|
|
22
|
+
invitedAt: Date;
|
|
23
|
+
registeredAt?: Date | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
id: number;
|
|
26
|
+
status: InvitedServiceProviderStatus;
|
|
27
|
+
createdAt: Date;
|
|
28
|
+
updatedAt: Date;
|
|
29
|
+
phone: string;
|
|
30
|
+
phoneCountryCode: string;
|
|
31
|
+
phoneLocalNumber: string;
|
|
32
|
+
invitedBy: string;
|
|
33
|
+
invitedAt: Date;
|
|
34
|
+
registeredAt?: Date | undefined;
|
|
35
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.invitedServiceProviderSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../../types/enums");
|
|
6
|
+
exports.invitedServiceProviderSchema = (0, zod_1.object)({
|
|
7
|
+
id: (0, zod_1.number)().int(),
|
|
8
|
+
phone: (0, zod_1.string)(),
|
|
9
|
+
phoneCountryCode: (0, zod_1.string)(),
|
|
10
|
+
phoneLocalNumber: (0, zod_1.string)(),
|
|
11
|
+
createdAt: (0, zod_1.date)(),
|
|
12
|
+
updatedAt: (0, zod_1.date)(),
|
|
13
|
+
invitedBy: (0, zod_1.string)(),
|
|
14
|
+
invitedAt: (0, zod_1.date)(),
|
|
15
|
+
registeredAt: (0, zod_1.date)().optional(),
|
|
16
|
+
status: (0, zod_1.nativeEnum)(enums_1.InvitedServiceProviderStatus),
|
|
17
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { InvitedServiceProviderPreferencesPriority } from "../../types/enums";
|
|
2
|
+
export declare const invitedServiceProviderPreferencesSchema: import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodNumber;
|
|
4
|
+
userId: import("zod").ZodString;
|
|
5
|
+
invitedServiceProviderId: import("zod").ZodNumber;
|
|
6
|
+
priority: import("zod").ZodNativeEnum<typeof InvitedServiceProviderPreferencesPriority>;
|
|
7
|
+
createdAt: import("zod").ZodDate;
|
|
8
|
+
updatedAt: import("zod").ZodDate;
|
|
9
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
10
|
+
id: number;
|
|
11
|
+
priority: InvitedServiceProviderPreferencesPriority;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
userId: string;
|
|
15
|
+
invitedServiceProviderId: number;
|
|
16
|
+
}, {
|
|
17
|
+
id: number;
|
|
18
|
+
priority: InvitedServiceProviderPreferencesPriority;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
userId: string;
|
|
22
|
+
invitedServiceProviderId: number;
|
|
23
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.invitedServiceProviderPreferencesSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../../types/enums");
|
|
6
|
+
exports.invitedServiceProviderPreferencesSchema = (0, zod_1.object)({
|
|
7
|
+
id: (0, zod_1.number)().int(),
|
|
8
|
+
userId: (0, zod_1.string)(),
|
|
9
|
+
invitedServiceProviderId: (0, zod_1.number)().int(),
|
|
10
|
+
priority: (0, zod_1.nativeEnum)(enums_1.InvitedServiceProviderPreferencesPriority),
|
|
11
|
+
createdAt: (0, zod_1.date)(),
|
|
12
|
+
updatedAt: (0, zod_1.date)(),
|
|
13
|
+
});
|
|
@@ -203,7 +203,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
203
203
|
keyPickupLocationLatitude?: number | null | undefined;
|
|
204
204
|
keyPickupLocationLongitude?: number | null | undefined;
|
|
205
205
|
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | undefined;
|
|
206
|
-
stCancellationPolicy?: "
|
|
206
|
+
stCancellationPolicy?: "STRICT" | "FLEXIBLE" | "MODERATE" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
207
207
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
208
208
|
}, {
|
|
209
209
|
createdAt: Date;
|
|
@@ -226,7 +226,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
226
226
|
keyPickupLocationLatitude?: number | null | undefined;
|
|
227
227
|
keyPickupLocationLongitude?: number | null | undefined;
|
|
228
228
|
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | undefined;
|
|
229
|
-
stCancellationPolicy?: "
|
|
229
|
+
stCancellationPolicy?: "STRICT" | "FLEXIBLE" | "MODERATE" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
230
230
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
231
231
|
}>>;
|
|
232
232
|
safetyDetails: z.ZodOptional<z.ZodObject<{
|
|
@@ -396,7 +396,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
396
396
|
keyPickupLocationLatitude?: number | null | undefined;
|
|
397
397
|
keyPickupLocationLongitude?: number | null | undefined;
|
|
398
398
|
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | undefined;
|
|
399
|
-
stCancellationPolicy?: "
|
|
399
|
+
stCancellationPolicy?: "STRICT" | "FLEXIBLE" | "MODERATE" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
400
400
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
401
401
|
} | undefined;
|
|
402
402
|
price?: {
|
|
@@ -496,7 +496,7 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
496
496
|
keyPickupLocationLatitude?: number | null | undefined;
|
|
497
497
|
keyPickupLocationLongitude?: number | null | undefined;
|
|
498
498
|
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | undefined;
|
|
499
|
-
stCancellationPolicy?: "
|
|
499
|
+
stCancellationPolicy?: "STRICT" | "FLEXIBLE" | "MODERATE" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
500
500
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
501
501
|
} | undefined;
|
|
502
502
|
price?: {
|
|
@@ -47,7 +47,7 @@ export declare const propertyMetadataSchema: import("zod").ZodObject<{
|
|
|
47
47
|
keyPickupLocationLatitude?: number | null | undefined;
|
|
48
48
|
keyPickupLocationLongitude?: number | null | undefined;
|
|
49
49
|
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | null | undefined;
|
|
50
|
-
stCancellationPolicy?: "
|
|
50
|
+
stCancellationPolicy?: "STRICT" | "FLEXIBLE" | "MODERATE" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
51
51
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
id: number;
|
|
@@ -72,6 +72,6 @@ export declare const propertyMetadataSchema: import("zod").ZodObject<{
|
|
|
72
72
|
keyPickupLocationLatitude?: number | null | undefined;
|
|
73
73
|
keyPickupLocationLongitude?: number | null | undefined;
|
|
74
74
|
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | null | undefined;
|
|
75
|
-
stCancellationPolicy?: "
|
|
75
|
+
stCancellationPolicy?: "STRICT" | "FLEXIBLE" | "MODERATE" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
76
76
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
77
77
|
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { infer } from "zod";
|
|
2
|
+
import { additionalTaskAutomationServiceSchema } from "../../schemas/additional-task-automation-service";
|
|
3
|
+
import { TaskAutomation } from "../task-automation";
|
|
4
|
+
import { Service } from "../service";
|
|
5
|
+
export interface AdditionalTaskAutomationService extends infer<typeof additionalTaskAutomationServiceSchema> {
|
|
6
|
+
automation?: TaskAutomation;
|
|
7
|
+
service?: Service;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { infer } from "zod";
|
|
2
|
+
import { additionalTaskServiceSchema } from "../../schemas/additional-task-service";
|
|
3
|
+
import { Task } from "../task";
|
|
4
|
+
import { Service } from "../service";
|
|
5
|
+
export interface AdditionalTaskService extends infer<typeof additionalTaskServiceSchema> {
|
|
6
|
+
task?: Task;
|
|
7
|
+
service?: Service;
|
|
8
|
+
}
|
|
@@ -113,6 +113,15 @@ export declare enum PropertyManagerSessionType {
|
|
|
113
113
|
DOCUMENT_ANALYSIS = "DOCUMENT_ANALYSIS",
|
|
114
114
|
PROPERTY_AUDIT = "PROPERTY_AUDIT"
|
|
115
115
|
}
|
|
116
|
+
export declare enum InvitedServiceProviderStatus {
|
|
117
|
+
PENDING = "PENDING",
|
|
118
|
+
REGISTERED = "REGISTERED"
|
|
119
|
+
}
|
|
120
|
+
export declare enum InvitedServiceProviderPreferencesPriority {
|
|
121
|
+
STRICT = "STRICT",
|
|
122
|
+
FLEXIBLE = "FLEXIBLE",
|
|
123
|
+
INDIFFERENT = "INDIFFERENT"
|
|
124
|
+
}
|
|
116
125
|
export declare enum HumanReviewPriority {
|
|
117
126
|
LOW = "LOW",
|
|
118
127
|
NORMAL = "NORMAL",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HumanReviewStatus = exports.HumanReviewPriority = 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.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";
|
|
@@ -139,6 +139,17 @@ var PropertyManagerSessionType;
|
|
|
139
139
|
PropertyManagerSessionType["DOCUMENT_ANALYSIS"] = "DOCUMENT_ANALYSIS";
|
|
140
140
|
PropertyManagerSessionType["PROPERTY_AUDIT"] = "PROPERTY_AUDIT";
|
|
141
141
|
})(PropertyManagerSessionType || (exports.PropertyManagerSessionType = PropertyManagerSessionType = {}));
|
|
142
|
+
var InvitedServiceProviderStatus;
|
|
143
|
+
(function (InvitedServiceProviderStatus) {
|
|
144
|
+
InvitedServiceProviderStatus["PENDING"] = "PENDING";
|
|
145
|
+
InvitedServiceProviderStatus["REGISTERED"] = "REGISTERED";
|
|
146
|
+
})(InvitedServiceProviderStatus || (exports.InvitedServiceProviderStatus = InvitedServiceProviderStatus = {}));
|
|
147
|
+
var InvitedServiceProviderPreferencesPriority;
|
|
148
|
+
(function (InvitedServiceProviderPreferencesPriority) {
|
|
149
|
+
InvitedServiceProviderPreferencesPriority["STRICT"] = "STRICT";
|
|
150
|
+
InvitedServiceProviderPreferencesPriority["FLEXIBLE"] = "FLEXIBLE";
|
|
151
|
+
InvitedServiceProviderPreferencesPriority["INDIFFERENT"] = "INDIFFERENT";
|
|
152
|
+
})(InvitedServiceProviderPreferencesPriority || (exports.InvitedServiceProviderPreferencesPriority = InvitedServiceProviderPreferencesPriority = {}));
|
|
142
153
|
var HumanReviewPriority;
|
|
143
154
|
(function (HumanReviewPriority) {
|
|
144
155
|
HumanReviewPriority["LOW"] = "LOW";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -82,3 +82,7 @@ export * from './reporting-handbook';
|
|
|
82
82
|
export * from './supplies-and-notes-handbook';
|
|
83
83
|
export * from "./ai-agent";
|
|
84
84
|
export * from "./task-photography-space";
|
|
85
|
+
export * from "./invited-service-provider";
|
|
86
|
+
export * from "./invited-service-provider-preferences";
|
|
87
|
+
export * from "./additional-task-service";
|
|
88
|
+
export * from "./additional-task-automation-service";
|
package/dist/types/index.js
CHANGED
|
@@ -98,3 +98,7 @@ __exportStar(require("./reporting-handbook"), exports);
|
|
|
98
98
|
__exportStar(require("./supplies-and-notes-handbook"), exports);
|
|
99
99
|
__exportStar(require("./ai-agent"), exports);
|
|
100
100
|
__exportStar(require("./task-photography-space"), exports);
|
|
101
|
+
__exportStar(require("./invited-service-provider"), exports);
|
|
102
|
+
__exportStar(require("./invited-service-provider-preferences"), exports);
|
|
103
|
+
__exportStar(require("./additional-task-service"), exports);
|
|
104
|
+
__exportStar(require("./additional-task-automation-service"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { infer } from "zod";
|
|
2
|
+
import { invitedServiceProviderSchema } from "../../schemas/invited-service-provider";
|
|
3
|
+
import { User } from "../user";
|
|
4
|
+
import { InvitedServiceProviderPreferences } from "../invited-service-provider-preferences";
|
|
5
|
+
export interface InvitedServiceProvider extends infer<typeof invitedServiceProviderSchema> {
|
|
6
|
+
invitedByUser?: User;
|
|
7
|
+
invitedServiceProviderPreferences?: InvitedServiceProviderPreferences[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { infer } from "zod";
|
|
2
|
+
import { invitedServiceProviderPreferencesSchema } from "../../schemas/invited-service-provider-preferences";
|
|
3
|
+
import { User } from "../user";
|
|
4
|
+
import { InvitedServiceProvider } from "../invited-service-provider";
|
|
5
|
+
export interface InvitedServiceProviderPreferences extends infer<typeof invitedServiceProviderPreferencesSchema> {
|
|
6
|
+
user?: User;
|
|
7
|
+
invitedServiceProvider?: InvitedServiceProvider;
|
|
8
|
+
}
|
|
@@ -22,6 +22,7 @@ import { TaskChecklist } from "../task-checklist";
|
|
|
22
22
|
import { TaskDamagePhoto } from "../task-damage-photo";
|
|
23
23
|
import { TaskAssignment } from "../task-assignment";
|
|
24
24
|
import { TaskPhotographySpace } from "../task-photography-space";
|
|
25
|
+
import { AdditionalTaskService } from "../additional-task-service";
|
|
25
26
|
export interface Task extends infer<typeof taskSchema> {
|
|
26
27
|
property?: Property;
|
|
27
28
|
department?: TaskDepartment;
|
|
@@ -48,4 +49,5 @@ export interface Task extends infer<typeof taskSchema> {
|
|
|
48
49
|
damagePhotos?: TaskDamagePhoto[];
|
|
49
50
|
taskAssignments?: TaskAssignment[];
|
|
50
51
|
taskPhotographySpaces?: TaskPhotographySpace[];
|
|
52
|
+
additionalTaskServices?: AdditionalTaskService[];
|
|
51
53
|
}
|
|
@@ -7,6 +7,7 @@ import { TaskAutomationAttachment } from "../task-automation-attachment";
|
|
|
7
7
|
import { TaskAutomationTag } from "../task-automation-tag";
|
|
8
8
|
import { Property } from "../property";
|
|
9
9
|
import { Service } from "../service";
|
|
10
|
+
import { AdditionalTaskAutomationService } from "../additional-task-automation-service";
|
|
10
11
|
export interface TaskAutomation extends infer<typeof taskAutomationSchema> {
|
|
11
12
|
event?: TaskAutomationEvent;
|
|
12
13
|
department?: TaskDepartment;
|
|
@@ -15,4 +16,5 @@ export interface TaskAutomation extends infer<typeof taskAutomationSchema> {
|
|
|
15
16
|
tags?: TaskAutomationTag[];
|
|
16
17
|
property?: Property;
|
|
17
18
|
service?: Service;
|
|
19
|
+
additionalTaskAutomationServices?: AdditionalTaskAutomationService[];
|
|
18
20
|
}
|
|
@@ -17,6 +17,8 @@ import { CustomBundle } from "../custom-bundle";
|
|
|
17
17
|
import { BundleCoupon } from "../custom-bundle-coupon";
|
|
18
18
|
import { PendingPaymentAction } from "../pending-payment-action";
|
|
19
19
|
import { UserAiAgentSubscription } from "../ai-agent/user-ai-agent-subscription";
|
|
20
|
+
import { InvitedServiceProvider } from "../invited-service-provider";
|
|
21
|
+
import { InvitedServiceProviderPreferences } from "../invited-service-provider-preferences";
|
|
20
22
|
export interface User extends infer<typeof userSchema> {
|
|
21
23
|
tier?: Tier;
|
|
22
24
|
properties?: Property[];
|
|
@@ -39,4 +41,6 @@ export interface User extends infer<typeof userSchema> {
|
|
|
39
41
|
createdCoupons?: BundleCoupon[];
|
|
40
42
|
pendingPaymentActions?: PendingPaymentAction[];
|
|
41
43
|
aiAgentSubscriptions?: UserAiAgentSubscription[];
|
|
44
|
+
invitedServiceProviders?: InvitedServiceProvider[];
|
|
45
|
+
invitedServiceProviderPreferences?: InvitedServiceProviderPreferences[];
|
|
42
46
|
}
|