@ganju/utils 0.0.1

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.
Files changed (220) hide show
  1. package/LICENSE +201 -0
  2. package/NOTICE +9 -0
  3. package/README.md +23 -0
  4. package/dist/apiError.d.ts +3 -0
  5. package/dist/apiError.d.ts.map +1 -0
  6. package/dist/apiError.js +36 -0
  7. package/dist/attachment.d.ts +33 -0
  8. package/dist/attachment.d.ts.map +1 -0
  9. package/dist/attachment.js +59 -0
  10. package/dist/base64.d.ts +10 -0
  11. package/dist/base64.d.ts.map +1 -0
  12. package/dist/base64.js +50 -0
  13. package/dist/channelDebounce.d.ts +26 -0
  14. package/dist/channelDebounce.d.ts.map +1 -0
  15. package/dist/channelDebounce.js +35 -0
  16. package/dist/channelNotifier.d.ts +9 -0
  17. package/dist/channelNotifier.d.ts.map +1 -0
  18. package/dist/channelNotifier.js +31 -0
  19. package/dist/chunking.d.ts +28 -0
  20. package/dist/chunking.d.ts.map +1 -0
  21. package/dist/chunking.js +97 -0
  22. package/dist/cliConstants.d.ts +9 -0
  23. package/dist/cliConstants.d.ts.map +1 -0
  24. package/dist/cliConstants.js +47 -0
  25. package/dist/coerce.d.ts +2 -0
  26. package/dist/coerce.d.ts.map +1 -0
  27. package/dist/coerce.js +13 -0
  28. package/dist/constants.d.ts +624 -0
  29. package/dist/constants.d.ts.map +1 -0
  30. package/dist/constants.js +2220 -0
  31. package/dist/crypto.d.ts +14 -0
  32. package/dist/crypto.d.ts.map +1 -0
  33. package/dist/crypto.js +93 -0
  34. package/dist/customCodeProject.d.ts +91 -0
  35. package/dist/customCodeProject.d.ts.map +1 -0
  36. package/dist/customCodeProject.js +154 -0
  37. package/dist/customCodeToken.d.ts +41 -0
  38. package/dist/customCodeToken.d.ts.map +1 -0
  39. package/dist/customCodeToken.js +115 -0
  40. package/dist/deadline.d.ts +6 -0
  41. package/dist/deadline.d.ts.map +1 -0
  42. package/dist/deadline.js +45 -0
  43. package/dist/discordSend.d.ts +25 -0
  44. package/dist/discordSend.d.ts.map +1 -0
  45. package/dist/discordSend.js +8 -0
  46. package/dist/embeddable.d.ts +2 -0
  47. package/dist/embeddable.d.ts.map +1 -0
  48. package/dist/embeddable.js +6 -0
  49. package/dist/exposedResource.d.ts +6 -0
  50. package/dist/exposedResource.d.ts.map +1 -0
  51. package/dist/exposedResource.js +18 -0
  52. package/dist/extractedDocument.d.ts +70 -0
  53. package/dist/extractedDocument.d.ts.map +1 -0
  54. package/dist/extractedDocument.js +2 -0
  55. package/dist/fetcher.d.ts +8 -0
  56. package/dist/fetcher.d.ts.map +1 -0
  57. package/dist/fetcher.js +68 -0
  58. package/dist/formatFilename.d.ts +2 -0
  59. package/dist/formatFilename.d.ts.map +1 -0
  60. package/dist/formatFilename.js +19 -0
  61. package/dist/formatRelative.d.ts +12 -0
  62. package/dist/formatRelative.d.ts.map +1 -0
  63. package/dist/formatRelative.js +28 -0
  64. package/dist/formatRelativeTime.d.ts +2 -0
  65. package/dist/formatRelativeTime.d.ts.map +1 -0
  66. package/dist/formatRelativeTime.js +49 -0
  67. package/dist/getEnv.d.ts +5 -0
  68. package/dist/getEnv.d.ts.map +1 -0
  69. package/dist/getEnv.js +11 -0
  70. package/dist/gmailSend.d.ts +24 -0
  71. package/dist/gmailSend.d.ts.map +1 -0
  72. package/dist/gmailSend.js +9 -0
  73. package/dist/index.d.ts +2839 -0
  74. package/dist/index.d.ts.map +1 -0
  75. package/dist/index.js +155 -0
  76. package/dist/jsonSchemaToZodShape.d.ts +38 -0
  77. package/dist/jsonSchemaToZodShape.d.ts.map +1 -0
  78. package/dist/jsonSchemaToZodShape.js +117 -0
  79. package/dist/l2Normalize.d.ts +2 -0
  80. package/dist/l2Normalize.d.ts.map +1 -0
  81. package/dist/l2Normalize.js +25 -0
  82. package/dist/languageCookieDomain.d.ts +21 -0
  83. package/dist/languageCookieDomain.d.ts.map +1 -0
  84. package/dist/languageCookieDomain.js +39 -0
  85. package/dist/localizeZodIssue.d.ts +43 -0
  86. package/dist/localizeZodIssue.d.ts.map +1 -0
  87. package/dist/localizeZodIssue.js +90 -0
  88. package/dist/mailHeaders.d.ts +4 -0
  89. package/dist/mailHeaders.d.ts.map +1 -0
  90. package/dist/mailHeaders.js +11 -0
  91. package/dist/mcpProxy.d.ts +2 -0
  92. package/dist/mcpProxy.d.ts.map +1 -0
  93. package/dist/mcpProxy.js +21 -0
  94. package/dist/mimeMessage.d.ts +21 -0
  95. package/dist/mimeMessage.d.ts.map +1 -0
  96. package/dist/mimeMessage.js +58 -0
  97. package/dist/oauth.d.ts +21 -0
  98. package/dist/oauth.d.ts.map +1 -0
  99. package/dist/oauth.js +75 -0
  100. package/dist/oauthProviders.d.ts +12 -0
  101. package/dist/oauthProviders.d.ts.map +1 -0
  102. package/dist/oauthProviders.js +99 -0
  103. package/dist/outlookSend.d.ts +19 -0
  104. package/dist/outlookSend.d.ts.map +1 -0
  105. package/dist/outlookSend.js +9 -0
  106. package/dist/parseHttpError.d.ts +2 -0
  107. package/dist/parseHttpError.d.ts.map +1 -0
  108. package/dist/parseHttpError.js +23 -0
  109. package/dist/planLimitError.d.ts +18 -0
  110. package/dist/planLimitError.d.ts.map +1 -0
  111. package/dist/planLimitError.js +35 -0
  112. package/dist/processQueueBatch.d.ts +17 -0
  113. package/dist/processQueueBatch.d.ts.map +1 -0
  114. package/dist/processQueueBatch.js +32 -0
  115. package/dist/reservedToolName.d.ts +16 -0
  116. package/dist/reservedToolName.d.ts.map +1 -0
  117. package/dist/reservedToolName.js +25 -0
  118. package/dist/resourceUri.d.ts +2 -0
  119. package/dist/resourceUri.d.ts.map +1 -0
  120. package/dist/resourceUri.js +19 -0
  121. package/dist/retry.d.ts +10 -0
  122. package/dist/retry.d.ts.map +1 -0
  123. package/dist/retry.js +37 -0
  124. package/dist/sanitize.d.ts +7 -0
  125. package/dist/sanitize.d.ts.map +1 -0
  126. package/dist/sanitize.js +69 -0
  127. package/dist/schema.d.ts +2175 -0
  128. package/dist/schema.d.ts.map +1 -0
  129. package/dist/schema.js +1382 -0
  130. package/dist/sdkConstants.d.ts +15 -0
  131. package/dist/sdkConstants.d.ts.map +1 -0
  132. package/dist/sdkConstants.js +43 -0
  133. package/dist/slackSend.d.ts +38 -0
  134. package/dist/slackSend.d.ts.map +1 -0
  135. package/dist/slackSend.js +14 -0
  136. package/dist/slug.d.ts +5 -0
  137. package/dist/slug.d.ts.map +1 -0
  138. package/dist/slug.js +34 -0
  139. package/dist/slugifyTitle.d.ts +2 -0
  140. package/dist/slugifyTitle.d.ts.map +1 -0
  141. package/dist/slugifyTitle.js +11 -0
  142. package/dist/sources.d.ts +43 -0
  143. package/dist/sources.d.ts.map +1 -0
  144. package/dist/sources.js +73 -0
  145. package/dist/ssrf.d.ts +3 -0
  146. package/dist/ssrf.d.ts.map +1 -0
  147. package/dist/ssrf.js +46 -0
  148. package/dist/tallyUsageKinds.d.ts +9 -0
  149. package/dist/tallyUsageKinds.d.ts.map +1 -0
  150. package/dist/tallyUsageKinds.js +20 -0
  151. package/dist/telegramSend.d.ts +28 -0
  152. package/dist/telegramSend.d.ts.map +1 -0
  153. package/dist/telegramSend.js +9 -0
  154. package/dist/toolCatalog.d.ts +452 -0
  155. package/dist/toolCatalog.d.ts.map +1 -0
  156. package/dist/toolCatalog.js +552 -0
  157. package/dist/validateMessageVariables.d.ts +7 -0
  158. package/dist/validateMessageVariables.d.ts.map +1 -0
  159. package/dist/validateMessageVariables.js +16 -0
  160. package/dist/vendorError.d.ts +2 -0
  161. package/dist/vendorError.d.ts.map +1 -0
  162. package/dist/vendorError.js +25 -0
  163. package/dist/whatsappSend.d.ts +31 -0
  164. package/dist/whatsappSend.d.ts.map +1 -0
  165. package/dist/whatsappSend.js +11 -0
  166. package/package.json +76 -0
  167. package/src/apiError.ts +40 -0
  168. package/src/attachment.ts +97 -0
  169. package/src/base64.ts +60 -0
  170. package/src/channelDebounce.ts +76 -0
  171. package/src/channelNotifier.ts +39 -0
  172. package/src/chunking.ts +131 -0
  173. package/src/cliConstants.ts +50 -0
  174. package/src/coerce.ts +9 -0
  175. package/src/constants.ts +2542 -0
  176. package/src/crypto.ts +108 -0
  177. package/src/customCodeProject.ts +182 -0
  178. package/src/customCodeToken.ts +198 -0
  179. package/src/deadline.ts +43 -0
  180. package/src/discordSend.ts +41 -0
  181. package/src/embeddable.ts +4 -0
  182. package/src/exposedResource.ts +40 -0
  183. package/src/extractedDocument.ts +62 -0
  184. package/src/fetcher.ts +82 -0
  185. package/src/formatFilename.ts +19 -0
  186. package/src/formatRelative.ts +36 -0
  187. package/src/formatRelativeTime.ts +45 -0
  188. package/src/getEnv.ts +13 -0
  189. package/src/gmailSend.ts +34 -0
  190. package/src/index.ts +397 -0
  191. package/src/jsonSchemaToZodShape.ts +111 -0
  192. package/src/l2Normalize.ts +19 -0
  193. package/src/languageCookieDomain.ts +37 -0
  194. package/src/localizeZodIssue.ts +124 -0
  195. package/src/mailHeaders.ts +12 -0
  196. package/src/mcpProxy.ts +20 -0
  197. package/src/mimeMessage.ts +82 -0
  198. package/src/oauth.ts +103 -0
  199. package/src/oauthProviders.ts +118 -0
  200. package/src/outlookSend.ts +44 -0
  201. package/src/parseHttpError.ts +16 -0
  202. package/src/planLimitError.ts +50 -0
  203. package/src/processQueueBatch.ts +46 -0
  204. package/src/reservedToolName.ts +27 -0
  205. package/src/resourceUri.ts +17 -0
  206. package/src/retry.ts +43 -0
  207. package/src/sanitize.ts +67 -0
  208. package/src/schema.ts +1624 -0
  209. package/src/sdkConstants.ts +44 -0
  210. package/src/slackSend.ts +65 -0
  211. package/src/slug.ts +37 -0
  212. package/src/slugifyTitle.ts +8 -0
  213. package/src/sources.ts +117 -0
  214. package/src/ssrf.ts +34 -0
  215. package/src/tallyUsageKinds.ts +20 -0
  216. package/src/telegramSend.ts +39 -0
  217. package/src/toolCatalog.ts +635 -0
  218. package/src/validateMessageVariables.ts +18 -0
  219. package/src/vendorError.ts +19 -0
  220. package/src/whatsappSend.ts +47 -0
