hububb-saas-shared 1.2.13 → 1.2.14
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.
|
@@ -32,6 +32,12 @@ export declare const revenueManagerConfigPeriodSchema: import("zod").ZodObject<{
|
|
|
32
32
|
eventBoostPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
33
33
|
eventMajorBoostPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
34
34
|
eventMajorCapacityThreshold: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
35
|
+
allowOrphanGapPricing: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
36
|
+
orphanGapOneNightAdjustmentPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
37
|
+
orphanGapTwoNightAdjustmentPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
38
|
+
allowOrphanGapMinStayOverride: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
39
|
+
orphanGapOneNightMinStay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
40
|
+
orphanGapTwoNightMinStay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
35
41
|
createdAt: import("zod").ZodDate;
|
|
36
42
|
updatedAt: import("zod").ZodDate;
|
|
37
43
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -70,6 +76,12 @@ export declare const revenueManagerConfigPeriodSchema: import("zod").ZodObject<{
|
|
|
70
76
|
eventBoostPct?: number | undefined;
|
|
71
77
|
eventMajorBoostPct?: number | undefined;
|
|
72
78
|
eventMajorCapacityThreshold?: number | undefined;
|
|
79
|
+
allowOrphanGapPricing?: boolean | undefined;
|
|
80
|
+
orphanGapOneNightAdjustmentPct?: number | undefined;
|
|
81
|
+
orphanGapTwoNightAdjustmentPct?: number | undefined;
|
|
82
|
+
allowOrphanGapMinStayOverride?: boolean | undefined;
|
|
83
|
+
orphanGapOneNightMinStay?: number | undefined;
|
|
84
|
+
orphanGapTwoNightMinStay?: number | undefined;
|
|
73
85
|
}, {
|
|
74
86
|
id: number;
|
|
75
87
|
createdAt: Date;
|
|
@@ -106,4 +118,10 @@ export declare const revenueManagerConfigPeriodSchema: import("zod").ZodObject<{
|
|
|
106
118
|
eventBoostPct?: number | undefined;
|
|
107
119
|
eventMajorBoostPct?: number | undefined;
|
|
108
120
|
eventMajorCapacityThreshold?: number | undefined;
|
|
121
|
+
allowOrphanGapPricing?: boolean | undefined;
|
|
122
|
+
orphanGapOneNightAdjustmentPct?: number | undefined;
|
|
123
|
+
orphanGapTwoNightAdjustmentPct?: number | undefined;
|
|
124
|
+
allowOrphanGapMinStayOverride?: boolean | undefined;
|
|
125
|
+
orphanGapOneNightMinStay?: number | undefined;
|
|
126
|
+
orphanGapTwoNightMinStay?: number | undefined;
|
|
109
127
|
}>;
|
|
@@ -36,6 +36,13 @@ exports.revenueManagerConfigPeriodSchema = (0, zod_1.object)({
|
|
|
36
36
|
eventBoostPct: (0, zod_1.number)().int().optional(),
|
|
37
37
|
eventMajorBoostPct: (0, zod_1.number)().int().optional(),
|
|
38
38
|
eventMajorCapacityThreshold: (0, zod_1.number)().int().optional(),
|
|
39
|
+
// Orphan gap handling
|
|
40
|
+
allowOrphanGapPricing: (0, zod_1.boolean)().optional(),
|
|
41
|
+
orphanGapOneNightAdjustmentPct: (0, zod_1.number)().int().optional(),
|
|
42
|
+
orphanGapTwoNightAdjustmentPct: (0, zod_1.number)().int().optional(),
|
|
43
|
+
allowOrphanGapMinStayOverride: (0, zod_1.boolean)().optional(),
|
|
44
|
+
orphanGapOneNightMinStay: (0, zod_1.number)().int().optional(),
|
|
45
|
+
orphanGapTwoNightMinStay: (0, zod_1.number)().int().optional(),
|
|
39
46
|
createdAt: (0, zod_1.date)(),
|
|
40
47
|
updatedAt: (0, zod_1.date)(),
|
|
41
48
|
});
|
|
@@ -29,6 +29,12 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
|
|
|
29
29
|
eventBoostPct: import("zod").ZodNumber;
|
|
30
30
|
eventMajorBoostPct: import("zod").ZodNumber;
|
|
31
31
|
eventMajorCapacityThreshold: import("zod").ZodNumber;
|
|
32
|
+
allowOrphanGapPricing: import("zod").ZodBoolean;
|
|
33
|
+
orphanGapOneNightAdjustmentPct: import("zod").ZodNumber;
|
|
34
|
+
orphanGapTwoNightAdjustmentPct: import("zod").ZodNumber;
|
|
35
|
+
allowOrphanGapMinStayOverride: import("zod").ZodBoolean;
|
|
36
|
+
orphanGapOneNightMinStay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
37
|
+
orphanGapTwoNightMinStay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
32
38
|
autoRecalculate: import("zod").ZodBoolean;
|
|
33
39
|
recalculateDaysAhead: import("zod").ZodNumber;
|
|
34
40
|
lastRecalculatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
@@ -68,11 +74,17 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
|
|
|
68
74
|
eventBoostPct: number;
|
|
69
75
|
eventMajorBoostPct: number;
|
|
70
76
|
eventMajorCapacityThreshold: number;
|
|
77
|
+
allowOrphanGapPricing: boolean;
|
|
78
|
+
orphanGapOneNightAdjustmentPct: number;
|
|
79
|
+
orphanGapTwoNightAdjustmentPct: number;
|
|
80
|
+
allowOrphanGapMinStayOverride: boolean;
|
|
71
81
|
autoRecalculate: boolean;
|
|
72
82
|
recalculateDaysAhead: number;
|
|
73
83
|
isRunning: boolean;
|
|
74
84
|
weekendMinStay?: number | undefined;
|
|
75
85
|
highOccupancyMinStay?: number | undefined;
|
|
86
|
+
orphanGapOneNightMinStay?: number | undefined;
|
|
87
|
+
orphanGapTwoNightMinStay?: number | undefined;
|
|
76
88
|
lastRecalculatedAt?: Date | undefined;
|
|
77
89
|
lastRecalculationNote?: string | undefined;
|
|
78
90
|
runStartedAt?: Date | undefined;
|
|
@@ -107,11 +119,17 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
|
|
|
107
119
|
eventBoostPct: number;
|
|
108
120
|
eventMajorBoostPct: number;
|
|
109
121
|
eventMajorCapacityThreshold: number;
|
|
122
|
+
allowOrphanGapPricing: boolean;
|
|
123
|
+
orphanGapOneNightAdjustmentPct: number;
|
|
124
|
+
orphanGapTwoNightAdjustmentPct: number;
|
|
125
|
+
allowOrphanGapMinStayOverride: boolean;
|
|
110
126
|
autoRecalculate: boolean;
|
|
111
127
|
recalculateDaysAhead: number;
|
|
112
128
|
isRunning: boolean;
|
|
113
129
|
weekendMinStay?: number | undefined;
|
|
114
130
|
highOccupancyMinStay?: number | undefined;
|
|
131
|
+
orphanGapOneNightMinStay?: number | undefined;
|
|
132
|
+
orphanGapTwoNightMinStay?: number | undefined;
|
|
115
133
|
lastRecalculatedAt?: Date | undefined;
|
|
116
134
|
lastRecalculationNote?: string | undefined;
|
|
117
135
|
runStartedAt?: Date | undefined;
|
|
@@ -41,6 +41,13 @@ exports.revenueManagerConfigSchema = (0, zod_1.object)({
|
|
|
41
41
|
eventBoostPct: (0, zod_1.number)().int(),
|
|
42
42
|
eventMajorBoostPct: (0, zod_1.number)().int(),
|
|
43
43
|
eventMajorCapacityThreshold: (0, zod_1.number)().int(),
|
|
44
|
+
// Orphan gap handling
|
|
45
|
+
allowOrphanGapPricing: (0, zod_1.boolean)(),
|
|
46
|
+
orphanGapOneNightAdjustmentPct: (0, zod_1.number)().int(),
|
|
47
|
+
orphanGapTwoNightAdjustmentPct: (0, zod_1.number)().int(),
|
|
48
|
+
allowOrphanGapMinStayOverride: (0, zod_1.boolean)(),
|
|
49
|
+
orphanGapOneNightMinStay: (0, zod_1.number)().int().optional(),
|
|
50
|
+
orphanGapTwoNightMinStay: (0, zod_1.number)().int().optional(),
|
|
44
51
|
// Automation
|
|
45
52
|
autoRecalculate: (0, zod_1.boolean)(),
|
|
46
53
|
recalculateDaysAhead: (0, zod_1.number)().int(),
|