@powerhousedao/pieces-framework 6.2.3-dev.11
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 +59 -0
- package/README.md +202 -0
- package/UPSTREAM.md +172 -0
- package/dist/action--RmO83_Y.d.ts +12766 -0
- package/dist/action--RmO83_Y.d.ts.map +1 -0
- package/dist/authentication-B7brX_It.js +242 -0
- package/dist/authentication-B7brX_It.js.map +1 -0
- package/dist/common.d.ts +324 -0
- package/dist/common.d.ts.map +1 -0
- package/dist/common.js +828 -0
- package/dist/common.js.map +1 -0
- package/dist/host.d.ts +95 -0
- package/dist/host.d.ts.map +1 -0
- package/dist/host.js +723 -0
- package/dist/host.js.map +1 -0
- package/dist/index-BW6GxXEN.d.ts +5544 -0
- package/dist/index-BW6GxXEN.d.ts.map +1 -0
- package/dist/index.d.ts +1156 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1569 -0
- package/dist/index.js.map +1 -0
- package/dist/input-COuhC1I-.js +308 -0
- package/dist/input-COuhC1I-.js.map +1 -0
- package/dist/markdown-property-Df2l6_y_.js +285 -0
- package/dist/markdown-property-Df2l6_y_.js.map +1 -0
- package/package.json +73 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1156 @@
|
|
|
1
|
+
import { A as WebhookRenewStrategy, C as LATEST_CONTEXT_VERSION, D as ITrigger, E as DEDUPE_KEY_PROPERTY, F as OutputSchemaField, I as LocalesEnum, L as PieceCategory, M as createTrigger, N as FieldFormat, O as Trigger, P as OutputSchema, S as ContextVersion, T as backwardCompatabilityContextUtils, _ as PropertyGroup, a as createAction, b as TriggerBase, c as AiMetadata, d as PieceBase, f as PieceMetadata, g as PiecePackageInformation, h as PieceMetadataSummary, i as IAction, j as WebhookResponse, k as WebhookRenewConfiguration, l as Audience, m as PieceMetadataModelSummary, n as ActionRunner, o as ActionBase, p as PieceMetadataModel, r as ErrorHandlingOptionsParam, s as ActionClassification, t as Action, u as I18nForPiece, v as PropertyGroupDisplay, w as MINIMUM_SUPPORTED_RELEASE_AFTER_LATEST_CONTEXT_VERSION, x as isReadOnlyClassification, y as READ_ONLY_CLASSIFICATIONS } from "./action--RmO83_Y.js";
|
|
2
|
+
import { $ as ArrayProperty, $t as SecretTextConnectionValue, A as TriggerHookContext, At as BasePropertySchema, B as InputProperty, Bt as ParseEventResponse, C as StepContext, Ct as StaticDropdownProperty, D as StoreScope, Dt as SecretTextProperty, E as Store, Et as DropdownState, F as PiecePropValueSchema, Ft as PopulatedFlowSummary, G as ObjectProperty, Gt as WebhookHandshakeConfiguration, H as CustomProperty, Ht as ExecutionType, I as PieceProperty, It as Cursor, J as DynamicPropsValue, Jt as AppConnectionValue, K as DynamicProp, Kt as WebhookHandshakeStrategy, L as PiecePropertyMap, Lt as SeekPage, M as isPieceServerContextError, Mt as ApStreamingFile, N as ExecutePropsResult, Nt as FileProperty, O as TagsManager, Ot as LongTextProperty, P as InputPropertyMap, Pt as PropertyType, Q as dateRangeUtils, Qt as OAuth2GrantType, R as StaticPropsValue, Rt as apId, S as SetScheduleRequest, St as OAuth2Props, T as StopHookParams, Tt as DropdownOption, U as CustomPropertyCodeFunctionParams, Ut as TriggerStrategy, V as Property, Vt as MarkdownVariant, W as RichTextProperty, X as DateRangeProperty, Xt as CustomAuthConnectionValue, Y as DateRangePreset, Yt as BasicAuthConnectionValue, Z as DateRangeValue, Zt as NoAuthConnectionValue, _ as PropertyContext, _t as BasicAuthProperty, a as ConnectionsManager, at as DEFAULT_CONNECTION_DISPLAY_NAME, b as RunContext, bt as OAuth2Property, c as CreateWaitpointResult, ct as PieceAuthProperty, d as ListFlowsContextParams, dt as OIDCProperty, et as ArraySubProps, f as OnStartContext, ft as CustomAuthProperty, g as PieceServerContextError, gt as NumberProperty, h as PauseHookParams, ht as CheckboxProperty, i as BaseContext, it as MultiSelectDropdownProperty, j as WaitForWaitpointHook, jt as ApFile, k as TestOrRunHookContext, kt as ShortTextProperty, l as FilesService, lt as getAuthPropertyForValue, m as PauseHook, mt as CustomAuthRefresh, n as AppConnectionValueForAuthProperty, nt as JsonProperty, o as CreateWaitpointHook, ot as ExtractPieceAuthPropertyTypeForMethods, p as OutputContext, pt as CustomAuthProps, q as DynamicProperties, qt as AppConnectionType, r as AuthValidationServerContext, rt as DropdownProperty, s as CreateWaitpointParams, st as PieceAuth, t as ActionContext, tt as DateTimeProperty, u as FlowsContext, ut as OIDCAuthProps, v as RespondHook, vt as BasicAuthPropertyValue, w as StopHook, wt as StaticMultiSelectDropdownProperty, x as ServerContext, xt as OAuth2PropertyValue, y as RespondHookParams, yt as OAuth2AuthorizationMethod, z as piecePropertiesUtils, zt as EventPayload } from "./index-BW6GxXEN.js";
|
|
3
|
+
import * as z from "zod/mini";
|
|
4
|
+
|
|
5
|
+
//#region upstream/core-utils/lib/utils.d.ts
|
|
6
|
+
declare function isString(str: unknown): str is string;
|
|
7
|
+
declare function isNil<T>(value: T | null | undefined): value is null | undefined;
|
|
8
|
+
declare function kebabCase(str: string): string;
|
|
9
|
+
declare function isEmpty<T>(value: T | null | undefined): boolean;
|
|
10
|
+
declare function startCase(str: string): string;
|
|
11
|
+
declare function camelCase(str: string): string;
|
|
12
|
+
declare function pickBy<T extends Record<string, unknown>>(object: T, predicate: (value: T[keyof T], key: keyof T) => boolean): Partial<T>;
|
|
13
|
+
declare function chunk<T>(records: T[], size: number): T[][];
|
|
14
|
+
declare function unique<T>(array: T[]): T[];
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region upstream/core-utils/lib/object-utils.d.ts
|
|
17
|
+
declare const spreadIfDefined: <T>(key: string, value: T | undefined | null) => Record<string, T>;
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region upstream/core-utils/lib/assertions.d.ts
|
|
20
|
+
declare function assertNotNullOrUndefined<T>(value: T | null | undefined, fieldName: string): asserts value is T;
|
|
21
|
+
declare const isNotUndefined: <T>(value: T | undefined) => value is T;
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region upstream/core-utils/lib/try-catch.d.ts
|
|
24
|
+
type Success<T> = {
|
|
25
|
+
data: T;
|
|
26
|
+
error: null;
|
|
27
|
+
};
|
|
28
|
+
type Failure<E> = {
|
|
29
|
+
data: null;
|
|
30
|
+
error: E;
|
|
31
|
+
};
|
|
32
|
+
type Result<T, E = Error> = Success<T> | Failure<E>;
|
|
33
|
+
declare function tryCatch<T, E = Error>(fn: () => Promise<T>): Promise<Result<T, E>>;
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region upstream/core-utils/lib/permission.d.ts
|
|
36
|
+
declare enum AIProviderName {
|
|
37
|
+
OPENAI = "openai",
|
|
38
|
+
OPENROUTER = "openrouter",
|
|
39
|
+
ANTHROPIC = "anthropic",
|
|
40
|
+
AZURE = "azure",
|
|
41
|
+
GOOGLE = "google",
|
|
42
|
+
ACTIVEPIECES = "activepieces",
|
|
43
|
+
CLOUDFLARE_GATEWAY = "cloudflare-gateway",
|
|
44
|
+
CUSTOM = "custom",
|
|
45
|
+
BEDROCK = "bedrock",
|
|
46
|
+
VERTEX = "vertex",
|
|
47
|
+
MISTRAL = "mistral",
|
|
48
|
+
XAI = "xai",
|
|
49
|
+
DEEPSEEK = "deepseek",
|
|
50
|
+
ZAI = "zai",
|
|
51
|
+
QWEN = "qwen",
|
|
52
|
+
MINIMAX = "minimax",
|
|
53
|
+
MOONSHOT = "moonshot"
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region upstream/core-piece-types/lib/agents.d.ts
|
|
57
|
+
declare const TASK_COMPLETION_TOOL_NAME = "updateTaskStatus";
|
|
58
|
+
declare enum AgentToolType {
|
|
59
|
+
PIECE = "PIECE",
|
|
60
|
+
FLOW = "FLOW",
|
|
61
|
+
MCP = "MCP",
|
|
62
|
+
KNOWLEDGE_BASE = "KNOWLEDGE_BASE"
|
|
63
|
+
}
|
|
64
|
+
declare enum FieldControlMode {
|
|
65
|
+
AGENT_DECIDE = "agent-decide",
|
|
66
|
+
CHOOSE_YOURSELF = "choose-yourself",
|
|
67
|
+
LEAVE_EMPTY = "leave-empty"
|
|
68
|
+
}
|
|
69
|
+
declare enum KnowledgeBaseSourceType {
|
|
70
|
+
FILE = "FILE",
|
|
71
|
+
TABLE = "TABLE"
|
|
72
|
+
}
|
|
73
|
+
declare enum McpProtocol {
|
|
74
|
+
SSE = "sse",
|
|
75
|
+
STREAMABLE_HTTP = "streamable-http",
|
|
76
|
+
SIMPLE_HTTP = "http"
|
|
77
|
+
}
|
|
78
|
+
declare enum McpAuthType {
|
|
79
|
+
NONE = "none",
|
|
80
|
+
ACCESS_TOKEN = "access_token",
|
|
81
|
+
API_KEY = "api_key",
|
|
82
|
+
HEADERS = "headers"
|
|
83
|
+
}
|
|
84
|
+
declare enum AgentOutputFieldType {
|
|
85
|
+
TEXT = "text",
|
|
86
|
+
NUMBER = "number",
|
|
87
|
+
BOOLEAN = "boolean"
|
|
88
|
+
}
|
|
89
|
+
declare enum AgentTaskStatus {
|
|
90
|
+
COMPLETED = "COMPLETED",
|
|
91
|
+
FAILED = "FAILED",
|
|
92
|
+
IN_PROGRESS = "IN_PROGRESS"
|
|
93
|
+
}
|
|
94
|
+
declare enum ContentBlockType {
|
|
95
|
+
MARKDOWN = "MARKDOWN",
|
|
96
|
+
TOOL_CALL = "TOOL_CALL"
|
|
97
|
+
}
|
|
98
|
+
declare enum ToolCallStatus {
|
|
99
|
+
IN_PROGRESS = "in-progress",
|
|
100
|
+
COMPLETED = "completed"
|
|
101
|
+
}
|
|
102
|
+
declare enum ExecutionToolStatus {
|
|
103
|
+
SUCCESS = "SUCCESS",
|
|
104
|
+
FAILED = "FAILED"
|
|
105
|
+
}
|
|
106
|
+
declare enum ToolCallType {
|
|
107
|
+
PIECE = "PIECE",
|
|
108
|
+
FLOW = "FLOW",
|
|
109
|
+
MCP = "MCP",
|
|
110
|
+
KNOWLEDGE_BASE = "KNOWLEDGE_BASE",
|
|
111
|
+
UNKNOWN = "UNKNOWN"
|
|
112
|
+
}
|
|
113
|
+
declare enum AgentPieceProps {
|
|
114
|
+
AGENT_ID = "agentId",
|
|
115
|
+
AGENT_TOOLS = "agentTools",
|
|
116
|
+
STRUCTURED_OUTPUT = "structuredOutput",
|
|
117
|
+
PROMPT = "prompt",
|
|
118
|
+
MAX_STEPS = "maxSteps",
|
|
119
|
+
AI_PROVIDER_MODEL = "aiProviderModel",
|
|
120
|
+
WEB_SEARCH = "webSearch",
|
|
121
|
+
WEB_SEARCH_OPTIONS = "webSearchOptions"
|
|
122
|
+
}
|
|
123
|
+
declare const McpAuthConfig: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
124
|
+
type: z.ZodMiniLiteral<McpAuthType.NONE>;
|
|
125
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
126
|
+
type: z.ZodMiniLiteral<McpAuthType.ACCESS_TOKEN>;
|
|
127
|
+
accessToken: z.ZodMiniString<string>;
|
|
128
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
129
|
+
type: z.ZodMiniLiteral<McpAuthType.API_KEY>;
|
|
130
|
+
apiKey: z.ZodMiniString<string>;
|
|
131
|
+
apiKeyHeader: z.ZodMiniString<string>;
|
|
132
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
133
|
+
type: z.ZodMiniLiteral<McpAuthType.HEADERS>;
|
|
134
|
+
headers: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
135
|
+
}, z.core.$strip>], "type">;
|
|
136
|
+
type McpAuthConfig = z.infer<typeof McpAuthConfig>;
|
|
137
|
+
declare const AgentFlowTool: z.ZodMiniObject<{
|
|
138
|
+
type: z.ZodMiniLiteral<AgentToolType.FLOW>;
|
|
139
|
+
toolName: z.ZodMiniString<string>;
|
|
140
|
+
externalFlowId: z.ZodMiniString<string>;
|
|
141
|
+
flowDisplayName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
type AgentFlowTool = z.infer<typeof AgentFlowTool>;
|
|
144
|
+
declare const AgentMcpTool: z.ZodMiniObject<{
|
|
145
|
+
type: z.ZodMiniLiteral<AgentToolType.MCP>;
|
|
146
|
+
toolName: z.ZodMiniString<string>;
|
|
147
|
+
serverUrl: z.ZodMiniURL;
|
|
148
|
+
protocol: z.ZodMiniEnum<typeof McpProtocol>;
|
|
149
|
+
auth: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
150
|
+
type: z.ZodMiniLiteral<McpAuthType.NONE>;
|
|
151
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
152
|
+
type: z.ZodMiniLiteral<McpAuthType.ACCESS_TOKEN>;
|
|
153
|
+
accessToken: z.ZodMiniString<string>;
|
|
154
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
155
|
+
type: z.ZodMiniLiteral<McpAuthType.API_KEY>;
|
|
156
|
+
apiKey: z.ZodMiniString<string>;
|
|
157
|
+
apiKeyHeader: z.ZodMiniString<string>;
|
|
158
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
159
|
+
type: z.ZodMiniLiteral<McpAuthType.HEADERS>;
|
|
160
|
+
headers: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
161
|
+
}, z.core.$strip>], "type">;
|
|
162
|
+
}, z.core.$strip>;
|
|
163
|
+
type AgentMcpTool = z.infer<typeof AgentMcpTool>;
|
|
164
|
+
declare const AgentKnowledgeBaseTool: z.ZodMiniObject<{
|
|
165
|
+
type: z.ZodMiniLiteral<AgentToolType.KNOWLEDGE_BASE>;
|
|
166
|
+
toolName: z.ZodMiniString<string>;
|
|
167
|
+
sourceType: z.ZodMiniEnum<typeof KnowledgeBaseSourceType>;
|
|
168
|
+
sourceId: z.ZodMiniString<string>;
|
|
169
|
+
sourceName: z.ZodMiniString<string>;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
type AgentKnowledgeBaseTool = z.infer<typeof AgentKnowledgeBaseTool>;
|
|
172
|
+
declare const AgentTool: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
173
|
+
type: z.ZodMiniLiteral<AgentToolType.PIECE>;
|
|
174
|
+
toolName: z.ZodMiniString<string>;
|
|
175
|
+
pieceMetadata: z.ZodMiniObject<{
|
|
176
|
+
pieceName: z.ZodMiniString<string>;
|
|
177
|
+
pieceVersion: z.ZodMiniString<string>;
|
|
178
|
+
actionName: z.ZodMiniString<string>;
|
|
179
|
+
predefinedInput: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
180
|
+
auth: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
181
|
+
fields: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
182
|
+
mode: z.ZodMiniEnum<typeof FieldControlMode>;
|
|
183
|
+
value: z.ZodMiniUnknown;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
188
|
+
type: z.ZodMiniLiteral<AgentToolType.FLOW>;
|
|
189
|
+
toolName: z.ZodMiniString<string>;
|
|
190
|
+
externalFlowId: z.ZodMiniString<string>;
|
|
191
|
+
flowDisplayName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
192
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
193
|
+
type: z.ZodMiniLiteral<AgentToolType.MCP>;
|
|
194
|
+
toolName: z.ZodMiniString<string>;
|
|
195
|
+
serverUrl: z.ZodMiniURL;
|
|
196
|
+
protocol: z.ZodMiniEnum<typeof McpProtocol>;
|
|
197
|
+
auth: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
198
|
+
type: z.ZodMiniLiteral<McpAuthType.NONE>;
|
|
199
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
200
|
+
type: z.ZodMiniLiteral<McpAuthType.ACCESS_TOKEN>;
|
|
201
|
+
accessToken: z.ZodMiniString<string>;
|
|
202
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
203
|
+
type: z.ZodMiniLiteral<McpAuthType.API_KEY>;
|
|
204
|
+
apiKey: z.ZodMiniString<string>;
|
|
205
|
+
apiKeyHeader: z.ZodMiniString<string>;
|
|
206
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
207
|
+
type: z.ZodMiniLiteral<McpAuthType.HEADERS>;
|
|
208
|
+
headers: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
|
|
209
|
+
}, z.core.$strip>], "type">;
|
|
210
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
211
|
+
type: z.ZodMiniLiteral<AgentToolType.KNOWLEDGE_BASE>;
|
|
212
|
+
toolName: z.ZodMiniString<string>;
|
|
213
|
+
sourceType: z.ZodMiniEnum<typeof KnowledgeBaseSourceType>;
|
|
214
|
+
sourceId: z.ZodMiniString<string>;
|
|
215
|
+
sourceName: z.ZodMiniString<string>;
|
|
216
|
+
}, z.core.$strip>], "type">;
|
|
217
|
+
type AgentTool = z.infer<typeof AgentTool>;
|
|
218
|
+
declare const AgentOutputField: z.ZodMiniObject<{
|
|
219
|
+
displayName: z.ZodMiniString<string>;
|
|
220
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
221
|
+
type: z.ZodMiniEnum<typeof AgentOutputFieldType>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
type AgentOutputField = z.infer<typeof AgentOutputField>;
|
|
224
|
+
declare const MarkdownContentBlock: z.ZodMiniObject<{
|
|
225
|
+
type: z.ZodMiniLiteral<ContentBlockType.MARKDOWN>;
|
|
226
|
+
markdown: z.ZodMiniString<string>;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
type MarkdownContentBlock = z.infer<typeof MarkdownContentBlock>;
|
|
229
|
+
declare const toolCallBaseSchema: z.ZodMiniObject<{
|
|
230
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
231
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
232
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
233
|
+
toolName: z.ZodMiniString<string>;
|
|
234
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
235
|
+
toolCallId: z.ZodMiniString<string>;
|
|
236
|
+
startTime: z.ZodMiniString<string>;
|
|
237
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
declare const ToolCallContentBlock: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
240
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.PIECE>;
|
|
241
|
+
pieceName: z.ZodMiniString<string>;
|
|
242
|
+
pieceVersion: z.ZodMiniString<string>;
|
|
243
|
+
actionName: z.ZodMiniString<string>;
|
|
244
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
245
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
246
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
247
|
+
toolName: z.ZodMiniString<string>;
|
|
248
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
249
|
+
toolCallId: z.ZodMiniString<string>;
|
|
250
|
+
startTime: z.ZodMiniString<string>;
|
|
251
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
252
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
253
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.FLOW>;
|
|
254
|
+
displayName: z.ZodMiniString<string>;
|
|
255
|
+
externalFlowId: z.ZodMiniString<string>;
|
|
256
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
257
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
258
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
259
|
+
toolName: z.ZodMiniString<string>;
|
|
260
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
261
|
+
toolCallId: z.ZodMiniString<string>;
|
|
262
|
+
startTime: z.ZodMiniString<string>;
|
|
263
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
264
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
265
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.MCP>;
|
|
266
|
+
displayName: z.ZodMiniString<string>;
|
|
267
|
+
serverUrl: z.ZodMiniString<string>;
|
|
268
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
269
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
270
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
271
|
+
toolName: z.ZodMiniString<string>;
|
|
272
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
273
|
+
toolCallId: z.ZodMiniString<string>;
|
|
274
|
+
startTime: z.ZodMiniString<string>;
|
|
275
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
276
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
277
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.KNOWLEDGE_BASE>;
|
|
278
|
+
displayName: z.ZodMiniString<string>;
|
|
279
|
+
sourceType: z.ZodMiniString<string>;
|
|
280
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
281
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
282
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
283
|
+
toolName: z.ZodMiniString<string>;
|
|
284
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
285
|
+
toolCallId: z.ZodMiniString<string>;
|
|
286
|
+
startTime: z.ZodMiniString<string>;
|
|
287
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
288
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
289
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.UNKNOWN>;
|
|
290
|
+
displayName: z.ZodMiniString<string>;
|
|
291
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
292
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
293
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
294
|
+
toolName: z.ZodMiniString<string>;
|
|
295
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
296
|
+
toolCallId: z.ZodMiniString<string>;
|
|
297
|
+
startTime: z.ZodMiniString<string>;
|
|
298
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
299
|
+
}, z.core.$strip>], "toolCallType">;
|
|
300
|
+
type ToolCallContentBlock = z.infer<typeof ToolCallContentBlock>;
|
|
301
|
+
declare const AgentStepBlock: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
302
|
+
type: z.ZodMiniLiteral<ContentBlockType.MARKDOWN>;
|
|
303
|
+
markdown: z.ZodMiniString<string>;
|
|
304
|
+
}, z.core.$strip>, z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
305
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.PIECE>;
|
|
306
|
+
pieceName: z.ZodMiniString<string>;
|
|
307
|
+
pieceVersion: z.ZodMiniString<string>;
|
|
308
|
+
actionName: z.ZodMiniString<string>;
|
|
309
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
310
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
311
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
312
|
+
toolName: z.ZodMiniString<string>;
|
|
313
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
314
|
+
toolCallId: z.ZodMiniString<string>;
|
|
315
|
+
startTime: z.ZodMiniString<string>;
|
|
316
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
317
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
318
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.FLOW>;
|
|
319
|
+
displayName: z.ZodMiniString<string>;
|
|
320
|
+
externalFlowId: z.ZodMiniString<string>;
|
|
321
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
322
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
323
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
324
|
+
toolName: z.ZodMiniString<string>;
|
|
325
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
326
|
+
toolCallId: z.ZodMiniString<string>;
|
|
327
|
+
startTime: z.ZodMiniString<string>;
|
|
328
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
329
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
330
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.MCP>;
|
|
331
|
+
displayName: z.ZodMiniString<string>;
|
|
332
|
+
serverUrl: z.ZodMiniString<string>;
|
|
333
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
334
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
335
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
336
|
+
toolName: z.ZodMiniString<string>;
|
|
337
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
338
|
+
toolCallId: z.ZodMiniString<string>;
|
|
339
|
+
startTime: z.ZodMiniString<string>;
|
|
340
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
341
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
342
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.KNOWLEDGE_BASE>;
|
|
343
|
+
displayName: z.ZodMiniString<string>;
|
|
344
|
+
sourceType: z.ZodMiniString<string>;
|
|
345
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
346
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
347
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
348
|
+
toolName: z.ZodMiniString<string>;
|
|
349
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
350
|
+
toolCallId: z.ZodMiniString<string>;
|
|
351
|
+
startTime: z.ZodMiniString<string>;
|
|
352
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
353
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
354
|
+
toolCallType: z.ZodMiniLiteral<ToolCallType.UNKNOWN>;
|
|
355
|
+
displayName: z.ZodMiniString<string>;
|
|
356
|
+
type: z.ZodMiniLiteral<ContentBlockType.TOOL_CALL>;
|
|
357
|
+
input: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
|
|
358
|
+
output: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
359
|
+
toolName: z.ZodMiniString<string>;
|
|
360
|
+
status: z.ZodMiniEnum<typeof ToolCallStatus>;
|
|
361
|
+
toolCallId: z.ZodMiniString<string>;
|
|
362
|
+
startTime: z.ZodMiniString<string>;
|
|
363
|
+
endTime: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
364
|
+
}, z.core.$strip>], "toolCallType">]>;
|
|
365
|
+
type AgentStepBlock = z.infer<typeof AgentStepBlock>;
|
|
366
|
+
declare function buildAuthHeaders(authConfig: McpAuthConfig): Record<string, string>;
|
|
367
|
+
declare function createToolName(name: string): string;
|
|
368
|
+
declare function toValidToolName(name: string): string;
|
|
369
|
+
declare function suggestToolName(sourceName: string): string;
|
|
370
|
+
declare function isProviderSafeIdentifier(name: string): boolean;
|
|
371
|
+
declare function toProviderSafeIdentifier({
|
|
372
|
+
name,
|
|
373
|
+
fallback
|
|
374
|
+
}: {
|
|
375
|
+
name: string;
|
|
376
|
+
fallback: string;
|
|
377
|
+
}): string;
|
|
378
|
+
declare function createPieceToolName(pieceName: string, actionName: string): string;
|
|
379
|
+
declare const mcpToolNameUtils: {
|
|
380
|
+
createToolName: typeof createToolName;
|
|
381
|
+
createPieceToolName: typeof createPieceToolName;
|
|
382
|
+
toValidToolName: typeof toValidToolName;
|
|
383
|
+
suggestToolName: typeof suggestToolName;
|
|
384
|
+
isProviderSafeIdentifier: typeof isProviderSafeIdentifier;
|
|
385
|
+
toProviderSafeIdentifier: typeof toProviderSafeIdentifier;
|
|
386
|
+
};
|
|
387
|
+
type ToolCallBase = z.infer<typeof toolCallBaseSchema>;
|
|
388
|
+
type AgentProviderModel = {
|
|
389
|
+
provider: AIProviderName;
|
|
390
|
+
model: string;
|
|
391
|
+
configId?: string;
|
|
392
|
+
};
|
|
393
|
+
type AgentResult = {
|
|
394
|
+
prompt: string;
|
|
395
|
+
steps: AgentStepBlock[];
|
|
396
|
+
status: AgentTaskStatus;
|
|
397
|
+
structuredOutput?: unknown;
|
|
398
|
+
failure?: string;
|
|
399
|
+
};
|
|
400
|
+
declare const AGENT_STEP_TIMEOUT_MS: number;
|
|
401
|
+
declare const AGENT_STEP_TEST_TIMEOUT_MS: number;
|
|
402
|
+
//#endregion
|
|
403
|
+
//#region upstream/core-piece-types/lib/ai-providers.d.ts
|
|
404
|
+
declare enum AIProviderModelType {
|
|
405
|
+
IMAGE = "image",
|
|
406
|
+
TEXT = "text"
|
|
407
|
+
}
|
|
408
|
+
declare const BaseAIProviderAuthConfig: z.ZodMiniObject<{
|
|
409
|
+
apiKey: z.ZodMiniString<string>;
|
|
410
|
+
}, z.core.$strip>;
|
|
411
|
+
type BaseAIProviderAuthConfig = z.infer<typeof BaseAIProviderAuthConfig>;
|
|
412
|
+
declare const VertexProviderAuthConfig: z.ZodMiniObject<{
|
|
413
|
+
serviceAccountJson: z.ZodMiniString<string>;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
type VertexProviderAuthConfig = z.infer<typeof VertexProviderAuthConfig>;
|
|
416
|
+
declare const BedrockProviderAuthConfig: z.ZodMiniObject<{
|
|
417
|
+
accessKeyId: z.ZodMiniString<string>;
|
|
418
|
+
secretAccessKey: z.ZodMiniString<string>;
|
|
419
|
+
}, z.core.$strip>;
|
|
420
|
+
type BedrockProviderAuthConfig = z.infer<typeof BedrockProviderAuthConfig>;
|
|
421
|
+
declare const OpenAICompatibleProviderConfig: z.ZodMiniObject<{
|
|
422
|
+
apiKeyHeader: z.ZodMiniString<string>;
|
|
423
|
+
baseUrl: z.ZodMiniString<string>;
|
|
424
|
+
models: z.ZodMiniArray<z.ZodMiniObject<{
|
|
425
|
+
modelId: z.ZodMiniString<string>;
|
|
426
|
+
modelName: z.ZodMiniString<string>;
|
|
427
|
+
modelType: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
428
|
+
}, z.core.$strip>>;
|
|
429
|
+
defaultHeaders: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
430
|
+
apiStyle: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
431
|
+
chat: "chat";
|
|
432
|
+
responses: "responses";
|
|
433
|
+
}>>;
|
|
434
|
+
}, z.core.$strip>;
|
|
435
|
+
type OpenAICompatibleProviderConfig = z.infer<typeof OpenAICompatibleProviderConfig>;
|
|
436
|
+
declare const CloudflareGatewayProviderConfig: z.ZodMiniObject<{
|
|
437
|
+
accountId: z.ZodMiniString<string>;
|
|
438
|
+
gatewayId: z.ZodMiniString<string>;
|
|
439
|
+
models: z.ZodMiniArray<z.ZodMiniObject<{
|
|
440
|
+
modelId: z.ZodMiniString<string>;
|
|
441
|
+
modelName: z.ZodMiniString<string>;
|
|
442
|
+
modelType: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
443
|
+
}, z.core.$strip>>;
|
|
444
|
+
vertexProject: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
445
|
+
vertexRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
446
|
+
}, z.core.$strip>;
|
|
447
|
+
type CloudflareGatewayProviderConfig = z.infer<typeof CloudflareGatewayProviderConfig>;
|
|
448
|
+
declare const AzureProviderConfig: z.ZodMiniObject<{
|
|
449
|
+
resourceName: z.ZodMiniString<string>;
|
|
450
|
+
apiVersion: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>;
|
|
451
|
+
}, z.core.$strip>;
|
|
452
|
+
type AzureProviderConfig = z.infer<typeof AzureProviderConfig>;
|
|
453
|
+
declare const BedrockProviderConfig: z.ZodMiniObject<{
|
|
454
|
+
region: z.ZodMiniString<string>;
|
|
455
|
+
}, z.core.$strip>;
|
|
456
|
+
type BedrockProviderConfig = z.infer<typeof BedrockProviderConfig>;
|
|
457
|
+
declare const VertexProviderConfig: z.ZodMiniObject<{
|
|
458
|
+
project: z.ZodMiniString<string>;
|
|
459
|
+
region: z.ZodMiniString<string>;
|
|
460
|
+
models: z.ZodMiniArray<z.ZodMiniObject<{
|
|
461
|
+
modelId: z.ZodMiniString<string>;
|
|
462
|
+
modelName: z.ZodMiniString<string>;
|
|
463
|
+
modelType: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
464
|
+
}, z.core.$strip>>;
|
|
465
|
+
}, z.core.$strip>;
|
|
466
|
+
type VertexProviderConfig = z.infer<typeof VertexProviderConfig>;
|
|
467
|
+
declare const OpenAiCompatibleVendorConfig: z.ZodMiniObject<{}, z.core.$strip>;
|
|
468
|
+
type OpenAiCompatibleVendorConfig = z.infer<typeof OpenAiCompatibleVendorConfig>;
|
|
469
|
+
declare const AIProviderModel: z.ZodMiniObject<{
|
|
470
|
+
id: z.ZodMiniString<string>;
|
|
471
|
+
name: z.ZodMiniString<string>;
|
|
472
|
+
type: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
473
|
+
}, z.core.$strip>;
|
|
474
|
+
type AIProviderModel = z.infer<typeof AIProviderModel>;
|
|
475
|
+
declare const AIProviderWithoutSensitiveData: z.ZodMiniObject<{
|
|
476
|
+
id: z.ZodMiniString<string>;
|
|
477
|
+
name: z.ZodMiniString<string>;
|
|
478
|
+
provider: z.ZodMiniEnum<typeof AIProviderName>;
|
|
479
|
+
config: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
480
|
+
apiKeyHeader: z.ZodMiniString<string>;
|
|
481
|
+
baseUrl: z.ZodMiniString<string>;
|
|
482
|
+
models: z.ZodMiniArray<z.ZodMiniObject<{
|
|
483
|
+
modelId: z.ZodMiniString<string>;
|
|
484
|
+
modelName: z.ZodMiniString<string>;
|
|
485
|
+
modelType: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
486
|
+
}, z.core.$strip>>;
|
|
487
|
+
defaultHeaders: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
488
|
+
apiStyle: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
489
|
+
chat: "chat";
|
|
490
|
+
responses: "responses";
|
|
491
|
+
}>>;
|
|
492
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
493
|
+
accountId: z.ZodMiniString<string>;
|
|
494
|
+
gatewayId: z.ZodMiniString<string>;
|
|
495
|
+
models: z.ZodMiniArray<z.ZodMiniObject<{
|
|
496
|
+
modelId: z.ZodMiniString<string>;
|
|
497
|
+
modelName: z.ZodMiniString<string>;
|
|
498
|
+
modelType: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
499
|
+
}, z.core.$strip>>;
|
|
500
|
+
vertexProject: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
501
|
+
vertexRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
502
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
503
|
+
resourceName: z.ZodMiniString<string>;
|
|
504
|
+
apiVersion: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>;
|
|
505
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
506
|
+
project: z.ZodMiniString<string>;
|
|
507
|
+
region: z.ZodMiniString<string>;
|
|
508
|
+
models: z.ZodMiniArray<z.ZodMiniObject<{
|
|
509
|
+
modelId: z.ZodMiniString<string>;
|
|
510
|
+
modelName: z.ZodMiniString<string>;
|
|
511
|
+
modelType: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
512
|
+
}, z.core.$strip>>;
|
|
513
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
514
|
+
region: z.ZodMiniString<string>;
|
|
515
|
+
}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>]>;
|
|
516
|
+
enabledForChat: z.ZodMiniBoolean<boolean>;
|
|
517
|
+
}, z.core.$strip>;
|
|
518
|
+
type AIProviderWithoutSensitiveData = z.infer<typeof AIProviderWithoutSensitiveData>;
|
|
519
|
+
declare const ProjectAIProvider: z.ZodMiniObject<{
|
|
520
|
+
provider: z.ZodMiniEnum<typeof AIProviderName>;
|
|
521
|
+
name: z.ZodMiniString<string>;
|
|
522
|
+
enabledForChat: z.ZodMiniBoolean<boolean>;
|
|
523
|
+
keys: z.ZodMiniArray<z.ZodMiniObject<{
|
|
524
|
+
id: z.ZodMiniString<string>;
|
|
525
|
+
name: z.ZodMiniString<string>;
|
|
526
|
+
}, z.core.$strip>>;
|
|
527
|
+
}, z.core.$strip>;
|
|
528
|
+
type ProjectAIProvider = z.infer<typeof ProjectAIProvider>;
|
|
529
|
+
declare const GetProviderConfigResponse: z.ZodMiniObject<{
|
|
530
|
+
provider: z.ZodMiniEnum<typeof AIProviderName>;
|
|
531
|
+
configId: z.ZodMiniString<string>;
|
|
532
|
+
config: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
533
|
+
apiKeyHeader: z.ZodMiniString<string>;
|
|
534
|
+
baseUrl: z.ZodMiniString<string>;
|
|
535
|
+
models: z.ZodMiniArray<z.ZodMiniObject<{
|
|
536
|
+
modelId: z.ZodMiniString<string>;
|
|
537
|
+
modelName: z.ZodMiniString<string>;
|
|
538
|
+
modelType: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
539
|
+
}, z.core.$strip>>;
|
|
540
|
+
defaultHeaders: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
541
|
+
apiStyle: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
542
|
+
chat: "chat";
|
|
543
|
+
responses: "responses";
|
|
544
|
+
}>>;
|
|
545
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
546
|
+
accountId: z.ZodMiniString<string>;
|
|
547
|
+
gatewayId: z.ZodMiniString<string>;
|
|
548
|
+
models: z.ZodMiniArray<z.ZodMiniObject<{
|
|
549
|
+
modelId: z.ZodMiniString<string>;
|
|
550
|
+
modelName: z.ZodMiniString<string>;
|
|
551
|
+
modelType: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
552
|
+
}, z.core.$strip>>;
|
|
553
|
+
vertexProject: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
554
|
+
vertexRegion: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
555
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
556
|
+
resourceName: z.ZodMiniString<string>;
|
|
557
|
+
apiVersion: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>;
|
|
558
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
559
|
+
project: z.ZodMiniString<string>;
|
|
560
|
+
region: z.ZodMiniString<string>;
|
|
561
|
+
models: z.ZodMiniArray<z.ZodMiniObject<{
|
|
562
|
+
modelId: z.ZodMiniString<string>;
|
|
563
|
+
modelName: z.ZodMiniString<string>;
|
|
564
|
+
modelType: z.ZodMiniEnum<typeof AIProviderModelType>;
|
|
565
|
+
}, z.core.$strip>>;
|
|
566
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
567
|
+
region: z.ZodMiniString<string>;
|
|
568
|
+
}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>, z.ZodMiniObject<{}, z.core.$strip>]>;
|
|
569
|
+
auth: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
570
|
+
apiKey: z.ZodMiniString<string>;
|
|
571
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
572
|
+
apiKey: z.ZodMiniString<string>;
|
|
573
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
574
|
+
apiKey: z.ZodMiniString<string>;
|
|
575
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
576
|
+
apiKey: z.ZodMiniString<string>;
|
|
577
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
578
|
+
apiKey: z.ZodMiniString<string>;
|
|
579
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
580
|
+
apiKey: z.ZodMiniString<string>;
|
|
581
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
582
|
+
apiKey: z.ZodMiniString<string>;
|
|
583
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
584
|
+
apiKey: z.ZodMiniString<string>;
|
|
585
|
+
apiKeyHash: z.ZodMiniString<string>;
|
|
586
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
587
|
+
accessKeyId: z.ZodMiniString<string>;
|
|
588
|
+
secretAccessKey: z.ZodMiniString<string>;
|
|
589
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
590
|
+
serviceAccountJson: z.ZodMiniString<string>;
|
|
591
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
592
|
+
apiKey: z.ZodMiniString<string>;
|
|
593
|
+
}, z.core.$strip>]>;
|
|
594
|
+
platformId: z.ZodMiniString<string>;
|
|
595
|
+
}, z.core.$strip>;
|
|
596
|
+
type GetProviderConfigResponse = z.infer<typeof GetProviderConfigResponse>;
|
|
597
|
+
declare function splitCloudflareGatewayModelId(modelId: string): {
|
|
598
|
+
provider: "google-vertex-ai";
|
|
599
|
+
publisher: string;
|
|
600
|
+
model: string;
|
|
601
|
+
} | {
|
|
602
|
+
provider: string;
|
|
603
|
+
model: string;
|
|
604
|
+
publisher: undefined;
|
|
605
|
+
} | {
|
|
606
|
+
provider: undefined;
|
|
607
|
+
model: string;
|
|
608
|
+
publisher: undefined;
|
|
609
|
+
};
|
|
610
|
+
declare function getEffectiveProviderAndModel({
|
|
611
|
+
provider,
|
|
612
|
+
model
|
|
613
|
+
}: {
|
|
614
|
+
provider: string | undefined;
|
|
615
|
+
model: string | undefined;
|
|
616
|
+
}): {
|
|
617
|
+
provider: string | undefined;
|
|
618
|
+
model: string | undefined;
|
|
619
|
+
};
|
|
620
|
+
declare const OPENAI_COMPATIBLE_VENDOR_BASE_URLS: Record<OpenAiCompatibleVendor, string>;
|
|
621
|
+
declare const ACTIVEPIECES_CHAT_TIERS: readonly [{
|
|
622
|
+
readonly id: "fast";
|
|
623
|
+
readonly label: "Fast";
|
|
624
|
+
readonly modelId: "anthropic/claude-haiku-4.5";
|
|
625
|
+
readonly nativeModelId: "claude-haiku-4-5";
|
|
626
|
+
readonly thinkingBudget: 5000;
|
|
627
|
+
readonly creditWeight: 2;
|
|
628
|
+
}, {
|
|
629
|
+
readonly id: "smart";
|
|
630
|
+
readonly label: "Expert";
|
|
631
|
+
readonly modelId: "anthropic/claude-sonnet-4.6";
|
|
632
|
+
readonly nativeModelId: "claude-sonnet-4-6";
|
|
633
|
+
readonly thinkingBudget: 10000;
|
|
634
|
+
readonly creditWeight: 10;
|
|
635
|
+
}, {
|
|
636
|
+
readonly id: "premium";
|
|
637
|
+
readonly label: "Heavy";
|
|
638
|
+
readonly modelId: "anthropic/claude-opus-4.8";
|
|
639
|
+
readonly nativeModelId: "claude-opus-4-7";
|
|
640
|
+
readonly thinkingBudget: 20000;
|
|
641
|
+
readonly creditWeight: 20;
|
|
642
|
+
}];
|
|
643
|
+
declare const DEFAULT_CHAT_TIER_ID: "smart";
|
|
644
|
+
declare const AI_PROVIDER_CAPABILITIES: Record<AIProviderName, AIProviderCapabilities>;
|
|
645
|
+
type AIWebSearchMode = "native" | "plugin";
|
|
646
|
+
type OpenAiCompatibleVendor = AIProviderName.XAI | AIProviderName.DEEPSEEK | AIProviderName.ZAI | AIProviderName.QWEN | AIProviderName.MINIMAX | AIProviderName.MOONSHOT;
|
|
647
|
+
type AIProviderCapabilities = {
|
|
648
|
+
chatModels?: readonly string[] | undefined;
|
|
649
|
+
maxContextTokens: number;
|
|
650
|
+
defaultEmbeddingModel: string | undefined;
|
|
651
|
+
supportsEmbedding: boolean;
|
|
652
|
+
supportsImageGeneration: boolean;
|
|
653
|
+
webSearch: AIWebSearchMode | undefined;
|
|
654
|
+
};
|
|
655
|
+
//#endregion
|
|
656
|
+
//#region upstream/core-piece-types/lib/forms.d.ts
|
|
657
|
+
declare const FileResponseInterface: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
658
|
+
base64Url: z.ZodMiniString<string>;
|
|
659
|
+
fileName: z.ZodMiniString<string>;
|
|
660
|
+
extension: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
661
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
662
|
+
mimeType: z.ZodMiniString<string>;
|
|
663
|
+
url: z.ZodMiniString<string>;
|
|
664
|
+
fileName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
665
|
+
}, z.core.$strip>]>;
|
|
666
|
+
type FileResponseInterface = z.infer<typeof FileResponseInterface>;
|
|
667
|
+
declare enum HumanInputFormResultTypes {
|
|
668
|
+
FILE = "file",
|
|
669
|
+
MARKDOWN = "markdown"
|
|
670
|
+
}
|
|
671
|
+
declare function createKeyForFormInput(displayName: string): string;
|
|
672
|
+
declare const HumanInputFormResult: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
673
|
+
type: z.ZodMiniLiteral<HumanInputFormResultTypes.FILE>;
|
|
674
|
+
value: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
675
|
+
base64Url: z.ZodMiniString<string>;
|
|
676
|
+
fileName: z.ZodMiniString<string>;
|
|
677
|
+
extension: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
678
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
679
|
+
mimeType: z.ZodMiniString<string>;
|
|
680
|
+
url: z.ZodMiniString<string>;
|
|
681
|
+
fileName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
682
|
+
}, z.core.$strip>]>;
|
|
683
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
684
|
+
type: z.ZodMiniLiteral<HumanInputFormResultTypes.MARKDOWN>;
|
|
685
|
+
value: z.ZodMiniString<string>;
|
|
686
|
+
files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
687
|
+
base64Url: z.ZodMiniString<string>;
|
|
688
|
+
fileName: z.ZodMiniString<string>;
|
|
689
|
+
extension: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
690
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
691
|
+
mimeType: z.ZodMiniString<string>;
|
|
692
|
+
url: z.ZodMiniString<string>;
|
|
693
|
+
fileName: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
694
|
+
}, z.core.$strip>]>>>;
|
|
695
|
+
}, z.core.$strip>]>;
|
|
696
|
+
type HumanInputFormResult = z.infer<typeof HumanInputFormResult>;
|
|
697
|
+
declare const ChatFormResponse: z.ZodMiniObject<{
|
|
698
|
+
sessionId: z.ZodMiniString<string>;
|
|
699
|
+
message: z.ZodMiniString<string>;
|
|
700
|
+
files: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
701
|
+
}, z.core.$strip>;
|
|
702
|
+
type ChatFormResponse = z.infer<typeof ChatFormResponse>;
|
|
703
|
+
//#endregion
|
|
704
|
+
//#region upstream/core-piece-types/lib/tables.d.ts
|
|
705
|
+
declare enum FieldType {
|
|
706
|
+
TEXT = "TEXT",
|
|
707
|
+
NUMBER = "NUMBER",
|
|
708
|
+
DATE = "DATE",
|
|
709
|
+
DATETIME = "DATETIME",
|
|
710
|
+
STATIC_DROPDOWN = "STATIC_DROPDOWN"
|
|
711
|
+
}
|
|
712
|
+
declare enum TableAutomationTrigger {
|
|
713
|
+
ON_NEW_RECORD = "ON_NEW_RECORD",
|
|
714
|
+
ON_UPDATE_RECORD = "ON_UPDATE_RECORD"
|
|
715
|
+
}
|
|
716
|
+
declare enum TableAutomationStatus {
|
|
717
|
+
ENABLED = "ENABLED",
|
|
718
|
+
DISABLED = "DISABLED"
|
|
719
|
+
}
|
|
720
|
+
declare enum TableWebhookEventType {
|
|
721
|
+
RECORD_CREATED = "RECORD_CREATED",
|
|
722
|
+
RECORD_UPDATED = "RECORD_UPDATED",
|
|
723
|
+
RECORD_DELETED = "RECORD_DELETED"
|
|
724
|
+
}
|
|
725
|
+
declare enum FilterOperator {
|
|
726
|
+
EQ = "eq",
|
|
727
|
+
NEQ = "neq",
|
|
728
|
+
GT = "gt",
|
|
729
|
+
GTE = "gte",
|
|
730
|
+
LT = "lt",
|
|
731
|
+
LTE = "lte",
|
|
732
|
+
CO = "co",
|
|
733
|
+
EXISTS = "exists",
|
|
734
|
+
NOT_EXISTS = "not_exists"
|
|
735
|
+
}
|
|
736
|
+
declare const Field: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
737
|
+
name: z.ZodMiniString<string>;
|
|
738
|
+
externalId: z.ZodMiniString<string>;
|
|
739
|
+
type: z.ZodMiniLiteral<FieldType.STATIC_DROPDOWN>;
|
|
740
|
+
tableId: z.ZodMiniString<string>;
|
|
741
|
+
projectId: z.ZodMiniString<string>;
|
|
742
|
+
data: z.ZodMiniObject<{
|
|
743
|
+
options: z.ZodMiniArray<z.ZodMiniObject<{
|
|
744
|
+
value: z.ZodMiniString<string>;
|
|
745
|
+
}, z.core.$strip>>;
|
|
746
|
+
}, z.core.$strip>;
|
|
747
|
+
id: z.ZodMiniString<string>;
|
|
748
|
+
created: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
749
|
+
updated: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
750
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
751
|
+
name: z.ZodMiniString<string>;
|
|
752
|
+
externalId: z.ZodMiniString<string>;
|
|
753
|
+
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<FieldType.TEXT>, z.ZodMiniLiteral<FieldType.NUMBER>, z.ZodMiniLiteral<FieldType.DATE>, z.ZodMiniLiteral<FieldType.DATETIME>]>;
|
|
754
|
+
tableId: z.ZodMiniString<string>;
|
|
755
|
+
projectId: z.ZodMiniString<string>;
|
|
756
|
+
id: z.ZodMiniString<string>;
|
|
757
|
+
created: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
758
|
+
updated: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
759
|
+
}, z.core.$strip>]>;
|
|
760
|
+
type Field = z.infer<typeof Field>;
|
|
761
|
+
declare const Table: z.ZodMiniObject<{
|
|
762
|
+
name: z.ZodMiniString<string>;
|
|
763
|
+
folderId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
764
|
+
projectId: z.ZodMiniString<string>;
|
|
765
|
+
externalId: z.ZodMiniString<string>;
|
|
766
|
+
status: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniEnum<typeof TableAutomationStatus>>>;
|
|
767
|
+
trigger: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniEnum<typeof TableAutomationTrigger>>>;
|
|
768
|
+
id: z.ZodMiniString<string>;
|
|
769
|
+
created: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
770
|
+
updated: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
771
|
+
}, z.core.$strip>;
|
|
772
|
+
type Table = z.infer<typeof Table>;
|
|
773
|
+
declare const PopulatedRecord: z.ZodMiniObject<{
|
|
774
|
+
tableId: z.ZodMiniString<string>;
|
|
775
|
+
projectId: z.ZodMiniString<string>;
|
|
776
|
+
cells: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
777
|
+
updated: z.ZodMiniString<string>;
|
|
778
|
+
created: z.ZodMiniString<string>;
|
|
779
|
+
value: z.ZodMiniUnknown;
|
|
780
|
+
fieldName: z.ZodMiniString<string>;
|
|
781
|
+
}, z.core.$strip>>;
|
|
782
|
+
id: z.ZodMiniString<string>;
|
|
783
|
+
created: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
784
|
+
updated: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
785
|
+
}, z.core.$strip>;
|
|
786
|
+
type PopulatedRecord = z.infer<typeof PopulatedRecord>;
|
|
787
|
+
declare const CreateTableWebhookRequest: z.ZodMiniObject<{
|
|
788
|
+
events: z.ZodMiniArray<z.ZodMiniEnum<typeof TableWebhookEventType>>;
|
|
789
|
+
webhookUrl: z.ZodMiniString<string>;
|
|
790
|
+
flowId: z.ZodMiniString<string>;
|
|
791
|
+
}, z.core.$strip>;
|
|
792
|
+
type CreateTableWebhookRequest = z.infer<typeof CreateTableWebhookRequest>;
|
|
793
|
+
declare const ExportTableResponse: z.ZodMiniObject<{
|
|
794
|
+
fields: z.ZodMiniArray<z.ZodMiniObject<{
|
|
795
|
+
id: z.ZodMiniString<string>;
|
|
796
|
+
name: z.ZodMiniString<string>;
|
|
797
|
+
}, z.core.$strip>>;
|
|
798
|
+
rows: z.ZodMiniArray<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
799
|
+
name: z.ZodMiniString<string>;
|
|
800
|
+
}, z.core.$strip>;
|
|
801
|
+
type ExportTableResponse = z.infer<typeof ExportTableResponse>;
|
|
802
|
+
declare const ListTablesRequest: z.ZodMiniObject<{
|
|
803
|
+
projectId: z.ZodMiniString<string>;
|
|
804
|
+
limit: z.ZodMiniOptional<z.ZodMiniNumber<unknown>>;
|
|
805
|
+
cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
806
|
+
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
807
|
+
externalIds: z.ZodMiniPipe<z.ZodMiniTransform<any[] | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
808
|
+
folderId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
809
|
+
folderIds: z.ZodMiniPipe<z.ZodMiniTransform<any[] | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
810
|
+
}, z.core.$strip>;
|
|
811
|
+
type ListTablesRequest = z.infer<typeof ListTablesRequest>;
|
|
812
|
+
declare const CreateRecordsRequest: z.ZodMiniObject<{
|
|
813
|
+
records: z.ZodMiniArray<z.ZodMiniArray<z.ZodMiniObject<{
|
|
814
|
+
fieldId: z.ZodMiniString<string>;
|
|
815
|
+
value: z.ZodMiniPipe<z.ZodMiniTransform<string | null | undefined, unknown>, z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
816
|
+
}, z.core.$strip>>>;
|
|
817
|
+
tableId: z.ZodMiniString<string>;
|
|
818
|
+
}, z.core.$strip>;
|
|
819
|
+
type CreateRecordsRequest = z.infer<typeof CreateRecordsRequest>;
|
|
820
|
+
declare const UpdateRecordRequest: z.ZodMiniObject<{
|
|
821
|
+
cells: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
822
|
+
fieldId: z.ZodMiniString<string>;
|
|
823
|
+
value: z.ZodMiniPipe<z.ZodMiniTransform<string | null | undefined, unknown>, z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
824
|
+
}, z.core.$strip>>>;
|
|
825
|
+
tableId: z.ZodMiniString<string>;
|
|
826
|
+
agentUpdate: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
827
|
+
}, z.core.$strip>;
|
|
828
|
+
type UpdateRecordRequest = z.infer<typeof UpdateRecordRequest>;
|
|
829
|
+
declare const Filter: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
830
|
+
fieldId: z.ZodMiniString<string>;
|
|
831
|
+
operator: z.ZodMiniLiteral<FilterOperator.EQ>;
|
|
832
|
+
value: z.ZodMiniString<string>;
|
|
833
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
834
|
+
fieldId: z.ZodMiniString<string>;
|
|
835
|
+
operator: z.ZodMiniLiteral<FilterOperator.NEQ>;
|
|
836
|
+
value: z.ZodMiniString<string>;
|
|
837
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
838
|
+
fieldId: z.ZodMiniString<string>;
|
|
839
|
+
operator: z.ZodMiniLiteral<FilterOperator.GT>;
|
|
840
|
+
value: z.ZodMiniString<string>;
|
|
841
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
842
|
+
fieldId: z.ZodMiniString<string>;
|
|
843
|
+
operator: z.ZodMiniLiteral<FilterOperator.GTE>;
|
|
844
|
+
value: z.ZodMiniString<string>;
|
|
845
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
846
|
+
fieldId: z.ZodMiniString<string>;
|
|
847
|
+
operator: z.ZodMiniLiteral<FilterOperator.LT>;
|
|
848
|
+
value: z.ZodMiniString<string>;
|
|
849
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
850
|
+
fieldId: z.ZodMiniString<string>;
|
|
851
|
+
operator: z.ZodMiniLiteral<FilterOperator.LTE>;
|
|
852
|
+
value: z.ZodMiniString<string>;
|
|
853
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
854
|
+
fieldId: z.ZodMiniString<string>;
|
|
855
|
+
operator: z.ZodMiniLiteral<FilterOperator.CO>;
|
|
856
|
+
value: z.ZodMiniString<string>;
|
|
857
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
858
|
+
fieldId: z.ZodMiniString<string>;
|
|
859
|
+
operator: z.ZodMiniLiteral<FilterOperator.EXISTS>;
|
|
860
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
861
|
+
fieldId: z.ZodMiniString<string>;
|
|
862
|
+
operator: z.ZodMiniLiteral<FilterOperator.NOT_EXISTS>;
|
|
863
|
+
}, z.core.$strip>], "operator">;
|
|
864
|
+
type Filter = z.infer<typeof Filter>;
|
|
865
|
+
declare const ListRecordsRequest: z.ZodMiniObject<{
|
|
866
|
+
tableId: z.ZodMiniString<string>;
|
|
867
|
+
limit: z.ZodMiniOptional<z.ZodMiniNumber<unknown>>;
|
|
868
|
+
cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
869
|
+
filters: z.ZodMiniPipe<z.ZodMiniTransform<any[] | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
870
|
+
fieldId: z.ZodMiniString<string>;
|
|
871
|
+
operator: z.ZodMiniLiteral<FilterOperator.EQ>;
|
|
872
|
+
value: z.ZodMiniString<string>;
|
|
873
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
874
|
+
fieldId: z.ZodMiniString<string>;
|
|
875
|
+
operator: z.ZodMiniLiteral<FilterOperator.NEQ>;
|
|
876
|
+
value: z.ZodMiniString<string>;
|
|
877
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
878
|
+
fieldId: z.ZodMiniString<string>;
|
|
879
|
+
operator: z.ZodMiniLiteral<FilterOperator.GT>;
|
|
880
|
+
value: z.ZodMiniString<string>;
|
|
881
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
882
|
+
fieldId: z.ZodMiniString<string>;
|
|
883
|
+
operator: z.ZodMiniLiteral<FilterOperator.GTE>;
|
|
884
|
+
value: z.ZodMiniString<string>;
|
|
885
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
886
|
+
fieldId: z.ZodMiniString<string>;
|
|
887
|
+
operator: z.ZodMiniLiteral<FilterOperator.LT>;
|
|
888
|
+
value: z.ZodMiniString<string>;
|
|
889
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
890
|
+
fieldId: z.ZodMiniString<string>;
|
|
891
|
+
operator: z.ZodMiniLiteral<FilterOperator.LTE>;
|
|
892
|
+
value: z.ZodMiniString<string>;
|
|
893
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
894
|
+
fieldId: z.ZodMiniString<string>;
|
|
895
|
+
operator: z.ZodMiniLiteral<FilterOperator.CO>;
|
|
896
|
+
value: z.ZodMiniString<string>;
|
|
897
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
898
|
+
fieldId: z.ZodMiniString<string>;
|
|
899
|
+
operator: z.ZodMiniLiteral<FilterOperator.EXISTS>;
|
|
900
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
901
|
+
fieldId: z.ZodMiniString<string>;
|
|
902
|
+
operator: z.ZodMiniLiteral<FilterOperator.NOT_EXISTS>;
|
|
903
|
+
}, z.core.$strip>], "operator">>>>;
|
|
904
|
+
}, z.core.$strip>;
|
|
905
|
+
declare const StaticDropdownEmptyOption: {
|
|
906
|
+
label: string;
|
|
907
|
+
value: string;
|
|
908
|
+
};
|
|
909
|
+
type ListRecordsRequest = Omit<z.infer<typeof ListRecordsRequest>, "cursor"> & {
|
|
910
|
+
cursor: Cursor | undefined;
|
|
911
|
+
};
|
|
912
|
+
//#endregion
|
|
913
|
+
//#region upstream/core-piece-types/lib/flow-contracts.d.ts
|
|
914
|
+
declare enum FlowStatus {
|
|
915
|
+
ENABLED = "ENABLED",
|
|
916
|
+
DISABLED = "DISABLED"
|
|
917
|
+
}
|
|
918
|
+
declare enum FlowTriggerType {
|
|
919
|
+
EMPTY = "EMPTY",
|
|
920
|
+
PIECE = "PIECE_TRIGGER"
|
|
921
|
+
}
|
|
922
|
+
declare const StopResponse: z.ZodMiniObject<{
|
|
923
|
+
status: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
924
|
+
body: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
925
|
+
headers: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
926
|
+
}, z.core.$strip>;
|
|
927
|
+
type StopResponse = z.infer<typeof StopResponse>;
|
|
928
|
+
declare const Project: z.ZodMiniObject<{
|
|
929
|
+
deleted: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>>>;
|
|
930
|
+
ownerId: z.ZodMiniString<string>;
|
|
931
|
+
displayName: z.ZodMiniString<string>;
|
|
932
|
+
platformId: z.ZodMiniString<string>;
|
|
933
|
+
externalId: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
934
|
+
id: z.ZodMiniString<string>;
|
|
935
|
+
created: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
936
|
+
updated: z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniString<string>>;
|
|
937
|
+
}, z.core.$strip>;
|
|
938
|
+
type Project = z.infer<typeof Project>;
|
|
939
|
+
declare const USE_DRAFT_QUERY_PARAM_NAME = "useDraft";
|
|
940
|
+
declare const PARENT_RUN_ID_HEADER = "ap-parent-run-id";
|
|
941
|
+
declare const FAIL_PARENT_ON_FAILURE_HEADER = "ap-fail-parent-on-failure";
|
|
942
|
+
declare const RAW_PAYLOAD_HEADER = "ap-raw-payload";
|
|
943
|
+
type PopulatedFlow = {
|
|
944
|
+
id: string;
|
|
945
|
+
externalId?: string;
|
|
946
|
+
status: FlowStatus;
|
|
947
|
+
version: {
|
|
948
|
+
displayName: string;
|
|
949
|
+
trigger: {
|
|
950
|
+
type: FlowTriggerType;
|
|
951
|
+
settings: {
|
|
952
|
+
pieceName?: string;
|
|
953
|
+
input: {
|
|
954
|
+
exampleData?: unknown;
|
|
955
|
+
} & Record<string, unknown>;
|
|
956
|
+
} & Record<string, unknown>;
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
//#endregion
|
|
961
|
+
//#region upstream/core-piece-types/lib/mcp-piece.d.ts
|
|
962
|
+
declare enum McpPropertyType {
|
|
963
|
+
TEXT = "Text",
|
|
964
|
+
BOOLEAN = "Boolean",
|
|
965
|
+
DATE = "Date",
|
|
966
|
+
NUMBER = "Number",
|
|
967
|
+
ARRAY = "Array",
|
|
968
|
+
OBJECT = "Object"
|
|
969
|
+
}
|
|
970
|
+
declare const McpProperty: z.ZodMiniObject<{
|
|
971
|
+
name: z.ZodMiniString<string>;
|
|
972
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
973
|
+
type: z.ZodMiniString<string>;
|
|
974
|
+
required: z.ZodMiniBoolean<boolean>;
|
|
975
|
+
}, z.core.$strip>;
|
|
976
|
+
type McpProperty = z.infer<typeof McpProperty>;
|
|
977
|
+
declare const McpTrigger: z.ZodMiniObject<{
|
|
978
|
+
pieceName: z.ZodMiniString<string>;
|
|
979
|
+
triggerName: z.ZodMiniString<string>;
|
|
980
|
+
input: z.ZodMiniObject<{
|
|
981
|
+
toolName: z.ZodMiniString<string>;
|
|
982
|
+
toolDescription: z.ZodMiniString<string>;
|
|
983
|
+
inputSchema: z.ZodMiniArray<z.ZodMiniObject<{
|
|
984
|
+
name: z.ZodMiniString<string>;
|
|
985
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
986
|
+
type: z.ZodMiniString<string>;
|
|
987
|
+
required: z.ZodMiniBoolean<boolean>;
|
|
988
|
+
}, z.core.$strip>>;
|
|
989
|
+
returnsResponse: z.ZodMiniBoolean<boolean>;
|
|
990
|
+
}, z.core.$strip>;
|
|
991
|
+
}, z.core.$strip>;
|
|
992
|
+
type McpTrigger = z.infer<typeof McpTrigger>;
|
|
993
|
+
//#endregion
|
|
994
|
+
//#region upstream/core-piece-types/lib/engine-tools.d.ts
|
|
995
|
+
type ExecuteToolResponse = {
|
|
996
|
+
status: ExecutionToolStatus;
|
|
997
|
+
output?: unknown;
|
|
998
|
+
resolvedInput: Record<string, unknown>;
|
|
999
|
+
errorMessage?: unknown;
|
|
1000
|
+
};
|
|
1001
|
+
declare function normalizeToolOutputToExecuteResponse(raw: unknown): ExecuteToolResponse;
|
|
1002
|
+
//#endregion
|
|
1003
|
+
//#region upstream/framework/lib/piece.d.ts
|
|
1004
|
+
declare class Piece<PieceAuth extends PieceAuthProperty | PieceAuthProperty[] | undefined = PieceAuthProperty> implements Omit<PieceBase, "version" | "name"> {
|
|
1005
|
+
readonly displayName: string;
|
|
1006
|
+
readonly logoUrl: string;
|
|
1007
|
+
readonly authors: string[];
|
|
1008
|
+
readonly events: PieceEventProcessors | undefined;
|
|
1009
|
+
readonly categories: PieceCategory[];
|
|
1010
|
+
readonly auth?: PieceAuth | undefined;
|
|
1011
|
+
readonly minimumSupportedRelease: string;
|
|
1012
|
+
readonly maximumSupportedRelease?: string | undefined;
|
|
1013
|
+
readonly description: string;
|
|
1014
|
+
readonly deprecated?: boolean | undefined;
|
|
1015
|
+
private readonly _actions;
|
|
1016
|
+
private readonly _triggers;
|
|
1017
|
+
getContextInfo: (() => {
|
|
1018
|
+
version: ContextVersion;
|
|
1019
|
+
}) | undefined;
|
|
1020
|
+
constructor(displayName: string, logoUrl: string, authors: string[], events: PieceEventProcessors | undefined, actions: Action[], triggers: Trigger[], categories: PieceCategory[], auth?: PieceAuth | undefined, minimumSupportedRelease?: string, maximumSupportedRelease?: string | undefined, description?: string, deprecated?: boolean | undefined);
|
|
1021
|
+
metadata(): BackwardCompatiblePieceMetadata;
|
|
1022
|
+
getAction(actionName: string): Action | undefined;
|
|
1023
|
+
getTrigger(triggerName: string): Trigger | undefined;
|
|
1024
|
+
actions(): Record<string, Action>;
|
|
1025
|
+
triggers(): Record<string, Trigger>;
|
|
1026
|
+
}
|
|
1027
|
+
declare const createPiece: <PieceAuth extends PieceAuthProperty | PieceAuthProperty[] | undefined>(params: CreatePieceParams<PieceAuth>) => Piece<PieceAuth>;
|
|
1028
|
+
type CreatePieceParams<PieceAuth extends PieceAuthProperty | PieceAuthProperty[] | undefined = undefined> = {
|
|
1029
|
+
displayName: string;
|
|
1030
|
+
logoUrl: string;
|
|
1031
|
+
authors: string[];
|
|
1032
|
+
description?: string;
|
|
1033
|
+
auth: PieceAuth | undefined;
|
|
1034
|
+
events?: PieceEventProcessors;
|
|
1035
|
+
minimumSupportedRelease?: string;
|
|
1036
|
+
maximumSupportedRelease?: string;
|
|
1037
|
+
actions: Action[];
|
|
1038
|
+
triggers: Trigger[];
|
|
1039
|
+
categories?: PieceCategory[];
|
|
1040
|
+
deprecated?: boolean;
|
|
1041
|
+
};
|
|
1042
|
+
type PieceEventProcessors = {
|
|
1043
|
+
parseAndReply: (ctx: {
|
|
1044
|
+
payload: EventPayload;
|
|
1045
|
+
server: Omit<ServerContext, "token" | "apiUrl">;
|
|
1046
|
+
}) => ParseEventResponse;
|
|
1047
|
+
verify: (ctx: {
|
|
1048
|
+
webhookSecret: string | Record<string, string>;
|
|
1049
|
+
payload: EventPayload;
|
|
1050
|
+
appWebhookUrl: string;
|
|
1051
|
+
}) => boolean;
|
|
1052
|
+
};
|
|
1053
|
+
type BackwardCompatiblePieceMetadata = Omit<PieceMetadata, "name" | "version" | "authors" | "i18n" | "getContextInfo"> & {
|
|
1054
|
+
authors?: PieceMetadata["authors"];
|
|
1055
|
+
i18n?: PieceMetadata["i18n"];
|
|
1056
|
+
};
|
|
1057
|
+
//#endregion
|
|
1058
|
+
//#region upstream/framework/lib/i18n.d.ts
|
|
1059
|
+
declare const pieceTranslation: {
|
|
1060
|
+
translatePiece: <T extends PieceMetadataModelSummary | PieceMetadataModel>(params: TranslatePieceParams<T>) => T; /**Gets the piece metadata regardles of piece location (node_modules or dist), wasn't included inside piece.metadata() for backwards compatibility issues (if an old ap version installs a new piece it would fail)*/
|
|
1061
|
+
initializeI18n: (pieceOutputPath: string) => Promise<I18nForPiece | undefined>;
|
|
1062
|
+
pathsToValuesToTranslate: string[];
|
|
1063
|
+
};
|
|
1064
|
+
type TranslatePieceParams<T extends PieceMetadataModelSummary | PieceMetadataModel> = {
|
|
1065
|
+
piece: T;
|
|
1066
|
+
locale?: LocalesEnum;
|
|
1067
|
+
mutate?: boolean;
|
|
1068
|
+
};
|
|
1069
|
+
//#endregion
|
|
1070
|
+
//#region upstream/framework/lib/test/index.d.ts
|
|
1071
|
+
declare function createMockActionContext<Props extends InputPropertyMap>(params: {
|
|
1072
|
+
propsValue: StaticPropsValue<Props>;
|
|
1073
|
+
}): ActionContext<undefined, Props>;
|
|
1074
|
+
declare function createMockPollingTriggerContext<Props extends InputPropertyMap>(params: {
|
|
1075
|
+
propsValue: StaticPropsValue<Props>;
|
|
1076
|
+
onSetSchedule?: (schedule: SetScheduleRequest) => void;
|
|
1077
|
+
}): TriggerHookContext<undefined, Props, TriggerStrategy.POLLING>;
|
|
1078
|
+
//#endregion
|
|
1079
|
+
//#region src/powerhouse/reactor.d.ts
|
|
1080
|
+
interface ReactorDocumentSummary {
|
|
1081
|
+
documentId: string;
|
|
1082
|
+
documentType: string;
|
|
1083
|
+
name: string;
|
|
1084
|
+
slug?: string;
|
|
1085
|
+
state?: unknown;
|
|
1086
|
+
}
|
|
1087
|
+
interface ReactorActionInput {
|
|
1088
|
+
type: string;
|
|
1089
|
+
input?: unknown;
|
|
1090
|
+
scope?: string;
|
|
1091
|
+
}
|
|
1092
|
+
interface ReactorModelSummary {
|
|
1093
|
+
documentType: string;
|
|
1094
|
+
name: string;
|
|
1095
|
+
}
|
|
1096
|
+
interface ReactorModelActionSchema {
|
|
1097
|
+
type: string;
|
|
1098
|
+
module: string;
|
|
1099
|
+
inputSchema: string | null;
|
|
1100
|
+
}
|
|
1101
|
+
interface ReactorModelDetail extends ReactorModelSummary {
|
|
1102
|
+
stateSchema: string | null;
|
|
1103
|
+
actions: ReactorModelActionSchema[];
|
|
1104
|
+
}
|
|
1105
|
+
interface ReactorFindInput {
|
|
1106
|
+
documentType?: string;
|
|
1107
|
+
parentId?: string;
|
|
1108
|
+
limit?: number;
|
|
1109
|
+
match?: {
|
|
1110
|
+
path: string;
|
|
1111
|
+
value: string;
|
|
1112
|
+
};
|
|
1113
|
+
withState?: boolean;
|
|
1114
|
+
}
|
|
1115
|
+
interface ReactorCreateInput {
|
|
1116
|
+
documentType: string;
|
|
1117
|
+
name?: string;
|
|
1118
|
+
parentId?: string;
|
|
1119
|
+
}
|
|
1120
|
+
interface ReactorExecuteInput {
|
|
1121
|
+
documentId: string;
|
|
1122
|
+
branch?: string;
|
|
1123
|
+
actions: ReactorActionInput[];
|
|
1124
|
+
}
|
|
1125
|
+
interface ReactorService {
|
|
1126
|
+
models(): Promise<ReactorModelSummary[]>;
|
|
1127
|
+
model(documentType: string): Promise<ReactorModelDetail>;
|
|
1128
|
+
get(input: {
|
|
1129
|
+
documentId: string;
|
|
1130
|
+
branch?: string;
|
|
1131
|
+
}): Promise<ReactorDocumentSummary>;
|
|
1132
|
+
find(input: ReactorFindInput): Promise<ReactorDocumentSummary[]>;
|
|
1133
|
+
create(input: ReactorCreateInput): Promise<ReactorDocumentSummary>;
|
|
1134
|
+
execute(input: ReactorExecuteInput): Promise<ReactorDocumentSummary>;
|
|
1135
|
+
}
|
|
1136
|
+
//#endregion
|
|
1137
|
+
//#region src/powerhouse/context.d.ts
|
|
1138
|
+
type AnyPieceAuth = PieceAuthProperty | PieceAuthProperty[] | undefined;
|
|
1139
|
+
type WithReactor<C> = C & {
|
|
1140
|
+
reactor: ReactorService;
|
|
1141
|
+
};
|
|
1142
|
+
type PowerhouseActionContext<Auth extends AnyPieceAuth = undefined, Props extends InputPropertyMap = InputPropertyMap> = WithReactor<ActionContext<Auth, Props>>;
|
|
1143
|
+
type PowerhousePropertyContext = WithReactor<PropertyContext>;
|
|
1144
|
+
type PowerhouseTriggerHookContext<Auth extends AnyPieceAuth, Props extends InputPropertyMap, S extends TriggerStrategy> = WithReactor<TriggerHookContext<Auth, Props, S>>;
|
|
1145
|
+
declare function reactorOf(ctx: unknown): ReactorService;
|
|
1146
|
+
//#endregion
|
|
1147
|
+
//#region src/powerhouse/package-piece.d.ts
|
|
1148
|
+
interface PackagePiece {
|
|
1149
|
+
name: string;
|
|
1150
|
+
version: string;
|
|
1151
|
+
bundle?: string;
|
|
1152
|
+
entry?: string;
|
|
1153
|
+
}
|
|
1154
|
+
//#endregion
|
|
1155
|
+
export { ACTIVEPIECES_CHAT_TIERS, AGENT_STEP_TEST_TIMEOUT_MS, AGENT_STEP_TIMEOUT_MS, AIProviderModel, AIProviderName, AIProviderWithoutSensitiveData, AI_PROVIDER_CAPABILITIES, Action, ActionBase, ActionClassification, ActionContext, ActionRunner, AgentFlowTool, AgentKnowledgeBaseTool, AgentMcpTool, AgentOutputField, AgentOutputFieldType, AgentPieceProps, AgentProviderModel, AgentResult, AgentStepBlock, AgentTaskStatus, AgentTool, AgentToolType, AiMetadata, ApFile, ApStreamingFile, AppConnectionType, type AppConnectionValue, AppConnectionValueForAuthProperty, ArrayProperty, ArraySubProps, Audience, AuthValidationServerContext, AzureProviderConfig, BaseAIProviderAuthConfig, BaseContext, BasePropertySchema, BasicAuthConnectionValue, BasicAuthProperty, BasicAuthPropertyValue, BedrockProviderAuthConfig, BedrockProviderConfig, ChatFormResponse, CheckboxProperty, CloudflareGatewayProviderConfig, ConnectionsManager, ContentBlockType, ContextVersion, CreateRecordsRequest, CreateTableWebhookRequest, CreateWaitpointHook, CreateWaitpointParams, CreateWaitpointResult, CustomAuthConnectionValue, CustomAuthProperty, CustomAuthProps, CustomAuthRefresh, CustomProperty, CustomPropertyCodeFunctionParams, DEDUPE_KEY_PROPERTY, DEFAULT_CHAT_TIER_ID, DEFAULT_CONNECTION_DISPLAY_NAME, DateRangePreset, DateRangeProperty, DateRangeValue, DateTimeProperty, DropdownOption, DropdownProperty, DropdownState, DynamicProp, DynamicProperties, DynamicPropsValue, ErrorHandlingOptionsParam, ExecutePropsResult, ExecuteToolResponse, ExecutionToolStatus, ExecutionType, ExportTableResponse, ExtractPieceAuthPropertyTypeForMethods, FAIL_PARENT_ON_FAILURE_HEADER, Field, FieldFormat, FieldType, FileProperty, FileResponseInterface, FilesService, Filter, FilterOperator, FlowStatus, FlowTriggerType, FlowsContext, GetProviderConfigResponse, HumanInputFormResult, HumanInputFormResultTypes, I18nForPiece, IAction, ITrigger, InputProperty, InputPropertyMap, JsonProperty, KnowledgeBaseSourceType, LATEST_CONTEXT_VERSION, ListFlowsContextParams, ListRecordsRequest, ListTablesRequest, LongTextProperty, MINIMUM_SUPPORTED_RELEASE_AFTER_LATEST_CONTEXT_VERSION, MarkdownContentBlock, MarkdownVariant, McpAuthConfig, McpAuthType, McpProperty, McpPropertyType, McpProtocol, McpTrigger, MultiSelectDropdownProperty, type NoAuthConnectionValue, NumberProperty, OAuth2AuthorizationMethod, OAuth2GrantType, OAuth2Property, OAuth2PropertyValue, OAuth2Props, OIDCAuthProps, OIDCProperty, OPENAI_COMPATIBLE_VENDOR_BASE_URLS, ObjectProperty, OnStartContext, OpenAICompatibleProviderConfig, OpenAiCompatibleVendorConfig, OutputContext, OutputSchema, OutputSchemaField, PARENT_RUN_ID_HEADER, PackagePiece, PauseHook, PauseHookParams, Piece, PieceAuth, PieceAuthProperty, PieceBase, PieceCategory, PieceMetadata, PieceMetadataModel, PieceMetadataModelSummary, PieceMetadataSummary, PiecePackageInformation, PiecePropValueSchema, PieceProperty, PiecePropertyMap, PieceServerContextError, PopulatedFlow, PopulatedFlowSummary, PopulatedRecord, PowerhouseActionContext, PowerhousePropertyContext, PowerhouseTriggerHookContext, Project, ProjectAIProvider, Property, PropertyContext, PropertyGroup, PropertyGroupDisplay, PropertyType, RAW_PAYLOAD_HEADER, READ_ONLY_CLASSIFICATIONS, ReactorActionInput, ReactorCreateInput, ReactorDocumentSummary, ReactorExecuteInput, ReactorFindInput, ReactorModelActionSchema, ReactorModelDetail, ReactorModelSummary, ReactorService, RespondHook, RespondHookParams, RichTextProperty, RunContext, type SecretTextConnectionValue, SecretTextProperty, SeekPage, ServerContext, SetScheduleRequest, ShortTextProperty, StaticDropdownEmptyOption, StaticDropdownProperty, StaticMultiSelectDropdownProperty, StaticPropsValue, StepContext, StopHook, StopHookParams, StopResponse, Store, StoreScope, TASK_COMPLETION_TOOL_NAME, Table, TableWebhookEventType, TagsManager, TestOrRunHookContext, ToolCallBase, ToolCallContentBlock, ToolCallStatus, ToolCallType, Trigger, TriggerBase, TriggerHookContext, TriggerStrategy, USE_DRAFT_QUERY_PARAM_NAME, UpdateRecordRequest, VertexProviderAuthConfig, VertexProviderConfig, WaitForWaitpointHook, type WebhookHandshakeConfiguration, WebhookHandshakeStrategy, WebhookRenewConfiguration, WebhookRenewStrategy, WebhookResponse, WithReactor, apId, assertNotNullOrUndefined, backwardCompatabilityContextUtils, buildAuthHeaders, camelCase, chunk, createAction, createKeyForFormInput, createMockActionContext, createMockPollingTriggerContext, createPiece, createTrigger, dateRangeUtils, getAuthPropertyForValue, getEffectiveProviderAndModel, isEmpty, isNil, isNotUndefined, isPieceServerContextError, isReadOnlyClassification, isString, kebabCase, mcpToolNameUtils, normalizeToolOutputToExecuteResponse, pickBy, piecePropertiesUtils, pieceTranslation, reactorOf, splitCloudflareGatewayModelId, spreadIfDefined, startCase, tryCatch, unique };
|
|
1156
|
+
//# sourceMappingURL=index.d.ts.map
|