@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.
- package/LICENSE +201 -0
- package/NOTICE +9 -0
- package/README.md +23 -0
- package/dist/apiError.d.ts +3 -0
- package/dist/apiError.d.ts.map +1 -0
- package/dist/apiError.js +36 -0
- package/dist/attachment.d.ts +33 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.js +59 -0
- package/dist/base64.d.ts +10 -0
- package/dist/base64.d.ts.map +1 -0
- package/dist/base64.js +50 -0
- package/dist/channelDebounce.d.ts +26 -0
- package/dist/channelDebounce.d.ts.map +1 -0
- package/dist/channelDebounce.js +35 -0
- package/dist/channelNotifier.d.ts +9 -0
- package/dist/channelNotifier.d.ts.map +1 -0
- package/dist/channelNotifier.js +31 -0
- package/dist/chunking.d.ts +28 -0
- package/dist/chunking.d.ts.map +1 -0
- package/dist/chunking.js +97 -0
- package/dist/cliConstants.d.ts +9 -0
- package/dist/cliConstants.d.ts.map +1 -0
- package/dist/cliConstants.js +47 -0
- package/dist/coerce.d.ts +2 -0
- package/dist/coerce.d.ts.map +1 -0
- package/dist/coerce.js +13 -0
- package/dist/constants.d.ts +624 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +2220 -0
- package/dist/crypto.d.ts +14 -0
- package/dist/crypto.d.ts.map +1 -0
- package/dist/crypto.js +93 -0
- package/dist/customCodeProject.d.ts +91 -0
- package/dist/customCodeProject.d.ts.map +1 -0
- package/dist/customCodeProject.js +154 -0
- package/dist/customCodeToken.d.ts +41 -0
- package/dist/customCodeToken.d.ts.map +1 -0
- package/dist/customCodeToken.js +115 -0
- package/dist/deadline.d.ts +6 -0
- package/dist/deadline.d.ts.map +1 -0
- package/dist/deadline.js +45 -0
- package/dist/discordSend.d.ts +25 -0
- package/dist/discordSend.d.ts.map +1 -0
- package/dist/discordSend.js +8 -0
- package/dist/embeddable.d.ts +2 -0
- package/dist/embeddable.d.ts.map +1 -0
- package/dist/embeddable.js +6 -0
- package/dist/exposedResource.d.ts +6 -0
- package/dist/exposedResource.d.ts.map +1 -0
- package/dist/exposedResource.js +18 -0
- package/dist/extractedDocument.d.ts +70 -0
- package/dist/extractedDocument.d.ts.map +1 -0
- package/dist/extractedDocument.js +2 -0
- package/dist/fetcher.d.ts +8 -0
- package/dist/fetcher.d.ts.map +1 -0
- package/dist/fetcher.js +68 -0
- package/dist/formatFilename.d.ts +2 -0
- package/dist/formatFilename.d.ts.map +1 -0
- package/dist/formatFilename.js +19 -0
- package/dist/formatRelative.d.ts +12 -0
- package/dist/formatRelative.d.ts.map +1 -0
- package/dist/formatRelative.js +28 -0
- package/dist/formatRelativeTime.d.ts +2 -0
- package/dist/formatRelativeTime.d.ts.map +1 -0
- package/dist/formatRelativeTime.js +49 -0
- package/dist/getEnv.d.ts +5 -0
- package/dist/getEnv.d.ts.map +1 -0
- package/dist/getEnv.js +11 -0
- package/dist/gmailSend.d.ts +24 -0
- package/dist/gmailSend.d.ts.map +1 -0
- package/dist/gmailSend.js +9 -0
- package/dist/index.d.ts +2839 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +155 -0
- package/dist/jsonSchemaToZodShape.d.ts +38 -0
- package/dist/jsonSchemaToZodShape.d.ts.map +1 -0
- package/dist/jsonSchemaToZodShape.js +117 -0
- package/dist/l2Normalize.d.ts +2 -0
- package/dist/l2Normalize.d.ts.map +1 -0
- package/dist/l2Normalize.js +25 -0
- package/dist/languageCookieDomain.d.ts +21 -0
- package/dist/languageCookieDomain.d.ts.map +1 -0
- package/dist/languageCookieDomain.js +39 -0
- package/dist/localizeZodIssue.d.ts +43 -0
- package/dist/localizeZodIssue.d.ts.map +1 -0
- package/dist/localizeZodIssue.js +90 -0
- package/dist/mailHeaders.d.ts +4 -0
- package/dist/mailHeaders.d.ts.map +1 -0
- package/dist/mailHeaders.js +11 -0
- package/dist/mcpProxy.d.ts +2 -0
- package/dist/mcpProxy.d.ts.map +1 -0
- package/dist/mcpProxy.js +21 -0
- package/dist/mimeMessage.d.ts +21 -0
- package/dist/mimeMessage.d.ts.map +1 -0
- package/dist/mimeMessage.js +58 -0
- package/dist/oauth.d.ts +21 -0
- package/dist/oauth.d.ts.map +1 -0
- package/dist/oauth.js +75 -0
- package/dist/oauthProviders.d.ts +12 -0
- package/dist/oauthProviders.d.ts.map +1 -0
- package/dist/oauthProviders.js +99 -0
- package/dist/outlookSend.d.ts +19 -0
- package/dist/outlookSend.d.ts.map +1 -0
- package/dist/outlookSend.js +9 -0
- package/dist/parseHttpError.d.ts +2 -0
- package/dist/parseHttpError.d.ts.map +1 -0
- package/dist/parseHttpError.js +23 -0
- package/dist/planLimitError.d.ts +18 -0
- package/dist/planLimitError.d.ts.map +1 -0
- package/dist/planLimitError.js +35 -0
- package/dist/processQueueBatch.d.ts +17 -0
- package/dist/processQueueBatch.d.ts.map +1 -0
- package/dist/processQueueBatch.js +32 -0
- package/dist/reservedToolName.d.ts +16 -0
- package/dist/reservedToolName.d.ts.map +1 -0
- package/dist/reservedToolName.js +25 -0
- package/dist/resourceUri.d.ts +2 -0
- package/dist/resourceUri.d.ts.map +1 -0
- package/dist/resourceUri.js +19 -0
- package/dist/retry.d.ts +10 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +37 -0
- package/dist/sanitize.d.ts +7 -0
- package/dist/sanitize.d.ts.map +1 -0
- package/dist/sanitize.js +69 -0
- package/dist/schema.d.ts +2175 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +1382 -0
- package/dist/sdkConstants.d.ts +15 -0
- package/dist/sdkConstants.d.ts.map +1 -0
- package/dist/sdkConstants.js +43 -0
- package/dist/slackSend.d.ts +38 -0
- package/dist/slackSend.d.ts.map +1 -0
- package/dist/slackSend.js +14 -0
- package/dist/slug.d.ts +5 -0
- package/dist/slug.d.ts.map +1 -0
- package/dist/slug.js +34 -0
- package/dist/slugifyTitle.d.ts +2 -0
- package/dist/slugifyTitle.d.ts.map +1 -0
- package/dist/slugifyTitle.js +11 -0
- package/dist/sources.d.ts +43 -0
- package/dist/sources.d.ts.map +1 -0
- package/dist/sources.js +73 -0
- package/dist/ssrf.d.ts +3 -0
- package/dist/ssrf.d.ts.map +1 -0
- package/dist/ssrf.js +46 -0
- package/dist/tallyUsageKinds.d.ts +9 -0
- package/dist/tallyUsageKinds.d.ts.map +1 -0
- package/dist/tallyUsageKinds.js +20 -0
- package/dist/telegramSend.d.ts +28 -0
- package/dist/telegramSend.d.ts.map +1 -0
- package/dist/telegramSend.js +9 -0
- package/dist/toolCatalog.d.ts +452 -0
- package/dist/toolCatalog.d.ts.map +1 -0
- package/dist/toolCatalog.js +552 -0
- package/dist/validateMessageVariables.d.ts +7 -0
- package/dist/validateMessageVariables.d.ts.map +1 -0
- package/dist/validateMessageVariables.js +16 -0
- package/dist/vendorError.d.ts +2 -0
- package/dist/vendorError.d.ts.map +1 -0
- package/dist/vendorError.js +25 -0
- package/dist/whatsappSend.d.ts +31 -0
- package/dist/whatsappSend.d.ts.map +1 -0
- package/dist/whatsappSend.js +11 -0
- package/package.json +76 -0
- package/src/apiError.ts +40 -0
- package/src/attachment.ts +97 -0
- package/src/base64.ts +60 -0
- package/src/channelDebounce.ts +76 -0
- package/src/channelNotifier.ts +39 -0
- package/src/chunking.ts +131 -0
- package/src/cliConstants.ts +50 -0
- package/src/coerce.ts +9 -0
- package/src/constants.ts +2542 -0
- package/src/crypto.ts +108 -0
- package/src/customCodeProject.ts +182 -0
- package/src/customCodeToken.ts +198 -0
- package/src/deadline.ts +43 -0
- package/src/discordSend.ts +41 -0
- package/src/embeddable.ts +4 -0
- package/src/exposedResource.ts +40 -0
- package/src/extractedDocument.ts +62 -0
- package/src/fetcher.ts +82 -0
- package/src/formatFilename.ts +19 -0
- package/src/formatRelative.ts +36 -0
- package/src/formatRelativeTime.ts +45 -0
- package/src/getEnv.ts +13 -0
- package/src/gmailSend.ts +34 -0
- package/src/index.ts +397 -0
- package/src/jsonSchemaToZodShape.ts +111 -0
- package/src/l2Normalize.ts +19 -0
- package/src/languageCookieDomain.ts +37 -0
- package/src/localizeZodIssue.ts +124 -0
- package/src/mailHeaders.ts +12 -0
- package/src/mcpProxy.ts +20 -0
- package/src/mimeMessage.ts +82 -0
- package/src/oauth.ts +103 -0
- package/src/oauthProviders.ts +118 -0
- package/src/outlookSend.ts +44 -0
- package/src/parseHttpError.ts +16 -0
- package/src/planLimitError.ts +50 -0
- package/src/processQueueBatch.ts +46 -0
- package/src/reservedToolName.ts +27 -0
- package/src/resourceUri.ts +17 -0
- package/src/retry.ts +43 -0
- package/src/sanitize.ts +67 -0
- package/src/schema.ts +1624 -0
- package/src/sdkConstants.ts +44 -0
- package/src/slackSend.ts +65 -0
- package/src/slug.ts +37 -0
- package/src/slugifyTitle.ts +8 -0
- package/src/sources.ts +117 -0
- package/src/ssrf.ts +34 -0
- package/src/tallyUsageKinds.ts +20 -0
- package/src/telegramSend.ts +39 -0
- package/src/toolCatalog.ts +635 -0
- package/src/validateMessageVariables.ts +18 -0
- package/src/vendorError.ts +19 -0
- package/src/whatsappSend.ts +47 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2839 @@
|
|
|
1
|
+
import type { HttpEndpointToolConfig, McpProxyToolConfig, McpProxyDiscoveredTool, McpProxyDiscoveredResource, McpProxyDiscoveredPrompt, McpProxyDiscovery, CustomCodeToolConfig, CustomCodeToolManifest, CustomCodeManifest, CustomCodeSendFile, CustomCodeCreateResource } from './schema';
|
|
2
|
+
import type { EnvSource } from './getEnv';
|
|
3
|
+
import type { CalendarConfigField } from './constants';
|
|
4
|
+
import type { MimeAttachment, MimeMessageInput } from './mimeMessage';
|
|
5
|
+
import type { GmailOperation, GmailSendRequest, GmailSendResponse } from './gmailSend';
|
|
6
|
+
import type { TelegramSendRequest, TelegramSendResponse, TelegramSendRemoteResourceRequest } from './telegramSend';
|
|
7
|
+
import type { OutlookOperation, OutlookSendRequest, OutlookSendResponse } from './outlookSend';
|
|
8
|
+
import type { SlackOperation, SlackSendRequest, SlackSendResponse, SlackSendRemoteResourceRequest } from './slackSend';
|
|
9
|
+
import type { DiscordSendRequest, DiscordSendResponse, DiscordSendRemoteResourceRequest } from './discordSend';
|
|
10
|
+
import type { WhatsappSendRequest, WhatsappSendResponse, WhatsappSendRemoteResourceRequest } from './whatsappSend';
|
|
11
|
+
import { JsonSchema } from './jsonSchemaToZodShape';
|
|
12
|
+
import type { SchemaViolation } from './jsonSchemaToZodShape';
|
|
13
|
+
import type { CustomCodeTokenPayload } from './customCodeToken';
|
|
14
|
+
import type { OAuthProviderConfig } from './oauthProviders';
|
|
15
|
+
import type { ExposableResource } from './exposedResource';
|
|
16
|
+
import type { CustomCodeProject, ProjectPathIssue } from './customCodeProject';
|
|
17
|
+
import type { AttachmentResource, ResolvedAttachment, ResolveAttachmentResult } from './attachment';
|
|
18
|
+
import type { CatalogGroup, CatalogTool, CatalogToolDescriptor, ToolGroupKey, ToolKey } from './toolCatalog';
|
|
19
|
+
import type { Separator, ChunkMetadata, PreparedChunk } from './chunking';
|
|
20
|
+
import type { RateLimitRetryOptions } from './retry';
|
|
21
|
+
import type { QueueBatchLike, QueueMessageLike, ProcessQueueBatchHandlers } from './processQueueBatch';
|
|
22
|
+
import type { ExtractedDocument, ExtractedDocumentMetadata, ExtractedDocumentSource } from './extractedDocument';
|
|
23
|
+
import type { ChannelNotifier, ToolStatusEvent } from './channelNotifier';
|
|
24
|
+
import type { BufferedChannelMessage, ChannelBufferEnvelope, ChannelBufferFlush } from './channelDebounce';
|
|
25
|
+
import type { Source, ResourceUrlContext, SourceButton } from './sources';
|
|
26
|
+
import { OAuthReauthRequiredError } from './oauth';
|
|
27
|
+
import type { RefreshOAuthTokenInput, RefreshedOAuthToken } from './oauth';
|
|
28
|
+
import { PlanLimitError } from './planLimitError';
|
|
29
|
+
import type { PlanLimitDetails } from './planLimitError';
|
|
30
|
+
import type { PlanLimits } from './constants';
|
|
31
|
+
export declare const utils: {
|
|
32
|
+
Schema: {
|
|
33
|
+
CONTACT_MESSAGE: import("zod").ZodObject<{
|
|
34
|
+
name: import("zod").ZodString;
|
|
35
|
+
email: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodEmail>;
|
|
36
|
+
message: import("zod").ZodString;
|
|
37
|
+
company_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
|
+
}, import("zod/v4/core").$strip>;
|
|
39
|
+
ORGANIZATION_CREATE: import("zod").ZodObject<{
|
|
40
|
+
userId: import("zod").ZodUUID;
|
|
41
|
+
name: import("zod").ZodString;
|
|
42
|
+
projectName: import("zod").ZodString;
|
|
43
|
+
projectDescription: import("zod").ZodString;
|
|
44
|
+
}, import("zod/v4/core").$strip>;
|
|
45
|
+
ORGANIZATION_CREATE_VIEW: import("zod").ZodObject<{
|
|
46
|
+
name: import("zod").ZodString;
|
|
47
|
+
projectName: import("zod").ZodString;
|
|
48
|
+
projectDescription: import("zod").ZodString;
|
|
49
|
+
}, import("zod/v4/core").$strip>;
|
|
50
|
+
ORGANIZATION_UPDATE: import("zod").ZodObject<{
|
|
51
|
+
id: import("zod").ZodUUID;
|
|
52
|
+
userId: import("zod").ZodUUID;
|
|
53
|
+
name: import("zod").ZodString;
|
|
54
|
+
}, import("zod/v4/core").$strip>;
|
|
55
|
+
ORGANIZATION_GET: import("zod").ZodObject<{
|
|
56
|
+
id: import("zod").ZodUUID;
|
|
57
|
+
userId: import("zod").ZodUUID;
|
|
58
|
+
}, import("zod/v4/core").$strip>;
|
|
59
|
+
AUTH_USER_GET: import("zod").ZodObject<{
|
|
60
|
+
userId: import("zod").ZodUUID;
|
|
61
|
+
}, import("zod/v4/core").$strip>;
|
|
62
|
+
PROJECT_CREATE: import("zod").ZodObject<{
|
|
63
|
+
userId: import("zod").ZodUUID;
|
|
64
|
+
organizationId: import("zod").ZodUUID;
|
|
65
|
+
name: import("zod").ZodString;
|
|
66
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
67
|
+
}, import("zod/v4/core").$strip>;
|
|
68
|
+
PROJECT_CREATE_VIEW: import("zod").ZodObject<{
|
|
69
|
+
name: import("zod").ZodString;
|
|
70
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
71
|
+
}, import("zod/v4/core").$strip>;
|
|
72
|
+
PROJECT_UPDATE: import("zod").ZodObject<{
|
|
73
|
+
id: import("zod").ZodUUID;
|
|
74
|
+
userId: import("zod").ZodUUID;
|
|
75
|
+
organizationId: import("zod").ZodUUID;
|
|
76
|
+
name: import("zod").ZodString;
|
|
77
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
78
|
+
}, import("zod/v4/core").$strip>;
|
|
79
|
+
PROJECT_GET: import("zod").ZodObject<{
|
|
80
|
+
id: import("zod").ZodUUID;
|
|
81
|
+
organizationId: import("zod").ZodUUID;
|
|
82
|
+
userId: import("zod").ZodUUID;
|
|
83
|
+
}, import("zod/v4/core").$strip>;
|
|
84
|
+
ORGANIZATION_INVITATION_CREATE: import("zod").ZodObject<{
|
|
85
|
+
email: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodEmail>;
|
|
86
|
+
userId: import("zod").ZodUUID;
|
|
87
|
+
organizationId: import("zod").ZodUUID;
|
|
88
|
+
}, import("zod/v4/core").$strip>;
|
|
89
|
+
ORGANIZATION_INVITATION_CREATE_VIEW: import("zod").ZodObject<{
|
|
90
|
+
email: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodEmail>;
|
|
91
|
+
}, import("zod/v4/core").$strip>;
|
|
92
|
+
ORGANIZATION_INVITATION_LIST: import("zod").ZodObject<{
|
|
93
|
+
userId: import("zod").ZodUUID;
|
|
94
|
+
organizationId: import("zod").ZodUUID;
|
|
95
|
+
}, import("zod/v4/core").$strip>;
|
|
96
|
+
ORGANIZATION_INVITATION_REMOVE: import("zod").ZodObject<{
|
|
97
|
+
invitationId: import("zod").ZodUUID;
|
|
98
|
+
userId: import("zod").ZodUUID;
|
|
99
|
+
organizationId: import("zod").ZodUUID;
|
|
100
|
+
}, import("zod/v4/core").$strip>;
|
|
101
|
+
PROJECT_INVITATION_CREATE: import("zod").ZodObject<{
|
|
102
|
+
email: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodEmail>;
|
|
103
|
+
userId: import("zod").ZodUUID;
|
|
104
|
+
organizationId: import("zod").ZodUUID;
|
|
105
|
+
projectId: import("zod").ZodUUID;
|
|
106
|
+
}, import("zod/v4/core").$strip>;
|
|
107
|
+
PROJECT_INVITATION_CREATE_VIEW: import("zod").ZodObject<{
|
|
108
|
+
email: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodEmail>;
|
|
109
|
+
}, import("zod/v4/core").$strip>;
|
|
110
|
+
PROJECT_INVITATION_LIST: import("zod").ZodObject<{
|
|
111
|
+
userId: import("zod").ZodUUID;
|
|
112
|
+
organizationId: import("zod").ZodUUID;
|
|
113
|
+
projectId: import("zod").ZodUUID;
|
|
114
|
+
}, import("zod/v4/core").$strip>;
|
|
115
|
+
PROJECT_INVITATION_REMOVE: import("zod").ZodObject<{
|
|
116
|
+
invitationId: import("zod").ZodUUID;
|
|
117
|
+
userId: import("zod").ZodUUID;
|
|
118
|
+
organizationId: import("zod").ZodUUID;
|
|
119
|
+
projectId: import("zod").ZodUUID;
|
|
120
|
+
}, import("zod/v4/core").$strip>;
|
|
121
|
+
INVITATION_RESPOND: import("zod").ZodObject<{
|
|
122
|
+
invitationId: import("zod").ZodUUID;
|
|
123
|
+
userId: import("zod").ZodUUID;
|
|
124
|
+
action: import("zod").ZodEnum<{
|
|
125
|
+
accept: "accept";
|
|
126
|
+
decline: "decline";
|
|
127
|
+
}>;
|
|
128
|
+
}, import("zod/v4/core").$strip>;
|
|
129
|
+
INVITATION_GET_BY_TOKEN: import("zod").ZodObject<{
|
|
130
|
+
token: import("zod").ZodString;
|
|
131
|
+
}, import("zod/v4/core").$strip>;
|
|
132
|
+
ORGANIZATION_MEMBER_LIST: import("zod").ZodObject<{
|
|
133
|
+
userId: import("zod").ZodUUID;
|
|
134
|
+
organizationId: import("zod").ZodUUID;
|
|
135
|
+
}, import("zod/v4/core").$strip>;
|
|
136
|
+
ORGANIZATION_MEMBER_REMOVE: import("zod").ZodObject<{
|
|
137
|
+
memberUserId: import("zod").ZodUUID;
|
|
138
|
+
userId: import("zod").ZodUUID;
|
|
139
|
+
organizationId: import("zod").ZodUUID;
|
|
140
|
+
}, import("zod/v4/core").$strip>;
|
|
141
|
+
PROJECT_MEMBER_LIST: import("zod").ZodObject<{
|
|
142
|
+
userId: import("zod").ZodUUID;
|
|
143
|
+
organizationId: import("zod").ZodUUID;
|
|
144
|
+
projectId: import("zod").ZodUUID;
|
|
145
|
+
}, import("zod/v4/core").$strip>;
|
|
146
|
+
PROJECT_MEMBER_REMOVE: import("zod").ZodObject<{
|
|
147
|
+
memberUserId: import("zod").ZodUUID;
|
|
148
|
+
userId: import("zod").ZodUUID;
|
|
149
|
+
organizationId: import("zod").ZodUUID;
|
|
150
|
+
projectId: import("zod").ZodUUID;
|
|
151
|
+
}, import("zod/v4/core").$strip>;
|
|
152
|
+
ARTIFACT_CREATE_PROMPT: import("zod").ZodObject<{
|
|
153
|
+
title: import("zod").ZodString;
|
|
154
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
155
|
+
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
156
|
+
role: import("zod").ZodEnum<{
|
|
157
|
+
user: "user";
|
|
158
|
+
assistant: "assistant";
|
|
159
|
+
}>;
|
|
160
|
+
content: import("zod").ZodString;
|
|
161
|
+
}, import("zod/v4/core").$strip>>;
|
|
162
|
+
schema: import("zod").ZodObject<{
|
|
163
|
+
type: import("zod").ZodEnum<{
|
|
164
|
+
[x: string]: string;
|
|
165
|
+
}>;
|
|
166
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
167
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
168
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
169
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
170
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
171
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
172
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
173
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
174
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
175
|
+
}, import("zod/v4/core").$strip>;
|
|
176
|
+
projectId: import("zod").ZodUUID;
|
|
177
|
+
userId: import("zod").ZodUUID;
|
|
178
|
+
organizationId: import("zod").ZodUUID;
|
|
179
|
+
}, import("zod/v4/core").$strip>;
|
|
180
|
+
ARTIFACT_CREATE_PROMPT_VIEW: import("zod").ZodObject<{
|
|
181
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
182
|
+
title: import("zod").ZodString;
|
|
183
|
+
schema: import("zod").ZodObject<{
|
|
184
|
+
type: import("zod").ZodEnum<{
|
|
185
|
+
[x: string]: string;
|
|
186
|
+
}>;
|
|
187
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
188
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
189
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
190
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
191
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
192
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
193
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
194
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
195
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
196
|
+
}, import("zod/v4/core").$strip>;
|
|
197
|
+
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
198
|
+
role: import("zod").ZodEnum<{
|
|
199
|
+
user: "user";
|
|
200
|
+
assistant: "assistant";
|
|
201
|
+
}>;
|
|
202
|
+
content: import("zod").ZodString;
|
|
203
|
+
}, import("zod/v4/core").$strip>>;
|
|
204
|
+
}, import("zod/v4/core").$strip>;
|
|
205
|
+
ARTIFACT_UPDATE_PROMPT: import("zod").ZodObject<{
|
|
206
|
+
promptId: import("zod").ZodUUID;
|
|
207
|
+
title: import("zod").ZodString;
|
|
208
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
209
|
+
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
210
|
+
role: import("zod").ZodEnum<{
|
|
211
|
+
user: "user";
|
|
212
|
+
assistant: "assistant";
|
|
213
|
+
}>;
|
|
214
|
+
content: import("zod").ZodString;
|
|
215
|
+
}, import("zod/v4/core").$strip>>;
|
|
216
|
+
schema: import("zod").ZodObject<{
|
|
217
|
+
type: import("zod").ZodEnum<{
|
|
218
|
+
[x: string]: string;
|
|
219
|
+
}>;
|
|
220
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
221
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
222
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
223
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
224
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
225
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
226
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
227
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
228
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
229
|
+
}, import("zod/v4/core").$strip>;
|
|
230
|
+
projectId: import("zod").ZodUUID;
|
|
231
|
+
userId: import("zod").ZodUUID;
|
|
232
|
+
organizationId: import("zod").ZodUUID;
|
|
233
|
+
}, import("zod/v4/core").$strip>;
|
|
234
|
+
ARTIFACT_UPDATE_PROMPT_VIEW: import("zod").ZodObject<{
|
|
235
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
236
|
+
title: import("zod").ZodString;
|
|
237
|
+
schema: import("zod").ZodObject<{
|
|
238
|
+
type: import("zod").ZodEnum<{
|
|
239
|
+
[x: string]: string;
|
|
240
|
+
}>;
|
|
241
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
242
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
243
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
244
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
245
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
246
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
247
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
248
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
249
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
250
|
+
}, import("zod/v4/core").$strip>;
|
|
251
|
+
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
252
|
+
role: import("zod").ZodEnum<{
|
|
253
|
+
user: "user";
|
|
254
|
+
assistant: "assistant";
|
|
255
|
+
}>;
|
|
256
|
+
content: import("zod").ZodString;
|
|
257
|
+
}, import("zod/v4/core").$strip>>;
|
|
258
|
+
}, import("zod/v4/core").$strip>;
|
|
259
|
+
ARTIFACT_GET_PROMPT: import("zod").ZodObject<{
|
|
260
|
+
projectId: import("zod").ZodUUID;
|
|
261
|
+
userId: import("zod").ZodUUID;
|
|
262
|
+
organizationId: import("zod").ZodUUID;
|
|
263
|
+
}, import("zod/v4/core").$strip>;
|
|
264
|
+
ARTIFACT_REMOVE_PROMPT: import("zod").ZodObject<{
|
|
265
|
+
promptId: import("zod").ZodUUID;
|
|
266
|
+
projectId: import("zod").ZodUUID;
|
|
267
|
+
userId: import("zod").ZodUUID;
|
|
268
|
+
organizationId: import("zod").ZodUUID;
|
|
269
|
+
}, import("zod/v4/core").$strip>;
|
|
270
|
+
ARTIFACT_CREATE_RESOURCE: import("zod").ZodObject<{
|
|
271
|
+
title: import("zod").ZodString;
|
|
272
|
+
uri: import("zod").ZodString;
|
|
273
|
+
type: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
274
|
+
static: "static";
|
|
275
|
+
template: "template";
|
|
276
|
+
}>>;
|
|
277
|
+
sourceType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
278
|
+
FILE: "FILE";
|
|
279
|
+
WEBSITE: "WEBSITE";
|
|
280
|
+
GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
|
|
281
|
+
ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
|
|
282
|
+
CUSTOM_CODE: "CUSTOM_CODE";
|
|
283
|
+
}>>;
|
|
284
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
285
|
+
mimeType: import("zod").ZodEnum<{
|
|
286
|
+
"text/plain": "text/plain";
|
|
287
|
+
"text/csv": "text/csv";
|
|
288
|
+
"text/html": "text/html";
|
|
289
|
+
"text/markdown": "text/markdown";
|
|
290
|
+
"image/png": "image/png";
|
|
291
|
+
"image/gif": "image/gif";
|
|
292
|
+
"image/jpeg": "image/jpeg";
|
|
293
|
+
"image/webp": "image/webp";
|
|
294
|
+
"image/svg+xml": "image/svg+xml";
|
|
295
|
+
"application/pdf": "application/pdf";
|
|
296
|
+
"application/json": "application/json";
|
|
297
|
+
"application/msword": "application/msword";
|
|
298
|
+
"application/vnd.ms-excel": "application/vnd.ms-excel";
|
|
299
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
300
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
301
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
302
|
+
"application/vnd.google-apps.document": "application/vnd.google-apps.document";
|
|
303
|
+
"application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
|
|
304
|
+
"application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
|
|
305
|
+
"application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
|
|
306
|
+
"application/xml": "application/xml";
|
|
307
|
+
"application/javascript": "application/javascript";
|
|
308
|
+
"application/typescript": "application/typescript";
|
|
309
|
+
"application/yaml": "application/yaml";
|
|
310
|
+
"application/x-yaml": "application/x-yaml";
|
|
311
|
+
"application/toml": "application/toml";
|
|
312
|
+
"application/x-sh": "application/x-sh";
|
|
313
|
+
"application/sql": "application/sql";
|
|
314
|
+
"application/graphql": "application/graphql";
|
|
315
|
+
"application/ld+json": "application/ld+json";
|
|
316
|
+
"application/xhtml+xml": "application/xhtml+xml";
|
|
317
|
+
"application/x-httpd-php": "application/x-httpd-php";
|
|
318
|
+
"application/x-python-code": "application/x-python-code";
|
|
319
|
+
"application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
|
|
320
|
+
"application/csv": "application/csv";
|
|
321
|
+
"application/x-ruby": "application/x-ruby";
|
|
322
|
+
"application/x-perl": "application/x-perl";
|
|
323
|
+
"application/octet-stream": "application/octet-stream";
|
|
324
|
+
}>;
|
|
325
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
326
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
327
|
+
encoding: import("zod").ZodOptional<import("zod").ZodString>;
|
|
328
|
+
fileKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
329
|
+
fileName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
330
|
+
annotations: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
331
|
+
audience: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
332
|
+
user: "user";
|
|
333
|
+
assistant: "assistant";
|
|
334
|
+
}>>>;
|
|
335
|
+
priority: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
336
|
+
lastModified: import("zod").ZodOptional<import("zod").ZodString>;
|
|
337
|
+
}, import("zod/v4/core").$strip>>;
|
|
338
|
+
icons: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
339
|
+
src: import("zod").ZodString;
|
|
340
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
341
|
+
sizes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
342
|
+
theme: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
343
|
+
[x: string]: string;
|
|
344
|
+
}>>;
|
|
345
|
+
}, import("zod/v4/core").$strip>>>;
|
|
346
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
347
|
+
crawlConfig: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
348
|
+
maxPages: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
349
|
+
maxDepth: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
350
|
+
}, import("zod/v4/core").$strip>>;
|
|
351
|
+
projectId: import("zod").ZodUUID;
|
|
352
|
+
userId: import("zod").ZodUUID;
|
|
353
|
+
organizationId: import("zod").ZodUUID;
|
|
354
|
+
}, import("zod/v4/core").$strip>;
|
|
355
|
+
ARTIFACT_CREATE_RESOURCE_VIEW: import("zod").ZodObject<{
|
|
356
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
357
|
+
type: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
358
|
+
static: "static";
|
|
359
|
+
template: "template";
|
|
360
|
+
}>>;
|
|
361
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
362
|
+
title: import("zod").ZodString;
|
|
363
|
+
uri: import("zod").ZodString;
|
|
364
|
+
crawlConfig: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
365
|
+
maxPages: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
366
|
+
maxDepth: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
367
|
+
}, import("zod/v4/core").$strip>>;
|
|
368
|
+
mimeType: import("zod").ZodEnum<{
|
|
369
|
+
"text/plain": "text/plain";
|
|
370
|
+
"text/csv": "text/csv";
|
|
371
|
+
"text/html": "text/html";
|
|
372
|
+
"text/markdown": "text/markdown";
|
|
373
|
+
"image/png": "image/png";
|
|
374
|
+
"image/gif": "image/gif";
|
|
375
|
+
"image/jpeg": "image/jpeg";
|
|
376
|
+
"image/webp": "image/webp";
|
|
377
|
+
"image/svg+xml": "image/svg+xml";
|
|
378
|
+
"application/pdf": "application/pdf";
|
|
379
|
+
"application/json": "application/json";
|
|
380
|
+
"application/msword": "application/msword";
|
|
381
|
+
"application/vnd.ms-excel": "application/vnd.ms-excel";
|
|
382
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
383
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
384
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
385
|
+
"application/vnd.google-apps.document": "application/vnd.google-apps.document";
|
|
386
|
+
"application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
|
|
387
|
+
"application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
|
|
388
|
+
"application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
|
|
389
|
+
"application/xml": "application/xml";
|
|
390
|
+
"application/javascript": "application/javascript";
|
|
391
|
+
"application/typescript": "application/typescript";
|
|
392
|
+
"application/yaml": "application/yaml";
|
|
393
|
+
"application/x-yaml": "application/x-yaml";
|
|
394
|
+
"application/toml": "application/toml";
|
|
395
|
+
"application/x-sh": "application/x-sh";
|
|
396
|
+
"application/sql": "application/sql";
|
|
397
|
+
"application/graphql": "application/graphql";
|
|
398
|
+
"application/ld+json": "application/ld+json";
|
|
399
|
+
"application/xhtml+xml": "application/xhtml+xml";
|
|
400
|
+
"application/x-httpd-php": "application/x-httpd-php";
|
|
401
|
+
"application/x-python-code": "application/x-python-code";
|
|
402
|
+
"application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
|
|
403
|
+
"application/csv": "application/csv";
|
|
404
|
+
"application/x-ruby": "application/x-ruby";
|
|
405
|
+
"application/x-perl": "application/x-perl";
|
|
406
|
+
"application/octet-stream": "application/octet-stream";
|
|
407
|
+
}>;
|
|
408
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
409
|
+
sourceType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
410
|
+
FILE: "FILE";
|
|
411
|
+
WEBSITE: "WEBSITE";
|
|
412
|
+
GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
|
|
413
|
+
ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
|
|
414
|
+
CUSTOM_CODE: "CUSTOM_CODE";
|
|
415
|
+
}>>;
|
|
416
|
+
encoding: import("zod").ZodOptional<import("zod").ZodString>;
|
|
417
|
+
fileKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
418
|
+
fileName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
419
|
+
annotations: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
420
|
+
audience: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
421
|
+
user: "user";
|
|
422
|
+
assistant: "assistant";
|
|
423
|
+
}>>>;
|
|
424
|
+
priority: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
425
|
+
lastModified: import("zod").ZodOptional<import("zod").ZodString>;
|
|
426
|
+
}, import("zod/v4/core").$strip>>;
|
|
427
|
+
icons: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
428
|
+
src: import("zod").ZodString;
|
|
429
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
430
|
+
sizes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
431
|
+
theme: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
432
|
+
[x: string]: string;
|
|
433
|
+
}>>;
|
|
434
|
+
}, import("zod/v4/core").$strip>>>;
|
|
435
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
436
|
+
}, import("zod/v4/core").$strip>;
|
|
437
|
+
ARTIFACT_CREATE_WEBSITE: import("zod").ZodObject<{
|
|
438
|
+
title: import("zod").ZodString;
|
|
439
|
+
uri: import("zod").ZodURL;
|
|
440
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
441
|
+
crawlConfig: import("zod").ZodObject<{
|
|
442
|
+
maxPages: import("zod").ZodNumber;
|
|
443
|
+
maxDepth: import("zod").ZodNumber;
|
|
444
|
+
}, import("zod/v4/core").$strip>;
|
|
445
|
+
projectId: import("zod").ZodUUID;
|
|
446
|
+
userId: import("zod").ZodUUID;
|
|
447
|
+
organizationId: import("zod").ZodUUID;
|
|
448
|
+
}, import("zod/v4/core").$strip>;
|
|
449
|
+
ARTIFACT_CREATE_WEBSITE_VIEW: import("zod").ZodObject<{
|
|
450
|
+
title: import("zod").ZodString;
|
|
451
|
+
uri: import("zod").ZodURL;
|
|
452
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
453
|
+
maxPages: import("zod").ZodNumber;
|
|
454
|
+
maxDepth: import("zod").ZodNumber;
|
|
455
|
+
}, import("zod/v4/core").$strip>;
|
|
456
|
+
ARTIFACT_UPDATE_WEBSITE: import("zod").ZodObject<{
|
|
457
|
+
title: import("zod").ZodString;
|
|
458
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
459
|
+
resourceId: import("zod").ZodUUID;
|
|
460
|
+
projectId: import("zod").ZodUUID;
|
|
461
|
+
userId: import("zod").ZodUUID;
|
|
462
|
+
organizationId: import("zod").ZodUUID;
|
|
463
|
+
}, import("zod/v4/core").$strip>;
|
|
464
|
+
ARTIFACT_UPDATE_WEBSITE_VIEW: import("zod").ZodObject<{
|
|
465
|
+
title: import("zod").ZodString;
|
|
466
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
467
|
+
}, import("zod/v4/core").$strip>;
|
|
468
|
+
ARTIFACT_CREATE_GOOGLE_DRIVE: import("zod").ZodObject<{
|
|
469
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
470
|
+
fileId: import("zod").ZodString;
|
|
471
|
+
name: import("zod").ZodString;
|
|
472
|
+
mimeType: import("zod").ZodString;
|
|
473
|
+
isFolder: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
474
|
+
iconLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
475
|
+
webViewLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
476
|
+
modifiedTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
477
|
+
size: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
478
|
+
}, import("zod/v4/core").$strip>>;
|
|
479
|
+
projectId: import("zod").ZodUUID;
|
|
480
|
+
userId: import("zod").ZodUUID;
|
|
481
|
+
organizationId: import("zod").ZodUUID;
|
|
482
|
+
}, import("zod/v4/core").$strip>;
|
|
483
|
+
ARTIFACT_CREATE_GOOGLE_DRIVE_VIEW: import("zod").ZodObject<{
|
|
484
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
485
|
+
fileId: import("zod").ZodString;
|
|
486
|
+
name: import("zod").ZodString;
|
|
487
|
+
mimeType: import("zod").ZodString;
|
|
488
|
+
isFolder: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
489
|
+
iconLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
490
|
+
webViewLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
491
|
+
modifiedTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
492
|
+
size: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
493
|
+
}, import("zod/v4/core").$strip>>;
|
|
494
|
+
}, import("zod/v4/core").$strip>;
|
|
495
|
+
ARTIFACT_SYNC_GOOGLE_DRIVE: import("zod").ZodObject<{
|
|
496
|
+
resourceId: import("zod").ZodUUID;
|
|
497
|
+
projectId: import("zod").ZodUUID;
|
|
498
|
+
userId: import("zod").ZodUUID;
|
|
499
|
+
organizationId: import("zod").ZodUUID;
|
|
500
|
+
}, import("zod/v4/core").$strip>;
|
|
501
|
+
ARTIFACT_CREATE_ONE_DRIVE: import("zod").ZodObject<{
|
|
502
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
503
|
+
itemId: import("zod").ZodString;
|
|
504
|
+
driveId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
505
|
+
name: import("zod").ZodString;
|
|
506
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
507
|
+
isFolder: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
508
|
+
webUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
509
|
+
lastModifiedDateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
510
|
+
size: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
511
|
+
}, import("zod/v4/core").$strip>>;
|
|
512
|
+
projectId: import("zod").ZodUUID;
|
|
513
|
+
userId: import("zod").ZodUUID;
|
|
514
|
+
organizationId: import("zod").ZodUUID;
|
|
515
|
+
}, import("zod/v4/core").$strip>;
|
|
516
|
+
ARTIFACT_CREATE_ONE_DRIVE_VIEW: import("zod").ZodObject<{
|
|
517
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
518
|
+
itemId: import("zod").ZodString;
|
|
519
|
+
driveId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
520
|
+
name: import("zod").ZodString;
|
|
521
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
522
|
+
isFolder: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
523
|
+
webUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
524
|
+
lastModifiedDateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
525
|
+
size: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
526
|
+
}, import("zod/v4/core").$strip>>;
|
|
527
|
+
}, import("zod/v4/core").$strip>;
|
|
528
|
+
ARTIFACT_SYNC_ONE_DRIVE: import("zod").ZodObject<{
|
|
529
|
+
resourceId: import("zod").ZodUUID;
|
|
530
|
+
projectId: import("zod").ZodUUID;
|
|
531
|
+
userId: import("zod").ZodUUID;
|
|
532
|
+
organizationId: import("zod").ZodUUID;
|
|
533
|
+
}, import("zod/v4/core").$strip>;
|
|
534
|
+
ARTIFACT_UPDATE_RESOURCE: import("zod").ZodObject<{
|
|
535
|
+
resourceId: import("zod").ZodUUID;
|
|
536
|
+
title: import("zod").ZodString;
|
|
537
|
+
uri: import("zod").ZodString;
|
|
538
|
+
type: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
539
|
+
static: "static";
|
|
540
|
+
template: "template";
|
|
541
|
+
}>>;
|
|
542
|
+
sourceType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
543
|
+
FILE: "FILE";
|
|
544
|
+
WEBSITE: "WEBSITE";
|
|
545
|
+
GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
|
|
546
|
+
ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
|
|
547
|
+
CUSTOM_CODE: "CUSTOM_CODE";
|
|
548
|
+
}>>;
|
|
549
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
550
|
+
mimeType: import("zod").ZodEnum<{
|
|
551
|
+
"text/plain": "text/plain";
|
|
552
|
+
"text/csv": "text/csv";
|
|
553
|
+
"text/html": "text/html";
|
|
554
|
+
"text/markdown": "text/markdown";
|
|
555
|
+
"image/png": "image/png";
|
|
556
|
+
"image/gif": "image/gif";
|
|
557
|
+
"image/jpeg": "image/jpeg";
|
|
558
|
+
"image/webp": "image/webp";
|
|
559
|
+
"image/svg+xml": "image/svg+xml";
|
|
560
|
+
"application/pdf": "application/pdf";
|
|
561
|
+
"application/json": "application/json";
|
|
562
|
+
"application/msword": "application/msword";
|
|
563
|
+
"application/vnd.ms-excel": "application/vnd.ms-excel";
|
|
564
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
565
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
566
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
567
|
+
"application/vnd.google-apps.document": "application/vnd.google-apps.document";
|
|
568
|
+
"application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
|
|
569
|
+
"application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
|
|
570
|
+
"application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
|
|
571
|
+
"application/xml": "application/xml";
|
|
572
|
+
"application/javascript": "application/javascript";
|
|
573
|
+
"application/typescript": "application/typescript";
|
|
574
|
+
"application/yaml": "application/yaml";
|
|
575
|
+
"application/x-yaml": "application/x-yaml";
|
|
576
|
+
"application/toml": "application/toml";
|
|
577
|
+
"application/x-sh": "application/x-sh";
|
|
578
|
+
"application/sql": "application/sql";
|
|
579
|
+
"application/graphql": "application/graphql";
|
|
580
|
+
"application/ld+json": "application/ld+json";
|
|
581
|
+
"application/xhtml+xml": "application/xhtml+xml";
|
|
582
|
+
"application/x-httpd-php": "application/x-httpd-php";
|
|
583
|
+
"application/x-python-code": "application/x-python-code";
|
|
584
|
+
"application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
|
|
585
|
+
"application/csv": "application/csv";
|
|
586
|
+
"application/x-ruby": "application/x-ruby";
|
|
587
|
+
"application/x-perl": "application/x-perl";
|
|
588
|
+
"application/octet-stream": "application/octet-stream";
|
|
589
|
+
}>;
|
|
590
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
591
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
592
|
+
encoding: import("zod").ZodOptional<import("zod").ZodString>;
|
|
593
|
+
fileKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
594
|
+
fileName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
595
|
+
annotations: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
596
|
+
audience: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
597
|
+
user: "user";
|
|
598
|
+
assistant: "assistant";
|
|
599
|
+
}>>>;
|
|
600
|
+
priority: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
601
|
+
lastModified: import("zod").ZodOptional<import("zod").ZodString>;
|
|
602
|
+
}, import("zod/v4/core").$strip>>;
|
|
603
|
+
icons: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
604
|
+
src: import("zod").ZodString;
|
|
605
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
606
|
+
sizes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
607
|
+
theme: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
608
|
+
[x: string]: string;
|
|
609
|
+
}>>;
|
|
610
|
+
}, import("zod/v4/core").$strip>>>;
|
|
611
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
612
|
+
projectId: import("zod").ZodUUID;
|
|
613
|
+
userId: import("zod").ZodUUID;
|
|
614
|
+
organizationId: import("zod").ZodUUID;
|
|
615
|
+
}, import("zod/v4/core").$strip>;
|
|
616
|
+
ARTIFACT_UPDATE_RESOURCE_VIEW: import("zod").ZodObject<{
|
|
617
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
618
|
+
type: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
619
|
+
static: "static";
|
|
620
|
+
template: "template";
|
|
621
|
+
}>>;
|
|
622
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
623
|
+
title: import("zod").ZodString;
|
|
624
|
+
uri: import("zod").ZodString;
|
|
625
|
+
mimeType: import("zod").ZodEnum<{
|
|
626
|
+
"text/plain": "text/plain";
|
|
627
|
+
"text/csv": "text/csv";
|
|
628
|
+
"text/html": "text/html";
|
|
629
|
+
"text/markdown": "text/markdown";
|
|
630
|
+
"image/png": "image/png";
|
|
631
|
+
"image/gif": "image/gif";
|
|
632
|
+
"image/jpeg": "image/jpeg";
|
|
633
|
+
"image/webp": "image/webp";
|
|
634
|
+
"image/svg+xml": "image/svg+xml";
|
|
635
|
+
"application/pdf": "application/pdf";
|
|
636
|
+
"application/json": "application/json";
|
|
637
|
+
"application/msword": "application/msword";
|
|
638
|
+
"application/vnd.ms-excel": "application/vnd.ms-excel";
|
|
639
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
640
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
641
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
642
|
+
"application/vnd.google-apps.document": "application/vnd.google-apps.document";
|
|
643
|
+
"application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
|
|
644
|
+
"application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
|
|
645
|
+
"application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
|
|
646
|
+
"application/xml": "application/xml";
|
|
647
|
+
"application/javascript": "application/javascript";
|
|
648
|
+
"application/typescript": "application/typescript";
|
|
649
|
+
"application/yaml": "application/yaml";
|
|
650
|
+
"application/x-yaml": "application/x-yaml";
|
|
651
|
+
"application/toml": "application/toml";
|
|
652
|
+
"application/x-sh": "application/x-sh";
|
|
653
|
+
"application/sql": "application/sql";
|
|
654
|
+
"application/graphql": "application/graphql";
|
|
655
|
+
"application/ld+json": "application/ld+json";
|
|
656
|
+
"application/xhtml+xml": "application/xhtml+xml";
|
|
657
|
+
"application/x-httpd-php": "application/x-httpd-php";
|
|
658
|
+
"application/x-python-code": "application/x-python-code";
|
|
659
|
+
"application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
|
|
660
|
+
"application/csv": "application/csv";
|
|
661
|
+
"application/x-ruby": "application/x-ruby";
|
|
662
|
+
"application/x-perl": "application/x-perl";
|
|
663
|
+
"application/octet-stream": "application/octet-stream";
|
|
664
|
+
}>;
|
|
665
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
666
|
+
sourceType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
667
|
+
FILE: "FILE";
|
|
668
|
+
WEBSITE: "WEBSITE";
|
|
669
|
+
GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
|
|
670
|
+
ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
|
|
671
|
+
CUSTOM_CODE: "CUSTOM_CODE";
|
|
672
|
+
}>>;
|
|
673
|
+
encoding: import("zod").ZodOptional<import("zod").ZodString>;
|
|
674
|
+
fileKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
675
|
+
fileName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
676
|
+
annotations: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
677
|
+
audience: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
678
|
+
user: "user";
|
|
679
|
+
assistant: "assistant";
|
|
680
|
+
}>>>;
|
|
681
|
+
priority: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
682
|
+
lastModified: import("zod").ZodOptional<import("zod").ZodString>;
|
|
683
|
+
}, import("zod/v4/core").$strip>>;
|
|
684
|
+
icons: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
685
|
+
src: import("zod").ZodString;
|
|
686
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
687
|
+
sizes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
688
|
+
theme: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
689
|
+
[x: string]: string;
|
|
690
|
+
}>>;
|
|
691
|
+
}, import("zod/v4/core").$strip>>>;
|
|
692
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
693
|
+
}, import("zod/v4/core").$strip>;
|
|
694
|
+
ARTIFACT_GET_RESOURCE: import("zod").ZodObject<{
|
|
695
|
+
projectId: import("zod").ZodUUID;
|
|
696
|
+
userId: import("zod").ZodUUID;
|
|
697
|
+
organizationId: import("zod").ZodUUID;
|
|
698
|
+
}, import("zod/v4/core").$strip>;
|
|
699
|
+
ARTIFACT_GET_RESOURCE_BY_ID: import("zod").ZodObject<{
|
|
700
|
+
resourceId: import("zod").ZodUUID;
|
|
701
|
+
projectId: import("zod").ZodUUID;
|
|
702
|
+
userId: import("zod").ZodUUID;
|
|
703
|
+
organizationId: import("zod").ZodUUID;
|
|
704
|
+
}, import("zod/v4/core").$strip>;
|
|
705
|
+
ARTIFACT_REMOVE_RESOURCE: import("zod").ZodObject<{
|
|
706
|
+
resourceId: import("zod").ZodUUID;
|
|
707
|
+
projectId: import("zod").ZodUUID;
|
|
708
|
+
userId: import("zod").ZodUUID;
|
|
709
|
+
organizationId: import("zod").ZodUUID;
|
|
710
|
+
}, import("zod/v4/core").$strip>;
|
|
711
|
+
ARTIFACT_UPLOAD_RESOURCE_FILE: import("zod").ZodObject<{
|
|
712
|
+
resourceId: import("zod").ZodUUID;
|
|
713
|
+
projectId: import("zod").ZodUUID;
|
|
714
|
+
userId: import("zod").ZodUUID;
|
|
715
|
+
organizationId: import("zod").ZodUUID;
|
|
716
|
+
}, import("zod/v4/core").$strip>;
|
|
717
|
+
ARTIFACT_DOWNLOAD_RESOURCE_FILE: import("zod").ZodObject<{
|
|
718
|
+
resourceId: import("zod").ZodUUID;
|
|
719
|
+
projectId: import("zod").ZodUUID;
|
|
720
|
+
userId: import("zod").ZodUUID;
|
|
721
|
+
organizationId: import("zod").ZodUUID;
|
|
722
|
+
}, import("zod/v4/core").$strip>;
|
|
723
|
+
ARTIFACT_CREATE_TOOL: import("zod").ZodObject<{
|
|
724
|
+
toolKey: import("zod").ZodString;
|
|
725
|
+
config: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
726
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
727
|
+
projectId: import("zod").ZodUUID;
|
|
728
|
+
userId: import("zod").ZodUUID;
|
|
729
|
+
organizationId: import("zod").ZodUUID;
|
|
730
|
+
}, import("zod/v4/core").$strip>;
|
|
731
|
+
ARTIFACT_UPDATE_TOOL: import("zod").ZodObject<{
|
|
732
|
+
toolId: import("zod").ZodUUID;
|
|
733
|
+
config: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
734
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
735
|
+
projectId: import("zod").ZodUUID;
|
|
736
|
+
userId: import("zod").ZodUUID;
|
|
737
|
+
organizationId: import("zod").ZodUUID;
|
|
738
|
+
}, import("zod/v4/core").$strip>;
|
|
739
|
+
ARTIFACT_GET_TOOL: import("zod").ZodObject<{
|
|
740
|
+
projectId: import("zod").ZodUUID;
|
|
741
|
+
userId: import("zod").ZodUUID;
|
|
742
|
+
organizationId: import("zod").ZodUUID;
|
|
743
|
+
}, import("zod/v4/core").$strip>;
|
|
744
|
+
ARTIFACT_REMOVE_TOOL: import("zod").ZodObject<{
|
|
745
|
+
toolId: import("zod").ZodUUID;
|
|
746
|
+
projectId: import("zod").ZodUUID;
|
|
747
|
+
userId: import("zod").ZodUUID;
|
|
748
|
+
organizationId: import("zod").ZodUUID;
|
|
749
|
+
}, import("zod/v4/core").$strip>;
|
|
750
|
+
ARTIFACT_SET_TOOL_ENABLED: import("zod").ZodObject<{
|
|
751
|
+
toolId: import("zod").ZodUUID;
|
|
752
|
+
enabled: import("zod").ZodBoolean;
|
|
753
|
+
projectId: import("zod").ZodUUID;
|
|
754
|
+
userId: import("zod").ZodUUID;
|
|
755
|
+
organizationId: import("zod").ZodUUID;
|
|
756
|
+
}, import("zod/v4/core").$strip>;
|
|
757
|
+
ARTIFACT_GET_CREDENTIAL: import("zod").ZodObject<{
|
|
758
|
+
projectId: import("zod").ZodUUID;
|
|
759
|
+
userId: import("zod").ZodUUID;
|
|
760
|
+
organizationId: import("zod").ZodUUID;
|
|
761
|
+
}, import("zod/v4/core").$strip>;
|
|
762
|
+
ARTIFACT_LIST_CONNECTIONS: import("zod").ZodObject<{
|
|
763
|
+
projectId: import("zod").ZodUUID;
|
|
764
|
+
userId: import("zod").ZodUUID;
|
|
765
|
+
organizationId: import("zod").ZodUUID;
|
|
766
|
+
}, import("zod/v4/core").$strip>;
|
|
767
|
+
ARTIFACT_REMOVE_CREDENTIAL: import("zod").ZodObject<{
|
|
768
|
+
credentialId: import("zod").ZodUUID;
|
|
769
|
+
projectId: import("zod").ZodUUID;
|
|
770
|
+
userId: import("zod").ZodUUID;
|
|
771
|
+
organizationId: import("zod").ZodUUID;
|
|
772
|
+
}, import("zod/v4/core").$strip>;
|
|
773
|
+
ARTIFACT_CREATE_CREDENTIAL: import("zod").ZodObject<{
|
|
774
|
+
provider: import("zod").ZodEnum<{
|
|
775
|
+
"custom-code": "custom-code";
|
|
776
|
+
calcom: "calcom";
|
|
777
|
+
tavily: "tavily";
|
|
778
|
+
"http-endpoint": "http-endpoint";
|
|
779
|
+
"mcp-proxy": "mcp-proxy";
|
|
780
|
+
}>;
|
|
781
|
+
apiKey: import("zod").ZodString;
|
|
782
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
783
|
+
projectId: import("zod").ZodUUID;
|
|
784
|
+
userId: import("zod").ZodUUID;
|
|
785
|
+
organizationId: import("zod").ZodUUID;
|
|
786
|
+
}, import("zod/v4/core").$strip>;
|
|
787
|
+
ARTIFACT_GET: import("zod").ZodObject<{
|
|
788
|
+
projectId: import("zod").ZodUUID;
|
|
789
|
+
userId: import("zod").ZodUUID;
|
|
790
|
+
organizationId: import("zod").ZodUUID;
|
|
791
|
+
}, import("zod/v4/core").$strip>;
|
|
792
|
+
ARTIFACT_UPDATE_SLUG: import("zod").ZodObject<{
|
|
793
|
+
slug: import("zod").ZodString;
|
|
794
|
+
projectId: import("zod").ZodUUID;
|
|
795
|
+
userId: import("zod").ZodUUID;
|
|
796
|
+
organizationId: import("zod").ZodUUID;
|
|
797
|
+
}, import("zod/v4/core").$strip>;
|
|
798
|
+
ARTIFACT_UPDATE_SLUG_VIEW: import("zod").ZodObject<{
|
|
799
|
+
slug: import("zod").ZodString;
|
|
800
|
+
}, import("zod/v4/core").$strip>;
|
|
801
|
+
ORGANIZATION_LIST_LLM: import("zod").ZodObject<{
|
|
802
|
+
userId: import("zod").ZodUUID;
|
|
803
|
+
organizationId: import("zod").ZodUUID;
|
|
804
|
+
}, import("zod/v4/core").$strip>;
|
|
805
|
+
ORGANIZATION_CREATE_LLM: import("zod").ZodObject<{
|
|
806
|
+
name: import("zod").ZodString;
|
|
807
|
+
provider: import("zod").ZodEnum<{
|
|
808
|
+
google: "google";
|
|
809
|
+
anthropic: "anthropic";
|
|
810
|
+
openai: "openai";
|
|
811
|
+
"openai-compatible": "openai-compatible";
|
|
812
|
+
}>;
|
|
813
|
+
model: import("zod").ZodString;
|
|
814
|
+
baseUrl: import("zod").ZodUnion<[import("zod").ZodOptional<import("zod").ZodURL>, import("zod").ZodLiteral<"">]>;
|
|
815
|
+
apiKey: import("zod").ZodString;
|
|
816
|
+
systemPrompt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
817
|
+
config: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
818
|
+
userId: import("zod").ZodUUID;
|
|
819
|
+
organizationId: import("zod").ZodUUID;
|
|
820
|
+
}, import("zod/v4/core").$strip>;
|
|
821
|
+
ORGANIZATION_CREATE_LLM_VIEW: import("zod").ZodObject<{
|
|
822
|
+
name: import("zod").ZodString;
|
|
823
|
+
config: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
824
|
+
provider: import("zod").ZodEnum<{
|
|
825
|
+
google: "google";
|
|
826
|
+
anthropic: "anthropic";
|
|
827
|
+
openai: "openai";
|
|
828
|
+
"openai-compatible": "openai-compatible";
|
|
829
|
+
}>;
|
|
830
|
+
apiKey: import("zod").ZodString;
|
|
831
|
+
model: import("zod").ZodString;
|
|
832
|
+
baseUrl: import("zod").ZodUnion<[import("zod").ZodOptional<import("zod").ZodURL>, import("zod").ZodLiteral<"">]>;
|
|
833
|
+
systemPrompt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
834
|
+
}, import("zod/v4/core").$strip>;
|
|
835
|
+
ORGANIZATION_UPDATE_LLM: import("zod").ZodObject<{
|
|
836
|
+
llmId: import("zod").ZodUUID;
|
|
837
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
838
|
+
provider: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
839
|
+
google: "google";
|
|
840
|
+
anthropic: "anthropic";
|
|
841
|
+
openai: "openai";
|
|
842
|
+
"openai-compatible": "openai-compatible";
|
|
843
|
+
}>>;
|
|
844
|
+
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
845
|
+
baseUrl: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodOptional<import("zod").ZodURL>, import("zod").ZodLiteral<"">]>>;
|
|
846
|
+
apiKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
847
|
+
systemPrompt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
848
|
+
config: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
|
|
849
|
+
userId: import("zod").ZodUUID;
|
|
850
|
+
organizationId: import("zod").ZodUUID;
|
|
851
|
+
}, import("zod/v4/core").$strip>;
|
|
852
|
+
ORGANIZATION_UPDATE_LLM_VIEW: import("zod").ZodObject<{
|
|
853
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
854
|
+
config: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>>;
|
|
855
|
+
provider: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
856
|
+
google: "google";
|
|
857
|
+
anthropic: "anthropic";
|
|
858
|
+
openai: "openai";
|
|
859
|
+
"openai-compatible": "openai-compatible";
|
|
860
|
+
}>>;
|
|
861
|
+
apiKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
862
|
+
model: import("zod").ZodOptional<import("zod").ZodString>;
|
|
863
|
+
baseUrl: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodOptional<import("zod").ZodURL>, import("zod").ZodLiteral<"">]>>;
|
|
864
|
+
systemPrompt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
865
|
+
}, import("zod/v4/core").$strip>;
|
|
866
|
+
ORGANIZATION_REMOVE_LLM: import("zod").ZodObject<{
|
|
867
|
+
llmId: import("zod").ZodUUID;
|
|
868
|
+
userId: import("zod").ZodUUID;
|
|
869
|
+
organizationId: import("zod").ZodUUID;
|
|
870
|
+
}, import("zod/v4/core").$strip>;
|
|
871
|
+
CHANNEL_CONFIG: import("zod").ZodObject<{
|
|
872
|
+
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
873
|
+
}, import("zod/v4/core").$loose>;
|
|
874
|
+
CHANNEL_CREATE: import("zod").ZodObject<{
|
|
875
|
+
platform: import("zod").ZodEnum<{
|
|
876
|
+
slack: "slack";
|
|
877
|
+
telegram: "telegram";
|
|
878
|
+
whatsapp: "whatsapp";
|
|
879
|
+
discord: "discord";
|
|
880
|
+
}>;
|
|
881
|
+
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
882
|
+
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
883
|
+
}, import("zod/v4/core").$loose>>;
|
|
884
|
+
credentials: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
885
|
+
llmId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
886
|
+
projectId: import("zod").ZodUUID;
|
|
887
|
+
userId: import("zod").ZodUUID;
|
|
888
|
+
organizationId: import("zod").ZodUUID;
|
|
889
|
+
}, import("zod/v4/core").$strip>;
|
|
890
|
+
CHANNEL_CREATE_VIEW: import("zod").ZodObject<{
|
|
891
|
+
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
892
|
+
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
893
|
+
}, import("zod/v4/core").$loose>>;
|
|
894
|
+
llmId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
895
|
+
platform: import("zod").ZodEnum<{
|
|
896
|
+
slack: "slack";
|
|
897
|
+
telegram: "telegram";
|
|
898
|
+
whatsapp: "whatsapp";
|
|
899
|
+
discord: "discord";
|
|
900
|
+
}>;
|
|
901
|
+
credentials: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
902
|
+
}, import("zod/v4/core").$strip>;
|
|
903
|
+
CHANNEL_UPDATE: import("zod").ZodObject<{
|
|
904
|
+
channelId: import("zod").ZodUUID;
|
|
905
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
906
|
+
[x: string]: string;
|
|
907
|
+
}>>;
|
|
908
|
+
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
909
|
+
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
910
|
+
}, import("zod/v4/core").$loose>>;
|
|
911
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
912
|
+
llmId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
913
|
+
projectId: import("zod").ZodUUID;
|
|
914
|
+
userId: import("zod").ZodUUID;
|
|
915
|
+
organizationId: import("zod").ZodUUID;
|
|
916
|
+
}, import("zod/v4/core").$strip>;
|
|
917
|
+
CHANNEL_UPDATE_VIEW: import("zod").ZodObject<{
|
|
918
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
919
|
+
[x: string]: string;
|
|
920
|
+
}>>;
|
|
921
|
+
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
922
|
+
debounceMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
923
|
+
}, import("zod/v4/core").$loose>>;
|
|
924
|
+
llmId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
925
|
+
credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
926
|
+
}, import("zod/v4/core").$strip>;
|
|
927
|
+
CHANNEL_GET: import("zod").ZodObject<{
|
|
928
|
+
projectId: import("zod").ZodUUID;
|
|
929
|
+
userId: import("zod").ZodUUID;
|
|
930
|
+
organizationId: import("zod").ZodUUID;
|
|
931
|
+
}, import("zod/v4/core").$strip>;
|
|
932
|
+
CHANNEL_REMOVE: import("zod").ZodObject<{
|
|
933
|
+
channelId: import("zod").ZodUUID;
|
|
934
|
+
projectId: import("zod").ZodUUID;
|
|
935
|
+
userId: import("zod").ZodUUID;
|
|
936
|
+
organizationId: import("zod").ZodUUID;
|
|
937
|
+
}, import("zod/v4/core").$strip>;
|
|
938
|
+
CHANNEL_LIST_CONVERSATIONS: import("zod").ZodObject<{
|
|
939
|
+
channelId: import("zod").ZodUUID;
|
|
940
|
+
projectId: import("zod").ZodUUID;
|
|
941
|
+
userId: import("zod").ZodUUID;
|
|
942
|
+
organizationId: import("zod").ZodUUID;
|
|
943
|
+
}, import("zod/v4/core").$strip>;
|
|
944
|
+
CHANNEL_LIST_MESSAGES: import("zod").ZodObject<{
|
|
945
|
+
channelId: import("zod").ZodUUID;
|
|
946
|
+
conversationId: import("zod").ZodUUID;
|
|
947
|
+
projectId: import("zod").ZodUUID;
|
|
948
|
+
userId: import("zod").ZodUUID;
|
|
949
|
+
organizationId: import("zod").ZodUUID;
|
|
950
|
+
}, import("zod/v4/core").$strip>;
|
|
951
|
+
ARTIFACT_UPDATE_RESOURCE_SHOW_SOURCE: import("zod").ZodObject<{
|
|
952
|
+
resourceId: import("zod").ZodUUID;
|
|
953
|
+
showSource: import("zod").ZodEnum<{
|
|
954
|
+
[x: string]: string;
|
|
955
|
+
}>;
|
|
956
|
+
projectId: import("zod").ZodUUID;
|
|
957
|
+
userId: import("zod").ZodUUID;
|
|
958
|
+
organizationId: import("zod").ZodUUID;
|
|
959
|
+
}, import("zod/v4/core").$strip>;
|
|
960
|
+
HTTP_ENDPOINT_CONFIG: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
961
|
+
name: import("zod").ZodString;
|
|
962
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
963
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
964
|
+
method: import("zod").ZodPreprocess<import("zod").ZodEnum<{
|
|
965
|
+
GET: "GET";
|
|
966
|
+
POST: "POST";
|
|
967
|
+
PUT: "PUT";
|
|
968
|
+
PATCH: "PATCH";
|
|
969
|
+
DELETE: "DELETE";
|
|
970
|
+
}>>;
|
|
971
|
+
url: import("zod").ZodString;
|
|
972
|
+
headers: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
973
|
+
name: import("zod").ZodString;
|
|
974
|
+
value: import("zod").ZodString;
|
|
975
|
+
}, import("zod/v4/core").$strip>>>;
|
|
976
|
+
query: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
977
|
+
name: import("zod").ZodString;
|
|
978
|
+
value: import("zod").ZodString;
|
|
979
|
+
}, import("zod/v4/core").$strip>>>;
|
|
980
|
+
body: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
981
|
+
kind: import("zod").ZodEnum<{
|
|
982
|
+
json: "json";
|
|
983
|
+
none: "none";
|
|
984
|
+
text: "text";
|
|
985
|
+
form: "form";
|
|
986
|
+
}>;
|
|
987
|
+
template: import("zod").ZodDefault<import("zod").ZodString>;
|
|
988
|
+
}, import("zod/v4/core").$strip>>;
|
|
989
|
+
inputSchema: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
990
|
+
type: import("zod").ZodEnum<{
|
|
991
|
+
[x: string]: string;
|
|
992
|
+
}>;
|
|
993
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
994
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
995
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
996
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
997
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
998
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
999
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1000
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1001
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1002
|
+
}, import("zod/v4/core").$strip>>;
|
|
1003
|
+
outputSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1004
|
+
type: import("zod").ZodEnum<{
|
|
1005
|
+
[x: string]: string;
|
|
1006
|
+
}>;
|
|
1007
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1008
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1009
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
1010
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1011
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1012
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1013
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1014
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1015
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1016
|
+
}, import("zod/v4/core").$strip>>;
|
|
1017
|
+
response: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
1018
|
+
contentType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1019
|
+
json: "json";
|
|
1020
|
+
text: "text";
|
|
1021
|
+
auto: "auto";
|
|
1022
|
+
}>>;
|
|
1023
|
+
maxBytes: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodNumber>, import("zod").ZodTransform<number, number>>;
|
|
1024
|
+
jsonPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1025
|
+
successStatus: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber>>;
|
|
1026
|
+
}, import("zod/v4/core").$strip>>;
|
|
1027
|
+
auth: import("zod").ZodDefault<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1028
|
+
kind: import("zod").ZodLiteral<"none">;
|
|
1029
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1030
|
+
kind: import("zod").ZodLiteral<"bearer">;
|
|
1031
|
+
credentialId: import("zod").ZodUUID;
|
|
1032
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1033
|
+
kind: import("zod").ZodLiteral<"basic">;
|
|
1034
|
+
credentialId: import("zod").ZodUUID;
|
|
1035
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1036
|
+
kind: import("zod").ZodLiteral<"oauth">;
|
|
1037
|
+
credentialId: import("zod").ZodUUID;
|
|
1038
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1039
|
+
kind: import("zod").ZodLiteral<"api-key">;
|
|
1040
|
+
in: import("zod").ZodEnum<{
|
|
1041
|
+
header: "header";
|
|
1042
|
+
query: "query";
|
|
1043
|
+
}>;
|
|
1044
|
+
name: import("zod").ZodString;
|
|
1045
|
+
credentialId: import("zod").ZodUUID;
|
|
1046
|
+
}, import("zod/v4/core").$strip>], "kind">>;
|
|
1047
|
+
timeoutMs: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodNumber>, import("zod").ZodTransform<number, number>>;
|
|
1048
|
+
allowedHosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1049
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
1050
|
+
title: string;
|
|
1051
|
+
description: string;
|
|
1052
|
+
name: string;
|
|
1053
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1054
|
+
url: string;
|
|
1055
|
+
headers: {
|
|
1056
|
+
name: string;
|
|
1057
|
+
value: string;
|
|
1058
|
+
}[];
|
|
1059
|
+
query: {
|
|
1060
|
+
name: string;
|
|
1061
|
+
value: string;
|
|
1062
|
+
}[];
|
|
1063
|
+
body: {
|
|
1064
|
+
kind: "json" | "none" | "text" | "form";
|
|
1065
|
+
template: string;
|
|
1066
|
+
};
|
|
1067
|
+
inputSchema: {
|
|
1068
|
+
type: string;
|
|
1069
|
+
properties?: Record<string, any> | undefined;
|
|
1070
|
+
required?: string[] | undefined;
|
|
1071
|
+
items?: any;
|
|
1072
|
+
minimum?: number | undefined;
|
|
1073
|
+
maximum?: number | undefined;
|
|
1074
|
+
minLength?: number | undefined;
|
|
1075
|
+
maxLength?: number | undefined;
|
|
1076
|
+
pattern?: string | undefined;
|
|
1077
|
+
enum?: any[] | undefined;
|
|
1078
|
+
};
|
|
1079
|
+
response: {
|
|
1080
|
+
contentType: "json" | "text" | "auto";
|
|
1081
|
+
maxBytes: number;
|
|
1082
|
+
jsonPath?: string | undefined;
|
|
1083
|
+
successStatus?: number[] | undefined;
|
|
1084
|
+
};
|
|
1085
|
+
auth: {
|
|
1086
|
+
kind: "none";
|
|
1087
|
+
} | {
|
|
1088
|
+
kind: "bearer";
|
|
1089
|
+
credentialId: string;
|
|
1090
|
+
} | {
|
|
1091
|
+
kind: "basic";
|
|
1092
|
+
credentialId: string;
|
|
1093
|
+
} | {
|
|
1094
|
+
kind: "oauth";
|
|
1095
|
+
credentialId: string;
|
|
1096
|
+
} | {
|
|
1097
|
+
kind: "api-key";
|
|
1098
|
+
in: "header" | "query";
|
|
1099
|
+
name: string;
|
|
1100
|
+
credentialId: string;
|
|
1101
|
+
};
|
|
1102
|
+
timeoutMs: number;
|
|
1103
|
+
outputSchema?: {
|
|
1104
|
+
type: string;
|
|
1105
|
+
properties?: Record<string, any> | undefined;
|
|
1106
|
+
required?: string[] | undefined;
|
|
1107
|
+
items?: any;
|
|
1108
|
+
minimum?: number | undefined;
|
|
1109
|
+
maximum?: number | undefined;
|
|
1110
|
+
minLength?: number | undefined;
|
|
1111
|
+
maxLength?: number | undefined;
|
|
1112
|
+
pattern?: string | undefined;
|
|
1113
|
+
enum?: any[] | undefined;
|
|
1114
|
+
} | undefined;
|
|
1115
|
+
allowedHosts?: string[] | undefined;
|
|
1116
|
+
}, {
|
|
1117
|
+
name: string;
|
|
1118
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1119
|
+
url: string;
|
|
1120
|
+
headers: {
|
|
1121
|
+
name: string;
|
|
1122
|
+
value: string;
|
|
1123
|
+
}[];
|
|
1124
|
+
query: {
|
|
1125
|
+
name: string;
|
|
1126
|
+
value: string;
|
|
1127
|
+
}[];
|
|
1128
|
+
body: {
|
|
1129
|
+
kind: "json" | "none" | "text" | "form";
|
|
1130
|
+
template: string;
|
|
1131
|
+
};
|
|
1132
|
+
inputSchema: {
|
|
1133
|
+
type: string;
|
|
1134
|
+
properties?: Record<string, any> | undefined;
|
|
1135
|
+
required?: string[] | undefined;
|
|
1136
|
+
items?: any;
|
|
1137
|
+
minimum?: number | undefined;
|
|
1138
|
+
maximum?: number | undefined;
|
|
1139
|
+
minLength?: number | undefined;
|
|
1140
|
+
maxLength?: number | undefined;
|
|
1141
|
+
pattern?: string | undefined;
|
|
1142
|
+
enum?: any[] | undefined;
|
|
1143
|
+
};
|
|
1144
|
+
response: {
|
|
1145
|
+
contentType: "json" | "text" | "auto";
|
|
1146
|
+
maxBytes: number;
|
|
1147
|
+
jsonPath?: string | undefined;
|
|
1148
|
+
successStatus?: number[] | undefined;
|
|
1149
|
+
};
|
|
1150
|
+
auth: {
|
|
1151
|
+
kind: "none";
|
|
1152
|
+
} | {
|
|
1153
|
+
kind: "bearer";
|
|
1154
|
+
credentialId: string;
|
|
1155
|
+
} | {
|
|
1156
|
+
kind: "basic";
|
|
1157
|
+
credentialId: string;
|
|
1158
|
+
} | {
|
|
1159
|
+
kind: "oauth";
|
|
1160
|
+
credentialId: string;
|
|
1161
|
+
} | {
|
|
1162
|
+
kind: "api-key";
|
|
1163
|
+
in: "header" | "query";
|
|
1164
|
+
name: string;
|
|
1165
|
+
credentialId: string;
|
|
1166
|
+
};
|
|
1167
|
+
timeoutMs: number;
|
|
1168
|
+
title?: string | undefined;
|
|
1169
|
+
description?: string | undefined;
|
|
1170
|
+
outputSchema?: {
|
|
1171
|
+
type: string;
|
|
1172
|
+
properties?: Record<string, any> | undefined;
|
|
1173
|
+
required?: string[] | undefined;
|
|
1174
|
+
items?: any;
|
|
1175
|
+
minimum?: number | undefined;
|
|
1176
|
+
maximum?: number | undefined;
|
|
1177
|
+
minLength?: number | undefined;
|
|
1178
|
+
maxLength?: number | undefined;
|
|
1179
|
+
pattern?: string | undefined;
|
|
1180
|
+
enum?: any[] | undefined;
|
|
1181
|
+
} | undefined;
|
|
1182
|
+
allowedHosts?: string[] | undefined;
|
|
1183
|
+
}>>;
|
|
1184
|
+
HTTP_ENDPOINT_CONFIG_WRITE: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
1185
|
+
name: import("zod").ZodString;
|
|
1186
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1187
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1188
|
+
method: import("zod").ZodPreprocess<import("zod").ZodEnum<{
|
|
1189
|
+
GET: "GET";
|
|
1190
|
+
POST: "POST";
|
|
1191
|
+
PUT: "PUT";
|
|
1192
|
+
PATCH: "PATCH";
|
|
1193
|
+
DELETE: "DELETE";
|
|
1194
|
+
}>>;
|
|
1195
|
+
url: import("zod").ZodString;
|
|
1196
|
+
headers: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1197
|
+
name: import("zod").ZodString;
|
|
1198
|
+
value: import("zod").ZodString;
|
|
1199
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1200
|
+
query: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1201
|
+
name: import("zod").ZodString;
|
|
1202
|
+
value: import("zod").ZodString;
|
|
1203
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1204
|
+
body: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
1205
|
+
kind: import("zod").ZodEnum<{
|
|
1206
|
+
json: "json";
|
|
1207
|
+
none: "none";
|
|
1208
|
+
text: "text";
|
|
1209
|
+
form: "form";
|
|
1210
|
+
}>;
|
|
1211
|
+
template: import("zod").ZodDefault<import("zod").ZodString>;
|
|
1212
|
+
}, import("zod/v4/core").$strip>>;
|
|
1213
|
+
inputSchema: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
1214
|
+
type: import("zod").ZodEnum<{
|
|
1215
|
+
[x: string]: string;
|
|
1216
|
+
}>;
|
|
1217
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1218
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1219
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
1220
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1221
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1222
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1223
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1224
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1225
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1226
|
+
}, import("zod/v4/core").$strip>>;
|
|
1227
|
+
outputSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1228
|
+
type: import("zod").ZodEnum<{
|
|
1229
|
+
[x: string]: string;
|
|
1230
|
+
}>;
|
|
1231
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1232
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1233
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
1234
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1235
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1236
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1237
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1238
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1239
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1240
|
+
}, import("zod/v4/core").$strip>>;
|
|
1241
|
+
response: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
1242
|
+
contentType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1243
|
+
json: "json";
|
|
1244
|
+
text: "text";
|
|
1245
|
+
auto: "auto";
|
|
1246
|
+
}>>;
|
|
1247
|
+
maxBytes: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodNumber>, import("zod").ZodTransform<number, number>>;
|
|
1248
|
+
jsonPath: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1249
|
+
successStatus: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber>>;
|
|
1250
|
+
}, import("zod/v4/core").$strip>>;
|
|
1251
|
+
auth: import("zod").ZodDefault<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1252
|
+
kind: import("zod").ZodLiteral<"none">;
|
|
1253
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1254
|
+
kind: import("zod").ZodLiteral<"bearer">;
|
|
1255
|
+
credentialId: import("zod").ZodUUID;
|
|
1256
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1257
|
+
kind: import("zod").ZodLiteral<"basic">;
|
|
1258
|
+
credentialId: import("zod").ZodUUID;
|
|
1259
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1260
|
+
kind: import("zod").ZodLiteral<"oauth">;
|
|
1261
|
+
credentialId: import("zod").ZodUUID;
|
|
1262
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1263
|
+
kind: import("zod").ZodLiteral<"api-key">;
|
|
1264
|
+
in: import("zod").ZodEnum<{
|
|
1265
|
+
header: "header";
|
|
1266
|
+
query: "query";
|
|
1267
|
+
}>;
|
|
1268
|
+
name: import("zod").ZodString;
|
|
1269
|
+
credentialId: import("zod").ZodUUID;
|
|
1270
|
+
}, import("zod/v4/core").$strip>], "kind">>;
|
|
1271
|
+
timeoutMs: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodNumber>, import("zod").ZodTransform<number, number>>;
|
|
1272
|
+
allowedHosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1273
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodTransform<{
|
|
1274
|
+
title: string;
|
|
1275
|
+
description: string;
|
|
1276
|
+
name: string;
|
|
1277
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1278
|
+
url: string;
|
|
1279
|
+
headers: {
|
|
1280
|
+
name: string;
|
|
1281
|
+
value: string;
|
|
1282
|
+
}[];
|
|
1283
|
+
query: {
|
|
1284
|
+
name: string;
|
|
1285
|
+
value: string;
|
|
1286
|
+
}[];
|
|
1287
|
+
body: {
|
|
1288
|
+
kind: "json" | "none" | "text" | "form";
|
|
1289
|
+
template: string;
|
|
1290
|
+
};
|
|
1291
|
+
inputSchema: {
|
|
1292
|
+
type: string;
|
|
1293
|
+
properties?: Record<string, any> | undefined;
|
|
1294
|
+
required?: string[] | undefined;
|
|
1295
|
+
items?: any;
|
|
1296
|
+
minimum?: number | undefined;
|
|
1297
|
+
maximum?: number | undefined;
|
|
1298
|
+
minLength?: number | undefined;
|
|
1299
|
+
maxLength?: number | undefined;
|
|
1300
|
+
pattern?: string | undefined;
|
|
1301
|
+
enum?: any[] | undefined;
|
|
1302
|
+
};
|
|
1303
|
+
response: {
|
|
1304
|
+
contentType: "json" | "text" | "auto";
|
|
1305
|
+
maxBytes: number;
|
|
1306
|
+
jsonPath?: string | undefined;
|
|
1307
|
+
successStatus?: number[] | undefined;
|
|
1308
|
+
};
|
|
1309
|
+
auth: {
|
|
1310
|
+
kind: "none";
|
|
1311
|
+
} | {
|
|
1312
|
+
kind: "bearer";
|
|
1313
|
+
credentialId: string;
|
|
1314
|
+
} | {
|
|
1315
|
+
kind: "basic";
|
|
1316
|
+
credentialId: string;
|
|
1317
|
+
} | {
|
|
1318
|
+
kind: "oauth";
|
|
1319
|
+
credentialId: string;
|
|
1320
|
+
} | {
|
|
1321
|
+
kind: "api-key";
|
|
1322
|
+
in: "header" | "query";
|
|
1323
|
+
name: string;
|
|
1324
|
+
credentialId: string;
|
|
1325
|
+
};
|
|
1326
|
+
timeoutMs: number;
|
|
1327
|
+
outputSchema?: {
|
|
1328
|
+
type: string;
|
|
1329
|
+
properties?: Record<string, any> | undefined;
|
|
1330
|
+
required?: string[] | undefined;
|
|
1331
|
+
items?: any;
|
|
1332
|
+
minimum?: number | undefined;
|
|
1333
|
+
maximum?: number | undefined;
|
|
1334
|
+
minLength?: number | undefined;
|
|
1335
|
+
maxLength?: number | undefined;
|
|
1336
|
+
pattern?: string | undefined;
|
|
1337
|
+
enum?: any[] | undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
allowedHosts?: string[] | undefined;
|
|
1340
|
+
}, {
|
|
1341
|
+
name: string;
|
|
1342
|
+
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
1343
|
+
url: string;
|
|
1344
|
+
headers: {
|
|
1345
|
+
name: string;
|
|
1346
|
+
value: string;
|
|
1347
|
+
}[];
|
|
1348
|
+
query: {
|
|
1349
|
+
name: string;
|
|
1350
|
+
value: string;
|
|
1351
|
+
}[];
|
|
1352
|
+
body: {
|
|
1353
|
+
kind: "json" | "none" | "text" | "form";
|
|
1354
|
+
template: string;
|
|
1355
|
+
};
|
|
1356
|
+
inputSchema: {
|
|
1357
|
+
type: string;
|
|
1358
|
+
properties?: Record<string, any> | undefined;
|
|
1359
|
+
required?: string[] | undefined;
|
|
1360
|
+
items?: any;
|
|
1361
|
+
minimum?: number | undefined;
|
|
1362
|
+
maximum?: number | undefined;
|
|
1363
|
+
minLength?: number | undefined;
|
|
1364
|
+
maxLength?: number | undefined;
|
|
1365
|
+
pattern?: string | undefined;
|
|
1366
|
+
enum?: any[] | undefined;
|
|
1367
|
+
};
|
|
1368
|
+
response: {
|
|
1369
|
+
contentType: "json" | "text" | "auto";
|
|
1370
|
+
maxBytes: number;
|
|
1371
|
+
jsonPath?: string | undefined;
|
|
1372
|
+
successStatus?: number[] | undefined;
|
|
1373
|
+
};
|
|
1374
|
+
auth: {
|
|
1375
|
+
kind: "none";
|
|
1376
|
+
} | {
|
|
1377
|
+
kind: "bearer";
|
|
1378
|
+
credentialId: string;
|
|
1379
|
+
} | {
|
|
1380
|
+
kind: "basic";
|
|
1381
|
+
credentialId: string;
|
|
1382
|
+
} | {
|
|
1383
|
+
kind: "oauth";
|
|
1384
|
+
credentialId: string;
|
|
1385
|
+
} | {
|
|
1386
|
+
kind: "api-key";
|
|
1387
|
+
in: "header" | "query";
|
|
1388
|
+
name: string;
|
|
1389
|
+
credentialId: string;
|
|
1390
|
+
};
|
|
1391
|
+
timeoutMs: number;
|
|
1392
|
+
title?: string | undefined;
|
|
1393
|
+
description?: string | undefined;
|
|
1394
|
+
outputSchema?: {
|
|
1395
|
+
type: string;
|
|
1396
|
+
properties?: Record<string, any> | undefined;
|
|
1397
|
+
required?: string[] | undefined;
|
|
1398
|
+
items?: any;
|
|
1399
|
+
minimum?: number | undefined;
|
|
1400
|
+
maximum?: number | undefined;
|
|
1401
|
+
minLength?: number | undefined;
|
|
1402
|
+
maxLength?: number | undefined;
|
|
1403
|
+
pattern?: string | undefined;
|
|
1404
|
+
enum?: any[] | undefined;
|
|
1405
|
+
} | undefined;
|
|
1406
|
+
allowedHosts?: string[] | undefined;
|
|
1407
|
+
}>>;
|
|
1408
|
+
MCP_PROXY_CONFIG: import("zod").ZodObject<{
|
|
1409
|
+
curatedServerId: import("zod").ZodUUID;
|
|
1410
|
+
url: import("zod").ZodDefault<import("zod").ZodString>;
|
|
1411
|
+
transport: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1412
|
+
"streamable-http": "streamable-http";
|
|
1413
|
+
sse: "sse";
|
|
1414
|
+
}>>;
|
|
1415
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1416
|
+
allowedTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1417
|
+
allowedResources: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1418
|
+
allowedPrompts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1419
|
+
auth: import("zod").ZodDefault<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1420
|
+
kind: import("zod").ZodLiteral<"none">;
|
|
1421
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1422
|
+
kind: import("zod").ZodLiteral<"bearer">;
|
|
1423
|
+
credentialId: import("zod").ZodUUID;
|
|
1424
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1425
|
+
kind: import("zod").ZodLiteral<"header">;
|
|
1426
|
+
name: import("zod").ZodString;
|
|
1427
|
+
credentialId: import("zod").ZodUUID;
|
|
1428
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1429
|
+
kind: import("zod").ZodLiteral<"oauth">;
|
|
1430
|
+
credentialId: import("zod").ZodUUID;
|
|
1431
|
+
}, import("zod/v4/core").$strip>], "kind">>;
|
|
1432
|
+
timeoutMs: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodNumber>, import("zod").ZodTransform<number, number>>;
|
|
1433
|
+
}, import("zod/v4/core").$strip>;
|
|
1434
|
+
CUSTOM_CODE_CONFIG: import("zod").ZodObject<{
|
|
1435
|
+
activeVersionId: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
1436
|
+
allowedTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1437
|
+
allowedHosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1438
|
+
connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1439
|
+
timeoutMs: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodNumber>, import("zod").ZodTransform<number, number>>;
|
|
1440
|
+
resourceAccess: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1441
|
+
all: "all";
|
|
1442
|
+
own: "own";
|
|
1443
|
+
}>>;
|
|
1444
|
+
}, import("zod/v4/core").$strip>;
|
|
1445
|
+
CUSTOM_CODE_CONFIG_WRITE: import("zod").ZodObject<{
|
|
1446
|
+
activeVersionId: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
1447
|
+
allowedTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1448
|
+
allowedHosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1449
|
+
connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1450
|
+
timeoutMs: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodNumber>, import("zod").ZodTransform<number, number>>;
|
|
1451
|
+
resourceAccess: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1452
|
+
all: "all";
|
|
1453
|
+
own: "own";
|
|
1454
|
+
}>>;
|
|
1455
|
+
}, import("zod/v4/core").$strip>;
|
|
1456
|
+
CUSTOM_CODE_TOOL: import("zod").ZodObject<{
|
|
1457
|
+
name: import("zod").ZodString;
|
|
1458
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1459
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1460
|
+
inputSchema: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
1461
|
+
type: import("zod").ZodEnum<{
|
|
1462
|
+
[x: string]: string;
|
|
1463
|
+
}>;
|
|
1464
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1465
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1466
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
1467
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1468
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1469
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1470
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1471
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1472
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1473
|
+
}, import("zod/v4/core").$strip>>;
|
|
1474
|
+
outputSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1475
|
+
type: import("zod").ZodEnum<{
|
|
1476
|
+
[x: string]: string;
|
|
1477
|
+
}>;
|
|
1478
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1479
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1480
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
1481
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1482
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1483
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1484
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1485
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1486
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1487
|
+
}, import("zod/v4/core").$strip>>;
|
|
1488
|
+
}, import("zod/v4/core").$strip>;
|
|
1489
|
+
CUSTOM_CODE_MANIFEST: import("zod").ZodObject<{
|
|
1490
|
+
tools: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1491
|
+
name: import("zod").ZodString;
|
|
1492
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1493
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1494
|
+
inputSchema: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
1495
|
+
type: import("zod").ZodEnum<{
|
|
1496
|
+
[x: string]: string;
|
|
1497
|
+
}>;
|
|
1498
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1499
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1500
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
1501
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1502
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1503
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1504
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1505
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1506
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1507
|
+
}, import("zod/v4/core").$strip>>;
|
|
1508
|
+
outputSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1509
|
+
type: import("zod").ZodEnum<{
|
|
1510
|
+
[x: string]: string;
|
|
1511
|
+
}>;
|
|
1512
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1513
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1514
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
1515
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1516
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1517
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1518
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1519
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1520
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1521
|
+
}, import("zod/v4/core").$strip>>;
|
|
1522
|
+
}, import("zod/v4/core").$strip>>;
|
|
1523
|
+
}, import("zod/v4/core").$strip>;
|
|
1524
|
+
ARTIFACT_CUSTOM_CODE_CREATE_VERSION: import("zod").ZodObject<{
|
|
1525
|
+
manifest: import("zod").ZodObject<{
|
|
1526
|
+
tools: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1527
|
+
name: import("zod").ZodString;
|
|
1528
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1529
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1530
|
+
inputSchema: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
1531
|
+
type: import("zod").ZodEnum<{
|
|
1532
|
+
[x: string]: string;
|
|
1533
|
+
}>;
|
|
1534
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1535
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1536
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
1537
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1538
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1539
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1540
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1541
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1542
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1543
|
+
}, import("zod/v4/core").$strip>>;
|
|
1544
|
+
outputSchema: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1545
|
+
type: import("zod").ZodEnum<{
|
|
1546
|
+
[x: string]: string;
|
|
1547
|
+
}>;
|
|
1548
|
+
properties: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1549
|
+
required: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1550
|
+
items: import("zod").ZodOptional<import("zod").ZodAny>;
|
|
1551
|
+
minimum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1552
|
+
maximum: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1553
|
+
minLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1554
|
+
maxLength: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1555
|
+
pattern: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1556
|
+
enum: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
|
|
1557
|
+
}, import("zod/v4/core").$strip>>;
|
|
1558
|
+
}, import("zod/v4/core").$strip>>;
|
|
1559
|
+
}, import("zod/v4/core").$strip>;
|
|
1560
|
+
config: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1561
|
+
activeVersionId: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodUUID>>;
|
|
1562
|
+
allowedTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1563
|
+
allowedHosts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1564
|
+
connections: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1565
|
+
timeoutMs: import("zod").ZodPipe<import("zod").ZodDefault<import("zod").ZodNumber>, import("zod").ZodTransform<number, number>>;
|
|
1566
|
+
resourceAccess: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1567
|
+
all: "all";
|
|
1568
|
+
own: "own";
|
|
1569
|
+
}>>;
|
|
1570
|
+
}, import("zod/v4/core").$strip>>;
|
|
1571
|
+
projectId: import("zod").ZodUUID;
|
|
1572
|
+
userId: import("zod").ZodUUID;
|
|
1573
|
+
organizationId: import("zod").ZodUUID;
|
|
1574
|
+
}, import("zod/v4/core").$strip>;
|
|
1575
|
+
ARTIFACT_CUSTOM_CODE_UPLOAD_BUNDLE: import("zod").ZodObject<{
|
|
1576
|
+
versionId: import("zod").ZodUUID;
|
|
1577
|
+
sourceKind: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1578
|
+
editor: "editor";
|
|
1579
|
+
bundle: "bundle";
|
|
1580
|
+
}>>;
|
|
1581
|
+
projectId: import("zod").ZodUUID;
|
|
1582
|
+
userId: import("zod").ZodUUID;
|
|
1583
|
+
organizationId: import("zod").ZodUUID;
|
|
1584
|
+
}, import("zod/v4/core").$strip>;
|
|
1585
|
+
ARTIFACT_CUSTOM_CODE_GET_SOURCE: import("zod").ZodObject<{
|
|
1586
|
+
versionId: import("zod").ZodUUID;
|
|
1587
|
+
projectId: import("zod").ZodUUID;
|
|
1588
|
+
userId: import("zod").ZodUUID;
|
|
1589
|
+
organizationId: import("zod").ZodUUID;
|
|
1590
|
+
}, import("zod/v4/core").$strip>;
|
|
1591
|
+
ARTIFACT_CUSTOM_CODE_TEST_VERSION: import("zod").ZodObject<{
|
|
1592
|
+
versionId: import("zod").ZodUUID;
|
|
1593
|
+
tool: import("zod").ZodString;
|
|
1594
|
+
input: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
1595
|
+
projectId: import("zod").ZodUUID;
|
|
1596
|
+
userId: import("zod").ZodUUID;
|
|
1597
|
+
organizationId: import("zod").ZodUUID;
|
|
1598
|
+
}, import("zod/v4/core").$strip>;
|
|
1599
|
+
ARTIFACT_CUSTOM_CODE_PUBLISH: import("zod").ZodObject<{
|
|
1600
|
+
versionId: import("zod").ZodUUID;
|
|
1601
|
+
projectId: import("zod").ZodUUID;
|
|
1602
|
+
userId: import("zod").ZodUUID;
|
|
1603
|
+
organizationId: import("zod").ZodUUID;
|
|
1604
|
+
}, import("zod/v4/core").$strip>;
|
|
1605
|
+
ARTIFACT_CUSTOM_CODE_ROLLBACK: import("zod").ZodObject<{
|
|
1606
|
+
versionId: import("zod").ZodUUID;
|
|
1607
|
+
projectId: import("zod").ZodUUID;
|
|
1608
|
+
userId: import("zod").ZodUUID;
|
|
1609
|
+
organizationId: import("zod").ZodUUID;
|
|
1610
|
+
}, import("zod/v4/core").$strip>;
|
|
1611
|
+
ARTIFACT_CUSTOM_CODE_LIST_LOGS: import("zod").ZodObject<{
|
|
1612
|
+
tool: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1613
|
+
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1614
|
+
before: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
1615
|
+
projectId: import("zod").ZodUUID;
|
|
1616
|
+
userId: import("zod").ZodUUID;
|
|
1617
|
+
organizationId: import("zod").ZodUUID;
|
|
1618
|
+
}, import("zod/v4/core").$strip>;
|
|
1619
|
+
ARTIFACT_CUSTOM_CODE_LIST_VERSIONS: import("zod").ZodObject<{
|
|
1620
|
+
projectId: import("zod").ZodUUID;
|
|
1621
|
+
userId: import("zod").ZodUUID;
|
|
1622
|
+
organizationId: import("zod").ZodUUID;
|
|
1623
|
+
}, import("zod/v4/core").$strip>;
|
|
1624
|
+
CUSTOM_CODE_INVOKE_REQUEST: import("zod").ZodObject<{
|
|
1625
|
+
tool: import("zod").ZodString;
|
|
1626
|
+
input: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1627
|
+
requestId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1628
|
+
}, import("zod/v4/core").$strip>;
|
|
1629
|
+
CUSTOM_CODE_INVOKE_RESPONSE: import("zod").ZodObject<{
|
|
1630
|
+
output: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
1631
|
+
logs: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1632
|
+
level: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
1633
|
+
error: "error";
|
|
1634
|
+
log: "log";
|
|
1635
|
+
warn: "warn";
|
|
1636
|
+
}>>;
|
|
1637
|
+
message: import("zod").ZodString;
|
|
1638
|
+
}, import("zod/v4/core").$strip>>>;
|
|
1639
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1640
|
+
}, import("zod/v4/core").$strip>;
|
|
1641
|
+
CUSTOM_CODE_BROKER_CONNECTION: import("zod").ZodObject<{
|
|
1642
|
+
provider: import("zod").ZodString;
|
|
1643
|
+
}, import("zod/v4/core").$strip>;
|
|
1644
|
+
CUSTOM_CODE_BROKER_SECRET: import("zod").ZodObject<{
|
|
1645
|
+
name: import("zod").ZodString;
|
|
1646
|
+
}, import("zod/v4/core").$strip>;
|
|
1647
|
+
CUSTOM_CODE_BROKER_RESOURCE_SEARCH: import("zod").ZodObject<{
|
|
1648
|
+
query: import("zod").ZodString;
|
|
1649
|
+
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1650
|
+
}, import("zod/v4/core").$strip>;
|
|
1651
|
+
CUSTOM_CODE_BROKER_RESOURCE_READ: import("zod").ZodObject<{
|
|
1652
|
+
uri: import("zod").ZodString;
|
|
1653
|
+
}, import("zod/v4/core").$strip>;
|
|
1654
|
+
CUSTOM_CODE_BROKER_RESOURCE_CREATE: import("zod").ZodObject<{
|
|
1655
|
+
title: import("zod").ZodString;
|
|
1656
|
+
uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1657
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1658
|
+
mimeType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1659
|
+
"text/plain": "text/plain";
|
|
1660
|
+
"text/csv": "text/csv";
|
|
1661
|
+
"text/html": "text/html";
|
|
1662
|
+
"text/markdown": "text/markdown";
|
|
1663
|
+
"image/png": "image/png";
|
|
1664
|
+
"image/gif": "image/gif";
|
|
1665
|
+
"image/jpeg": "image/jpeg";
|
|
1666
|
+
"image/webp": "image/webp";
|
|
1667
|
+
"image/svg+xml": "image/svg+xml";
|
|
1668
|
+
"application/pdf": "application/pdf";
|
|
1669
|
+
"application/json": "application/json";
|
|
1670
|
+
"application/msword": "application/msword";
|
|
1671
|
+
"application/vnd.ms-excel": "application/vnd.ms-excel";
|
|
1672
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
1673
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
1674
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
1675
|
+
"application/vnd.google-apps.document": "application/vnd.google-apps.document";
|
|
1676
|
+
"application/vnd.google-apps.spreadsheet": "application/vnd.google-apps.spreadsheet";
|
|
1677
|
+
"application/vnd.google-apps.presentation": "application/vnd.google-apps.presentation";
|
|
1678
|
+
"application/vnd.google-apps.folder": "application/vnd.google-apps.folder";
|
|
1679
|
+
"application/xml": "application/xml";
|
|
1680
|
+
"application/javascript": "application/javascript";
|
|
1681
|
+
"application/typescript": "application/typescript";
|
|
1682
|
+
"application/yaml": "application/yaml";
|
|
1683
|
+
"application/x-yaml": "application/x-yaml";
|
|
1684
|
+
"application/toml": "application/toml";
|
|
1685
|
+
"application/x-sh": "application/x-sh";
|
|
1686
|
+
"application/sql": "application/sql";
|
|
1687
|
+
"application/graphql": "application/graphql";
|
|
1688
|
+
"application/ld+json": "application/ld+json";
|
|
1689
|
+
"application/xhtml+xml": "application/xhtml+xml";
|
|
1690
|
+
"application/x-httpd-php": "application/x-httpd-php";
|
|
1691
|
+
"application/x-python-code": "application/x-python-code";
|
|
1692
|
+
"application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
|
|
1693
|
+
"application/csv": "application/csv";
|
|
1694
|
+
"application/x-ruby": "application/x-ruby";
|
|
1695
|
+
"application/x-perl": "application/x-perl";
|
|
1696
|
+
"application/octet-stream": "application/octet-stream";
|
|
1697
|
+
}>>;
|
|
1698
|
+
content: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1699
|
+
bytes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1700
|
+
fileName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1701
|
+
index: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1702
|
+
}, import("zod/v4/core").$strip>;
|
|
1703
|
+
CUSTOM_CODE_BROKER_RESOURCE_DELETE: import("zod").ZodObject<{
|
|
1704
|
+
uri: import("zod").ZodString;
|
|
1705
|
+
children: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
1706
|
+
}, import("zod/v4/core").$strip>;
|
|
1707
|
+
CUSTOM_CODE_SEND_FILE: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1708
|
+
to: import("zod").ZodLiteral<"gmail">;
|
|
1709
|
+
uris: import("zod").ZodArray<import("zod").ZodString>;
|
|
1710
|
+
message: import("zod").ZodObject<{
|
|
1711
|
+
to: import("zod").ZodString;
|
|
1712
|
+
subject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1713
|
+
body: import("zod").ZodDefault<import("zod").ZodString>;
|
|
1714
|
+
cc: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1715
|
+
bcc: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1716
|
+
contentType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1717
|
+
"text/plain": "text/plain";
|
|
1718
|
+
"text/html": "text/html";
|
|
1719
|
+
}>>;
|
|
1720
|
+
threadId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1721
|
+
}, import("zod/v4/core").$strip>;
|
|
1722
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1723
|
+
to: import("zod").ZodLiteral<"outlook">;
|
|
1724
|
+
uris: import("zod").ZodArray<import("zod").ZodString>;
|
|
1725
|
+
message: import("zod").ZodObject<{
|
|
1726
|
+
to: import("zod").ZodString;
|
|
1727
|
+
subject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1728
|
+
body: import("zod").ZodDefault<import("zod").ZodString>;
|
|
1729
|
+
cc: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1730
|
+
bcc: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1731
|
+
contentType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1732
|
+
html: "html";
|
|
1733
|
+
text: "text";
|
|
1734
|
+
}>>;
|
|
1735
|
+
}, import("zod/v4/core").$strip>;
|
|
1736
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1737
|
+
to: import("zod").ZodLiteral<"slack">;
|
|
1738
|
+
uris: import("zod").ZodArray<import("zod").ZodString>;
|
|
1739
|
+
message: import("zod").ZodObject<{
|
|
1740
|
+
channel: import("zod").ZodString;
|
|
1741
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1742
|
+
initialComment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1743
|
+
threadTs: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1744
|
+
}, import("zod/v4/core").$strip>;
|
|
1745
|
+
}, import("zod/v4/core").$strip>], "to">;
|
|
1746
|
+
};
|
|
1747
|
+
getEnv: (source: EnvSource, key: string) => string | undefined;
|
|
1748
|
+
fetcher: (props: import("./fetcher").IFetcherProps) => Promise<any>;
|
|
1749
|
+
constants: {
|
|
1750
|
+
MB: number;
|
|
1751
|
+
GB: number;
|
|
1752
|
+
PLAN_FREE: "FREE";
|
|
1753
|
+
PLAN_PRO: "PRO";
|
|
1754
|
+
PLAN_ENTERPRISE: "ENTERPRISE";
|
|
1755
|
+
PLANS: ("FREE" | "PRO" | "ENTERPRISE")[];
|
|
1756
|
+
SUBSCRIPTION_STATUS_ACTIVE: "active";
|
|
1757
|
+
SUBSCRIPTION_STATUS_TRIALING: "trialing";
|
|
1758
|
+
SUBSCRIPTION_STATUS_PAST_DUE: "past_due";
|
|
1759
|
+
SUBSCRIPTION_STATUS_CANCELED: "canceled";
|
|
1760
|
+
SUBSCRIPTION_STATUS_INCOMPLETE: "incomplete";
|
|
1761
|
+
SUBSCRIPTION_STATUS_INCOMPLETE_EXPIRED: "incomplete_expired";
|
|
1762
|
+
SUBSCRIPTION_STATUS_UNPAID: "unpaid";
|
|
1763
|
+
SUBSCRIPTION_STATUS_PAUSED: "paused";
|
|
1764
|
+
SUBSCRIPTION_STATUSES: ("active" | "trialing" | "past_due" | "canceled" | "incomplete" | "incomplete_expired" | "unpaid" | "paused")[];
|
|
1765
|
+
SUBSCRIPTION_ENTITLED_STATUSES: ("active" | "trialing" | "past_due")[];
|
|
1766
|
+
PLAN_LIMITS: Record<"FREE" | "PRO" | "ENTERPRISE", PlanLimits>;
|
|
1767
|
+
PRICING_PRO_BASE_USD: number;
|
|
1768
|
+
PRICING_INCLUDED_MESSAGES: number;
|
|
1769
|
+
PRICING_INCLUDED_SHARED_MESSAGES: number;
|
|
1770
|
+
PRICING_SHARED_MESSAGE_PER_1K_USD: number;
|
|
1771
|
+
PRICING_SHARED_KEY_HARD_CAP: number;
|
|
1772
|
+
PRICING_INCLUDED_EMBEDDED_GB: number;
|
|
1773
|
+
PRICING_MESSAGE_PER_1K_USD: number;
|
|
1774
|
+
PRICING_EMBEDDED_PER_GB_USD: number;
|
|
1775
|
+
PRICING_CUSTOM_DOMAIN_USD: number;
|
|
1776
|
+
PLAN_FEATURE_ORGANIZATION: "organization";
|
|
1777
|
+
PLAN_FEATURE_PROJECT: "project";
|
|
1778
|
+
PLAN_FEATURE_TOOL: "tool";
|
|
1779
|
+
PLAN_FEATURE_PROMPT: "prompt";
|
|
1780
|
+
PLAN_FEATURE_CHANNEL: "channel";
|
|
1781
|
+
PLAN_FEATURE_INVITE: "invite";
|
|
1782
|
+
PLAN_FEATURE_LLM: "llm";
|
|
1783
|
+
PLAN_FEATURE_CUSTOM_CODE: "customCode";
|
|
1784
|
+
PLAN_FEATURE_HTTP_ENDPOINT: "httpEndpoint";
|
|
1785
|
+
PLAN_FEATURE_RAW_STORAGE: "rawStorage";
|
|
1786
|
+
PLAN_FEATURE_EMBEDDED_STORAGE: "embeddedStorage";
|
|
1787
|
+
PLAN_FEATURE_MESSAGE: "message";
|
|
1788
|
+
PLAN_LIMIT_ERROR_CODE: string;
|
|
1789
|
+
STRIPE_METER_MESSAGES: string;
|
|
1790
|
+
STRIPE_METER_SHARED_MESSAGES: string;
|
|
1791
|
+
STRIPE_METER_EMBEDDED: string;
|
|
1792
|
+
CONSENT_DOCUMENT_TERMS: "terms";
|
|
1793
|
+
CONSENT_DOCUMENT_PRIVACY: "privacy";
|
|
1794
|
+
CONSENT_DOCUMENTS: ("terms" | "privacy")[];
|
|
1795
|
+
CONSENT_CURRENT_VERSION: string;
|
|
1796
|
+
CONSENT_SOURCE_SIGNUP: "signup";
|
|
1797
|
+
CONSENT_SOURCE_REACCEPT: "reaccept";
|
|
1798
|
+
CONSENT_SOURCES: ("signup" | "reaccept")[];
|
|
1799
|
+
RETENTION_DAYS: {
|
|
1800
|
+
readonly mcpRequest: 90;
|
|
1801
|
+
readonly errorLog: 90;
|
|
1802
|
+
readonly channelMessage: 365;
|
|
1803
|
+
readonly artifactExecution: 365;
|
|
1804
|
+
};
|
|
1805
|
+
RETENTION_EXPIRED_SESSION_DAYS: number;
|
|
1806
|
+
RETENTION_PURGE_BATCH: number;
|
|
1807
|
+
CRON_HOURLY: string;
|
|
1808
|
+
CRON_ERROR_ALERTS: string;
|
|
1809
|
+
ALERT_STATE_KEY_ERROR_LOG: string;
|
|
1810
|
+
ALERT_MIN_STATUS: number;
|
|
1811
|
+
ALERT_MAX_ROWS: number;
|
|
1812
|
+
ALERT_MAX_GROUPS: number;
|
|
1813
|
+
ALERT_SIGNATURE_LENGTH: number;
|
|
1814
|
+
ALERT_SPIKE_THRESHOLD: number;
|
|
1815
|
+
USER_ROLE_ADMIN: string;
|
|
1816
|
+
USER_ROLES: string[];
|
|
1817
|
+
INVITATION_STATUS: string[];
|
|
1818
|
+
INVITATION_SCOPE_ORGANIZATION: "ORGANIZATION";
|
|
1819
|
+
INVITATION_SCOPE_PROJECT: "PROJECT";
|
|
1820
|
+
INVITATION_SCOPES: ("ORGANIZATION" | "PROJECT")[];
|
|
1821
|
+
INVITATION_RESPONSE_ACCEPT: "accept";
|
|
1822
|
+
INVITATION_RESPONSE_DECLINE: "decline";
|
|
1823
|
+
INVITATION_RESPONSES: ("accept" | "decline")[];
|
|
1824
|
+
INVITATION_EXPIRY_DAYS: number;
|
|
1825
|
+
INVITATION_TOKEN_BYTES: number;
|
|
1826
|
+
CONTACT_MAX_NAME_LENGTH: number;
|
|
1827
|
+
CONTACT_MAX_EMAIL_LENGTH: number;
|
|
1828
|
+
CONTACT_MIN_MESSAGE_LENGTH: number;
|
|
1829
|
+
CONTACT_MAX_MESSAGE_LENGTH: number;
|
|
1830
|
+
SLUG_BYTES: number;
|
|
1831
|
+
SLUG_PATTERN: RegExp;
|
|
1832
|
+
STATUS_COMPLETED: string;
|
|
1833
|
+
STATUS_PENDING: string;
|
|
1834
|
+
STATUS_FAILED: string;
|
|
1835
|
+
STATUS_ACTIVE: string;
|
|
1836
|
+
STATUS_DISABLED: string;
|
|
1837
|
+
STATUS_BLOCKED: string;
|
|
1838
|
+
STATUS: string[];
|
|
1839
|
+
USER_STATUS: string[];
|
|
1840
|
+
CHANNEL_STATUS: string[];
|
|
1841
|
+
RESOURCE_STATUS: string[];
|
|
1842
|
+
SERVICE_NAME_API: string;
|
|
1843
|
+
SERVICE_NAME_MCP: string;
|
|
1844
|
+
SERVICE_NAME_RESOURCE_HANDLER: string;
|
|
1845
|
+
SERVICE_NAME_TOOL_BROKER: string;
|
|
1846
|
+
SOCIAL_PROVIDER_GOOGLE: "google";
|
|
1847
|
+
SOCIAL_PROVIDER_GITHUB: "github";
|
|
1848
|
+
SOCIAL_PROVIDERS: ("google" | "github")[];
|
|
1849
|
+
OAUTH_PROVIDER_GOOGLE_GMAIL: "google-gmail";
|
|
1850
|
+
OAUTH_PROVIDER_GOOGLE_DRIVE: "google-drive";
|
|
1851
|
+
OAUTH_PROVIDER_GOOGLE_CALENDAR: "google-calendar";
|
|
1852
|
+
OAUTH_PROVIDER_MICROSOFT_OUTLOOK: "microsoft-outlook";
|
|
1853
|
+
OAUTH_PROVIDER_ONE_DRIVE: "microsoft-onedrive";
|
|
1854
|
+
OAUTH_PROVIDER_SLACK: "slack";
|
|
1855
|
+
OAUTH_PROVIDER_SLACK_USER: "slack-user";
|
|
1856
|
+
OAUTH_PROVIDERS: ("google-gmail" | "google-drive" | "google-calendar" | "microsoft-outlook" | "microsoft-onedrive" | "slack" | "slack-user")[];
|
|
1857
|
+
GOOGLE_OAUTH_AUTH_URL: string;
|
|
1858
|
+
MICROSOFT_OAUTH_AUTH_URL: string;
|
|
1859
|
+
SLACK_OAUTH_AUTH_URL: string;
|
|
1860
|
+
OAUTH_AUTH_URLS: Record<string, string>;
|
|
1861
|
+
GOOGLE_OAUTH_TOKEN_URL: string;
|
|
1862
|
+
MICROSOFT_OAUTH_TOKEN_URL: string;
|
|
1863
|
+
SLACK_OAUTH_TOKEN_URL: string;
|
|
1864
|
+
OAUTH_TOKEN_URLS: Record<string, string>;
|
|
1865
|
+
CREDENTIAL_REFRESH_BUFFER_MS: number;
|
|
1866
|
+
GOOGLE_CALENDAR_API_BASE: string;
|
|
1867
|
+
GOOGLE_DRIVE_API_BASE: string;
|
|
1868
|
+
GOOGLE_DRIVE_DEFAULT_PAGE_SIZE: number;
|
|
1869
|
+
GOOGLE_DRIVE_MAX_FOLDER_PAGES: number;
|
|
1870
|
+
GOOGLE_DRIVE_TOKEN_REFRESH_LEEWAY_MS: number;
|
|
1871
|
+
GOOGLE_DRIVE_URI_PREFIX: string;
|
|
1872
|
+
GOOGLE_DRIVE_FILE_FIELDS: string;
|
|
1873
|
+
GOOGLE_DRIVE_LIST_FIELDS: string;
|
|
1874
|
+
GOOGLE_DRIVE_TAB_MY_DRIVE: "my-drive";
|
|
1875
|
+
GOOGLE_DRIVE_TAB_SHARED_WITH_ME: "shared-with-me";
|
|
1876
|
+
GOOGLE_DRIVE_TAB_SHARED_DRIVES: "shared-drives";
|
|
1877
|
+
GOOGLE_DRIVE_TAB_STARRED: "starred";
|
|
1878
|
+
GOOGLE_DRIVE_TABS: ("my-drive" | "shared-with-me" | "shared-drives" | "starred")[];
|
|
1879
|
+
GOOGLE_DRIVE_TAB_LABEL_MY_DRIVE: string;
|
|
1880
|
+
GOOGLE_DRIVE_TAB_LABEL_SHARED_WITH_ME: string;
|
|
1881
|
+
GOOGLE_DRIVE_TAB_LABEL_SHARED_DRIVES: string;
|
|
1882
|
+
GOOGLE_DRIVE_TAB_LABEL_STARRED: string;
|
|
1883
|
+
GOOGLE_DRIVE_TAB_LABELS: readonly {
|
|
1884
|
+
value: "my-drive" | "shared-with-me" | "shared-drives" | "starred";
|
|
1885
|
+
label: string;
|
|
1886
|
+
}[];
|
|
1887
|
+
MICROSOFT_GRAPH_API_BASE: string;
|
|
1888
|
+
ONE_DRIVE_DEFAULT_PAGE_SIZE: number;
|
|
1889
|
+
ONE_DRIVE_MAX_FOLDER_PAGES: number;
|
|
1890
|
+
ONE_DRIVE_TOKEN_REFRESH_LEEWAY_MS: number;
|
|
1891
|
+
ONE_DRIVE_URI_PREFIX: string;
|
|
1892
|
+
ONE_DRIVE_ITEM_SELECT: string;
|
|
1893
|
+
ONE_DRIVE_TAB_MY_FILES: "my-files";
|
|
1894
|
+
ONE_DRIVE_TAB_SHARED_WITH_ME: "shared-with-me";
|
|
1895
|
+
ONE_DRIVE_TAB_RECENT: "recent";
|
|
1896
|
+
ONE_DRIVE_TAB_DRIVES: "drives";
|
|
1897
|
+
ONE_DRIVE_TABS: ("shared-with-me" | "my-files" | "recent" | "drives")[];
|
|
1898
|
+
ONE_DRIVE_TAB_LABEL_MY_FILES: string;
|
|
1899
|
+
ONE_DRIVE_TAB_LABEL_SHARED_WITH_ME: string;
|
|
1900
|
+
ONE_DRIVE_TAB_LABEL_RECENT: string;
|
|
1901
|
+
ONE_DRIVE_TAB_LABEL_DRIVES: string;
|
|
1902
|
+
ONE_DRIVE_TAB_LABELS: readonly {
|
|
1903
|
+
value: "my-files" | "shared-with-me" | "recent" | "drives";
|
|
1904
|
+
label: string;
|
|
1905
|
+
}[];
|
|
1906
|
+
REAUTH_ERROR_CODES: string[];
|
|
1907
|
+
RESOURCE_TYPE_TOOLTIP_MIN_WIDTH: number;
|
|
1908
|
+
SEARCH_DEBOUNCE_MS: number;
|
|
1909
|
+
GOOGLE_DRIVE_EXPORT_MIME_TYPES: Record<string, string>;
|
|
1910
|
+
GOOGLE_DRIVE_EXPORT_EXTENSIONS: Record<string, string>;
|
|
1911
|
+
SERVICE_NAMES: string[];
|
|
1912
|
+
SCHEMA_DEFINITION_TYPES: string[];
|
|
1913
|
+
ROLE_MESSAGE_USER: "user";
|
|
1914
|
+
ROLE_MESSAGE_ASSISTANT: "assistant";
|
|
1915
|
+
ROLE_MESSAGE_SYSTEM: "system";
|
|
1916
|
+
ROLE_MESSAGE_TOOL: "tool";
|
|
1917
|
+
ROLE_MESSAGES: ("user" | "assistant")[];
|
|
1918
|
+
CHANNEL_ROLE_MESSAGES: ("user" | "assistant" | "system" | "tool")[];
|
|
1919
|
+
LANGUAGE_EN: string;
|
|
1920
|
+
LANGUAGE_ES: string;
|
|
1921
|
+
LANGUAGES: string[];
|
|
1922
|
+
SPANISH_COUNTRIES: string[];
|
|
1923
|
+
LANGUAGE_COOKIE: string;
|
|
1924
|
+
LANGUAGE_COOKIE_MAX_AGE: number;
|
|
1925
|
+
LANGUAGE_QUERY_PARAM: string;
|
|
1926
|
+
MIMETYPE_TEXT: "text/plain";
|
|
1927
|
+
MIMETYPE_TEXT_CSV: "text/csv";
|
|
1928
|
+
MIMETYPE_TEXT_HTML: "text/html";
|
|
1929
|
+
MIMETYPE_TEXT_MARKDOWN: "text/markdown";
|
|
1930
|
+
MIMETYPE_IMAGE_PNG: "image/png";
|
|
1931
|
+
MIMETYPE_IMAGE_GIF: "image/gif";
|
|
1932
|
+
MIMETYPE_IMAGE_JPEG: "image/jpeg";
|
|
1933
|
+
MIMETYPE_IMAGE_WEBP: "image/webp";
|
|
1934
|
+
MIMETYPE_IMAGE_SVG_XML: "image/svg+xml";
|
|
1935
|
+
MIMETYPE_APPLICATION_PDF: "application/pdf";
|
|
1936
|
+
MIMETYPE_APPLICATION_JSON: "application/json";
|
|
1937
|
+
MIMETYPE_APPLICATION_MSWORD: "application/msword";
|
|
1938
|
+
MIMETYPE_APPLICATION_VND_MS_EXCEL: "application/vnd.ms-excel";
|
|
1939
|
+
MIMETYPE_APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
1940
|
+
MIMETYPE_APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
1941
|
+
MIMETYPE_APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
1942
|
+
MIMETYPE_APPLICATION_VND_GOOGLE_APPS_DOCUMENT: "application/vnd.google-apps.document";
|
|
1943
|
+
MIMETYPE_APPLICATION_VND_GOOGLE_APPS_SPREADSHEET: "application/vnd.google-apps.spreadsheet";
|
|
1944
|
+
MIMETYPE_APPLICATION_VND_GOOGLE_APPS_PRESENTATION: "application/vnd.google-apps.presentation";
|
|
1945
|
+
MIMETYPE_APPLICATION_VND_GOOGLE_APPS_FOLDER: "application/vnd.google-apps.folder";
|
|
1946
|
+
MIMETYPE_APPLICATION_XML: "application/xml";
|
|
1947
|
+
MIMETYPE_APPLICATION_JAVASCRIPT: "application/javascript";
|
|
1948
|
+
MIMETYPE_APPLICATION_TYPESCRIPT: "application/typescript";
|
|
1949
|
+
MIMETYPE_APPLICATION_YAML: "application/yaml";
|
|
1950
|
+
MIMETYPE_APPLICATION_X_YAML: "application/x-yaml";
|
|
1951
|
+
MIMETYPE_APPLICATION_TOML: "application/toml";
|
|
1952
|
+
MIMETYPE_APPLICATION_X_SH: "application/x-sh";
|
|
1953
|
+
MIMETYPE_APPLICATION_SQL: "application/sql";
|
|
1954
|
+
MIMETYPE_APPLICATION_GRAPHQL: "application/graphql";
|
|
1955
|
+
MIMETYPE_APPLICATION_LD_JSON: "application/ld+json";
|
|
1956
|
+
MIMETYPE_APPLICATION_XHTML_XML: "application/xhtml+xml";
|
|
1957
|
+
MIMETYPE_APPLICATION_X_HTTPD_PHP: "application/x-httpd-php";
|
|
1958
|
+
MIMETYPE_APPLICATION_X_PYTHON_CODE: "application/x-python-code";
|
|
1959
|
+
MIMETYPE_APPLICATION_X_WWW_FORM_URLENCODED: "application/x-www-form-urlencoded";
|
|
1960
|
+
MIMETYPE_APPLICATION_CSV: "application/csv";
|
|
1961
|
+
MIMETYPE_APPLICATION_X_RUBY: "application/x-ruby";
|
|
1962
|
+
MIMETYPE_APPLICATION_X_PERL: "application/x-perl";
|
|
1963
|
+
MIMETYPE_APPLICATION_OCTET_STREAM: "application/octet-stream";
|
|
1964
|
+
MIMETYPES: ("text/plain" | "text/csv" | "text/html" | "text/markdown" | "image/png" | "image/gif" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf" | "application/json" | "application/msword" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.google-apps.document" | "application/vnd.google-apps.spreadsheet" | "application/vnd.google-apps.presentation" | "application/vnd.google-apps.folder" | "application/xml" | "application/javascript" | "application/typescript" | "application/yaml" | "application/x-yaml" | "application/toml" | "application/x-sh" | "application/sql" | "application/graphql" | "application/ld+json" | "application/xhtml+xml" | "application/x-httpd-php" | "application/x-python-code" | "application/x-www-form-urlencoded" | "application/csv" | "application/x-ruby" | "application/x-perl" | "application/octet-stream")[];
|
|
1965
|
+
EXTENSION_BY_MIME: Record<string, string>;
|
|
1966
|
+
TEXT_MIME_TYPES: ("text/plain" | "text/csv" | "text/html" | "application/json" | "application/xml" | "application/javascript" | "application/typescript" | "application/yaml" | "application/x-yaml" | "application/toml" | "application/x-sh" | "application/sql" | "application/graphql" | "application/ld+json" | "application/xhtml+xml" | "application/x-httpd-php" | "application/x-python-code" | "application/x-www-form-urlencoded" | "application/csv" | "application/x-ruby" | "application/x-perl")[];
|
|
1967
|
+
EMBEDDABLE_MIME_TYPES: ("text/plain" | "text/csv" | "text/html" | "application/pdf" | "application/json" | "application/msword" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/vnd.google-apps.document" | "application/vnd.google-apps.spreadsheet" | "application/vnd.google-apps.presentation" | "application/xml" | "application/javascript" | "application/typescript" | "application/yaml" | "application/x-yaml" | "application/toml" | "application/x-sh" | "application/sql" | "application/graphql" | "application/ld+json" | "application/xhtml+xml" | "application/x-httpd-php" | "application/x-python-code" | "application/x-www-form-urlencoded" | "application/csv" | "application/x-ruby" | "application/x-perl")[];
|
|
1968
|
+
USER_AVATAR_MIME_TYPES: ("image/png" | "image/gif" | "image/jpeg" | "image/webp")[];
|
|
1969
|
+
RESOURCE_TYPE_STATIC: "static";
|
|
1970
|
+
RESOURCE_TYPE_TEMPLATE: "template";
|
|
1971
|
+
RESOURCE_TYPES: ("static" | "template")[];
|
|
1972
|
+
RESOURCE_SOURCE_TYPE_FILE: "FILE";
|
|
1973
|
+
RESOURCE_SOURCE_TYPE_WEBSITE: "WEBSITE";
|
|
1974
|
+
RESOURCE_SOURCE_TYPE_GOOGLE_DRIVE_FOLDER: "GOOGLE_DRIVE_FOLDER";
|
|
1975
|
+
RESOURCE_SOURCE_TYPE_ONE_DRIVE_FOLDER: "ONE_DRIVE_FOLDER";
|
|
1976
|
+
RESOURCE_SOURCE_TYPE_CUSTOM_CODE: "CUSTOM_CODE";
|
|
1977
|
+
RESOURCE_SOURCE_TYPES: ("FILE" | "WEBSITE" | "GOOGLE_DRIVE_FOLDER" | "ONE_DRIVE_FOLDER" | "CUSTOM_CODE")[];
|
|
1978
|
+
CRAWL_RENDERER_CHEERIO: "cheerio";
|
|
1979
|
+
CRAWL_RENDERER_PLAYWRIGHT: "playwright";
|
|
1980
|
+
CRAWL_RENDERERS: ("cheerio" | "playwright")[];
|
|
1981
|
+
CRAWL_DEFAULT_MAX_PAGES: number;
|
|
1982
|
+
CRAWL_MAX_PAGES_LIMIT: number;
|
|
1983
|
+
CRAWL_DEFAULT_MAX_DEPTH: number;
|
|
1984
|
+
CRAWL_MAX_DEPTH_LIMIT: number;
|
|
1985
|
+
CRAWL_PAGE_FETCH_TIMEOUT_MS: number;
|
|
1986
|
+
CRAWL_PAGE_QUEUE_BATCH_SIZE: number;
|
|
1987
|
+
CRAWL_USER_AGENT: string;
|
|
1988
|
+
RESOURCE_ICON_THEME_DARK: string;
|
|
1989
|
+
RESOURCE_ICON_THEME_LIGHT: string;
|
|
1990
|
+
RESOURCE_ICON_THEMES: string[];
|
|
1991
|
+
MAX_FILE_SIZE: number;
|
|
1992
|
+
MAX_AVATAR_SIZE: number;
|
|
1993
|
+
GMAIL_MAX_RAW_ATTACHMENT_BYTES: number;
|
|
1994
|
+
OUTLOOK_ATTACHMENT_INLINE_THRESHOLD: number;
|
|
1995
|
+
OUTLOOK_MAX_ATTACHMENT_BYTES: number;
|
|
1996
|
+
OUTLOOK_UPLOAD_CHUNK_BYTES: number;
|
|
1997
|
+
SLACK_API_BASE: string;
|
|
1998
|
+
SLACK_MAX_UPLOAD_BYTES: number;
|
|
1999
|
+
TELEGRAM_MAX_PHOTO_BYTES: number;
|
|
2000
|
+
TELEGRAM_MAX_FILE_BYTES: number;
|
|
2001
|
+
RATE_LIMIT_BACKOFF_SECONDS: number;
|
|
2002
|
+
TRANSIENT_BACKOFF_SECONDS: number;
|
|
2003
|
+
ENCODINGS: string[];
|
|
2004
|
+
ENCODING_UTF8: "utf-8";
|
|
2005
|
+
CHANNEL_PLATFORM_TELEGRAM: "telegram";
|
|
2006
|
+
CHANNEL_PLATFORM_SLACK: "slack";
|
|
2007
|
+
CHANNEL_PLATFORM_WHATSAPP: "whatsapp";
|
|
2008
|
+
CHANNEL_PLATFORM_DISCORD: "discord";
|
|
2009
|
+
CHANNEL_PLATFORMS: ("slack" | "telegram" | "whatsapp" | "discord")[];
|
|
2010
|
+
CHANNEL_CONVERSATION_SCOPE_PRIVATE: "private";
|
|
2011
|
+
CHANNEL_CONVERSATION_SCOPE_GROUP: "group";
|
|
2012
|
+
CHANNEL_CONVERSATION_SCOPE_CHANNEL: "channel";
|
|
2013
|
+
CHANNEL_CONVERSATION_SCOPES: ("private" | "group" | "channel")[];
|
|
2014
|
+
USAGE_KIND_PROMPT: "prompt";
|
|
2015
|
+
USAGE_KIND_RESOURCE: "resource";
|
|
2016
|
+
USAGE_KIND_TOOL: "tool";
|
|
2017
|
+
USAGE_KINDS: ("tool" | "prompt" | "resource")[];
|
|
2018
|
+
LLM_PROVIDER_ANTHROPIC: "anthropic";
|
|
2019
|
+
LLM_PROVIDER_OPENAI: "openai";
|
|
2020
|
+
LLM_PROVIDER_OPENAI_COMPATIBLE: "openai-compatible";
|
|
2021
|
+
LLM_PROVIDER_GOOGLE: "google";
|
|
2022
|
+
LLM_PROVIDERS: ("google" | "anthropic" | "openai" | "openai-compatible")[];
|
|
2023
|
+
DEFAULT_LLM_PROVIDER: "google";
|
|
2024
|
+
DEFAULT_LLM_MODEL: string;
|
|
2025
|
+
DEFAULT_LLM_SYSTEM_PROMPT: string;
|
|
2026
|
+
LLM_CATALOG: readonly {
|
|
2027
|
+
provider: "google" | "openai" | "anthropic";
|
|
2028
|
+
model: string;
|
|
2029
|
+
label: string;
|
|
2030
|
+
}[];
|
|
2031
|
+
LLM_SYSTEM_DEFAULT: string;
|
|
2032
|
+
MAX_TOOL_LOOPS: number;
|
|
2033
|
+
CHANNEL_HISTORY_LIMIT: number;
|
|
2034
|
+
SHARED_KEY_HISTORY_LIMIT: number;
|
|
2035
|
+
SHARED_KEY_MAX_TOOL_LOOPS: number;
|
|
2036
|
+
CHANNEL_MAX_TOOLS: number;
|
|
2037
|
+
CHANNEL_DEBOUNCE_DEFAULT_MS: number;
|
|
2038
|
+
CHANNEL_DEBOUNCE_MIN_MS: number;
|
|
2039
|
+
CHANNEL_DEBOUNCE_MAX_MS: number;
|
|
2040
|
+
CHANNEL_DEBOUNCE_MAX_WAIT_MS: number;
|
|
2041
|
+
CHANNEL_DEBOUNCE_MAX_MESSAGES: number;
|
|
2042
|
+
CHANNEL_DEBOUNCE_DISABLED: number;
|
|
2043
|
+
CHANNEL_DEBOUNCE_JOIN: string;
|
|
2044
|
+
CHANNEL_DEBOUNCE_RETRY_MS: number;
|
|
2045
|
+
CHANNEL_DEBOUNCE_MAX_ATTEMPTS: number;
|
|
2046
|
+
TELEGRAM_SECRET_HEADER: string;
|
|
2047
|
+
TELEGRAM_API_BASE: string;
|
|
2048
|
+
TELEGRAM_MESSAGE_LIMIT: number;
|
|
2049
|
+
SLACK_SIGNATURE_HEADER: string;
|
|
2050
|
+
SLACK_TIMESTAMP_HEADER: string;
|
|
2051
|
+
SLACK_RETRY_NUM_HEADER: string;
|
|
2052
|
+
SLACK_SIGNATURE_VERSION: string;
|
|
2053
|
+
SLACK_SIGNATURE_MAX_SKEW_SECONDS: number;
|
|
2054
|
+
SLACK_MESSAGE_LIMIT: number;
|
|
2055
|
+
SLACK_MAX_SOURCE_BUTTONS: number;
|
|
2056
|
+
SLACK_REQUIRED_SCOPES: string[];
|
|
2057
|
+
SLACK_RECOMMENDED_SCOPES: string[];
|
|
2058
|
+
SLACK_BOT_EVENTS: string[];
|
|
2059
|
+
DISCORD_API_BASE: string;
|
|
2060
|
+
DISCORD_GATEWAY_QUERY: string;
|
|
2061
|
+
DISCORD_MESSAGE_LIMIT: number;
|
|
2062
|
+
DISCORD_MAX_UPLOAD_BYTES: number;
|
|
2063
|
+
DISCORD_MAX_SOURCE_BUTTONS: number;
|
|
2064
|
+
DISCORD_INTENTS: number;
|
|
2065
|
+
DISCORD_SIGNATURE_HEADER: string;
|
|
2066
|
+
DISCORD_TIMESTAMP_HEADER: string;
|
|
2067
|
+
DISCORD_INTERACTION_TYPE_PING: number;
|
|
2068
|
+
DISCORD_INTERACTION_TYPE_APPLICATION_COMMAND: number;
|
|
2069
|
+
DISCORD_INTERACTION_RESPONSE_PONG: number;
|
|
2070
|
+
DISCORD_INTERACTION_RESPONSE_DEFERRED: number;
|
|
2071
|
+
DISCORD_CHANNEL_TYPE_DM: number;
|
|
2072
|
+
DISCORD_CHANNEL_TYPE_GROUP_DM: number;
|
|
2073
|
+
DISCORD_GATEWAY_OP_DISPATCH: number;
|
|
2074
|
+
DISCORD_GATEWAY_OP_HEARTBEAT: number;
|
|
2075
|
+
DISCORD_GATEWAY_OP_IDENTIFY: number;
|
|
2076
|
+
DISCORD_GATEWAY_OP_RESUME: number;
|
|
2077
|
+
DISCORD_GATEWAY_OP_RECONNECT: number;
|
|
2078
|
+
DISCORD_GATEWAY_OP_INVALID_SESSION: number;
|
|
2079
|
+
DISCORD_GATEWAY_OP_HELLO: number;
|
|
2080
|
+
DISCORD_GATEWAY_OP_HEARTBEAT_ACK: number;
|
|
2081
|
+
DISCORD_GATEWAY_DEFAULT_HEARTBEAT_MS: number;
|
|
2082
|
+
WHATSAPP_API_BASE: string;
|
|
2083
|
+
WHATSAPP_API_VERSION: string;
|
|
2084
|
+
WHATSAPP_MESSAGE_LIMIT: number;
|
|
2085
|
+
WHATSAPP_SIGNATURE_HEADER: string;
|
|
2086
|
+
WHATSAPP_SIGNATURE_PREFIX: string;
|
|
2087
|
+
WHATSAPP_HUB_MODE_PARAM: string;
|
|
2088
|
+
WHATSAPP_HUB_VERIFY_TOKEN_PARAM: string;
|
|
2089
|
+
WHATSAPP_HUB_CHALLENGE_PARAM: string;
|
|
2090
|
+
WHATSAPP_HUB_MODE_SUBSCRIBE: string;
|
|
2091
|
+
WHATSAPP_MAX_IMAGE_BYTES: number;
|
|
2092
|
+
WHATSAPP_MAX_VIDEO_BYTES: number;
|
|
2093
|
+
WHATSAPP_MAX_AUDIO_BYTES: number;
|
|
2094
|
+
WHATSAPP_MAX_DOCUMENT_BYTES: number;
|
|
2095
|
+
EMBEDDING_MODEL: string;
|
|
2096
|
+
EMBEDDING_DIMENSIONS: number;
|
|
2097
|
+
CHUNK_TARGET_CHARS: number;
|
|
2098
|
+
CHUNK_OVERLAP_CHARS: number;
|
|
2099
|
+
EMBED_BATCH_SIZE: number;
|
|
2100
|
+
RESOURCE_HANDLER_SLEEP_AFTER: string;
|
|
2101
|
+
DOCS_URL: string;
|
|
2102
|
+
BASE64_DATA_URI_RE: RegExp;
|
|
2103
|
+
RAW_BASE64_BLOB_RE: RegExp;
|
|
2104
|
+
CHUNK_SEPARATORS: {
|
|
2105
|
+
split: string | RegExp;
|
|
2106
|
+
join: string;
|
|
2107
|
+
}[];
|
|
2108
|
+
DEFAULT_MAX_TOKENS: number;
|
|
2109
|
+
RESOURCE_TOOL_KEY_LIST_RESOURCES: string;
|
|
2110
|
+
RESOURCE_TOOL_KEY_SEARCH_RESOURCES: string;
|
|
2111
|
+
RESOURCE_TOOL_KEY_READ_RESOURCE: string;
|
|
2112
|
+
RESOURCE_TOOL_KEY_SEND_RESOURCE: string;
|
|
2113
|
+
PROMPT_TOOL_KEY_LIST_PROMPTS: string;
|
|
2114
|
+
RESOURCE_TOOL_KEYS: string[];
|
|
2115
|
+
URI_BEARING_RESOURCE_TOOL_KEYS: string[];
|
|
2116
|
+
CALENDAR_TOOL_KEY_PREFIX: string;
|
|
2117
|
+
CALENDAR_SEND_UPDATES_ALL: "all";
|
|
2118
|
+
CALENDAR_SEND_UPDATES_EXTERNAL_ONLY: "externalOnly";
|
|
2119
|
+
CALENDAR_SEND_UPDATES_NONE: "none";
|
|
2120
|
+
CALENDAR_SEND_UPDATES_VALUES: ("all" | "externalOnly" | "none")[];
|
|
2121
|
+
CALENDAR_VISIBILITY_DEFAULT: "default";
|
|
2122
|
+
CALENDAR_VISIBILITY_PUBLIC: "public";
|
|
2123
|
+
CALENDAR_VISIBILITY_PRIVATE: "private";
|
|
2124
|
+
CALENDAR_VISIBILITY_VALUES: ("private" | "default" | "public")[];
|
|
2125
|
+
CALENDAR_DEFAULT_CALENDAR_ID: string;
|
|
2126
|
+
CALENDAR_DEFAULT_EVENT_DURATION_MINUTES: number;
|
|
2127
|
+
CALENDAR_CONFERENCE_TYPE_GOOGLE_MEET: string;
|
|
2128
|
+
CALENDAR_TOOL_FIELDS: Record<string, CalendarConfigField[]>;
|
|
2129
|
+
API_KEY_PROVIDER_CALCOM: "calcom";
|
|
2130
|
+
API_KEY_PROVIDER_TAVILY: "tavily";
|
|
2131
|
+
API_KEY_PROVIDERS: ("calcom" | "tavily")[];
|
|
2132
|
+
CREDENTIAL_PROVIDER_HTTP_ENDPOINT: "http-endpoint";
|
|
2133
|
+
CREDENTIAL_PROVIDER_MCP_PROXY: "mcp-proxy";
|
|
2134
|
+
CREDENTIAL_PROVIDER_CUSTOM_CODE: "custom-code";
|
|
2135
|
+
PER_TOOL_CREDENTIAL_PROVIDERS: ("custom-code" | "http-endpoint" | "mcp-proxy")[];
|
|
2136
|
+
CREDENTIAL_PROVIDERS: ("custom-code" | "calcom" | "tavily" | "http-endpoint" | "mcp-proxy")[];
|
|
2137
|
+
CALCOM_API_BASE: string;
|
|
2138
|
+
CALCOM_API_VERSION_EVENT_TYPES: string;
|
|
2139
|
+
CALCOM_API_VERSION_SLOTS: string;
|
|
2140
|
+
CALCOM_API_VERSION_BOOKINGS: string;
|
|
2141
|
+
CALCOM_TOOL_KEY_PREFIX: string;
|
|
2142
|
+
TAVILY_API_BASE: string;
|
|
2143
|
+
TAVILY_SEARCH_DEPTH_BASIC: "basic";
|
|
2144
|
+
TAVILY_SEARCH_DEPTH_ADVANCED: "advanced";
|
|
2145
|
+
TAVILY_SEARCH_DEPTHS: ("basic" | "advanced")[];
|
|
2146
|
+
TAVILY_TOPIC_GENERAL: "general";
|
|
2147
|
+
TAVILY_TOPIC_NEWS: "news";
|
|
2148
|
+
TAVILY_TOPICS: ("general" | "news")[];
|
|
2149
|
+
TAVILY_DEFAULT_MAX_RESULTS: number;
|
|
2150
|
+
TAVILY_MAX_RESULTS_LIMIT: number;
|
|
2151
|
+
WEB_TOOL_KEY_PREFIX: string;
|
|
2152
|
+
WEB_TOOL_KEY_SEARCH: string;
|
|
2153
|
+
WEB_TOOL_KEY_EXTRACT: string;
|
|
2154
|
+
WEB_TOOL_KEYS: string[];
|
|
2155
|
+
TOOL_DEFINITION_KEY_HTTP_ENDPOINT: string;
|
|
2156
|
+
HTTP_ENDPOINT_METHOD_GET: "GET";
|
|
2157
|
+
HTTP_ENDPOINT_METHOD_POST: "POST";
|
|
2158
|
+
HTTP_ENDPOINT_METHOD_PUT: "PUT";
|
|
2159
|
+
HTTP_ENDPOINT_METHOD_PATCH: "PATCH";
|
|
2160
|
+
HTTP_ENDPOINT_METHOD_DELETE: "DELETE";
|
|
2161
|
+
HTTP_ENDPOINT_METHODS: ("GET" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
2162
|
+
HTTP_ENDPOINT_BODY_KIND_NONE: "none";
|
|
2163
|
+
HTTP_ENDPOINT_BODY_KIND_JSON: "json";
|
|
2164
|
+
HTTP_ENDPOINT_BODY_KIND_FORM: "form";
|
|
2165
|
+
HTTP_ENDPOINT_BODY_KIND_TEXT: "text";
|
|
2166
|
+
HTTP_ENDPOINT_BODY_KINDS: ("json" | "none" | "text" | "form")[];
|
|
2167
|
+
HTTP_ENDPOINT_AUTH_KIND_NONE: "none";
|
|
2168
|
+
HTTP_ENDPOINT_AUTH_KIND_BEARER: "bearer";
|
|
2169
|
+
HTTP_ENDPOINT_AUTH_KIND_BASIC: "basic";
|
|
2170
|
+
HTTP_ENDPOINT_AUTH_KIND_API_KEY: "api-key";
|
|
2171
|
+
HTTP_ENDPOINT_AUTH_KIND_OAUTH: "oauth";
|
|
2172
|
+
HTTP_ENDPOINT_AUTH_KINDS: ("none" | "basic" | "bearer" | "api-key" | "oauth")[];
|
|
2173
|
+
HTTP_ENDPOINT_RESPONSE_CONTENT_TYPE_AUTO: "auto";
|
|
2174
|
+
HTTP_ENDPOINT_RESPONSE_CONTENT_TYPE_JSON: "json";
|
|
2175
|
+
HTTP_ENDPOINT_RESPONSE_CONTENT_TYPE_TEXT: "text";
|
|
2176
|
+
HTTP_ENDPOINT_DEFAULT_TIMEOUT_MS: number;
|
|
2177
|
+
HTTP_ENDPOINT_MAX_TIMEOUT_MS: number;
|
|
2178
|
+
HTTP_ENDPOINT_DEFAULT_MAX_BYTES: number;
|
|
2179
|
+
HTTP_ENDPOINT_MAX_REQUEST_BYTES: number;
|
|
2180
|
+
TOOL_DEFINITION_KEY_MCP_PROXY: string;
|
|
2181
|
+
MCP_PROXY_TRANSPORT_STREAMABLE_HTTP: "streamable-http";
|
|
2182
|
+
MCP_PROXY_TRANSPORT_SSE: "sse";
|
|
2183
|
+
MCP_PROXY_TRANSPORTS: ("streamable-http" | "sse")[];
|
|
2184
|
+
MCP_PROXY_AUTH_KIND_NONE: "none";
|
|
2185
|
+
MCP_PROXY_AUTH_KIND_BEARER: "bearer";
|
|
2186
|
+
MCP_PROXY_AUTH_KIND_HEADER: "header";
|
|
2187
|
+
MCP_PROXY_AUTH_KIND_OAUTH: "oauth";
|
|
2188
|
+
MCP_PROXY_AUTH_KINDS: ("none" | "bearer" | "oauth" | "header")[];
|
|
2189
|
+
MCP_PROXY_DEFAULT_TIMEOUT_MS: number;
|
|
2190
|
+
MCP_PROXY_MAX_TIMEOUT_MS: number;
|
|
2191
|
+
MCP_PROXY_MAX_TOOLS: number;
|
|
2192
|
+
MCP_PROXY_MAX_RESPONSE_BYTES: number;
|
|
2193
|
+
MCP_PROXY_TOOL_NAME_SEP: string;
|
|
2194
|
+
MCP_PROXY_TOOL_NAME_MAX: number;
|
|
2195
|
+
TOOL_DEFINITION_KEY_CUSTOM_CODE: string;
|
|
2196
|
+
CUSTOM_CODE_VERSION_STATUS_DRAFT: "draft";
|
|
2197
|
+
CUSTOM_CODE_VERSION_STATUS_PUBLISHED: "published";
|
|
2198
|
+
CUSTOM_CODE_VERSION_STATUS_ARCHIVED: "archived";
|
|
2199
|
+
CUSTOM_CODE_SOURCE_KIND_EDITOR: "editor";
|
|
2200
|
+
CUSTOM_CODE_SOURCE_KIND_BUNDLE: "bundle";
|
|
2201
|
+
CUSTOM_CODE_SOURCE_KINDS: ("editor" | "bundle")[];
|
|
2202
|
+
CUSTOM_CODE_SDK_MODULE: string;
|
|
2203
|
+
CUSTOM_CODE_SDK_SPECIFIER: string;
|
|
2204
|
+
CUSTOM_CODE_MAIN_MODULE: string;
|
|
2205
|
+
CUSTOM_CODE_MAX_FILES: number;
|
|
2206
|
+
CUSTOM_CODE_MAX_FILE_PATH: number;
|
|
2207
|
+
CUSTOM_CODE_VERSION_STATUSES: ("draft" | "published" | "archived")[];
|
|
2208
|
+
CUSTOM_CODE_SCRIPT_NAME_PREFIX: string;
|
|
2209
|
+
CUSTOM_CODE_PREVIEW_SCRIPT_SUFFIX: string;
|
|
2210
|
+
CUSTOM_CODE_PREVIEW_TOKEN_TTL_MS: number;
|
|
2211
|
+
CUSTOM_CODE_TEST_TIMEOUT_MS: number;
|
|
2212
|
+
CUSTOM_CODE_SOURCE_KEY_PREFIX: string;
|
|
2213
|
+
CUSTOM_CODE_MAX_TOOLS: number;
|
|
2214
|
+
CUSTOM_CODE_TOOL_NAME_MAX: number;
|
|
2215
|
+
CUSTOM_CODE_DEFAULT_TIMEOUT_MS: number;
|
|
2216
|
+
CUSTOM_CODE_MAX_TIMEOUT_MS: number;
|
|
2217
|
+
CUSTOM_CODE_MAX_RESPONSE_BYTES: number;
|
|
2218
|
+
CUSTOM_CODE_MAX_BUNDLE_BYTES: number;
|
|
2219
|
+
CUSTOM_CODE_INVOKE_ORIGIN: string;
|
|
2220
|
+
CUSTOM_CODE_INVOKE_PATH: string;
|
|
2221
|
+
CUSTOM_CODE_HEALTH_TOOL: string;
|
|
2222
|
+
RESERVED_TOOL_NAME_PREFIXES: string[];
|
|
2223
|
+
RESERVED_TOOL_NAMES: string[];
|
|
2224
|
+
RESERVED_TOOL_NAME_MESSAGE: string;
|
|
2225
|
+
CUSTOM_CODE_UNKNOWN_CONNECTION_MESSAGE: string;
|
|
2226
|
+
OUTPUT_SCHEMA_NOT_OBJECT_MESSAGE: string;
|
|
2227
|
+
CUSTOM_CODE_BINDING_TOKEN: string;
|
|
2228
|
+
CUSTOM_CODE_BINDING_BROKER: string;
|
|
2229
|
+
CUSTOM_CODE_BROKER_ORIGIN: string;
|
|
2230
|
+
CUSTOM_CODE_BROKER_PATH_CONNECTION: string;
|
|
2231
|
+
CUSTOM_CODE_BROKER_PATH_SECRET: string;
|
|
2232
|
+
CUSTOM_CODE_BROKER_PATH_RESOURCES_SEARCH: string;
|
|
2233
|
+
CUSTOM_CODE_BROKER_PATH_RESOURCES_READ: string;
|
|
2234
|
+
CUSTOM_CODE_BROKER_PATH_RESOURCES_LIST: string;
|
|
2235
|
+
CUSTOM_CODE_BROKER_PATH_RESOURCES_CREATE: string;
|
|
2236
|
+
CUSTOM_CODE_BROKER_PATH_RESOURCES_DELETE: string;
|
|
2237
|
+
CUSTOM_CODE_BROKER_PATH_SEND_FILE: string;
|
|
2238
|
+
CUSTOM_CODE_OUTBOUND_PARAM_ARTIFACT_ID: "artifactId";
|
|
2239
|
+
CUSTOM_CODE_OUTBOUND_PARAM_ALLOWED_HOSTS: "allowedHosts";
|
|
2240
|
+
CUSTOM_CODE_PLATFORM_HOSTS: string[];
|
|
2241
|
+
CUSTOM_CODE_TOKEN_SECRET_ENV: string;
|
|
2242
|
+
CUSTOM_CODE_TOKEN_VERSION: string;
|
|
2243
|
+
CUSTOM_CODE_ACCOUNT_ID_ENV: string;
|
|
2244
|
+
CUSTOM_CODE_API_TOKEN_ENV: string;
|
|
2245
|
+
CUSTOM_CODE_NAMESPACE_ENV: string;
|
|
2246
|
+
CUSTOM_CODE_BROKER_SERVICE_ENV: string;
|
|
2247
|
+
CUSTOM_CODE_COMPATIBILITY_DATE: string;
|
|
2248
|
+
CUSTOM_CODE_SCRIPT_CPU_MS: number;
|
|
2249
|
+
CUSTOM_CODE_MAX_LOGS: number;
|
|
2250
|
+
CUSTOM_CODE_MAX_LOG_LENGTH: number;
|
|
2251
|
+
CUSTOM_CODE_SEND_FILE_TARGET_GMAIL: "gmail";
|
|
2252
|
+
CUSTOM_CODE_SEND_FILE_TARGET_OUTLOOK: "outlook";
|
|
2253
|
+
CUSTOM_CODE_SEND_FILE_TARGET_SLACK: "slack";
|
|
2254
|
+
CUSTOM_CODE_SEND_FILE_TARGETS: ("slack" | "gmail" | "outlook")[];
|
|
2255
|
+
CUSTOM_CODE_SEND_FILE_PROVIDERS: Record<string, string>;
|
|
2256
|
+
CUSTOM_CODE_SEND_FILE_PATHS: Record<string, string>;
|
|
2257
|
+
CUSTOM_CODE_SEND_FILE_MAX_URIS: number;
|
|
2258
|
+
CUSTOM_CODE_MAX_RESOURCE_TEXT_BYTES: number;
|
|
2259
|
+
CUSTOM_CODE_MAX_RESOURCE_FILE_BYTES: number;
|
|
2260
|
+
CUSTOM_CODE_RESOURCE_URI_PREFIX: string;
|
|
2261
|
+
CUSTOM_CODE_RESOURCE_NOT_OWNED_MESSAGE: string;
|
|
2262
|
+
CUSTOM_CODE_RESOURCE_NOT_DELETABLE_MESSAGE: string;
|
|
2263
|
+
CUSTOM_CODE_RESOURCE_HAS_CHILDREN_MESSAGE: string;
|
|
2264
|
+
CUSTOM_CODE_RESOURCE_NOT_EMBEDDABLE_MESSAGE: string;
|
|
2265
|
+
CUSTOM_CODE_RESOURCE_ACCESS_OWN: "own";
|
|
2266
|
+
CUSTOM_CODE_RESOURCE_ACCESS_ALL: "all";
|
|
2267
|
+
CUSTOM_CODE_RESOURCE_ACCESS_VALUES: ("all" | "own")[];
|
|
2268
|
+
CUSTOM_CODE_RESOURCE_PAYLOAD_MESSAGE: string;
|
|
2269
|
+
CUSTOM_CODE_RESOURCE_TEXT_TOO_LARGE_MESSAGE: string;
|
|
2270
|
+
CUSTOM_CODE_RESOURCE_FILE_TOO_LARGE_MESSAGE: string;
|
|
2271
|
+
RESERVED_SLUGS: string[];
|
|
2272
|
+
MCP_INTERNAL_HEADER: string;
|
|
2273
|
+
MCP_CHANNEL_ID_HEADER: string;
|
|
2274
|
+
MCP_CHANNEL_PLATFORM_HEADER: string;
|
|
2275
|
+
MCP_CHANNEL_CLIENT_USER_AGENT: string;
|
|
2276
|
+
MCP_SESSION_HEADER: string;
|
|
2277
|
+
MCP_REQUEST_METHOD_INITIALIZE: "initialize";
|
|
2278
|
+
MCP_REQUEST_METHOD_PING: "ping";
|
|
2279
|
+
MCP_REQUEST_METHOD_TOOLS_LIST: "tools/list";
|
|
2280
|
+
MCP_REQUEST_METHOD_TOOLS_CALL: "tools/call";
|
|
2281
|
+
MCP_REQUEST_METHOD_RESOURCES_LIST: "resources/list";
|
|
2282
|
+
MCP_REQUEST_METHOD_RESOURCES_TEMPLATES_LIST: "resources/templates/list";
|
|
2283
|
+
MCP_REQUEST_METHOD_RESOURCES_READ: "resources/read";
|
|
2284
|
+
MCP_REQUEST_METHOD_PROMPTS_LIST: "prompts/list";
|
|
2285
|
+
MCP_REQUEST_METHOD_PROMPTS_GET: "prompts/get";
|
|
2286
|
+
MCP_REQUEST_METHODS: ("initialize" | "ping" | "tools/list" | "tools/call" | "resources/list" | "resources/templates/list" | "resources/read" | "prompts/list" | "prompts/get")[];
|
|
2287
|
+
MCP_AUTH_KIND_JWT: "jwt";
|
|
2288
|
+
MCP_AUTH_KIND_INTERNAL: "internal";
|
|
2289
|
+
MCP_AUTH_KINDS: ("jwt" | "internal")[];
|
|
2290
|
+
JWKS_KV_KEY: string;
|
|
2291
|
+
JWKS_TTL_SECONDS: number;
|
|
2292
|
+
OAUTH_SCOPES_SUPPORTED: string[];
|
|
2293
|
+
MCP_SCOPE_READ: string;
|
|
2294
|
+
ARTIFACT_SCOPE_PREFIX: string;
|
|
2295
|
+
CLI_OAUTH_CLIENT_NAME: string;
|
|
2296
|
+
CLI_OAUTH_REDIRECT_PATH: string;
|
|
2297
|
+
CLI_OAUTH_REDIRECT_PORTS: number[];
|
|
2298
|
+
CLI_OAUTH_SCOPES: string[];
|
|
2299
|
+
CLI_TOKEN_REFRESH_SKEW_SECONDS: number;
|
|
2300
|
+
CUSTOM_CODE_LOGS_DEFAULT_LIMIT: number;
|
|
2301
|
+
CUSTOM_CODE_LOGS_MAX_LIMIT: number;
|
|
2302
|
+
BOT_GRANT_TYPE: string;
|
|
2303
|
+
EXTERNAL_LINK_VERIFICATION_PREFIX: string;
|
|
2304
|
+
EXTERNAL_LINK_TTL_SECONDS: number;
|
|
2305
|
+
BOT_ACCESS_TOKEN_TTL_SECONDS: number;
|
|
2306
|
+
LINK_CODE_LENGTH: number;
|
|
2307
|
+
LINK_CODE_ALPHABET: string;
|
|
2308
|
+
BOT_COMMAND_LINK: string;
|
|
2309
|
+
RESERVED_BOT_COMMANDS: string[];
|
|
2310
|
+
};
|
|
2311
|
+
generateRandomSlug: () => string;
|
|
2312
|
+
generateRandomToken: (byteLength?: number) => string;
|
|
2313
|
+
isReservedSlug: (slug: string) => boolean;
|
|
2314
|
+
isValidSlugFormat: (slug: string) => boolean;
|
|
2315
|
+
isReservedToolName: (name: string) => boolean;
|
|
2316
|
+
encryptString: (plaintext: string, rawKey: string) => string;
|
|
2317
|
+
decryptString: (value: string, rawKey: string) => string;
|
|
2318
|
+
getCredentialEncryptionKey: (c: import("hono").Context) => string;
|
|
2319
|
+
sha256Hex: (input: string) => Promise<string>;
|
|
2320
|
+
sha256Base64Url: (input: string) => Promise<string>;
|
|
2321
|
+
hmacSha256Hex: (key: string, message: string) => Promise<string>;
|
|
2322
|
+
timingSafeEqual: (a: string, b: string) => boolean;
|
|
2323
|
+
bytesToBase64: (bytes: Uint8Array) => string;
|
|
2324
|
+
base64ToBytes: (b64: string) => Uint8Array;
|
|
2325
|
+
hexToBytes: (hex: string) => Uint8Array;
|
|
2326
|
+
utf8ToBase64: (value: string) => string;
|
|
2327
|
+
base64ToUtf8: (b64: string) => string;
|
|
2328
|
+
toBase64Url: (b64: string) => string;
|
|
2329
|
+
fromBase64Url: (b64url: string) => string;
|
|
2330
|
+
utf8ToBase64Url: (value: string) => string;
|
|
2331
|
+
base64UrlToUtf8: (b64url: string) => string;
|
|
2332
|
+
sanitizeMailHeader: (value: string) => string;
|
|
2333
|
+
encodeRfc2047: (value: string) => string;
|
|
2334
|
+
formatMailHeader: (value: string) => string;
|
|
2335
|
+
buildMimeMessage: (input: MimeMessageInput) => string;
|
|
2336
|
+
sanitizeFilename: (name: string) => string;
|
|
2337
|
+
formatFilenameHeader: (name: string) => string;
|
|
2338
|
+
chunkBase64: (b64: string) => string;
|
|
2339
|
+
parseHttpErrorMessage: (response: Response) => Promise<string>;
|
|
2340
|
+
isApiError: (data: unknown) => boolean;
|
|
2341
|
+
getApiErrorMessage: (data: unknown, fallback: string) => string;
|
|
2342
|
+
toStringArray: (input: unknown) => string[];
|
|
2343
|
+
jsonSchemaToZodShape: (schema: JsonSchema) => Record<string, import("zod").ZodType>;
|
|
2344
|
+
validateAgainstJsonSchema: (schema: JsonSchema, value: unknown) => SchemaViolation[];
|
|
2345
|
+
buildProxyToolName: (prefix: string, remoteName: string) => string | null;
|
|
2346
|
+
mintCustomCodeToken: (payload: Omit<CustomCodeTokenPayload, "v" | "iat" | "exp"> & {
|
|
2347
|
+
ttlMs?: number;
|
|
2348
|
+
}, secret: string, issuedAt?: number) => Promise<string>;
|
|
2349
|
+
verifyCustomCodeToken: (token: string, secret: string, now?: number) => Promise<CustomCodeTokenPayload | null>;
|
|
2350
|
+
customCodeScriptName: (artifactId: string) => string;
|
|
2351
|
+
customCodePreviewScriptName: (artifactId: string) => string;
|
|
2352
|
+
oauthProviders: Record<string, OAuthProviderConfig>;
|
|
2353
|
+
resolveAttachment: (resource: AttachmentResource, readObject: (key: string) => Promise<ArrayBuffer | null>, verb?: "attach" | "upload") => Promise<ResolveAttachmentResult>;
|
|
2354
|
+
isExposedResource: (resource: ExposableResource) => boolean;
|
|
2355
|
+
describeVendorError: (body: unknown, fallback: string) => string;
|
|
2356
|
+
withDeadline: <T>(work: Promise<T>, ms: number) => Promise<T>;
|
|
2357
|
+
isDeadlineError: (error: unknown) => boolean;
|
|
2358
|
+
CUSTOM_CODE_PROJECT_MARKER: string;
|
|
2359
|
+
encodeProject: (files: Record<string, string>) => string;
|
|
2360
|
+
decodeProject: (text: string) => Record<string, string> | null;
|
|
2361
|
+
validateProjectFiles: (files: Record<string, string>) => void;
|
|
2362
|
+
validateProjectPath: (path: string, taken?: Iterable<string>) => string | null;
|
|
2363
|
+
projectPathIssue: (path: string, taken?: Iterable<string>) => ProjectPathIssue | null;
|
|
2364
|
+
ipv4InPrivateRange: (host: string) => boolean;
|
|
2365
|
+
isBlockedHost: (hostname: string) => boolean;
|
|
2366
|
+
validateMessageVariables: (messages: Array<{
|
|
2367
|
+
role: string;
|
|
2368
|
+
content: string;
|
|
2369
|
+
}>, schema: {
|
|
2370
|
+
properties?: Record<string, unknown>;
|
|
2371
|
+
}) => void;
|
|
2372
|
+
formatRelative: (value: string | number | Date | null | undefined, options?: import("./formatRelative").FormatRelativeOptions) => string;
|
|
2373
|
+
formatRelativeTime: (iso?: string | null, locale?: string) => string;
|
|
2374
|
+
languageCookieDomain: (hostname: string) => string | undefined;
|
|
2375
|
+
localizeZodIssue: (issue: import("./localizeZodIssue").ZodIssueLike, language: string) => string;
|
|
2376
|
+
languageFromHeader: (header?: string | null) => string;
|
|
2377
|
+
slugifyTitle: (title: string) => string;
|
|
2378
|
+
resourceUriFromTitle: (title: string) => string;
|
|
2379
|
+
TOOL_CATALOG: readonly [{
|
|
2380
|
+
readonly key: "gmail";
|
|
2381
|
+
readonly title: "Gmail";
|
|
2382
|
+
readonly description: "Send, read, search, and manage emails";
|
|
2383
|
+
readonly icon: "https://www.gstatic.com/images/branding/product/1x/gmail_2020q4_48dp.png";
|
|
2384
|
+
readonly provider: "google-gmail";
|
|
2385
|
+
readonly tools: readonly [{
|
|
2386
|
+
readonly key: "gmail-batch-modify-labels";
|
|
2387
|
+
readonly title: "Batch Modify Labels";
|
|
2388
|
+
readonly description: "Add or remove labels on many emails at once (archive, mark read, etc.).";
|
|
2389
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.modify";
|
|
2390
|
+
}, {
|
|
2391
|
+
readonly key: "gmail-create-draft";
|
|
2392
|
+
readonly title: "Create Draft";
|
|
2393
|
+
readonly description: "Save a new draft in Gmail without sending it yet.";
|
|
2394
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2395
|
+
}, {
|
|
2396
|
+
readonly key: "gmail-delete-draft";
|
|
2397
|
+
readonly title: "Delete Draft";
|
|
2398
|
+
readonly description: "Permanently delete a draft.";
|
|
2399
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2400
|
+
}, {
|
|
2401
|
+
readonly key: "gmail-forward-email";
|
|
2402
|
+
readonly title: "Forward Email";
|
|
2403
|
+
readonly description: "Forward an email to a new recipient.";
|
|
2404
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.send";
|
|
2405
|
+
}, {
|
|
2406
|
+
readonly key: "gmail-get-draft";
|
|
2407
|
+
readonly title: "Get Draft";
|
|
2408
|
+
readonly description: "Open a saved draft to review its contents.";
|
|
2409
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2410
|
+
}, {
|
|
2411
|
+
readonly key: "gmail-get-profile";
|
|
2412
|
+
readonly title: "Get Profile";
|
|
2413
|
+
readonly description: "Show the email address and inbox stats for the connected Gmail account.";
|
|
2414
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2415
|
+
}, {
|
|
2416
|
+
readonly key: "gmail-get-thread";
|
|
2417
|
+
readonly title: "Get Thread";
|
|
2418
|
+
readonly description: "See every message inside one conversation.";
|
|
2419
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2420
|
+
}, {
|
|
2421
|
+
readonly key: "gmail-list-drafts";
|
|
2422
|
+
readonly title: "List Drafts";
|
|
2423
|
+
readonly description: "Browse your saved drafts.";
|
|
2424
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2425
|
+
}, {
|
|
2426
|
+
readonly key: "gmail-list-emails";
|
|
2427
|
+
readonly title: "List Emails";
|
|
2428
|
+
readonly description: "Browse your Gmail inbox, with optional search filters.";
|
|
2429
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2430
|
+
}, {
|
|
2431
|
+
readonly key: "gmail-list-labels";
|
|
2432
|
+
readonly title: "List Labels";
|
|
2433
|
+
readonly description: "See all of your Gmail labels and folders.";
|
|
2434
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.labels";
|
|
2435
|
+
}, {
|
|
2436
|
+
readonly key: "gmail-list-threads";
|
|
2437
|
+
readonly title: "List Threads";
|
|
2438
|
+
readonly description: "List your Gmail conversations.";
|
|
2439
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2440
|
+
}, {
|
|
2441
|
+
readonly key: "gmail-modify-labels";
|
|
2442
|
+
readonly title: "Modify Labels";
|
|
2443
|
+
readonly description: "Add or remove labels on a single email — archive it, mark it read, star it, and more.";
|
|
2444
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.modify";
|
|
2445
|
+
}, {
|
|
2446
|
+
readonly key: "gmail-read-email";
|
|
2447
|
+
readonly title: "Read Email";
|
|
2448
|
+
readonly description: "Open and read a specific email.";
|
|
2449
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.readonly";
|
|
2450
|
+
}, {
|
|
2451
|
+
readonly key: "gmail-reply-email";
|
|
2452
|
+
readonly title: "Reply Email";
|
|
2453
|
+
readonly description: "Reply to an email so the response stays in the same conversation.";
|
|
2454
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.send";
|
|
2455
|
+
}, {
|
|
2456
|
+
readonly key: "gmail-send-draft";
|
|
2457
|
+
readonly title: "Send Draft";
|
|
2458
|
+
readonly description: "Send a draft you've already saved.";
|
|
2459
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.send";
|
|
2460
|
+
}, {
|
|
2461
|
+
readonly key: "gmail-send-email";
|
|
2462
|
+
readonly title: "Send Email";
|
|
2463
|
+
readonly description: "Compose and send a new email from your connected Gmail account.";
|
|
2464
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.send";
|
|
2465
|
+
}, {
|
|
2466
|
+
readonly key: "gmail-trash-email";
|
|
2467
|
+
readonly title: "Move to Trash";
|
|
2468
|
+
readonly description: "Move an email to Trash. It stays recoverable for 30 days.";
|
|
2469
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.modify";
|
|
2470
|
+
}, {
|
|
2471
|
+
readonly key: "gmail-update-draft";
|
|
2472
|
+
readonly title: "Update Draft";
|
|
2473
|
+
readonly description: "Edit the contents of a saved draft.";
|
|
2474
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/gmail.compose";
|
|
2475
|
+
}];
|
|
2476
|
+
}, {
|
|
2477
|
+
readonly key: "outlook";
|
|
2478
|
+
readonly title: "Outlook";
|
|
2479
|
+
readonly description: "Microsoft Outlook mail tools backed by Microsoft Graph.";
|
|
2480
|
+
readonly icon: "https://api.iconify.design/vscode-icons:file-type-outlook.svg";
|
|
2481
|
+
readonly provider: "microsoft-outlook";
|
|
2482
|
+
readonly tools: readonly [{
|
|
2483
|
+
readonly key: "outlook-batch-move-messages";
|
|
2484
|
+
readonly title: "Batch Move Messages";
|
|
2485
|
+
readonly description: "Move up to 20 messages to the same folder.";
|
|
2486
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2487
|
+
}, {
|
|
2488
|
+
readonly key: "outlook-create-draft";
|
|
2489
|
+
readonly title: "Create Draft";
|
|
2490
|
+
readonly description: "Create a draft email saved in Drafts.";
|
|
2491
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2492
|
+
}, {
|
|
2493
|
+
readonly key: "outlook-delete-draft";
|
|
2494
|
+
readonly title: "Delete Draft";
|
|
2495
|
+
readonly description: "Permanently delete a draft.";
|
|
2496
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2497
|
+
}, {
|
|
2498
|
+
readonly key: "outlook-forward-email";
|
|
2499
|
+
readonly title: "Forward";
|
|
2500
|
+
readonly description: "Forward an existing message to a new recipient.";
|
|
2501
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Send";
|
|
2502
|
+
}, {
|
|
2503
|
+
readonly key: "outlook-get-draft";
|
|
2504
|
+
readonly title: "Get Draft";
|
|
2505
|
+
readonly description: "Read the full contents of a draft.";
|
|
2506
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2507
|
+
}, {
|
|
2508
|
+
readonly key: "outlook-get-profile";
|
|
2509
|
+
readonly title: "Get Profile";
|
|
2510
|
+
readonly description: "Get the connected account's profile and inbox totals.";
|
|
2511
|
+
readonly requiredScopes: "https://graph.microsoft.com/User.Read";
|
|
2512
|
+
}, {
|
|
2513
|
+
readonly key: "outlook-get-thread";
|
|
2514
|
+
readonly title: "Get Thread";
|
|
2515
|
+
readonly description: "Get summaries of every message in a conversation.";
|
|
2516
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2517
|
+
}, {
|
|
2518
|
+
readonly key: "outlook-list-drafts";
|
|
2519
|
+
readonly title: "List Drafts";
|
|
2520
|
+
readonly description: "List drafts in the Drafts folder.";
|
|
2521
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2522
|
+
}, {
|
|
2523
|
+
readonly key: "outlook-list-emails";
|
|
2524
|
+
readonly title: "List Emails";
|
|
2525
|
+
readonly description: "List inbox messages, optionally filtered by search.";
|
|
2526
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2527
|
+
}, {
|
|
2528
|
+
readonly key: "outlook-list-folders";
|
|
2529
|
+
readonly title: "List Folders";
|
|
2530
|
+
readonly description: "List every mail folder on the account.";
|
|
2531
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2532
|
+
}, {
|
|
2533
|
+
readonly key: "outlook-list-threads";
|
|
2534
|
+
readonly title: "List Threads";
|
|
2535
|
+
readonly description: "List inbox conversation threads.";
|
|
2536
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2537
|
+
}, {
|
|
2538
|
+
readonly key: "outlook-move-message";
|
|
2539
|
+
readonly title: "Move Message";
|
|
2540
|
+
readonly description: "Move a message to a different folder.";
|
|
2541
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2542
|
+
}, {
|
|
2543
|
+
readonly key: "outlook-read-email";
|
|
2544
|
+
readonly title: "Read Email";
|
|
2545
|
+
readonly description: "Read the full contents of one message by ID.";
|
|
2546
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Read";
|
|
2547
|
+
}, {
|
|
2548
|
+
readonly key: "outlook-reply-email";
|
|
2549
|
+
readonly title: "Reply";
|
|
2550
|
+
readonly description: "Reply to an existing message, preserving the conversation.";
|
|
2551
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Send";
|
|
2552
|
+
}, {
|
|
2553
|
+
readonly key: "outlook-send-draft";
|
|
2554
|
+
readonly title: "Send Draft";
|
|
2555
|
+
readonly description: "Send an existing draft as-is.";
|
|
2556
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Send";
|
|
2557
|
+
}, {
|
|
2558
|
+
readonly key: "outlook-send-email";
|
|
2559
|
+
readonly title: "Send Email";
|
|
2560
|
+
readonly description: "Send a brand-new email from the connected account.";
|
|
2561
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.Send";
|
|
2562
|
+
}, {
|
|
2563
|
+
readonly key: "outlook-trash-email";
|
|
2564
|
+
readonly title: "Move to Trash";
|
|
2565
|
+
readonly description: "Move a message to the Deleted Items folder.";
|
|
2566
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2567
|
+
}, {
|
|
2568
|
+
readonly key: "outlook-update-draft";
|
|
2569
|
+
readonly title: "Update Draft";
|
|
2570
|
+
readonly description: "Replace the contents of an existing draft.";
|
|
2571
|
+
readonly requiredScopes: "https://graph.microsoft.com/Mail.ReadWrite";
|
|
2572
|
+
}];
|
|
2573
|
+
}, {
|
|
2574
|
+
readonly key: "slack";
|
|
2575
|
+
readonly title: "Slack";
|
|
2576
|
+
readonly description: "Post messages, browse channels, and upload files in Slack via Web API.";
|
|
2577
|
+
readonly icon: "https://api.iconify.design/logos:slack-icon.svg";
|
|
2578
|
+
readonly provider: "slack";
|
|
2579
|
+
readonly tools: readonly [{
|
|
2580
|
+
readonly key: "slack-get-user";
|
|
2581
|
+
readonly title: "Get User";
|
|
2582
|
+
readonly description: "Look up a Slack user by ID or email.";
|
|
2583
|
+
readonly requiredScopes: "users:read,users:read.email";
|
|
2584
|
+
}, {
|
|
2585
|
+
readonly key: "slack-list-channels";
|
|
2586
|
+
readonly title: "List Channels";
|
|
2587
|
+
readonly description: "Browse the channels and DMs the agent can see.";
|
|
2588
|
+
readonly requiredScopes: "channels:read,groups:read,mpim:read,im:read";
|
|
2589
|
+
}, {
|
|
2590
|
+
readonly key: "slack-send-message";
|
|
2591
|
+
readonly title: "Send Message";
|
|
2592
|
+
readonly description: "Post a message to a Slack channel, DM, or thread.";
|
|
2593
|
+
readonly requiredScopes: "chat:write";
|
|
2594
|
+
}, {
|
|
2595
|
+
readonly key: "slack-upload-file";
|
|
2596
|
+
readonly title: "Upload File";
|
|
2597
|
+
readonly description: "Upload a stored resource into a Slack channel.";
|
|
2598
|
+
readonly requiredScopes: "files:write,chat:write";
|
|
2599
|
+
}];
|
|
2600
|
+
}, {
|
|
2601
|
+
readonly key: "slack-user";
|
|
2602
|
+
readonly title: "Slack Search";
|
|
2603
|
+
readonly description: "Workspace-wide message search for Slack. Backed by a user (xoxp) token because Slack does not allow bot tokens to call search.messages.";
|
|
2604
|
+
readonly icon: "https://api.iconify.design/logos:slack-icon.svg";
|
|
2605
|
+
readonly provider: "slack-user";
|
|
2606
|
+
readonly tools: readonly [{
|
|
2607
|
+
readonly key: "slack-search-messages";
|
|
2608
|
+
readonly title: "Search Messages";
|
|
2609
|
+
readonly description: "Search messages across the workspace. Requires a Slack user token (xoxp).";
|
|
2610
|
+
readonly requiredScopes: "search:read";
|
|
2611
|
+
}];
|
|
2612
|
+
}, {
|
|
2613
|
+
readonly key: "google-calendar";
|
|
2614
|
+
readonly title: "Google Calendar";
|
|
2615
|
+
readonly description: "Create and manage calendar events, and find open time slots";
|
|
2616
|
+
readonly icon: "https://api.iconify.design/logos:google-calendar.svg";
|
|
2617
|
+
readonly provider: "google-calendar";
|
|
2618
|
+
readonly tools: readonly [{
|
|
2619
|
+
readonly key: "calendar-create-event";
|
|
2620
|
+
readonly title: "Create Event";
|
|
2621
|
+
readonly description: "Add a new event to a calendar.";
|
|
2622
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.events";
|
|
2623
|
+
}, {
|
|
2624
|
+
readonly key: "calendar-delete-event";
|
|
2625
|
+
readonly title: "Delete Event";
|
|
2626
|
+
readonly description: "Permanently remove an event from a calendar.";
|
|
2627
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.events";
|
|
2628
|
+
}, {
|
|
2629
|
+
readonly key: "calendar-find-free-slots";
|
|
2630
|
+
readonly title: "Find Free Slots";
|
|
2631
|
+
readonly description: "Find open time gaps on a calendar.";
|
|
2632
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.readonly";
|
|
2633
|
+
}, {
|
|
2634
|
+
readonly key: "calendar-list-calendars";
|
|
2635
|
+
readonly title: "List Calendars";
|
|
2636
|
+
readonly description: "See all calendars on the connected Google account.";
|
|
2637
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.readonly";
|
|
2638
|
+
}, {
|
|
2639
|
+
readonly key: "calendar-list-events";
|
|
2640
|
+
readonly title: "List Events";
|
|
2641
|
+
readonly description: "Browse events on a calendar within a time range.";
|
|
2642
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.readonly";
|
|
2643
|
+
}, {
|
|
2644
|
+
readonly key: "calendar-update-event";
|
|
2645
|
+
readonly title: "Update Event";
|
|
2646
|
+
readonly description: "Change the details of an existing event.";
|
|
2647
|
+
readonly requiredScopes: "https://www.googleapis.com/auth/calendar.events";
|
|
2648
|
+
}];
|
|
2649
|
+
}, {
|
|
2650
|
+
readonly key: "calcom";
|
|
2651
|
+
readonly title: "Cal.com";
|
|
2652
|
+
readonly description: "Check availability and book or cancel meetings on Cal.com";
|
|
2653
|
+
readonly icon: "https://api.iconify.design/simple-icons:caldotcom.svg";
|
|
2654
|
+
readonly provider: "calcom";
|
|
2655
|
+
readonly tools: readonly [{
|
|
2656
|
+
readonly key: "calcom-cancel-booking";
|
|
2657
|
+
readonly title: "Cancel Booking";
|
|
2658
|
+
readonly description: "Cancel an existing booking by its UID.";
|
|
2659
|
+
readonly requiredScopes: null;
|
|
2660
|
+
}, {
|
|
2661
|
+
readonly key: "calcom-create-booking";
|
|
2662
|
+
readonly title: "Create Booking";
|
|
2663
|
+
readonly description: "Book an available slot for an attendee.";
|
|
2664
|
+
readonly requiredScopes: null;
|
|
2665
|
+
}, {
|
|
2666
|
+
readonly key: "calcom-list-available-slots";
|
|
2667
|
+
readonly title: "List Available Slots";
|
|
2668
|
+
readonly description: "Find open booking times for an event type in a date range.";
|
|
2669
|
+
readonly requiredScopes: null;
|
|
2670
|
+
}, {
|
|
2671
|
+
readonly key: "calcom-list-event-types";
|
|
2672
|
+
readonly title: "List Event Types";
|
|
2673
|
+
readonly description: "See the bookable meeting types on the connected Cal.com account.";
|
|
2674
|
+
readonly requiredScopes: null;
|
|
2675
|
+
}];
|
|
2676
|
+
}, {
|
|
2677
|
+
readonly key: "web";
|
|
2678
|
+
readonly title: "Web Search";
|
|
2679
|
+
readonly description: "Search the live web and extract page content, powered by Tavily.";
|
|
2680
|
+
readonly icon: "https://api.iconify.design/mdi:web.svg";
|
|
2681
|
+
readonly provider: "tavily";
|
|
2682
|
+
readonly tools: readonly [{
|
|
2683
|
+
readonly key: "web-extract";
|
|
2684
|
+
readonly title: "Web Extract";
|
|
2685
|
+
readonly description: "Fetch the full cleaned text of specific web pages by URL for in-depth reading.";
|
|
2686
|
+
readonly requiredScopes: null;
|
|
2687
|
+
}, {
|
|
2688
|
+
readonly key: "web-search";
|
|
2689
|
+
readonly title: "Web Search";
|
|
2690
|
+
readonly description: "Search the live web and return the top results plus a synthesized answer so the model can cite sources.";
|
|
2691
|
+
readonly requiredScopes: null;
|
|
2692
|
+
}];
|
|
2693
|
+
}, {
|
|
2694
|
+
readonly key: "builtin";
|
|
2695
|
+
readonly title: "Built-in";
|
|
2696
|
+
readonly description: "Core tools available to every MCP server";
|
|
2697
|
+
readonly icon: null;
|
|
2698
|
+
readonly provider: null;
|
|
2699
|
+
readonly tools: readonly [{
|
|
2700
|
+
readonly key: "list-prompts";
|
|
2701
|
+
readonly title: "List Prompts";
|
|
2702
|
+
readonly description: "List the prompts and commands this assistant exposes, and how to run them on the current channel.";
|
|
2703
|
+
readonly requiredScopes: null;
|
|
2704
|
+
}, {
|
|
2705
|
+
readonly key: "list-resources";
|
|
2706
|
+
readonly title: "List Resources";
|
|
2707
|
+
readonly description: "List every resource available to this assistant.";
|
|
2708
|
+
readonly requiredScopes: null;
|
|
2709
|
+
}, {
|
|
2710
|
+
readonly key: "read-resource";
|
|
2711
|
+
readonly title: "Read Resource";
|
|
2712
|
+
readonly description: "Read the contents of a stored resource.";
|
|
2713
|
+
readonly requiredScopes: null;
|
|
2714
|
+
}, {
|
|
2715
|
+
readonly key: "search-resources";
|
|
2716
|
+
readonly title: "Search Resources";
|
|
2717
|
+
readonly description: "Find the resources most relevant to a question using semantic search.";
|
|
2718
|
+
readonly requiredScopes: null;
|
|
2719
|
+
}, {
|
|
2720
|
+
readonly key: "send-resource";
|
|
2721
|
+
readonly title: "Send Resource";
|
|
2722
|
+
readonly description: "Deliver a resource to the user as a chat attachment.";
|
|
2723
|
+
readonly requiredScopes: null;
|
|
2724
|
+
}];
|
|
2725
|
+
}, {
|
|
2726
|
+
readonly key: "greeting";
|
|
2727
|
+
readonly title: "Greeting";
|
|
2728
|
+
readonly description: "Simple greeting utilities";
|
|
2729
|
+
readonly icon: null;
|
|
2730
|
+
readonly provider: null;
|
|
2731
|
+
readonly tools: readonly [{
|
|
2732
|
+
readonly key: "greeting";
|
|
2733
|
+
readonly title: "Greeting";
|
|
2734
|
+
readonly description: "Reply with a friendly hello in English or Spanish (demo tool).";
|
|
2735
|
+
readonly requiredScopes: null;
|
|
2736
|
+
}];
|
|
2737
|
+
}, {
|
|
2738
|
+
readonly key: "http-endpoint";
|
|
2739
|
+
readonly title: "HTTP Endpoints";
|
|
2740
|
+
readonly description: "Expose your own HTTP APIs to the agent as named tools. Each endpoint you add becomes a tool the assistant can call.";
|
|
2741
|
+
readonly icon: "https://api.iconify.design/mdi:api.svg";
|
|
2742
|
+
readonly provider: null;
|
|
2743
|
+
readonly tools: readonly [{
|
|
2744
|
+
readonly key: "http-endpoint";
|
|
2745
|
+
readonly title: "HTTP Endpoint";
|
|
2746
|
+
readonly description: "A user-configured HTTP request exposed to the agent as its own named tool.";
|
|
2747
|
+
readonly requiredScopes: null;
|
|
2748
|
+
}];
|
|
2749
|
+
}, {
|
|
2750
|
+
readonly key: "mcp-proxy";
|
|
2751
|
+
readonly title: "MCP Servers";
|
|
2752
|
+
readonly description: "Connect a vendor's official remote MCP server and expose its tools to the agent. Each server you add brings its own set of tools.";
|
|
2753
|
+
readonly icon: "https://api.iconify.design/mdi:server-network.svg";
|
|
2754
|
+
readonly provider: null;
|
|
2755
|
+
readonly tools: readonly [{
|
|
2756
|
+
readonly key: "mcp-proxy";
|
|
2757
|
+
readonly title: "MCP Server";
|
|
2758
|
+
readonly description: "A connected remote MCP server. Each server you add exposes its tools to the agent under a vendor prefix.";
|
|
2759
|
+
readonly requiredScopes: null;
|
|
2760
|
+
}];
|
|
2761
|
+
}, {
|
|
2762
|
+
readonly key: "custom-code";
|
|
2763
|
+
readonly title: "Custom code";
|
|
2764
|
+
readonly description: "Write your own tools as a Cloudflare Worker and deploy them to this MCP server.";
|
|
2765
|
+
readonly icon: null;
|
|
2766
|
+
readonly provider: null;
|
|
2767
|
+
readonly tools: readonly [{
|
|
2768
|
+
readonly key: "custom-code";
|
|
2769
|
+
readonly title: "Custom code";
|
|
2770
|
+
readonly description: "Tools implemented by your own code. One script per artifact; names and schemas come from the published version.";
|
|
2771
|
+
readonly requiredScopes: null;
|
|
2772
|
+
}];
|
|
2773
|
+
}];
|
|
2774
|
+
TOOL_KEYS: ("custom-code" | "list-resources" | "search-resources" | "read-resource" | "send-resource" | "list-prompts" | "calendar-list-calendars" | "calendar-create-event" | "calendar-find-free-slots" | "http-endpoint" | "mcp-proxy" | "web-search" | "web-extract" | "greeting" | "gmail-send-email" | "gmail-reply-email" | "gmail-forward-email" | "gmail-send-draft" | "gmail-create-draft" | "gmail-update-draft" | "gmail-delete-draft" | "gmail-trash-email" | "gmail-modify-labels" | "gmail-batch-modify-labels" | "outlook-send-email" | "outlook-reply-email" | "outlook-forward-email" | "outlook-send-draft" | "outlook-create-draft" | "outlook-update-draft" | "outlook-delete-draft" | "outlook-trash-email" | "outlook-move-message" | "outlook-batch-move-messages" | "gmail-get-draft" | "gmail-get-profile" | "gmail-get-thread" | "gmail-list-drafts" | "gmail-list-emails" | "gmail-list-labels" | "gmail-list-threads" | "gmail-read-email" | "outlook-get-draft" | "outlook-get-profile" | "outlook-get-thread" | "outlook-list-drafts" | "outlook-list-emails" | "outlook-list-folders" | "outlook-list-threads" | "outlook-read-email" | "slack-get-user" | "slack-list-channels" | "slack-send-message" | "slack-upload-file" | "slack-search-messages" | "calendar-delete-event" | "calendar-list-events" | "calendar-update-event" | "calcom-cancel-booking" | "calcom-create-booking" | "calcom-list-available-slots" | "calcom-list-event-types")[];
|
|
2775
|
+
describeCatalogTool: (key: string) => CatalogToolDescriptor | null;
|
|
2776
|
+
findCatalogGroup: (key: string) => CatalogGroup | undefined;
|
|
2777
|
+
findCatalogTool: (key: string) => {
|
|
2778
|
+
tool: CatalogTool;
|
|
2779
|
+
group: CatalogGroup;
|
|
2780
|
+
} | undefined;
|
|
2781
|
+
isToolKey: (key: string) => key is ToolKey;
|
|
2782
|
+
tallyUsageKinds: (items: {
|
|
2783
|
+
kind: string;
|
|
2784
|
+
}[]) => import("./tallyUsageKinds").UsageTally;
|
|
2785
|
+
formatFilename: (filename: string) => string;
|
|
2786
|
+
decodeEntities: (value: string) => string;
|
|
2787
|
+
escapeHtml: (value: string) => string;
|
|
2788
|
+
parseOpenXmlProps: (xml: string) => Record<string, string>;
|
|
2789
|
+
stripBase64Images: (text: string) => string;
|
|
2790
|
+
sanitizeMetadataString: (value: string) => string;
|
|
2791
|
+
serializeMetadataValue: (value: unknown) => unknown;
|
|
2792
|
+
chunkText: (text: string, options?: {
|
|
2793
|
+
targetChars?: number;
|
|
2794
|
+
overlapChars?: number;
|
|
2795
|
+
}) => string[];
|
|
2796
|
+
splitRecursive: (text: string, target: number, separators?: readonly Separator[]) => string[];
|
|
2797
|
+
buildHeader: (input: {
|
|
2798
|
+
title?: string | null;
|
|
2799
|
+
description?: string | null;
|
|
2800
|
+
uri?: string | null;
|
|
2801
|
+
mimeType?: string | null;
|
|
2802
|
+
fileName?: string | null;
|
|
2803
|
+
}) => string;
|
|
2804
|
+
prepareChunks: (header: string, documents: ExtractedDocument[] | null, fallbackContent: string | null, options?: {
|
|
2805
|
+
targetChars?: number;
|
|
2806
|
+
overlapChars?: number;
|
|
2807
|
+
}) => PreparedChunk[];
|
|
2808
|
+
isEmbeddableMimeType: (mimeType: string) => boolean;
|
|
2809
|
+
l2Normalize: (values: number[]) => number[];
|
|
2810
|
+
sleep: (ms: number) => Promise<void>;
|
|
2811
|
+
isRateLimitError: (err: unknown) => boolean;
|
|
2812
|
+
withRateLimitRetry: <T>(fn: () => Promise<T>, options?: RateLimitRetryOptions) => Promise<T>;
|
|
2813
|
+
processQueueBatch: <T>(batch: QueueBatchLike<T>, handlers: ProcessQueueBatchHandlers<T>) => Promise<void>;
|
|
2814
|
+
getToolStatusMessage: (toolName: string) => string | null;
|
|
2815
|
+
resolveDebounceMs: (config: unknown) => number;
|
|
2816
|
+
channelBufferKey: (channelId: string, externalConversationId: string, externalParticipantId: string) => string;
|
|
2817
|
+
joinBufferedMessages: (messages: Array<{
|
|
2818
|
+
text: string;
|
|
2819
|
+
}>) => string;
|
|
2820
|
+
isResourceSourceEnabled: (resource: {
|
|
2821
|
+
showSource?: string | null;
|
|
2822
|
+
} | null | undefined) => boolean;
|
|
2823
|
+
isDownloadableSource: (sourceType: Source["sourceType"]) => boolean;
|
|
2824
|
+
safeHostname: (url: string) => string | null;
|
|
2825
|
+
buildResourceDownloadUrl: (ctx: ResourceUrlContext, resourceId: string, pageNumber?: number) => string;
|
|
2826
|
+
formatSourcesAsMarkdown: (sources: Source[], ctx: ResourceUrlContext) => string;
|
|
2827
|
+
formatSourcesAsButtons: (sources: Source[], ctx: ResourceUrlContext, options?: {
|
|
2828
|
+
maxLabelLength?: number;
|
|
2829
|
+
}) => SourceButton[];
|
|
2830
|
+
refreshOAuthToken: (input: RefreshOAuthTokenInput) => Promise<RefreshedOAuthToken>;
|
|
2831
|
+
OAuthReauthRequiredError: typeof OAuthReauthRequiredError;
|
|
2832
|
+
buildReauthMetadata: (previous: Record<string, unknown> | null, reason: string) => Record<string, unknown>;
|
|
2833
|
+
clearReauthMetadata: (previous: Record<string, unknown> | null) => Record<string, unknown> | null;
|
|
2834
|
+
isCredentialNeedingReauth: (metadata: unknown) => boolean;
|
|
2835
|
+
PlanLimitError: typeof PlanLimitError;
|
|
2836
|
+
isPlanLimitError: (error: unknown) => error is PlanLimitError;
|
|
2837
|
+
};
|
|
2838
|
+
export type { CustomCodeProject, ProjectPathIssue, CatalogGroup, CatalogTool, CatalogToolDescriptor, ToolGroupKey, ToolKey, CalendarConfigField, JsonSchema, SchemaViolation, MimeAttachment, MimeMessageInput, GmailOperation, GmailSendRequest, GmailSendResponse, OutlookOperation, OutlookSendRequest, OutlookSendResponse, SlackOperation, SlackSendRequest, SlackSendResponse, SlackSendRemoteResourceRequest, TelegramSendRequest, TelegramSendResponse, TelegramSendRemoteResourceRequest, DiscordSendRequest, DiscordSendResponse, DiscordSendRemoteResourceRequest, WhatsappSendRequest, WhatsappSendResponse, WhatsappSendRemoteResourceRequest, EnvSource, Separator, ChunkMetadata, PreparedChunk, ExtractedDocument, ExtractedDocumentMetadata, ExtractedDocumentSource, RateLimitRetryOptions, QueueBatchLike, QueueMessageLike, ProcessQueueBatchHandlers, ChannelNotifier, ToolStatusEvent, BufferedChannelMessage, ChannelBufferEnvelope, ChannelBufferFlush, Source, ResourceUrlContext, SourceButton, RefreshOAuthTokenInput, RefreshedOAuthToken, HttpEndpointToolConfig, McpProxyToolConfig, McpProxyDiscoveredTool, McpProxyDiscoveredResource, McpProxyDiscoveredPrompt, McpProxyDiscovery, CustomCodeToolConfig, CustomCodeToolManifest, CustomCodeManifest, CustomCodeSendFile, CustomCodeCreateResource, CustomCodeTokenPayload, OAuthProviderConfig, AttachmentResource, ResolvedAttachment, ResolveAttachmentResult, ExposableResource, PlanLimitDetails, PlanLimits };
|
|
2839
|
+
//# sourceMappingURL=index.d.ts.map
|