@hexabot-ai/types 3.0.0-alpha.0
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/LICENSE.md +120 -0
- package/README.md +172 -0
- package/dist/cjs/analytics/index.js +18 -0
- package/dist/cjs/analytics/integration-health.js +30 -0
- package/dist/cjs/analytics/stats.js +32 -0
- package/dist/cjs/attachment/attachment.js +53 -0
- package/dist/cjs/attachment/index.js +16 -0
- package/dist/cjs/audit/audit-log.js +33 -0
- package/dist/cjs/audit/index.js +11 -0
- package/dist/cjs/channel/channel-metadata.js +15 -0
- package/dist/cjs/channel/index.js +15 -0
- package/dist/cjs/channel/source-full.js +16 -0
- package/dist/cjs/channel/source.js +25 -0
- package/dist/cjs/chat/attachment.js +32 -0
- package/dist/cjs/chat/button.js +70 -0
- package/dist/cjs/chat/index.js +87 -0
- package/dist/cjs/chat/label-group.js +22 -0
- package/dist/cjs/chat/label.js +37 -0
- package/dist/cjs/chat/message-contract.js +183 -0
- package/dist/cjs/chat/message.js +107 -0
- package/dist/cjs/chat/options.js +122 -0
- package/dist/cjs/chat/quick-reply.js +35 -0
- package/dist/cjs/chat/subscriber.js +36 -0
- package/dist/cjs/chat/thread.js +36 -0
- package/dist/cjs/cms/content-type.js +17 -0
- package/dist/cjs/cms/content.js +29 -0
- package/dist/cjs/cms/index.js +21 -0
- package/dist/cjs/cms/menu.js +36 -0
- package/dist/cjs/dummy/dummy.js +18 -0
- package/dist/cjs/dummy/index.js +12 -0
- package/dist/cjs/i18n/index.js +16 -0
- package/dist/cjs/i18n/language.js +19 -0
- package/dist/cjs/i18n/translation.js +17 -0
- package/dist/cjs/index.js +32 -0
- package/dist/cjs/setting/index.js +18 -0
- package/dist/cjs/setting/metadata.js +17 -0
- package/dist/cjs/setting/setting.js +36 -0
- package/dist/cjs/shared/aliases.js +41 -0
- package/dist/cjs/shared/base.js +14 -0
- package/dist/cjs/shared/object.js +19 -0
- package/dist/cjs/shared/preprocess.js +13 -0
- package/dist/cjs/shared/profile.js +33 -0
- package/dist/cjs/user/credential.js +26 -0
- package/dist/cjs/user/domain.js +56 -0
- package/dist/cjs/user/index.js +39 -0
- package/dist/cjs/user/model.js +24 -0
- package/dist/cjs/user/permission.js +32 -0
- package/dist/cjs/user/role.js +24 -0
- package/dist/cjs/user/user-profile-assigned.js +38 -0
- package/dist/cjs/user/user-profile.js +12 -0
- package/dist/cjs/user/user.js +44 -0
- package/dist/cjs/workflow/domain.js +44 -0
- package/dist/cjs/workflow/helpers.js +35 -0
- package/dist/cjs/workflow/index.js +40 -0
- package/dist/cjs/workflow/mcp-server.js +33 -0
- package/dist/cjs/workflow/memory-definition.js +21 -0
- package/dist/cjs/workflow/memory-record.js +44 -0
- package/dist/cjs/workflow/workflow-run.js +100 -0
- package/dist/cjs/workflow/workflow-version.js +39 -0
- package/dist/cjs/workflow/workflow.js +98 -0
- package/dist/esm/analytics/index.js +7 -0
- package/dist/esm/analytics/integration-health.js +27 -0
- package/dist/esm/analytics/stats.js +29 -0
- package/dist/esm/attachment/attachment.js +50 -0
- package/dist/esm/attachment/index.js +6 -0
- package/dist/esm/audit/audit-log.js +30 -0
- package/dist/esm/audit/index.js +6 -0
- package/dist/esm/channel/channel-metadata.js +12 -0
- package/dist/esm/channel/index.js +8 -0
- package/dist/esm/channel/source-full.js +13 -0
- package/dist/esm/channel/source.js +22 -0
- package/dist/esm/chat/attachment.js +29 -0
- package/dist/esm/chat/button.js +67 -0
- package/dist/esm/chat/index.js +15 -0
- package/dist/esm/chat/label-group.js +19 -0
- package/dist/esm/chat/label.js +34 -0
- package/dist/esm/chat/message-contract.js +180 -0
- package/dist/esm/chat/message.js +104 -0
- package/dist/esm/chat/options.js +119 -0
- package/dist/esm/chat/quick-reply.js +32 -0
- package/dist/esm/chat/subscriber.js +33 -0
- package/dist/esm/chat/thread.js +33 -0
- package/dist/esm/cms/content-type.js +14 -0
- package/dist/esm/cms/content.js +26 -0
- package/dist/esm/cms/index.js +8 -0
- package/dist/esm/cms/menu.js +33 -0
- package/dist/esm/dummy/dummy.js +15 -0
- package/dist/esm/dummy/index.js +6 -0
- package/dist/esm/i18n/index.js +7 -0
- package/dist/esm/i18n/language.js +16 -0
- package/dist/esm/i18n/translation.js +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/setting/index.js +7 -0
- package/dist/esm/setting/metadata.js +14 -0
- package/dist/esm/setting/setting.js +33 -0
- package/dist/esm/shared/aliases.js +35 -0
- package/dist/esm/shared/base.js +11 -0
- package/dist/esm/shared/object.js +14 -0
- package/dist/esm/shared/preprocess.js +9 -0
- package/dist/esm/shared/profile.js +30 -0
- package/dist/esm/user/credential.js +23 -0
- package/dist/esm/user/domain.js +53 -0
- package/dist/esm/user/index.js +13 -0
- package/dist/esm/user/model.js +21 -0
- package/dist/esm/user/permission.js +29 -0
- package/dist/esm/user/role.js +21 -0
- package/dist/esm/user/user-profile-assigned.js +35 -0
- package/dist/esm/user/user-profile.js +9 -0
- package/dist/esm/user/user.js +41 -0
- package/dist/esm/workflow/domain.js +41 -0
- package/dist/esm/workflow/helpers.js +30 -0
- package/dist/esm/workflow/index.js +12 -0
- package/dist/esm/workflow/mcp-server.js +30 -0
- package/dist/esm/workflow/memory-definition.js +18 -0
- package/dist/esm/workflow/memory-record.js +41 -0
- package/dist/esm/workflow/workflow-run.js +96 -0
- package/dist/esm/workflow/workflow-version.js +36 -0
- package/dist/esm/workflow/workflow.js +94 -0
- package/dist/types/analytics/index.d.ts +3 -0
- package/dist/types/analytics/index.d.ts.map +1 -0
- package/dist/types/analytics/integration-health.d.ts +55 -0
- package/dist/types/analytics/integration-health.d.ts.map +1 -0
- package/dist/types/analytics/stats.d.ts +43 -0
- package/dist/types/analytics/stats.d.ts.map +1 -0
- package/dist/types/attachment/attachment.d.ts +212 -0
- package/dist/types/attachment/attachment.d.ts.map +1 -0
- package/dist/types/attachment/index.d.ts +2 -0
- package/dist/types/attachment/index.d.ts.map +1 -0
- package/dist/types/audit/audit-log.d.ts +58 -0
- package/dist/types/audit/audit-log.d.ts.map +1 -0
- package/dist/types/audit/index.d.ts +2 -0
- package/dist/types/audit/index.d.ts.map +1 -0
- package/dist/types/channel/channel-metadata.d.ts +7 -0
- package/dist/types/channel/channel-metadata.d.ts.map +1 -0
- package/dist/types/channel/index.d.ts +4 -0
- package/dist/types/channel/index.d.ts.map +1 -0
- package/dist/types/channel/source-full.d.ts +58 -0
- package/dist/types/channel/source-full.d.ts.map +1 -0
- package/dist/types/channel/source.d.ts +44 -0
- package/dist/types/channel/source.d.ts.map +1 -0
- package/dist/types/chat/attachment.d.ts +34 -0
- package/dist/types/chat/attachment.d.ts.map +1 -0
- package/dist/types/chat/button.d.ts +31 -0
- package/dist/types/chat/button.d.ts.map +1 -0
- package/dist/types/chat/index.d.ts +11 -0
- package/dist/types/chat/index.d.ts.map +1 -0
- package/dist/types/chat/label-group.d.ts +47 -0
- package/dist/types/chat/label-group.d.ts.map +1 -0
- package/dist/types/chat/label.d.ts +102 -0
- package/dist/types/chat/label.d.ts.map +1 -0
- package/dist/types/chat/message-contract.d.ts +883 -0
- package/dist/types/chat/message-contract.d.ts.map +1 -0
- package/dist/types/chat/message.d.ts +1132 -0
- package/dist/types/chat/message.d.ts.map +1 -0
- package/dist/types/chat/options.d.ts +64 -0
- package/dist/types/chat/options.d.ts.map +1 -0
- package/dist/types/chat/quick-reply.d.ts +32 -0
- package/dist/types/chat/quick-reply.d.ts.map +1 -0
- package/dist/types/chat/subscriber.d.ts +236 -0
- package/dist/types/chat/subscriber.d.ts.map +1 -0
- package/dist/types/chat/thread.d.ts +126 -0
- package/dist/types/chat/thread.d.ts.map +1 -0
- package/dist/types/cms/content-type.d.ts +26 -0
- package/dist/types/cms/content-type.d.ts.map +1 -0
- package/dist/types/cms/content.d.ts +49 -0
- package/dist/types/cms/content.d.ts.map +1 -0
- package/dist/types/cms/index.d.ts +4 -0
- package/dist/types/cms/index.d.ts.map +1 -0
- package/dist/types/cms/menu.d.ts +85 -0
- package/dist/types/cms/menu.d.ts.map +1 -0
- package/dist/types/dummy/dummy.d.ts +26 -0
- package/dist/types/dummy/dummy.d.ts.map +1 -0
- package/dist/types/dummy/index.d.ts +2 -0
- package/dist/types/dummy/index.d.ts.map +1 -0
- package/dist/types/i18n/index.d.ts +3 -0
- package/dist/types/i18n/index.d.ts.map +1 -0
- package/dist/types/i18n/language.d.ts +32 -0
- package/dist/types/i18n/language.d.ts.map +1 -0
- package/dist/types/i18n/translation.d.ts +26 -0
- package/dist/types/i18n/translation.d.ts.map +1 -0
- package/dist/types/index.d.ts +12 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/setting/index.d.ts +3 -0
- package/dist/types/setting/index.d.ts.map +1 -0
- package/dist/types/setting/metadata.d.ts +26 -0
- package/dist/types/setting/metadata.d.ts.map +1 -0
- package/dist/types/setting/setting.d.ts +41 -0
- package/dist/types/setting/setting.d.ts.map +1 -0
- package/dist/types/shared/aliases.d.ts +4 -0
- package/dist/types/shared/aliases.d.ts.map +1 -0
- package/dist/types/shared/base.d.ts +7 -0
- package/dist/types/shared/base.d.ts.map +1 -0
- package/dist/types/shared/object.d.ts +3 -0
- package/dist/types/shared/object.d.ts.map +1 -0
- package/dist/types/shared/preprocess.d.ts +3 -0
- package/dist/types/shared/preprocess.d.ts.map +1 -0
- package/dist/types/shared/profile.d.ts +40 -0
- package/dist/types/shared/profile.d.ts.map +1 -0
- package/dist/types/user/credential.d.ts +97 -0
- package/dist/types/user/credential.d.ts.map +1 -0
- package/dist/types/user/domain.d.ts +54 -0
- package/dist/types/user/domain.d.ts.map +1 -0
- package/dist/types/user/index.d.ts +9 -0
- package/dist/types/user/index.d.ts.map +1 -0
- package/dist/types/user/model.d.ts +142 -0
- package/dist/types/user/model.d.ts.map +1 -0
- package/dist/types/user/permission.d.ts +90 -0
- package/dist/types/user/permission.d.ts.map +1 -0
- package/dist/types/user/role.d.ts +111 -0
- package/dist/types/user/role.d.ts.map +1 -0
- package/dist/types/user/user-profile-assigned.d.ts +181 -0
- package/dist/types/user/user-profile-assigned.d.ts.map +1 -0
- package/dist/types/user/user-profile.d.ts +32 -0
- package/dist/types/user/user-profile.d.ts.map +1 -0
- package/dist/types/user/user.d.ts +270 -0
- package/dist/types/user/user.d.ts.map +1 -0
- package/dist/types/workflow/domain.d.ts +32 -0
- package/dist/types/workflow/domain.d.ts.map +1 -0
- package/dist/types/workflow/helpers.d.ts +117 -0
- package/dist/types/workflow/helpers.d.ts.map +1 -0
- package/dist/types/workflow/index.d.ts +8 -0
- package/dist/types/workflow/index.d.ts.map +1 -0
- package/dist/types/workflow/mcp-server.d.ts +67 -0
- package/dist/types/workflow/mcp-server.d.ts.map +1 -0
- package/dist/types/workflow/memory-definition.d.ts +35 -0
- package/dist/types/workflow/memory-definition.d.ts.map +1 -0
- package/dist/types/workflow/memory-record.d.ts +284 -0
- package/dist/types/workflow/memory-record.d.ts.map +1 -0
- package/dist/types/workflow/workflow-run.d.ts +375 -0
- package/dist/types/workflow/workflow-run.d.ts.map +1 -0
- package/dist/types/workflow/workflow-version.d.ts +179 -0
- package/dist/types/workflow/workflow-version.d.ts.map +1 -0
- package/dist/types/workflow/workflow.d.ts +366 -0
- package/dist/types/workflow/workflow.d.ts.map +1 -0
- package/package.json +59 -0
- package/src/analytics/index.ts +26 -0
- package/src/analytics/integration-health.ts +44 -0
- package/src/analytics/stats.ts +41 -0
- package/src/attachment/attachment.ts +75 -0
- package/src/attachment/index.ts +19 -0
- package/src/audit/audit-log.ts +42 -0
- package/src/audit/index.ts +12 -0
- package/src/channel/channel-metadata.ts +20 -0
- package/src/channel/index.ts +19 -0
- package/src/channel/source-full.ts +25 -0
- package/src/channel/source.ts +42 -0
- package/src/chat/attachment.ts +44 -0
- package/src/chat/button.ts +90 -0
- package/src/chat/index.ts +173 -0
- package/src/chat/label-group.ts +35 -0
- package/src/chat/label.ts +56 -0
- package/src/chat/message-contract.ts +370 -0
- package/src/chat/message.ts +164 -0
- package/src/chat/options.ts +130 -0
- package/src/chat/quick-reply.ts +41 -0
- package/src/chat/subscriber.ts +73 -0
- package/src/chat/thread.ts +55 -0
- package/src/cms/content-type.ts +26 -0
- package/src/cms/content.ts +48 -0
- package/src/cms/index.ts +33 -0
- package/src/cms/menu.ts +54 -0
- package/src/dummy/dummy.ts +30 -0
- package/src/dummy/index.ts +14 -0
- package/src/i18n/index.ts +23 -0
- package/src/i18n/language.ts +28 -0
- package/src/i18n/translation.ts +26 -0
- package/src/index.test.ts +1271 -0
- package/src/index.ts +27 -0
- package/src/setting/index.ts +25 -0
- package/src/setting/metadata.ts +26 -0
- package/src/setting/setting.ts +46 -0
- package/src/shared/aliases.ts +48 -0
- package/src/shared/base.ts +13 -0
- package/src/shared/object.ts +19 -0
- package/src/shared/preprocess.ts +14 -0
- package/src/shared/profile.ts +49 -0
- package/src/user/credential.ts +45 -0
- package/src/user/domain.ts +94 -0
- package/src/user/index.ts +78 -0
- package/src/user/model.ts +40 -0
- package/src/user/permission.ts +51 -0
- package/src/user/role.ts +43 -0
- package/src/user/user-profile-assigned.ts +70 -0
- package/src/user/user-profile.ts +21 -0
- package/src/user/user.ts +87 -0
- package/src/workflow/domain.ts +47 -0
- package/src/workflow/helpers.ts +40 -0
- package/src/workflow/index.ts +70 -0
- package/src/workflow/mcp-server.ts +64 -0
- package/src/workflow/memory-definition.ts +31 -0
- package/src/workflow/memory-record.ts +71 -0
- package/src/workflow/workflow-run.ts +156 -0
- package/src/workflow/workflow-version.ts +68 -0
- package/src/workflow/workflow.ts +163 -0
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const userStubSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
5
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
6
|
+
firstName: z.ZodString;
|
|
7
|
+
lastName: z.ZodString;
|
|
8
|
+
language: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
9
|
+
timezone: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
10
|
+
locale: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
11
|
+
gender: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
12
|
+
country: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
13
|
+
foreignId: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
14
|
+
assignedAt: z.ZodType<Date | null, unknown, z.core.$ZodTypeInternals<Date | null, unknown>>;
|
|
15
|
+
lastvisit: z.ZodType<Date | null, unknown, z.core.$ZodTypeInternals<Date | null, unknown>>;
|
|
16
|
+
retainedFrom: z.ZodType<Date | null, unknown, z.core.$ZodTypeInternals<Date | null, unknown>>;
|
|
17
|
+
channel: z.ZodType<{
|
|
18
|
+
name: string | null;
|
|
19
|
+
data?: Record<string, any> | null | undefined;
|
|
20
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
21
|
+
name: string | null;
|
|
22
|
+
data?: Record<string, any> | null | undefined;
|
|
23
|
+
}, unknown>>;
|
|
24
|
+
username: z.ZodString;
|
|
25
|
+
email: z.ZodString;
|
|
26
|
+
sendEmail: z.ZodCoercedBoolean<unknown>;
|
|
27
|
+
state: z.ZodCoercedBoolean<unknown>;
|
|
28
|
+
resetCount: z.ZodCoercedNumber<unknown>;
|
|
29
|
+
resetToken: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
30
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
strategy: z.ZodLiteral<"local">;
|
|
32
|
+
sub: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export declare const userSchema: z.ZodType<{
|
|
36
|
+
id: string;
|
|
37
|
+
createdAt: Date;
|
|
38
|
+
updatedAt: Date;
|
|
39
|
+
firstName: string;
|
|
40
|
+
lastName: string;
|
|
41
|
+
language: string | null;
|
|
42
|
+
timezone: number;
|
|
43
|
+
locale: string | null;
|
|
44
|
+
gender: string | null;
|
|
45
|
+
country: string | null;
|
|
46
|
+
foreignId: string | null;
|
|
47
|
+
assignedAt: Date | null;
|
|
48
|
+
lastvisit: Date | null;
|
|
49
|
+
retainedFrom: Date | null;
|
|
50
|
+
channel: {
|
|
51
|
+
name: string | null;
|
|
52
|
+
data?: Record<string, any> | null | undefined;
|
|
53
|
+
};
|
|
54
|
+
username: string;
|
|
55
|
+
email: string;
|
|
56
|
+
sendEmail: boolean;
|
|
57
|
+
state: boolean;
|
|
58
|
+
resetCount: number;
|
|
59
|
+
resetToken: string | null;
|
|
60
|
+
labels: string[];
|
|
61
|
+
assignedTo: string | null;
|
|
62
|
+
roles: string[];
|
|
63
|
+
avatar: string | null;
|
|
64
|
+
provider?: {
|
|
65
|
+
strategy: "local";
|
|
66
|
+
sub?: string | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
69
|
+
id: string;
|
|
70
|
+
createdAt: Date;
|
|
71
|
+
updatedAt: Date;
|
|
72
|
+
firstName: string;
|
|
73
|
+
lastName: string;
|
|
74
|
+
language: string | null;
|
|
75
|
+
timezone: number;
|
|
76
|
+
locale: string | null;
|
|
77
|
+
gender: string | null;
|
|
78
|
+
country: string | null;
|
|
79
|
+
foreignId: string | null;
|
|
80
|
+
assignedAt: Date | null;
|
|
81
|
+
lastvisit: Date | null;
|
|
82
|
+
retainedFrom: Date | null;
|
|
83
|
+
channel: {
|
|
84
|
+
name: string | null;
|
|
85
|
+
data?: Record<string, any> | null | undefined;
|
|
86
|
+
};
|
|
87
|
+
username: string;
|
|
88
|
+
email: string;
|
|
89
|
+
sendEmail: boolean;
|
|
90
|
+
state: boolean;
|
|
91
|
+
resetCount: number;
|
|
92
|
+
resetToken: string | null;
|
|
93
|
+
labels: string[];
|
|
94
|
+
assignedTo: string | null;
|
|
95
|
+
roles: string[];
|
|
96
|
+
avatar: string | null;
|
|
97
|
+
provider?: {
|
|
98
|
+
strategy: "local";
|
|
99
|
+
sub?: string | undefined;
|
|
100
|
+
} | undefined;
|
|
101
|
+
}, unknown>>;
|
|
102
|
+
export declare const userFullSchema: z.ZodObject<{
|
|
103
|
+
id: z.ZodString;
|
|
104
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
105
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
106
|
+
firstName: z.ZodString;
|
|
107
|
+
lastName: z.ZodString;
|
|
108
|
+
language: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
109
|
+
timezone: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
110
|
+
locale: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
111
|
+
gender: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
112
|
+
country: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
113
|
+
foreignId: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
114
|
+
assignedAt: z.ZodType<Date | null, unknown, z.core.$ZodTypeInternals<Date | null, unknown>>;
|
|
115
|
+
lastvisit: z.ZodType<Date | null, unknown, z.core.$ZodTypeInternals<Date | null, unknown>>;
|
|
116
|
+
retainedFrom: z.ZodType<Date | null, unknown, z.core.$ZodTypeInternals<Date | null, unknown>>;
|
|
117
|
+
channel: z.ZodType<{
|
|
118
|
+
name: string | null;
|
|
119
|
+
data?: Record<string, any> | null | undefined;
|
|
120
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
121
|
+
name: string | null;
|
|
122
|
+
data?: Record<string, any> | null | undefined;
|
|
123
|
+
}, unknown>>;
|
|
124
|
+
username: z.ZodString;
|
|
125
|
+
email: z.ZodString;
|
|
126
|
+
sendEmail: z.ZodCoercedBoolean<unknown>;
|
|
127
|
+
state: z.ZodCoercedBoolean<unknown>;
|
|
128
|
+
resetCount: z.ZodCoercedNumber<unknown>;
|
|
129
|
+
resetToken: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
130
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
131
|
+
strategy: z.ZodLiteral<"local">;
|
|
132
|
+
sub: z.ZodOptional<z.ZodString>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
labels: z.ZodType<{
|
|
135
|
+
id: string;
|
|
136
|
+
createdAt: Date;
|
|
137
|
+
updatedAt: Date;
|
|
138
|
+
title: string;
|
|
139
|
+
name: string;
|
|
140
|
+
builtin: boolean;
|
|
141
|
+
label_id?: Record<string, unknown> | null | undefined;
|
|
142
|
+
description?: string | null | undefined;
|
|
143
|
+
group?: string | null | undefined;
|
|
144
|
+
users?: undefined;
|
|
145
|
+
}[], unknown, z.core.$ZodTypeInternals<{
|
|
146
|
+
id: string;
|
|
147
|
+
createdAt: Date;
|
|
148
|
+
updatedAt: Date;
|
|
149
|
+
title: string;
|
|
150
|
+
name: string;
|
|
151
|
+
builtin: boolean;
|
|
152
|
+
label_id?: Record<string, unknown> | null | undefined;
|
|
153
|
+
description?: string | null | undefined;
|
|
154
|
+
group?: string | null | undefined;
|
|
155
|
+
users?: undefined;
|
|
156
|
+
}[], unknown>>;
|
|
157
|
+
assignedTo: z.ZodType<{
|
|
158
|
+
id: string;
|
|
159
|
+
createdAt: Date;
|
|
160
|
+
updatedAt: Date;
|
|
161
|
+
firstName: string;
|
|
162
|
+
lastName: string;
|
|
163
|
+
language: string | null;
|
|
164
|
+
timezone: number;
|
|
165
|
+
locale: string | null;
|
|
166
|
+
gender: string | null;
|
|
167
|
+
country: string | null;
|
|
168
|
+
foreignId: string | null;
|
|
169
|
+
assignedAt: Date | null;
|
|
170
|
+
lastvisit: Date | null;
|
|
171
|
+
retainedFrom: Date | null;
|
|
172
|
+
channel: {
|
|
173
|
+
name: string | null;
|
|
174
|
+
data?: Record<string, any> | null | undefined;
|
|
175
|
+
};
|
|
176
|
+
labels: string[];
|
|
177
|
+
assignedTo: string | null;
|
|
178
|
+
username: string;
|
|
179
|
+
email: string;
|
|
180
|
+
sendEmail: boolean;
|
|
181
|
+
state: boolean;
|
|
182
|
+
resetCount: number;
|
|
183
|
+
resetToken: string | null;
|
|
184
|
+
roles: string[];
|
|
185
|
+
avatar: string | null;
|
|
186
|
+
provider?: {
|
|
187
|
+
strategy: "local";
|
|
188
|
+
sub?: string | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
} | null, unknown, z.core.$ZodTypeInternals<{
|
|
191
|
+
id: string;
|
|
192
|
+
createdAt: Date;
|
|
193
|
+
updatedAt: Date;
|
|
194
|
+
firstName: string;
|
|
195
|
+
lastName: string;
|
|
196
|
+
language: string | null;
|
|
197
|
+
timezone: number;
|
|
198
|
+
locale: string | null;
|
|
199
|
+
gender: string | null;
|
|
200
|
+
country: string | null;
|
|
201
|
+
foreignId: string | null;
|
|
202
|
+
assignedAt: Date | null;
|
|
203
|
+
lastvisit: Date | null;
|
|
204
|
+
retainedFrom: Date | null;
|
|
205
|
+
channel: {
|
|
206
|
+
name: string | null;
|
|
207
|
+
data?: Record<string, any> | null | undefined;
|
|
208
|
+
};
|
|
209
|
+
labels: string[];
|
|
210
|
+
assignedTo: string | null;
|
|
211
|
+
username: string;
|
|
212
|
+
email: string;
|
|
213
|
+
sendEmail: boolean;
|
|
214
|
+
state: boolean;
|
|
215
|
+
resetCount: number;
|
|
216
|
+
resetToken: string | null;
|
|
217
|
+
roles: string[];
|
|
218
|
+
avatar: string | null;
|
|
219
|
+
provider?: {
|
|
220
|
+
strategy: "local";
|
|
221
|
+
sub?: string | undefined;
|
|
222
|
+
} | undefined;
|
|
223
|
+
} | null, unknown>>;
|
|
224
|
+
roles: z.ZodType<{
|
|
225
|
+
id: string;
|
|
226
|
+
createdAt: Date;
|
|
227
|
+
updatedAt: Date;
|
|
228
|
+
name: string;
|
|
229
|
+
active: boolean;
|
|
230
|
+
}[], unknown, z.core.$ZodTypeInternals<{
|
|
231
|
+
id: string;
|
|
232
|
+
createdAt: Date;
|
|
233
|
+
updatedAt: Date;
|
|
234
|
+
name: string;
|
|
235
|
+
active: boolean;
|
|
236
|
+
}[], unknown>>;
|
|
237
|
+
avatar: z.ZodType<{
|
|
238
|
+
id: string;
|
|
239
|
+
createdAt: Date;
|
|
240
|
+
updatedAt: Date;
|
|
241
|
+
name: string;
|
|
242
|
+
type: string;
|
|
243
|
+
size: number;
|
|
244
|
+
location: string;
|
|
245
|
+
resourceRef: import("../attachment/attachment").AttachmentResourceRef;
|
|
246
|
+
access: import("../attachment/attachment").AttachmentAccess;
|
|
247
|
+
url: string;
|
|
248
|
+
channel?: Record<string, unknown> | undefined;
|
|
249
|
+
createdByRef?: import("../attachment/attachment").AttachmentCreatedByRef | undefined;
|
|
250
|
+
createdBy?: string | null | undefined;
|
|
251
|
+
} | null, unknown, z.core.$ZodTypeInternals<{
|
|
252
|
+
id: string;
|
|
253
|
+
createdAt: Date;
|
|
254
|
+
updatedAt: Date;
|
|
255
|
+
name: string;
|
|
256
|
+
type: string;
|
|
257
|
+
size: number;
|
|
258
|
+
location: string;
|
|
259
|
+
resourceRef: import("../attachment/attachment").AttachmentResourceRef;
|
|
260
|
+
access: import("../attachment/attachment").AttachmentAccess;
|
|
261
|
+
url: string;
|
|
262
|
+
channel?: Record<string, unknown> | undefined;
|
|
263
|
+
createdByRef?: import("../attachment/attachment").AttachmentCreatedByRef | undefined;
|
|
264
|
+
createdBy?: string | null | undefined;
|
|
265
|
+
} | null, unknown>>;
|
|
266
|
+
}, z.core.$strip>;
|
|
267
|
+
export type UserStub = z.infer<typeof userStubSchema>;
|
|
268
|
+
export type User = z.infer<typeof userSchema>;
|
|
269
|
+
export type UserFull = z.infer<typeof userFullSchema>;
|
|
270
|
+
//# sourceMappingURL=user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/user/user.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiCxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuB,CAAC;AAEnD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAoBtB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAE9C,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare enum WorkflowType {
|
|
3
|
+
conversational = "conversational",
|
|
4
|
+
manual = "manual",
|
|
5
|
+
scheduled = "scheduled"
|
|
6
|
+
}
|
|
7
|
+
export declare enum WorkflowVersionAction {
|
|
8
|
+
create = "create",
|
|
9
|
+
update = "update",
|
|
10
|
+
restore = "restore",
|
|
11
|
+
import = "import"
|
|
12
|
+
}
|
|
13
|
+
export declare enum MemoryScope {
|
|
14
|
+
global = "global",
|
|
15
|
+
workflow = "workflow",
|
|
16
|
+
thread = "thread",
|
|
17
|
+
run = "run"
|
|
18
|
+
}
|
|
19
|
+
export declare enum McpServerTransport {
|
|
20
|
+
http = "http",
|
|
21
|
+
stdio = "stdio"
|
|
22
|
+
}
|
|
23
|
+
export declare enum DirectionType {
|
|
24
|
+
HORIZONTAL = "horizontal",
|
|
25
|
+
VERTICAL = "vertical"
|
|
26
|
+
}
|
|
27
|
+
export declare const workflowTypeSchema: z.ZodEnum<typeof WorkflowType>;
|
|
28
|
+
export declare const workflowVersionActionSchema: z.ZodEnum<typeof WorkflowVersionAction>;
|
|
29
|
+
export declare const memoryScopeSchema: z.ZodEnum<typeof MemoryScope>;
|
|
30
|
+
export declare const mcpServerTransportSchema: z.ZodEnum<typeof McpServerTransport>;
|
|
31
|
+
export declare const directionTypeSchema: z.ZodEnum<typeof DirectionType>;
|
|
32
|
+
//# sourceMappingURL=domain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.d.ts","sourceRoot":"","sources":["../../../src/workflow/domain.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oBAAY,YAAY;IACtB,cAAc,mBAAmB;IACjC,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,oBAAY,qBAAqB;IAC/B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,oBAAY,WAAW;IACrB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,GAAG,QAAQ;CACZ;AAED,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,oBAAY,aAAa;IACvB,UAAU,eAAe;IACzB,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,kBAAkB,gCAAuB,CAAC;AAEvD,eAAO,MAAM,2BAA2B,yCAAgC,CAAC;AAEzE,eAAO,MAAM,iBAAiB,+BAAsB,CAAC;AAErD,eAAO,MAAM,wBAAwB,sCAA6B,CAAC;AAEnE,eAAO,MAAM,mBAAmB,iCAAwB,CAAC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const nullishToNull: (value: unknown) => unknown;
|
|
3
|
+
export declare const userOrSubscriberSchema: z.ZodUnion<readonly [z.ZodLazy<z.ZodType<{
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: Date;
|
|
6
|
+
updatedAt: Date;
|
|
7
|
+
firstName: string;
|
|
8
|
+
lastName: string;
|
|
9
|
+
language: string | null;
|
|
10
|
+
timezone: number;
|
|
11
|
+
locale: string | null;
|
|
12
|
+
gender: string | null;
|
|
13
|
+
country: string | null;
|
|
14
|
+
foreignId: string | null;
|
|
15
|
+
assignedAt: Date | null;
|
|
16
|
+
lastvisit: Date | null;
|
|
17
|
+
retainedFrom: Date | null;
|
|
18
|
+
channel: {
|
|
19
|
+
name: string | null;
|
|
20
|
+
data?: Record<string, any> | null | undefined;
|
|
21
|
+
};
|
|
22
|
+
username: string;
|
|
23
|
+
email: string;
|
|
24
|
+
sendEmail: boolean;
|
|
25
|
+
state: boolean;
|
|
26
|
+
resetCount: number;
|
|
27
|
+
resetToken: string | null;
|
|
28
|
+
labels: string[];
|
|
29
|
+
assignedTo: string | null;
|
|
30
|
+
roles: string[];
|
|
31
|
+
avatar: string | null;
|
|
32
|
+
provider?: {
|
|
33
|
+
strategy: "local";
|
|
34
|
+
sub?: string | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
37
|
+
id: string;
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
updatedAt: Date;
|
|
40
|
+
firstName: string;
|
|
41
|
+
lastName: string;
|
|
42
|
+
language: string | null;
|
|
43
|
+
timezone: number;
|
|
44
|
+
locale: string | null;
|
|
45
|
+
gender: string | null;
|
|
46
|
+
country: string | null;
|
|
47
|
+
foreignId: string | null;
|
|
48
|
+
assignedAt: Date | null;
|
|
49
|
+
lastvisit: Date | null;
|
|
50
|
+
retainedFrom: Date | null;
|
|
51
|
+
channel: {
|
|
52
|
+
name: string | null;
|
|
53
|
+
data?: Record<string, any> | null | undefined;
|
|
54
|
+
};
|
|
55
|
+
username: string;
|
|
56
|
+
email: string;
|
|
57
|
+
sendEmail: boolean;
|
|
58
|
+
state: boolean;
|
|
59
|
+
resetCount: number;
|
|
60
|
+
resetToken: string | null;
|
|
61
|
+
labels: string[];
|
|
62
|
+
assignedTo: string | null;
|
|
63
|
+
roles: string[];
|
|
64
|
+
avatar: string | null;
|
|
65
|
+
provider?: {
|
|
66
|
+
strategy: "local";
|
|
67
|
+
sub?: string | undefined;
|
|
68
|
+
} | undefined;
|
|
69
|
+
}, unknown>>>, z.ZodType<{
|
|
70
|
+
id: string;
|
|
71
|
+
createdAt: Date;
|
|
72
|
+
updatedAt: Date;
|
|
73
|
+
firstName: string;
|
|
74
|
+
lastName: string;
|
|
75
|
+
language: string | null;
|
|
76
|
+
timezone: number;
|
|
77
|
+
locale: string | null;
|
|
78
|
+
gender: string | null;
|
|
79
|
+
country: string | null;
|
|
80
|
+
foreignId: string | null;
|
|
81
|
+
assignedAt: Date | null;
|
|
82
|
+
lastvisit: Date | null;
|
|
83
|
+
retainedFrom: Date | null;
|
|
84
|
+
channel: {
|
|
85
|
+
name: string | null;
|
|
86
|
+
data?: Record<string, any> | null | undefined;
|
|
87
|
+
};
|
|
88
|
+
labels: string[];
|
|
89
|
+
assignedTo: string | null;
|
|
90
|
+
avatar: string | null;
|
|
91
|
+
source: string | null;
|
|
92
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
93
|
+
id: string;
|
|
94
|
+
createdAt: Date;
|
|
95
|
+
updatedAt: Date;
|
|
96
|
+
firstName: string;
|
|
97
|
+
lastName: string;
|
|
98
|
+
language: string | null;
|
|
99
|
+
timezone: number;
|
|
100
|
+
locale: string | null;
|
|
101
|
+
gender: string | null;
|
|
102
|
+
country: string | null;
|
|
103
|
+
foreignId: string | null;
|
|
104
|
+
assignedAt: Date | null;
|
|
105
|
+
lastvisit: Date | null;
|
|
106
|
+
retainedFrom: Date | null;
|
|
107
|
+
channel: {
|
|
108
|
+
name: string | null;
|
|
109
|
+
data?: Record<string, any> | null | undefined;
|
|
110
|
+
};
|
|
111
|
+
labels: string[];
|
|
112
|
+
assignedTo: string | null;
|
|
113
|
+
avatar: string | null;
|
|
114
|
+
source: string | null;
|
|
115
|
+
}, unknown>>]>;
|
|
116
|
+
export declare const parseUserOrSubscriber: (value: unknown) => z.infer<typeof userOrSubscriberSchema>;
|
|
117
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/workflow/helpers.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,OAE9C,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAGjC,CAAC;AAEH,eAAO,MAAM,qBAAqB,GAChC,OAAO,OAAO,KACb,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAgBvC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { DirectionType, McpServerTransport, MemoryScope, WorkflowType, WorkflowVersionAction, } from "./domain";
|
|
2
|
+
export { createWorkflowFullSchema, workflowFullSchema, workflowSchema, workflowStubSchema, type Workflow, type WorkflowDefinitionParser, type WorkflowFull, type WorkflowStub, } from "./workflow";
|
|
3
|
+
export { workflowVersionFullSchema, workflowVersionSchema, workflowVersionStubSchema, type WorkflowVersion, type WorkflowVersionFull, type WorkflowVersionStub, } from "./workflow-version";
|
|
4
|
+
export { resolveRunDurationMs, workflowRunFullSchema, workflowRunSchema, workflowRunStubSchema, type WorkflowRun, type WorkflowRunFull, type WorkflowRunStub, } from "./workflow-run";
|
|
5
|
+
export { memoryDefinitionFullSchema, memoryDefinitionSchema, memoryDefinitionStubSchema, type MemoryDefinition, type MemoryDefinitionFull, type MemoryDefinitionStub, } from "./memory-definition";
|
|
6
|
+
export { memoryRecordFullSchema, memoryRecordSchema, memoryRecordStubSchema, type MemoryRecord, type MemoryRecordFull, type MemoryRecordStub, } from "./memory-record";
|
|
7
|
+
export { mcpServerFullSchema, mcpServerSchema, mcpServerStubSchema, type McpServer, type McpServerFull, type McpServerStub, } from "./mcp-server";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/index.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,qBAAqB,GACtB,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,KAAK,QAAQ,EACb,KAAK,wBAAwB,EAC7B,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,eAAe,GACrB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,EACtB,0BAA0B,EAC1B,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,GAC1B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,aAAa,GACnB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const mcpServerStubSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
5
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
enabled: z.ZodCoercedBoolean<unknown>;
|
|
8
|
+
transport: z.ZodEnum<typeof import("./domain").McpServerTransport>;
|
|
9
|
+
url: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
10
|
+
command: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
11
|
+
args: z.ZodType<string[] | null, unknown, z.core.$ZodTypeInternals<string[] | null, unknown>>;
|
|
12
|
+
cwd: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export declare const mcpServerSchema: z.ZodType<{
|
|
15
|
+
id: string;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
name: string;
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
transport: import("./domain").McpServerTransport;
|
|
21
|
+
url: string | null;
|
|
22
|
+
command: string | null;
|
|
23
|
+
args: string[] | null;
|
|
24
|
+
cwd: string | null;
|
|
25
|
+
credential: string | null;
|
|
26
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
27
|
+
id: string;
|
|
28
|
+
createdAt: Date;
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
name: string;
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
transport: import("./domain").McpServerTransport;
|
|
33
|
+
url: string | null;
|
|
34
|
+
command: string | null;
|
|
35
|
+
args: string[] | null;
|
|
36
|
+
cwd: string | null;
|
|
37
|
+
credential: string | null;
|
|
38
|
+
}, unknown>>;
|
|
39
|
+
export declare const mcpServerFullSchema: z.ZodObject<{
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
42
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
43
|
+
name: z.ZodString;
|
|
44
|
+
enabled: z.ZodCoercedBoolean<unknown>;
|
|
45
|
+
transport: z.ZodEnum<typeof import("./domain").McpServerTransport>;
|
|
46
|
+
url: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
47
|
+
command: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
48
|
+
args: z.ZodType<string[] | null, unknown, z.core.$ZodTypeInternals<string[] | null, unknown>>;
|
|
49
|
+
cwd: z.ZodType<string | null, unknown, z.core.$ZodTypeInternals<string | null, unknown>>;
|
|
50
|
+
credential: z.ZodOptional<z.ZodType<{
|
|
51
|
+
id: string;
|
|
52
|
+
createdAt: Date;
|
|
53
|
+
updatedAt: Date;
|
|
54
|
+
name: string;
|
|
55
|
+
owner: string;
|
|
56
|
+
} | null, unknown, z.core.$ZodTypeInternals<{
|
|
57
|
+
id: string;
|
|
58
|
+
createdAt: Date;
|
|
59
|
+
updatedAt: Date;
|
|
60
|
+
name: string;
|
|
61
|
+
owner: string;
|
|
62
|
+
} | null, unknown>>>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
export type McpServerStub = z.infer<typeof mcpServerStubSchema>;
|
|
65
|
+
export type McpServer = z.infer<typeof mcpServerSchema>;
|
|
66
|
+
export type McpServerFull = z.infer<typeof mcpServerFullSchema>;
|
|
67
|
+
//# sourceMappingURL=mcp-server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../../../src/workflow/mcp-server.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkCxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;iBAA4B,CAAC;AAE7D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;YAQ3B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;iBAK9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const memoryDefinitionStubSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
5
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
slug: z.ZodString;
|
|
8
|
+
scope: z.ZodEnum<typeof import("./domain").MemoryScope>;
|
|
9
|
+
schema: z.ZodAny;
|
|
10
|
+
ttlSeconds: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export declare const memoryDefinitionSchema: z.ZodObject<{
|
|
13
|
+
id: z.ZodString;
|
|
14
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
15
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
slug: z.ZodString;
|
|
18
|
+
scope: z.ZodEnum<typeof import("./domain").MemoryScope>;
|
|
19
|
+
schema: z.ZodAny;
|
|
20
|
+
ttlSeconds: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
export declare const memoryDefinitionFullSchema: z.ZodObject<{
|
|
23
|
+
id: z.ZodString;
|
|
24
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
25
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
slug: z.ZodString;
|
|
28
|
+
scope: z.ZodEnum<typeof import("./domain").MemoryScope>;
|
|
29
|
+
schema: z.ZodAny;
|
|
30
|
+
ttlSeconds: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type MemoryDefinitionStub = z.infer<typeof memoryDefinitionStubSchema>;
|
|
33
|
+
export type MemoryDefinition = z.infer<typeof memoryDefinitionSchema>;
|
|
34
|
+
export type MemoryDefinitionFull = z.infer<typeof memoryDefinitionFullSchema>;
|
|
35
|
+
//# sourceMappingURL=memory-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-definition.d.ts","sourceRoot":"","sources":["../../../src/workflow/memory-definition.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,0BAA0B;;;;;;;;;iBAA+B,CAAC;AAEvE,eAAO,MAAM,sBAAsB;;;;;;;;;iBAA+B,CAAC;AAEnE,eAAO,MAAM,0BAA0B;;;;;;;;;iBAA+B,CAAC;AAEvE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|