hububb-saas-shared 1.2.18 → 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 +2 -0
- package/dist/schemas/index.js +2 -0
- 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/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/task/index.d.ts +2 -0
- package/dist/types/task-automation/index.d.ts +2 -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
|
@@ -83,3 +83,5 @@ export * from "./ai-agent";
|
|
|
83
83
|
export * from "./task-photography-space";
|
|
84
84
|
export * from "./invited-service-provider";
|
|
85
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
|
@@ -99,3 +99,5 @@ __exportStar(require("./ai-agent"), exports);
|
|
|
99
99
|
__exportStar(require("./task-photography-space"), exports);
|
|
100
100
|
__exportStar(require("./invited-service-provider"), exports);
|
|
101
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,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
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -84,3 +84,5 @@ export * from "./ai-agent";
|
|
|
84
84
|
export * from "./task-photography-space";
|
|
85
85
|
export * from "./invited-service-provider";
|
|
86
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
|
@@ -100,3 +100,5 @@ __exportStar(require("./ai-agent"), exports);
|
|
|
100
100
|
__exportStar(require("./task-photography-space"), exports);
|
|
101
101
|
__exportStar(require("./invited-service-provider"), exports);
|
|
102
102
|
__exportStar(require("./invited-service-provider-preferences"), exports);
|
|
103
|
+
__exportStar(require("./additional-task-service"), exports);
|
|
104
|
+
__exportStar(require("./additional-task-automation-service"), exports);
|
|
@@ -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
|
}
|