hububb-saas-shared 1.1.80 → 1.2.0
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/channex/booking.d.ts +2 -2
- package/dist/schemas/channex/thread.d.ts +2 -2
- package/dist/schemas/cleaning-checklist/index.d.ts +63 -0
- package/dist/schemas/cleaning-checklist/index.js +27 -0
- package/dist/schemas/enums/index.d.ts +45 -0
- package/dist/schemas/enums/index.js +56 -0
- package/dist/schemas/index.d.ts +12 -0
- package/dist/schemas/index.js +12 -0
- package/dist/schemas/klevio/index.d.ts +3 -0
- package/dist/schemas/klevio/index.js +1 -0
- package/dist/schemas/reporting-handbook/index.d.ts +34 -0
- package/dist/schemas/reporting-handbook/index.js +16 -0
- package/dist/schemas/service-property/index.d.ts +19 -0
- package/dist/schemas/service-property/index.js +11 -0
- package/dist/schemas/supplies-and-notes-handbook/index.d.ts +52 -0
- package/dist/schemas/supplies-and-notes-handbook/index.js +22 -0
- package/dist/schemas/task/index.d.ts +30 -0
- package/dist/schemas/task/index.js +10 -0
- package/dist/schemas/task-assignment/index.d.ts +31 -0
- package/dist/schemas/task-assignment/index.js +15 -0
- package/dist/schemas/task-checklist/index.d.ts +25 -0
- package/dist/schemas/task-checklist/index.js +13 -0
- package/dist/schemas/task-checklist-item/index.d.ts +25 -0
- package/dist/schemas/task-checklist-item/index.js +13 -0
- package/dist/schemas/task-checklist-space/index.d.ts +25 -0
- package/dist/schemas/task-checklist-space/index.js +24 -0
- package/dist/schemas/task-damage-photo/index.d.ts +19 -0
- package/dist/schemas/task-damage-photo/index.js +11 -0
- package/dist/schemas/task-reference-photo/index.d.ts +19 -0
- package/dist/schemas/task-reference-photo/index.js +11 -0
- package/dist/schemas/task-space-photo/index.d.ts +22 -0
- package/dist/schemas/task-space-photo/index.js +12 -0
- package/dist/schemas/task-space-video/index.d.ts +28 -0
- package/dist/schemas/task-space-video/index.js +14 -0
- package/dist/schemas/task-supply-receipt/index.d.ts +22 -0
- package/dist/schemas/task-supply-receipt/index.js +12 -0
- package/dist/schemas/thread/index.d.ts +6 -6
- package/dist/types/cleaning-checklist/index.d.ts +16 -0
- package/dist/types/cleaning-checklist/index.js +2 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/index.js +12 -0
- package/dist/types/klevio/index.d.ts +1 -0
- package/dist/types/reporting-handbook/index.d.ts +6 -0
- package/dist/types/reporting-handbook/index.js +2 -0
- package/dist/types/room/index.d.ts +8 -0
- package/dist/types/service-property/index.d.ts +8 -0
- package/dist/types/service-property/index.js +2 -0
- package/dist/types/supplies-and-notes-handbook/index.d.ts +6 -0
- package/dist/types/supplies-and-notes-handbook/index.js +2 -0
- package/dist/types/task/index.d.ts +10 -0
- package/dist/types/task-assignment/index.d.ts +8 -0
- package/dist/types/task-assignment/index.js +2 -0
- package/dist/types/task-checklist/index.d.ts +10 -0
- package/dist/types/task-checklist/index.js +2 -0
- package/dist/types/task-checklist-item/index.d.ts +6 -0
- package/dist/types/task-checklist-item/index.js +2 -0
- package/dist/types/task-checklist-space/index.d.ts +14 -0
- package/dist/types/task-checklist-space/index.js +2 -0
- package/dist/types/task-damage-photo/index.d.ts +6 -0
- package/dist/types/task-damage-photo/index.js +2 -0
- package/dist/types/task-reference-photo/index.d.ts +6 -0
- package/dist/types/task-reference-photo/index.js +2 -0
- package/dist/types/task-space-photo/index.d.ts +6 -0
- package/dist/types/task-space-photo/index.js +2 -0
- package/dist/types/task-space-video/index.d.ts +6 -0
- package/dist/types/task-space-video/index.js +2 -0
- package/dist/types/task-supply-receipt/index.d.ts +6 -0
- package/dist/types/task-supply-receipt/index.js +2 -0
- package/package.json +2 -2
|
@@ -1086,9 +1086,9 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
|
|
|
1086
1086
|
}>;
|
|
1087
1087
|
property_id: import("zod").ZodString;
|
|
1088
1088
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1089
|
-
timestamp: string;
|
|
1090
1089
|
event: string;
|
|
1091
1090
|
property_id: string;
|
|
1091
|
+
timestamp: string;
|
|
1092
1092
|
payload: {
|
|
1093
1093
|
property_id: string;
|
|
1094
1094
|
revision_id: string;
|
|
@@ -1096,9 +1096,9 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
|
|
|
1096
1096
|
};
|
|
1097
1097
|
user_id?: string | null | undefined;
|
|
1098
1098
|
}, {
|
|
1099
|
-
timestamp: string;
|
|
1100
1099
|
event: string;
|
|
1101
1100
|
property_id: string;
|
|
1101
|
+
timestamp: string;
|
|
1102
1102
|
payload: {
|
|
1103
1103
|
property_id: string;
|
|
1104
1104
|
revision_id: string;
|
|
@@ -277,9 +277,9 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
|
277
277
|
}>;
|
|
278
278
|
property_id: import("zod").ZodString;
|
|
279
279
|
}, "strip", import("zod").ZodTypeAny, {
|
|
280
|
-
timestamp: string;
|
|
281
280
|
event: string;
|
|
282
281
|
property_id: string;
|
|
282
|
+
timestamp: string;
|
|
283
283
|
payload: {
|
|
284
284
|
message: string;
|
|
285
285
|
id: string;
|
|
@@ -294,9 +294,9 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
|
294
294
|
};
|
|
295
295
|
user_id?: string | null | undefined;
|
|
296
296
|
}, {
|
|
297
|
-
timestamp: string;
|
|
298
297
|
event: string;
|
|
299
298
|
property_id: string;
|
|
299
|
+
timestamp: string;
|
|
300
300
|
payload: {
|
|
301
301
|
message: string;
|
|
302
302
|
id: string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export declare const cleaningChecklistSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
title: import("zod").ZodString;
|
|
4
|
+
description: import("zod").ZodString;
|
|
5
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"NOT_STARTED">, import("zod").ZodLiteral<"IN_PROGRESS">, import("zod").ZodLiteral<"COMPLETED">]>;
|
|
6
|
+
roomId: import("zod").ZodNumber;
|
|
7
|
+
createdAt: import("zod").ZodDate;
|
|
8
|
+
updatedAt: import("zod").ZodDate;
|
|
9
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
10
|
+
id: number;
|
|
11
|
+
title: string;
|
|
12
|
+
description: string;
|
|
13
|
+
status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
updatedAt: Date;
|
|
16
|
+
roomId: number;
|
|
17
|
+
}, {
|
|
18
|
+
id: number;
|
|
19
|
+
title: string;
|
|
20
|
+
description: string;
|
|
21
|
+
status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
|
|
22
|
+
createdAt: Date;
|
|
23
|
+
updatedAt: Date;
|
|
24
|
+
roomId: number;
|
|
25
|
+
}>;
|
|
26
|
+
export declare const cleaningChecklistPropertyRoomSchema: import("zod").ZodObject<{
|
|
27
|
+
id: import("zod").ZodNumber;
|
|
28
|
+
cleaningChecklistId: import("zod").ZodNumber;
|
|
29
|
+
propertyRoomId: import("zod").ZodNumber;
|
|
30
|
+
createdAt: import("zod").ZodDate;
|
|
31
|
+
updatedAt: import("zod").ZodDate;
|
|
32
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
33
|
+
id: number;
|
|
34
|
+
createdAt: Date;
|
|
35
|
+
updatedAt: Date;
|
|
36
|
+
propertyRoomId: number;
|
|
37
|
+
cleaningChecklistId: number;
|
|
38
|
+
}, {
|
|
39
|
+
id: number;
|
|
40
|
+
createdAt: Date;
|
|
41
|
+
updatedAt: Date;
|
|
42
|
+
propertyRoomId: number;
|
|
43
|
+
cleaningChecklistId: number;
|
|
44
|
+
}>;
|
|
45
|
+
export declare const cleaningChecklistItemSchema: import("zod").ZodObject<{
|
|
46
|
+
id: import("zod").ZodNumber;
|
|
47
|
+
cleaningChecklistPropertyRoomId: import("zod").ZodNumber;
|
|
48
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
createdAt: import("zod").ZodDate;
|
|
50
|
+
updatedAt: import("zod").ZodDate;
|
|
51
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
52
|
+
id: number;
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
updatedAt: Date;
|
|
55
|
+
cleaningChecklistPropertyRoomId: number;
|
|
56
|
+
content?: string | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
id: number;
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
updatedAt: Date;
|
|
61
|
+
cleaningChecklistPropertyRoomId: number;
|
|
62
|
+
content?: string | undefined;
|
|
63
|
+
}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cleaningChecklistItemSchema = exports.cleaningChecklistPropertyRoomSchema = exports.cleaningChecklistSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.cleaningChecklistSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
title: (0, zod_1.string)(),
|
|
8
|
+
description: (0, zod_1.string)(),
|
|
9
|
+
status: (0, zod_1.union)([(0, zod_1.literal)("NOT_STARTED"), (0, zod_1.literal)("IN_PROGRESS"), (0, zod_1.literal)("COMPLETED")]),
|
|
10
|
+
roomId: (0, zod_1.number)().int(),
|
|
11
|
+
createdAt: (0, zod_1.date)(),
|
|
12
|
+
updatedAt: (0, zod_1.date)(),
|
|
13
|
+
});
|
|
14
|
+
exports.cleaningChecklistPropertyRoomSchema = (0, zod_1.object)({
|
|
15
|
+
id: (0, zod_1.number)().int(),
|
|
16
|
+
cleaningChecklistId: (0, zod_1.number)().int(),
|
|
17
|
+
propertyRoomId: (0, zod_1.number)().int(),
|
|
18
|
+
createdAt: (0, zod_1.date)(),
|
|
19
|
+
updatedAt: (0, zod_1.date)(),
|
|
20
|
+
});
|
|
21
|
+
exports.cleaningChecklistItemSchema = (0, zod_1.object)({
|
|
22
|
+
id: (0, zod_1.number)().int(),
|
|
23
|
+
cleaningChecklistPropertyRoomId: (0, zod_1.number)().int(),
|
|
24
|
+
content: (0, zod_1.string)().optional(),
|
|
25
|
+
createdAt: (0, zod_1.date)(),
|
|
26
|
+
updatedAt: (0, zod_1.date)(),
|
|
27
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare enum ServiceType {
|
|
2
|
+
INTEGRATION = "INTEGRATION",
|
|
3
|
+
ON_DEMAND = "ON_DEMAND",
|
|
4
|
+
RECURRING = "RECURRING"
|
|
5
|
+
}
|
|
6
|
+
export declare enum TaskStatus {
|
|
7
|
+
PENDING = "PENDING",
|
|
8
|
+
CONFIRMED = "CONFIRMED",
|
|
9
|
+
COMPLETED = "COMPLETED",
|
|
10
|
+
CANCELLED = "CANCELLED"
|
|
11
|
+
}
|
|
12
|
+
export declare enum TaskPriority {
|
|
13
|
+
LOW = "LOW",
|
|
14
|
+
MEDIUM = "MEDIUM",
|
|
15
|
+
HIGH = "HIGH"
|
|
16
|
+
}
|
|
17
|
+
export declare enum InvoiceType {
|
|
18
|
+
SUBSCRIPTION = "SUBSCRIPTION",
|
|
19
|
+
PURCHASE = "PURCHASE"
|
|
20
|
+
}
|
|
21
|
+
export declare enum InvoiceStatus {
|
|
22
|
+
PENDING = "PENDING",
|
|
23
|
+
PAID = "PAID",
|
|
24
|
+
CANCELLED = "CANCELLED",
|
|
25
|
+
FAILED = "FAILED"
|
|
26
|
+
}
|
|
27
|
+
export declare enum PriceType {
|
|
28
|
+
PRORATED = "PRORATED",
|
|
29
|
+
FULL = "FULL"
|
|
30
|
+
}
|
|
31
|
+
export declare enum PurchaseStatus {
|
|
32
|
+
ACTIVE = "ACTIVE",
|
|
33
|
+
CANCELLED = "CANCELLED",
|
|
34
|
+
FAILED = "FAILED"
|
|
35
|
+
}
|
|
36
|
+
export declare enum SubscriptionStatus {
|
|
37
|
+
INCOMPLETE = "INCOMPLETE",
|
|
38
|
+
INCOMPLETE_EXPIRED = "INCOMPLETE_EXPIRED",
|
|
39
|
+
TRIALING = "TRIALING",
|
|
40
|
+
ACTIVE = "ACTIVE",
|
|
41
|
+
PAST_DUE = "PAST_DUE",
|
|
42
|
+
CANCELED = "CANCELED",
|
|
43
|
+
UNPAID = "UNPAID",
|
|
44
|
+
PAUSED = "PAUSED"
|
|
45
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceType = void 0;
|
|
4
|
+
var ServiceType;
|
|
5
|
+
(function (ServiceType) {
|
|
6
|
+
ServiceType["INTEGRATION"] = "INTEGRATION";
|
|
7
|
+
ServiceType["ON_DEMAND"] = "ON_DEMAND";
|
|
8
|
+
ServiceType["RECURRING"] = "RECURRING";
|
|
9
|
+
})(ServiceType || (exports.ServiceType = ServiceType = {}));
|
|
10
|
+
var TaskStatus;
|
|
11
|
+
(function (TaskStatus) {
|
|
12
|
+
TaskStatus["PENDING"] = "PENDING";
|
|
13
|
+
TaskStatus["CONFIRMED"] = "CONFIRMED";
|
|
14
|
+
TaskStatus["COMPLETED"] = "COMPLETED";
|
|
15
|
+
TaskStatus["CANCELLED"] = "CANCELLED";
|
|
16
|
+
})(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
|
|
17
|
+
var TaskPriority;
|
|
18
|
+
(function (TaskPriority) {
|
|
19
|
+
TaskPriority["LOW"] = "LOW";
|
|
20
|
+
TaskPriority["MEDIUM"] = "MEDIUM";
|
|
21
|
+
TaskPriority["HIGH"] = "HIGH";
|
|
22
|
+
})(TaskPriority || (exports.TaskPriority = TaskPriority = {}));
|
|
23
|
+
var InvoiceType;
|
|
24
|
+
(function (InvoiceType) {
|
|
25
|
+
InvoiceType["SUBSCRIPTION"] = "SUBSCRIPTION";
|
|
26
|
+
InvoiceType["PURCHASE"] = "PURCHASE";
|
|
27
|
+
})(InvoiceType || (exports.InvoiceType = InvoiceType = {}));
|
|
28
|
+
var InvoiceStatus;
|
|
29
|
+
(function (InvoiceStatus) {
|
|
30
|
+
InvoiceStatus["PENDING"] = "PENDING";
|
|
31
|
+
InvoiceStatus["PAID"] = "PAID";
|
|
32
|
+
InvoiceStatus["CANCELLED"] = "CANCELLED";
|
|
33
|
+
InvoiceStatus["FAILED"] = "FAILED";
|
|
34
|
+
})(InvoiceStatus || (exports.InvoiceStatus = InvoiceStatus = {}));
|
|
35
|
+
var PriceType;
|
|
36
|
+
(function (PriceType) {
|
|
37
|
+
PriceType["PRORATED"] = "PRORATED";
|
|
38
|
+
PriceType["FULL"] = "FULL";
|
|
39
|
+
})(PriceType || (exports.PriceType = PriceType = {}));
|
|
40
|
+
var PurchaseStatus;
|
|
41
|
+
(function (PurchaseStatus) {
|
|
42
|
+
PurchaseStatus["ACTIVE"] = "ACTIVE";
|
|
43
|
+
PurchaseStatus["CANCELLED"] = "CANCELLED";
|
|
44
|
+
PurchaseStatus["FAILED"] = "FAILED";
|
|
45
|
+
})(PurchaseStatus || (exports.PurchaseStatus = PurchaseStatus = {}));
|
|
46
|
+
var SubscriptionStatus;
|
|
47
|
+
(function (SubscriptionStatus) {
|
|
48
|
+
SubscriptionStatus["INCOMPLETE"] = "INCOMPLETE";
|
|
49
|
+
SubscriptionStatus["INCOMPLETE_EXPIRED"] = "INCOMPLETE_EXPIRED";
|
|
50
|
+
SubscriptionStatus["TRIALING"] = "TRIALING";
|
|
51
|
+
SubscriptionStatus["ACTIVE"] = "ACTIVE";
|
|
52
|
+
SubscriptionStatus["PAST_DUE"] = "PAST_DUE";
|
|
53
|
+
SubscriptionStatus["CANCELED"] = "CANCELED";
|
|
54
|
+
SubscriptionStatus["UNPAID"] = "UNPAID";
|
|
55
|
+
SubscriptionStatus["PAUSED"] = "PAUSED";
|
|
56
|
+
})(SubscriptionStatus || (exports.SubscriptionStatus = SubscriptionStatus = {}));
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -67,3 +67,15 @@ export * from "./custom-bundle-coupon";
|
|
|
67
67
|
export * from "./pending-payment-action";
|
|
68
68
|
export * from "./seam";
|
|
69
69
|
export * from "./klevio";
|
|
70
|
+
export * from "./task-checklist";
|
|
71
|
+
export * from "./task-checklist-space";
|
|
72
|
+
export * from "./task-checklist-item";
|
|
73
|
+
export * from "./task-space-photo";
|
|
74
|
+
export * from "./task-space-video";
|
|
75
|
+
export * from "./task-damage-photo";
|
|
76
|
+
export * from "./task-supply-receipt";
|
|
77
|
+
export * from "./task-reference-photo";
|
|
78
|
+
export * from "./task-assignment";
|
|
79
|
+
export * from "./cleaning-checklist";
|
|
80
|
+
export * from './reporting-handbook';
|
|
81
|
+
export * from './supplies-and-notes-handbook';
|
package/dist/schemas/index.js
CHANGED
|
@@ -83,3 +83,15 @@ __exportStar(require("./custom-bundle-coupon"), exports);
|
|
|
83
83
|
__exportStar(require("./pending-payment-action"), exports);
|
|
84
84
|
__exportStar(require("./seam"), exports);
|
|
85
85
|
__exportStar(require("./klevio"), exports);
|
|
86
|
+
__exportStar(require("./task-checklist"), exports);
|
|
87
|
+
__exportStar(require("./task-checklist-space"), exports);
|
|
88
|
+
__exportStar(require("./task-checklist-item"), exports);
|
|
89
|
+
__exportStar(require("./task-space-photo"), exports);
|
|
90
|
+
__exportStar(require("./task-space-video"), exports);
|
|
91
|
+
__exportStar(require("./task-damage-photo"), exports);
|
|
92
|
+
__exportStar(require("./task-supply-receipt"), exports);
|
|
93
|
+
__exportStar(require("./task-reference-photo"), exports);
|
|
94
|
+
__exportStar(require("./task-assignment"), exports);
|
|
95
|
+
__exportStar(require("./cleaning-checklist"), exports);
|
|
96
|
+
__exportStar(require("./reporting-handbook"), exports);
|
|
97
|
+
__exportStar(require("./supplies-and-notes-handbook"), exports);
|
|
@@ -6,6 +6,7 @@ export declare const klevioAccountSchema: z.ZodObject<{
|
|
|
6
6
|
apiKeyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
10
|
publicKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
11
|
isActive: z.ZodBoolean;
|
|
11
12
|
createdAt: z.ZodDate;
|
|
@@ -17,6 +18,7 @@ export declare const klevioAccountSchema: z.ZodObject<{
|
|
|
17
18
|
userId: string;
|
|
18
19
|
isActive: boolean;
|
|
19
20
|
name?: string | null | undefined;
|
|
21
|
+
imageUrl?: string | null | undefined;
|
|
20
22
|
apiKeyId?: string | null | undefined;
|
|
21
23
|
clientId?: string | null | undefined;
|
|
22
24
|
publicKey?: string | null | undefined;
|
|
@@ -27,6 +29,7 @@ export declare const klevioAccountSchema: z.ZodObject<{
|
|
|
27
29
|
userId: string;
|
|
28
30
|
isActive: boolean;
|
|
29
31
|
name?: string | null | undefined;
|
|
32
|
+
imageUrl?: string | null | undefined;
|
|
30
33
|
apiKeyId?: string | null | undefined;
|
|
31
34
|
clientId?: string | null | undefined;
|
|
32
35
|
publicKey?: string | null | undefined;
|
|
@@ -9,6 +9,7 @@ exports.klevioAccountSchema = zod_1.z.object({
|
|
|
9
9
|
apiKeyId: zod_1.z.string().nullish(),
|
|
10
10
|
clientId: zod_1.z.string().nullish(),
|
|
11
11
|
name: zod_1.z.string().nullish(),
|
|
12
|
+
imageUrl: zod_1.z.string().nullish(),
|
|
12
13
|
publicKey: zod_1.z.string().nullish(),
|
|
13
14
|
isActive: zod_1.z.boolean(),
|
|
14
15
|
createdAt: zod_1.z.date(),
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const reportingHandbookSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"NOT_STARTED">, import("zod").ZodLiteral<"IN_PROGRESS">, import("zod").ZodLiteral<"COMPLETED">]>;
|
|
4
|
+
damageReportEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
5
|
+
videoReportEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6
|
+
photoReportEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7
|
+
videoReportNotes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
|
+
photoReportNotes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
roomId: import("zod").ZodNumber;
|
|
10
|
+
createdAt: import("zod").ZodDate;
|
|
11
|
+
updatedAt: import("zod").ZodDate;
|
|
12
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
13
|
+
id: number;
|
|
14
|
+
status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
roomId: number;
|
|
18
|
+
damageReportEnabled?: boolean | undefined;
|
|
19
|
+
videoReportEnabled?: boolean | undefined;
|
|
20
|
+
photoReportEnabled?: boolean | undefined;
|
|
21
|
+
videoReportNotes?: string | undefined;
|
|
22
|
+
photoReportNotes?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
id: number;
|
|
25
|
+
status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
|
|
26
|
+
createdAt: Date;
|
|
27
|
+
updatedAt: Date;
|
|
28
|
+
roomId: number;
|
|
29
|
+
damageReportEnabled?: boolean | undefined;
|
|
30
|
+
videoReportEnabled?: boolean | undefined;
|
|
31
|
+
photoReportEnabled?: boolean | undefined;
|
|
32
|
+
videoReportNotes?: string | undefined;
|
|
33
|
+
photoReportNotes?: string | undefined;
|
|
34
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.reportingHandbookSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.reportingHandbookSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
status: (0, zod_1.union)([(0, zod_1.literal)("NOT_STARTED"), (0, zod_1.literal)("IN_PROGRESS"), (0, zod_1.literal)("COMPLETED")]),
|
|
8
|
+
damageReportEnabled: (0, zod_1.boolean)().optional(),
|
|
9
|
+
videoReportEnabled: (0, zod_1.boolean)().optional(),
|
|
10
|
+
photoReportEnabled: (0, zod_1.boolean)().optional(),
|
|
11
|
+
videoReportNotes: (0, zod_1.string)().optional(),
|
|
12
|
+
photoReportNotes: (0, zod_1.string)().optional(),
|
|
13
|
+
roomId: (0, zod_1.number)().int(),
|
|
14
|
+
createdAt: (0, zod_1.date)(),
|
|
15
|
+
updatedAt: (0, zod_1.date)(),
|
|
16
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const servicePropertySchema: import("zod").ZodObject<{
|
|
2
|
+
propertyId: import("zod").ZodNumber;
|
|
3
|
+
serviceId: import("zod").ZodNumber;
|
|
4
|
+
status: import("zod").ZodString;
|
|
5
|
+
createdAt: import("zod").ZodDate;
|
|
6
|
+
updatedAt: import("zod").ZodDate;
|
|
7
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
8
|
+
status: string;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
serviceId: number;
|
|
12
|
+
propertyId: number;
|
|
13
|
+
}, {
|
|
14
|
+
status: string;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
serviceId: number;
|
|
18
|
+
propertyId: number;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.servicePropertySchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.servicePropertySchema = (0, zod_1.object)({
|
|
6
|
+
propertyId: (0, zod_1.number)().int(),
|
|
7
|
+
serviceId: (0, zod_1.number)().int(),
|
|
8
|
+
status: (0, zod_1.string)(),
|
|
9
|
+
createdAt: (0, zod_1.date)(),
|
|
10
|
+
updatedAt: (0, zod_1.date)(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const suppliesAndNotesHandbookSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
cleaningSuppliesEnabled: import("zod").ZodBoolean;
|
|
4
|
+
hasVacuum: import("zod").ZodBoolean;
|
|
5
|
+
hasDetergents: import("zod").ZodBoolean;
|
|
6
|
+
hasTrashBags: import("zod").ZodBoolean;
|
|
7
|
+
hasWashingMachine: import("zod").ZodBoolean;
|
|
8
|
+
hasTowelsAndRags: import("zod").ZodBoolean;
|
|
9
|
+
hasMop: import("zod").ZodBoolean;
|
|
10
|
+
hasBeddingAndLinen: import("zod").ZodBoolean;
|
|
11
|
+
suppliesNotes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
detergentsAutoRestockEnabled: import("zod").ZodBoolean;
|
|
13
|
+
additionalNotes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"NOT_STARTED">, import("zod").ZodLiteral<"IN_PROGRESS">, import("zod").ZodLiteral<"COMPLETED">]>;
|
|
15
|
+
roomId: import("zod").ZodNumber;
|
|
16
|
+
createdAt: import("zod").ZodDate;
|
|
17
|
+
updatedAt: import("zod").ZodDate;
|
|
18
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
19
|
+
id: number;
|
|
20
|
+
status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
updatedAt: Date;
|
|
23
|
+
roomId: number;
|
|
24
|
+
cleaningSuppliesEnabled: boolean;
|
|
25
|
+
hasVacuum: boolean;
|
|
26
|
+
hasDetergents: boolean;
|
|
27
|
+
hasTrashBags: boolean;
|
|
28
|
+
hasWashingMachine: boolean;
|
|
29
|
+
hasTowelsAndRags: boolean;
|
|
30
|
+
hasMop: boolean;
|
|
31
|
+
hasBeddingAndLinen: boolean;
|
|
32
|
+
detergentsAutoRestockEnabled: boolean;
|
|
33
|
+
suppliesNotes?: string | undefined;
|
|
34
|
+
additionalNotes?: string | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
id: number;
|
|
37
|
+
status: "IN_PROGRESS" | "COMPLETED" | "NOT_STARTED";
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
updatedAt: Date;
|
|
40
|
+
roomId: number;
|
|
41
|
+
cleaningSuppliesEnabled: boolean;
|
|
42
|
+
hasVacuum: boolean;
|
|
43
|
+
hasDetergents: boolean;
|
|
44
|
+
hasTrashBags: boolean;
|
|
45
|
+
hasWashingMachine: boolean;
|
|
46
|
+
hasTowelsAndRags: boolean;
|
|
47
|
+
hasMop: boolean;
|
|
48
|
+
hasBeddingAndLinen: boolean;
|
|
49
|
+
detergentsAutoRestockEnabled: boolean;
|
|
50
|
+
suppliesNotes?: string | undefined;
|
|
51
|
+
additionalNotes?: string | undefined;
|
|
52
|
+
}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.suppliesAndNotesHandbookSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.suppliesAndNotesHandbookSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
cleaningSuppliesEnabled: (0, zod_1.boolean)(),
|
|
8
|
+
hasVacuum: (0, zod_1.boolean)(),
|
|
9
|
+
hasDetergents: (0, zod_1.boolean)(),
|
|
10
|
+
hasTrashBags: (0, zod_1.boolean)(),
|
|
11
|
+
hasWashingMachine: (0, zod_1.boolean)(),
|
|
12
|
+
hasTowelsAndRags: (0, zod_1.boolean)(),
|
|
13
|
+
hasMop: (0, zod_1.boolean)(),
|
|
14
|
+
hasBeddingAndLinen: (0, zod_1.boolean)(),
|
|
15
|
+
suppliesNotes: (0, zod_1.string)().optional(),
|
|
16
|
+
detergentsAutoRestockEnabled: (0, zod_1.boolean)(),
|
|
17
|
+
additionalNotes: (0, zod_1.string)().optional(),
|
|
18
|
+
status: (0, zod_1.union)([(0, zod_1.literal)("NOT_STARTED"), (0, zod_1.literal)("IN_PROGRESS"), (0, zod_1.literal)("COMPLETED")]),
|
|
19
|
+
roomId: (0, zod_1.number)().int(),
|
|
20
|
+
createdAt: (0, zod_1.date)(),
|
|
21
|
+
updatedAt: (0, zod_1.date)(),
|
|
22
|
+
});
|
|
@@ -26,6 +26,16 @@ export declare const taskSchema: import("zod").ZodObject<{
|
|
|
26
26
|
hasCleaningEquipment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
27
27
|
shouldReplaceBedding: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
28
28
|
internalNotes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29
|
+
cleanerOnTheWayAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
30
|
+
cleanerArrivedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
31
|
+
isTaskAcceptedByWorker: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
32
|
+
timeAvailableForJob: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
33
|
+
suppliesPurchased: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
34
|
+
suppliesPurchasedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
35
|
+
isDamageNoticedAnswered: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
36
|
+
isDamageNoticed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
37
|
+
damageDescription: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
|
+
cleaningDetergentFillPercentage: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
29
39
|
}, "strip", import("zod").ZodTypeAny, {
|
|
30
40
|
id: number;
|
|
31
41
|
priority: TaskPriority;
|
|
@@ -53,6 +63,16 @@ export declare const taskSchema: import("zod").ZodObject<{
|
|
|
53
63
|
paymentProcessedMessageId?: string | undefined;
|
|
54
64
|
hasCleaningEquipment?: boolean | undefined;
|
|
55
65
|
shouldReplaceBedding?: boolean | undefined;
|
|
66
|
+
cleanerOnTheWayAt?: Date | undefined;
|
|
67
|
+
cleanerArrivedAt?: Date | undefined;
|
|
68
|
+
isTaskAcceptedByWorker?: boolean | undefined;
|
|
69
|
+
timeAvailableForJob?: number | undefined;
|
|
70
|
+
suppliesPurchased?: boolean | undefined;
|
|
71
|
+
suppliesPurchasedAt?: Date | undefined;
|
|
72
|
+
isDamageNoticedAnswered?: boolean | undefined;
|
|
73
|
+
isDamageNoticed?: boolean | undefined;
|
|
74
|
+
damageDescription?: string | undefined;
|
|
75
|
+
cleaningDetergentFillPercentage?: number | undefined;
|
|
56
76
|
}, {
|
|
57
77
|
id: number;
|
|
58
78
|
priority: TaskPriority;
|
|
@@ -80,4 +100,14 @@ export declare const taskSchema: import("zod").ZodObject<{
|
|
|
80
100
|
paymentProcessedMessageId?: string | undefined;
|
|
81
101
|
hasCleaningEquipment?: boolean | undefined;
|
|
82
102
|
shouldReplaceBedding?: boolean | undefined;
|
|
103
|
+
cleanerOnTheWayAt?: Date | undefined;
|
|
104
|
+
cleanerArrivedAt?: Date | undefined;
|
|
105
|
+
isTaskAcceptedByWorker?: boolean | undefined;
|
|
106
|
+
timeAvailableForJob?: number | undefined;
|
|
107
|
+
suppliesPurchased?: boolean | undefined;
|
|
108
|
+
suppliesPurchasedAt?: Date | undefined;
|
|
109
|
+
isDamageNoticedAnswered?: boolean | undefined;
|
|
110
|
+
isDamageNoticed?: boolean | undefined;
|
|
111
|
+
damageDescription?: string | undefined;
|
|
112
|
+
cleaningDetergentFillPercentage?: number | undefined;
|
|
83
113
|
}>;
|
|
@@ -30,4 +30,14 @@ exports.taskSchema = (0, zod_1.object)({
|
|
|
30
30
|
hasCleaningEquipment: (0, zod_1.boolean)().optional(),
|
|
31
31
|
shouldReplaceBedding: (0, zod_1.boolean)().optional(),
|
|
32
32
|
internalNotes: (0, zod_1.string)().optional(),
|
|
33
|
+
cleanerOnTheWayAt: (0, zod_1.date)().optional(),
|
|
34
|
+
cleanerArrivedAt: (0, zod_1.date)().optional(),
|
|
35
|
+
isTaskAcceptedByWorker: (0, zod_1.boolean)().optional(),
|
|
36
|
+
timeAvailableForJob: (0, zod_1.number)().int().optional(),
|
|
37
|
+
suppliesPurchased: (0, zod_1.boolean)().optional(),
|
|
38
|
+
suppliesPurchasedAt: (0, zod_1.date)().optional(),
|
|
39
|
+
isDamageNoticedAnswered: (0, zod_1.boolean)().optional(),
|
|
40
|
+
isDamageNoticed: (0, zod_1.boolean)().optional(),
|
|
41
|
+
damageDescription: (0, zod_1.string)().optional(),
|
|
42
|
+
cleaningDetergentFillPercentage: (0, zod_1.number)().int().optional(),
|
|
33
43
|
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const taskAssignmentSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
taskId: import("zod").ZodNumber;
|
|
4
|
+
workerId: import("zod").ZodNumber;
|
|
5
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"ASSIGNED">, import("zod").ZodLiteral<"ACCEPTED">, import("zod").ZodLiteral<"REJECTED">]>;
|
|
6
|
+
assignedAt: import("zod").ZodDate;
|
|
7
|
+
acceptedAt: import("zod").ZodDate;
|
|
8
|
+
rejectedAt: import("zod").ZodDate;
|
|
9
|
+
createdAt: import("zod").ZodDate;
|
|
10
|
+
updatedAt: import("zod").ZodDate;
|
|
11
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
12
|
+
id: number;
|
|
13
|
+
status: "REJECTED" | "ACCEPTED" | "ASSIGNED";
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
updatedAt: Date;
|
|
16
|
+
taskId: number;
|
|
17
|
+
acceptedAt: Date;
|
|
18
|
+
workerId: number;
|
|
19
|
+
assignedAt: Date;
|
|
20
|
+
rejectedAt: Date;
|
|
21
|
+
}, {
|
|
22
|
+
id: number;
|
|
23
|
+
status: "REJECTED" | "ACCEPTED" | "ASSIGNED";
|
|
24
|
+
createdAt: Date;
|
|
25
|
+
updatedAt: Date;
|
|
26
|
+
taskId: number;
|
|
27
|
+
acceptedAt: Date;
|
|
28
|
+
workerId: number;
|
|
29
|
+
assignedAt: Date;
|
|
30
|
+
rejectedAt: Date;
|
|
31
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.taskAssignmentSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.taskAssignmentSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
taskId: (0, zod_1.number)(),
|
|
8
|
+
workerId: (0, zod_1.number)(),
|
|
9
|
+
status: (0, zod_1.union)([(0, zod_1.literal)("ASSIGNED"), (0, zod_1.literal)("ACCEPTED"), (0, zod_1.literal)("REJECTED")]),
|
|
10
|
+
assignedAt: (0, zod_1.date)(),
|
|
11
|
+
acceptedAt: (0, zod_1.date)(),
|
|
12
|
+
rejectedAt: (0, zod_1.date)(),
|
|
13
|
+
createdAt: (0, zod_1.date)(),
|
|
14
|
+
updatedAt: (0, zod_1.date)(),
|
|
15
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const taskChecklistSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
taskId: import("zod").ZodNumber;
|
|
4
|
+
sourceChecklistId: import("zod").ZodNumber;
|
|
5
|
+
title: import("zod").ZodString;
|
|
6
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7
|
+
createdAt: import("zod").ZodDate;
|
|
8
|
+
updatedAt: import("zod").ZodDate;
|
|
9
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
10
|
+
id: number;
|
|
11
|
+
title: string;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
taskId: number;
|
|
15
|
+
sourceChecklistId: number;
|
|
16
|
+
description?: string | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
id: number;
|
|
19
|
+
title: string;
|
|
20
|
+
createdAt: Date;
|
|
21
|
+
updatedAt: Date;
|
|
22
|
+
taskId: number;
|
|
23
|
+
sourceChecklistId: number;
|
|
24
|
+
description?: string | undefined;
|
|
25
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.taskChecklistSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.taskChecklistSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
taskId: (0, zod_1.number)(),
|
|
8
|
+
sourceChecklistId: (0, zod_1.number)(),
|
|
9
|
+
title: (0, zod_1.string)(),
|
|
10
|
+
description: (0, zod_1.string)().optional(),
|
|
11
|
+
createdAt: (0, zod_1.date)(),
|
|
12
|
+
updatedAt: (0, zod_1.date)(),
|
|
13
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const taskChecklistItemSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
taskChecklistSpaceId: import("zod").ZodNumber;
|
|
4
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5
|
+
completed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6
|
+
completedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
7
|
+
createdAt: import("zod").ZodDate;
|
|
8
|
+
updatedAt: import("zod").ZodDate;
|
|
9
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
10
|
+
id: number;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
taskChecklistSpaceId: number;
|
|
14
|
+
content?: string | undefined;
|
|
15
|
+
completed?: boolean | undefined;
|
|
16
|
+
completedAt?: Date | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
id: number;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
taskChecklistSpaceId: number;
|
|
22
|
+
content?: string | undefined;
|
|
23
|
+
completed?: boolean | undefined;
|
|
24
|
+
completedAt?: Date | undefined;
|
|
25
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.taskChecklistItemSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.taskChecklistItemSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
taskChecklistSpaceId: (0, zod_1.number)(),
|
|
8
|
+
content: (0, zod_1.string)().optional(),
|
|
9
|
+
completed: (0, zod_1.boolean)().optional(),
|
|
10
|
+
completedAt: (0, zod_1.date)().optional(),
|
|
11
|
+
createdAt: (0, zod_1.date)(),
|
|
12
|
+
updatedAt: (0, zod_1.date)(),
|
|
13
|
+
});
|