hububb-saas-shared 1.2.11 → 1.2.13
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/ai-agent/index.d.ts +2 -0
- package/dist/schemas/ai-agent/index.js +2 -0
- package/dist/schemas/ai-agent/property-manager-session.d.ts +4 -1
- package/dist/schemas/ai-agent/property-manager-session.js +1 -0
- package/dist/schemas/ai-agent/revenue-manager-config-period.d.ts +109 -0
- package/dist/schemas/ai-agent/revenue-manager-config-period.js +41 -0
- package/dist/schemas/ai-agent/revenue-manager-config.d.ts +6 -0
- package/dist/schemas/ai-agent/revenue-manager-config.js +3 -0
- package/dist/schemas/ai-agent/revenue-manager-seasonal-period.d.ts +31 -0
- package/dist/schemas/ai-agent/revenue-manager-seasonal-period.js +15 -0
- package/dist/types/ai-agent/index.d.ts +2 -0
- package/dist/types/ai-agent/index.js +2 -0
- package/dist/types/ai-agent/revenue-manager-config-period.d.ts +8 -0
- package/dist/types/ai-agent/revenue-manager-config-period.js +2 -0
- package/dist/types/ai-agent/revenue-manager-config.d.ts +4 -0
- package/dist/types/ai-agent/revenue-manager-seasonal-period.d.ts +8 -0
- package/dist/types/ai-agent/revenue-manager-seasonal-period.js +2 -0
- package/dist/types/enums/index.d.ts +4 -0
- package/dist/types/enums/index.js +6 -1
- package/package.json +1 -1
|
@@ -11,3 +11,5 @@ export * from "./revenue-manager-run-log";
|
|
|
11
11
|
export * from "./property-manager-config";
|
|
12
12
|
export * from "./property-manager-session";
|
|
13
13
|
export * from "./property-manager-suggestion";
|
|
14
|
+
export * from "./revenue-manager-config-period";
|
|
15
|
+
export * from "./revenue-manager-seasonal-period";
|
|
@@ -27,3 +27,5 @@ __exportStar(require("./revenue-manager-run-log"), exports);
|
|
|
27
27
|
__exportStar(require("./property-manager-config"), exports);
|
|
28
28
|
__exportStar(require("./property-manager-session"), exports);
|
|
29
29
|
__exportStar(require("./property-manager-suggestion"), exports);
|
|
30
|
+
__exportStar(require("./revenue-manager-config-period"), exports);
|
|
31
|
+
__exportStar(require("./revenue-manager-seasonal-period"), exports);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { PropertyManagerSessionStatus } from "../../types/enums";
|
|
2
|
+
import { PropertyManagerSessionStatus, PropertyManagerSessionType } from "../../types/enums";
|
|
3
3
|
export declare const propertyManagerSessionSchema: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
initiatedBy: z.ZodString;
|
|
6
|
+
sessionType: z.ZodNativeEnum<typeof PropertyManagerSessionType>;
|
|
6
7
|
status: z.ZodNativeEnum<typeof PropertyManagerSessionStatus>;
|
|
7
8
|
fileUrls: z.ZodArray<z.ZodString, "many">;
|
|
8
9
|
fileNames: z.ZodArray<z.ZodString, "many">;
|
|
@@ -19,6 +20,7 @@ export declare const propertyManagerSessionSchema: z.ZodObject<{
|
|
|
19
20
|
createdAt: Date;
|
|
20
21
|
updatedAt: Date;
|
|
21
22
|
initiatedBy: string;
|
|
23
|
+
sessionType: PropertyManagerSessionType;
|
|
22
24
|
fileUrls: string[];
|
|
23
25
|
fileNames: string[];
|
|
24
26
|
appliedAt?: Date | undefined;
|
|
@@ -32,6 +34,7 @@ export declare const propertyManagerSessionSchema: z.ZodObject<{
|
|
|
32
34
|
createdAt: Date;
|
|
33
35
|
updatedAt: Date;
|
|
34
36
|
initiatedBy: string;
|
|
37
|
+
sessionType: PropertyManagerSessionType;
|
|
35
38
|
fileUrls: string[];
|
|
36
39
|
fileNames: string[];
|
|
37
40
|
appliedAt?: Date | undefined;
|
|
@@ -6,6 +6,7 @@ const enums_1 = require("../../types/enums");
|
|
|
6
6
|
exports.propertyManagerSessionSchema = (0, zod_1.object)({
|
|
7
7
|
id: (0, zod_1.string)(),
|
|
8
8
|
initiatedBy: (0, zod_1.string)(),
|
|
9
|
+
sessionType: (0, zod_1.nativeEnum)(enums_1.PropertyManagerSessionType),
|
|
9
10
|
status: (0, zod_1.nativeEnum)(enums_1.PropertyManagerSessionStatus),
|
|
10
11
|
fileUrls: (0, zod_1.array)((0, zod_1.string)()),
|
|
11
12
|
fileNames: (0, zod_1.array)((0, zod_1.string)()),
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
export declare const revenueManagerConfigPeriodSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
configId: import("zod").ZodNumber;
|
|
4
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5
|
+
startDate: import("zod").ZodString;
|
|
6
|
+
endDate: import("zod").ZodString;
|
|
7
|
+
basePrice: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8
|
+
minPrice: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
9
|
+
maxPrice: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
10
|
+
currency: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
|
+
strategy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
aggressiveness: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
13
|
+
allowOccupancyAdjustments: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
14
|
+
highOccupancyThreshold: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
15
|
+
highOccupancyBoostPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
16
|
+
lowOccupancyThreshold: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
17
|
+
lowOccupancyDiscountPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
18
|
+
allowLastMinuteDiscounts: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
19
|
+
lastMinuteThresholdDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
20
|
+
lastMinuteDiscountPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
21
|
+
allowWeekendPremiums: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
22
|
+
weekendPremiumPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
23
|
+
allowAdvanceBookingBoost: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
24
|
+
advanceBookingThresholdDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
25
|
+
advanceBookingBoostPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
26
|
+
allowMinStayAdjustments: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
27
|
+
baseMinStay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
28
|
+
weekendMinStay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
29
|
+
highOccupancyMinStay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
30
|
+
allowEventPricing: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
31
|
+
eventRadiusMiles: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
32
|
+
eventBoostPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
33
|
+
eventMajorBoostPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
34
|
+
eventMajorCapacityThreshold: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
35
|
+
createdAt: import("zod").ZodDate;
|
|
36
|
+
updatedAt: import("zod").ZodDate;
|
|
37
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
38
|
+
id: number;
|
|
39
|
+
createdAt: Date;
|
|
40
|
+
updatedAt: Date;
|
|
41
|
+
startDate: string;
|
|
42
|
+
endDate: string;
|
|
43
|
+
configId: number;
|
|
44
|
+
currency?: string | undefined;
|
|
45
|
+
label?: string | undefined;
|
|
46
|
+
basePrice?: number | undefined;
|
|
47
|
+
minPrice?: number | undefined;
|
|
48
|
+
maxPrice?: number | undefined;
|
|
49
|
+
strategy?: string | undefined;
|
|
50
|
+
aggressiveness?: number | undefined;
|
|
51
|
+
allowOccupancyAdjustments?: boolean | undefined;
|
|
52
|
+
highOccupancyThreshold?: number | undefined;
|
|
53
|
+
highOccupancyBoostPct?: number | undefined;
|
|
54
|
+
lowOccupancyThreshold?: number | undefined;
|
|
55
|
+
lowOccupancyDiscountPct?: number | undefined;
|
|
56
|
+
allowLastMinuteDiscounts?: boolean | undefined;
|
|
57
|
+
lastMinuteThresholdDays?: number | undefined;
|
|
58
|
+
lastMinuteDiscountPct?: number | undefined;
|
|
59
|
+
allowWeekendPremiums?: boolean | undefined;
|
|
60
|
+
weekendPremiumPct?: number | undefined;
|
|
61
|
+
allowAdvanceBookingBoost?: boolean | undefined;
|
|
62
|
+
advanceBookingThresholdDays?: number | undefined;
|
|
63
|
+
advanceBookingBoostPct?: number | undefined;
|
|
64
|
+
allowMinStayAdjustments?: boolean | undefined;
|
|
65
|
+
baseMinStay?: number | undefined;
|
|
66
|
+
weekendMinStay?: number | undefined;
|
|
67
|
+
highOccupancyMinStay?: number | undefined;
|
|
68
|
+
allowEventPricing?: boolean | undefined;
|
|
69
|
+
eventRadiusMiles?: number | undefined;
|
|
70
|
+
eventBoostPct?: number | undefined;
|
|
71
|
+
eventMajorBoostPct?: number | undefined;
|
|
72
|
+
eventMajorCapacityThreshold?: number | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
id: number;
|
|
75
|
+
createdAt: Date;
|
|
76
|
+
updatedAt: Date;
|
|
77
|
+
startDate: string;
|
|
78
|
+
endDate: string;
|
|
79
|
+
configId: number;
|
|
80
|
+
currency?: string | undefined;
|
|
81
|
+
label?: string | undefined;
|
|
82
|
+
basePrice?: number | undefined;
|
|
83
|
+
minPrice?: number | undefined;
|
|
84
|
+
maxPrice?: number | undefined;
|
|
85
|
+
strategy?: string | undefined;
|
|
86
|
+
aggressiveness?: number | undefined;
|
|
87
|
+
allowOccupancyAdjustments?: boolean | undefined;
|
|
88
|
+
highOccupancyThreshold?: number | undefined;
|
|
89
|
+
highOccupancyBoostPct?: number | undefined;
|
|
90
|
+
lowOccupancyThreshold?: number | undefined;
|
|
91
|
+
lowOccupancyDiscountPct?: number | undefined;
|
|
92
|
+
allowLastMinuteDiscounts?: boolean | undefined;
|
|
93
|
+
lastMinuteThresholdDays?: number | undefined;
|
|
94
|
+
lastMinuteDiscountPct?: number | undefined;
|
|
95
|
+
allowWeekendPremiums?: boolean | undefined;
|
|
96
|
+
weekendPremiumPct?: number | undefined;
|
|
97
|
+
allowAdvanceBookingBoost?: boolean | undefined;
|
|
98
|
+
advanceBookingThresholdDays?: number | undefined;
|
|
99
|
+
advanceBookingBoostPct?: number | undefined;
|
|
100
|
+
allowMinStayAdjustments?: boolean | undefined;
|
|
101
|
+
baseMinStay?: number | undefined;
|
|
102
|
+
weekendMinStay?: number | undefined;
|
|
103
|
+
highOccupancyMinStay?: number | undefined;
|
|
104
|
+
allowEventPricing?: boolean | undefined;
|
|
105
|
+
eventRadiusMiles?: number | undefined;
|
|
106
|
+
eventBoostPct?: number | undefined;
|
|
107
|
+
eventMajorBoostPct?: number | undefined;
|
|
108
|
+
eventMajorCapacityThreshold?: number | undefined;
|
|
109
|
+
}>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.revenueManagerConfigPeriodSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.revenueManagerConfigPeriodSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
configId: (0, zod_1.number)().int(),
|
|
8
|
+
label: (0, zod_1.string)().optional(),
|
|
9
|
+
startDate: (0, zod_1.string)(),
|
|
10
|
+
endDate: (0, zod_1.string)(),
|
|
11
|
+
basePrice: (0, zod_1.number)().optional(),
|
|
12
|
+
minPrice: (0, zod_1.number)().optional(),
|
|
13
|
+
maxPrice: (0, zod_1.number)().optional(),
|
|
14
|
+
currency: (0, zod_1.string)().optional(),
|
|
15
|
+
strategy: (0, zod_1.string)().optional(),
|
|
16
|
+
aggressiveness: (0, zod_1.number)().int().optional(),
|
|
17
|
+
allowOccupancyAdjustments: (0, zod_1.boolean)().optional(),
|
|
18
|
+
highOccupancyThreshold: (0, zod_1.number)().int().optional(),
|
|
19
|
+
highOccupancyBoostPct: (0, zod_1.number)().int().optional(),
|
|
20
|
+
lowOccupancyThreshold: (0, zod_1.number)().int().optional(),
|
|
21
|
+
lowOccupancyDiscountPct: (0, zod_1.number)().int().optional(),
|
|
22
|
+
allowLastMinuteDiscounts: (0, zod_1.boolean)().optional(),
|
|
23
|
+
lastMinuteThresholdDays: (0, zod_1.number)().int().optional(),
|
|
24
|
+
lastMinuteDiscountPct: (0, zod_1.number)().int().optional(),
|
|
25
|
+
allowWeekendPremiums: (0, zod_1.boolean)().optional(),
|
|
26
|
+
weekendPremiumPct: (0, zod_1.number)().int().optional(),
|
|
27
|
+
allowAdvanceBookingBoost: (0, zod_1.boolean)().optional(),
|
|
28
|
+
advanceBookingThresholdDays: (0, zod_1.number)().int().optional(),
|
|
29
|
+
advanceBookingBoostPct: (0, zod_1.number)().int().optional(),
|
|
30
|
+
allowMinStayAdjustments: (0, zod_1.boolean)().optional(),
|
|
31
|
+
baseMinStay: (0, zod_1.number)().int().optional(),
|
|
32
|
+
weekendMinStay: (0, zod_1.number)().int().optional(),
|
|
33
|
+
highOccupancyMinStay: (0, zod_1.number)().int().optional(),
|
|
34
|
+
allowEventPricing: (0, zod_1.boolean)().optional(),
|
|
35
|
+
eventRadiusMiles: (0, zod_1.number)().int().optional(),
|
|
36
|
+
eventBoostPct: (0, zod_1.number)().int().optional(),
|
|
37
|
+
eventMajorBoostPct: (0, zod_1.number)().int().optional(),
|
|
38
|
+
eventMajorCapacityThreshold: (0, zod_1.number)().int().optional(),
|
|
39
|
+
createdAt: (0, zod_1.date)(),
|
|
40
|
+
updatedAt: (0, zod_1.date)(),
|
|
41
|
+
});
|
|
@@ -33,6 +33,8 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
|
|
|
33
33
|
recalculateDaysAhead: import("zod").ZodNumber;
|
|
34
34
|
lastRecalculatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
35
35
|
lastRecalculationNote: import("zod").ZodOptional<import("zod").ZodString>;
|
|
36
|
+
isRunning: import("zod").ZodBoolean;
|
|
37
|
+
runStartedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
36
38
|
createdAt: import("zod").ZodDate;
|
|
37
39
|
updatedAt: import("zod").ZodDate;
|
|
38
40
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -68,10 +70,12 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
|
|
|
68
70
|
eventMajorCapacityThreshold: number;
|
|
69
71
|
autoRecalculate: boolean;
|
|
70
72
|
recalculateDaysAhead: number;
|
|
73
|
+
isRunning: boolean;
|
|
71
74
|
weekendMinStay?: number | undefined;
|
|
72
75
|
highOccupancyMinStay?: number | undefined;
|
|
73
76
|
lastRecalculatedAt?: Date | undefined;
|
|
74
77
|
lastRecalculationNote?: string | undefined;
|
|
78
|
+
runStartedAt?: Date | undefined;
|
|
75
79
|
}, {
|
|
76
80
|
currency: string;
|
|
77
81
|
id: number;
|
|
@@ -105,8 +109,10 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
|
|
|
105
109
|
eventMajorCapacityThreshold: number;
|
|
106
110
|
autoRecalculate: boolean;
|
|
107
111
|
recalculateDaysAhead: number;
|
|
112
|
+
isRunning: boolean;
|
|
108
113
|
weekendMinStay?: number | undefined;
|
|
109
114
|
highOccupancyMinStay?: number | undefined;
|
|
110
115
|
lastRecalculatedAt?: Date | undefined;
|
|
111
116
|
lastRecalculationNote?: string | undefined;
|
|
117
|
+
runStartedAt?: Date | undefined;
|
|
112
118
|
}>;
|
|
@@ -47,6 +47,9 @@ exports.revenueManagerConfigSchema = (0, zod_1.object)({
|
|
|
47
47
|
// Last run metadata
|
|
48
48
|
lastRecalculatedAt: (0, zod_1.date)().optional(),
|
|
49
49
|
lastRecalculationNote: (0, zod_1.string)().optional(),
|
|
50
|
+
// Execution status
|
|
51
|
+
isRunning: (0, zod_1.boolean)(),
|
|
52
|
+
runStartedAt: (0, zod_1.date)().optional(),
|
|
50
53
|
createdAt: (0, zod_1.date)(),
|
|
51
54
|
updatedAt: (0, zod_1.date)(),
|
|
52
55
|
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const revenueManagerSeasonalPeriodSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
configId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4
|
+
customPeriodId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
+
startDate: import("zod").ZodString;
|
|
7
|
+
endDate: import("zod").ZodString;
|
|
8
|
+
adjustmentPct: import("zod").ZodNumber;
|
|
9
|
+
createdAt: import("zod").ZodDate;
|
|
10
|
+
updatedAt: import("zod").ZodDate;
|
|
11
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
12
|
+
id: number;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
startDate: string;
|
|
16
|
+
endDate: string;
|
|
17
|
+
adjustmentPct: number;
|
|
18
|
+
label?: string | undefined;
|
|
19
|
+
configId?: number | undefined;
|
|
20
|
+
customPeriodId?: number | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
id: number;
|
|
23
|
+
createdAt: Date;
|
|
24
|
+
updatedAt: Date;
|
|
25
|
+
startDate: string;
|
|
26
|
+
endDate: string;
|
|
27
|
+
adjustmentPct: number;
|
|
28
|
+
label?: string | undefined;
|
|
29
|
+
configId?: number | undefined;
|
|
30
|
+
customPeriodId?: number | undefined;
|
|
31
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.revenueManagerSeasonalPeriodSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.revenueManagerSeasonalPeriodSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
configId: (0, zod_1.number)().int().optional(),
|
|
8
|
+
customPeriodId: (0, zod_1.number)().int().optional(),
|
|
9
|
+
label: (0, zod_1.string)().optional(),
|
|
10
|
+
startDate: (0, zod_1.string)(),
|
|
11
|
+
endDate: (0, zod_1.string)(),
|
|
12
|
+
adjustmentPct: (0, zod_1.number)(),
|
|
13
|
+
createdAt: (0, zod_1.date)(),
|
|
14
|
+
updatedAt: (0, zod_1.date)(),
|
|
15
|
+
});
|
|
@@ -11,3 +11,5 @@ export * from "./revenue-manager-run-log";
|
|
|
11
11
|
export * from "./property-manager-config";
|
|
12
12
|
export * from "./property-manager-session";
|
|
13
13
|
export * from "./property-manager-suggestion";
|
|
14
|
+
export * from "./revenue-manager-config-period";
|
|
15
|
+
export * from "./revenue-manager-seasonal-period";
|
|
@@ -27,3 +27,5 @@ __exportStar(require("./revenue-manager-run-log"), exports);
|
|
|
27
27
|
__exportStar(require("./property-manager-config"), exports);
|
|
28
28
|
__exportStar(require("./property-manager-session"), exports);
|
|
29
29
|
__exportStar(require("./property-manager-suggestion"), exports);
|
|
30
|
+
__exportStar(require("./revenue-manager-config-period"), exports);
|
|
31
|
+
__exportStar(require("./revenue-manager-seasonal-period"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { infer } from "zod";
|
|
2
|
+
import { revenueManagerConfigPeriodSchema } from "../../schemas/ai-agent";
|
|
3
|
+
import { RevenueManagerConfig } from "./revenue-manager-config";
|
|
4
|
+
import { RevenueManagerSeasonalPeriod } from "./revenue-manager-seasonal-period";
|
|
5
|
+
export interface RevenueManagerConfigPeriod extends infer<typeof revenueManagerConfigPeriodSchema> {
|
|
6
|
+
config?: RevenueManagerConfig;
|
|
7
|
+
seasonalPeriods?: RevenueManagerSeasonalPeriod[];
|
|
8
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { infer } from "zod";
|
|
2
2
|
import { revenueManagerConfigSchema } from "../../schemas/ai-agent";
|
|
3
3
|
import { PropertyAiAgentSubscription } from "./property-ai-agent-subscription";
|
|
4
|
+
import { RevenueManagerSeasonalPeriod } from "./revenue-manager-seasonal-period";
|
|
5
|
+
import { RevenueManagerConfigPeriod } from "./revenue-manager-config-period";
|
|
4
6
|
export interface RevenueManagerConfig extends infer<typeof revenueManagerConfigSchema> {
|
|
5
7
|
subscription?: PropertyAiAgentSubscription;
|
|
8
|
+
seasonalPeriods?: RevenueManagerSeasonalPeriod[];
|
|
9
|
+
customPeriods?: RevenueManagerConfigPeriod[];
|
|
6
10
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { infer } from "zod";
|
|
2
|
+
import { revenueManagerSeasonalPeriodSchema } from "../../schemas/ai-agent";
|
|
3
|
+
import { RevenueManagerConfig } from "./revenue-manager-config";
|
|
4
|
+
import { RevenueManagerConfigPeriod } from "./revenue-manager-config-period";
|
|
5
|
+
export interface RevenueManagerSeasonalPeriod extends infer<typeof revenueManagerSeasonalPeriodSchema> {
|
|
6
|
+
config?: RevenueManagerConfig;
|
|
7
|
+
customPeriod?: RevenueManagerConfigPeriod;
|
|
8
|
+
}
|
|
@@ -109,6 +109,10 @@ export declare enum PropertyManagerSuggestionStatus {
|
|
|
109
109
|
APPLIED = "APPLIED",
|
|
110
110
|
FAILED = "FAILED"
|
|
111
111
|
}
|
|
112
|
+
export declare enum PropertyManagerSessionType {
|
|
113
|
+
DOCUMENT_ANALYSIS = "DOCUMENT_ANALYSIS",
|
|
114
|
+
PROPERTY_AUDIT = "PROPERTY_AUDIT"
|
|
115
|
+
}
|
|
112
116
|
export declare enum HumanReviewPriority {
|
|
113
117
|
LOW = "LOW",
|
|
114
118
|
NORMAL = "NORMAL",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HumanReviewStatus = exports.HumanReviewPriority = 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.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";
|
|
@@ -134,6 +134,11 @@ var PropertyManagerSuggestionStatus;
|
|
|
134
134
|
PropertyManagerSuggestionStatus["APPLIED"] = "APPLIED";
|
|
135
135
|
PropertyManagerSuggestionStatus["FAILED"] = "FAILED";
|
|
136
136
|
})(PropertyManagerSuggestionStatus || (exports.PropertyManagerSuggestionStatus = PropertyManagerSuggestionStatus = {}));
|
|
137
|
+
var PropertyManagerSessionType;
|
|
138
|
+
(function (PropertyManagerSessionType) {
|
|
139
|
+
PropertyManagerSessionType["DOCUMENT_ANALYSIS"] = "DOCUMENT_ANALYSIS";
|
|
140
|
+
PropertyManagerSessionType["PROPERTY_AUDIT"] = "PROPERTY_AUDIT";
|
|
141
|
+
})(PropertyManagerSessionType || (exports.PropertyManagerSessionType = PropertyManagerSessionType = {}));
|
|
137
142
|
var HumanReviewPriority;
|
|
138
143
|
(function (HumanReviewPriority) {
|
|
139
144
|
HumanReviewPriority["LOW"] = "LOW";
|