hububb-models 1.0.116 → 1.0.118
Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,12 @@ export declare const landlordAnalytics: import("zod").ZodObject<{
|
|
18
18
|
occupancyRateByMonth: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
19
19
|
currentReservations: import("zod").ZodNumber;
|
20
20
|
upcomingReservations: import("zod").ZodNumber;
|
21
|
+
averageGuestsPerReservation: import("zod").ZodNumber;
|
22
|
+
averageLengthOfStay: import("zod").ZodNumber;
|
23
|
+
cancellationRate: import("zod").ZodNumber;
|
24
|
+
revenuePerNight: import("zod").ZodNumber;
|
25
|
+
totalGuests: import("zod").ZodNumber;
|
26
|
+
revenueBySource: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
21
27
|
}, "strip", import("zod").ZodTypeAny, {
|
22
28
|
totalRevenue: number;
|
23
29
|
seasonalTrends: {};
|
@@ -32,6 +38,12 @@ export declare const landlordAnalytics: import("zod").ZodObject<{
|
|
32
38
|
occupancyRateByMonth: {};
|
33
39
|
currentReservations: number;
|
34
40
|
upcomingReservations: number;
|
41
|
+
averageGuestsPerReservation: number;
|
42
|
+
averageLengthOfStay: number;
|
43
|
+
cancellationRate: number;
|
44
|
+
revenuePerNight: number;
|
45
|
+
totalGuests: number;
|
46
|
+
revenueBySource: {};
|
35
47
|
}, {
|
36
48
|
totalRevenue: number;
|
37
49
|
seasonalTrends: {};
|
@@ -46,4 +58,10 @@ export declare const landlordAnalytics: import("zod").ZodObject<{
|
|
46
58
|
occupancyRateByMonth: {};
|
47
59
|
currentReservations: number;
|
48
60
|
upcomingReservations: number;
|
61
|
+
averageGuestsPerReservation: number;
|
62
|
+
averageLengthOfStay: number;
|
63
|
+
cancellationRate: number;
|
64
|
+
revenuePerNight: number;
|
65
|
+
totalGuests: number;
|
66
|
+
revenueBySource: {};
|
49
67
|
}>;
|
package/dist/schemas/landlord.js
CHANGED
@@ -16,4 +16,10 @@ exports.landlordAnalytics = (0, zod_1.object)({
|
|
16
16
|
occupancyRateByMonth: (0, zod_1.object)({}),
|
17
17
|
currentReservations: (0, zod_1.number)(),
|
18
18
|
upcomingReservations: (0, zod_1.number)(),
|
19
|
+
averageGuestsPerReservation: (0, zod_1.number)(),
|
20
|
+
averageLengthOfStay: (0, zod_1.number)(),
|
21
|
+
cancellationRate: (0, zod_1.number)(),
|
22
|
+
revenuePerNight: (0, zod_1.number)(),
|
23
|
+
totalGuests: (0, zod_1.number)(),
|
24
|
+
revenueBySource: (0, zod_1.object)({}),
|
19
25
|
});
|
package/dist/schemas/thread.d.ts
CHANGED
@@ -675,6 +675,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
675
675
|
seenBy: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
|
676
676
|
isImportant: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
677
677
|
needsAttention: import("zod").ZodArray<import("zod").ZodString, "many">;
|
678
|
+
needsAttentionMap: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodBoolean>;
|
678
679
|
}, "strip", import("zod").ZodTypeAny, {
|
679
680
|
type: "ONE_TO_ONE" | "GROUP";
|
680
681
|
createdAt: import("@firebase/firestore-types").Timestamp;
|
@@ -682,6 +683,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
682
683
|
participantIds: string[];
|
683
684
|
seenBy: Record<string, import("@firebase/firestore-types").Timestamp>;
|
684
685
|
needsAttention: string[];
|
686
|
+
needsAttentionMap: Record<string, boolean>;
|
685
687
|
id?: string | undefined;
|
686
688
|
source?: string | undefined;
|
687
689
|
title?: string | undefined;
|
@@ -772,6 +774,7 @@ export declare const ChatThreadSchema: import("zod").ZodObject<{
|
|
772
774
|
participantIds: string[];
|
773
775
|
seenBy: Record<string, import("@firebase/firestore-types").Timestamp>;
|
774
776
|
needsAttention: string[];
|
777
|
+
needsAttentionMap: Record<string, boolean>;
|
775
778
|
id?: string | undefined;
|
776
779
|
source?: string | undefined;
|
777
780
|
title?: string | undefined;
|
package/dist/schemas/thread.js
CHANGED
@@ -34,4 +34,5 @@ exports.ChatThreadSchema = (0, zod_1.object)({
|
|
34
34
|
seenBy: (0, zod_1.record)((0, zod_1.string)(), helpers_1.firestoreTimestampSchema),
|
35
35
|
isImportant: (0, zod_1.optional)((0, zod_1.boolean)()),
|
36
36
|
needsAttention: (0, zod_1.array)((0, zod_1.string)()),
|
37
|
+
needsAttentionMap: (0, zod_1.record)((0, zod_1.string)(), (0, zod_1.boolean)()),
|
37
38
|
});
|