hububb-saas-shared 1.2.38 → 1.2.39
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/cleaning-checklist/index.d.ts +3 -0
- package/dist/schemas/cleaning-checklist/index.js +1 -0
- package/dist/schemas/reporting-handbook/index.d.ts +3 -0
- package/dist/schemas/reporting-handbook/index.js +1 -0
- package/dist/schemas/supplies-and-notes-handbook/index.d.ts +3 -0
- package/dist/schemas/supplies-and-notes-handbook/index.js +1 -0
- package/dist/types/cleaning-checklist/index.d.ts +2 -0
- package/dist/types/property/index.d.ts +6 -0
- package/dist/types/reporting-handbook/index.d.ts +2 -0
- package/dist/types/supplies-and-notes-handbook/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export declare const cleaningChecklistSchema: import("zod").ZodObject<{
|
|
|
4
4
|
description: import("zod").ZodString;
|
|
5
5
|
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"NOT_STARTED">, import("zod").ZodLiteral<"IN_PROGRESS">, import("zod").ZodLiteral<"COMPLETED">]>;
|
|
6
6
|
roomId: import("zod").ZodNumber;
|
|
7
|
+
propertyId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7
8
|
createdAt: import("zod").ZodDate;
|
|
8
9
|
updatedAt: import("zod").ZodDate;
|
|
9
10
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -14,6 +15,7 @@ export declare const cleaningChecklistSchema: import("zod").ZodObject<{
|
|
|
14
15
|
createdAt: Date;
|
|
15
16
|
updatedAt: Date;
|
|
16
17
|
roomId: number;
|
|
18
|
+
propertyId?: number | undefined;
|
|
17
19
|
}, {
|
|
18
20
|
id: number;
|
|
19
21
|
title: string;
|
|
@@ -22,6 +24,7 @@ export declare const cleaningChecklistSchema: import("zod").ZodObject<{
|
|
|
22
24
|
createdAt: Date;
|
|
23
25
|
updatedAt: Date;
|
|
24
26
|
roomId: number;
|
|
27
|
+
propertyId?: number | undefined;
|
|
25
28
|
}>;
|
|
26
29
|
export declare const cleaningChecklistPropertyRoomSchema: import("zod").ZodObject<{
|
|
27
30
|
id: import("zod").ZodNumber;
|
|
@@ -8,6 +8,7 @@ exports.cleaningChecklistSchema = (0, zod_1.object)({
|
|
|
8
8
|
description: (0, zod_1.string)(),
|
|
9
9
|
status: (0, zod_1.union)([(0, zod_1.literal)("NOT_STARTED"), (0, zod_1.literal)("IN_PROGRESS"), (0, zod_1.literal)("COMPLETED")]),
|
|
10
10
|
roomId: (0, zod_1.number)().int(),
|
|
11
|
+
propertyId: (0, zod_1.number)().int().optional(),
|
|
11
12
|
createdAt: (0, zod_1.date)(),
|
|
12
13
|
updatedAt: (0, zod_1.date)(),
|
|
13
14
|
});
|
|
@@ -7,6 +7,7 @@ export declare const reportingHandbookSchema: import("zod").ZodObject<{
|
|
|
7
7
|
videoReportNotes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
8
|
photoReportNotes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
9
|
roomId: import("zod").ZodNumber;
|
|
10
|
+
propertyId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
10
11
|
createdAt: import("zod").ZodDate;
|
|
11
12
|
updatedAt: import("zod").ZodDate;
|
|
12
13
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -15,6 +16,7 @@ export declare const reportingHandbookSchema: import("zod").ZodObject<{
|
|
|
15
16
|
createdAt: Date;
|
|
16
17
|
updatedAt: Date;
|
|
17
18
|
roomId: number;
|
|
19
|
+
propertyId?: number | undefined;
|
|
18
20
|
damageReportEnabled?: boolean | undefined;
|
|
19
21
|
videoReportEnabled?: boolean | undefined;
|
|
20
22
|
photoReportEnabled?: boolean | undefined;
|
|
@@ -26,6 +28,7 @@ export declare const reportingHandbookSchema: import("zod").ZodObject<{
|
|
|
26
28
|
createdAt: Date;
|
|
27
29
|
updatedAt: Date;
|
|
28
30
|
roomId: number;
|
|
31
|
+
propertyId?: number | undefined;
|
|
29
32
|
damageReportEnabled?: boolean | undefined;
|
|
30
33
|
videoReportEnabled?: boolean | undefined;
|
|
31
34
|
photoReportEnabled?: boolean | undefined;
|
|
@@ -11,6 +11,7 @@ exports.reportingHandbookSchema = (0, zod_1.object)({
|
|
|
11
11
|
videoReportNotes: (0, zod_1.string)().optional(),
|
|
12
12
|
photoReportNotes: (0, zod_1.string)().optional(),
|
|
13
13
|
roomId: (0, zod_1.number)().int(),
|
|
14
|
+
propertyId: (0, zod_1.number)().int().optional(),
|
|
14
15
|
createdAt: (0, zod_1.date)(),
|
|
15
16
|
updatedAt: (0, zod_1.date)(),
|
|
16
17
|
});
|
|
@@ -13,6 +13,7 @@ export declare const suppliesAndNotesHandbookSchema: import("zod").ZodObject<{
|
|
|
13
13
|
additionalNotes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
14
|
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"NOT_STARTED">, import("zod").ZodLiteral<"IN_PROGRESS">, import("zod").ZodLiteral<"COMPLETED">]>;
|
|
15
15
|
roomId: import("zod").ZodNumber;
|
|
16
|
+
propertyId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
16
17
|
createdAt: import("zod").ZodDate;
|
|
17
18
|
updatedAt: import("zod").ZodDate;
|
|
18
19
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -30,6 +31,7 @@ export declare const suppliesAndNotesHandbookSchema: import("zod").ZodObject<{
|
|
|
30
31
|
hasMop: boolean;
|
|
31
32
|
hasBeddingAndLinen: boolean;
|
|
32
33
|
detergentsAutoRestockEnabled: boolean;
|
|
34
|
+
propertyId?: number | undefined;
|
|
33
35
|
suppliesNotes?: string | undefined;
|
|
34
36
|
additionalNotes?: string | undefined;
|
|
35
37
|
}, {
|
|
@@ -47,6 +49,7 @@ export declare const suppliesAndNotesHandbookSchema: import("zod").ZodObject<{
|
|
|
47
49
|
hasMop: boolean;
|
|
48
50
|
hasBeddingAndLinen: boolean;
|
|
49
51
|
detergentsAutoRestockEnabled: boolean;
|
|
52
|
+
propertyId?: number | undefined;
|
|
50
53
|
suppliesNotes?: string | undefined;
|
|
51
54
|
additionalNotes?: string | undefined;
|
|
52
55
|
}>;
|
|
@@ -17,6 +17,7 @@ exports.suppliesAndNotesHandbookSchema = (0, zod_1.object)({
|
|
|
17
17
|
additionalNotes: (0, zod_1.string)().optional(),
|
|
18
18
|
status: (0, zod_1.union)([(0, zod_1.literal)("NOT_STARTED"), (0, zod_1.literal)("IN_PROGRESS"), (0, zod_1.literal)("COMPLETED")]),
|
|
19
19
|
roomId: (0, zod_1.number)().int(),
|
|
20
|
+
propertyId: (0, zod_1.number)().int().optional(),
|
|
20
21
|
createdAt: (0, zod_1.date)(),
|
|
21
22
|
updatedAt: (0, zod_1.date)(),
|
|
22
23
|
});
|
|
@@ -2,9 +2,11 @@ import { infer } from "zod";
|
|
|
2
2
|
import { Room } from "../room";
|
|
3
3
|
import { PropertyRoom } from "../property-room";
|
|
4
4
|
import { cleaningChecklistItemSchema, cleaningChecklistPropertyRoomSchema, cleaningChecklistSchema } from "../../schemas/cleaning-checklist";
|
|
5
|
+
import { Property } from "../property";
|
|
5
6
|
export interface CleaningChecklist extends infer<typeof cleaningChecklistSchema> {
|
|
6
7
|
room?: Room;
|
|
7
8
|
spaces?: CleaningChecklistPropertyRoom[];
|
|
9
|
+
property?: Property;
|
|
8
10
|
}
|
|
9
11
|
export interface CleaningChecklistPropertyRoom extends infer<typeof cleaningChecklistPropertyRoomSchema> {
|
|
10
12
|
cleaningChecklist?: CleaningChecklist;
|
|
@@ -32,6 +32,9 @@ import { RevenueManagerRunLog } from "../ai-agent/revenue-manager-run-log";
|
|
|
32
32
|
import { ReservationOriginalUnit } from "../reservation-original-unit";
|
|
33
33
|
import { ReservationNightFact } from "../reservation-night-fact";
|
|
34
34
|
import { PropertyInventoryCurrentState } from "../property-inventory-current-state";
|
|
35
|
+
import { ReportingHandbook } from "../reporting-handbook";
|
|
36
|
+
import { CleaningChecklist } from "../cleaning-checklist";
|
|
37
|
+
import { SuppliesAndNotesHandbook } from "../supplies-and-notes-handbook";
|
|
35
38
|
export interface Property extends infer<typeof propertySchema> {
|
|
36
39
|
user?: User;
|
|
37
40
|
rooms?: Room[];
|
|
@@ -70,6 +73,9 @@ export interface Property extends infer<typeof propertySchema> {
|
|
|
70
73
|
reservationOriginalUnits?: ReservationOriginalUnit[];
|
|
71
74
|
reservationNightFacts?: ReservationNightFact[];
|
|
72
75
|
propertyInventoryCurrentState?: PropertyInventoryCurrentState;
|
|
76
|
+
reportingHandbook?: ReportingHandbook;
|
|
77
|
+
cleaningChecklists?: CleaningChecklist[];
|
|
78
|
+
suppliesAndNotesHandbook?: SuppliesAndNotesHandbook;
|
|
73
79
|
}
|
|
74
80
|
export interface UpdatePropertySchema extends infer<typeof updatePropertySchema> {
|
|
75
81
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { infer } from "zod";
|
|
2
2
|
import { Room } from "../room";
|
|
3
3
|
import { reportingHandbookSchema } from "../../schemas/reporting-handbook";
|
|
4
|
+
import { Property } from "../property";
|
|
4
5
|
export interface ReportingHandbook extends infer<typeof reportingHandbookSchema> {
|
|
5
6
|
room?: Room;
|
|
7
|
+
property?: Property;
|
|
6
8
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { infer } from "zod";
|
|
2
2
|
import { Room } from "../room";
|
|
3
3
|
import { suppliesAndNotesHandbookSchema } from "../../schemas/supplies-and-notes-handbook";
|
|
4
|
+
import { Property } from "../property";
|
|
4
5
|
export interface SuppliesAndNotesHandbook extends infer<typeof suppliesAndNotesHandbookSchema> {
|
|
5
6
|
room?: Room;
|
|
7
|
+
property?: Property;
|
|
6
8
|
}
|