hububb-saas-shared 1.2.14 → 1.2.16
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 +1 -0
- package/dist/schemas/ai-agent/index.js +1 -0
- package/dist/schemas/ai-agent/revenue-manager-config-period.d.ts +0 -18
- package/dist/schemas/ai-agent/revenue-manager-config-period.js +0 -7
- package/dist/schemas/ai-agent/revenue-manager-config.d.ts +0 -18
- package/dist/schemas/ai-agent/revenue-manager-config.js +0 -7
- package/dist/schemas/ai-agent/revenue-manager-orphan-gap-rule.d.ts +28 -0
- package/dist/schemas/ai-agent/revenue-manager-orphan-gap-rule.js +14 -0
- package/dist/schemas/channex/booking.d.ts +2 -2
- package/dist/schemas/channex/thread.d.ts +2 -2
- package/dist/schemas/property/index.d.ts +20 -0
- package/dist/schemas/property/index.js +12 -0
- package/dist/schemas/property-metadata/index.d.ts +11 -2
- package/dist/schemas/property-metadata/index.js +3 -0
- package/dist/schemas/task-checklist-item/index.d.ts +2 -2
- package/dist/schemas/thread/index.d.ts +6 -6
- package/dist/types/ai-agent/index.d.ts +1 -0
- package/dist/types/ai-agent/index.js +1 -0
- package/dist/types/ai-agent/revenue-manager-config-period.d.ts +2 -0
- package/dist/types/ai-agent/revenue-manager-config.d.ts +2 -0
- package/dist/types/ai-agent/revenue-manager-orphan-gap-rule.d.ts +8 -0
- package/package.json +1 -1
- package/dist/schemas/enums/index.d.ts +0 -45
- package/dist/schemas/enums/index.js +0 -56
- package/dist/schemas/service-property/index.d.ts +0 -19
- package/dist/schemas/service-property/index.js +0 -11
- package/dist/types/service-property/index.d.ts +0 -8
- /package/dist/types/{service-property/index.js → ai-agent/revenue-manager-orphan-gap-rule.js} +0 -0
|
@@ -29,3 +29,4 @@ __exportStar(require("./property-manager-session"), exports);
|
|
|
29
29
|
__exportStar(require("./property-manager-suggestion"), exports);
|
|
30
30
|
__exportStar(require("./revenue-manager-config-period"), exports);
|
|
31
31
|
__exportStar(require("./revenue-manager-seasonal-period"), exports);
|
|
32
|
+
__exportStar(require("./revenue-manager-orphan-gap-rule"), exports);
|
|
@@ -32,12 +32,6 @@ 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>;
|
|
41
35
|
createdAt: import("zod").ZodDate;
|
|
42
36
|
updatedAt: import("zod").ZodDate;
|
|
43
37
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -76,12 +70,6 @@ export declare const revenueManagerConfigPeriodSchema: import("zod").ZodObject<{
|
|
|
76
70
|
eventBoostPct?: number | undefined;
|
|
77
71
|
eventMajorBoostPct?: number | undefined;
|
|
78
72
|
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;
|
|
85
73
|
}, {
|
|
86
74
|
id: number;
|
|
87
75
|
createdAt: Date;
|
|
@@ -118,10 +106,4 @@ export declare const revenueManagerConfigPeriodSchema: import("zod").ZodObject<{
|
|
|
118
106
|
eventBoostPct?: number | undefined;
|
|
119
107
|
eventMajorBoostPct?: number | undefined;
|
|
120
108
|
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;
|
|
127
109
|
}>;
|
|
@@ -36,13 +36,6 @@ 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(),
|
|
46
39
|
createdAt: (0, zod_1.date)(),
|
|
47
40
|
updatedAt: (0, zod_1.date)(),
|
|
48
41
|
});
|
|
@@ -29,12 +29,6 @@ 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>;
|
|
38
32
|
autoRecalculate: import("zod").ZodBoolean;
|
|
39
33
|
recalculateDaysAhead: import("zod").ZodNumber;
|
|
40
34
|
lastRecalculatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
@@ -74,17 +68,11 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
|
|
|
74
68
|
eventBoostPct: number;
|
|
75
69
|
eventMajorBoostPct: number;
|
|
76
70
|
eventMajorCapacityThreshold: number;
|
|
77
|
-
allowOrphanGapPricing: boolean;
|
|
78
|
-
orphanGapOneNightAdjustmentPct: number;
|
|
79
|
-
orphanGapTwoNightAdjustmentPct: number;
|
|
80
|
-
allowOrphanGapMinStayOverride: boolean;
|
|
81
71
|
autoRecalculate: boolean;
|
|
82
72
|
recalculateDaysAhead: number;
|
|
83
73
|
isRunning: boolean;
|
|
84
74
|
weekendMinStay?: number | undefined;
|
|
85
75
|
highOccupancyMinStay?: number | undefined;
|
|
86
|
-
orphanGapOneNightMinStay?: number | undefined;
|
|
87
|
-
orphanGapTwoNightMinStay?: number | undefined;
|
|
88
76
|
lastRecalculatedAt?: Date | undefined;
|
|
89
77
|
lastRecalculationNote?: string | undefined;
|
|
90
78
|
runStartedAt?: Date | undefined;
|
|
@@ -119,17 +107,11 @@ export declare const revenueManagerConfigSchema: import("zod").ZodObject<{
|
|
|
119
107
|
eventBoostPct: number;
|
|
120
108
|
eventMajorBoostPct: number;
|
|
121
109
|
eventMajorCapacityThreshold: number;
|
|
122
|
-
allowOrphanGapPricing: boolean;
|
|
123
|
-
orphanGapOneNightAdjustmentPct: number;
|
|
124
|
-
orphanGapTwoNightAdjustmentPct: number;
|
|
125
|
-
allowOrphanGapMinStayOverride: boolean;
|
|
126
110
|
autoRecalculate: boolean;
|
|
127
111
|
recalculateDaysAhead: number;
|
|
128
112
|
isRunning: boolean;
|
|
129
113
|
weekendMinStay?: number | undefined;
|
|
130
114
|
highOccupancyMinStay?: number | undefined;
|
|
131
|
-
orphanGapOneNightMinStay?: number | undefined;
|
|
132
|
-
orphanGapTwoNightMinStay?: number | undefined;
|
|
133
115
|
lastRecalculatedAt?: Date | undefined;
|
|
134
116
|
lastRecalculationNote?: string | undefined;
|
|
135
117
|
runStartedAt?: Date | undefined;
|
|
@@ -41,13 +41,6 @@ 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(),
|
|
51
44
|
// Automation
|
|
52
45
|
autoRecalculate: (0, zod_1.boolean)(),
|
|
53
46
|
recalculateDaysAhead: (0, zod_1.number)().int(),
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const revenueManagerOrphanGapRuleSchema: 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
|
+
gapSizeNights: import("zod").ZodNumber;
|
|
6
|
+
adjustmentPct: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7
|
+
minStay: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8
|
+
createdAt: import("zod").ZodDate;
|
|
9
|
+
updatedAt: import("zod").ZodDate;
|
|
10
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
11
|
+
id: number;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
gapSizeNights: number;
|
|
15
|
+
configId?: number | undefined;
|
|
16
|
+
customPeriodId?: number | undefined;
|
|
17
|
+
adjustmentPct?: number | undefined;
|
|
18
|
+
minStay?: number | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
id: number;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
updatedAt: Date;
|
|
23
|
+
gapSizeNights: number;
|
|
24
|
+
configId?: number | undefined;
|
|
25
|
+
customPeriodId?: number | undefined;
|
|
26
|
+
adjustmentPct?: number | undefined;
|
|
27
|
+
minStay?: number | undefined;
|
|
28
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.revenueManagerOrphanGapRuleSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.revenueManagerOrphanGapRuleSchema = (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
|
+
gapSizeNights: (0, zod_1.number)().int(),
|
|
10
|
+
adjustmentPct: (0, zod_1.number)().int().optional(),
|
|
11
|
+
minStay: (0, zod_1.number)().int().optional(),
|
|
12
|
+
createdAt: (0, zod_1.date)(),
|
|
13
|
+
updatedAt: (0, zod_1.date)(),
|
|
14
|
+
});
|
|
@@ -1086,9 +1086,9 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
|
|
|
1086
1086
|
}>;
|
|
1087
1087
|
property_id: import("zod").ZodString;
|
|
1088
1088
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1089
|
+
timestamp: string;
|
|
1089
1090
|
event: string;
|
|
1090
1091
|
property_id: string;
|
|
1091
|
-
timestamp: string;
|
|
1092
1092
|
payload: {
|
|
1093
1093
|
property_id: string;
|
|
1094
1094
|
revision_id: string;
|
|
@@ -1096,9 +1096,9 @@ export declare const WebhookChannexBookingSchema: import("zod").ZodObject<{
|
|
|
1096
1096
|
};
|
|
1097
1097
|
user_id?: string | null | undefined;
|
|
1098
1098
|
}, {
|
|
1099
|
+
timestamp: string;
|
|
1099
1100
|
event: string;
|
|
1100
1101
|
property_id: string;
|
|
1101
|
-
timestamp: string;
|
|
1102
1102
|
payload: {
|
|
1103
1103
|
property_id: string;
|
|
1104
1104
|
revision_id: string;
|
|
@@ -277,9 +277,9 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
|
277
277
|
}>;
|
|
278
278
|
property_id: import("zod").ZodString;
|
|
279
279
|
}, "strip", import("zod").ZodTypeAny, {
|
|
280
|
+
timestamp: string;
|
|
280
281
|
event: string;
|
|
281
282
|
property_id: string;
|
|
282
|
-
timestamp: string;
|
|
283
283
|
payload: {
|
|
284
284
|
message: string;
|
|
285
285
|
id: string;
|
|
@@ -294,9 +294,9 @@ export declare const WebhookChannexMessageSchema: import("zod").ZodObject<{
|
|
|
294
294
|
};
|
|
295
295
|
user_id?: string | null | undefined;
|
|
296
296
|
}, {
|
|
297
|
+
timestamp: string;
|
|
297
298
|
event: string;
|
|
298
299
|
property_id: string;
|
|
299
|
-
timestamp: string;
|
|
300
300
|
payload: {
|
|
301
301
|
message: string;
|
|
302
302
|
id: string;
|
|
@@ -174,6 +174,10 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
174
174
|
communalCleanSchedule: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
175
|
parkingSpace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
176
176
|
accessArrangements: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
|
+
keyPickupLocationAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
+
keyPickupLocationLatitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
179
|
+
keyPickupLocationLongitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
180
|
+
accessType: z.ZodOptional<z.ZodEnum<["SELF_ACCESS", "MEET_AND_GREET", "RECEPTION_CONCIERGE", "KEY_PICKUP_OTHER_LOCATION", "ACCESS_AFTER_BOOKING"]>>;
|
|
177
181
|
createdAt: z.ZodDate;
|
|
178
182
|
updatedAt: z.ZodDate;
|
|
179
183
|
stCancellationPolicy: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"FLEXIBLE">, z.ZodLiteral<"MODERATE">]>, z.ZodLiteral<"STRICT">]>, z.ZodLiteral<"BETTER_STRICT_WITH_GRACE_PERIOD">]>, z.ZodLiteral<"STRICT_14_WITH_GRACE_PERIOD">]>, z.ZodLiteral<"SUPER_STRICT_30">]>, z.ZodLiteral<"SUPER_STRICT_60">]>, z.ZodLiteral<"FIRM_14">]>>;
|
|
@@ -195,6 +199,10 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
195
199
|
communalCleanSchedule?: string | null | undefined;
|
|
196
200
|
parkingSpace?: string | null | undefined;
|
|
197
201
|
accessArrangements?: string | null | undefined;
|
|
202
|
+
keyPickupLocationAddress?: string | null | undefined;
|
|
203
|
+
keyPickupLocationLatitude?: number | null | undefined;
|
|
204
|
+
keyPickupLocationLongitude?: number | null | undefined;
|
|
205
|
+
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | undefined;
|
|
198
206
|
stCancellationPolicy?: "FLEXIBLE" | "MODERATE" | "STRICT" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
199
207
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
200
208
|
}, {
|
|
@@ -214,6 +222,10 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
214
222
|
communalCleanSchedule?: string | null | undefined;
|
|
215
223
|
parkingSpace?: string | null | undefined;
|
|
216
224
|
accessArrangements?: string | null | undefined;
|
|
225
|
+
keyPickupLocationAddress?: string | null | undefined;
|
|
226
|
+
keyPickupLocationLatitude?: number | null | undefined;
|
|
227
|
+
keyPickupLocationLongitude?: number | null | undefined;
|
|
228
|
+
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | undefined;
|
|
217
229
|
stCancellationPolicy?: "FLEXIBLE" | "MODERATE" | "STRICT" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
218
230
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
219
231
|
}>>;
|
|
@@ -380,6 +392,10 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
380
392
|
communalCleanSchedule?: string | null | undefined;
|
|
381
393
|
parkingSpace?: string | null | undefined;
|
|
382
394
|
accessArrangements?: string | null | undefined;
|
|
395
|
+
keyPickupLocationAddress?: string | null | undefined;
|
|
396
|
+
keyPickupLocationLatitude?: number | null | undefined;
|
|
397
|
+
keyPickupLocationLongitude?: number | null | undefined;
|
|
398
|
+
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | undefined;
|
|
383
399
|
stCancellationPolicy?: "FLEXIBLE" | "MODERATE" | "STRICT" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
384
400
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
385
401
|
} | undefined;
|
|
@@ -476,6 +492,10 @@ export declare const updatePropertySchema: z.ZodObject<{
|
|
|
476
492
|
communalCleanSchedule?: string | null | undefined;
|
|
477
493
|
parkingSpace?: string | null | undefined;
|
|
478
494
|
accessArrangements?: string | null | undefined;
|
|
495
|
+
keyPickupLocationAddress?: string | null | undefined;
|
|
496
|
+
keyPickupLocationLatitude?: number | null | undefined;
|
|
497
|
+
keyPickupLocationLongitude?: number | null | undefined;
|
|
498
|
+
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | undefined;
|
|
479
499
|
stCancellationPolicy?: "FLEXIBLE" | "MODERATE" | "STRICT" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
480
500
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
481
501
|
} | undefined;
|
|
@@ -82,6 +82,18 @@ exports.updatePropertySchema = (0, zod_1.object)({
|
|
|
82
82
|
communalCleanSchedule: (0, zod_1.string)().nullish(),
|
|
83
83
|
parkingSpace: (0, zod_1.string)().nullish(),
|
|
84
84
|
accessArrangements: (0, zod_1.string)().nullish(),
|
|
85
|
+
keyPickupLocationAddress: (0, zod_1.string)().nullish(),
|
|
86
|
+
keyPickupLocationLatitude: zod_1.z.number().nullish(),
|
|
87
|
+
keyPickupLocationLongitude: zod_1.z.number().nullish(),
|
|
88
|
+
accessType: zod_1.z
|
|
89
|
+
.enum([
|
|
90
|
+
"SELF_ACCESS",
|
|
91
|
+
"MEET_AND_GREET",
|
|
92
|
+
"RECEPTION_CONCIERGE",
|
|
93
|
+
"KEY_PICKUP_OTHER_LOCATION",
|
|
94
|
+
"ACCESS_AFTER_BOOKING",
|
|
95
|
+
])
|
|
96
|
+
.optional(),
|
|
85
97
|
createdAt: (0, zod_1.date)(),
|
|
86
98
|
updatedAt: (0, zod_1.date)(),
|
|
87
99
|
stCancellationPolicy: (0, zod_1.literal)("FLEXIBLE")
|
|
@@ -17,6 +17,9 @@ export declare const propertyMetadataSchema: import("zod").ZodObject<{
|
|
|
17
17
|
parkingSpace: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
18
18
|
accessArrangements: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
19
19
|
accessType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodLiteral<"SELF_ACCESS">, import("zod").ZodLiteral<"MEET_AND_GREET">]>, import("zod").ZodLiteral<"RECEPTION_CONCIERGE">]>, import("zod").ZodLiteral<"KEY_PICKUP_OTHER_LOCATION">]>, import("zod").ZodLiteral<"ACCESS_AFTER_BOOKING">]>>>;
|
|
20
|
+
keyPickupLocationAddress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
21
|
+
keyPickupLocationLatitude: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
22
|
+
keyPickupLocationLongitude: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
20
23
|
createdAt: import("zod").ZodDate;
|
|
21
24
|
updatedAt: import("zod").ZodDate;
|
|
22
25
|
stCancellationPolicy: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodLiteral<"FLEXIBLE">, import("zod").ZodLiteral<"MODERATE">]>, import("zod").ZodLiteral<"STRICT">]>, import("zod").ZodLiteral<"BETTER_STRICT_WITH_GRACE_PERIOD">]>, import("zod").ZodLiteral<"STRICT_14_WITH_GRACE_PERIOD">]>, import("zod").ZodLiteral<"SUPER_STRICT_30">]>, import("zod").ZodLiteral<"SUPER_STRICT_60">]>, import("zod").ZodLiteral<"FIRM_14">]>>;
|
|
@@ -40,9 +43,12 @@ export declare const propertyMetadataSchema: import("zod").ZodObject<{
|
|
|
40
43
|
communalCleanSchedule?: string | null | undefined;
|
|
41
44
|
parkingSpace?: string | null | undefined;
|
|
42
45
|
accessArrangements?: string | null | undefined;
|
|
46
|
+
keyPickupLocationAddress?: string | null | undefined;
|
|
47
|
+
keyPickupLocationLatitude?: number | null | undefined;
|
|
48
|
+
keyPickupLocationLongitude?: number | null | undefined;
|
|
49
|
+
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | null | undefined;
|
|
43
50
|
stCancellationPolicy?: "FLEXIBLE" | "MODERATE" | "STRICT" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
44
51
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
45
|
-
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | null | undefined;
|
|
46
52
|
}, {
|
|
47
53
|
id: number;
|
|
48
54
|
createdAt: Date;
|
|
@@ -62,7 +68,10 @@ export declare const propertyMetadataSchema: import("zod").ZodObject<{
|
|
|
62
68
|
communalCleanSchedule?: string | null | undefined;
|
|
63
69
|
parkingSpace?: string | null | undefined;
|
|
64
70
|
accessArrangements?: string | null | undefined;
|
|
71
|
+
keyPickupLocationAddress?: string | null | undefined;
|
|
72
|
+
keyPickupLocationLatitude?: number | null | undefined;
|
|
73
|
+
keyPickupLocationLongitude?: number | null | undefined;
|
|
74
|
+
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | null | undefined;
|
|
65
75
|
stCancellationPolicy?: "FLEXIBLE" | "MODERATE" | "STRICT" | "BETTER_STRICT_WITH_GRACE_PERIOD" | "STRICT_14_WITH_GRACE_PERIOD" | "SUPER_STRICT_30" | "SUPER_STRICT_60" | "FIRM_14" | undefined;
|
|
66
76
|
ltCancellationPolicy?: "CANCEL_LONG_TERM_FAIR" | "CANCEL_LONG_TERM_WITH_GRACE_PERIOD" | undefined;
|
|
67
|
-
accessType?: "SELF_ACCESS" | "MEET_AND_GREET" | "RECEPTION_CONCIERGE" | "KEY_PICKUP_OTHER_LOCATION" | "ACCESS_AFTER_BOOKING" | null | undefined;
|
|
68
77
|
}>;
|
|
@@ -25,6 +25,9 @@ exports.propertyMetadataSchema = (0, zod_1.object)({
|
|
|
25
25
|
parkingSpace: (0, zod_1.string)().nullish(),
|
|
26
26
|
accessArrangements: (0, zod_1.string)().nullish(),
|
|
27
27
|
accessType: exports.accessTypeSchema.nullish(),
|
|
28
|
+
keyPickupLocationAddress: (0, zod_1.string)().nullish(),
|
|
29
|
+
keyPickupLocationLatitude: (0, zod_1.number)().nullish(),
|
|
30
|
+
keyPickupLocationLongitude: (0, zod_1.number)().nullish(),
|
|
28
31
|
createdAt: (0, zod_1.date)(),
|
|
29
32
|
updatedAt: (0, zod_1.date)(),
|
|
30
33
|
stCancellationPolicy: (0, zod_1.literal)("FLEXIBLE")
|
|
@@ -11,15 +11,15 @@ export declare const taskChecklistItemSchema: import("zod").ZodObject<{
|
|
|
11
11
|
createdAt: Date;
|
|
12
12
|
updatedAt: Date;
|
|
13
13
|
taskChecklistSpaceId: number;
|
|
14
|
-
content?: string | undefined;
|
|
15
14
|
completed?: boolean | undefined;
|
|
15
|
+
content?: string | undefined;
|
|
16
16
|
completedAt?: Date | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
id: number;
|
|
19
19
|
createdAt: Date;
|
|
20
20
|
updatedAt: Date;
|
|
21
21
|
taskChecklistSpaceId: number;
|
|
22
|
-
content?: string | undefined;
|
|
23
22
|
completed?: boolean | undefined;
|
|
23
|
+
content?: string | undefined;
|
|
24
24
|
completedAt?: Date | undefined;
|
|
25
25
|
}>;
|
|
@@ -931,7 +931,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
931
931
|
} | undefined;
|
|
932
932
|
}>>;
|
|
933
933
|
participantIds: z.ZodArray<z.ZodString, "many">;
|
|
934
|
-
participants: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
934
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
935
935
|
id: z.ZodString;
|
|
936
936
|
name: z.ZodString;
|
|
937
937
|
email: z.ZodString;
|
|
@@ -962,7 +962,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
962
962
|
hasActiveBookingAccount: z.ZodOptional<z.ZodBoolean>;
|
|
963
963
|
hasPendingPaymentAction: z.ZodOptional<z.ZodBoolean>;
|
|
964
964
|
isKlevioAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
965
|
-
}
|
|
965
|
+
} & {
|
|
966
966
|
userRole: z.ZodOptional<z.ZodObject<{
|
|
967
967
|
id: z.ZodNumber;
|
|
968
968
|
name: z.ZodString;
|
|
@@ -979,7 +979,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
979
979
|
createdAt: Date;
|
|
980
980
|
updatedAt: Date;
|
|
981
981
|
}>>;
|
|
982
|
-
}
|
|
982
|
+
}, "strip", z.ZodTypeAny, {
|
|
983
983
|
name: string;
|
|
984
984
|
id: string;
|
|
985
985
|
email: string;
|
|
@@ -1065,7 +1065,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
1065
1065
|
needsAttentionMap: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
1066
1066
|
propertyId: z.ZodOptional<z.ZodNumber>;
|
|
1067
1067
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1068
|
-
reservation: z.ZodOptional<z.ZodObject<
|
|
1068
|
+
reservation: z.ZodOptional<z.ZodObject<Pick<{
|
|
1069
1069
|
id: z.ZodNumber;
|
|
1070
1070
|
status: z.ZodEnum<["CONFIRMED", "CANCELLED", "PENDING"]>;
|
|
1071
1071
|
currency: z.ZodString;
|
|
@@ -1099,7 +1099,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
1099
1099
|
xeroLastSuccessAt: z.ZodOptional<z.ZodDate>;
|
|
1100
1100
|
xeroLastError: z.ZodOptional<z.ZodString>;
|
|
1101
1101
|
xeroRetryCount: z.ZodOptional<z.ZodNumber>;
|
|
1102
|
-
}, "id" | "status" | "propertyId" | "otaName" | "checkIn" | "checkOut"
|
|
1102
|
+
}, "id" | "status" | "propertyId" | "otaName" | "checkIn" | "checkOut"> & {
|
|
1103
1103
|
propertyNickname: z.ZodOptional<z.ZodString>;
|
|
1104
1104
|
property: z.ZodOptional<z.ZodObject<{
|
|
1105
1105
|
id: z.ZodNumber;
|
|
@@ -1192,7 +1192,7 @@ export declare const ChatThreadSchema: z.ZodObject<{
|
|
|
1192
1192
|
customBundleId?: number | null | undefined;
|
|
1193
1193
|
onboardingPlanChoice?: "HANDS_FREE_PRO" | "CUSTOM_BUILD" | undefined;
|
|
1194
1194
|
}>>;
|
|
1195
|
-
}
|
|
1195
|
+
}, "strip", z.ZodTypeAny, {
|
|
1196
1196
|
id: number;
|
|
1197
1197
|
status: "PENDING" | "CONFIRMED" | "CANCELLED";
|
|
1198
1198
|
propertyId: number;
|
|
@@ -29,3 +29,4 @@ __exportStar(require("./property-manager-session"), exports);
|
|
|
29
29
|
__exportStar(require("./property-manager-suggestion"), exports);
|
|
30
30
|
__exportStar(require("./revenue-manager-config-period"), exports);
|
|
31
31
|
__exportStar(require("./revenue-manager-seasonal-period"), exports);
|
|
32
|
+
__exportStar(require("./revenue-manager-orphan-gap-rule"), exports);
|
|
@@ -2,7 +2,9 @@ import { infer } from "zod";
|
|
|
2
2
|
import { revenueManagerConfigPeriodSchema } from "../../schemas/ai-agent";
|
|
3
3
|
import { RevenueManagerConfig } from "./revenue-manager-config";
|
|
4
4
|
import { RevenueManagerSeasonalPeriod } from "./revenue-manager-seasonal-period";
|
|
5
|
+
import { RevenueManagerOrphanGapRule } from "./revenue-manager-orphan-gap-rule";
|
|
5
6
|
export interface RevenueManagerConfigPeriod extends infer<typeof revenueManagerConfigPeriodSchema> {
|
|
6
7
|
config?: RevenueManagerConfig;
|
|
7
8
|
seasonalPeriods?: RevenueManagerSeasonalPeriod[];
|
|
9
|
+
orphanGapRules?: RevenueManagerOrphanGapRule[];
|
|
8
10
|
}
|
|
@@ -3,8 +3,10 @@ import { revenueManagerConfigSchema } from "../../schemas/ai-agent";
|
|
|
3
3
|
import { PropertyAiAgentSubscription } from "./property-ai-agent-subscription";
|
|
4
4
|
import { RevenueManagerSeasonalPeriod } from "./revenue-manager-seasonal-period";
|
|
5
5
|
import { RevenueManagerConfigPeriod } from "./revenue-manager-config-period";
|
|
6
|
+
import { RevenueManagerOrphanGapRule } from "./revenue-manager-orphan-gap-rule";
|
|
6
7
|
export interface RevenueManagerConfig extends infer<typeof revenueManagerConfigSchema> {
|
|
7
8
|
subscription?: PropertyAiAgentSubscription;
|
|
8
9
|
seasonalPeriods?: RevenueManagerSeasonalPeriod[];
|
|
9
10
|
customPeriods?: RevenueManagerConfigPeriod[];
|
|
11
|
+
orphanGapRules?: RevenueManagerOrphanGapRule[];
|
|
10
12
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { infer } from "zod";
|
|
2
|
+
import { revenueManagerOrphanGapRuleSchema } from "../../schemas/ai-agent";
|
|
3
|
+
import { RevenueManagerConfig } from "./revenue-manager-config";
|
|
4
|
+
import { RevenueManagerConfigPeriod } from "./revenue-manager-config-period";
|
|
5
|
+
export interface RevenueManagerOrphanGapRule extends infer<typeof revenueManagerOrphanGapRuleSchema> {
|
|
6
|
+
config?: RevenueManagerConfig;
|
|
7
|
+
customPeriod?: RevenueManagerConfigPeriod;
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare enum ServiceType {
|
|
2
|
-
INTEGRATION = "INTEGRATION",
|
|
3
|
-
ON_DEMAND = "ON_DEMAND",
|
|
4
|
-
RECURRING = "RECURRING"
|
|
5
|
-
}
|
|
6
|
-
export declare enum TaskStatus {
|
|
7
|
-
PENDING = "PENDING",
|
|
8
|
-
CONFIRMED = "CONFIRMED",
|
|
9
|
-
COMPLETED = "COMPLETED",
|
|
10
|
-
CANCELLED = "CANCELLED"
|
|
11
|
-
}
|
|
12
|
-
export declare enum TaskPriority {
|
|
13
|
-
LOW = "LOW",
|
|
14
|
-
MEDIUM = "MEDIUM",
|
|
15
|
-
HIGH = "HIGH"
|
|
16
|
-
}
|
|
17
|
-
export declare enum InvoiceType {
|
|
18
|
-
SUBSCRIPTION = "SUBSCRIPTION",
|
|
19
|
-
PURCHASE = "PURCHASE"
|
|
20
|
-
}
|
|
21
|
-
export declare enum InvoiceStatus {
|
|
22
|
-
PENDING = "PENDING",
|
|
23
|
-
PAID = "PAID",
|
|
24
|
-
CANCELLED = "CANCELLED",
|
|
25
|
-
FAILED = "FAILED"
|
|
26
|
-
}
|
|
27
|
-
export declare enum PriceType {
|
|
28
|
-
PRORATED = "PRORATED",
|
|
29
|
-
FULL = "FULL"
|
|
30
|
-
}
|
|
31
|
-
export declare enum PurchaseStatus {
|
|
32
|
-
ACTIVE = "ACTIVE",
|
|
33
|
-
CANCELLED = "CANCELLED",
|
|
34
|
-
FAILED = "FAILED"
|
|
35
|
-
}
|
|
36
|
-
export declare enum SubscriptionStatus {
|
|
37
|
-
INCOMPLETE = "INCOMPLETE",
|
|
38
|
-
INCOMPLETE_EXPIRED = "INCOMPLETE_EXPIRED",
|
|
39
|
-
TRIALING = "TRIALING",
|
|
40
|
-
ACTIVE = "ACTIVE",
|
|
41
|
-
PAST_DUE = "PAST_DUE",
|
|
42
|
-
CANCELED = "CANCELED",
|
|
43
|
-
UNPAID = "UNPAID",
|
|
44
|
-
PAUSED = "PAUSED"
|
|
45
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SubscriptionStatus = exports.PurchaseStatus = exports.PriceType = exports.InvoiceStatus = exports.InvoiceType = exports.TaskPriority = exports.TaskStatus = exports.ServiceType = void 0;
|
|
4
|
-
var ServiceType;
|
|
5
|
-
(function (ServiceType) {
|
|
6
|
-
ServiceType["INTEGRATION"] = "INTEGRATION";
|
|
7
|
-
ServiceType["ON_DEMAND"] = "ON_DEMAND";
|
|
8
|
-
ServiceType["RECURRING"] = "RECURRING";
|
|
9
|
-
})(ServiceType || (exports.ServiceType = ServiceType = {}));
|
|
10
|
-
var TaskStatus;
|
|
11
|
-
(function (TaskStatus) {
|
|
12
|
-
TaskStatus["PENDING"] = "PENDING";
|
|
13
|
-
TaskStatus["CONFIRMED"] = "CONFIRMED";
|
|
14
|
-
TaskStatus["COMPLETED"] = "COMPLETED";
|
|
15
|
-
TaskStatus["CANCELLED"] = "CANCELLED";
|
|
16
|
-
})(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
|
|
17
|
-
var TaskPriority;
|
|
18
|
-
(function (TaskPriority) {
|
|
19
|
-
TaskPriority["LOW"] = "LOW";
|
|
20
|
-
TaskPriority["MEDIUM"] = "MEDIUM";
|
|
21
|
-
TaskPriority["HIGH"] = "HIGH";
|
|
22
|
-
})(TaskPriority || (exports.TaskPriority = TaskPriority = {}));
|
|
23
|
-
var InvoiceType;
|
|
24
|
-
(function (InvoiceType) {
|
|
25
|
-
InvoiceType["SUBSCRIPTION"] = "SUBSCRIPTION";
|
|
26
|
-
InvoiceType["PURCHASE"] = "PURCHASE";
|
|
27
|
-
})(InvoiceType || (exports.InvoiceType = InvoiceType = {}));
|
|
28
|
-
var InvoiceStatus;
|
|
29
|
-
(function (InvoiceStatus) {
|
|
30
|
-
InvoiceStatus["PENDING"] = "PENDING";
|
|
31
|
-
InvoiceStatus["PAID"] = "PAID";
|
|
32
|
-
InvoiceStatus["CANCELLED"] = "CANCELLED";
|
|
33
|
-
InvoiceStatus["FAILED"] = "FAILED";
|
|
34
|
-
})(InvoiceStatus || (exports.InvoiceStatus = InvoiceStatus = {}));
|
|
35
|
-
var PriceType;
|
|
36
|
-
(function (PriceType) {
|
|
37
|
-
PriceType["PRORATED"] = "PRORATED";
|
|
38
|
-
PriceType["FULL"] = "FULL";
|
|
39
|
-
})(PriceType || (exports.PriceType = PriceType = {}));
|
|
40
|
-
var PurchaseStatus;
|
|
41
|
-
(function (PurchaseStatus) {
|
|
42
|
-
PurchaseStatus["ACTIVE"] = "ACTIVE";
|
|
43
|
-
PurchaseStatus["CANCELLED"] = "CANCELLED";
|
|
44
|
-
PurchaseStatus["FAILED"] = "FAILED";
|
|
45
|
-
})(PurchaseStatus || (exports.PurchaseStatus = PurchaseStatus = {}));
|
|
46
|
-
var SubscriptionStatus;
|
|
47
|
-
(function (SubscriptionStatus) {
|
|
48
|
-
SubscriptionStatus["INCOMPLETE"] = "INCOMPLETE";
|
|
49
|
-
SubscriptionStatus["INCOMPLETE_EXPIRED"] = "INCOMPLETE_EXPIRED";
|
|
50
|
-
SubscriptionStatus["TRIALING"] = "TRIALING";
|
|
51
|
-
SubscriptionStatus["ACTIVE"] = "ACTIVE";
|
|
52
|
-
SubscriptionStatus["PAST_DUE"] = "PAST_DUE";
|
|
53
|
-
SubscriptionStatus["CANCELED"] = "CANCELED";
|
|
54
|
-
SubscriptionStatus["UNPAID"] = "UNPAID";
|
|
55
|
-
SubscriptionStatus["PAUSED"] = "PAUSED";
|
|
56
|
-
})(SubscriptionStatus || (exports.SubscriptionStatus = SubscriptionStatus = {}));
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const servicePropertySchema: import("zod").ZodObject<{
|
|
2
|
-
propertyId: import("zod").ZodNumber;
|
|
3
|
-
serviceId: import("zod").ZodNumber;
|
|
4
|
-
status: import("zod").ZodString;
|
|
5
|
-
createdAt: import("zod").ZodDate;
|
|
6
|
-
updatedAt: import("zod").ZodDate;
|
|
7
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
8
|
-
status: string;
|
|
9
|
-
createdAt: Date;
|
|
10
|
-
updatedAt: Date;
|
|
11
|
-
serviceId: number;
|
|
12
|
-
propertyId: number;
|
|
13
|
-
}, {
|
|
14
|
-
status: string;
|
|
15
|
-
createdAt: Date;
|
|
16
|
-
updatedAt: Date;
|
|
17
|
-
serviceId: number;
|
|
18
|
-
propertyId: number;
|
|
19
|
-
}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.servicePropertySchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.servicePropertySchema = (0, zod_1.object)({
|
|
6
|
-
propertyId: (0, zod_1.number)().int(),
|
|
7
|
-
serviceId: (0, zod_1.number)().int(),
|
|
8
|
-
status: (0, zod_1.string)(),
|
|
9
|
-
createdAt: (0, zod_1.date)(),
|
|
10
|
-
updatedAt: (0, zod_1.date)(),
|
|
11
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { infer } from "zod";
|
|
2
|
-
import { servicePropertySchema } from "../../schemas/service-property";
|
|
3
|
-
import { Property } from "../property";
|
|
4
|
-
import { Service } from "../service";
|
|
5
|
-
export interface ServiceProperty extends infer<typeof servicePropertySchema> {
|
|
6
|
-
property?: Property;
|
|
7
|
-
service?: Service;
|
|
8
|
-
}
|
/package/dist/types/{service-property/index.js → ai-agent/revenue-manager-orphan-gap-rule.js}
RENAMED
|
File without changes
|