hububb-saas-shared 1.2.2 → 1.2.4
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/agent-action-log.d.ts +47 -0
- package/dist/schemas/ai-agent/agent-action-log.js +21 -0
- package/dist/schemas/ai-agent/agent-thread-session.d.ts +59 -0
- package/dist/schemas/ai-agent/agent-thread-session.js +25 -0
- package/dist/schemas/ai-agent/ai-agent.d.ts +44 -0
- package/dist/schemas/ai-agent/ai-agent.js +20 -0
- package/dist/schemas/ai-agent/guest-coordinator-config.d.ts +95 -0
- package/dist/schemas/ai-agent/guest-coordinator-config.js +43 -0
- package/dist/schemas/ai-agent/host-coordinator-config.d.ts +68 -0
- package/dist/schemas/ai-agent/host-coordinator-config.js +33 -0
- package/dist/schemas/ai-agent/human-review-task.d.ts +62 -0
- package/dist/schemas/ai-agent/human-review-task.js +26 -0
- package/dist/schemas/ai-agent/index.d.ts +8 -0
- package/dist/schemas/ai-agent/index.js +24 -0
- package/dist/schemas/ai-agent/property-ai-agent-subscription.d.ts +40 -0
- package/dist/schemas/ai-agent/property-ai-agent-subscription.js +18 -0
- package/dist/schemas/ai-agent/user-ai-agent-subscription.d.ts +40 -0
- package/dist/schemas/ai-agent/user-ai-agent-subscription.js +18 -0
- package/dist/schemas/channex/booking.d.ts +2 -2
- package/dist/schemas/channex/thread.d.ts +2 -2
- package/dist/schemas/enums/index.d.ts +45 -0
- package/dist/schemas/enums/index.js +56 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/service-property/index.d.ts +19 -0
- package/dist/schemas/service-property/index.js +11 -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/agent-action-log.d.ts +12 -0
- package/dist/types/ai-agent/agent-action-log.js +2 -0
- package/dist/types/ai-agent/agent-thread-session.d.ts +14 -0
- package/dist/types/ai-agent/agent-thread-session.js +2 -0
- package/dist/types/ai-agent/ai-agent.d.ts +8 -0
- package/dist/types/ai-agent/ai-agent.js +2 -0
- package/dist/types/ai-agent/guest-coordinator-config.d.ts +8 -0
- package/dist/types/ai-agent/guest-coordinator-config.js +2 -0
- package/dist/types/ai-agent/host-coordinator-config.d.ts +6 -0
- package/dist/types/ai-agent/host-coordinator-config.js +2 -0
- package/dist/types/ai-agent/human-review-task.d.ts +12 -0
- package/dist/types/ai-agent/human-review-task.js +2 -0
- package/dist/types/ai-agent/index.d.ts +8 -0
- package/dist/types/ai-agent/index.js +24 -0
- package/dist/types/ai-agent/property-ai-agent-subscription.d.ts +16 -0
- package/dist/types/ai-agent/property-ai-agent-subscription.js +2 -0
- package/dist/types/ai-agent/user-ai-agent-subscription.d.ts +16 -0
- package/dist/types/ai-agent/user-ai-agent-subscription.js +2 -0
- package/dist/types/enums/index.d.ts +36 -0
- package/dist/types/enums/index.js +46 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/property/index.d.ts +8 -0
- package/dist/types/service-property/index.d.ts +8 -0
- package/dist/types/service-property/index.js +2 -0
- package/dist/types/user/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AgentActionType } from "../../types/enums";
|
|
2
|
+
export declare const agentActionLogSchema: import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodString;
|
|
4
|
+
agentSlug: import("zod").ZodString;
|
|
5
|
+
subscriptionId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6
|
+
userSubscriptionId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7
|
+
sessionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
|
+
threadId: import("zod").ZodString;
|
|
9
|
+
propertyId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
10
|
+
actionType: import("zod").ZodNativeEnum<typeof AgentActionType>;
|
|
11
|
+
toolsUsed: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
12
|
+
guestMessagePreview: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
replyPreview: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
requiresHumanReview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
15
|
+
escalationReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
createdAt: import("zod").ZodDate;
|
|
17
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
18
|
+
id: string;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
threadId: string;
|
|
21
|
+
agentSlug: string;
|
|
22
|
+
toolsUsed: string[];
|
|
23
|
+
actionType: AgentActionType;
|
|
24
|
+
propertyId?: number | undefined;
|
|
25
|
+
subscriptionId?: number | undefined;
|
|
26
|
+
userSubscriptionId?: number | undefined;
|
|
27
|
+
requiresHumanReview?: boolean | undefined;
|
|
28
|
+
escalationReason?: string | undefined;
|
|
29
|
+
sessionId?: string | undefined;
|
|
30
|
+
guestMessagePreview?: string | undefined;
|
|
31
|
+
replyPreview?: string | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
id: string;
|
|
34
|
+
createdAt: Date;
|
|
35
|
+
threadId: string;
|
|
36
|
+
agentSlug: string;
|
|
37
|
+
toolsUsed: string[];
|
|
38
|
+
actionType: AgentActionType;
|
|
39
|
+
propertyId?: number | undefined;
|
|
40
|
+
subscriptionId?: number | undefined;
|
|
41
|
+
userSubscriptionId?: number | undefined;
|
|
42
|
+
requiresHumanReview?: boolean | undefined;
|
|
43
|
+
escalationReason?: string | undefined;
|
|
44
|
+
sessionId?: string | undefined;
|
|
45
|
+
guestMessagePreview?: string | undefined;
|
|
46
|
+
replyPreview?: string | undefined;
|
|
47
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.agentActionLogSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../../types/enums");
|
|
6
|
+
exports.agentActionLogSchema = (0, zod_1.object)({
|
|
7
|
+
id: (0, zod_1.string)(),
|
|
8
|
+
agentSlug: (0, zod_1.string)(),
|
|
9
|
+
subscriptionId: (0, zod_1.number)().int().optional(),
|
|
10
|
+
userSubscriptionId: (0, zod_1.number)().int().optional(),
|
|
11
|
+
sessionId: (0, zod_1.string)().optional(),
|
|
12
|
+
threadId: (0, zod_1.string)(),
|
|
13
|
+
propertyId: (0, zod_1.number)().int().optional(),
|
|
14
|
+
actionType: (0, zod_1.nativeEnum)(enums_1.AgentActionType),
|
|
15
|
+
toolsUsed: (0, zod_1.array)((0, zod_1.string)()),
|
|
16
|
+
guestMessagePreview: (0, zod_1.string)().optional(),
|
|
17
|
+
replyPreview: (0, zod_1.string)().optional(),
|
|
18
|
+
requiresHumanReview: (0, zod_1.boolean)().optional(),
|
|
19
|
+
escalationReason: (0, zod_1.string)().optional(),
|
|
20
|
+
createdAt: (0, zod_1.date)(),
|
|
21
|
+
});
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { AgentSessionStatus } from "../../types/enums";
|
|
2
|
+
export declare const agentThreadSessionSchema: import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodString;
|
|
4
|
+
threadId: import("zod").ZodString;
|
|
5
|
+
propertyId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6
|
+
subscriptionId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7
|
+
userSubscriptionId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8
|
+
agentSlug: import("zod").ZodString;
|
|
9
|
+
status: import("zod").ZodNativeEnum<typeof AgentSessionStatus>;
|
|
10
|
+
totalMessages: import("zod").ZodNumber;
|
|
11
|
+
toolsUsed: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
12
|
+
lastReplyAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
13
|
+
requiresHumanReview: import("zod").ZodBoolean;
|
|
14
|
+
escalationReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
|
+
escalatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
16
|
+
resolvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
resolvedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
18
|
+
resolutionNote: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
createdAt: import("zod").ZodDate;
|
|
20
|
+
updatedAt: import("zod").ZodDate;
|
|
21
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
22
|
+
id: string;
|
|
23
|
+
status: AgentSessionStatus;
|
|
24
|
+
createdAt: Date;
|
|
25
|
+
updatedAt: Date;
|
|
26
|
+
threadId: string;
|
|
27
|
+
agentSlug: string;
|
|
28
|
+
totalMessages: number;
|
|
29
|
+
toolsUsed: string[];
|
|
30
|
+
requiresHumanReview: boolean;
|
|
31
|
+
propertyId?: number | undefined;
|
|
32
|
+
subscriptionId?: number | undefined;
|
|
33
|
+
userSubscriptionId?: number | undefined;
|
|
34
|
+
lastReplyAt?: Date | undefined;
|
|
35
|
+
escalationReason?: string | undefined;
|
|
36
|
+
escalatedAt?: Date | undefined;
|
|
37
|
+
resolvedBy?: string | undefined;
|
|
38
|
+
resolvedAt?: Date | undefined;
|
|
39
|
+
resolutionNote?: string | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
id: string;
|
|
42
|
+
status: AgentSessionStatus;
|
|
43
|
+
createdAt: Date;
|
|
44
|
+
updatedAt: Date;
|
|
45
|
+
threadId: string;
|
|
46
|
+
agentSlug: string;
|
|
47
|
+
totalMessages: number;
|
|
48
|
+
toolsUsed: string[];
|
|
49
|
+
requiresHumanReview: boolean;
|
|
50
|
+
propertyId?: number | undefined;
|
|
51
|
+
subscriptionId?: number | undefined;
|
|
52
|
+
userSubscriptionId?: number | undefined;
|
|
53
|
+
lastReplyAt?: Date | undefined;
|
|
54
|
+
escalationReason?: string | undefined;
|
|
55
|
+
escalatedAt?: Date | undefined;
|
|
56
|
+
resolvedBy?: string | undefined;
|
|
57
|
+
resolvedAt?: Date | undefined;
|
|
58
|
+
resolutionNote?: string | undefined;
|
|
59
|
+
}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.agentThreadSessionSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../../types/enums");
|
|
6
|
+
exports.agentThreadSessionSchema = (0, zod_1.object)({
|
|
7
|
+
id: (0, zod_1.string)(),
|
|
8
|
+
threadId: (0, zod_1.string)(),
|
|
9
|
+
propertyId: (0, zod_1.number)().int().optional(),
|
|
10
|
+
subscriptionId: (0, zod_1.number)().int().optional(),
|
|
11
|
+
userSubscriptionId: (0, zod_1.number)().int().optional(),
|
|
12
|
+
agentSlug: (0, zod_1.string)(),
|
|
13
|
+
status: (0, zod_1.nativeEnum)(enums_1.AgentSessionStatus),
|
|
14
|
+
totalMessages: (0, zod_1.number)().int(),
|
|
15
|
+
toolsUsed: (0, zod_1.array)((0, zod_1.string)()),
|
|
16
|
+
lastReplyAt: (0, zod_1.date)().optional(),
|
|
17
|
+
requiresHumanReview: (0, zod_1.boolean)(),
|
|
18
|
+
escalationReason: (0, zod_1.string)().optional(),
|
|
19
|
+
escalatedAt: (0, zod_1.date)().optional(),
|
|
20
|
+
resolvedBy: (0, zod_1.string)().optional(),
|
|
21
|
+
resolvedAt: (0, zod_1.date)().optional(),
|
|
22
|
+
resolutionNote: (0, zod_1.string)().optional(),
|
|
23
|
+
createdAt: (0, zod_1.date)(),
|
|
24
|
+
updatedAt: (0, zod_1.date)(),
|
|
25
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AiAgentCategory } from "../../types/enums";
|
|
2
|
+
export declare const aiAgentSchema: import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodNumber;
|
|
4
|
+
slug: import("zod").ZodString;
|
|
5
|
+
name: import("zod").ZodString;
|
|
6
|
+
tagline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
|
+
category: import("zod").ZodNativeEnum<typeof AiAgentCategory>;
|
|
9
|
+
iconUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10
|
+
docsUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
|
+
isPublished: import("zod").ZodBoolean;
|
|
12
|
+
isBeta: import("zod").ZodBoolean;
|
|
13
|
+
sortOrder: import("zod").ZodNumber;
|
|
14
|
+
createdAt: import("zod").ZodDate;
|
|
15
|
+
updatedAt: import("zod").ZodDate;
|
|
16
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
17
|
+
name: string;
|
|
18
|
+
id: number;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
category: AiAgentCategory;
|
|
22
|
+
sortOrder: number;
|
|
23
|
+
slug: string;
|
|
24
|
+
isPublished: boolean;
|
|
25
|
+
isBeta: boolean;
|
|
26
|
+
description?: string | undefined;
|
|
27
|
+
tagline?: string | undefined;
|
|
28
|
+
iconUrl?: string | undefined;
|
|
29
|
+
docsUrl?: string | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
name: string;
|
|
32
|
+
id: number;
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
updatedAt: Date;
|
|
35
|
+
category: AiAgentCategory;
|
|
36
|
+
sortOrder: number;
|
|
37
|
+
slug: string;
|
|
38
|
+
isPublished: boolean;
|
|
39
|
+
isBeta: boolean;
|
|
40
|
+
description?: string | undefined;
|
|
41
|
+
tagline?: string | undefined;
|
|
42
|
+
iconUrl?: string | undefined;
|
|
43
|
+
docsUrl?: string | undefined;
|
|
44
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.aiAgentSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../../types/enums");
|
|
6
|
+
exports.aiAgentSchema = (0, zod_1.object)({
|
|
7
|
+
id: (0, zod_1.number)().int(),
|
|
8
|
+
slug: (0, zod_1.string)(),
|
|
9
|
+
name: (0, zod_1.string)(),
|
|
10
|
+
tagline: (0, zod_1.string)().optional(),
|
|
11
|
+
description: (0, zod_1.string)().optional(),
|
|
12
|
+
category: (0, zod_1.nativeEnum)(enums_1.AiAgentCategory),
|
|
13
|
+
iconUrl: (0, zod_1.string)().optional(),
|
|
14
|
+
docsUrl: (0, zod_1.string)().optional(),
|
|
15
|
+
isPublished: (0, zod_1.boolean)(),
|
|
16
|
+
isBeta: (0, zod_1.boolean)(),
|
|
17
|
+
sortOrder: (0, zod_1.number)().int(),
|
|
18
|
+
createdAt: (0, zod_1.date)(),
|
|
19
|
+
updatedAt: (0, zod_1.date)(),
|
|
20
|
+
});
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { GuestCoordinatorResponseStyle } from "../../types/enums";
|
|
2
|
+
export declare const guestCoordinatorConfigSchema: import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodNumber;
|
|
4
|
+
subscriptionId: import("zod").ZodNumber;
|
|
5
|
+
propertyId: import("zod").ZodNumber;
|
|
6
|
+
agentName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7
|
+
responseStyle: import("zod").ZodNativeEnum<typeof GuestCoordinatorResponseStyle>;
|
|
8
|
+
customInstructions: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
canAnswerPricingQuestions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10
|
+
canAnswerLocationQuestions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11
|
+
canAnswerAmenityQuestions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
12
|
+
canShareWifiDetails: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
13
|
+
canShareCheckinInstructions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
14
|
+
canSuggestNearbyPlaces: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
15
|
+
canHandleInquiries: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
16
|
+
canHandleConfirmedBookings: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
17
|
+
canSaveInternalNotes: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
18
|
+
blockPricingNegotiation: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
19
|
+
blockRefundDiscussions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
20
|
+
blockComplaintHandling: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
21
|
+
escalateToHostOnReview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
22
|
+
escalateToOperationsOnReview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
23
|
+
sendEmailOnEscalation: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
24
|
+
sendEmailOnAgentReply: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
25
|
+
workingHoursStart: import("zod").ZodOptional<import("zod").ZodString>;
|
|
26
|
+
workingHoursEnd: import("zod").ZodOptional<import("zod").ZodString>;
|
|
27
|
+
timezone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
28
|
+
outsideHoursMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29
|
+
cityCenterLabel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
30
|
+
cityCenterAddress: import("zod").ZodOptional<import("zod").ZodString>;
|
|
31
|
+
createdAt: import("zod").ZodDate;
|
|
32
|
+
updatedAt: import("zod").ZodDate;
|
|
33
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
34
|
+
id: number;
|
|
35
|
+
createdAt: Date;
|
|
36
|
+
updatedAt: Date;
|
|
37
|
+
propertyId: number;
|
|
38
|
+
subscriptionId: number;
|
|
39
|
+
responseStyle: GuestCoordinatorResponseStyle;
|
|
40
|
+
timezone?: string | undefined;
|
|
41
|
+
agentName?: string | undefined;
|
|
42
|
+
customInstructions?: string | undefined;
|
|
43
|
+
canAnswerPricingQuestions?: boolean | undefined;
|
|
44
|
+
canAnswerLocationQuestions?: boolean | undefined;
|
|
45
|
+
canAnswerAmenityQuestions?: boolean | undefined;
|
|
46
|
+
canShareWifiDetails?: boolean | undefined;
|
|
47
|
+
canShareCheckinInstructions?: boolean | undefined;
|
|
48
|
+
canSuggestNearbyPlaces?: boolean | undefined;
|
|
49
|
+
canHandleInquiries?: boolean | undefined;
|
|
50
|
+
canHandleConfirmedBookings?: boolean | undefined;
|
|
51
|
+
canSaveInternalNotes?: boolean | undefined;
|
|
52
|
+
blockPricingNegotiation?: boolean | undefined;
|
|
53
|
+
blockRefundDiscussions?: boolean | undefined;
|
|
54
|
+
blockComplaintHandling?: boolean | undefined;
|
|
55
|
+
escalateToHostOnReview?: boolean | undefined;
|
|
56
|
+
escalateToOperationsOnReview?: boolean | undefined;
|
|
57
|
+
sendEmailOnEscalation?: boolean | undefined;
|
|
58
|
+
sendEmailOnAgentReply?: boolean | undefined;
|
|
59
|
+
workingHoursStart?: string | undefined;
|
|
60
|
+
workingHoursEnd?: string | undefined;
|
|
61
|
+
outsideHoursMessage?: string | undefined;
|
|
62
|
+
cityCenterLabel?: string | undefined;
|
|
63
|
+
cityCenterAddress?: string | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
id: number;
|
|
66
|
+
createdAt: Date;
|
|
67
|
+
updatedAt: Date;
|
|
68
|
+
propertyId: number;
|
|
69
|
+
subscriptionId: number;
|
|
70
|
+
responseStyle: GuestCoordinatorResponseStyle;
|
|
71
|
+
timezone?: string | undefined;
|
|
72
|
+
agentName?: string | undefined;
|
|
73
|
+
customInstructions?: string | undefined;
|
|
74
|
+
canAnswerPricingQuestions?: boolean | undefined;
|
|
75
|
+
canAnswerLocationQuestions?: boolean | undefined;
|
|
76
|
+
canAnswerAmenityQuestions?: boolean | undefined;
|
|
77
|
+
canShareWifiDetails?: boolean | undefined;
|
|
78
|
+
canShareCheckinInstructions?: boolean | undefined;
|
|
79
|
+
canSuggestNearbyPlaces?: boolean | undefined;
|
|
80
|
+
canHandleInquiries?: boolean | undefined;
|
|
81
|
+
canHandleConfirmedBookings?: boolean | undefined;
|
|
82
|
+
canSaveInternalNotes?: boolean | undefined;
|
|
83
|
+
blockPricingNegotiation?: boolean | undefined;
|
|
84
|
+
blockRefundDiscussions?: boolean | undefined;
|
|
85
|
+
blockComplaintHandling?: boolean | undefined;
|
|
86
|
+
escalateToHostOnReview?: boolean | undefined;
|
|
87
|
+
escalateToOperationsOnReview?: boolean | undefined;
|
|
88
|
+
sendEmailOnEscalation?: boolean | undefined;
|
|
89
|
+
sendEmailOnAgentReply?: boolean | undefined;
|
|
90
|
+
workingHoursStart?: string | undefined;
|
|
91
|
+
workingHoursEnd?: string | undefined;
|
|
92
|
+
outsideHoursMessage?: string | undefined;
|
|
93
|
+
cityCenterLabel?: string | undefined;
|
|
94
|
+
cityCenterAddress?: string | undefined;
|
|
95
|
+
}>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.guestCoordinatorConfigSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../../types/enums");
|
|
6
|
+
exports.guestCoordinatorConfigSchema = (0, zod_1.object)({
|
|
7
|
+
id: (0, zod_1.number)().int(),
|
|
8
|
+
subscriptionId: (0, zod_1.number)().int(),
|
|
9
|
+
propertyId: (0, zod_1.number)().int(),
|
|
10
|
+
// Identity / persona
|
|
11
|
+
agentName: (0, zod_1.string)().optional(),
|
|
12
|
+
responseStyle: (0, zod_1.nativeEnum)(enums_1.GuestCoordinatorResponseStyle),
|
|
13
|
+
customInstructions: (0, zod_1.string)().optional(),
|
|
14
|
+
// Capability toggles
|
|
15
|
+
canAnswerPricingQuestions: (0, zod_1.boolean)().optional(),
|
|
16
|
+
canAnswerLocationQuestions: (0, zod_1.boolean)().optional(),
|
|
17
|
+
canAnswerAmenityQuestions: (0, zod_1.boolean)().optional(),
|
|
18
|
+
canShareWifiDetails: (0, zod_1.boolean)().optional(),
|
|
19
|
+
canShareCheckinInstructions: (0, zod_1.boolean)().optional(),
|
|
20
|
+
canSuggestNearbyPlaces: (0, zod_1.boolean)().optional(),
|
|
21
|
+
canHandleInquiries: (0, zod_1.boolean)().optional(),
|
|
22
|
+
canHandleConfirmedBookings: (0, zod_1.boolean)().optional(),
|
|
23
|
+
canSaveInternalNotes: (0, zod_1.boolean)().optional(),
|
|
24
|
+
// Topics that always escalate
|
|
25
|
+
blockPricingNegotiation: (0, zod_1.boolean)().optional(),
|
|
26
|
+
blockRefundDiscussions: (0, zod_1.boolean)().optional(),
|
|
27
|
+
blockComplaintHandling: (0, zod_1.boolean)().optional(),
|
|
28
|
+
// Escalation routing
|
|
29
|
+
escalateToHostOnReview: (0, zod_1.boolean)().optional(),
|
|
30
|
+
escalateToOperationsOnReview: (0, zod_1.boolean)().optional(),
|
|
31
|
+
sendEmailOnEscalation: (0, zod_1.boolean)().optional(),
|
|
32
|
+
sendEmailOnAgentReply: (0, zod_1.boolean)().optional(),
|
|
33
|
+
// Working hours (null = 24/7)
|
|
34
|
+
workingHoursStart: (0, zod_1.string)().optional(),
|
|
35
|
+
workingHoursEnd: (0, zod_1.string)().optional(),
|
|
36
|
+
timezone: (0, zod_1.string)().optional(),
|
|
37
|
+
outsideHoursMessage: (0, zod_1.string)().optional(),
|
|
38
|
+
// Location context
|
|
39
|
+
cityCenterLabel: (0, zod_1.string)().optional(),
|
|
40
|
+
cityCenterAddress: (0, zod_1.string)().optional(),
|
|
41
|
+
createdAt: (0, zod_1.date)(),
|
|
42
|
+
updatedAt: (0, zod_1.date)(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { GuestCoordinatorResponseStyle } from "../../types/enums";
|
|
2
|
+
export declare const hostCoordinatorConfigSchema: import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodNumber;
|
|
4
|
+
userSubscriptionId: import("zod").ZodNumber;
|
|
5
|
+
agentName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
+
responseStyle: import("zod").ZodNativeEnum<typeof GuestCoordinatorResponseStyle>;
|
|
7
|
+
customInstructions: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
|
+
canAnswerBillingQuestions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9
|
+
canAnswerSetupQuestions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
10
|
+
canAnswerIntegrationQuestions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11
|
+
canAnswerCalendarQuestions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
12
|
+
canAnswerReservationQuestions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
13
|
+
canAnswerMaintenanceQuestions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
14
|
+
canSaveInternalNotes: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
15
|
+
blockBillingDisputes: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
16
|
+
escalateToOpsOnReview: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
17
|
+
sendEmailOnEscalation: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
18
|
+
workingHoursStart: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
workingHoursEnd: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
timezone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
|
+
outsideHoursMessage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
createdAt: import("zod").ZodDate;
|
|
23
|
+
updatedAt: import("zod").ZodDate;
|
|
24
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
25
|
+
id: number;
|
|
26
|
+
createdAt: Date;
|
|
27
|
+
updatedAt: Date;
|
|
28
|
+
responseStyle: GuestCoordinatorResponseStyle;
|
|
29
|
+
userSubscriptionId: number;
|
|
30
|
+
timezone?: string | undefined;
|
|
31
|
+
agentName?: string | undefined;
|
|
32
|
+
customInstructions?: string | undefined;
|
|
33
|
+
canSaveInternalNotes?: boolean | undefined;
|
|
34
|
+
sendEmailOnEscalation?: boolean | undefined;
|
|
35
|
+
workingHoursStart?: string | undefined;
|
|
36
|
+
workingHoursEnd?: string | undefined;
|
|
37
|
+
outsideHoursMessage?: string | undefined;
|
|
38
|
+
canAnswerBillingQuestions?: boolean | undefined;
|
|
39
|
+
canAnswerSetupQuestions?: boolean | undefined;
|
|
40
|
+
canAnswerIntegrationQuestions?: boolean | undefined;
|
|
41
|
+
canAnswerCalendarQuestions?: boolean | undefined;
|
|
42
|
+
canAnswerReservationQuestions?: boolean | undefined;
|
|
43
|
+
canAnswerMaintenanceQuestions?: boolean | undefined;
|
|
44
|
+
blockBillingDisputes?: boolean | undefined;
|
|
45
|
+
escalateToOpsOnReview?: boolean | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
id: number;
|
|
48
|
+
createdAt: Date;
|
|
49
|
+
updatedAt: Date;
|
|
50
|
+
responseStyle: GuestCoordinatorResponseStyle;
|
|
51
|
+
userSubscriptionId: number;
|
|
52
|
+
timezone?: string | undefined;
|
|
53
|
+
agentName?: string | undefined;
|
|
54
|
+
customInstructions?: string | undefined;
|
|
55
|
+
canSaveInternalNotes?: boolean | undefined;
|
|
56
|
+
sendEmailOnEscalation?: boolean | undefined;
|
|
57
|
+
workingHoursStart?: string | undefined;
|
|
58
|
+
workingHoursEnd?: string | undefined;
|
|
59
|
+
outsideHoursMessage?: string | undefined;
|
|
60
|
+
canAnswerBillingQuestions?: boolean | undefined;
|
|
61
|
+
canAnswerSetupQuestions?: boolean | undefined;
|
|
62
|
+
canAnswerIntegrationQuestions?: boolean | undefined;
|
|
63
|
+
canAnswerCalendarQuestions?: boolean | undefined;
|
|
64
|
+
canAnswerReservationQuestions?: boolean | undefined;
|
|
65
|
+
canAnswerMaintenanceQuestions?: boolean | undefined;
|
|
66
|
+
blockBillingDisputes?: boolean | undefined;
|
|
67
|
+
escalateToOpsOnReview?: boolean | undefined;
|
|
68
|
+
}>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hostCoordinatorConfigSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../../types/enums");
|
|
6
|
+
exports.hostCoordinatorConfigSchema = (0, zod_1.object)({
|
|
7
|
+
id: (0, zod_1.number)().int(),
|
|
8
|
+
userSubscriptionId: (0, zod_1.number)().int(),
|
|
9
|
+
// Identity / persona
|
|
10
|
+
agentName: (0, zod_1.string)().optional(),
|
|
11
|
+
responseStyle: (0, zod_1.nativeEnum)(enums_1.GuestCoordinatorResponseStyle),
|
|
12
|
+
customInstructions: (0, zod_1.string)().optional(),
|
|
13
|
+
// Capability toggles
|
|
14
|
+
canAnswerBillingQuestions: (0, zod_1.boolean)().optional(),
|
|
15
|
+
canAnswerSetupQuestions: (0, zod_1.boolean)().optional(),
|
|
16
|
+
canAnswerIntegrationQuestions: (0, zod_1.boolean)().optional(),
|
|
17
|
+
canAnswerCalendarQuestions: (0, zod_1.boolean)().optional(),
|
|
18
|
+
canAnswerReservationQuestions: (0, zod_1.boolean)().optional(),
|
|
19
|
+
canAnswerMaintenanceQuestions: (0, zod_1.boolean)().optional(),
|
|
20
|
+
canSaveInternalNotes: (0, zod_1.boolean)().optional(),
|
|
21
|
+
// Topics that always escalate
|
|
22
|
+
blockBillingDisputes: (0, zod_1.boolean)().optional(),
|
|
23
|
+
// Escalation routing
|
|
24
|
+
escalateToOpsOnReview: (0, zod_1.boolean)().optional(),
|
|
25
|
+
sendEmailOnEscalation: (0, zod_1.boolean)().optional(),
|
|
26
|
+
// Working hours (null = 24/7)
|
|
27
|
+
workingHoursStart: (0, zod_1.string)().optional(),
|
|
28
|
+
workingHoursEnd: (0, zod_1.string)().optional(),
|
|
29
|
+
timezone: (0, zod_1.string)().optional(),
|
|
30
|
+
outsideHoursMessage: (0, zod_1.string)().optional(),
|
|
31
|
+
createdAt: (0, zod_1.date)(),
|
|
32
|
+
updatedAt: (0, zod_1.date)(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { HumanReviewPriority, HumanReviewStatus } from "../../types/enums";
|
|
2
|
+
export declare const humanReviewTaskSchema: import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodString;
|
|
4
|
+
threadId: import("zod").ZodString;
|
|
5
|
+
propertyId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6
|
+
subscriptionId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7
|
+
userSubscriptionId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8
|
+
sessionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
agentSlug: import("zod").ZodString;
|
|
10
|
+
reason: import("zod").ZodString;
|
|
11
|
+
priority: import("zod").ZodNativeEnum<typeof HumanReviewPriority>;
|
|
12
|
+
assignedToUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
assignedToRole: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
status: import("zod").ZodNativeEnum<typeof HumanReviewStatus>;
|
|
15
|
+
seenAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
16
|
+
resolvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
resolvedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
18
|
+
resolutionNote: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
emailSentAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
20
|
+
createdAt: import("zod").ZodDate;
|
|
21
|
+
updatedAt: import("zod").ZodDate;
|
|
22
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
23
|
+
reason: string;
|
|
24
|
+
id: string;
|
|
25
|
+
priority: HumanReviewPriority;
|
|
26
|
+
status: HumanReviewStatus;
|
|
27
|
+
createdAt: Date;
|
|
28
|
+
updatedAt: Date;
|
|
29
|
+
threadId: string;
|
|
30
|
+
agentSlug: string;
|
|
31
|
+
propertyId?: number | undefined;
|
|
32
|
+
subscriptionId?: number | undefined;
|
|
33
|
+
userSubscriptionId?: number | undefined;
|
|
34
|
+
resolvedBy?: string | undefined;
|
|
35
|
+
resolvedAt?: Date | undefined;
|
|
36
|
+
resolutionNote?: string | undefined;
|
|
37
|
+
sessionId?: string | undefined;
|
|
38
|
+
assignedToUserId?: string | undefined;
|
|
39
|
+
assignedToRole?: string | undefined;
|
|
40
|
+
seenAt?: Date | undefined;
|
|
41
|
+
emailSentAt?: Date | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
reason: string;
|
|
44
|
+
id: string;
|
|
45
|
+
priority: HumanReviewPriority;
|
|
46
|
+
status: HumanReviewStatus;
|
|
47
|
+
createdAt: Date;
|
|
48
|
+
updatedAt: Date;
|
|
49
|
+
threadId: string;
|
|
50
|
+
agentSlug: string;
|
|
51
|
+
propertyId?: number | undefined;
|
|
52
|
+
subscriptionId?: number | undefined;
|
|
53
|
+
userSubscriptionId?: number | undefined;
|
|
54
|
+
resolvedBy?: string | undefined;
|
|
55
|
+
resolvedAt?: Date | undefined;
|
|
56
|
+
resolutionNote?: string | undefined;
|
|
57
|
+
sessionId?: string | undefined;
|
|
58
|
+
assignedToUserId?: string | undefined;
|
|
59
|
+
assignedToRole?: string | undefined;
|
|
60
|
+
seenAt?: Date | undefined;
|
|
61
|
+
emailSentAt?: Date | undefined;
|
|
62
|
+
}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.humanReviewTaskSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../../types/enums");
|
|
6
|
+
exports.humanReviewTaskSchema = (0, zod_1.object)({
|
|
7
|
+
id: (0, zod_1.string)(),
|
|
8
|
+
threadId: (0, zod_1.string)(),
|
|
9
|
+
propertyId: (0, zod_1.number)().int().optional(),
|
|
10
|
+
subscriptionId: (0, zod_1.number)().int().optional(),
|
|
11
|
+
userSubscriptionId: (0, zod_1.number)().int().optional(),
|
|
12
|
+
sessionId: (0, zod_1.string)().optional(),
|
|
13
|
+
agentSlug: (0, zod_1.string)(),
|
|
14
|
+
reason: (0, zod_1.string)(),
|
|
15
|
+
priority: (0, zod_1.nativeEnum)(enums_1.HumanReviewPriority),
|
|
16
|
+
assignedToUserId: (0, zod_1.string)().optional(),
|
|
17
|
+
assignedToRole: (0, zod_1.string)().optional(),
|
|
18
|
+
status: (0, zod_1.nativeEnum)(enums_1.HumanReviewStatus),
|
|
19
|
+
seenAt: (0, zod_1.date)().optional(),
|
|
20
|
+
resolvedBy: (0, zod_1.string)().optional(),
|
|
21
|
+
resolvedAt: (0, zod_1.date)().optional(),
|
|
22
|
+
resolutionNote: (0, zod_1.string)().optional(),
|
|
23
|
+
emailSentAt: (0, zod_1.date)().optional(),
|
|
24
|
+
createdAt: (0, zod_1.date)(),
|
|
25
|
+
updatedAt: (0, zod_1.date)(),
|
|
26
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./ai-agent";
|
|
2
|
+
export * from "./property-ai-agent-subscription";
|
|
3
|
+
export * from "./guest-coordinator-config";
|
|
4
|
+
export * from "./agent-thread-session";
|
|
5
|
+
export * from "./agent-action-log";
|
|
6
|
+
export * from "./human-review-task";
|
|
7
|
+
export * from "./user-ai-agent-subscription";
|
|
8
|
+
export * from "./host-coordinator-config";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ai-agent"), exports);
|
|
18
|
+
__exportStar(require("./property-ai-agent-subscription"), exports);
|
|
19
|
+
__exportStar(require("./guest-coordinator-config"), exports);
|
|
20
|
+
__exportStar(require("./agent-thread-session"), exports);
|
|
21
|
+
__exportStar(require("./agent-action-log"), exports);
|
|
22
|
+
__exportStar(require("./human-review-task"), exports);
|
|
23
|
+
__exportStar(require("./user-ai-agent-subscription"), exports);
|
|
24
|
+
__exportStar(require("./host-coordinator-config"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const propertyAiAgentSubscriptionSchema: import("zod").ZodObject<{
|
|
2
|
+
id: import("zod").ZodNumber;
|
|
3
|
+
propertyId: import("zod").ZodNumber;
|
|
4
|
+
agentId: import("zod").ZodNumber;
|
|
5
|
+
enabled: import("zod").ZodBoolean;
|
|
6
|
+
enabledAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
7
|
+
enabledByUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
|
+
enabledByRole: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
disabledAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
10
|
+
disabledByUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
|
+
disabledByRole: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
createdAt: import("zod").ZodDate;
|
|
13
|
+
updatedAt: import("zod").ZodDate;
|
|
14
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
15
|
+
id: number;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
propertyId: number;
|
|
19
|
+
agentId: number;
|
|
20
|
+
enabled: boolean;
|
|
21
|
+
enabledAt?: Date | undefined;
|
|
22
|
+
enabledByUserId?: string | undefined;
|
|
23
|
+
enabledByRole?: string | undefined;
|
|
24
|
+
disabledAt?: Date | undefined;
|
|
25
|
+
disabledByUserId?: string | undefined;
|
|
26
|
+
disabledByRole?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
id: number;
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
updatedAt: Date;
|
|
31
|
+
propertyId: number;
|
|
32
|
+
agentId: number;
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
enabledAt?: Date | undefined;
|
|
35
|
+
enabledByUserId?: string | undefined;
|
|
36
|
+
enabledByRole?: string | undefined;
|
|
37
|
+
disabledAt?: Date | undefined;
|
|
38
|
+
disabledByUserId?: string | undefined;
|
|
39
|
+
disabledByRole?: string | undefined;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.propertyAiAgentSubscriptionSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.propertyAiAgentSubscriptionSchema = (0, zod_1.object)({
|
|
6
|
+
id: (0, zod_1.number)().int(),
|
|
7
|
+
propertyId: (0, zod_1.number)().int(),
|
|
8
|
+
agentId: (0, zod_1.number)().int(),
|
|
9
|
+
enabled: (0, zod_1.boolean)(),
|
|
10
|
+
enabledAt: (0, zod_1.date)().optional(),
|
|
11
|
+
enabledByUserId: (0, zod_1.string)().optional(),
|
|
12
|
+
enabledByRole: (0, zod_1.string)().optional(),
|
|
13
|
+
disabledAt: (0, zod_1.date)().optional(),
|
|
14
|
+
disabledByUserId: (0, zod_1.string)().optional(),
|
|
15
|
+
disabledByRole: (0, zod_1.string)().optional(),
|
|
16
|
+
createdAt: (0, zod_1.date)(),
|
|
17
|
+
updatedAt: (0, zod_1.date)(),
|
|
18
|
+
});
|