@@ -0,0 +1,2175 @@
1
+ import { z } from 'zod';
2
+ declare const HTTP_ENDPOINT_CONFIG: z.ZodPipe<z.ZodObject<{
3
+ name: z.ZodString;
4
+ title: z.ZodOptional<z.ZodString>;
5
+ description: z.ZodOptional<z.ZodString>;
6
+ method: z.ZodPreprocess<z.ZodEnum<{
7
+ GET: "GET";
8
+ POST: "POST";
9
+ PUT: "PUT";
10
+ PATCH: "PATCH";
11
+ DELETE: "DELETE";
12
+ }>>;
13
+ url: z.ZodString;
14
+ headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
15
+ name: z.ZodString;
16
+ value: z.ZodString;
17
+ }, z.core.$strip>>>;
18
+ query: z.ZodDefault<z.ZodArray<z.ZodObject<{
19
+ name: z.ZodString;
20
+ value: z.ZodString;
21
+ }, z.core.$strip>>>;
22
+ body: z.ZodDefault<z.ZodObject<{
23
+ kind: z.ZodEnum<{
24
+ json: "json";
25
+ none: "none";
26
+ text: "text";
27
+ form: "form";
28
+ }>;
29
+ template: z.ZodDefault<z.ZodString>;
30
+ }, z.core.$strip>>;
31
+ inputSchema: z.ZodDefault<z.ZodObject<{
32
+ type: z.ZodEnum<{
33
+ [x: string]: string;
34
+ }>;
35
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
36
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ items: z.ZodOptional<z.ZodAny>;
38
+ minimum: z.ZodOptional<z.ZodNumber>;
39
+ maximum: z.ZodOptional<z.ZodNumber>;
40
+ minLength: z.ZodOptional<z.ZodNumber>;
41
+ maxLength: z.ZodOptional<z.ZodNumber>;
42
+ pattern: z.ZodOptional<z.ZodString>;
43
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
44
+ }, z.core.$strip>>;
45
+ outputSchema: z.ZodOptional<z.ZodObject<{
46
+ type: z.ZodEnum<{
47
+ [x: string]: string;
48
+ }>;
49
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
50
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
+ items: z.ZodOptional<z.ZodAny>;
52
+ minimum: z.ZodOptional<z.ZodNumber>;
53
+ maximum: z.ZodOptional<z.ZodNumber>;
54
+ minLength: z.ZodOptional<z.ZodNumber>;
55
+ maxLength: z.ZodOptional<z.ZodNumber>;
56
+ pattern: z.ZodOptional<z.ZodString>;
57
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
58
+ }, z.core.$strip>>;
59
+ response: z.ZodDefault<z.ZodObject<{
60
+ contentType: z.ZodDefault<z.ZodEnum<{
61
+ json: "json";
62
+ text: "text";
63
+ auto: "auto";
64
+ }>>;
65
+ maxBytes: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
66
+ jsonPath: z.ZodOptional<z.ZodString>;
67
+ successStatus: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
68
+ }, z.core.$strip>>;
69
+ auth: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
70
+ kind: z.ZodLiteral<"none">;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ kind: z.ZodLiteral<"bearer">;
73
+ credentialId: z.ZodUUID;
74
+ }, z.core.$strip>, z.ZodObject<{
75
+ kind: z.ZodLiteral<"basic">;
76
+ credentialId: z.ZodUUID;
77
+ }, z.core.$strip>, z.ZodObject<{
78
+ kind: z.ZodLiteral<"oauth">;
79
+ credentialId: z.ZodUUID;
80
+ }, z.core.$strip>, z.ZodObject<{
81
+ kind: z.ZodLiteral<"api-key">;
82
+ in: z.ZodEnum<{
83
+ header: "header";
84
+ query: "query";
85
+ }>;
86
+ name: z.ZodString;
87
+ credentialId: z.ZodUUID;
88
+ }, z.core.$strip>], "kind">>;
89
+ timeoutMs: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
90
+ allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
91
+ }, z.core.$strip>, z.ZodTransform<{
92
+ title: string;
93
+ description: string;
94
+ name: string;
95
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
96
+ url: string;
97
+ headers: {
98
+ name: string;
99
+ value: string;
100
+ }[];
101
+ query: {
102
+ name: string;
103
+ value: string;
104
+ }[];
105
+ body: {
106
+ kind: "json" | "none" | "text" | "form";
107
+ template: string;
108
+ };
109
+ inputSchema: {
110
+ type: string;
111
+ properties?: Record<string, any> | undefined;
112
+ required?: string[] | undefined;
113
+ items?: any;
114
+ minimum?: number | undefined;
115
+ maximum?: number | undefined;
116
+ minLength?: number | undefined;
117
+ maxLength?: number | undefined;
118
+ pattern?: string | undefined;
119
+ enum?: any[] | undefined;
120
+ };
121
+ response: {
122
+ contentType: "json" | "text" | "auto";
123
+ maxBytes: number;
124
+ jsonPath?: string | undefined;
125
+ successStatus?: number[] | undefined;
126
+ };
127
+ auth: {
128
+ kind: "none";
129
+ } | {
130
+ kind: "bearer";
131
+ credentialId: string;
132
+ } | {
133
+ kind: "basic";
134
+ credentialId: string;
135
+ } | {
136
+ kind: "oauth";
137
+ credentialId: string;
138
+ } | {
139
+ kind: "api-key";
140
+ in: "header" | "query";
141
+ name: string;
142
+ credentialId: string;
143
+ };
144
+ timeoutMs: number;
145
+ outputSchema?: {
146
+ type: string;
147
+ properties?: Record<string, any> | undefined;
148
+ required?: string[] | undefined;
149
+ items?: any;
150
+ minimum?: number | undefined;
151
+ maximum?: number | undefined;
152
+ minLength?: number | undefined;
153
+ maxLength?: number | undefined;
154
+ pattern?: string | undefined;
155
+ enum?: any[] | undefined;
156
+ } | undefined;
157
+ allowedHosts?: string[] | undefined;
158
+ }, {
159
+ name: string;
160
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
161
+ url: string;
162
+ headers: {
163
+ name: string;
164
+ value: string;
165
+ }[];
166
+ query: {
167
+ name: string;
168
+ value: string;
169
+ }[];
170
+ body: {
171
+ kind: "json" | "none" | "text" | "form";
172
+ template: string;
173
+ };
174
+ inputSchema: {
175
+ type: string;
176
+ properties?: Record<string, any> | undefined;
177
+ required?: string[] | undefined;
178
+ items?: any;
179
+ minimum?: number | undefined;
180
+ maximum?: number | undefined;
181
+ minLength?: number | undefined;
182
+ maxLength?: number | undefined;
183
+ pattern?: string | undefined;
184
+ enum?: any[] | undefined;
185
+ };
186
+ response: {
187
+ contentType: "json" | "text" | "auto";
188
+ maxBytes: number;
189
+ jsonPath?: string | undefined;
190
+ successStatus?: number[] | undefined;
191
+ };
192
+ auth: {
193
+ kind: "none";
194
+ } | {
195
+ kind: "bearer";
196
+ credentialId: string;
197
+ } | {
198
+ kind: "basic";
199
+ credentialId: string;
200
+ } | {
201
+ kind: "oauth";
202
+ credentialId: string;
203
+ } | {
204
+ kind: "api-key";
205
+ in: "header" | "query";
206
+ name: string;
207
+ credentialId: string;
208
+ };
209
+ timeoutMs: number;
210
+ title?: string | undefined;
211
+ description?: string | undefined;
212
+ outputSchema?: {
213
+ type: string;
214
+ properties?: Record<string, any> | undefined;
215
+ required?: string[] | undefined;
216
+ items?: any;
217
+ minimum?: number | undefined;
218
+ maximum?: number | undefined;
219
+ minLength?: number | undefined;
220
+ maxLength?: number | undefined;
221
+ pattern?: string | undefined;
222
+ enum?: any[] | undefined;
223
+ } | undefined;
224
+ allowedHosts?: string[] | undefined;
225
+ }>>;
226
+ declare const MCP_PROXY_CONFIG: z.ZodObject<{
227
+ curatedServerId: z.ZodUUID;
228
+ url: z.ZodDefault<z.ZodString>;
229
+ transport: z.ZodDefault<z.ZodEnum<{
230
+ "streamable-http": "streamable-http";
231
+ sse: "sse";
232
+ }>>;
233
+ prefix: z.ZodOptional<z.ZodString>;
234
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
235
+ allowedResources: z.ZodOptional<z.ZodArray<z.ZodString>>;
236
+ allowedPrompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
237
+ auth: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
238
+ kind: z.ZodLiteral<"none">;
239
+ }, z.core.$strip>, z.ZodObject<{
240
+ kind: z.ZodLiteral<"bearer">;
241
+ credentialId: z.ZodUUID;
242
+ }, z.core.$strip>, z.ZodObject<{
243
+ kind: z.ZodLiteral<"header">;
244
+ name: z.ZodString;
245
+ credentialId: z.ZodUUID;
246
+ }, z.core.$strip>, z.ZodObject<{
247
+ kind: z.ZodLiteral<"oauth">;
248
+ credentialId: z.ZodUUID;
249
+ }, z.core.$strip>], "kind">>;
250
+ timeoutMs: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
251
+ }, z.core.$strip>;
252
+ declare const CUSTOM_CODE_CONFIG: z.ZodObject<{
253
+ activeVersionId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
254
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
255
+ allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
256
+ connections: z.ZodOptional<z.ZodArray<z.ZodString>>;
257
+ timeoutMs: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
258
+ resourceAccess: z.ZodDefault<z.ZodEnum<{
259
+ all: "all";
260
+ own: "own";
261
+ }>>;
262
+ }, z.core.$strip>;
263
+ declare const CUSTOM_CODE_TOOL: z.ZodObject<{
264
+ name: z.ZodString;
265
+ title: z.ZodOptional<z.ZodString>;
266
+ description: z.ZodOptional<z.ZodString>;
267
+ inputSchema: z.ZodDefault<z.ZodObject<{
268
+ type: z.ZodEnum<{
269
+ [x: string]: string;
270
+ }>;
271
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
272
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
273
+ items: z.ZodOptional<z.ZodAny>;
274
+ minimum: z.ZodOptional<z.ZodNumber>;
275
+ maximum: z.ZodOptional<z.ZodNumber>;
276
+ minLength: z.ZodOptional<z.ZodNumber>;
277
+ maxLength: z.ZodOptional<z.ZodNumber>;
278
+ pattern: z.ZodOptional<z.ZodString>;
279
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
280
+ }, z.core.$strip>>;
281
+ outputSchema: z.ZodOptional<z.ZodObject<{
282
+ type: z.ZodEnum<{
283
+ [x: string]: string;
284
+ }>;
285
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
286
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
287
+ items: z.ZodOptional<z.ZodAny>;
288
+ minimum: z.ZodOptional<z.ZodNumber>;
289
+ maximum: z.ZodOptional<z.ZodNumber>;
290
+ minLength: z.ZodOptional<z.ZodNumber>;
291
+ maxLength: z.ZodOptional<z.ZodNumber>;
292
+ pattern: z.ZodOptional<z.ZodString>;
293
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
294
+ }, z.core.$strip>>;
295
+ }, z.core.$strip>;
296
+ declare const CUSTOM_CODE_MANIFEST: z.ZodObject<{
297
+ tools: z.ZodArray<z.ZodObject<{
298
+ name: z.ZodString;
299
+ title: z.ZodOptional<z.ZodString>;
300
+ description: z.ZodOptional<z.ZodString>;
301
+ inputSchema: z.ZodDefault<z.ZodObject<{
302
+ type: z.ZodEnum<{
303
+ [x: string]: string;
304
+ }>;
305
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
306
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
307
+ items: z.ZodOptional<z.ZodAny>;
308
+ minimum: z.ZodOptional<z.ZodNumber>;
309
+ maximum: z.ZodOptional<z.ZodNumber>;
310
+ minLength: z.ZodOptional<z.ZodNumber>;
311
+ maxLength: z.ZodOptional<z.ZodNumber>;
312
+ pattern: z.ZodOptional<z.ZodString>;
313
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
314
+ }, z.core.$strip>>;
315
+ outputSchema: z.ZodOptional<z.ZodObject<{
316
+ type: z.ZodEnum<{
317
+ [x: string]: string;
318
+ }>;
319
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
320
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
321
+ items: z.ZodOptional<z.ZodAny>;
322
+ minimum: z.ZodOptional<z.ZodNumber>;
323
+ maximum: z.ZodOptional<z.ZodNumber>;
324
+ minLength: z.ZodOptional<z.ZodNumber>;
325
+ maxLength: z.ZodOptional<z.ZodNumber>;
326
+ pattern: z.ZodOptional<z.ZodString>;
327
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
328
+ }, z.core.$strip>>;
329
+ }, z.core.$strip>>;
330
+ }, z.core.$strip>;
331
+ declare const CUSTOM_CODE_BROKER_RESOURCE_CREATE: z.ZodObject<{
332
+ title: z.ZodString;
333
+ uri: z.ZodOptional<z.ZodString>;
334
+ description: z.ZodOptional<z.ZodString>;
335
+ mimeType: z.ZodOptional<z.ZodEnum<{
336
+ "text/plain": "text/plain";
337
+ "text/csv": "text/csv";
338
+ "text/html": "text/html";
339
+ "text/markdown": "text/markdown";
340
+ "image/png": "image/png";
341
+ "image/gif": "image/gif";
342
+ "image/jpeg": "image/jpeg";
343
+ "image/webp": "image/webp";
344
+ "image/svg+xml": "image/svg+xml";
345
+ "application/pdf": "application/pdf";
346
+ "application/json": "application/json";
347
+ "application/msword": "application/msword";
348
+ "application/vnd.ms-excel": "application/vnd.ms-excel";
349
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
350
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
351
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
352
+ "application/vnd.google-apps.document": "application/vnd.google-apps.document";
353
+ "application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
354
+ "application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
355
+ "application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
356
+ "application/xml": "application/xml";
357
+ "application/javascript": "application/javascript";
358
+ "application/typescript": "application/typescript";
359
+ "application/yaml": "application/yaml";
360
+ "application/x-yaml": "application/x-yaml";
361
+ "application/toml": "application/toml";
362
+ "application/x-sh": "application/x-sh";
363
+ "application/sql": "application/sql";
364
+ "application/graphql": "application/graphql";
365
+ "application/ld+json": "application/ld+json";
366
+ "application/xhtml+xml": "application/xhtml+xml";
367
+ "application/x-httpd-php": "application/x-httpd-php";
368
+ "application/x-python-code": "application/x-python-code";
369
+ "application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
370
+ "application/csv": "application/csv";
371
+ "application/x-ruby": "application/x-ruby";
372
+ "application/x-perl": "application/x-perl";
373
+ "application/octet-stream": "application/octet-stream";
374
+ }>>;
375
+ content: z.ZodOptional<z.ZodString>;
376
+ bytes: z.ZodOptional<z.ZodString>;
377
+ fileName: z.ZodOptional<z.ZodString>;
378
+ index: z.ZodDefault<z.ZodBoolean>;
379
+ }, z.core.$strip>;
380
+ declare const CUSTOM_CODE_SEND_FILE: z.ZodDiscriminatedUnion<[z.ZodObject<{
381
+ to: z.ZodLiteral<"gmail">;
382
+ uris: z.ZodArray<z.ZodString>;
383
+ message: z.ZodObject<{
384
+ to: z.ZodString;
385
+ subject: z.ZodOptional<z.ZodString>;
386
+ body: z.ZodDefault<z.ZodString>;
387
+ cc: z.ZodOptional<z.ZodString>;
388
+ bcc: z.ZodOptional<z.ZodString>;
389
+ contentType: z.ZodOptional<z.ZodEnum<{
390
+ "text/plain": "text/plain";
391
+ "text/html": "text/html";
392
+ }>>;
393
+ threadId: z.ZodOptional<z.ZodString>;
394
+ }, z.core.$strip>;
395
+ }, z.core.$strip>, z.ZodObject<{
396
+ to: z.ZodLiteral<"outlook">;
397
+ uris: z.ZodArray<z.ZodString>;
398
+ message: z.ZodObject<{
399
+ to: z.ZodString;
400
+ subject: z.ZodOptional<z.ZodString>;
401
+ body: z.ZodDefault<z.ZodString>;
402
+ cc: z.ZodOptional<z.ZodString>;
403
+ bcc: z.ZodOptional<z.ZodString>;
404
+ contentType: z.ZodOptional<z.ZodEnum<{
405
+ html: "html";
406
+ text: "text";
407
+ }>>;
408
+ }, z.core.$strip>;
409
+ }, z.core.$strip>, z.ZodObject<{
410
+ to: z.ZodLiteral<"slack">;
411
+ uris: z.ZodArray<z.ZodString>;
412
+ message: z.ZodObject<{
413
+ channel: z.ZodString;
414
+ title: z.ZodOptional<z.ZodString>;
415
+ initialComment: z.ZodOptional<z.ZodString>;
416
+ threadTs: z.ZodOptional<z.ZodString>;
417
+ }, z.core.$strip>;
418
+ }, z.core.$strip>], "to">;
419
+ export declare const Schema: {
420
+ CONTACT_MESSAGE: z.ZodObject<{
421
+ name: z.ZodString;
422
+ email: z.ZodPipe<z.ZodString, z.ZodEmail>;
423
+ message: z.ZodString;
424
+ company_url: z.ZodOptional<z.ZodString>;
425
+ }, z.core.$strip>;
426
+ ORGANIZATION_CREATE: z.ZodObject<{
427
+ userId: z.ZodUUID;
428
+ name: z.ZodString;
429
+ projectName: z.ZodString;
430
+ projectDescription: z.ZodString;
431
+ }, z.core.$strip>;
432
+ ORGANIZATION_CREATE_VIEW: z.ZodObject<{
433
+ name: z.ZodString;
434
+ projectName: z.ZodString;
435
+ projectDescription: z.ZodString;
436
+ }, z.core.$strip>;
437
+ ORGANIZATION_UPDATE: z.ZodObject<{
438
+ id: z.ZodUUID;
439
+ userId: z.ZodUUID;
440
+ name: z.ZodString;
441
+ }, z.core.$strip>;
442
+ ORGANIZATION_GET: z.ZodObject<{
443
+ id: z.ZodUUID;
444
+ userId: z.ZodUUID;
445
+ }, z.core.$strip>;
446
+ AUTH_USER_GET: z.ZodObject<{
447
+ userId: z.ZodUUID;
448
+ }, z.core.$strip>;
449
+ PROJECT_CREATE: z.ZodObject<{
450
+ userId: z.ZodUUID;
451
+ organizationId: z.ZodUUID;
452
+ name: z.ZodString;
453
+ description: z.ZodOptional<z.ZodString>;
454
+ }, z.core.$strip>;
455
+ PROJECT_CREATE_VIEW: z.ZodObject<{
456
+ name: z.ZodString;
457
+ description: z.ZodOptional<z.ZodString>;
458
+ }, z.core.$strip>;
459
+ PROJECT_UPDATE: z.ZodObject<{
460
+ id: z.ZodUUID;
461
+ userId: z.ZodUUID;
462
+ organizationId: z.ZodUUID;
463
+ name: z.ZodString;
464
+ description: z.ZodOptional<z.ZodString>;
465
+ }, z.core.$strip>;
466
+ PROJECT_GET: z.ZodObject<{
467
+ id: z.ZodUUID;
468
+ organizationId: z.ZodUUID;
469
+ userId: z.ZodUUID;
470
+ }, z.core.$strip>;
471
+ ORGANIZATION_INVITATION_CREATE: z.ZodObject<{
472
+ email: z.ZodPipe<z.ZodString, z.ZodEmail>;
473
+ userId: z.ZodUUID;
474
+ organizationId: z.ZodUUID;
475
+ }, z.core.$strip>;
476
+ ORGANIZATION_INVITATION_CREATE_VIEW: z.ZodObject<{
477
+ email: z.ZodPipe<z.ZodString, z.ZodEmail>;
478
+ }, z.core.$strip>;
479
+ ORGANIZATION_INVITATION_LIST: z.ZodObject<{
480
+ userId: z.ZodUUID;
481
+ organizationId: z.ZodUUID;
482
+ }, z.core.$strip>;
483
+ ORGANIZATION_INVITATION_REMOVE: z.ZodObject<{
484
+ invitationId: z.ZodUUID;
485
+ userId: z.ZodUUID;
486
+ organizationId: z.ZodUUID;
487
+ }, z.core.$strip>;
488
+ PROJECT_INVITATION_CREATE: z.ZodObject<{
489
+ email: z.ZodPipe<z.ZodString, z.ZodEmail>;
490
+ userId: z.ZodUUID;
491
+ organizationId: z.ZodUUID;
492
+ projectId: z.ZodUUID;
493
+ }, z.core.$strip>;
494
+ PROJECT_INVITATION_CREATE_VIEW: z.ZodObject<{
495
+ email: z.ZodPipe<z.ZodString, z.ZodEmail>;
496
+ }, z.core.$strip>;
497
+ PROJECT_INVITATION_LIST: z.ZodObject<{
498
+ userId: z.ZodUUID;
499
+ organizationId: z.ZodUUID;
500
+ projectId: z.ZodUUID;
501
+ }, z.core.$strip>;
502
+ PROJECT_INVITATION_REMOVE: z.ZodObject<{
503
+ invitationId: z.ZodUUID;
504
+ userId: z.ZodUUID;
505
+ organizationId: z.ZodUUID;
506
+ projectId: z.ZodUUID;
507
+ }, z.core.$strip>;
508
+ INVITATION_RESPOND: z.ZodObject<{
509
+ invitationId: z.ZodUUID;
510
+ userId: z.ZodUUID;
511
+ action: z.ZodEnum<{
512
+ accept: "accept";
513
+ decline: "decline";
514
+ }>;
515
+ }, z.core.$strip>;
516
+ INVITATION_GET_BY_TOKEN: z.ZodObject<{
517
+ token: z.ZodString;
518
+ }, z.core.$strip>;
519
+ ORGANIZATION_MEMBER_LIST: z.ZodObject<{
520
+ userId: z.ZodUUID;
521
+ organizationId: z.ZodUUID;
522
+ }, z.core.$strip>;
523
+ ORGANIZATION_MEMBER_REMOVE: z.ZodObject<{
524
+ memberUserId: z.ZodUUID;
525
+ userId: z.ZodUUID;
526
+ organizationId: z.ZodUUID;
527
+ }, z.core.$strip>;
528
+ PROJECT_MEMBER_LIST: z.ZodObject<{
529
+ userId: z.ZodUUID;
530
+ organizationId: z.ZodUUID;
531
+ projectId: z.ZodUUID;
532
+ }, z.core.$strip>;
533
+ PROJECT_MEMBER_REMOVE: z.ZodObject<{
534
+ memberUserId: z.ZodUUID;
535
+ userId: z.ZodUUID;
536
+ organizationId: z.ZodUUID;
537
+ projectId: z.ZodUUID;
538
+ }, z.core.$strip>;
539
+ ARTIFACT_CREATE_PROMPT: z.ZodObject<{
540
+ title: z.ZodString;
541
+ description: z.ZodOptional<z.ZodString>;
542
+ messages: z.ZodArray<z.ZodObject<{
543
+ role: z.ZodEnum<{
544
+ user: "user";
545
+ assistant: "assistant";
546
+ }>;
547
+ content: z.ZodString;
548
+ }, z.core.$strip>>;
549
+ schema: z.ZodObject<{
550
+ type: z.ZodEnum<{
551
+ [x: string]: string;
552
+ }>;
553
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
554
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
555
+ items: z.ZodOptional<z.ZodAny>;
556
+ minimum: z.ZodOptional<z.ZodNumber>;
557
+ maximum: z.ZodOptional<z.ZodNumber>;
558
+ minLength: z.ZodOptional<z.ZodNumber>;
559
+ maxLength: z.ZodOptional<z.ZodNumber>;
560
+ pattern: z.ZodOptional<z.ZodString>;
561
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
562
+ }, z.core.$strip>;
563
+ projectId: z.ZodUUID;
564
+ userId: z.ZodUUID;
565
+ organizationId: z.ZodUUID;
566
+ }, z.core.$strip>;
567
+ ARTIFACT_CREATE_PROMPT_VIEW: z.ZodObject<{
568
+ description: z.ZodOptional<z.ZodString>;
569
+ title: z.ZodString;
570
+ schema: z.ZodObject<{
571
+ type: z.ZodEnum<{
572
+ [x: string]: string;
573
+ }>;
574
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
575
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
576
+ items: z.ZodOptional<z.ZodAny>;
577
+ minimum: z.ZodOptional<z.ZodNumber>;
578
+ maximum: z.ZodOptional<z.ZodNumber>;
579
+ minLength: z.ZodOptional<z.ZodNumber>;
580
+ maxLength: z.ZodOptional<z.ZodNumber>;
581
+ pattern: z.ZodOptional<z.ZodString>;
582
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
583
+ }, z.core.$strip>;
584
+ messages: z.ZodArray<z.ZodObject<{
585
+ role: z.ZodEnum<{
586
+ user: "user";
587
+ assistant: "assistant";
588
+ }>;
589
+ content: z.ZodString;
590
+ }, z.core.$strip>>;
591
+ }, z.core.$strip>;
592
+ ARTIFACT_UPDATE_PROMPT: z.ZodObject<{
593
+ promptId: z.ZodUUID;
594
+ title: z.ZodString;
595
+ description: z.ZodOptional<z.ZodString>;
596
+ messages: z.ZodArray<z.ZodObject<{
597
+ role: z.ZodEnum<{
598
+ user: "user";
599
+ assistant: "assistant";
600
+ }>;
601
+ content: z.ZodString;
602
+ }, z.core.$strip>>;
603
+ schema: z.ZodObject<{
604
+ type: z.ZodEnum<{
605
+ [x: string]: string;
606
+ }>;
607
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
608
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
609
+ items: z.ZodOptional<z.ZodAny>;
610
+ minimum: z.ZodOptional<z.ZodNumber>;
611
+ maximum: z.ZodOptional<z.ZodNumber>;
612
+ minLength: z.ZodOptional<z.ZodNumber>;
613
+ maxLength: z.ZodOptional<z.ZodNumber>;
614
+ pattern: z.ZodOptional<z.ZodString>;
615
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
616
+ }, z.core.$strip>;
617
+ projectId: z.ZodUUID;
618
+ userId: z.ZodUUID;
619
+ organizationId: z.ZodUUID;
620
+ }, z.core.$strip>;
621
+ ARTIFACT_UPDATE_PROMPT_VIEW: z.ZodObject<{
622
+ description: z.ZodOptional<z.ZodString>;
623
+ title: z.ZodString;
624
+ schema: z.ZodObject<{
625
+ type: z.ZodEnum<{
626
+ [x: string]: string;
627
+ }>;
628
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
629
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
630
+ items: z.ZodOptional<z.ZodAny>;
631
+ minimum: z.ZodOptional<z.ZodNumber>;
632
+ maximum: z.ZodOptional<z.ZodNumber>;
633
+ minLength: z.ZodOptional<z.ZodNumber>;
634
+ maxLength: z.ZodOptional<z.ZodNumber>;
635
+ pattern: z.ZodOptional<z.ZodString>;
636
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
637
+ }, z.core.$strip>;
638
+ messages: z.ZodArray<z.ZodObject<{
639
+ role: z.ZodEnum<{
640
+ user: "user";
641
+ assistant: "assistant";
642
+ }>;
643
+ content: z.ZodString;
644
+ }, z.core.$strip>>;
645
+ }, z.core.$strip>;
646
+ ARTIFACT_GET_PROMPT: z.ZodObject<{
647
+ projectId: z.ZodUUID;
648
+ userId: z.ZodUUID;
649
+ organizationId: z.ZodUUID;
650
+ }, z.core.$strip>;
651
+ ARTIFACT_REMOVE_PROMPT: z.ZodObject<{
652
+ promptId: z.ZodUUID;
653
+ projectId: z.ZodUUID;
654
+ userId: z.ZodUUID;
655
+ organizationId: z.ZodUUID;
656
+ }, z.core.$strip>;
657
+ ARTIFACT_CREATE_RESOURCE: z.ZodObject<{
658
+ title: z.ZodString;
659
+ uri: z.ZodString;
660
+ type: z.ZodDefault<z.ZodEnum<{
661
+ static: "static";
662
+ template: "template";
663
+ }>>;
664
+ sourceType: z.ZodDefault<z.ZodEnum<{
665
+ FILE: "FILE";
666
+ WEBSITE: "WEBSITE";
667
+ GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
668
+ ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
669
+ CUSTOM_CODE: "CUSTOM_CODE";
670
+ }>>;
671
+ description: z.ZodOptional<z.ZodString>;
672
+ mimeType: z.ZodEnum<{
673
+ "text/plain": "text/plain";
674
+ "text/csv": "text/csv";
675
+ "text/html": "text/html";
676
+ "text/markdown": "text/markdown";
677
+ "image/png": "image/png";
678
+ "image/gif": "image/gif";
679
+ "image/jpeg": "image/jpeg";
680
+ "image/webp": "image/webp";
681
+ "image/svg+xml": "image/svg+xml";
682
+ "application/pdf": "application/pdf";
683
+ "application/json": "application/json";
684
+ "application/msword": "application/msword";
685
+ "application/vnd.ms-excel": "application/vnd.ms-excel";
686
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
687
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
688
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
689
+ "application/vnd.google-apps.document": "application/vnd.google-apps.document";
690
+ "application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
691
+ "application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
692
+ "application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
693
+ "application/xml": "application/xml";
694
+ "application/javascript": "application/javascript";
695
+ "application/typescript": "application/typescript";
696
+ "application/yaml": "application/yaml";
697
+ "application/x-yaml": "application/x-yaml";
698
+ "application/toml": "application/toml";
699
+ "application/x-sh": "application/x-sh";
700
+ "application/sql": "application/sql";
701
+ "application/graphql": "application/graphql";
702
+ "application/ld+json": "application/ld+json";
703
+ "application/xhtml+xml": "application/xhtml+xml";
704
+ "application/x-httpd-php": "application/x-httpd-php";
705
+ "application/x-python-code": "application/x-python-code";
706
+ "application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
707
+ "application/csv": "application/csv";
708
+ "application/x-ruby": "application/x-ruby";
709
+ "application/x-perl": "application/x-perl";
710
+ "application/octet-stream": "application/octet-stream";
711
+ }>;
712
+ content: z.ZodOptional<z.ZodString>;
713
+ size: z.ZodOptional<z.ZodNumber>;
714
+ encoding: z.ZodOptional<z.ZodString>;
715
+ fileKey: z.ZodOptional<z.ZodString>;
716
+ fileName: z.ZodOptional<z.ZodString>;
717
+ annotations: z.ZodOptional<z.ZodObject<{
718
+ audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
719
+ user: "user";
720
+ assistant: "assistant";
721
+ }>>>;
722
+ priority: z.ZodOptional<z.ZodNumber>;
723
+ lastModified: z.ZodOptional<z.ZodString>;
724
+ }, z.core.$strip>>;
725
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
726
+ src: z.ZodString;
727
+ mimeType: z.ZodOptional<z.ZodString>;
728
+ sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
729
+ theme: z.ZodOptional<z.ZodEnum<{
730
+ [x: string]: string;
731
+ }>>;
732
+ }, z.core.$strip>>>;
733
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
734
+ crawlConfig: z.ZodOptional<z.ZodObject<{
735
+ maxPages: z.ZodDefault<z.ZodNumber>;
736
+ maxDepth: z.ZodDefault<z.ZodNumber>;
737
+ }, z.core.$strip>>;
738
+ projectId: z.ZodUUID;
739
+ userId: z.ZodUUID;
740
+ organizationId: z.ZodUUID;
741
+ }, z.core.$strip>;
742
+ ARTIFACT_CREATE_RESOURCE_VIEW: z.ZodObject<{
743
+ content: z.ZodOptional<z.ZodString>;
744
+ type: z.ZodDefault<z.ZodEnum<{
745
+ static: "static";
746
+ template: "template";
747
+ }>>;
748
+ description: z.ZodOptional<z.ZodString>;
749
+ title: z.ZodString;
750
+ uri: z.ZodString;
751
+ crawlConfig: z.ZodOptional<z.ZodObject<{
752
+ maxPages: z.ZodDefault<z.ZodNumber>;
753
+ maxDepth: z.ZodDefault<z.ZodNumber>;
754
+ }, z.core.$strip>>;
755
+ mimeType: z.ZodEnum<{
756
+ "text/plain": "text/plain";
757
+ "text/csv": "text/csv";
758
+ "text/html": "text/html";
759
+ "text/markdown": "text/markdown";
760
+ "image/png": "image/png";
761
+ "image/gif": "image/gif";
762
+ "image/jpeg": "image/jpeg";
763
+ "image/webp": "image/webp";
764
+ "image/svg+xml": "image/svg+xml";
765
+ "application/pdf": "application/pdf";
766
+ "application/json": "application/json";
767
+ "application/msword": "application/msword";
768
+ "application/vnd.ms-excel": "application/vnd.ms-excel";
769
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
770
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
771
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
772
+ "application/vnd.google-apps.document": "application/vnd.google-apps.document";
773
+ "application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
774
+ "application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
775
+ "application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
776
+ "application/xml": "application/xml";
777
+ "application/javascript": "application/javascript";
778
+ "application/typescript": "application/typescript";
779
+ "application/yaml": "application/yaml";
780
+ "application/x-yaml": "application/x-yaml";
781
+ "application/toml": "application/toml";
782
+ "application/x-sh": "application/x-sh";
783
+ "application/sql": "application/sql";
784
+ "application/graphql": "application/graphql";
785
+ "application/ld+json": "application/ld+json";
786
+ "application/xhtml+xml": "application/xhtml+xml";
787
+ "application/x-httpd-php": "application/x-httpd-php";
788
+ "application/x-python-code": "application/x-python-code";
789
+ "application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
790
+ "application/csv": "application/csv";
791
+ "application/x-ruby": "application/x-ruby";
792
+ "application/x-perl": "application/x-perl";
793
+ "application/octet-stream": "application/octet-stream";
794
+ }>;
795
+ size: z.ZodOptional<z.ZodNumber>;
796
+ sourceType: z.ZodDefault<z.ZodEnum<{
797
+ FILE: "FILE";
798
+ WEBSITE: "WEBSITE";
799
+ GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
800
+ ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
801
+ CUSTOM_CODE: "CUSTOM_CODE";
802
+ }>>;
803
+ encoding: z.ZodOptional<z.ZodString>;
804
+ fileKey: z.ZodOptional<z.ZodString>;
805
+ fileName: z.ZodOptional<z.ZodString>;
806
+ annotations: z.ZodOptional<z.ZodObject<{
807
+ audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
808
+ user: "user";
809
+ assistant: "assistant";
810
+ }>>>;
811
+ priority: z.ZodOptional<z.ZodNumber>;
812
+ lastModified: z.ZodOptional<z.ZodString>;
813
+ }, z.core.$strip>>;
814
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
815
+ src: z.ZodString;
816
+ mimeType: z.ZodOptional<z.ZodString>;
817
+ sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
818
+ theme: z.ZodOptional<z.ZodEnum<{
819
+ [x: string]: string;
820
+ }>>;
821
+ }, z.core.$strip>>>;
822
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
823
+ }, z.core.$strip>;
824
+ ARTIFACT_CREATE_WEBSITE: z.ZodObject<{
825
+ title: z.ZodString;
826
+ uri: z.ZodURL;
827
+ description: z.ZodOptional<z.ZodString>;
828
+ crawlConfig: z.ZodObject<{
829
+ maxPages: z.ZodNumber;
830
+ maxDepth: z.ZodNumber;
831
+ }, z.core.$strip>;
832
+ projectId: z.ZodUUID;
833
+ userId: z.ZodUUID;
834
+ organizationId: z.ZodUUID;
835
+ }, z.core.$strip>;
836
+ ARTIFACT_CREATE_WEBSITE_VIEW: z.ZodObject<{
837
+ title: z.ZodString;
838
+ uri: z.ZodURL;
839
+ description: z.ZodOptional<z.ZodString>;
840
+ maxPages: z.ZodNumber;
841
+ maxDepth: z.ZodNumber;
842
+ }, z.core.$strip>;
843
+ ARTIFACT_UPDATE_WEBSITE: z.ZodObject<{
844
+ title: z.ZodString;
845
+ description: z.ZodOptional<z.ZodString>;
846
+ resourceId: z.ZodUUID;
847
+ projectId: z.ZodUUID;
848
+ userId: z.ZodUUID;
849
+ organizationId: z.ZodUUID;
850
+ }, z.core.$strip>;
851
+ ARTIFACT_UPDATE_WEBSITE_VIEW: z.ZodObject<{
852
+ title: z.ZodString;
853
+ description: z.ZodOptional<z.ZodString>;
854
+ }, z.core.$strip>;
855
+ ARTIFACT_CREATE_GOOGLE_DRIVE: z.ZodObject<{
856
+ items: z.ZodArray<z.ZodObject<{
857
+ fileId: z.ZodString;
858
+ name: z.ZodString;
859
+ mimeType: z.ZodString;
860
+ isFolder: z.ZodDefault<z.ZodBoolean>;
861
+ iconLink: z.ZodOptional<z.ZodString>;
862
+ webViewLink: z.ZodOptional<z.ZodString>;
863
+ modifiedTime: z.ZodOptional<z.ZodString>;
864
+ size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
865
+ }, z.core.$strip>>;
866
+ projectId: z.ZodUUID;
867
+ userId: z.ZodUUID;
868
+ organizationId: z.ZodUUID;
869
+ }, z.core.$strip>;
870
+ ARTIFACT_CREATE_GOOGLE_DRIVE_VIEW: z.ZodObject<{
871
+ items: z.ZodArray<z.ZodObject<{
872
+ fileId: z.ZodString;
873
+ name: z.ZodString;
874
+ mimeType: z.ZodString;
875
+ isFolder: z.ZodDefault<z.ZodBoolean>;
876
+ iconLink: z.ZodOptional<z.ZodString>;
877
+ webViewLink: z.ZodOptional<z.ZodString>;
878
+ modifiedTime: z.ZodOptional<z.ZodString>;
879
+ size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
880
+ }, z.core.$strip>>;
881
+ }, z.core.$strip>;
882
+ ARTIFACT_SYNC_GOOGLE_DRIVE: z.ZodObject<{
883
+ resourceId: z.ZodUUID;
884
+ projectId: z.ZodUUID;
885
+ userId: z.ZodUUID;
886
+ organizationId: z.ZodUUID;
887
+ }, z.core.$strip>;
888
+ ARTIFACT_CREATE_ONE_DRIVE: z.ZodObject<{
889
+ items: z.ZodArray<z.ZodObject<{
890
+ itemId: z.ZodString;
891
+ driveId: z.ZodOptional<z.ZodString>;
892
+ name: z.ZodString;
893
+ mimeType: z.ZodOptional<z.ZodString>;
894
+ isFolder: z.ZodDefault<z.ZodBoolean>;
895
+ webUrl: z.ZodOptional<z.ZodString>;
896
+ lastModifiedDateTime: z.ZodOptional<z.ZodString>;
897
+ size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
898
+ }, z.core.$strip>>;
899
+ projectId: z.ZodUUID;
900
+ userId: z.ZodUUID;
901
+ organizationId: z.ZodUUID;
902
+ }, z.core.$strip>;
903
+ ARTIFACT_CREATE_ONE_DRIVE_VIEW: z.ZodObject<{
904
+ items: z.ZodArray<z.ZodObject<{
905
+ itemId: z.ZodString;
906
+ driveId: z.ZodOptional<z.ZodString>;
907
+ name: z.ZodString;
908
+ mimeType: z.ZodOptional<z.ZodString>;
909
+ isFolder: z.ZodDefault<z.ZodBoolean>;
910
+ webUrl: z.ZodOptional<z.ZodString>;
911
+ lastModifiedDateTime: z.ZodOptional<z.ZodString>;
912
+ size: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
913
+ }, z.core.$strip>>;
914
+ }, z.core.$strip>;
915
+ ARTIFACT_SYNC_ONE_DRIVE: z.ZodObject<{
916
+ resourceId: z.ZodUUID;
917
+ projectId: z.ZodUUID;
918
+ userId: z.ZodUUID;
919
+ organizationId: z.ZodUUID;
920
+ }, z.core.$strip>;
921
+ ARTIFACT_UPDATE_RESOURCE: z.ZodObject<{
922
+ resourceId: z.ZodUUID;
923
+ title: z.ZodString;
924
+ uri: z.ZodString;
925
+ type: z.ZodDefault<z.ZodEnum<{
926
+ static: "static";
927
+ template: "template";
928
+ }>>;
929
+ sourceType: z.ZodDefault<z.ZodEnum<{
930
+ FILE: "FILE";
931
+ WEBSITE: "WEBSITE";
932
+ GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
933
+ ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
934
+ CUSTOM_CODE: "CUSTOM_CODE";
935
+ }>>;
936
+ description: z.ZodOptional<z.ZodString>;
937
+ mimeType: z.ZodEnum<{
938
+ "text/plain": "text/plain";
939
+ "text/csv": "text/csv";
940
+ "text/html": "text/html";
941
+ "text/markdown": "text/markdown";
942
+ "image/png": "image/png";
943
+ "image/gif": "image/gif";
944
+ "image/jpeg": "image/jpeg";
945
+ "image/webp": "image/webp";
946
+ "image/svg+xml": "image/svg+xml";
947
+ "application/pdf": "application/pdf";
948
+ "application/json": "application/json";
949
+ "application/msword": "application/msword";
950
+ "application/vnd.ms-excel": "application/vnd.ms-excel";
951
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
952
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
953
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
954
+ "application/vnd.google-apps.document": "application/vnd.google-apps.document";
955
+ "application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
956
+ "application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
957
+ "application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
958
+ "application/xml": "application/xml";
959
+ "application/javascript": "application/javascript";
960
+ "application/typescript": "application/typescript";
961
+ "application/yaml": "application/yaml";
962
+ "application/x-yaml": "application/x-yaml";
963
+ "application/toml": "application/toml";
964
+ "application/x-sh": "application/x-sh";
965
+ "application/sql": "application/sql";
966
+ "application/graphql": "application/graphql";
967
+ "application/ld+json": "application/ld+json";
968
+ "application/xhtml+xml": "application/xhtml+xml";
969
+ "application/x-httpd-php": "application/x-httpd-php";
970
+ "application/x-python-code": "application/x-python-code";
971
+ "application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
972
+ "application/csv": "application/csv";
973
+ "application/x-ruby": "application/x-ruby";
974
+ "application/x-perl": "application/x-perl";
975
+ "application/octet-stream": "application/octet-stream";
976
+ }>;
977
+ content: z.ZodOptional<z.ZodString>;
978
+ size: z.ZodOptional<z.ZodNumber>;
979
+ encoding: z.ZodOptional<z.ZodString>;
980
+ fileKey: z.ZodOptional<z.ZodString>;
981
+ fileName: z.ZodOptional<z.ZodString>;
982
+ annotations: z.ZodOptional<z.ZodObject<{
983
+ audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
984
+ user: "user";
985
+ assistant: "assistant";
986
+ }>>>;
987
+ priority: z.ZodOptional<z.ZodNumber>;
988
+ lastModified: z.ZodOptional<z.ZodString>;
989
+ }, z.core.$strip>>;
990
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
991
+ src: z.ZodString;
992
+ mimeType: z.ZodOptional<z.ZodString>;
993
+ sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
994
+ theme: z.ZodOptional<z.ZodEnum<{
995
+ [x: string]: string;
996
+ }>>;
997
+ }, z.core.$strip>>>;
998
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
999
+ projectId: z.ZodUUID;
1000
+ userId: z.ZodUUID;
1001
+ organizationId: z.ZodUUID;
1002
+ }, z.core.$strip>;
1003
+ ARTIFACT_UPDATE_RESOURCE_VIEW: z.ZodObject<{
1004
+ content: z.ZodOptional<z.ZodString>;
1005
+ type: z.ZodDefault<z.ZodEnum<{
1006
+ static: "static";
1007
+ template: "template";
1008
+ }>>;
1009
+ description: z.ZodOptional<z.ZodString>;
1010
+ title: z.ZodString;
1011
+ uri: z.ZodString;
1012
+ mimeType: z.ZodEnum<{
1013
+ "text/plain": "text/plain";
1014
+ "text/csv": "text/csv";
1015
+ "text/html": "text/html";
1016
+ "text/markdown": "text/markdown";
1017
+ "image/png": "image/png";
1018
+ "image/gif": "image/gif";
1019
+ "image/jpeg": "image/jpeg";
1020
+ "image/webp": "image/webp";
1021
+ "image/svg+xml": "image/svg+xml";
1022
+ "application/pdf": "application/pdf";
1023
+ "application/json": "application/json";
1024
+ "application/msword": "application/msword";
1025
+ "application/vnd.ms-excel": "application/vnd.ms-excel";
1026
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
1027
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
1028
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
1029
+ "application/vnd.google-apps.document": "application/vnd.google-apps.document";
1030
+ "application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
1031
+ "application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
1032
+ "application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
1033
+ "application/xml": "application/xml";
1034
+ "application/javascript": "application/javascript";
1035
+ "application/typescript": "application/typescript";
1036
+ "application/yaml": "application/yaml";
1037
+ "application/x-yaml": "application/x-yaml";
1038
+ "application/toml": "application/toml";
1039
+ "application/x-sh": "application/x-sh";
1040
+ "application/sql": "application/sql";
1041
+ "application/graphql": "application/graphql";
1042
+ "application/ld+json": "application/ld+json";
1043
+ "application/xhtml+xml": "application/xhtml+xml";
1044
+ "application/x-httpd-php": "application/x-httpd-php";
1045
+ "application/x-python-code": "application/x-python-code";
1046
+ "application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
1047
+ "application/csv": "application/csv";
1048
+ "application/x-ruby": "application/x-ruby";
1049
+ "application/x-perl": "application/x-perl";
1050
+ "application/octet-stream": "application/octet-stream";
1051
+ }>;
1052
+ size: z.ZodOptional<z.ZodNumber>;
1053
+ sourceType: z.ZodDefault<z.ZodEnum<{
1054
+ FILE: "FILE";
1055
+ WEBSITE: "WEBSITE";
1056
+ GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
1057
+ ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
1058
+ CUSTOM_CODE: "CUSTOM_CODE";
1059
+ }>>;
1060
+ encoding: z.ZodOptional<z.ZodString>;
1061
+ fileKey: z.ZodOptional<z.ZodString>;
1062
+ fileName: z.ZodOptional<z.ZodString>;
1063
+ annotations: z.ZodOptional<z.ZodObject<{
1064
+ audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1065
+ user: "user";
1066
+ assistant: "assistant";
1067
+ }>>>;
1068
+ priority: z.ZodOptional<z.ZodNumber>;
1069
+ lastModified: z.ZodOptional<z.ZodString>;
1070
+ }, z.core.$strip>>;
1071
+ icons: z.ZodOptional<z.ZodArray<z.ZodObject<{
1072
+ src: z.ZodString;
1073
+ mimeType: z.ZodOptional<z.ZodString>;
1074
+ sizes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1075
+ theme: z.ZodOptional<z.ZodEnum<{
1076
+ [x: string]: string;
1077
+ }>>;
1078
+ }, z.core.$strip>>>;
1079
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1080
+ }, z.core.$strip>;
1081
+ ARTIFACT_GET_RESOURCE: z.ZodObject<{
1082
+ projectId: z.ZodUUID;
1083
+ userId: z.ZodUUID;
1084
+ organizationId: z.ZodUUID;
1085
+ }, z.core.$strip>;
1086
+ ARTIFACT_GET_RESOURCE_BY_ID: z.ZodObject<{
1087
+ resourceId: z.ZodUUID;
1088
+ projectId: z.ZodUUID;
1089
+ userId: z.ZodUUID;
1090
+ organizationId: z.ZodUUID;
1091
+ }, z.core.$strip>;
1092
+ ARTIFACT_REMOVE_RESOURCE: z.ZodObject<{
1093
+ resourceId: z.ZodUUID;
1094
+ projectId: z.ZodUUID;
1095
+ userId: z.ZodUUID;
1096
+ organizationId: z.ZodUUID;
1097
+ }, z.core.$strip>;
1098
+ ARTIFACT_UPLOAD_RESOURCE_FILE: z.ZodObject<{
1099
+ resourceId: z.ZodUUID;
1100
+ projectId: z.ZodUUID;
1101
+ userId: z.ZodUUID;
1102
+ organizationId: z.ZodUUID;
1103
+ }, z.core.$strip>;
1104
+ ARTIFACT_DOWNLOAD_RESOURCE_FILE: z.ZodObject<{
1105
+ resourceId: z.ZodUUID;
1106
+ projectId: z.ZodUUID;
1107
+ userId: z.ZodUUID;
1108
+ organizationId: z.ZodUUID;
1109
+ }, z.core.$strip>;
1110
+ ARTIFACT_CREATE_TOOL: z.ZodObject<{
1111
+ toolKey: z.ZodString;
1112
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1113
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1114
+ projectId: z.ZodUUID;
1115
+ userId: z.ZodUUID;
1116
+ organizationId: z.ZodUUID;
1117
+ }, z.core.$strip>;
1118
+ ARTIFACT_UPDATE_TOOL: z.ZodObject<{
1119
+ toolId: z.ZodUUID;
1120
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1121
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1122
+ projectId: z.ZodUUID;
1123
+ userId: z.ZodUUID;
1124
+ organizationId: z.ZodUUID;
1125
+ }, z.core.$strip>;
1126
+ ARTIFACT_GET_TOOL: z.ZodObject<{
1127
+ projectId: z.ZodUUID;
1128
+ userId: z.ZodUUID;
1129
+ organizationId: z.ZodUUID;
1130
+ }, z.core.$strip>;
1131
+ ARTIFACT_REMOVE_TOOL: z.ZodObject<{
1132
+ toolId: z.ZodUUID;
1133
+ projectId: z.ZodUUID;
1134
+ userId: z.ZodUUID;
1135
+ organizationId: z.ZodUUID;
1136
+ }, z.core.$strip>;
1137
+ ARTIFACT_SET_TOOL_ENABLED: z.ZodObject<{
1138
+ toolId: z.ZodUUID;
1139
+ enabled: z.ZodBoolean;
1140
+ projectId: z.ZodUUID;
1141
+ userId: z.ZodUUID;
1142
+ organizationId: z.ZodUUID;
1143
+ }, z.core.$strip>;
1144
+ ARTIFACT_GET_CREDENTIAL: z.ZodObject<{
1145
+ projectId: z.ZodUUID;
1146
+ userId: z.ZodUUID;
1147
+ organizationId: z.ZodUUID;
1148
+ }, z.core.$strip>;
1149
+ ARTIFACT_LIST_CONNECTIONS: z.ZodObject<{
1150
+ projectId: z.ZodUUID;
1151
+ userId: z.ZodUUID;
1152
+ organizationId: z.ZodUUID;
1153
+ }, z.core.$strip>;
1154
+ ARTIFACT_REMOVE_CREDENTIAL: z.ZodObject<{
1155
+ credentialId: z.ZodUUID;
1156
+ projectId: z.ZodUUID;
1157
+ userId: z.ZodUUID;
1158
+ organizationId: z.ZodUUID;
1159
+ }, z.core.$strip>;
1160
+ ARTIFACT_CREATE_CREDENTIAL: z.ZodObject<{
1161
+ provider: z.ZodEnum<{
1162
+ "custom-code": "custom-code";
1163
+ calcom: "calcom";
1164
+ tavily: "tavily";
1165
+ "http-endpoint": "http-endpoint";
1166
+ "mcp-proxy": "mcp-proxy";
1167
+ }>;
1168
+ apiKey: z.ZodString;
1169
+ label: z.ZodOptional<z.ZodString>;
1170
+ projectId: z.ZodUUID;
1171
+ userId: z.ZodUUID;
1172
+ organizationId: z.ZodUUID;
1173
+ }, z.core.$strip>;
1174
+ ARTIFACT_GET: z.ZodObject<{
1175
+ projectId: z.ZodUUID;
1176
+ userId: z.ZodUUID;
1177
+ organizationId: z.ZodUUID;
1178
+ }, z.core.$strip>;
1179
+ ARTIFACT_UPDATE_SLUG: z.ZodObject<{
1180
+ slug: z.ZodString;
1181
+ projectId: z.ZodUUID;
1182
+ userId: z.ZodUUID;
1183
+ organizationId: z.ZodUUID;
1184
+ }, z.core.$strip>;
1185
+ ARTIFACT_UPDATE_SLUG_VIEW: z.ZodObject<{
1186
+ slug: z.ZodString;
1187
+ }, z.core.$strip>;
1188
+ ORGANIZATION_LIST_LLM: z.ZodObject<{
1189
+ userId: z.ZodUUID;
1190
+ organizationId: z.ZodUUID;
1191
+ }, z.core.$strip>;
1192
+ ORGANIZATION_CREATE_LLM: z.ZodObject<{
1193
+ name: z.ZodString;
1194
+ provider: z.ZodEnum<{
1195
+ google: "google";
1196
+ anthropic: "anthropic";
1197
+ openai: "openai";
1198
+ "openai-compatible": "openai-compatible";
1199
+ }>;
1200
+ model: z.ZodString;
1201
+ baseUrl: z.ZodUnion<[z.ZodOptional<z.ZodURL>, z.ZodLiteral<"">]>;
1202
+ apiKey: z.ZodString;
1203
+ systemPrompt: z.ZodOptional<z.ZodString>;
1204
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1205
+ userId: z.ZodUUID;
1206
+ organizationId: z.ZodUUID;
1207
+ }, z.core.$strip>;
1208
+ ORGANIZATION_CREATE_LLM_VIEW: z.ZodObject<{
1209
+ name: z.ZodString;
1210
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1211
+ provider: z.ZodEnum<{
1212
+ google: "google";
1213
+ anthropic: "anthropic";
1214
+ openai: "openai";
1215
+ "openai-compatible": "openai-compatible";
1216
+ }>;
1217
+ apiKey: z.ZodString;
1218
+ model: z.ZodString;
1219
+ baseUrl: z.ZodUnion<[z.ZodOptional<z.ZodURL>, z.ZodLiteral<"">]>;
1220
+ systemPrompt: z.ZodOptional<z.ZodString>;
1221
+ }, z.core.$strip>;
1222
+ ORGANIZATION_UPDATE_LLM: z.ZodObject<{
1223
+ llmId: z.ZodUUID;
1224
+ name: z.ZodOptional<z.ZodString>;
1225
+ provider: z.ZodOptional<z.ZodEnum<{
1226
+ google: "google";
1227
+ anthropic: "anthropic";
1228
+ openai: "openai";
1229
+ "openai-compatible": "openai-compatible";
1230
+ }>>;
1231
+ model: z.ZodOptional<z.ZodString>;
1232
+ baseUrl: z.ZodNullable<z.ZodUnion<[z.ZodOptional<z.ZodURL>, z.ZodLiteral<"">]>>;
1233
+ apiKey: z.ZodOptional<z.ZodString>;
1234
+ systemPrompt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1235
+ config: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1236
+ userId: z.ZodUUID;
1237
+ organizationId: z.ZodUUID;
1238
+ }, z.core.$strip>;
1239
+ ORGANIZATION_UPDATE_LLM_VIEW: z.ZodObject<{
1240
+ name: z.ZodOptional<z.ZodString>;
1241
+ config: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1242
+ provider: z.ZodOptional<z.ZodEnum<{
1243
+ google: "google";
1244
+ anthropic: "anthropic";
1245
+ openai: "openai";
1246
+ "openai-compatible": "openai-compatible";
1247
+ }>>;
1248
+ apiKey: z.ZodOptional<z.ZodString>;
1249
+ model: z.ZodOptional<z.ZodString>;
1250
+ baseUrl: z.ZodNullable<z.ZodUnion<[z.ZodOptional<z.ZodURL>, z.ZodLiteral<"">]>>;
1251
+ systemPrompt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1252
+ }, z.core.$strip>;
1253
+ ORGANIZATION_REMOVE_LLM: z.ZodObject<{
1254
+ llmId: z.ZodUUID;
1255
+ userId: z.ZodUUID;
1256
+ organizationId: z.ZodUUID;
1257
+ }, z.core.$strip>;
1258
+ CHANNEL_CONFIG: z.ZodObject<{
1259
+ debounceMs: z.ZodOptional<z.ZodNumber>;
1260
+ }, z.core.$loose>;
1261
+ CHANNEL_CREATE: z.ZodObject<{
1262
+ platform: z.ZodEnum<{
1263
+ slack: "slack";
1264
+ telegram: "telegram";
1265
+ whatsapp: "whatsapp";
1266
+ discord: "discord";
1267
+ }>;
1268
+ config: z.ZodOptional<z.ZodObject<{
1269
+ debounceMs: z.ZodOptional<z.ZodNumber>;
1270
+ }, z.core.$loose>>;
1271
+ credentials: z.ZodRecord<z.ZodString, z.ZodString>;
1272
+ llmId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1273
+ projectId: z.ZodUUID;
1274
+ userId: z.ZodUUID;
1275
+ organizationId: z.ZodUUID;
1276
+ }, z.core.$strip>;
1277
+ CHANNEL_CREATE_VIEW: z.ZodObject<{
1278
+ config: z.ZodOptional<z.ZodObject<{
1279
+ debounceMs: z.ZodOptional<z.ZodNumber>;
1280
+ }, z.core.$loose>>;
1281
+ llmId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1282
+ platform: z.ZodEnum<{
1283
+ slack: "slack";
1284
+ telegram: "telegram";
1285
+ whatsapp: "whatsapp";
1286
+ discord: "discord";
1287
+ }>;
1288
+ credentials: z.ZodRecord<z.ZodString, z.ZodString>;
1289
+ }, z.core.$strip>;
1290
+ CHANNEL_UPDATE: z.ZodObject<{
1291
+ channelId: z.ZodUUID;
1292
+ status: z.ZodOptional<z.ZodEnum<{
1293
+ [x: string]: string;
1294
+ }>>;
1295
+ config: z.ZodOptional<z.ZodObject<{
1296
+ debounceMs: z.ZodOptional<z.ZodNumber>;
1297
+ }, z.core.$loose>>;
1298
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1299
+ llmId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1300
+ projectId: z.ZodUUID;
1301
+ userId: z.ZodUUID;
1302
+ organizationId: z.ZodUUID;
1303
+ }, z.core.$strip>;
1304
+ CHANNEL_UPDATE_VIEW: z.ZodObject<{
1305
+ status: z.ZodOptional<z.ZodEnum<{
1306
+ [x: string]: string;
1307
+ }>>;
1308
+ config: z.ZodOptional<z.ZodObject<{
1309
+ debounceMs: z.ZodOptional<z.ZodNumber>;
1310
+ }, z.core.$loose>>;
1311
+ llmId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1312
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1313
+ }, z.core.$strip>;
1314
+ CHANNEL_GET: z.ZodObject<{
1315
+ projectId: z.ZodUUID;
1316
+ userId: z.ZodUUID;
1317
+ organizationId: z.ZodUUID;
1318
+ }, z.core.$strip>;
1319
+ CHANNEL_REMOVE: z.ZodObject<{
1320
+ channelId: z.ZodUUID;
1321
+ projectId: z.ZodUUID;
1322
+ userId: z.ZodUUID;
1323
+ organizationId: z.ZodUUID;
1324
+ }, z.core.$strip>;
1325
+ CHANNEL_LIST_CONVERSATIONS: z.ZodObject<{
1326
+ channelId: z.ZodUUID;
1327
+ projectId: z.ZodUUID;
1328
+ userId: z.ZodUUID;
1329
+ organizationId: z.ZodUUID;
1330
+ }, z.core.$strip>;
1331
+ CHANNEL_LIST_MESSAGES: z.ZodObject<{
1332
+ channelId: z.ZodUUID;
1333
+ conversationId: z.ZodUUID;
1334
+ projectId: z.ZodUUID;
1335
+ userId: z.ZodUUID;
1336
+ organizationId: z.ZodUUID;
1337
+ }, z.core.$strip>;
1338
+ ARTIFACT_UPDATE_RESOURCE_SHOW_SOURCE: z.ZodObject<{
1339
+ resourceId: z.ZodUUID;
1340
+ showSource: z.ZodEnum<{
1341
+ [x: string]: string;
1342
+ }>;
1343
+ projectId: z.ZodUUID;
1344
+ userId: z.ZodUUID;
1345
+ organizationId: z.ZodUUID;
1346
+ }, z.core.$strip>;
1347
+ HTTP_ENDPOINT_CONFIG: z.ZodPipe<z.ZodObject<{
1348
+ name: z.ZodString;
1349
+ title: z.ZodOptional<z.ZodString>;
1350
+ description: z.ZodOptional<z.ZodString>;
1351
+ method: z.ZodPreprocess<z.ZodEnum<{
1352
+ GET: "GET";
1353
+ POST: "POST";
1354
+ PUT: "PUT";
1355
+ PATCH: "PATCH";
1356
+ DELETE: "DELETE";
1357
+ }>>;
1358
+ url: z.ZodString;
1359
+ headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
1360
+ name: z.ZodString;
1361
+ value: z.ZodString;
1362
+ }, z.core.$strip>>>;
1363
+ query: z.ZodDefault<z.ZodArray<z.ZodObject<{
1364
+ name: z.ZodString;
1365
+ value: z.ZodString;
1366
+ }, z.core.$strip>>>;
1367
+ body: z.ZodDefault<z.ZodObject<{
1368
+ kind: z.ZodEnum<{
1369
+ json: "json";
1370
+ none: "none";
1371
+ text: "text";
1372
+ form: "form";
1373
+ }>;
1374
+ template: z.ZodDefault<z.ZodString>;
1375
+ }, z.core.$strip>>;
1376
+ inputSchema: z.ZodDefault<z.ZodObject<{
1377
+ type: z.ZodEnum<{
1378
+ [x: string]: string;
1379
+ }>;
1380
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1381
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1382
+ items: z.ZodOptional<z.ZodAny>;
1383
+ minimum: z.ZodOptional<z.ZodNumber>;
1384
+ maximum: z.ZodOptional<z.ZodNumber>;
1385
+ minLength: z.ZodOptional<z.ZodNumber>;
1386
+ maxLength: z.ZodOptional<z.ZodNumber>;
1387
+ pattern: z.ZodOptional<z.ZodString>;
1388
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1389
+ }, z.core.$strip>>;
1390
+ outputSchema: z.ZodOptional<z.ZodObject<{
1391
+ type: z.ZodEnum<{
1392
+ [x: string]: string;
1393
+ }>;
1394
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1395
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1396
+ items: z.ZodOptional<z.ZodAny>;
1397
+ minimum: z.ZodOptional<z.ZodNumber>;
1398
+ maximum: z.ZodOptional<z.ZodNumber>;
1399
+ minLength: z.ZodOptional<z.ZodNumber>;
1400
+ maxLength: z.ZodOptional<z.ZodNumber>;
1401
+ pattern: z.ZodOptional<z.ZodString>;
1402
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1403
+ }, z.core.$strip>>;
1404
+ response: z.ZodDefault<z.ZodObject<{
1405
+ contentType: z.ZodDefault<z.ZodEnum<{
1406
+ json: "json";
1407
+ text: "text";
1408
+ auto: "auto";
1409
+ }>>;
1410
+ maxBytes: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1411
+ jsonPath: z.ZodOptional<z.ZodString>;
1412
+ successStatus: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1413
+ }, z.core.$strip>>;
1414
+ auth: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1415
+ kind: z.ZodLiteral<"none">;
1416
+ }, z.core.$strip>, z.ZodObject<{
1417
+ kind: z.ZodLiteral<"bearer">;
1418
+ credentialId: z.ZodUUID;
1419
+ }, z.core.$strip>, z.ZodObject<{
1420
+ kind: z.ZodLiteral<"basic">;
1421
+ credentialId: z.ZodUUID;
1422
+ }, z.core.$strip>, z.ZodObject<{
1423
+ kind: z.ZodLiteral<"oauth">;
1424
+ credentialId: z.ZodUUID;
1425
+ }, z.core.$strip>, z.ZodObject<{
1426
+ kind: z.ZodLiteral<"api-key">;
1427
+ in: z.ZodEnum<{
1428
+ header: "header";
1429
+ query: "query";
1430
+ }>;
1431
+ name: z.ZodString;
1432
+ credentialId: z.ZodUUID;
1433
+ }, z.core.$strip>], "kind">>;
1434
+ timeoutMs: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1435
+ allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1436
+ }, z.core.$strip>, z.ZodTransform<{
1437
+ title: string;
1438
+ description: string;
1439
+ name: string;
1440
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1441
+ url: string;
1442
+ headers: {
1443
+ name: string;
1444
+ value: string;
1445
+ }[];
1446
+ query: {
1447
+ name: string;
1448
+ value: string;
1449
+ }[];
1450
+ body: {
1451
+ kind: "json" | "none" | "text" | "form";
1452
+ template: string;
1453
+ };
1454
+ inputSchema: {
1455
+ type: string;
1456
+ properties?: Record<string, any> | undefined;
1457
+ required?: string[] | undefined;
1458
+ items?: any;
1459
+ minimum?: number | undefined;
1460
+ maximum?: number | undefined;
1461
+ minLength?: number | undefined;
1462
+ maxLength?: number | undefined;
1463
+ pattern?: string | undefined;
1464
+ enum?: any[] | undefined;
1465
+ };
1466
+ response: {
1467
+ contentType: "json" | "text" | "auto";
1468
+ maxBytes: number;
1469
+ jsonPath?: string | undefined;
1470
+ successStatus?: number[] | undefined;
1471
+ };
1472
+ auth: {
1473
+ kind: "none";
1474
+ } | {
1475
+ kind: "bearer";
1476
+ credentialId: string;
1477
+ } | {
1478
+ kind: "basic";
1479
+ credentialId: string;
1480
+ } | {
1481
+ kind: "oauth";
1482
+ credentialId: string;
1483
+ } | {
1484
+ kind: "api-key";
1485
+ in: "header" | "query";
1486
+ name: string;
1487
+ credentialId: string;
1488
+ };
1489
+ timeoutMs: number;
1490
+ outputSchema?: {
1491
+ type: string;
1492
+ properties?: Record<string, any> | undefined;
1493
+ required?: string[] | undefined;
1494
+ items?: any;
1495
+ minimum?: number | undefined;
1496
+ maximum?: number | undefined;
1497
+ minLength?: number | undefined;
1498
+ maxLength?: number | undefined;
1499
+ pattern?: string | undefined;
1500
+ enum?: any[] | undefined;
1501
+ } | undefined;
1502
+ allowedHosts?: string[] | undefined;
1503
+ }, {
1504
+ name: string;
1505
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1506
+ url: string;
1507
+ headers: {
1508
+ name: string;
1509
+ value: string;
1510
+ }[];
1511
+ query: {
1512
+ name: string;
1513
+ value: string;
1514
+ }[];
1515
+ body: {
1516
+ kind: "json" | "none" | "text" | "form";
1517
+ template: string;
1518
+ };
1519
+ inputSchema: {
1520
+ type: string;
1521
+ properties?: Record<string, any> | undefined;
1522
+ required?: string[] | undefined;
1523
+ items?: any;
1524
+ minimum?: number | undefined;
1525
+ maximum?: number | undefined;
1526
+ minLength?: number | undefined;
1527
+ maxLength?: number | undefined;
1528
+ pattern?: string | undefined;
1529
+ enum?: any[] | undefined;
1530
+ };
1531
+ response: {
1532
+ contentType: "json" | "text" | "auto";
1533
+ maxBytes: number;
1534
+ jsonPath?: string | undefined;
1535
+ successStatus?: number[] | undefined;
1536
+ };
1537
+ auth: {
1538
+ kind: "none";
1539
+ } | {
1540
+ kind: "bearer";
1541
+ credentialId: string;
1542
+ } | {
1543
+ kind: "basic";
1544
+ credentialId: string;
1545
+ } | {
1546
+ kind: "oauth";
1547
+ credentialId: string;
1548
+ } | {
1549
+ kind: "api-key";
1550
+ in: "header" | "query";
1551
+ name: string;
1552
+ credentialId: string;
1553
+ };
1554
+ timeoutMs: number;
1555
+ title?: string | undefined;
1556
+ description?: string | undefined;
1557
+ outputSchema?: {
1558
+ type: string;
1559
+ properties?: Record<string, any> | undefined;
1560
+ required?: string[] | undefined;
1561
+ items?: any;
1562
+ minimum?: number | undefined;
1563
+ maximum?: number | undefined;
1564
+ minLength?: number | undefined;
1565
+ maxLength?: number | undefined;
1566
+ pattern?: string | undefined;
1567
+ enum?: any[] | undefined;
1568
+ } | undefined;
1569
+ allowedHosts?: string[] | undefined;
1570
+ }>>;
1571
+ HTTP_ENDPOINT_CONFIG_WRITE: z.ZodPipe<z.ZodObject<{
1572
+ name: z.ZodString;
1573
+ title: z.ZodOptional<z.ZodString>;
1574
+ description: z.ZodOptional<z.ZodString>;
1575
+ method: z.ZodPreprocess<z.ZodEnum<{
1576
+ GET: "GET";
1577
+ POST: "POST";
1578
+ PUT: "PUT";
1579
+ PATCH: "PATCH";
1580
+ DELETE: "DELETE";
1581
+ }>>;
1582
+ url: z.ZodString;
1583
+ headers: z.ZodDefault<z.ZodArray<z.ZodObject<{
1584
+ name: z.ZodString;
1585
+ value: z.ZodString;
1586
+ }, z.core.$strip>>>;
1587
+ query: z.ZodDefault<z.ZodArray<z.ZodObject<{
1588
+ name: z.ZodString;
1589
+ value: z.ZodString;
1590
+ }, z.core.$strip>>>;
1591
+ body: z.ZodDefault<z.ZodObject<{
1592
+ kind: z.ZodEnum<{
1593
+ json: "json";
1594
+ none: "none";
1595
+ text: "text";
1596
+ form: "form";
1597
+ }>;
1598
+ template: z.ZodDefault<z.ZodString>;
1599
+ }, z.core.$strip>>;
1600
+ inputSchema: z.ZodDefault<z.ZodObject<{
1601
+ type: z.ZodEnum<{
1602
+ [x: string]: string;
1603
+ }>;
1604
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1605
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1606
+ items: z.ZodOptional<z.ZodAny>;
1607
+ minimum: z.ZodOptional<z.ZodNumber>;
1608
+ maximum: z.ZodOptional<z.ZodNumber>;
1609
+ minLength: z.ZodOptional<z.ZodNumber>;
1610
+ maxLength: z.ZodOptional<z.ZodNumber>;
1611
+ pattern: z.ZodOptional<z.ZodString>;
1612
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1613
+ }, z.core.$strip>>;
1614
+ outputSchema: z.ZodOptional<z.ZodObject<{
1615
+ type: z.ZodEnum<{
1616
+ [x: string]: string;
1617
+ }>;
1618
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1619
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1620
+ items: z.ZodOptional<z.ZodAny>;
1621
+ minimum: z.ZodOptional<z.ZodNumber>;
1622
+ maximum: z.ZodOptional<z.ZodNumber>;
1623
+ minLength: z.ZodOptional<z.ZodNumber>;
1624
+ maxLength: z.ZodOptional<z.ZodNumber>;
1625
+ pattern: z.ZodOptional<z.ZodString>;
1626
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1627
+ }, z.core.$strip>>;
1628
+ response: z.ZodDefault<z.ZodObject<{
1629
+ contentType: z.ZodDefault<z.ZodEnum<{
1630
+ json: "json";
1631
+ text: "text";
1632
+ auto: "auto";
1633
+ }>>;
1634
+ maxBytes: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1635
+ jsonPath: z.ZodOptional<z.ZodString>;
1636
+ successStatus: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1637
+ }, z.core.$strip>>;
1638
+ auth: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1639
+ kind: z.ZodLiteral<"none">;
1640
+ }, z.core.$strip>, z.ZodObject<{
1641
+ kind: z.ZodLiteral<"bearer">;
1642
+ credentialId: z.ZodUUID;
1643
+ }, z.core.$strip>, z.ZodObject<{
1644
+ kind: z.ZodLiteral<"basic">;
1645
+ credentialId: z.ZodUUID;
1646
+ }, z.core.$strip>, z.ZodObject<{
1647
+ kind: z.ZodLiteral<"oauth">;
1648
+ credentialId: z.ZodUUID;
1649
+ }, z.core.$strip>, z.ZodObject<{
1650
+ kind: z.ZodLiteral<"api-key">;
1651
+ in: z.ZodEnum<{
1652
+ header: "header";
1653
+ query: "query";
1654
+ }>;
1655
+ name: z.ZodString;
1656
+ credentialId: z.ZodUUID;
1657
+ }, z.core.$strip>], "kind">>;
1658
+ timeoutMs: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1659
+ allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1660
+ }, z.core.$strip>, z.ZodTransform<{
1661
+ title: string;
1662
+ description: string;
1663
+ name: string;
1664
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1665
+ url: string;
1666
+ headers: {
1667
+ name: string;
1668
+ value: string;
1669
+ }[];
1670
+ query: {
1671
+ name: string;
1672
+ value: string;
1673
+ }[];
1674
+ body: {
1675
+ kind: "json" | "none" | "text" | "form";
1676
+ template: string;
1677
+ };
1678
+ inputSchema: {
1679
+ type: string;
1680
+ properties?: Record<string, any> | undefined;
1681
+ required?: string[] | undefined;
1682
+ items?: any;
1683
+ minimum?: number | undefined;
1684
+ maximum?: number | undefined;
1685
+ minLength?: number | undefined;
1686
+ maxLength?: number | undefined;
1687
+ pattern?: string | undefined;
1688
+ enum?: any[] | undefined;
1689
+ };
1690
+ response: {
1691
+ contentType: "json" | "text" | "auto";
1692
+ maxBytes: number;
1693
+ jsonPath?: string | undefined;
1694
+ successStatus?: number[] | undefined;
1695
+ };
1696
+ auth: {
1697
+ kind: "none";
1698
+ } | {
1699
+ kind: "bearer";
1700
+ credentialId: string;
1701
+ } | {
1702
+ kind: "basic";
1703
+ credentialId: string;
1704
+ } | {
1705
+ kind: "oauth";
1706
+ credentialId: string;
1707
+ } | {
1708
+ kind: "api-key";
1709
+ in: "header" | "query";
1710
+ name: string;
1711
+ credentialId: string;
1712
+ };
1713
+ timeoutMs: number;
1714
+ outputSchema?: {
1715
+ type: string;
1716
+ properties?: Record<string, any> | undefined;
1717
+ required?: string[] | undefined;
1718
+ items?: any;
1719
+ minimum?: number | undefined;
1720
+ maximum?: number | undefined;
1721
+ minLength?: number | undefined;
1722
+ maxLength?: number | undefined;
1723
+ pattern?: string | undefined;
1724
+ enum?: any[] | undefined;
1725
+ } | undefined;
1726
+ allowedHosts?: string[] | undefined;
1727
+ }, {
1728
+ name: string;
1729
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1730
+ url: string;
1731
+ headers: {
1732
+ name: string;
1733
+ value: string;
1734
+ }[];
1735
+ query: {
1736
+ name: string;
1737
+ value: string;
1738
+ }[];
1739
+ body: {
1740
+ kind: "json" | "none" | "text" | "form";
1741
+ template: string;
1742
+ };
1743
+ inputSchema: {
1744
+ type: string;
1745
+ properties?: Record<string, any> | undefined;
1746
+ required?: string[] | undefined;
1747
+ items?: any;
1748
+ minimum?: number | undefined;
1749
+ maximum?: number | undefined;
1750
+ minLength?: number | undefined;
1751
+ maxLength?: number | undefined;
1752
+ pattern?: string | undefined;
1753
+ enum?: any[] | undefined;
1754
+ };
1755
+ response: {
1756
+ contentType: "json" | "text" | "auto";
1757
+ maxBytes: number;
1758
+ jsonPath?: string | undefined;
1759
+ successStatus?: number[] | undefined;
1760
+ };
1761
+ auth: {
1762
+ kind: "none";
1763
+ } | {
1764
+ kind: "bearer";
1765
+ credentialId: string;
1766
+ } | {
1767
+ kind: "basic";
1768
+ credentialId: string;
1769
+ } | {
1770
+ kind: "oauth";
1771
+ credentialId: string;
1772
+ } | {
1773
+ kind: "api-key";
1774
+ in: "header" | "query";
1775
+ name: string;
1776
+ credentialId: string;
1777
+ };
1778
+ timeoutMs: number;
1779
+ title?: string | undefined;
1780
+ description?: string | undefined;
1781
+ outputSchema?: {
1782
+ type: string;
1783
+ properties?: Record<string, any> | undefined;
1784
+ required?: string[] | undefined;
1785
+ items?: any;
1786
+ minimum?: number | undefined;
1787
+ maximum?: number | undefined;
1788
+ minLength?: number | undefined;
1789
+ maxLength?: number | undefined;
1790
+ pattern?: string | undefined;
1791
+ enum?: any[] | undefined;
1792
+ } | undefined;
1793
+ allowedHosts?: string[] | undefined;
1794
+ }>>;
1795
+ MCP_PROXY_CONFIG: z.ZodObject<{
1796
+ curatedServerId: z.ZodUUID;
1797
+ url: z.ZodDefault<z.ZodString>;
1798
+ transport: z.ZodDefault<z.ZodEnum<{
1799
+ "streamable-http": "streamable-http";
1800
+ sse: "sse";
1801
+ }>>;
1802
+ prefix: z.ZodOptional<z.ZodString>;
1803
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1804
+ allowedResources: z.ZodOptional<z.ZodArray<z.ZodString>>;
1805
+ allowedPrompts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1806
+ auth: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
1807
+ kind: z.ZodLiteral<"none">;
1808
+ }, z.core.$strip>, z.ZodObject<{
1809
+ kind: z.ZodLiteral<"bearer">;
1810
+ credentialId: z.ZodUUID;
1811
+ }, z.core.$strip>, z.ZodObject<{
1812
+ kind: z.ZodLiteral<"header">;
1813
+ name: z.ZodString;
1814
+ credentialId: z.ZodUUID;
1815
+ }, z.core.$strip>, z.ZodObject<{
1816
+ kind: z.ZodLiteral<"oauth">;
1817
+ credentialId: z.ZodUUID;
1818
+ }, z.core.$strip>], "kind">>;
1819
+ timeoutMs: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1820
+ }, z.core.$strip>;
1821
+ CUSTOM_CODE_CONFIG: z.ZodObject<{
1822
+ activeVersionId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
1823
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1824
+ allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1825
+ connections: z.ZodOptional<z.ZodArray<z.ZodString>>;
1826
+ timeoutMs: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1827
+ resourceAccess: z.ZodDefault<z.ZodEnum<{
1828
+ all: "all";
1829
+ own: "own";
1830
+ }>>;
1831
+ }, z.core.$strip>;
1832
+ CUSTOM_CODE_CONFIG_WRITE: z.ZodObject<{
1833
+ activeVersionId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
1834
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1835
+ allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1836
+ connections: z.ZodOptional<z.ZodArray<z.ZodString>>;
1837
+ timeoutMs: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1838
+ resourceAccess: z.ZodDefault<z.ZodEnum<{
1839
+ all: "all";
1840
+ own: "own";
1841
+ }>>;
1842
+ }, z.core.$strip>;
1843
+ CUSTOM_CODE_TOOL: z.ZodObject<{
1844
+ name: z.ZodString;
1845
+ title: z.ZodOptional<z.ZodString>;
1846
+ description: z.ZodOptional<z.ZodString>;
1847
+ inputSchema: z.ZodDefault<z.ZodObject<{
1848
+ type: z.ZodEnum<{
1849
+ [x: string]: string;
1850
+ }>;
1851
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1852
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1853
+ items: z.ZodOptional<z.ZodAny>;
1854
+ minimum: z.ZodOptional<z.ZodNumber>;
1855
+ maximum: z.ZodOptional<z.ZodNumber>;
1856
+ minLength: z.ZodOptional<z.ZodNumber>;
1857
+ maxLength: z.ZodOptional<z.ZodNumber>;
1858
+ pattern: z.ZodOptional<z.ZodString>;
1859
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1860
+ }, z.core.$strip>>;
1861
+ outputSchema: z.ZodOptional<z.ZodObject<{
1862
+ type: z.ZodEnum<{
1863
+ [x: string]: string;
1864
+ }>;
1865
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1866
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1867
+ items: z.ZodOptional<z.ZodAny>;
1868
+ minimum: z.ZodOptional<z.ZodNumber>;
1869
+ maximum: z.ZodOptional<z.ZodNumber>;
1870
+ minLength: z.ZodOptional<z.ZodNumber>;
1871
+ maxLength: z.ZodOptional<z.ZodNumber>;
1872
+ pattern: z.ZodOptional<z.ZodString>;
1873
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1874
+ }, z.core.$strip>>;
1875
+ }, z.core.$strip>;
1876
+ CUSTOM_CODE_MANIFEST: z.ZodObject<{
1877
+ tools: z.ZodArray<z.ZodObject<{
1878
+ name: z.ZodString;
1879
+ title: z.ZodOptional<z.ZodString>;
1880
+ description: z.ZodOptional<z.ZodString>;
1881
+ inputSchema: z.ZodDefault<z.ZodObject<{
1882
+ type: z.ZodEnum<{
1883
+ [x: string]: string;
1884
+ }>;
1885
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1886
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1887
+ items: z.ZodOptional<z.ZodAny>;
1888
+ minimum: z.ZodOptional<z.ZodNumber>;
1889
+ maximum: z.ZodOptional<z.ZodNumber>;
1890
+ minLength: z.ZodOptional<z.ZodNumber>;
1891
+ maxLength: z.ZodOptional<z.ZodNumber>;
1892
+ pattern: z.ZodOptional<z.ZodString>;
1893
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1894
+ }, z.core.$strip>>;
1895
+ outputSchema: z.ZodOptional<z.ZodObject<{
1896
+ type: z.ZodEnum<{
1897
+ [x: string]: string;
1898
+ }>;
1899
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1900
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1901
+ items: z.ZodOptional<z.ZodAny>;
1902
+ minimum: z.ZodOptional<z.ZodNumber>;
1903
+ maximum: z.ZodOptional<z.ZodNumber>;
1904
+ minLength: z.ZodOptional<z.ZodNumber>;
1905
+ maxLength: z.ZodOptional<z.ZodNumber>;
1906
+ pattern: z.ZodOptional<z.ZodString>;
1907
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1908
+ }, z.core.$strip>>;
1909
+ }, z.core.$strip>>;
1910
+ }, z.core.$strip>;
1911
+ ARTIFACT_CUSTOM_CODE_CREATE_VERSION: z.ZodObject<{
1912
+ manifest: z.ZodObject<{
1913
+ tools: z.ZodArray<z.ZodObject<{
1914
+ name: z.ZodString;
1915
+ title: z.ZodOptional<z.ZodString>;
1916
+ description: z.ZodOptional<z.ZodString>;
1917
+ inputSchema: z.ZodDefault<z.ZodObject<{
1918
+ type: z.ZodEnum<{
1919
+ [x: string]: string;
1920
+ }>;
1921
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1922
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1923
+ items: z.ZodOptional<z.ZodAny>;
1924
+ minimum: z.ZodOptional<z.ZodNumber>;
1925
+ maximum: z.ZodOptional<z.ZodNumber>;
1926
+ minLength: z.ZodOptional<z.ZodNumber>;
1927
+ maxLength: z.ZodOptional<z.ZodNumber>;
1928
+ pattern: z.ZodOptional<z.ZodString>;
1929
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1930
+ }, z.core.$strip>>;
1931
+ outputSchema: z.ZodOptional<z.ZodObject<{
1932
+ type: z.ZodEnum<{
1933
+ [x: string]: string;
1934
+ }>;
1935
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1936
+ required: z.ZodOptional<z.ZodArray<z.ZodString>>;
1937
+ items: z.ZodOptional<z.ZodAny>;
1938
+ minimum: z.ZodOptional<z.ZodNumber>;
1939
+ maximum: z.ZodOptional<z.ZodNumber>;
1940
+ minLength: z.ZodOptional<z.ZodNumber>;
1941
+ maxLength: z.ZodOptional<z.ZodNumber>;
1942
+ pattern: z.ZodOptional<z.ZodString>;
1943
+ enum: z.ZodOptional<z.ZodArray<z.ZodAny>>;
1944
+ }, z.core.$strip>>;
1945
+ }, z.core.$strip>>;
1946
+ }, z.core.$strip>;
1947
+ config: z.ZodOptional<z.ZodObject<{
1948
+ activeVersionId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
1949
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1950
+ allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1951
+ connections: z.ZodOptional<z.ZodArray<z.ZodString>>;
1952
+ timeoutMs: z.ZodPipe<z.ZodDefault<z.ZodNumber>, z.ZodTransform<number, number>>;
1953
+ resourceAccess: z.ZodDefault<z.ZodEnum<{
1954
+ all: "all";
1955
+ own: "own";
1956
+ }>>;
1957
+ }, z.core.$strip>>;
1958
+ projectId: z.ZodUUID;
1959
+ userId: z.ZodUUID;
1960
+ organizationId: z.ZodUUID;
1961
+ }, z.core.$strip>;
1962
+ ARTIFACT_CUSTOM_CODE_UPLOAD_BUNDLE: z.ZodObject<{
1963
+ versionId: z.ZodUUID;
1964
+ sourceKind: z.ZodDefault<z.ZodEnum<{
1965
+ editor: "editor";
1966
+ bundle: "bundle";
1967
+ }>>;
1968
+ projectId: z.ZodUUID;
1969
+ userId: z.ZodUUID;
1970
+ organizationId: z.ZodUUID;
1971
+ }, z.core.$strip>;
1972
+ ARTIFACT_CUSTOM_CODE_GET_SOURCE: z.ZodObject<{
1973
+ versionId: z.ZodUUID;
1974
+ projectId: z.ZodUUID;
1975
+ userId: z.ZodUUID;
1976
+ organizationId: z.ZodUUID;
1977
+ }, z.core.$strip>;
1978
+ ARTIFACT_CUSTOM_CODE_TEST_VERSION: z.ZodObject<{
1979
+ versionId: z.ZodUUID;
1980
+ tool: z.ZodString;
1981
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
1982
+ projectId: z.ZodUUID;
1983
+ userId: z.ZodUUID;
1984
+ organizationId: z.ZodUUID;
1985
+ }, z.core.$strip>;
1986
+ ARTIFACT_CUSTOM_CODE_PUBLISH: z.ZodObject<{
1987
+ versionId: z.ZodUUID;
1988
+ projectId: z.ZodUUID;
1989
+ userId: z.ZodUUID;
1990
+ organizationId: z.ZodUUID;
1991
+ }, z.core.$strip>;
1992
+ ARTIFACT_CUSTOM_CODE_ROLLBACK: z.ZodObject<{
1993
+ versionId: z.ZodUUID;
1994
+ projectId: z.ZodUUID;
1995
+ userId: z.ZodUUID;
1996
+ organizationId: z.ZodUUID;
1997
+ }, z.core.$strip>;
1998
+ ARTIFACT_CUSTOM_CODE_LIST_LOGS: z.ZodObject<{
1999
+ tool: z.ZodOptional<z.ZodString>;
2000
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
2001
+ before: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2002
+ projectId: z.ZodUUID;
2003
+ userId: z.ZodUUID;
2004
+ organizationId: z.ZodUUID;
2005
+ }, z.core.$strip>;
2006
+ ARTIFACT_CUSTOM_CODE_LIST_VERSIONS: z.ZodObject<{
2007
+ projectId: z.ZodUUID;
2008
+ userId: z.ZodUUID;
2009
+ organizationId: z.ZodUUID;
2010
+ }, z.core.$strip>;
2011
+ CUSTOM_CODE_INVOKE_REQUEST: z.ZodObject<{
2012
+ tool: z.ZodString;
2013
+ input: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2014
+ requestId: z.ZodOptional<z.ZodString>;
2015
+ }, z.core.$strip>;
2016
+ CUSTOM_CODE_INVOKE_RESPONSE: z.ZodObject<{
2017
+ output: z.ZodOptional<z.ZodUnknown>;
2018
+ logs: z.ZodDefault<z.ZodArray<z.ZodObject<{
2019
+ level: z.ZodDefault<z.ZodEnum<{
2020
+ error: "error";
2021
+ log: "log";
2022
+ warn: "warn";
2023
+ }>>;
2024
+ message: z.ZodString;
2025
+ }, z.core.$strip>>>;
2026
+ error: z.ZodOptional<z.ZodString>;
2027
+ }, z.core.$strip>;
2028
+ CUSTOM_CODE_BROKER_CONNECTION: z.ZodObject<{
2029
+ provider: z.ZodString;
2030
+ }, z.core.$strip>;
2031
+ CUSTOM_CODE_BROKER_SECRET: z.ZodObject<{
2032
+ name: z.ZodString;
2033
+ }, z.core.$strip>;
2034
+ CUSTOM_CODE_BROKER_RESOURCE_SEARCH: z.ZodObject<{
2035
+ query: z.ZodString;
2036
+ limit: z.ZodDefault<z.ZodNumber>;
2037
+ }, z.core.$strip>;
2038
+ CUSTOM_CODE_BROKER_RESOURCE_READ: z.ZodObject<{
2039
+ uri: z.ZodString;
2040
+ }, z.core.$strip>;
2041
+ CUSTOM_CODE_BROKER_RESOURCE_CREATE: z.ZodObject<{
2042
+ title: z.ZodString;
2043
+ uri: z.ZodOptional<z.ZodString>;
2044
+ description: z.ZodOptional<z.ZodString>;
2045
+ mimeType: z.ZodOptional<z.ZodEnum<{
2046
+ "text/plain": "text/plain";
2047
+ "text/csv": "text/csv";
2048
+ "text/html": "text/html";
2049
+ "text/markdown": "text/markdown";
2050
+ "image/png": "image/png";
2051
+ "image/gif": "image/gif";
2052
+ "image/jpeg": "image/jpeg";
2053
+ "image/webp": "image/webp";
2054
+ "image/svg+xml": "image/svg+xml";
2055
+ "application/pdf": "application/pdf";
2056
+ "application/json": "application/json";
2057
+ "application/msword": "application/msword";
2058
+ "application/vnd.ms-excel": "application/vnd.ms-excel";
2059
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
2060
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
2061
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
2062
+ "application/vnd.google-apps.document": "application/vnd.google-apps.document";
2063
+ "application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
2064
+ "application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
2065
+ "application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
2066
+ "application/xml": "application/xml";
2067
+ "application/javascript": "application/javascript";
2068
+ "application/typescript": "application/typescript";
2069
+ "application/yaml": "application/yaml";
2070
+ "application/x-yaml": "application/x-yaml";
2071
+ "application/toml": "application/toml";
2072
+ "application/x-sh": "application/x-sh";
2073
+ "application/sql": "application/sql";
2074
+ "application/graphql": "application/graphql";
2075
+ "application/ld+json": "application/ld+json";
2076
+ "application/xhtml+xml": "application/xhtml+xml";
2077
+ "application/x-httpd-php": "application/x-httpd-php";
2078
+ "application/x-python-code": "application/x-python-code";
2079
+ "application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
2080
+ "application/csv": "application/csv";
2081
+ "application/x-ruby": "application/x-ruby";
2082
+ "application/x-perl": "application/x-perl";
2083
+ "application/octet-stream": "application/octet-stream";
2084
+ }>>;
2085
+ content: z.ZodOptional<z.ZodString>;
2086
+ bytes: z.ZodOptional<z.ZodString>;
2087
+ fileName: z.ZodOptional<z.ZodString>;
2088
+ index: z.ZodDefault<z.ZodBoolean>;
2089
+ }, z.core.$strip>;
2090
+ CUSTOM_CODE_BROKER_RESOURCE_DELETE: z.ZodObject<{
2091
+ uri: z.ZodString;
2092
+ children: z.ZodDefault<z.ZodBoolean>;
2093
+ }, z.core.$strip>;
2094
+ CUSTOM_CODE_SEND_FILE: z.ZodDiscriminatedUnion<[z.ZodObject<{
2095
+ to: z.ZodLiteral<"gmail">;
2096
+ uris: z.ZodArray<z.ZodString>;
2097
+ message: z.ZodObject<{
2098
+ to: z.ZodString;
2099
+ subject: z.ZodOptional<z.ZodString>;
2100
+ body: z.ZodDefault<z.ZodString>;
2101
+ cc: z.ZodOptional<z.ZodString>;
2102
+ bcc: z.ZodOptional<z.ZodString>;
2103
+ contentType: z.ZodOptional<z.ZodEnum<{
2104
+ "text/plain": "text/plain";
2105
+ "text/html": "text/html";
2106
+ }>>;
2107
+ threadId: z.ZodOptional<z.ZodString>;
2108
+ }, z.core.$strip>;
2109
+ }, z.core.$strip>, z.ZodObject<{
2110
+ to: z.ZodLiteral<"outlook">;
2111
+ uris: z.ZodArray<z.ZodString>;
2112
+ message: z.ZodObject<{
2113
+ to: z.ZodString;
2114
+ subject: z.ZodOptional<z.ZodString>;
2115
+ body: z.ZodDefault<z.ZodString>;
2116
+ cc: z.ZodOptional<z.ZodString>;
2117
+ bcc: z.ZodOptional<z.ZodString>;
2118
+ contentType: z.ZodOptional<z.ZodEnum<{
2119
+ html: "html";
2120
+ text: "text";
2121
+ }>>;
2122
+ }, z.core.$strip>;
2123
+ }, z.core.$strip>, z.ZodObject<{
2124
+ to: z.ZodLiteral<"slack">;
2125
+ uris: z.ZodArray<z.ZodString>;
2126
+ message: z.ZodObject<{
2127
+ channel: z.ZodString;
2128
+ title: z.ZodOptional<z.ZodString>;
2129
+ initialComment: z.ZodOptional<z.ZodString>;
2130
+ threadTs: z.ZodOptional<z.ZodString>;
2131
+ }, z.core.$strip>;
2132
+ }, z.core.$strip>], "to">;
2133
+ };
2134
+ export type HttpEndpointToolConfig = z.infer<typeof HTTP_ENDPOINT_CONFIG>;
2135
+ export type McpProxyToolConfig = z.infer<typeof MCP_PROXY_CONFIG>;
2136
+ export type CustomCodeToolConfig = z.infer<typeof CUSTOM_CODE_CONFIG>;
2137
+ export type CustomCodeToolManifest = z.infer<typeof CUSTOM_CODE_TOOL>;
2138
+ export type CustomCodeManifest = z.infer<typeof CUSTOM_CODE_MANIFEST>;
2139
+ export type CustomCodeSendFile = z.infer<typeof CUSTOM_CODE_SEND_FILE>;
2140
+ export type CustomCodeCreateResource = z.infer<typeof CUSTOM_CODE_BROKER_RESOURCE_CREATE>;
2141
+ export interface McpProxyDiscoveredTool {
2142
+ name: string;
2143
+ title?: string;
2144
+ description?: string;
2145
+ inputSchema: unknown;
2146
+ }
2147
+ export interface McpProxyDiscoveredResource {
2148
+ uri: string;
2149
+ name?: string;
2150
+ title?: string;
2151
+ description?: string;
2152
+ mimeType?: string;
2153
+ }
2154
+ export interface McpProxyDiscoveredPrompt {
2155
+ name: string;
2156
+ title?: string;
2157
+ description?: string;
2158
+ arguments?: {
2159
+ name: string;
2160
+ description?: string;
2161
+ required?: boolean;
2162
+ }[];
2163
+ }
2164
+ export interface McpProxyDiscovery {
2165
+ discoveredAt: string;
2166
+ serverInfo?: {
2167
+ name?: string;
2168
+ version?: string;
2169
+ };
2170
+ tools: McpProxyDiscoveredTool[];
2171
+ resources?: McpProxyDiscoveredResource[];
2172
+ prompts?: McpProxyDiscoveredPrompt[];
2173
+ }
2174
+ export {};
2175
+ //# sourceMappingURL=schema.d.ts.map