hububb-saas-shared 1.2.6 → 1.2.7

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.
@@ -24,6 +24,11 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
24
24
  baseMinStay: import("zod").ZodNumber;
25
25
  weekendMinStay: import("zod").ZodOptional<import("zod").ZodNumber>;
26
26
  highOccupancyMinStay: import("zod").ZodOptional<import("zod").ZodNumber>;
27
+ allowEventPricing: import("zod").ZodBoolean;
28
+ eventRadiusMiles: import("zod").ZodNumber;
29
+ eventBoostPct: import("zod").ZodNumber;
30
+ eventMajorBoostPct: import("zod").ZodNumber;
31
+ eventMajorCapacityThreshold: import("zod").ZodNumber;
27
32
  autoRecalculate: import("zod").ZodBoolean;
28
33
  recalculateDaysAhead: import("zod").ZodNumber;
29
34
  lastRecalculatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
@@ -56,6 +61,11 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
56
61
  advanceBookingBoostPct: number;
57
62
  allowMinStayAdjustments: boolean;
58
63
  baseMinStay: number;
64
+ allowEventPricing: boolean;
65
+ eventRadiusMiles: number;
66
+ eventBoostPct: number;
67
+ eventMajorBoostPct: number;
68
+ eventMajorCapacityThreshold: number;
59
69
  autoRecalculate: boolean;
60
70
  recalculateDaysAhead: number;
61
71
  weekendMinStay?: number | undefined;
@@ -88,6 +98,11 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
88
98
  advanceBookingBoostPct: number;
89
99
  allowMinStayAdjustments: boolean;
90
100
  baseMinStay: number;
101
+ allowEventPricing: boolean;
102
+ eventRadiusMiles: number;
103
+ eventBoostPct: number;
104
+ eventMajorBoostPct: number;
105
+ eventMajorCapacityThreshold: number;
91
106
  autoRecalculate: boolean;
92
107
  recalculateDaysAhead: number;
93
108
  weekendMinStay?: number | undefined;
@@ -35,6 +35,12 @@ exports.revenueManagerConfigSchema = (0, zod_1.object)({
35
35
  baseMinStay: (0, zod_1.number)().int(),
36
36
  weekendMinStay: (0, zod_1.number)().int().optional(),
37
37
  highOccupancyMinStay: (0, zod_1.number)().int().optional(),
38
+ // Event-based pricing (Ticketmaster)
39
+ allowEventPricing: (0, zod_1.boolean)(),
40
+ eventRadiusMiles: (0, zod_1.number)().int(),
41
+ eventBoostPct: (0, zod_1.number)().int(),
42
+ eventMajorBoostPct: (0, zod_1.number)().int(),
43
+ eventMajorCapacityThreshold: (0, zod_1.number)().int(),
38
44
  // Automation
39
45
  autoRecalculate: (0, zod_1.boolean)(),
40
46
  recalculateDaysAhead: (0, zod_1.number)().int(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "hububb-saas-shared",
4
- "version": "1.2.6",
4
+ "version": "1.2.7",
5
5
  "description": "This is a shared package for the hububb saas project",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",