@mindstudio-ai/agent 0.1.176 → 0.1.178
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/CHANGELOG.md +14 -0
- package/dist/analytics/index.d.ts +384 -0
- package/dist/auth/index.d.ts +113 -0
- package/dist/browser/index.d.ts +332 -0
- package/dist/cli.js +29 -29
- package/dist/client.d.ts +767 -0
- package/dist/config.d.ts +13 -0
- package/dist/context.d.ts +125 -0
- package/dist/datasources/index.d.ts +52 -0
- package/dist/datasources/source.d.ts +1074 -0
- package/dist/db/aggregate.d.ts +101 -0
- package/dist/db/index.d.ts +280 -0
- package/dist/db/mutation.d.ts +65 -0
- package/dist/db/predicate.d.ts +85 -0
- package/dist/db/query.d.ts +233 -0
- package/dist/db/raw.d.ts +36 -0
- package/dist/db/readBatching.d.ts +36 -0
- package/dist/db/scanHints.d.ts +8 -0
- package/dist/db/sql.d.ts +136 -0
- package/dist/db/table.d.ts +146 -0
- package/dist/db/time.d.ts +17 -0
- package/dist/db/types.d.ts +237 -0
- package/dist/db-ws.d.ts +35 -0
- package/dist/email/index.d.ts +396 -0
- package/dist/errors.d.ts +34 -0
- package/dist/events/index.d.ts +127 -0
- package/dist/files/index.d.ts +62 -0
- package/dist/files/store.d.ts +244 -0
- package/dist/generated/metadata.d.ts +8 -0
- package/dist/generated/snippets.d.ts +8 -0
- package/dist/generated/steps.d.ts +2745 -0
- package/dist/generated/types.d.ts +4234 -0
- package/dist/http.d.ts +22 -0
- package/dist/index.d.ts +59 -13329
- package/dist/index.js +17 -17
- package/dist/index.js.map +7 -1
- package/dist/jewel/index.d.ts +325 -0
- package/dist/mapper/index.d.ts +229 -0
- package/dist/rate-limit.d.ts +25 -0
- package/dist/reader/index.d.ts +170 -0
- package/dist/respond.d.ts +68 -0
- package/dist/task/index.d.ts +18 -0
- package/dist/task/local.d.ts +48 -0
- package/dist/task/schema.d.ts +120 -0
- package/dist/task/types.d.ts +203 -0
- package/dist/types.d.ts +591 -0
- package/dist/voice/index.d.ts +87 -0
- package/llms.txt +2 -2
- package/package.json +6 -12
- package/dist/postinstall.js +0 -12115
|
@@ -0,0 +1,4234 @@
|
|
|
1
|
+
export interface ActiveCampaignAddNoteStepInput {
|
|
2
|
+
/** ActiveCampaign contact ID to add the note to */
|
|
3
|
+
contactId: string;
|
|
4
|
+
/** Note text content */
|
|
5
|
+
note: string;
|
|
6
|
+
/** ActiveCampaign OAuth connection ID */
|
|
7
|
+
connectionId?: string;
|
|
8
|
+
}
|
|
9
|
+
export type ActiveCampaignAddNoteStepOutput = unknown;
|
|
10
|
+
export interface ActiveCampaignCreateContactStepInput {
|
|
11
|
+
/** Contact email address */
|
|
12
|
+
email: string;
|
|
13
|
+
/** Contact first name */
|
|
14
|
+
firstName: string;
|
|
15
|
+
/** Contact last name */
|
|
16
|
+
lastName: string;
|
|
17
|
+
/** Contact phone number */
|
|
18
|
+
phone: string;
|
|
19
|
+
/** ActiveCampaign account ID to associate the contact with */
|
|
20
|
+
accountId: string;
|
|
21
|
+
/** Custom field values keyed by field ID */
|
|
22
|
+
customFields: Record<string, unknown>;
|
|
23
|
+
/** ActiveCampaign OAuth connection ID */
|
|
24
|
+
connectionId?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ActiveCampaignCreateContactStepOutput {
|
|
27
|
+
/** ActiveCampaign contact ID of the created contact */
|
|
28
|
+
contactId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface AddSubtitlesToVideoStepInput {
|
|
31
|
+
/** URL of the source video */
|
|
32
|
+
videoUrl: string;
|
|
33
|
+
/** ISO language code for subtitle transcription */
|
|
34
|
+
language: string;
|
|
35
|
+
/** Google Font name for subtitle text */
|
|
36
|
+
fontName: string;
|
|
37
|
+
/** Font size in pixels, 20 to 150. Default: 100. */
|
|
38
|
+
fontSize: number;
|
|
39
|
+
/** Font weight for subtitle text */
|
|
40
|
+
fontWeight: "normal" | "bold" | "black";
|
|
41
|
+
/** Color of the subtitle text */
|
|
42
|
+
fontColor: "white" | "black" | "red" | "green" | "blue" | "yellow" | "orange" | "purple" | "pink" | "brown" | "gray" | "cyan" | "magenta";
|
|
43
|
+
/** Color used to highlight the currently spoken word */
|
|
44
|
+
highlightColor: "white" | "black" | "red" | "green" | "blue" | "yellow" | "orange" | "purple" | "pink" | "brown" | "gray" | "cyan" | "magenta";
|
|
45
|
+
/** Width of the text stroke outline in pixels, 0 to 10. Default: 3. */
|
|
46
|
+
strokeWidth: number;
|
|
47
|
+
/** Color of the text stroke outline */
|
|
48
|
+
strokeColor: "black" | "white" | "red" | "green" | "blue" | "yellow" | "orange" | "purple" | "pink" | "brown" | "gray" | "cyan" | "magenta";
|
|
49
|
+
/** Background color behind subtitle text. Use 'none' for transparent. */
|
|
50
|
+
backgroundColor: "black" | "white" | "red" | "green" | "blue" | "yellow" | "orange" | "purple" | "pink" | "brown" | "gray" | "cyan" | "magenta" | "none";
|
|
51
|
+
/** Opacity of the subtitle background, 0.0 (fully transparent) to 1.0 (fully opaque). */
|
|
52
|
+
backgroundOpacity: number;
|
|
53
|
+
/** Vertical position of subtitle text on screen */
|
|
54
|
+
position: "top" | "center" | "bottom";
|
|
55
|
+
/** Vertical offset in pixels from the position, -200 to 200. Positive moves down, negative moves up. Default: 75. */
|
|
56
|
+
yOffset: number;
|
|
57
|
+
/** Maximum number of words per subtitle segment, 1 to 12. Use 1 for single-word display, 2-3 for short phrases, or 8-12 for full sentences. Default: 3. */
|
|
58
|
+
wordsPerSubtitle: number;
|
|
59
|
+
/** When true, enables bounce-style entrance animation for subtitles. Default: true. */
|
|
60
|
+
enableAnimation: boolean;
|
|
61
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
62
|
+
intermediateAsset?: boolean;
|
|
63
|
+
}
|
|
64
|
+
export interface AddSubtitlesToVideoStepOutput {
|
|
65
|
+
/** URL of the video with subtitles added */
|
|
66
|
+
videoUrl: string;
|
|
67
|
+
}
|
|
68
|
+
export interface AddThumbnailToVideoStepInput {
|
|
69
|
+
/** URL of the video */
|
|
70
|
+
videoUrl: string;
|
|
71
|
+
/** URL of the thumbnail image; give this or at */
|
|
72
|
+
imageUrl?: string;
|
|
73
|
+
/** Seconds into the video to take the thumbnail from; give this or imageUrl */
|
|
74
|
+
at?: number;
|
|
75
|
+
/** Also show the thumbnail as the video's opening frames (re-encodes the video) */
|
|
76
|
+
asFirstFrame?: boolean;
|
|
77
|
+
/** When true, the assets are created but hidden from the user's gallery (tagged as intermediate) */
|
|
78
|
+
intermediateAsset?: boolean;
|
|
79
|
+
}
|
|
80
|
+
export interface AddThumbnailToVideoStepOutput {
|
|
81
|
+
/** URL of the video with its thumbnail */
|
|
82
|
+
videoUrl: string;
|
|
83
|
+
/** URL of the thumbnail, as a png */
|
|
84
|
+
thumbnailUrl: string;
|
|
85
|
+
}
|
|
86
|
+
export interface AirtableCreateUpdateRecordStepInput {
|
|
87
|
+
/** Airtable OAuth connection ID */
|
|
88
|
+
connectionId?: string;
|
|
89
|
+
/** Airtable base ID */
|
|
90
|
+
baseId: string;
|
|
91
|
+
/** Airtable table ID */
|
|
92
|
+
tableId: string;
|
|
93
|
+
/** Record ID to update. Omit to create a new record */
|
|
94
|
+
recordId?: string;
|
|
95
|
+
/** How to handle unspecified fields on update. 'onlySpecified' leaves them as-is, 'all' clears them */
|
|
96
|
+
updateMode?: "onlySpecified" | "all";
|
|
97
|
+
/** Field schema metadata used for type resolution */
|
|
98
|
+
fields: unknown;
|
|
99
|
+
/** Field values to set, keyed by field ID */
|
|
100
|
+
recordData: Record<string, unknown>;
|
|
101
|
+
}
|
|
102
|
+
export interface AirtableCreateUpdateRecordStepOutput {
|
|
103
|
+
/** The Airtable record ID of the created or updated record */
|
|
104
|
+
recordId: string;
|
|
105
|
+
}
|
|
106
|
+
export interface AirtableDeleteRecordStepInput {
|
|
107
|
+
/** Airtable OAuth connection ID */
|
|
108
|
+
connectionId?: string;
|
|
109
|
+
/** Airtable base ID */
|
|
110
|
+
baseId: string;
|
|
111
|
+
/** Airtable table ID */
|
|
112
|
+
tableId: string;
|
|
113
|
+
/** Record ID to delete */
|
|
114
|
+
recordId: string;
|
|
115
|
+
}
|
|
116
|
+
export interface AirtableDeleteRecordStepOutput {
|
|
117
|
+
/** Whether the record was successfully deleted */
|
|
118
|
+
deleted: boolean;
|
|
119
|
+
}
|
|
120
|
+
export interface AirtableGetRecordStepInput {
|
|
121
|
+
/** Airtable OAuth connection ID */
|
|
122
|
+
connectionId?: string;
|
|
123
|
+
/** Airtable base ID (e.g. "appXXXXXX") */
|
|
124
|
+
baseId: string;
|
|
125
|
+
/** Airtable table ID (e.g. "tblXXXXXX") */
|
|
126
|
+
tableId: string;
|
|
127
|
+
/** Record ID to fetch (e.g. "recXXXXXX") */
|
|
128
|
+
recordId: string;
|
|
129
|
+
}
|
|
130
|
+
export interface AirtableGetRecordStepOutput {
|
|
131
|
+
/** The retrieved Airtable record, or null if not found */
|
|
132
|
+
record: {
|
|
133
|
+
/** Airtable record ID */
|
|
134
|
+
id: string;
|
|
135
|
+
/** ISO 8601 timestamp when the record was created */
|
|
136
|
+
createdTime: string;
|
|
137
|
+
/** Field values keyed by field name */
|
|
138
|
+
fields: Record<string, unknown>;
|
|
139
|
+
} | null;
|
|
140
|
+
}
|
|
141
|
+
export interface AirtableGetTableRecordsStepInput {
|
|
142
|
+
/** Airtable OAuth connection ID */
|
|
143
|
+
connectionId?: string;
|
|
144
|
+
/** Airtable base ID (e.g. "appXXXXXX") */
|
|
145
|
+
baseId: string;
|
|
146
|
+
/** Airtable table ID (e.g. "tblXXXXXX") */
|
|
147
|
+
tableId: string;
|
|
148
|
+
/** Output format for the result. Defaults to 'json' */
|
|
149
|
+
outputFormat?: "json" | "csv";
|
|
150
|
+
/** Maximum number of records to return. Defaults to 100, max 1000 */
|
|
151
|
+
limit?: number;
|
|
152
|
+
}
|
|
153
|
+
export interface AirtableGetTableRecordsStepOutput {
|
|
154
|
+
/** The list of records retrieved from the Airtable table */
|
|
155
|
+
records: {
|
|
156
|
+
/** Airtable record ID */
|
|
157
|
+
id: string;
|
|
158
|
+
/** ISO 8601 timestamp when the record was created */
|
|
159
|
+
createdTime: string;
|
|
160
|
+
/** Field values keyed by field name */
|
|
161
|
+
fields: Record<string, unknown>;
|
|
162
|
+
}[];
|
|
163
|
+
}
|
|
164
|
+
export interface AnalyzeImageStepInput {
|
|
165
|
+
/** Instructions describing what to look for or extract from the image */
|
|
166
|
+
prompt: string;
|
|
167
|
+
/** URL of a single image to analyze. Kept for backward compatibility; prefer imageUrls. */
|
|
168
|
+
imageUrl?: string;
|
|
169
|
+
/** One or more image URLs to analyze together in a single model request */
|
|
170
|
+
imageUrls?: string[];
|
|
171
|
+
/** Optional model configuration override: a chat model that reads images. Uses the workflow's default image analysis model if not specified */
|
|
172
|
+
visionModelOverride?: {
|
|
173
|
+
model: string;
|
|
174
|
+
config?: Record<string, unknown>;
|
|
175
|
+
} | {
|
|
176
|
+
/** Model identifier (e.g. "gpt-4", "claude-3-opus") */
|
|
177
|
+
model: string;
|
|
178
|
+
/** Sampling temperature for the model (0-2) */
|
|
179
|
+
temperature: number;
|
|
180
|
+
/** Maximum number of tokens in the model's response */
|
|
181
|
+
maxResponseTokens: number;
|
|
182
|
+
/** Whether to skip the system preamble/instructions */
|
|
183
|
+
ignorePreamble?: boolean;
|
|
184
|
+
/** Preprocessor applied to user messages before sending to the model */
|
|
185
|
+
userMessagePreprocessor?: {
|
|
186
|
+
/** Data source identifier for the preprocessor */
|
|
187
|
+
dataSource?: string;
|
|
188
|
+
/** Template string applied to user messages before sending to the model */
|
|
189
|
+
messageTemplate?: string;
|
|
190
|
+
/** Maximum number of results to include from the data source */
|
|
191
|
+
maxResults?: number;
|
|
192
|
+
/** Whether the preprocessor is active */
|
|
193
|
+
enabled?: boolean;
|
|
194
|
+
/** Whether child steps should inherit this preprocessor configuration */
|
|
195
|
+
shouldInherit?: boolean;
|
|
196
|
+
};
|
|
197
|
+
/** System preamble/instructions for the model */
|
|
198
|
+
preamble?: string;
|
|
199
|
+
/** Whether multi-model candidate generation is enabled */
|
|
200
|
+
multiModelEnabled?: boolean;
|
|
201
|
+
/** Whether the user can edit the model's response */
|
|
202
|
+
editResponseEnabled?: boolean;
|
|
203
|
+
/** Prompt caching, on models that bill cache writes. Absent: cached where something reads it back (the later steps of a run, a chat). `false` turns it off, for a single call such as a daily scheduled run. `true` caches even a single call, for a prompt resent unchanged within minutes. */
|
|
204
|
+
promptCaching?: boolean;
|
|
205
|
+
/** Additional model-specific configuration */
|
|
206
|
+
config?: Record<string, unknown>;
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
export interface AnalyzeImageStepOutput {
|
|
210
|
+
/** Text analysis of the image generated by the vision model */
|
|
211
|
+
analysis: string;
|
|
212
|
+
}
|
|
213
|
+
export interface AnalyzeVideoStepInput {
|
|
214
|
+
/** Instructions describing what to look for or extract from the video */
|
|
215
|
+
prompt: string;
|
|
216
|
+
/** URL of the video to analyze */
|
|
217
|
+
videoUrl: string;
|
|
218
|
+
/** Optional model configuration override. Uses the workflow's default video analysis model if not specified */
|
|
219
|
+
videoAnalysisModelOverride?: {
|
|
220
|
+
model: string;
|
|
221
|
+
config?: Record<string, unknown>;
|
|
222
|
+
} | {
|
|
223
|
+
/** Model identifier (e.g. "gpt-4", "claude-3-opus") */
|
|
224
|
+
model: string;
|
|
225
|
+
/** Sampling temperature for the model (0-2) */
|
|
226
|
+
temperature: number;
|
|
227
|
+
/** Maximum number of tokens in the model's response */
|
|
228
|
+
maxResponseTokens: number;
|
|
229
|
+
/** Whether to skip the system preamble/instructions */
|
|
230
|
+
ignorePreamble?: boolean;
|
|
231
|
+
/** Preprocessor applied to user messages before sending to the model */
|
|
232
|
+
userMessagePreprocessor?: {
|
|
233
|
+
/** Data source identifier for the preprocessor */
|
|
234
|
+
dataSource?: string;
|
|
235
|
+
/** Template string applied to user messages before sending to the model */
|
|
236
|
+
messageTemplate?: string;
|
|
237
|
+
/** Maximum number of results to include from the data source */
|
|
238
|
+
maxResults?: number;
|
|
239
|
+
/** Whether the preprocessor is active */
|
|
240
|
+
enabled?: boolean;
|
|
241
|
+
/** Whether child steps should inherit this preprocessor configuration */
|
|
242
|
+
shouldInherit?: boolean;
|
|
243
|
+
};
|
|
244
|
+
/** System preamble/instructions for the model */
|
|
245
|
+
preamble?: string;
|
|
246
|
+
/** Whether multi-model candidate generation is enabled */
|
|
247
|
+
multiModelEnabled?: boolean;
|
|
248
|
+
/** Whether the user can edit the model's response */
|
|
249
|
+
editResponseEnabled?: boolean;
|
|
250
|
+
/** Prompt caching, on models that bill cache writes. Absent: cached where something reads it back (the later steps of a run, a chat). `false` turns it off, for a single call such as a daily scheduled run. `true` caches even a single call, for a prompt resent unchanged within minutes. */
|
|
251
|
+
promptCaching?: boolean;
|
|
252
|
+
/** Additional model-specific configuration */
|
|
253
|
+
config?: Record<string, unknown>;
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
export interface AnalyzeVideoStepOutput {
|
|
257
|
+
/** Text analysis of the video generated by the video analysis model */
|
|
258
|
+
analysis: string;
|
|
259
|
+
}
|
|
260
|
+
export interface CaptureThumbnailStepInput {
|
|
261
|
+
/** URL of the source video to capture a frame from */
|
|
262
|
+
videoUrl: string;
|
|
263
|
+
/** Timestamp in seconds to capture the frame, or 'last' for the final frame */
|
|
264
|
+
at: number | string;
|
|
265
|
+
}
|
|
266
|
+
export interface CaptureThumbnailStepOutput {
|
|
267
|
+
/** URL of the captured thumbnail image */
|
|
268
|
+
thumbnailUrl: string;
|
|
269
|
+
}
|
|
270
|
+
export interface CheckAppRoleStepInput {
|
|
271
|
+
/** The role name to check (supports {{variables}}) */
|
|
272
|
+
roleName: string;
|
|
273
|
+
/** Step to transition to if the user has the role (same workflow) */
|
|
274
|
+
hasRoleStepId?: string;
|
|
275
|
+
/** Workflow to jump to if the user has the role (cross workflow) */
|
|
276
|
+
hasRoleWorkflowId?: string;
|
|
277
|
+
/** Step to transition to if the user does not have the role (same workflow) */
|
|
278
|
+
noRoleStepId?: string;
|
|
279
|
+
/** Workflow to jump to if the user does not have the role (cross workflow) */
|
|
280
|
+
noRoleWorkflowId?: string;
|
|
281
|
+
}
|
|
282
|
+
export interface CheckAppRoleStepOutput {
|
|
283
|
+
/** Whether the current user has the checked role */
|
|
284
|
+
hasRole: boolean;
|
|
285
|
+
/** All roles assigned to the current user for this app */
|
|
286
|
+
userRoles: string[];
|
|
287
|
+
}
|
|
288
|
+
export interface CodaCreateUpdatePageStepInput {
|
|
289
|
+
/** Coda OAuth connection ID */
|
|
290
|
+
connectionId?: string;
|
|
291
|
+
/** Page configuration including document ID, title, content, and optional parent page */
|
|
292
|
+
pageData: {
|
|
293
|
+
/** Coda document ID */
|
|
294
|
+
docId: string;
|
|
295
|
+
/** Page ID to update. Omit to create a new page */
|
|
296
|
+
pageId?: string;
|
|
297
|
+
/** Page title */
|
|
298
|
+
name: string;
|
|
299
|
+
/** Page subtitle */
|
|
300
|
+
subtitle: string;
|
|
301
|
+
/** Page icon name */
|
|
302
|
+
iconName: string;
|
|
303
|
+
/** Page cover image URL */
|
|
304
|
+
imageUrl: string;
|
|
305
|
+
/** Parent page ID for nesting under another page */
|
|
306
|
+
parentPageId?: string;
|
|
307
|
+
/** Page content (markdown string or canvas content object) */
|
|
308
|
+
pageContent: string | unknown;
|
|
309
|
+
/** Content update payload for partial updates */
|
|
310
|
+
contentUpdate?: unknown;
|
|
311
|
+
/** How to insert content on update: "append" or "replace" */
|
|
312
|
+
insertionMode?: string;
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
export interface CodaCreateUpdatePageStepOutput {
|
|
316
|
+
/** The Coda page ID of the created or updated page */
|
|
317
|
+
pageId: string;
|
|
318
|
+
}
|
|
319
|
+
export interface CodaCreateUpdateRowStepInput {
|
|
320
|
+
/** Coda OAuth connection ID */
|
|
321
|
+
connectionId?: string;
|
|
322
|
+
/** Coda document ID */
|
|
323
|
+
docId: string;
|
|
324
|
+
/** Table ID within the document */
|
|
325
|
+
tableId: string;
|
|
326
|
+
/** Row ID to update. Omit to create a new row */
|
|
327
|
+
rowId?: string;
|
|
328
|
+
/** Column values to set, keyed by column ID */
|
|
329
|
+
rowData: Record<string, unknown>;
|
|
330
|
+
}
|
|
331
|
+
export interface CodaCreateUpdateRowStepOutput {
|
|
332
|
+
/** The Coda row ID of the created or updated row */
|
|
333
|
+
rowId: string;
|
|
334
|
+
}
|
|
335
|
+
export interface CodaFindRowStepInput {
|
|
336
|
+
/** Coda OAuth connection ID */
|
|
337
|
+
connectionId?: string;
|
|
338
|
+
/** Coda document ID */
|
|
339
|
+
docId: string;
|
|
340
|
+
/** Table ID to search within */
|
|
341
|
+
tableId: string;
|
|
342
|
+
/** Column values to match against, keyed by column ID. All criteria are ANDed together */
|
|
343
|
+
rowData: Record<string, unknown>;
|
|
344
|
+
}
|
|
345
|
+
export interface CodaFindRowStepOutput {
|
|
346
|
+
/** The first matching row, or null if no match was found */
|
|
347
|
+
row: {
|
|
348
|
+
/** Coda row ID */
|
|
349
|
+
id: string;
|
|
350
|
+
/** Column values keyed by column name */
|
|
351
|
+
values: Record<string, unknown>;
|
|
352
|
+
} | null;
|
|
353
|
+
}
|
|
354
|
+
export interface CodaGetPageStepInput {
|
|
355
|
+
/** Coda OAuth connection ID */
|
|
356
|
+
connectionId?: string;
|
|
357
|
+
/** Coda document ID */
|
|
358
|
+
docId: string;
|
|
359
|
+
/** Page ID within the document */
|
|
360
|
+
pageId: string;
|
|
361
|
+
/** Export format for the page content. Defaults to 'html' */
|
|
362
|
+
outputFormat?: "html" | "markdown";
|
|
363
|
+
}
|
|
364
|
+
export interface CodaGetPageStepOutput {
|
|
365
|
+
/** Page content in the requested format (HTML or Markdown) */
|
|
366
|
+
content: string;
|
|
367
|
+
}
|
|
368
|
+
export interface CodaGetTableRowsStepInput {
|
|
369
|
+
/** Coda OAuth connection ID */
|
|
370
|
+
connectionId?: string;
|
|
371
|
+
/** Coda document ID */
|
|
372
|
+
docId: string;
|
|
373
|
+
/** Table ID within the document */
|
|
374
|
+
tableId: string;
|
|
375
|
+
/** Maximum number of rows to return. Defaults to 10000 */
|
|
376
|
+
limit?: number | string;
|
|
377
|
+
/** Output format for the result. Defaults to 'json' */
|
|
378
|
+
outputFormat?: "json" | "csv";
|
|
379
|
+
}
|
|
380
|
+
export interface CodaGetTableRowsStepOutput {
|
|
381
|
+
/** The list of rows retrieved from the Coda table */
|
|
382
|
+
rows: {
|
|
383
|
+
/** Coda row ID */
|
|
384
|
+
id: string;
|
|
385
|
+
/** Column values keyed by column name */
|
|
386
|
+
values: Record<string, unknown>;
|
|
387
|
+
}[];
|
|
388
|
+
}
|
|
389
|
+
export interface ConvertPdfToImagesStepInput {
|
|
390
|
+
/** URL of the PDF document to convert */
|
|
391
|
+
pdfUrl: string;
|
|
392
|
+
}
|
|
393
|
+
export interface ConvertPdfToImagesStepOutput {
|
|
394
|
+
/** CDN URLs of the generated page images, one per page of the PDF */
|
|
395
|
+
imageUrls: string[];
|
|
396
|
+
}
|
|
397
|
+
export interface CreateDataSourceStepInput {
|
|
398
|
+
/** Name for the new data source (supports variable interpolation) */
|
|
399
|
+
name: string;
|
|
400
|
+
}
|
|
401
|
+
export interface CreateDataSourceStepOutput {
|
|
402
|
+
/** ID of the newly created data source */
|
|
403
|
+
dataSourceId: string;
|
|
404
|
+
/** Resolved name of the data source */
|
|
405
|
+
name: string;
|
|
406
|
+
}
|
|
407
|
+
export interface CreateGmailDraftStepInput {
|
|
408
|
+
/** Recipient email address(es), comma-separated for multiple */
|
|
409
|
+
to: string;
|
|
410
|
+
/** Email subject line */
|
|
411
|
+
subject: string;
|
|
412
|
+
/** Email body content */
|
|
413
|
+
message: string;
|
|
414
|
+
/** Google OAuth connection ID */
|
|
415
|
+
connectionId?: string;
|
|
416
|
+
/** Body format: "plain", "html", or "markdown" */
|
|
417
|
+
messageType: "plain" | "html" | "markdown";
|
|
418
|
+
}
|
|
419
|
+
export interface CreateGmailDraftStepOutput {
|
|
420
|
+
/** Gmail draft ID */
|
|
421
|
+
draftId: string;
|
|
422
|
+
}
|
|
423
|
+
export interface CreateGoogleCalendarEventStepInput {
|
|
424
|
+
/** Google OAuth connection ID */
|
|
425
|
+
connectionId?: string;
|
|
426
|
+
/** Event title */
|
|
427
|
+
summary: string;
|
|
428
|
+
/** Event description */
|
|
429
|
+
description?: string;
|
|
430
|
+
/** Event location */
|
|
431
|
+
location?: string;
|
|
432
|
+
/** Start time in ISO 8601 format */
|
|
433
|
+
startDateTime: string;
|
|
434
|
+
/** End time in ISO 8601 format */
|
|
435
|
+
endDateTime: string;
|
|
436
|
+
/** Attendee email addresses, one per line */
|
|
437
|
+
attendees?: string;
|
|
438
|
+
/** Whether to attach a Google Meet video call link */
|
|
439
|
+
addMeetLink?: boolean;
|
|
440
|
+
/** Calendar ID (defaults to "primary" if omitted) */
|
|
441
|
+
calendarId?: string;
|
|
442
|
+
}
|
|
443
|
+
export interface CreateGoogleCalendarEventStepOutput {
|
|
444
|
+
/** Google Calendar event ID */
|
|
445
|
+
eventId: string;
|
|
446
|
+
/** URL to view the event in Google Calendar */
|
|
447
|
+
htmlLink: string;
|
|
448
|
+
}
|
|
449
|
+
export interface CreateGoogleDocStepInput {
|
|
450
|
+
/** Title for the new document */
|
|
451
|
+
title: string;
|
|
452
|
+
/** Document body content */
|
|
453
|
+
text: string;
|
|
454
|
+
/** Google OAuth connection ID */
|
|
455
|
+
connectionId?: string;
|
|
456
|
+
/** Format of the text field: "plain", "html", or "markdown" */
|
|
457
|
+
textType: "plain" | "html" | "markdown";
|
|
458
|
+
}
|
|
459
|
+
export interface CreateGoogleDocStepOutput {
|
|
460
|
+
/** URL of the newly created Google Document */
|
|
461
|
+
documentUrl: string;
|
|
462
|
+
}
|
|
463
|
+
export interface CreateGoogleSheetStepInput {
|
|
464
|
+
/** Title for the new spreadsheet */
|
|
465
|
+
title: string;
|
|
466
|
+
/** CSV data to populate the sheet with */
|
|
467
|
+
text: string;
|
|
468
|
+
/** Google OAuth connection ID */
|
|
469
|
+
connectionId?: string;
|
|
470
|
+
}
|
|
471
|
+
export interface CreateGoogleSheetStepOutput {
|
|
472
|
+
/** URL of the newly created Google Spreadsheet */
|
|
473
|
+
spreadsheetUrl: string;
|
|
474
|
+
}
|
|
475
|
+
export interface DecomposeImageStepInput {
|
|
476
|
+
/** Image to split into a base image and transparent layers */
|
|
477
|
+
image: string;
|
|
478
|
+
/** Optional guidance for which objects or groupings to separate */
|
|
479
|
+
prompt?: string;
|
|
480
|
+
/** Decomposition quality tier: "standard" (default) or "advanced" */
|
|
481
|
+
type?: "standard" | "advanced";
|
|
482
|
+
/** Output resolution: "1k", "1.5k" or "2k" (default) */
|
|
483
|
+
resolution?: "1k" | "1.5k" | "2k";
|
|
484
|
+
/** When true, assets are created but hidden from the user's gallery */
|
|
485
|
+
intermediateAsset?: boolean;
|
|
486
|
+
}
|
|
487
|
+
export interface DecomposeImageStepOutput {
|
|
488
|
+
imageUrls: string[];
|
|
489
|
+
}
|
|
490
|
+
export interface DeleteDataSourceStepInput {
|
|
491
|
+
/** ID of the data source to delete (supports variable interpolation) */
|
|
492
|
+
dataSourceId: string;
|
|
493
|
+
}
|
|
494
|
+
export interface DeleteDataSourceStepOutput {
|
|
495
|
+
/** ID of the deleted data source */
|
|
496
|
+
dataSourceId: string;
|
|
497
|
+
}
|
|
498
|
+
export interface DeleteDataSourceDocumentStepInput {
|
|
499
|
+
/** ID of the data source containing the document (supports variable interpolation) */
|
|
500
|
+
dataSourceId: string;
|
|
501
|
+
/** ID of the document to delete (supports variable interpolation) */
|
|
502
|
+
documentId: string;
|
|
503
|
+
}
|
|
504
|
+
export interface DeleteDataSourceDocumentStepOutput {
|
|
505
|
+
/** ID of the data source */
|
|
506
|
+
dataSourceId: string;
|
|
507
|
+
/** ID of the deleted document */
|
|
508
|
+
documentId: string;
|
|
509
|
+
}
|
|
510
|
+
export interface DeleteGmailEmailStepInput {
|
|
511
|
+
/** Gmail message ID to delete (move to trash) */
|
|
512
|
+
messageId: string;
|
|
513
|
+
/** Google OAuth connection ID */
|
|
514
|
+
connectionId?: string;
|
|
515
|
+
}
|
|
516
|
+
export type DeleteGmailEmailStepOutput = unknown;
|
|
517
|
+
export interface DeleteGoogleCalendarEventStepInput {
|
|
518
|
+
/** Google OAuth connection ID */
|
|
519
|
+
connectionId?: string;
|
|
520
|
+
/** Google Calendar event ID to delete */
|
|
521
|
+
eventId: string;
|
|
522
|
+
/** Calendar ID (defaults to "primary" if omitted) */
|
|
523
|
+
calendarId?: string;
|
|
524
|
+
}
|
|
525
|
+
export type DeleteGoogleCalendarEventStepOutput = unknown;
|
|
526
|
+
export interface DeleteGoogleSheetRowsStepInput {
|
|
527
|
+
/** Google Spreadsheet ID or URL */
|
|
528
|
+
documentId: string;
|
|
529
|
+
/** Sheet/tab name (defaults to first sheet) */
|
|
530
|
+
sheetName?: string;
|
|
531
|
+
/** First row to delete (1-based, inclusive) */
|
|
532
|
+
startRow: string;
|
|
533
|
+
/** Last row to delete (1-based, inclusive) */
|
|
534
|
+
endRow: string;
|
|
535
|
+
/** Google OAuth connection ID */
|
|
536
|
+
connectionId?: string;
|
|
537
|
+
}
|
|
538
|
+
export type DeleteGoogleSheetRowsStepOutput = unknown;
|
|
539
|
+
export interface DetectChangesStepInput {
|
|
540
|
+
/** Detection mode: 'comparison' for strict string inequality, 'ai' for LLM-based. Default: 'comparison' */
|
|
541
|
+
mode: "ai" | "comparison";
|
|
542
|
+
/** Current value to check (variable template) */
|
|
543
|
+
input: string;
|
|
544
|
+
/** AI mode: what constitutes a meaningful change */
|
|
545
|
+
prompt?: string;
|
|
546
|
+
/** AI mode: model settings override */
|
|
547
|
+
modelOverride?: {
|
|
548
|
+
/** Model identifier (e.g. "gpt-4", "claude-3-opus") */
|
|
549
|
+
model: string;
|
|
550
|
+
/** Sampling temperature for the model (0-2) */
|
|
551
|
+
temperature: number;
|
|
552
|
+
/** Maximum number of tokens in the model's response */
|
|
553
|
+
maxResponseTokens: number;
|
|
554
|
+
/** Whether to skip the system preamble/instructions */
|
|
555
|
+
ignorePreamble?: boolean;
|
|
556
|
+
/** Preprocessor applied to user messages before sending to the model */
|
|
557
|
+
userMessagePreprocessor?: {
|
|
558
|
+
/** Data source identifier for the preprocessor */
|
|
559
|
+
dataSource?: string;
|
|
560
|
+
/** Template string applied to user messages before sending to the model */
|
|
561
|
+
messageTemplate?: string;
|
|
562
|
+
/** Maximum number of results to include from the data source */
|
|
563
|
+
maxResults?: number;
|
|
564
|
+
/** Whether the preprocessor is active */
|
|
565
|
+
enabled?: boolean;
|
|
566
|
+
/** Whether child steps should inherit this preprocessor configuration */
|
|
567
|
+
shouldInherit?: boolean;
|
|
568
|
+
};
|
|
569
|
+
/** System preamble/instructions for the model */
|
|
570
|
+
preamble?: string;
|
|
571
|
+
/** Whether multi-model candidate generation is enabled */
|
|
572
|
+
multiModelEnabled?: boolean;
|
|
573
|
+
/** Whether the user can edit the model's response */
|
|
574
|
+
editResponseEnabled?: boolean;
|
|
575
|
+
/** Prompt caching, on models that bill cache writes. Absent: cached where something reads it back (the later steps of a run, a chat). `false` turns it off, for a single call such as a daily scheduled run. `true` caches even a single call, for a prompt resent unchanged within minutes. */
|
|
576
|
+
promptCaching?: boolean;
|
|
577
|
+
/** Additional model-specific configuration */
|
|
578
|
+
config?: Record<string, unknown>;
|
|
579
|
+
};
|
|
580
|
+
/** Optional variable name to store the previous value into for downstream access */
|
|
581
|
+
previousValueVariable?: string;
|
|
582
|
+
/** Step to transition to if changed (same workflow) */
|
|
583
|
+
changedStepId?: string;
|
|
584
|
+
/** Workflow to jump to if changed (cross workflow) */
|
|
585
|
+
changedWorkflowId?: string;
|
|
586
|
+
/** Step to transition to if unchanged (same workflow) */
|
|
587
|
+
unchangedStepId?: string;
|
|
588
|
+
/** Workflow to jump to if unchanged (cross workflow) */
|
|
589
|
+
unchangedWorkflowId?: string;
|
|
590
|
+
}
|
|
591
|
+
export interface DetectChangesStepOutput {
|
|
592
|
+
/** Whether a change was detected */
|
|
593
|
+
hasChanged: boolean;
|
|
594
|
+
/** The resolved input value */
|
|
595
|
+
currentValue: string;
|
|
596
|
+
/** The stored value from last run (empty string on first run) */
|
|
597
|
+
previousValue: string;
|
|
598
|
+
/** True when no previous state exists */
|
|
599
|
+
isFirstRun: boolean;
|
|
600
|
+
}
|
|
601
|
+
export interface DetectPIIStepInput {
|
|
602
|
+
/** Text to scan for personally identifiable information */
|
|
603
|
+
input: string;
|
|
604
|
+
/** Language code of the input text (e.g. "en") */
|
|
605
|
+
language: string;
|
|
606
|
+
/** PII entity types to scan for (e.g. ["PHONE_NUMBER", "EMAIL_ADDRESS"]). Empty array means nothing is scanned. */
|
|
607
|
+
entities: string[];
|
|
608
|
+
/** Step to transition to if PII is detected (workflow mode) */
|
|
609
|
+
detectedStepId?: string;
|
|
610
|
+
/** Step to transition to if no PII is detected (workflow mode) */
|
|
611
|
+
notDetectedStepId?: string;
|
|
612
|
+
/** Variable name to store the raw detection results */
|
|
613
|
+
outputLogVariable?: string | null;
|
|
614
|
+
}
|
|
615
|
+
export interface DetectPIIStepOutput {
|
|
616
|
+
/** Whether any PII was found in the input text */
|
|
617
|
+
detected: boolean;
|
|
618
|
+
/** List of detected PII entities with type, location, and confidence */
|
|
619
|
+
detections: {
|
|
620
|
+
/** PII entity type (e.g. "PHONE_NUMBER", "EMAIL_ADDRESS", "PERSON") */
|
|
621
|
+
entity_type: string;
|
|
622
|
+
/** Start character index in the input text */
|
|
623
|
+
start: number;
|
|
624
|
+
/** End character index in the input text */
|
|
625
|
+
end: number;
|
|
626
|
+
/** Confidence score between 0 and 1 */
|
|
627
|
+
score: number;
|
|
628
|
+
}[];
|
|
629
|
+
}
|
|
630
|
+
export interface DownloadVideoStepInput {
|
|
631
|
+
/** URL of the video to download (supports YouTube, TikTok, etc. via yt-dlp) */
|
|
632
|
+
videoUrl: string;
|
|
633
|
+
/** Output format for the downloaded file */
|
|
634
|
+
format: "mp4" | "mp3";
|
|
635
|
+
/** Which item to download from a URL that holds several (a carousel, a playlist, a post with several videos), counting from 1. Omit for the one the URL names, else the first */
|
|
636
|
+
item?: number;
|
|
637
|
+
/** Start of a clip, in seconds. Omit to start at the beginning */
|
|
638
|
+
start?: number;
|
|
639
|
+
/** Length of a clip, in seconds. Omit to run to the end */
|
|
640
|
+
duration?: number;
|
|
641
|
+
}
|
|
642
|
+
export interface DownloadVideoStepOutput {
|
|
643
|
+
/** URL of the downloaded and re-hosted video file */
|
|
644
|
+
videoUrl: string;
|
|
645
|
+
/** The video's title, as the site gives it */
|
|
646
|
+
title?: string;
|
|
647
|
+
/** How long the downloaded file runs, in seconds: a clip's own length */
|
|
648
|
+
durationSec?: number;
|
|
649
|
+
/** How many items the URL holds: 1 for a single video. Absent for a playlist the site doesn't count up front (a channel, a long playlist) */
|
|
650
|
+
itemCount?: number;
|
|
651
|
+
}
|
|
652
|
+
export interface EnhanceImageGenerationPromptStepInput {
|
|
653
|
+
/** The raw prompt to enhance */
|
|
654
|
+
initialPrompt: string;
|
|
655
|
+
/** Whether to also generate a negative prompt */
|
|
656
|
+
includeNegativePrompt: boolean;
|
|
657
|
+
/** Variable name to save the negative prompt into */
|
|
658
|
+
negativePromptDestinationVariableName?: string;
|
|
659
|
+
/** Custom system prompt for the enhancement model. Uses a default prompt if not provided */
|
|
660
|
+
systemPrompt: string;
|
|
661
|
+
/** Model override settings. Leave undefined to use the default model */
|
|
662
|
+
modelOverride?: unknown;
|
|
663
|
+
}
|
|
664
|
+
export interface EnhanceImageGenerationPromptStepOutput {
|
|
665
|
+
/** The enhanced image generation prompt */
|
|
666
|
+
prompt: string;
|
|
667
|
+
/** The negative prompt, only present when includeNegativePrompt was true */
|
|
668
|
+
negativePrompt?: string;
|
|
669
|
+
}
|
|
670
|
+
export interface EnhanceVideoGenerationPromptStepInput {
|
|
671
|
+
/** The raw prompt to enhance */
|
|
672
|
+
initialPrompt: string;
|
|
673
|
+
/** Whether to also generate a negative prompt */
|
|
674
|
+
includeNegativePrompt: boolean;
|
|
675
|
+
/** Variable name to save the negative prompt into */
|
|
676
|
+
negativePromptDestinationVariableName?: string;
|
|
677
|
+
/** Custom system prompt for the enhancement model. Uses a default prompt if not provided */
|
|
678
|
+
systemPrompt: string;
|
|
679
|
+
/** Model override settings. Leave undefined to use the default model */
|
|
680
|
+
modelOverride?: unknown;
|
|
681
|
+
}
|
|
682
|
+
export interface EnhanceVideoGenerationPromptStepOutput {
|
|
683
|
+
/** The enhanced video generation prompt */
|
|
684
|
+
prompt: string;
|
|
685
|
+
/** The negative prompt, only present when includeNegativePrompt was true */
|
|
686
|
+
negativePrompt?: string;
|
|
687
|
+
}
|
|
688
|
+
export interface EnrichPersonStepInput {
|
|
689
|
+
/** Search parameters to identify the person (ID, name, LinkedIn URL, email, or domain) */
|
|
690
|
+
params: {
|
|
691
|
+
/** Apollo person ID */
|
|
692
|
+
id: string;
|
|
693
|
+
/** Person's full name */
|
|
694
|
+
name: string;
|
|
695
|
+
/** LinkedIn profile URL */
|
|
696
|
+
linkedinUrl: string;
|
|
697
|
+
/** Email address */
|
|
698
|
+
email: string;
|
|
699
|
+
/** Company domain */
|
|
700
|
+
domain: string;
|
|
701
|
+
};
|
|
702
|
+
}
|
|
703
|
+
export interface EnrichPersonStepOutput {
|
|
704
|
+
/** Apollo enrichment result with contact details, employment history, and social profiles */
|
|
705
|
+
data: unknown;
|
|
706
|
+
}
|
|
707
|
+
export interface EvaluateDecisionStepInput {
|
|
708
|
+
/** The content to evaluate. A string, or a JSON object or array. */
|
|
709
|
+
state: string | Record<string, unknown> | unknown[];
|
|
710
|
+
/** Questions to ask about the state, keyed by an id you choose. */
|
|
711
|
+
questions: Record<string, unknown>;
|
|
712
|
+
/** Images for a model that reads them (Clef, Clef Flash, GPT-6 Luna Decisions). Each entry is a URL or a data URL. A model that reads none refuses the call. */
|
|
713
|
+
images?: string[];
|
|
714
|
+
/** Optional model override. Uses the workspace's default decision model (Jev) if not specified */
|
|
715
|
+
decisionModelOverride?: {
|
|
716
|
+
/** Decision model: a catalog id, its vendor's name for it (`@cf/cloudflare/clef`, `gpt-6-luna`), or a version it pins (`jev-1.13.0`) */
|
|
717
|
+
model: string;
|
|
718
|
+
/** Additional model-specific configuration */
|
|
719
|
+
config?: Record<string, unknown>;
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
export interface EvaluateDecisionStepOutput {
|
|
723
|
+
/** Versioned model id that answered, such as jev-1.13.0. */
|
|
724
|
+
model: string;
|
|
725
|
+
/** One answer per question, under the same ids. */
|
|
726
|
+
answers: Record<string, unknown>;
|
|
727
|
+
/** Token counts for the call. Input tokens are what the model bills. */
|
|
728
|
+
usage: {
|
|
729
|
+
input_tokens: number;
|
|
730
|
+
output_tokens: number;
|
|
731
|
+
};
|
|
732
|
+
}
|
|
733
|
+
export interface ExtractAudioFromVideoStepInput {
|
|
734
|
+
/** URL of the source video to extract audio from */
|
|
735
|
+
videoUrl: string;
|
|
736
|
+
}
|
|
737
|
+
export interface ExtractAudioFromVideoStepOutput {
|
|
738
|
+
/** URL of the extracted audio MP3 file */
|
|
739
|
+
audioUrl: string;
|
|
740
|
+
}
|
|
741
|
+
export interface ExtractTextStepInput {
|
|
742
|
+
/** URL or array of URLs to extract text from. Accepts a single URL, comma-separated list, or JSON array */
|
|
743
|
+
url: string | string[];
|
|
744
|
+
/** Optional model override. Uses the workspace's default document extraction model if not specified */
|
|
745
|
+
extractionModelOverride?: {
|
|
746
|
+
/** Document extraction model identifier */
|
|
747
|
+
model: string;
|
|
748
|
+
/** Additional model-specific configuration */
|
|
749
|
+
config?: Record<string, unknown>;
|
|
750
|
+
};
|
|
751
|
+
/** Optional extraction model id. */
|
|
752
|
+
model?: string;
|
|
753
|
+
/** Add each page's typed blocks, with their bounding boxes, and the page's size to `documents`. Off by default, since they're several times the size of the text. */
|
|
754
|
+
includeBlocks?: boolean;
|
|
755
|
+
}
|
|
756
|
+
export interface ExtractTextStepOutput {
|
|
757
|
+
/** Extracted text content. A single string for one URL, or an array for multiple URLs */
|
|
758
|
+
text: string | string[];
|
|
759
|
+
/** Each URL's document, in the order given, page by page. */
|
|
760
|
+
documents: {
|
|
761
|
+
/** The URL the document was read from. */
|
|
762
|
+
url: string;
|
|
763
|
+
/** The whole document's text. */
|
|
764
|
+
text: string;
|
|
765
|
+
/** Its pages, in order. A format read without a model is one page. */
|
|
766
|
+
pages: {
|
|
767
|
+
/** 1-based. */
|
|
768
|
+
pageNumber: number;
|
|
769
|
+
/** The page's text, as markdown. */
|
|
770
|
+
markdown: string;
|
|
771
|
+
/** The page's typed regions (title, text, table, image, header, footer…), each with its bounding box, when `includeBlocks` was set and the model returns them. */
|
|
772
|
+
blocks?: unknown[];
|
|
773
|
+
/** The page's size in pixels, the space `blocks`' bounding boxes are in. */
|
|
774
|
+
dimensions?: {
|
|
775
|
+
width: number;
|
|
776
|
+
height: number;
|
|
777
|
+
dpi?: number;
|
|
778
|
+
};
|
|
779
|
+
}[];
|
|
780
|
+
/** The pages the model read and billed, 0 for a format read without one. */
|
|
781
|
+
pagesProcessed: number;
|
|
782
|
+
}[];
|
|
783
|
+
}
|
|
784
|
+
export interface FetchDataSourceDocumentStepInput {
|
|
785
|
+
/** ID of the data source containing the document (supports variable interpolation) */
|
|
786
|
+
dataSourceId: string;
|
|
787
|
+
/** ID of the document to fetch (supports variable interpolation) */
|
|
788
|
+
documentId: string;
|
|
789
|
+
}
|
|
790
|
+
export interface FetchDataSourceDocumentStepOutput {
|
|
791
|
+
/** ID of the document */
|
|
792
|
+
documentId: string;
|
|
793
|
+
/** Document name */
|
|
794
|
+
name: string;
|
|
795
|
+
/** Full extracted text content */
|
|
796
|
+
content: string;
|
|
797
|
+
/** Document summary */
|
|
798
|
+
summary: string;
|
|
799
|
+
/** Word count */
|
|
800
|
+
numWords: number;
|
|
801
|
+
}
|
|
802
|
+
export interface FetchGoogleDocStepInput {
|
|
803
|
+
/** Google Document ID (from the document URL) */
|
|
804
|
+
documentId: string;
|
|
805
|
+
/** Google OAuth connection ID */
|
|
806
|
+
connectionId?: string;
|
|
807
|
+
/** Output format: "html", "markdown", "json", or "plain" */
|
|
808
|
+
exportType: "html" | "markdown" | "json" | "plain";
|
|
809
|
+
}
|
|
810
|
+
export interface FetchGoogleDocStepOutput {
|
|
811
|
+
/** Document contents in the requested export format */
|
|
812
|
+
content: string;
|
|
813
|
+
}
|
|
814
|
+
export interface FetchGoogleSheetStepInput {
|
|
815
|
+
/** Google Spreadsheet ID (from the spreadsheet URL) */
|
|
816
|
+
spreadsheetId: string;
|
|
817
|
+
/** Cell range in A1 notation (e.g. "Sheet1!A1:C10") */
|
|
818
|
+
range: string;
|
|
819
|
+
/** Google OAuth connection ID */
|
|
820
|
+
connectionId?: string;
|
|
821
|
+
/** Output format: "csv" or "json" */
|
|
822
|
+
exportType: "csv" | "json";
|
|
823
|
+
}
|
|
824
|
+
export interface FetchGoogleSheetStepOutput {
|
|
825
|
+
/** Spreadsheet data in the requested export format */
|
|
826
|
+
content: string;
|
|
827
|
+
}
|
|
828
|
+
export interface FetchSlackChannelHistoryStepInput {
|
|
829
|
+
/** Slack OAuth connection ID (leave empty to allow user to select) */
|
|
830
|
+
connectionId?: string;
|
|
831
|
+
/** Slack channel ID (leave empty to allow user to select a channel) */
|
|
832
|
+
channelId: string;
|
|
833
|
+
/** Maximum number of messages to return (1-15) */
|
|
834
|
+
limit?: number;
|
|
835
|
+
/** Earliest date to include messages from */
|
|
836
|
+
startDate?: string;
|
|
837
|
+
/** Latest date to include messages up to */
|
|
838
|
+
endDate?: string;
|
|
839
|
+
/** Whether to include images in the output */
|
|
840
|
+
includeImages?: boolean;
|
|
841
|
+
/** Whether to include the raw Slack message object (useful for bot messages with complex attachments) */
|
|
842
|
+
includeRawMessage?: boolean;
|
|
843
|
+
}
|
|
844
|
+
export interface FetchSlackChannelHistoryStepOutput {
|
|
845
|
+
/** List of messages from the channel history */
|
|
846
|
+
messages: {
|
|
847
|
+
from: string;
|
|
848
|
+
content: string;
|
|
849
|
+
timestamp?: string;
|
|
850
|
+
images?: string[];
|
|
851
|
+
rawMessage?: {
|
|
852
|
+
agent_session?: {
|
|
853
|
+
agent_bot_user_ids?: string[];
|
|
854
|
+
agent_statuses?: unknown[];
|
|
855
|
+
date_status_processing_expire?: number;
|
|
856
|
+
status?: string;
|
|
857
|
+
title?: string;
|
|
858
|
+
};
|
|
859
|
+
app_id?: string;
|
|
860
|
+
assistant_app_thread?: {
|
|
861
|
+
first_user_thread_reply?: string;
|
|
862
|
+
title?: string;
|
|
863
|
+
title_blocks?: unknown[];
|
|
864
|
+
};
|
|
865
|
+
attachments?: {
|
|
866
|
+
actions?: unknown[];
|
|
867
|
+
app_id?: string;
|
|
868
|
+
app_unfurl_url?: string;
|
|
869
|
+
author_icon?: string;
|
|
870
|
+
author_id?: string;
|
|
871
|
+
author_link?: string;
|
|
872
|
+
author_name?: string;
|
|
873
|
+
author_subname?: string;
|
|
874
|
+
blocks?: unknown[];
|
|
875
|
+
bot_id?: string;
|
|
876
|
+
bot_team_id?: string;
|
|
877
|
+
callback_id?: string;
|
|
878
|
+
channel_id?: string;
|
|
879
|
+
channel_name?: string;
|
|
880
|
+
channel_team?: string;
|
|
881
|
+
color?: string;
|
|
882
|
+
fallback?: string;
|
|
883
|
+
fields?: unknown[];
|
|
884
|
+
file_id?: string;
|
|
885
|
+
filename?: string;
|
|
886
|
+
files?: unknown[];
|
|
887
|
+
footer?: string;
|
|
888
|
+
footer_icon?: string;
|
|
889
|
+
from_url?: string;
|
|
890
|
+
hide_border?: boolean;
|
|
891
|
+
hide_color?: boolean;
|
|
892
|
+
id?: number;
|
|
893
|
+
image_bytes?: number;
|
|
894
|
+
image_height?: number;
|
|
895
|
+
image_url?: string;
|
|
896
|
+
image_width?: number;
|
|
897
|
+
indent?: boolean;
|
|
898
|
+
is_app_unfurl?: boolean;
|
|
899
|
+
is_file_attachment?: boolean;
|
|
900
|
+
is_msg_unfurl?: boolean;
|
|
901
|
+
is_reply_unfurl?: boolean;
|
|
902
|
+
is_thread_root_unfurl?: boolean;
|
|
903
|
+
list?: unknown;
|
|
904
|
+
list_record?: unknown;
|
|
905
|
+
list_record_id?: string;
|
|
906
|
+
list_records?: unknown[];
|
|
907
|
+
list_schema?: unknown[];
|
|
908
|
+
list_view?: unknown;
|
|
909
|
+
list_view_id?: string;
|
|
910
|
+
message_blocks?: unknown[];
|
|
911
|
+
metadata?: unknown;
|
|
912
|
+
mimetype?: string;
|
|
913
|
+
mrkdwn_in?: string[];
|
|
914
|
+
msg_subtype?: string;
|
|
915
|
+
original_url?: string;
|
|
916
|
+
pretext?: string;
|
|
917
|
+
preview?: unknown;
|
|
918
|
+
service_icon?: string;
|
|
919
|
+
service_name?: string;
|
|
920
|
+
service_url?: string;
|
|
921
|
+
size?: number;
|
|
922
|
+
slack_file_id?: string;
|
|
923
|
+
text?: string;
|
|
924
|
+
thumb_height?: number;
|
|
925
|
+
thumb_url?: string;
|
|
926
|
+
thumb_width?: number;
|
|
927
|
+
title?: string;
|
|
928
|
+
title_link?: string;
|
|
929
|
+
ts?: string;
|
|
930
|
+
url?: string;
|
|
931
|
+
video_html?: string;
|
|
932
|
+
video_html_height?: number;
|
|
933
|
+
video_html_width?: number;
|
|
934
|
+
video_url?: string;
|
|
935
|
+
}[];
|
|
936
|
+
blocks?: {
|
|
937
|
+
accessory?: unknown;
|
|
938
|
+
alt_text?: string;
|
|
939
|
+
api_decoration_available?: boolean;
|
|
940
|
+
app_collaborators?: string[];
|
|
941
|
+
app_id?: string;
|
|
942
|
+
author_name?: string;
|
|
943
|
+
block_id?: string;
|
|
944
|
+
bot_user_id?: string;
|
|
945
|
+
button_label?: string;
|
|
946
|
+
call?: unknown;
|
|
947
|
+
call_id?: string;
|
|
948
|
+
description?: unknown;
|
|
949
|
+
developer_trace_id?: string;
|
|
950
|
+
dispatch_action?: boolean;
|
|
951
|
+
element?: unknown;
|
|
952
|
+
elements?: unknown[];
|
|
953
|
+
expand?: boolean;
|
|
954
|
+
external_id?: string;
|
|
955
|
+
fallback?: string;
|
|
956
|
+
fields?: unknown[];
|
|
957
|
+
file?: unknown;
|
|
958
|
+
file_id?: string;
|
|
959
|
+
function_trigger_id?: string;
|
|
960
|
+
hint?: unknown;
|
|
961
|
+
image_bytes?: number;
|
|
962
|
+
image_height?: number;
|
|
963
|
+
image_url?: string;
|
|
964
|
+
image_width?: number;
|
|
965
|
+
is_animated?: boolean;
|
|
966
|
+
is_workflow_app?: boolean;
|
|
967
|
+
label?: unknown;
|
|
968
|
+
optional?: boolean;
|
|
969
|
+
owning_team_id?: string;
|
|
970
|
+
provider_icon_url?: string;
|
|
971
|
+
provider_name?: string;
|
|
972
|
+
sales_home_workflow_app_type?: number;
|
|
973
|
+
share_url?: string;
|
|
974
|
+
slack_file?: unknown;
|
|
975
|
+
source?: string;
|
|
976
|
+
text?: unknown;
|
|
977
|
+
thumbnail_url?: string;
|
|
978
|
+
title?: unknown;
|
|
979
|
+
title_url?: string;
|
|
980
|
+
trigger_subtype?: string;
|
|
981
|
+
trigger_type?: string;
|
|
982
|
+
type?: unknown;
|
|
983
|
+
url?: string;
|
|
984
|
+
video_url?: string;
|
|
985
|
+
workflow_id?: string;
|
|
986
|
+
}[];
|
|
987
|
+
bot_id?: string;
|
|
988
|
+
bot_profile?: {
|
|
989
|
+
app_id?: string;
|
|
990
|
+
deleted?: boolean;
|
|
991
|
+
icons?: unknown;
|
|
992
|
+
id?: string;
|
|
993
|
+
name?: string;
|
|
994
|
+
team_id?: string;
|
|
995
|
+
updated?: number;
|
|
996
|
+
user_id?: string;
|
|
997
|
+
};
|
|
998
|
+
client_msg_id?: string;
|
|
999
|
+
display_as_bot?: boolean;
|
|
1000
|
+
edited?: {
|
|
1001
|
+
ts?: string;
|
|
1002
|
+
user?: string;
|
|
1003
|
+
};
|
|
1004
|
+
files?: {
|
|
1005
|
+
access?: string;
|
|
1006
|
+
alt_txt?: string;
|
|
1007
|
+
app_id?: string;
|
|
1008
|
+
app_name?: string;
|
|
1009
|
+
app_provides_file_work_objects?: boolean;
|
|
1010
|
+
attachments?: unknown[];
|
|
1011
|
+
blocks?: unknown[];
|
|
1012
|
+
bot_id?: string;
|
|
1013
|
+
can_toggle_canvas_lock?: boolean;
|
|
1014
|
+
canvas_creator_id?: string;
|
|
1015
|
+
canvas_printing_enabled?: boolean;
|
|
1016
|
+
canvas_readtime?: number;
|
|
1017
|
+
canvas_template_mode?: string;
|
|
1018
|
+
cc?: unknown[];
|
|
1019
|
+
channel_actions_count?: number;
|
|
1020
|
+
channel_actions_ts?: string;
|
|
1021
|
+
channels?: string[];
|
|
1022
|
+
comments_count?: number;
|
|
1023
|
+
converted_pdf?: string;
|
|
1024
|
+
created?: number;
|
|
1025
|
+
deanimate?: string;
|
|
1026
|
+
deanimate_gif?: string;
|
|
1027
|
+
display_as_bot?: boolean;
|
|
1028
|
+
dm_mpdm_users_with_file_access?: unknown[];
|
|
1029
|
+
duration_ms?: number;
|
|
1030
|
+
edit_link?: string;
|
|
1031
|
+
edit_timestamp?: number;
|
|
1032
|
+
editable?: boolean;
|
|
1033
|
+
editor?: string;
|
|
1034
|
+
editors?: string[];
|
|
1035
|
+
external_id?: string;
|
|
1036
|
+
external_type?: string;
|
|
1037
|
+
external_url?: string;
|
|
1038
|
+
favorites?: unknown[];
|
|
1039
|
+
file_access?: string;
|
|
1040
|
+
filetype?: string;
|
|
1041
|
+
from?: unknown[];
|
|
1042
|
+
groups?: string[];
|
|
1043
|
+
has_more?: boolean;
|
|
1044
|
+
has_more_shares?: boolean;
|
|
1045
|
+
has_rich_preview?: boolean;
|
|
1046
|
+
headers?: unknown;
|
|
1047
|
+
hls?: string;
|
|
1048
|
+
hls_embed?: string;
|
|
1049
|
+
id?: string;
|
|
1050
|
+
image_exif_rotation?: number;
|
|
1051
|
+
ims?: string[];
|
|
1052
|
+
initial_comment?: unknown;
|
|
1053
|
+
inline_attachment_count?: number;
|
|
1054
|
+
is_ai_suggested?: boolean;
|
|
1055
|
+
is_channel_space?: boolean;
|
|
1056
|
+
is_external?: boolean;
|
|
1057
|
+
is_modified_by_ai?: boolean;
|
|
1058
|
+
is_public?: boolean;
|
|
1059
|
+
is_restricted_sharing_enabled?: boolean;
|
|
1060
|
+
is_starred?: boolean;
|
|
1061
|
+
last_editor?: string;
|
|
1062
|
+
last_read?: number;
|
|
1063
|
+
lines?: number;
|
|
1064
|
+
lines_more?: number;
|
|
1065
|
+
linked_channel_id?: string;
|
|
1066
|
+
list_csv_download_url?: string;
|
|
1067
|
+
list_limits?: unknown;
|
|
1068
|
+
list_metadata?: unknown;
|
|
1069
|
+
media_display_type?: string;
|
|
1070
|
+
media_progress?: unknown;
|
|
1071
|
+
mimetype?: string;
|
|
1072
|
+
mode?: string;
|
|
1073
|
+
mp4?: string;
|
|
1074
|
+
mp4_low?: string;
|
|
1075
|
+
name?: string;
|
|
1076
|
+
non_owner_editable?: boolean;
|
|
1077
|
+
num_stars?: number;
|
|
1078
|
+
org_or_workspace_access?: string;
|
|
1079
|
+
original_attachment_count?: number;
|
|
1080
|
+
original_h?: string;
|
|
1081
|
+
original_w?: string;
|
|
1082
|
+
permalink?: string;
|
|
1083
|
+
permalink_public?: string;
|
|
1084
|
+
pinned_to?: string[];
|
|
1085
|
+
pjpeg?: string;
|
|
1086
|
+
plain_text?: string;
|
|
1087
|
+
pretty_type?: string;
|
|
1088
|
+
preview?: string;
|
|
1089
|
+
preview_highlight?: string;
|
|
1090
|
+
preview_is_truncated?: boolean;
|
|
1091
|
+
preview_plain_text?: string;
|
|
1092
|
+
private_channels_with_file_access_count?: number;
|
|
1093
|
+
private_file_with_access_count?: number;
|
|
1094
|
+
public_url_shared?: boolean;
|
|
1095
|
+
quip_thread_id?: string;
|
|
1096
|
+
reactions?: unknown[];
|
|
1097
|
+
saved?: unknown;
|
|
1098
|
+
sent_to_self?: boolean;
|
|
1099
|
+
shares?: unknown;
|
|
1100
|
+
show_badge?: boolean;
|
|
1101
|
+
simplified_html?: string;
|
|
1102
|
+
size?: number;
|
|
1103
|
+
skipped_shares?: boolean;
|
|
1104
|
+
source_team?: string;
|
|
1105
|
+
subject?: string;
|
|
1106
|
+
subtype?: string;
|
|
1107
|
+
team_pref_version_history_enabled?: boolean;
|
|
1108
|
+
teams_shared_with?: unknown[];
|
|
1109
|
+
template_conversion_ts?: number;
|
|
1110
|
+
template_description?: string;
|
|
1111
|
+
template_icon?: string;
|
|
1112
|
+
template_name?: string;
|
|
1113
|
+
template_title?: string;
|
|
1114
|
+
thumb_1024?: string;
|
|
1115
|
+
thumb_1024_gif?: string;
|
|
1116
|
+
thumb_1024_h?: string;
|
|
1117
|
+
thumb_1024_w?: string;
|
|
1118
|
+
thumb_160?: string;
|
|
1119
|
+
thumb_160_gif?: string;
|
|
1120
|
+
thumb_160_h?: string;
|
|
1121
|
+
thumb_160_w?: string;
|
|
1122
|
+
thumb_360?: string;
|
|
1123
|
+
thumb_360_gif?: string;
|
|
1124
|
+
thumb_360_h?: string;
|
|
1125
|
+
thumb_360_w?: string;
|
|
1126
|
+
thumb_480?: string;
|
|
1127
|
+
thumb_480_gif?: string;
|
|
1128
|
+
thumb_480_h?: string;
|
|
1129
|
+
thumb_480_w?: string;
|
|
1130
|
+
thumb_64?: string;
|
|
1131
|
+
thumb_64_gif?: string;
|
|
1132
|
+
thumb_64_h?: string;
|
|
1133
|
+
thumb_64_w?: string;
|
|
1134
|
+
thumb_720?: string;
|
|
1135
|
+
thumb_720_gif?: string;
|
|
1136
|
+
thumb_720_h?: string;
|
|
1137
|
+
thumb_720_w?: string;
|
|
1138
|
+
thumb_80?: string;
|
|
1139
|
+
thumb_800?: string;
|
|
1140
|
+
thumb_800_gif?: string;
|
|
1141
|
+
thumb_800_h?: string;
|
|
1142
|
+
thumb_800_w?: string;
|
|
1143
|
+
thumb_80_gif?: string;
|
|
1144
|
+
thumb_80_h?: string;
|
|
1145
|
+
thumb_80_w?: string;
|
|
1146
|
+
thumb_960?: string;
|
|
1147
|
+
thumb_960_gif?: string;
|
|
1148
|
+
thumb_960_h?: string;
|
|
1149
|
+
thumb_960_w?: string;
|
|
1150
|
+
thumb_gif?: string;
|
|
1151
|
+
thumb_pdf?: string;
|
|
1152
|
+
thumb_pdf_h?: string;
|
|
1153
|
+
thumb_pdf_w?: string;
|
|
1154
|
+
thumb_tiny?: string;
|
|
1155
|
+
thumb_video?: string;
|
|
1156
|
+
thumb_video_h?: number;
|
|
1157
|
+
thumb_video_w?: number;
|
|
1158
|
+
timestamp?: number;
|
|
1159
|
+
title?: string;
|
|
1160
|
+
title_blocks?: unknown[];
|
|
1161
|
+
to?: unknown[];
|
|
1162
|
+
transcription?: unknown;
|
|
1163
|
+
update_notification?: number;
|
|
1164
|
+
updated?: number;
|
|
1165
|
+
url_private?: string;
|
|
1166
|
+
url_private_download?: string;
|
|
1167
|
+
url_static_preview?: string;
|
|
1168
|
+
user?: string;
|
|
1169
|
+
user_team?: string;
|
|
1170
|
+
username?: string;
|
|
1171
|
+
vtt?: string;
|
|
1172
|
+
}[];
|
|
1173
|
+
hidden?: boolean;
|
|
1174
|
+
icons?: {
|
|
1175
|
+
emoji?: string;
|
|
1176
|
+
image_36?: string;
|
|
1177
|
+
image_48?: string;
|
|
1178
|
+
image_64?: string;
|
|
1179
|
+
image_72?: string;
|
|
1180
|
+
};
|
|
1181
|
+
inviter?: string;
|
|
1182
|
+
is_locked?: boolean;
|
|
1183
|
+
language?: {
|
|
1184
|
+
is_reliable?: boolean;
|
|
1185
|
+
locale?: string;
|
|
1186
|
+
};
|
|
1187
|
+
latest_reply?: string;
|
|
1188
|
+
metadata?: {
|
|
1189
|
+
event_payload?: unknown;
|
|
1190
|
+
event_type?: string;
|
|
1191
|
+
};
|
|
1192
|
+
parent_user_id?: string;
|
|
1193
|
+
purpose?: string;
|
|
1194
|
+
reactions?: {
|
|
1195
|
+
count?: number;
|
|
1196
|
+
name?: string;
|
|
1197
|
+
url?: string;
|
|
1198
|
+
users?: string[];
|
|
1199
|
+
}[];
|
|
1200
|
+
reply_count?: number;
|
|
1201
|
+
reply_users?: string[];
|
|
1202
|
+
reply_users_count?: number;
|
|
1203
|
+
root?: {
|
|
1204
|
+
bot_id?: string;
|
|
1205
|
+
icons?: unknown;
|
|
1206
|
+
latest_reply?: string;
|
|
1207
|
+
parent_user_id?: string;
|
|
1208
|
+
reply_count?: number;
|
|
1209
|
+
reply_users?: string[];
|
|
1210
|
+
reply_users_count?: number;
|
|
1211
|
+
subscribed?: boolean;
|
|
1212
|
+
subtype?: string;
|
|
1213
|
+
text?: string;
|
|
1214
|
+
thread_ts?: string;
|
|
1215
|
+
ts?: string;
|
|
1216
|
+
type?: string;
|
|
1217
|
+
username?: string;
|
|
1218
|
+
};
|
|
1219
|
+
subscribed?: boolean;
|
|
1220
|
+
subtype?: string;
|
|
1221
|
+
team?: string;
|
|
1222
|
+
text?: string;
|
|
1223
|
+
thread_ts?: string;
|
|
1224
|
+
topic?: string;
|
|
1225
|
+
ts?: string;
|
|
1226
|
+
type?: string;
|
|
1227
|
+
upload?: boolean;
|
|
1228
|
+
user?: string;
|
|
1229
|
+
username?: string;
|
|
1230
|
+
x_files?: string[];
|
|
1231
|
+
};
|
|
1232
|
+
}[];
|
|
1233
|
+
}
|
|
1234
|
+
export interface FetchYoutubeCaptionsStepInput {
|
|
1235
|
+
/** YouTube video URL to fetch captions for */
|
|
1236
|
+
videoUrl: string;
|
|
1237
|
+
/** Output format: "text" for timestamped plain text, "json" for structured transcript data */
|
|
1238
|
+
exportType: "text" | "json";
|
|
1239
|
+
/** Language code for the captions (e.g. "en") */
|
|
1240
|
+
language: string;
|
|
1241
|
+
}
|
|
1242
|
+
export interface FetchYoutubeCaptionsStepOutput {
|
|
1243
|
+
/** Parsed transcript segments with text and start timestamps */
|
|
1244
|
+
transcripts: {
|
|
1245
|
+
/** Transcript text segment */
|
|
1246
|
+
text: string;
|
|
1247
|
+
/** Start time of the segment in seconds */
|
|
1248
|
+
start: number;
|
|
1249
|
+
}[];
|
|
1250
|
+
}
|
|
1251
|
+
export interface FetchYoutubeChannelStepInput {
|
|
1252
|
+
/** YouTube channel URL (e.g. https://www.youtube.com/@ChannelName or /channel/ID) */
|
|
1253
|
+
channelUrl: string;
|
|
1254
|
+
}
|
|
1255
|
+
export type FetchYoutubeChannelStepOutput = Record<string, unknown>;
|
|
1256
|
+
export interface FetchYoutubeCommentsStepInput {
|
|
1257
|
+
/** YouTube video URL to fetch comments for */
|
|
1258
|
+
videoUrl: string;
|
|
1259
|
+
/** Output format: "text" for markdown-formatted text, "json" for structured comment data */
|
|
1260
|
+
exportType: "text" | "json";
|
|
1261
|
+
/** Maximum number of comment pages to fetch (1-5) */
|
|
1262
|
+
limitPages: string;
|
|
1263
|
+
}
|
|
1264
|
+
export interface FetchYoutubeCommentsStepOutput {
|
|
1265
|
+
/** List of comments retrieved from the video */
|
|
1266
|
+
comments: {
|
|
1267
|
+
/** Unique comment identifier */
|
|
1268
|
+
id: string;
|
|
1269
|
+
/** Direct URL to the comment */
|
|
1270
|
+
link: string;
|
|
1271
|
+
/** Date the comment was published */
|
|
1272
|
+
publishedDate: string;
|
|
1273
|
+
/** Text content of the comment */
|
|
1274
|
+
text: string;
|
|
1275
|
+
/** Number of likes on the comment */
|
|
1276
|
+
likes: number;
|
|
1277
|
+
/** Number of replies to the comment */
|
|
1278
|
+
replies: number;
|
|
1279
|
+
/** Display name of the comment author */
|
|
1280
|
+
author: string;
|
|
1281
|
+
/** URL to the author's YouTube channel */
|
|
1282
|
+
authorLink: string;
|
|
1283
|
+
/** URL of the author's profile image */
|
|
1284
|
+
authorImg: string;
|
|
1285
|
+
}[];
|
|
1286
|
+
}
|
|
1287
|
+
export interface FetchYoutubeVideoStepInput {
|
|
1288
|
+
/** YouTube video URL to fetch metadata for */
|
|
1289
|
+
videoUrl: string;
|
|
1290
|
+
}
|
|
1291
|
+
export type FetchYoutubeVideoStepOutput = Record<string, unknown>;
|
|
1292
|
+
export interface Generate3dModelStepInput {
|
|
1293
|
+
/** Text prompt for text-to-3D models, or optional guidance for image-to-3D models */
|
|
1294
|
+
prompt?: string;
|
|
1295
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
1296
|
+
intermediateAsset?: boolean;
|
|
1297
|
+
/** Optional model configuration override. Uses the workflow's default 3D model if not specified */
|
|
1298
|
+
threeDModelOverride?: {
|
|
1299
|
+
/** 3D generation model identifier */
|
|
1300
|
+
model: string;
|
|
1301
|
+
/** Additional model-specific configuration */
|
|
1302
|
+
config?: Record<string, unknown>;
|
|
1303
|
+
};
|
|
1304
|
+
}
|
|
1305
|
+
export interface Generate3dModelStepOutput {
|
|
1306
|
+
prompt?: string;
|
|
1307
|
+
glbUrl: string;
|
|
1308
|
+
fbxUrl?: string;
|
|
1309
|
+
objUrl?: string;
|
|
1310
|
+
usdzUrl?: string;
|
|
1311
|
+
thumbnailUrl?: string;
|
|
1312
|
+
textureUrls?: Record<string, unknown>[];
|
|
1313
|
+
providerTaskId?: string;
|
|
1314
|
+
resolvedConfig?: Record<string, unknown>;
|
|
1315
|
+
}
|
|
1316
|
+
export interface GenerateImageStepInput {
|
|
1317
|
+
/** Text prompt describing the image to generate */
|
|
1318
|
+
prompt: string;
|
|
1319
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
1320
|
+
intermediateAsset?: boolean;
|
|
1321
|
+
/** Optional model configuration override. Uses the workflow's default image model if not specified */
|
|
1322
|
+
imageModelOverride?: {
|
|
1323
|
+
/** Image generation model identifier */
|
|
1324
|
+
model: string;
|
|
1325
|
+
/** Additional model-specific configuration */
|
|
1326
|
+
config?: Record<string, unknown>;
|
|
1327
|
+
};
|
|
1328
|
+
/** Whether to generate multiple image variants in parallel */
|
|
1329
|
+
generateVariants?: boolean;
|
|
1330
|
+
/** Number of variants to generate (max 10) */
|
|
1331
|
+
numVariants?: number;
|
|
1332
|
+
/**
|
|
1333
|
+
* Whether to add a MindStudio watermark to the generated image.
|
|
1334
|
+
*
|
|
1335
|
+
* The watermark is a product mark on assets generated in the MindStudio UI. A step run directly via the SDK or API is producing the app's own asset, so it is never watermarked and this flag has no effect there.
|
|
1336
|
+
*/
|
|
1337
|
+
addWatermark?: boolean;
|
|
1338
|
+
}
|
|
1339
|
+
export interface GenerateImageStepOutput {
|
|
1340
|
+
/** CDN URL of the generated image, or array of URLs when generating multiple variants */
|
|
1341
|
+
imageUrl: string | string[];
|
|
1342
|
+
}
|
|
1343
|
+
export interface GenerateLipsyncStepInput {
|
|
1344
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
1345
|
+
intermediateAsset?: boolean;
|
|
1346
|
+
/**
|
|
1347
|
+
* Whether to add a MindStudio watermark to the generated video.
|
|
1348
|
+
*
|
|
1349
|
+
* The watermark is a product mark on assets generated in the MindStudio UI. A step run directly via the SDK or API is producing the app's own asset, so it is never watermarked and this flag has no effect there.
|
|
1350
|
+
*/
|
|
1351
|
+
addWatermark?: boolean;
|
|
1352
|
+
/** The lip sync model to run and its config, whose keys come from the model: the media (`image` or `video`, and `audio`) and the model's options */
|
|
1353
|
+
lipsyncModelOverride?: {
|
|
1354
|
+
model: string;
|
|
1355
|
+
config?: Record<string, unknown>;
|
|
1356
|
+
};
|
|
1357
|
+
}
|
|
1358
|
+
export interface GenerateLipsyncStepOutput {
|
|
1359
|
+
/** URL of the generated lip sync video */
|
|
1360
|
+
videoUrl: string;
|
|
1361
|
+
}
|
|
1362
|
+
export interface GenerateMusicStepInput {
|
|
1363
|
+
/** The instructions (prompt) for the music generation */
|
|
1364
|
+
text: string;
|
|
1365
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
1366
|
+
intermediateAsset?: boolean;
|
|
1367
|
+
/** Optional model configuration override. Uses the workflow's default music model if not specified */
|
|
1368
|
+
musicModelOverride?: {
|
|
1369
|
+
model: string;
|
|
1370
|
+
config?: Record<string, unknown>;
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
export interface GenerateMusicStepOutput {
|
|
1374
|
+
/** URL of the generated audio file */
|
|
1375
|
+
audioUrl: string;
|
|
1376
|
+
}
|
|
1377
|
+
export interface GeneratePdfStepInput {
|
|
1378
|
+
/** The HTML or Markdown source template for the asset */
|
|
1379
|
+
source: string;
|
|
1380
|
+
/** Source type: html, markdown (auto-formatted), spa (single page app), raw (pre-generated HTML in a variable), dynamic (AI-generated from prompt), or customInterface */
|
|
1381
|
+
sourceType: "html" | "markdown" | "spa" | "raw" | "dynamic" | "customInterface";
|
|
1382
|
+
/** The output format for the generated asset */
|
|
1383
|
+
outputFormat: "pdf" | "png" | "html" | "mp4" | "openGraph";
|
|
1384
|
+
/** Page size for PDF, PNG, or MP4 output */
|
|
1385
|
+
pageSize: "full" | "letter" | "A4" | "custom";
|
|
1386
|
+
/** Test data used for previewing the template with sample variable values */
|
|
1387
|
+
testData: Record<string, unknown>;
|
|
1388
|
+
/** Additional rendering options */
|
|
1389
|
+
options?: {
|
|
1390
|
+
/** Custom page width in pixels (for custom pageSize) */
|
|
1391
|
+
pageWidthPx?: number;
|
|
1392
|
+
/** Custom page height in pixels (for custom pageSize) */
|
|
1393
|
+
pageHeightPx?: number;
|
|
1394
|
+
/** Page orientation for the rendered output */
|
|
1395
|
+
pageOrientation?: "portrait" | "landscape";
|
|
1396
|
+
/** Whether to re-host third-party images on the MindStudio CDN */
|
|
1397
|
+
rehostMedia?: boolean;
|
|
1398
|
+
/** Duration in seconds for MP4 video output */
|
|
1399
|
+
videoDurationSeconds?: number;
|
|
1400
|
+
};
|
|
1401
|
+
/** Single page app source configuration (advanced) */
|
|
1402
|
+
spaSource?: {
|
|
1403
|
+
/** Source code of the SPA (legacy, use files instead) */
|
|
1404
|
+
source?: string;
|
|
1405
|
+
/** Last compiled source (cached) */
|
|
1406
|
+
lastCompiledSource?: string;
|
|
1407
|
+
/** Multi-file SPA source */
|
|
1408
|
+
files?: Record<string, unknown>;
|
|
1409
|
+
/** Available route paths in the SPA */
|
|
1410
|
+
paths: string[];
|
|
1411
|
+
/** Root URL of the SPA bundle */
|
|
1412
|
+
root: string;
|
|
1413
|
+
/** URL of the zipped SPA bundle */
|
|
1414
|
+
zipUrl: string;
|
|
1415
|
+
};
|
|
1416
|
+
/** Raw HTML source stored in a variable, using handlebars syntax (e.g. {{myHtmlVariable}}) */
|
|
1417
|
+
rawSource?: string;
|
|
1418
|
+
/** Prompt to generate the HTML dynamically when sourceType is "dynamic" */
|
|
1419
|
+
dynamicPrompt?: string;
|
|
1420
|
+
/** Model override for dynamic HTML generation. Leave undefined to use the default model */
|
|
1421
|
+
dynamicSourceModelOverride?: {
|
|
1422
|
+
/** Model identifier (e.g. "gpt-4", "claude-3-opus") */
|
|
1423
|
+
model: string;
|
|
1424
|
+
/** Sampling temperature for the model (0-2) */
|
|
1425
|
+
temperature: number;
|
|
1426
|
+
/** Maximum number of tokens in the model's response */
|
|
1427
|
+
maxResponseTokens: number;
|
|
1428
|
+
/** Whether to skip the system preamble/instructions */
|
|
1429
|
+
ignorePreamble?: boolean;
|
|
1430
|
+
/** Preprocessor applied to user messages before sending to the model */
|
|
1431
|
+
userMessagePreprocessor?: {
|
|
1432
|
+
/** Data source identifier for the preprocessor */
|
|
1433
|
+
dataSource?: string;
|
|
1434
|
+
/** Template string applied to user messages before sending to the model */
|
|
1435
|
+
messageTemplate?: string;
|
|
1436
|
+
/** Maximum number of results to include from the data source */
|
|
1437
|
+
maxResults?: number;
|
|
1438
|
+
/** Whether the preprocessor is active */
|
|
1439
|
+
enabled?: boolean;
|
|
1440
|
+
/** Whether child steps should inherit this preprocessor configuration */
|
|
1441
|
+
shouldInherit?: boolean;
|
|
1442
|
+
};
|
|
1443
|
+
/** System preamble/instructions for the model */
|
|
1444
|
+
preamble?: string;
|
|
1445
|
+
/** Whether multi-model candidate generation is enabled */
|
|
1446
|
+
multiModelEnabled?: boolean;
|
|
1447
|
+
/** Whether the user can edit the model's response */
|
|
1448
|
+
editResponseEnabled?: boolean;
|
|
1449
|
+
/** Prompt caching, on models that bill cache writes. Absent: cached where something reads it back (the later steps of a run, a chat). `false` turns it off, for a single call such as a daily scheduled run. `true` caches even a single call, for a prompt resent unchanged within minutes. */
|
|
1450
|
+
promptCaching?: boolean;
|
|
1451
|
+
/** Additional model-specific configuration */
|
|
1452
|
+
config?: Record<string, unknown>;
|
|
1453
|
+
};
|
|
1454
|
+
/** Controls how the step transitions after displaying in foreground mode */
|
|
1455
|
+
transitionControl?: "default" | "native";
|
|
1456
|
+
/** Controls visibility of the share button on displayed assets */
|
|
1457
|
+
shareControl?: "default" | "hidden";
|
|
1458
|
+
/** URL of a custom Open Graph share image */
|
|
1459
|
+
shareImageUrl?: string;
|
|
1460
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
1461
|
+
intermediateAsset?: boolean;
|
|
1462
|
+
}
|
|
1463
|
+
export interface GeneratePdfStepOutput {
|
|
1464
|
+
/** CDN URL of the generated asset (PDF, PNG, HTML, or MP4 depending on outputFormat) */
|
|
1465
|
+
url: string;
|
|
1466
|
+
}
|
|
1467
|
+
export interface GenerateSoundStepInput {
|
|
1468
|
+
/** The description of the sound effect to generate */
|
|
1469
|
+
text: string;
|
|
1470
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
1471
|
+
intermediateAsset?: boolean;
|
|
1472
|
+
/** Optional model configuration override. Uses the workflow's default sound model if not specified */
|
|
1473
|
+
soundModelOverride?: {
|
|
1474
|
+
model: string;
|
|
1475
|
+
config?: Record<string, unknown>;
|
|
1476
|
+
};
|
|
1477
|
+
}
|
|
1478
|
+
export interface GenerateSoundStepOutput {
|
|
1479
|
+
/** URL of the generated audio file */
|
|
1480
|
+
audioUrl: string;
|
|
1481
|
+
}
|
|
1482
|
+
export interface GenerateStaticVideoFromImageStepInput {
|
|
1483
|
+
/** URL of the source image to convert to video */
|
|
1484
|
+
imageUrl: string;
|
|
1485
|
+
/** Duration of the output video in seconds */
|
|
1486
|
+
duration: string;
|
|
1487
|
+
}
|
|
1488
|
+
export interface GenerateStaticVideoFromImageStepOutput {
|
|
1489
|
+
/** URL of the generated static video */
|
|
1490
|
+
videoUrl: string;
|
|
1491
|
+
}
|
|
1492
|
+
export interface GenerateVideoStepInput {
|
|
1493
|
+
/** Text prompt describing the video to generate */
|
|
1494
|
+
prompt: string;
|
|
1495
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
1496
|
+
intermediateAsset?: boolean;
|
|
1497
|
+
/** Optional model configuration override. Uses the workflow's default video model if not specified */
|
|
1498
|
+
videoModelOverride?: {
|
|
1499
|
+
/** Video generation model identifier */
|
|
1500
|
+
model: string;
|
|
1501
|
+
/** Additional model-specific configuration */
|
|
1502
|
+
config?: Record<string, unknown>;
|
|
1503
|
+
};
|
|
1504
|
+
/** Whether to generate multiple video variants in parallel */
|
|
1505
|
+
generateVariants?: boolean;
|
|
1506
|
+
/** Number of variants to generate (max 10) */
|
|
1507
|
+
numVariants?: number;
|
|
1508
|
+
/**
|
|
1509
|
+
* Whether to add a MindStudio watermark to the generated video.
|
|
1510
|
+
*
|
|
1511
|
+
* The watermark is a product mark on assets generated in the MindStudio UI. A step run directly via the SDK or API is producing the app's own asset, so it is never watermarked and this flag has no effect there.
|
|
1512
|
+
*/
|
|
1513
|
+
addWatermark?: boolean;
|
|
1514
|
+
}
|
|
1515
|
+
export interface GenerateVideoStepOutput {
|
|
1516
|
+
/** CDN URL of the generated video, or array of URLs when generating multiple variants */
|
|
1517
|
+
videoUrl: string | string[];
|
|
1518
|
+
}
|
|
1519
|
+
export interface GetGmailAttachmentsStepInput {
|
|
1520
|
+
/** Gmail message ID */
|
|
1521
|
+
messageId: string;
|
|
1522
|
+
/** Google OAuth connection ID */
|
|
1523
|
+
connectionId?: string;
|
|
1524
|
+
}
|
|
1525
|
+
export interface GetGmailAttachmentsStepOutput {
|
|
1526
|
+
/** List of attachments with CDN URLs */
|
|
1527
|
+
attachments: {
|
|
1528
|
+
filename: string;
|
|
1529
|
+
mimeType: string;
|
|
1530
|
+
size: number;
|
|
1531
|
+
url: string;
|
|
1532
|
+
}[];
|
|
1533
|
+
}
|
|
1534
|
+
export interface GetGmailDraftStepInput {
|
|
1535
|
+
/** Gmail draft ID to retrieve */
|
|
1536
|
+
draftId: string;
|
|
1537
|
+
/** Google OAuth connection ID */
|
|
1538
|
+
connectionId?: string;
|
|
1539
|
+
}
|
|
1540
|
+
export interface GetGmailDraftStepOutput {
|
|
1541
|
+
/** Gmail draft ID */
|
|
1542
|
+
draftId: string;
|
|
1543
|
+
/** Gmail message ID */
|
|
1544
|
+
messageId: string;
|
|
1545
|
+
/** Email subject */
|
|
1546
|
+
subject: string;
|
|
1547
|
+
/** Recipient email */
|
|
1548
|
+
to: string;
|
|
1549
|
+
/** Sender email */
|
|
1550
|
+
from: string;
|
|
1551
|
+
/** Draft body content */
|
|
1552
|
+
body: string;
|
|
1553
|
+
}
|
|
1554
|
+
export interface GetGmailEmailStepInput {
|
|
1555
|
+
/** Gmail message ID to retrieve */
|
|
1556
|
+
messageId: string;
|
|
1557
|
+
/** Google OAuth connection ID */
|
|
1558
|
+
connectionId?: string;
|
|
1559
|
+
}
|
|
1560
|
+
export interface GetGmailEmailStepOutput {
|
|
1561
|
+
/** Gmail message ID */
|
|
1562
|
+
messageId: string;
|
|
1563
|
+
/** Email subject */
|
|
1564
|
+
subject: string;
|
|
1565
|
+
/** Sender email */
|
|
1566
|
+
from: string;
|
|
1567
|
+
/** Recipient email */
|
|
1568
|
+
to: string;
|
|
1569
|
+
/** Email date */
|
|
1570
|
+
date: string;
|
|
1571
|
+
/** Email body content */
|
|
1572
|
+
body: string;
|
|
1573
|
+
/** Comma-separated label IDs */
|
|
1574
|
+
labels: string;
|
|
1575
|
+
}
|
|
1576
|
+
export interface GetGmailUnreadCountStepInput {
|
|
1577
|
+
/** Google OAuth connection ID */
|
|
1578
|
+
connectionId?: string;
|
|
1579
|
+
}
|
|
1580
|
+
export interface GetGmailUnreadCountStepOutput {
|
|
1581
|
+
/** Number of unread messages in the inbox */
|
|
1582
|
+
unreadCount: number;
|
|
1583
|
+
}
|
|
1584
|
+
export interface GetGoogleCalendarEventStepInput {
|
|
1585
|
+
/** Google OAuth connection ID */
|
|
1586
|
+
connectionId?: string;
|
|
1587
|
+
/** Google Calendar event ID to retrieve */
|
|
1588
|
+
eventId: string;
|
|
1589
|
+
/** Format for the variable output: "json" or "text" */
|
|
1590
|
+
exportType: "json" | "text";
|
|
1591
|
+
/** Calendar ID (defaults to "primary" if omitted) */
|
|
1592
|
+
calendarId?: string;
|
|
1593
|
+
}
|
|
1594
|
+
export interface GetGoogleCalendarEventStepOutput {
|
|
1595
|
+
/** The retrieved calendar event */
|
|
1596
|
+
event: {
|
|
1597
|
+
/** Google Calendar event ID */
|
|
1598
|
+
id?: string | null;
|
|
1599
|
+
/** Event status (e.g. "confirmed", "tentative", "cancelled") */
|
|
1600
|
+
status?: string | null;
|
|
1601
|
+
/** URL to view the event in Google Calendar */
|
|
1602
|
+
htmlLink?: string | null;
|
|
1603
|
+
/** Timestamp when the event was created */
|
|
1604
|
+
created?: string | null;
|
|
1605
|
+
/** Timestamp when the event was last updated */
|
|
1606
|
+
updated?: string | null;
|
|
1607
|
+
/** Event title */
|
|
1608
|
+
summary?: string | null;
|
|
1609
|
+
/** Event description */
|
|
1610
|
+
description?: string | null;
|
|
1611
|
+
/** Event location */
|
|
1612
|
+
location?: string | null;
|
|
1613
|
+
/** Event organizer */
|
|
1614
|
+
organizer?: {
|
|
1615
|
+
displayName?: string | null;
|
|
1616
|
+
email?: string | null;
|
|
1617
|
+
} | null;
|
|
1618
|
+
/** Event start time and timezone */
|
|
1619
|
+
start?: {
|
|
1620
|
+
dateTime?: string | null;
|
|
1621
|
+
timeZone?: string | null;
|
|
1622
|
+
} | null;
|
|
1623
|
+
/** Event end time and timezone */
|
|
1624
|
+
end?: {
|
|
1625
|
+
dateTime?: string | null;
|
|
1626
|
+
timeZone?: string | null;
|
|
1627
|
+
} | null;
|
|
1628
|
+
/** List of event attendees */
|
|
1629
|
+
attendees?: ({
|
|
1630
|
+
displayName?: string | null;
|
|
1631
|
+
email?: string | null;
|
|
1632
|
+
responseStatus?: string | null;
|
|
1633
|
+
})[] | null;
|
|
1634
|
+
};
|
|
1635
|
+
}
|
|
1636
|
+
export interface GetGoogleDriveFileStepInput {
|
|
1637
|
+
/** Google Drive file ID */
|
|
1638
|
+
fileId: string;
|
|
1639
|
+
/** Google OAuth connection ID */
|
|
1640
|
+
connectionId?: string;
|
|
1641
|
+
}
|
|
1642
|
+
export interface GetGoogleDriveFileStepOutput {
|
|
1643
|
+
/** CDN URL of the downloaded file */
|
|
1644
|
+
url: string;
|
|
1645
|
+
/** Original file name */
|
|
1646
|
+
name: string;
|
|
1647
|
+
/** File MIME type */
|
|
1648
|
+
mimeType: string;
|
|
1649
|
+
/** File size in bytes */
|
|
1650
|
+
size: number;
|
|
1651
|
+
}
|
|
1652
|
+
export interface GetGoogleSheetInfoStepInput {
|
|
1653
|
+
/** Google Spreadsheet ID or URL */
|
|
1654
|
+
documentId: string;
|
|
1655
|
+
/** Google OAuth connection ID */
|
|
1656
|
+
connectionId?: string;
|
|
1657
|
+
}
|
|
1658
|
+
export interface GetGoogleSheetInfoStepOutput {
|
|
1659
|
+
/** Spreadsheet title */
|
|
1660
|
+
title: string;
|
|
1661
|
+
/** List of sheets with their properties */
|
|
1662
|
+
sheets: {
|
|
1663
|
+
sheetId: number;
|
|
1664
|
+
title: string;
|
|
1665
|
+
rowCount: number;
|
|
1666
|
+
columnCount: number;
|
|
1667
|
+
}[];
|
|
1668
|
+
}
|
|
1669
|
+
export interface GetMediaMetadataStepInput {
|
|
1670
|
+
/** URL of the audio or video file to analyze */
|
|
1671
|
+
mediaUrl: string;
|
|
1672
|
+
}
|
|
1673
|
+
export interface GetMediaMetadataStepOutput {
|
|
1674
|
+
/** JSON string containing the media file metadata */
|
|
1675
|
+
metadata: string;
|
|
1676
|
+
}
|
|
1677
|
+
export interface HubspotCreateCompanyStepInput {
|
|
1678
|
+
/** HubSpot OAuth connection ID */
|
|
1679
|
+
connectionId?: string;
|
|
1680
|
+
/** Company data including domain, name, and additional properties */
|
|
1681
|
+
company: {
|
|
1682
|
+
/** Company domain, used for matching existing companies */
|
|
1683
|
+
domain: string;
|
|
1684
|
+
/** Company name */
|
|
1685
|
+
name: string;
|
|
1686
|
+
};
|
|
1687
|
+
/** HubSpot properties enabled for this step, used for type validation */
|
|
1688
|
+
enabledProperties: ({
|
|
1689
|
+
/** Display label for the HubSpot property */
|
|
1690
|
+
label: string;
|
|
1691
|
+
/** HubSpot property internal name */
|
|
1692
|
+
value: string;
|
|
1693
|
+
/** Data type of the property value */
|
|
1694
|
+
type: "string" | "number" | "bool";
|
|
1695
|
+
})[];
|
|
1696
|
+
}
|
|
1697
|
+
export interface HubspotCreateCompanyStepOutput {
|
|
1698
|
+
/** HubSpot company ID of the created or updated company */
|
|
1699
|
+
companyId: string;
|
|
1700
|
+
}
|
|
1701
|
+
export interface HubspotCreateContactStepInput {
|
|
1702
|
+
/** HubSpot OAuth connection ID */
|
|
1703
|
+
connectionId?: string;
|
|
1704
|
+
/** Contact data including email, first name, last name, and additional properties */
|
|
1705
|
+
contact: {
|
|
1706
|
+
/** Contact email address, used for matching existing contacts */
|
|
1707
|
+
email: string;
|
|
1708
|
+
/** Contact first name */
|
|
1709
|
+
firstname: string;
|
|
1710
|
+
/** Contact last name */
|
|
1711
|
+
lastname: string;
|
|
1712
|
+
};
|
|
1713
|
+
/** HubSpot properties enabled for this step, used for type validation */
|
|
1714
|
+
enabledProperties: ({
|
|
1715
|
+
/** Display label for the HubSpot property */
|
|
1716
|
+
label: string;
|
|
1717
|
+
/** HubSpot property internal name */
|
|
1718
|
+
value: string;
|
|
1719
|
+
/** Data type of the property value */
|
|
1720
|
+
type: "string" | "number" | "bool";
|
|
1721
|
+
})[];
|
|
1722
|
+
/** Company domain to associate the contact with. Creates the company if it does not exist */
|
|
1723
|
+
companyDomain: string;
|
|
1724
|
+
}
|
|
1725
|
+
export interface HubspotCreateContactStepOutput {
|
|
1726
|
+
/** HubSpot contact ID of the created or updated contact */
|
|
1727
|
+
contactId: string;
|
|
1728
|
+
}
|
|
1729
|
+
export interface HubspotGetCompanyStepInput {
|
|
1730
|
+
/** HubSpot OAuth connection ID */
|
|
1731
|
+
connectionId?: string;
|
|
1732
|
+
/** How to look up the company: by domain name or HubSpot company ID */
|
|
1733
|
+
searchBy: "domain" | "id";
|
|
1734
|
+
/** Domain to search by (used when searchBy is 'domain') */
|
|
1735
|
+
companyDomain: string;
|
|
1736
|
+
/** HubSpot company ID (used when searchBy is 'id') */
|
|
1737
|
+
companyId: string;
|
|
1738
|
+
/** Extra HubSpot property names to include in the response beyond the defaults */
|
|
1739
|
+
additionalProperties: string[];
|
|
1740
|
+
}
|
|
1741
|
+
export interface HubspotGetCompanyStepOutput {
|
|
1742
|
+
/** The retrieved HubSpot company, or null if not found */
|
|
1743
|
+
company: {
|
|
1744
|
+
id: string;
|
|
1745
|
+
properties: Record<string, unknown>;
|
|
1746
|
+
createdAt: string;
|
|
1747
|
+
updatedAt: string;
|
|
1748
|
+
archived: boolean;
|
|
1749
|
+
} | null;
|
|
1750
|
+
}
|
|
1751
|
+
export interface HubspotGetContactStepInput {
|
|
1752
|
+
/** HubSpot OAuth connection ID */
|
|
1753
|
+
connectionId?: string;
|
|
1754
|
+
/** How to look up the contact: by email address or HubSpot contact ID */
|
|
1755
|
+
searchBy: "email" | "id";
|
|
1756
|
+
/** Email address to search by (used when searchBy is 'email') */
|
|
1757
|
+
contactEmail: string;
|
|
1758
|
+
/** HubSpot contact ID (used when searchBy is 'id') */
|
|
1759
|
+
contactId: string;
|
|
1760
|
+
/** Extra HubSpot property names to include in the response beyond the defaults */
|
|
1761
|
+
additionalProperties: string[];
|
|
1762
|
+
}
|
|
1763
|
+
export interface HubspotGetContactStepOutput {
|
|
1764
|
+
/** The retrieved HubSpot contact, or null if not found */
|
|
1765
|
+
contact: {
|
|
1766
|
+
id: string;
|
|
1767
|
+
properties: Record<string, unknown>;
|
|
1768
|
+
createdAt: string;
|
|
1769
|
+
updatedAt: string;
|
|
1770
|
+
archived: boolean;
|
|
1771
|
+
} | null;
|
|
1772
|
+
}
|
|
1773
|
+
export interface HunterApiCompanyEnrichmentStepInput {
|
|
1774
|
+
/** Domain or URL to look up (e.g. "example.com") */
|
|
1775
|
+
domain: string;
|
|
1776
|
+
}
|
|
1777
|
+
export interface HunterApiCompanyEnrichmentStepOutput {
|
|
1778
|
+
/** Enriched company data, or null if the company was not found */
|
|
1779
|
+
data: {
|
|
1780
|
+
name: string;
|
|
1781
|
+
domain: string;
|
|
1782
|
+
description: string | null;
|
|
1783
|
+
country: string | null;
|
|
1784
|
+
state: string | null;
|
|
1785
|
+
city: string | null;
|
|
1786
|
+
industry: string | null;
|
|
1787
|
+
employees_range: string | null;
|
|
1788
|
+
logo_url: string | null;
|
|
1789
|
+
technologies: string[];
|
|
1790
|
+
} | null;
|
|
1791
|
+
}
|
|
1792
|
+
export interface HunterApiDomainSearchStepInput {
|
|
1793
|
+
/** Domain or URL to search for email addresses (e.g. "example.com") */
|
|
1794
|
+
domain: string;
|
|
1795
|
+
}
|
|
1796
|
+
export interface HunterApiDomainSearchStepOutput {
|
|
1797
|
+
/** Domain search results including emails and organization info */
|
|
1798
|
+
data: {
|
|
1799
|
+
/** The searched domain */
|
|
1800
|
+
domain: string;
|
|
1801
|
+
/** Whether the domain uses disposable email addresses */
|
|
1802
|
+
disposable: boolean;
|
|
1803
|
+
/** Whether the domain is a webmail provider */
|
|
1804
|
+
webmail: boolean;
|
|
1805
|
+
/** Whether the domain accepts all email addresses */
|
|
1806
|
+
accept_all: boolean;
|
|
1807
|
+
/** Common email pattern for the domain (e.g. "{first}.{last}") */
|
|
1808
|
+
pattern: string;
|
|
1809
|
+
/** Organization name associated with the domain */
|
|
1810
|
+
organization: string;
|
|
1811
|
+
/** Country of the organization */
|
|
1812
|
+
country: string | null;
|
|
1813
|
+
/** State or region of the organization */
|
|
1814
|
+
state: string | null;
|
|
1815
|
+
/** List of email addresses found for the domain */
|
|
1816
|
+
emails: ({
|
|
1817
|
+
/** Email address */
|
|
1818
|
+
value: string;
|
|
1819
|
+
/** Email type (e.g. "personal", "generic") */
|
|
1820
|
+
type: string;
|
|
1821
|
+
/** Confidence score (0-100) */
|
|
1822
|
+
confidence: number;
|
|
1823
|
+
/** Contact first name */
|
|
1824
|
+
first_name: string | null;
|
|
1825
|
+
/** Contact last name */
|
|
1826
|
+
last_name: string | null;
|
|
1827
|
+
/** Job title or position */
|
|
1828
|
+
position: string | null;
|
|
1829
|
+
/** Seniority level */
|
|
1830
|
+
seniority: string | null;
|
|
1831
|
+
/** Department within the organization */
|
|
1832
|
+
department: string | null;
|
|
1833
|
+
/** LinkedIn profile URL */
|
|
1834
|
+
linkedin: string | null;
|
|
1835
|
+
/** Twitter handle */
|
|
1836
|
+
twitter: string | null;
|
|
1837
|
+
/** Phone number */
|
|
1838
|
+
phone_number: string | null;
|
|
1839
|
+
})[];
|
|
1840
|
+
/** Other domains linked to this organization */
|
|
1841
|
+
linked_domains: string[];
|
|
1842
|
+
};
|
|
1843
|
+
}
|
|
1844
|
+
export interface HunterApiEmailFinderStepInput {
|
|
1845
|
+
/** Domain to search (e.g. "example.com"). Full URLs are also accepted */
|
|
1846
|
+
domain: string;
|
|
1847
|
+
/** Person's first name */
|
|
1848
|
+
firstName: string;
|
|
1849
|
+
/** Person's last name */
|
|
1850
|
+
lastName: string;
|
|
1851
|
+
}
|
|
1852
|
+
export interface HunterApiEmailFinderStepOutput {
|
|
1853
|
+
/** Email finder results including the found email and confidence score */
|
|
1854
|
+
data: {
|
|
1855
|
+
/** Person's first name */
|
|
1856
|
+
first_name: string;
|
|
1857
|
+
/** Person's last name */
|
|
1858
|
+
last_name: string;
|
|
1859
|
+
/** The found email address */
|
|
1860
|
+
email: string;
|
|
1861
|
+
/** Confidence score (0-100) */
|
|
1862
|
+
score: number;
|
|
1863
|
+
/** Domain searched */
|
|
1864
|
+
domain: string;
|
|
1865
|
+
/** Whether the domain accepts all email addresses */
|
|
1866
|
+
accept_all: boolean;
|
|
1867
|
+
/** Job title or position */
|
|
1868
|
+
position: string | null;
|
|
1869
|
+
/** Twitter handle */
|
|
1870
|
+
twitter: string | null;
|
|
1871
|
+
/** LinkedIn profile URL */
|
|
1872
|
+
linkedin_url: string | null;
|
|
1873
|
+
/** Phone number */
|
|
1874
|
+
phone_number: string | null;
|
|
1875
|
+
/** Company name */
|
|
1876
|
+
company: string | null;
|
|
1877
|
+
/** Sources where the email was found */
|
|
1878
|
+
sources: {
|
|
1879
|
+
/** Domain where the email was found */
|
|
1880
|
+
domain: string;
|
|
1881
|
+
/** URI of the page where the email was found */
|
|
1882
|
+
uri: string;
|
|
1883
|
+
/** Date when the email was extracted */
|
|
1884
|
+
extracted_on: string;
|
|
1885
|
+
}[];
|
|
1886
|
+
};
|
|
1887
|
+
}
|
|
1888
|
+
export interface HunterApiEmailVerificationStepInput {
|
|
1889
|
+
/** Email address to verify */
|
|
1890
|
+
email: string;
|
|
1891
|
+
}
|
|
1892
|
+
export interface HunterApiEmailVerificationStepOutput {
|
|
1893
|
+
/** Email verification results including status, deliverability, and confidence score */
|
|
1894
|
+
data: {
|
|
1895
|
+
/** Verification status (e.g. "valid", "invalid", "accept_all", "webmail", "disposable", "unknown") */
|
|
1896
|
+
status: string;
|
|
1897
|
+
/** Deliverability result */
|
|
1898
|
+
result: string;
|
|
1899
|
+
/** Confidence score (0-100) */
|
|
1900
|
+
score: number;
|
|
1901
|
+
/** The verified email address */
|
|
1902
|
+
email: string;
|
|
1903
|
+
/** Whether the email matches a valid format */
|
|
1904
|
+
regexp: boolean;
|
|
1905
|
+
/** Whether the email appears to be gibberish */
|
|
1906
|
+
gibberish: boolean;
|
|
1907
|
+
/** Whether the email uses a disposable email service */
|
|
1908
|
+
disposable: boolean;
|
|
1909
|
+
/** Whether the email is from a webmail provider */
|
|
1910
|
+
webmail: boolean;
|
|
1911
|
+
/** Whether MX records exist for the domain */
|
|
1912
|
+
mx_records: boolean;
|
|
1913
|
+
/** Whether the SMTP server is reachable */
|
|
1914
|
+
smtp_server: boolean;
|
|
1915
|
+
/** Whether the SMTP mailbox check passed */
|
|
1916
|
+
smtp_check: boolean;
|
|
1917
|
+
/** Whether the domain accepts all email addresses */
|
|
1918
|
+
accept_all: boolean;
|
|
1919
|
+
/** Whether the email is blocked */
|
|
1920
|
+
block: boolean;
|
|
1921
|
+
/** Sources where the email was found */
|
|
1922
|
+
sources: {
|
|
1923
|
+
/** Domain where the email was found */
|
|
1924
|
+
domain: string;
|
|
1925
|
+
/** URI of the page where the email was found */
|
|
1926
|
+
uri: string;
|
|
1927
|
+
/** Date when the email was extracted */
|
|
1928
|
+
extracted_on: string;
|
|
1929
|
+
}[];
|
|
1930
|
+
};
|
|
1931
|
+
}
|
|
1932
|
+
export interface HunterApiPersonEnrichmentStepInput {
|
|
1933
|
+
/** Email address to look up */
|
|
1934
|
+
email: string;
|
|
1935
|
+
}
|
|
1936
|
+
export interface HunterApiPersonEnrichmentStepOutput {
|
|
1937
|
+
/** Enriched person data, or an error object if the person was not found */
|
|
1938
|
+
data: {
|
|
1939
|
+
first_name: string;
|
|
1940
|
+
last_name: string;
|
|
1941
|
+
email: string;
|
|
1942
|
+
position: string | null;
|
|
1943
|
+
seniority: string | null;
|
|
1944
|
+
department: string | null;
|
|
1945
|
+
linkedin_url: string | null;
|
|
1946
|
+
twitter: string | null;
|
|
1947
|
+
phone_number: string | null;
|
|
1948
|
+
company: {
|
|
1949
|
+
name: string;
|
|
1950
|
+
domain: string;
|
|
1951
|
+
industry: string | null;
|
|
1952
|
+
} | null;
|
|
1953
|
+
} | {
|
|
1954
|
+
error: string;
|
|
1955
|
+
};
|
|
1956
|
+
}
|
|
1957
|
+
export interface ImageFaceSwapStepInput {
|
|
1958
|
+
/** URL of the target image containing the face to replace */
|
|
1959
|
+
imageUrl: string;
|
|
1960
|
+
/** URL of the image containing the replacement face */
|
|
1961
|
+
faceImageUrl: string;
|
|
1962
|
+
/** Face swap engine to use */
|
|
1963
|
+
engine: string;
|
|
1964
|
+
}
|
|
1965
|
+
export interface ImageFaceSwapStepOutput {
|
|
1966
|
+
/** CDN URL of the face-swapped image (PNG) */
|
|
1967
|
+
imageUrl: string;
|
|
1968
|
+
}
|
|
1969
|
+
export interface ImageRemoveWatermarkStepInput {
|
|
1970
|
+
/** URL of the image to remove the watermark from */
|
|
1971
|
+
imageUrl: string;
|
|
1972
|
+
/** Watermark removal engine to use */
|
|
1973
|
+
engine: string;
|
|
1974
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
1975
|
+
intermediateAsset?: boolean;
|
|
1976
|
+
}
|
|
1977
|
+
export interface ImageRemoveWatermarkStepOutput {
|
|
1978
|
+
/** CDN URL of the processed image with watermark removed (PNG) */
|
|
1979
|
+
imageUrl: string;
|
|
1980
|
+
}
|
|
1981
|
+
export interface ImportFromUrlStepInput {
|
|
1982
|
+
/** A direct link to the file */
|
|
1983
|
+
url: string;
|
|
1984
|
+
/** The type to store it as; the response's own when omitted */
|
|
1985
|
+
contentType?: string;
|
|
1986
|
+
}
|
|
1987
|
+
export interface ImportFromUrlStepOutput {
|
|
1988
|
+
/** The stored file's stable on-domain URL */
|
|
1989
|
+
fileUrl: string;
|
|
1990
|
+
/** The stored file's key in its store */
|
|
1991
|
+
key: string;
|
|
1992
|
+
/** Its size in bytes */
|
|
1993
|
+
size: number;
|
|
1994
|
+
/** The type it was stored as */
|
|
1995
|
+
contentType: string;
|
|
1996
|
+
}
|
|
1997
|
+
export interface InsertVideoClipsStepInput {
|
|
1998
|
+
/** URL of the base video to insert clips into */
|
|
1999
|
+
baseVideoUrl: string;
|
|
2000
|
+
/** Array of overlay clips to insert at specified timecodes */
|
|
2001
|
+
overlayVideos: {
|
|
2002
|
+
/** URL of the overlay video clip */
|
|
2003
|
+
videoUrl: string;
|
|
2004
|
+
/** Timecode in seconds at which to insert this clip */
|
|
2005
|
+
startTimeSec: number;
|
|
2006
|
+
}[];
|
|
2007
|
+
/** Optional xfade transition effect name between clips */
|
|
2008
|
+
transition?: string;
|
|
2009
|
+
/** Duration of the transition in seconds */
|
|
2010
|
+
transitionDuration?: number;
|
|
2011
|
+
/** When true, uses audio from the overlay clips instead of the base video audio during inserts */
|
|
2012
|
+
useOverlayAudio?: boolean;
|
|
2013
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
2014
|
+
intermediateAsset?: boolean;
|
|
2015
|
+
}
|
|
2016
|
+
export interface InsertVideoClipsStepOutput {
|
|
2017
|
+
/** URL of the video with clips inserted */
|
|
2018
|
+
videoUrl: string;
|
|
2019
|
+
}
|
|
2020
|
+
export type ListDataSourcesStepInput = Record<string, unknown>;
|
|
2021
|
+
export interface ListDataSourcesStepOutput {
|
|
2022
|
+
/** All data sources for the current app version */
|
|
2023
|
+
dataSources: ({
|
|
2024
|
+
id: string;
|
|
2025
|
+
name: string;
|
|
2026
|
+
description: string;
|
|
2027
|
+
/** One of: `loaded`, `hibernating`. */
|
|
2028
|
+
status: "loaded" | "hibernating";
|
|
2029
|
+
dateCreated: string;
|
|
2030
|
+
documents: ({
|
|
2031
|
+
id: string;
|
|
2032
|
+
name: string;
|
|
2033
|
+
/** One of: `processing`, `done`, `error`. */
|
|
2034
|
+
status: "processing" | "done" | "error";
|
|
2035
|
+
numWords?: number;
|
|
2036
|
+
dateUploaded: string;
|
|
2037
|
+
})[];
|
|
2038
|
+
})[];
|
|
2039
|
+
}
|
|
2040
|
+
export interface ListGmailDraftsStepInput {
|
|
2041
|
+
/** Google OAuth connection ID */
|
|
2042
|
+
connectionId?: string;
|
|
2043
|
+
/** Max drafts to return (default: 10, max: 50) */
|
|
2044
|
+
limit?: string;
|
|
2045
|
+
/** Format for the variable output: "json" or "text" */
|
|
2046
|
+
exportType: "json" | "text";
|
|
2047
|
+
}
|
|
2048
|
+
export interface ListGmailDraftsStepOutput {
|
|
2049
|
+
/** List of draft summaries */
|
|
2050
|
+
drafts: {
|
|
2051
|
+
/** Gmail draft ID */
|
|
2052
|
+
draftId: string;
|
|
2053
|
+
/** Gmail message ID */
|
|
2054
|
+
messageId: string;
|
|
2055
|
+
/** Email subject */
|
|
2056
|
+
subject: string;
|
|
2057
|
+
/** Recipient email */
|
|
2058
|
+
to: string;
|
|
2059
|
+
/** Short preview text */
|
|
2060
|
+
snippet: string;
|
|
2061
|
+
}[];
|
|
2062
|
+
}
|
|
2063
|
+
export interface ListGmailLabelsStepInput {
|
|
2064
|
+
/** Google OAuth connection ID */
|
|
2065
|
+
connectionId?: string;
|
|
2066
|
+
}
|
|
2067
|
+
export interface ListGmailLabelsStepOutput {
|
|
2068
|
+
/** List of Gmail labels */
|
|
2069
|
+
labels: {
|
|
2070
|
+
id: string;
|
|
2071
|
+
name: string;
|
|
2072
|
+
type: string;
|
|
2073
|
+
}[];
|
|
2074
|
+
}
|
|
2075
|
+
export interface ListGoogleCalendarEventsStepInput {
|
|
2076
|
+
/** Google OAuth connection ID */
|
|
2077
|
+
connectionId?: string;
|
|
2078
|
+
/** Maximum number of events to return (default: 10) */
|
|
2079
|
+
limit: number;
|
|
2080
|
+
/** Format for the variable output: "json" or "text" */
|
|
2081
|
+
exportType: "json" | "text";
|
|
2082
|
+
/** Calendar ID (defaults to "primary" if omitted) */
|
|
2083
|
+
calendarId?: string;
|
|
2084
|
+
}
|
|
2085
|
+
export interface ListGoogleCalendarEventsStepOutput {
|
|
2086
|
+
/** List of upcoming calendar events ordered by start time */
|
|
2087
|
+
events: ({
|
|
2088
|
+
/** Google Calendar event ID */
|
|
2089
|
+
id?: string | null;
|
|
2090
|
+
/** Event status (e.g. "confirmed", "tentative", "cancelled") */
|
|
2091
|
+
status?: string | null;
|
|
2092
|
+
/** URL to view the event in Google Calendar */
|
|
2093
|
+
htmlLink?: string | null;
|
|
2094
|
+
/** Timestamp when the event was created */
|
|
2095
|
+
created?: string | null;
|
|
2096
|
+
/** Timestamp when the event was last updated */
|
|
2097
|
+
updated?: string | null;
|
|
2098
|
+
/** Event title */
|
|
2099
|
+
summary?: string | null;
|
|
2100
|
+
/** Event description */
|
|
2101
|
+
description?: string | null;
|
|
2102
|
+
/** Event location */
|
|
2103
|
+
location?: string | null;
|
|
2104
|
+
/** Event organizer */
|
|
2105
|
+
organizer?: {
|
|
2106
|
+
displayName?: string | null;
|
|
2107
|
+
email?: string | null;
|
|
2108
|
+
} | null;
|
|
2109
|
+
/** Event start time and timezone */
|
|
2110
|
+
start?: {
|
|
2111
|
+
dateTime?: string | null;
|
|
2112
|
+
timeZone?: string | null;
|
|
2113
|
+
} | null;
|
|
2114
|
+
/** Event end time and timezone */
|
|
2115
|
+
end?: {
|
|
2116
|
+
dateTime?: string | null;
|
|
2117
|
+
timeZone?: string | null;
|
|
2118
|
+
} | null;
|
|
2119
|
+
/** List of event attendees */
|
|
2120
|
+
attendees?: ({
|
|
2121
|
+
displayName?: string | null;
|
|
2122
|
+
email?: string | null;
|
|
2123
|
+
responseStatus?: string | null;
|
|
2124
|
+
})[] | null;
|
|
2125
|
+
})[];
|
|
2126
|
+
}
|
|
2127
|
+
export interface ListGoogleDriveFilesStepInput {
|
|
2128
|
+
/** Google Drive folder ID (defaults to root) */
|
|
2129
|
+
folderId?: string;
|
|
2130
|
+
/** Max files to return (default: 20) */
|
|
2131
|
+
limit?: number;
|
|
2132
|
+
/** Google OAuth connection ID */
|
|
2133
|
+
connectionId?: string;
|
|
2134
|
+
/** Format for the variable output: "json" or "text" */
|
|
2135
|
+
exportType: "json" | "text";
|
|
2136
|
+
}
|
|
2137
|
+
export interface ListGoogleDriveFilesStepOutput {
|
|
2138
|
+
/** List of files in the folder */
|
|
2139
|
+
files: {
|
|
2140
|
+
id: string;
|
|
2141
|
+
name: string;
|
|
2142
|
+
mimeType: string;
|
|
2143
|
+
size: string;
|
|
2144
|
+
webViewLink: string;
|
|
2145
|
+
createdTime: string;
|
|
2146
|
+
modifiedTime: string;
|
|
2147
|
+
}[];
|
|
2148
|
+
}
|
|
2149
|
+
export interface ListRecentGmailEmailsStepInput {
|
|
2150
|
+
/** Google OAuth connection ID */
|
|
2151
|
+
connectionId?: string;
|
|
2152
|
+
/** Format for the variable output: "json" or "text" */
|
|
2153
|
+
exportType: "json" | "text";
|
|
2154
|
+
/** Maximum number of emails to return (1-100, default: 5) */
|
|
2155
|
+
limit: string;
|
|
2156
|
+
}
|
|
2157
|
+
export interface ListRecentGmailEmailsStepOutput {
|
|
2158
|
+
/** List of recent email messages */
|
|
2159
|
+
emails: {
|
|
2160
|
+
/** Gmail message ID */
|
|
2161
|
+
id: string;
|
|
2162
|
+
/** Email subject line */
|
|
2163
|
+
subject: string;
|
|
2164
|
+
/** Sender email address */
|
|
2165
|
+
from: string;
|
|
2166
|
+
/** Recipient email address */
|
|
2167
|
+
to: string;
|
|
2168
|
+
/** Email date */
|
|
2169
|
+
date: string;
|
|
2170
|
+
/** Plain text body content */
|
|
2171
|
+
plainBody: string;
|
|
2172
|
+
/** HTML body content (if available) */
|
|
2173
|
+
htmlBody: string;
|
|
2174
|
+
/** Comma-separated label IDs applied to the email */
|
|
2175
|
+
labels: string;
|
|
2176
|
+
}[];
|
|
2177
|
+
}
|
|
2178
|
+
export interface LogicStepInput {
|
|
2179
|
+
/** Evaluation mode: 'ai' for LLM-based, 'comparison' for operator-based. Default: 'ai' */
|
|
2180
|
+
mode?: "ai" | "comparison";
|
|
2181
|
+
/** AI mode: prompt context. Comparison mode: left operand (resolved via variables). */
|
|
2182
|
+
context: string;
|
|
2183
|
+
/** List of conditions to evaluate (objects for managed UIs, strings for code) */
|
|
2184
|
+
cases: ({
|
|
2185
|
+
/** Unique case identifier */
|
|
2186
|
+
id: string;
|
|
2187
|
+
/** AI mode: statement to evaluate. Comparison mode: right operand value. */
|
|
2188
|
+
condition: string;
|
|
2189
|
+
/** Comparison operator (comparison mode only) */
|
|
2190
|
+
operator?: "eq" | "neq" | "gt" | "lt" | "gte" | "lte" | "exists" | "not_exists" | "contains" | "not_contains" | "default";
|
|
2191
|
+
/** Step to transition to if this case wins (workflow mode only) */
|
|
2192
|
+
destinationStepId?: string;
|
|
2193
|
+
/** Workflow to jump to if this case wins (uses that workflow's initial step) */
|
|
2194
|
+
destinationWorkflowId?: string;
|
|
2195
|
+
} | string)[];
|
|
2196
|
+
/** Optional model settings override; uses the organization default if not specified (AI mode only) */
|
|
2197
|
+
modelOverride?: {
|
|
2198
|
+
/** Model identifier (e.g. "gpt-4", "claude-3-opus") */
|
|
2199
|
+
model: string;
|
|
2200
|
+
/** Sampling temperature for the model (0-2) */
|
|
2201
|
+
temperature: number;
|
|
2202
|
+
/** Maximum number of tokens in the model's response */
|
|
2203
|
+
maxResponseTokens: number;
|
|
2204
|
+
/** Whether to skip the system preamble/instructions */
|
|
2205
|
+
ignorePreamble?: boolean;
|
|
2206
|
+
/** Preprocessor applied to user messages before sending to the model */
|
|
2207
|
+
userMessagePreprocessor?: {
|
|
2208
|
+
/** Data source identifier for the preprocessor */
|
|
2209
|
+
dataSource?: string;
|
|
2210
|
+
/** Template string applied to user messages before sending to the model */
|
|
2211
|
+
messageTemplate?: string;
|
|
2212
|
+
/** Maximum number of results to include from the data source */
|
|
2213
|
+
maxResults?: number;
|
|
2214
|
+
/** Whether the preprocessor is active */
|
|
2215
|
+
enabled?: boolean;
|
|
2216
|
+
/** Whether child steps should inherit this preprocessor configuration */
|
|
2217
|
+
shouldInherit?: boolean;
|
|
2218
|
+
};
|
|
2219
|
+
/** System preamble/instructions for the model */
|
|
2220
|
+
preamble?: string;
|
|
2221
|
+
/** Whether multi-model candidate generation is enabled */
|
|
2222
|
+
multiModelEnabled?: boolean;
|
|
2223
|
+
/** Whether the user can edit the model's response */
|
|
2224
|
+
editResponseEnabled?: boolean;
|
|
2225
|
+
/** Prompt caching, on models that bill cache writes. Absent: cached where something reads it back (the later steps of a run, a chat). `false` turns it off, for a single call such as a daily scheduled run. `true` caches even a single call, for a prompt resent unchanged within minutes. */
|
|
2226
|
+
promptCaching?: boolean;
|
|
2227
|
+
/** Additional model-specific configuration */
|
|
2228
|
+
config?: Record<string, unknown>;
|
|
2229
|
+
};
|
|
2230
|
+
}
|
|
2231
|
+
export interface LogicStepOutput {
|
|
2232
|
+
/** The index of the winning case */
|
|
2233
|
+
selectedCase: number;
|
|
2234
|
+
}
|
|
2235
|
+
export interface MakeDotComRunScenarioStepInput {
|
|
2236
|
+
/** Make.com webhook URL for the scenario */
|
|
2237
|
+
webhookUrl: string;
|
|
2238
|
+
/** Key-value pairs to send as the JSON POST body */
|
|
2239
|
+
input: Record<string, unknown>;
|
|
2240
|
+
}
|
|
2241
|
+
export interface MakeDotComRunScenarioStepOutput {
|
|
2242
|
+
/** Response from the Make.com scenario (JSON or string depending on scenario configuration) */
|
|
2243
|
+
data: unknown;
|
|
2244
|
+
}
|
|
2245
|
+
export interface MergeAudioStepInput {
|
|
2246
|
+
/** URLs of the MP3 audio clips to merge in order */
|
|
2247
|
+
mp3Urls: string[];
|
|
2248
|
+
/** FFmpeg MP3 metadata key-value pairs to embed in the output file */
|
|
2249
|
+
fileMetadata?: Record<string, unknown>;
|
|
2250
|
+
/** URL of an image to embed as album art in the output file */
|
|
2251
|
+
albumArtUrl?: string;
|
|
2252
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
2253
|
+
intermediateAsset?: boolean;
|
|
2254
|
+
}
|
|
2255
|
+
export interface MergeAudioStepOutput {
|
|
2256
|
+
/** URL of the merged audio file */
|
|
2257
|
+
audioUrl: string;
|
|
2258
|
+
}
|
|
2259
|
+
export interface MergeVideosStepInput {
|
|
2260
|
+
/** URLs of the video clips to merge in order */
|
|
2261
|
+
videoUrls: string[];
|
|
2262
|
+
/** Optional xfade transition effect name */
|
|
2263
|
+
transition?: string;
|
|
2264
|
+
/** Duration of the transition in seconds */
|
|
2265
|
+
transitionDuration?: number;
|
|
2266
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
2267
|
+
intermediateAsset?: boolean;
|
|
2268
|
+
}
|
|
2269
|
+
export interface MergeVideosStepOutput {
|
|
2270
|
+
/** URL of the merged video */
|
|
2271
|
+
videoUrl: string;
|
|
2272
|
+
}
|
|
2273
|
+
export interface MeshyAnimateStepInput {
|
|
2274
|
+
/** ID of a completed Meshy rigging task */
|
|
2275
|
+
rigTaskId: string;
|
|
2276
|
+
/** Animation action ID from the Meshy animation library */
|
|
2277
|
+
actionId: number;
|
|
2278
|
+
}
|
|
2279
|
+
export interface MeshyAnimateStepOutput {
|
|
2280
|
+
glbUrl: string;
|
|
2281
|
+
fbxUrl?: string;
|
|
2282
|
+
objUrl?: string;
|
|
2283
|
+
usdzUrl?: string;
|
|
2284
|
+
thumbnailUrl?: string;
|
|
2285
|
+
textureUrls?: Record<string, unknown>[];
|
|
2286
|
+
animations?: {
|
|
2287
|
+
name: string;
|
|
2288
|
+
glbUrl?: string;
|
|
2289
|
+
fbxUrl?: string;
|
|
2290
|
+
}[];
|
|
2291
|
+
providerTaskId?: string;
|
|
2292
|
+
}
|
|
2293
|
+
export interface MeshyImageTo3dStepInput {
|
|
2294
|
+
/** 1-4 image URLs depicting the same object from different angles */
|
|
2295
|
+
imageUrls: string[];
|
|
2296
|
+
/** Whether to generate textures (default true) */
|
|
2297
|
+
shouldTexture?: boolean;
|
|
2298
|
+
/** "triangle" (default) or "quad" */
|
|
2299
|
+
topology?: string;
|
|
2300
|
+
/** Target polygon count (default 30000, range 100-300000) */
|
|
2301
|
+
targetPolycount?: number;
|
|
2302
|
+
/** Symmetry mode: "auto" (default), "off", or "on" */
|
|
2303
|
+
symmetryMode?: string;
|
|
2304
|
+
/** Pose mode: "a-pose", "t-pose", or "" (default, no specific pose) */
|
|
2305
|
+
poseMode?: string;
|
|
2306
|
+
/** 2D image URL to guide the texturing process (.jpg, .jpeg, .png) */
|
|
2307
|
+
textureImageUrl?: string;
|
|
2308
|
+
}
|
|
2309
|
+
export interface MeshyImageTo3dStepOutput {
|
|
2310
|
+
glbUrl: string;
|
|
2311
|
+
fbxUrl?: string;
|
|
2312
|
+
objUrl?: string;
|
|
2313
|
+
usdzUrl?: string;
|
|
2314
|
+
thumbnailUrl?: string;
|
|
2315
|
+
textureUrls?: Record<string, unknown>[];
|
|
2316
|
+
animations?: {
|
|
2317
|
+
name: string;
|
|
2318
|
+
glbUrl?: string;
|
|
2319
|
+
fbxUrl?: string;
|
|
2320
|
+
}[];
|
|
2321
|
+
providerTaskId?: string;
|
|
2322
|
+
}
|
|
2323
|
+
export interface MeshyRemeshStepInput {
|
|
2324
|
+
/** ID of a completed Meshy task to remesh */
|
|
2325
|
+
inputTaskId?: string;
|
|
2326
|
+
/** URL to a 3D model file (.glb, .fbx, .obj, .stl) */
|
|
2327
|
+
modelUrl?: string;
|
|
2328
|
+
/** Topology: "triangle" (default) or "quad" */
|
|
2329
|
+
topology?: string;
|
|
2330
|
+
/** Target polygon count (default 30000, range 100-300000) */
|
|
2331
|
+
targetPolycount?: number;
|
|
2332
|
+
/** Resize model to this height in meters (0 or omitted = no resize) */
|
|
2333
|
+
resizeHeight?: number;
|
|
2334
|
+
}
|
|
2335
|
+
export interface MeshyRemeshStepOutput {
|
|
2336
|
+
glbUrl: string;
|
|
2337
|
+
fbxUrl?: string;
|
|
2338
|
+
objUrl?: string;
|
|
2339
|
+
usdzUrl?: string;
|
|
2340
|
+
thumbnailUrl?: string;
|
|
2341
|
+
textureUrls?: Record<string, unknown>[];
|
|
2342
|
+
animations?: {
|
|
2343
|
+
name: string;
|
|
2344
|
+
glbUrl?: string;
|
|
2345
|
+
fbxUrl?: string;
|
|
2346
|
+
}[];
|
|
2347
|
+
providerTaskId?: string;
|
|
2348
|
+
}
|
|
2349
|
+
export interface MeshyRigStepInput {
|
|
2350
|
+
/** ID of a completed Meshy task to rig */
|
|
2351
|
+
inputTaskId?: string;
|
|
2352
|
+
/** URL to a textured humanoid GLB file (preferred over inputTaskId) */
|
|
2353
|
+
modelUrl?: string;
|
|
2354
|
+
/** Approximate character height in meters (default 1.7) */
|
|
2355
|
+
heightMeters?: number;
|
|
2356
|
+
}
|
|
2357
|
+
export interface MeshyRigStepOutput {
|
|
2358
|
+
glbUrl: string;
|
|
2359
|
+
fbxUrl?: string;
|
|
2360
|
+
objUrl?: string;
|
|
2361
|
+
usdzUrl?: string;
|
|
2362
|
+
thumbnailUrl?: string;
|
|
2363
|
+
textureUrls?: Record<string, unknown>[];
|
|
2364
|
+
animations?: {
|
|
2365
|
+
name: string;
|
|
2366
|
+
glbUrl?: string;
|
|
2367
|
+
fbxUrl?: string;
|
|
2368
|
+
}[];
|
|
2369
|
+
providerTaskId?: string;
|
|
2370
|
+
}
|
|
2371
|
+
export interface MeshyTextTo3dStepInput {
|
|
2372
|
+
/** Description of the 3D model to generate (max 600 characters) */
|
|
2373
|
+
prompt: string;
|
|
2374
|
+
/** "standard" (default) or "smart-topology", clean low-poly geometry (target_polycount 100-15000). "lowpoly", which Meshy retires on 2026-10-30, runs as smart-topology. */
|
|
2375
|
+
modelType?: string;
|
|
2376
|
+
/** "triangle" (default) or "quad" */
|
|
2377
|
+
topology?: string;
|
|
2378
|
+
/** Target polygon count (default 30000, range 100-300000) */
|
|
2379
|
+
targetPolycount?: number;
|
|
2380
|
+
/** Symmetry mode: "auto" (default), "off", or "on" */
|
|
2381
|
+
symmetryMode?: string;
|
|
2382
|
+
/** Pose mode: "a-pose", "t-pose", or "" (default, no specific pose) */
|
|
2383
|
+
poseMode?: string;
|
|
2384
|
+
}
|
|
2385
|
+
export interface MeshyTextTo3dStepOutput {
|
|
2386
|
+
glbUrl: string;
|
|
2387
|
+
fbxUrl?: string;
|
|
2388
|
+
objUrl?: string;
|
|
2389
|
+
usdzUrl?: string;
|
|
2390
|
+
thumbnailUrl?: string;
|
|
2391
|
+
textureUrls?: Record<string, unknown>[];
|
|
2392
|
+
animations?: {
|
|
2393
|
+
name: string;
|
|
2394
|
+
glbUrl?: string;
|
|
2395
|
+
fbxUrl?: string;
|
|
2396
|
+
}[];
|
|
2397
|
+
providerTaskId?: string;
|
|
2398
|
+
}
|
|
2399
|
+
export interface MeshyTextureStepInput {
|
|
2400
|
+
/** ID of a completed Meshy task to texture */
|
|
2401
|
+
inputTaskId?: string;
|
|
2402
|
+
/** URL to a 3D model file (.glb, .gltf, .obj, .fbx, .stl) */
|
|
2403
|
+
modelUrl?: string;
|
|
2404
|
+
/** Text description of desired texture style (max 600 characters) */
|
|
2405
|
+
textStylePrompt?: string;
|
|
2406
|
+
/** 2D image URL to guide texturing (.jpg, .jpeg, .png) */
|
|
2407
|
+
imageStyleUrl?: string;
|
|
2408
|
+
/** Preserve original UV mapping (default true) */
|
|
2409
|
+
enableOriginalUv?: boolean;
|
|
2410
|
+
/** Generate PBR maps (metallic, roughness, normal). Default false. */
|
|
2411
|
+
enablePbr?: boolean;
|
|
2412
|
+
}
|
|
2413
|
+
export interface MeshyTextureStepOutput {
|
|
2414
|
+
glbUrl: string;
|
|
2415
|
+
fbxUrl?: string;
|
|
2416
|
+
objUrl?: string;
|
|
2417
|
+
usdzUrl?: string;
|
|
2418
|
+
thumbnailUrl?: string;
|
|
2419
|
+
textureUrls?: Record<string, unknown>[];
|
|
2420
|
+
animations?: {
|
|
2421
|
+
name: string;
|
|
2422
|
+
glbUrl?: string;
|
|
2423
|
+
fbxUrl?: string;
|
|
2424
|
+
}[];
|
|
2425
|
+
providerTaskId?: string;
|
|
2426
|
+
}
|
|
2427
|
+
export interface MixAudioIntoVideoStepInput {
|
|
2428
|
+
/** URL of the source video */
|
|
2429
|
+
videoUrl: string;
|
|
2430
|
+
/** URL of the audio track to mix into the video */
|
|
2431
|
+
audioUrl: string;
|
|
2432
|
+
/** Audio mixing options */
|
|
2433
|
+
options: {
|
|
2434
|
+
/** When true, preserves the original video audio alongside the new track. Defaults to false. */
|
|
2435
|
+
keepVideoAudio?: boolean;
|
|
2436
|
+
/** Volume adjustment for the new audio track in decibels. Defaults to 0. */
|
|
2437
|
+
audioGainDb?: number;
|
|
2438
|
+
/** Volume adjustment for the existing video audio in decibels. Defaults to 0. */
|
|
2439
|
+
videoGainDb?: number;
|
|
2440
|
+
/** When true, loops the audio track to match the video duration. Defaults to false. */
|
|
2441
|
+
loopAudio?: boolean;
|
|
2442
|
+
};
|
|
2443
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
2444
|
+
intermediateAsset?: boolean;
|
|
2445
|
+
}
|
|
2446
|
+
export interface MixAudioIntoVideoStepOutput {
|
|
2447
|
+
/** URL of the video with the mixed audio track */
|
|
2448
|
+
videoUrl: string;
|
|
2449
|
+
}
|
|
2450
|
+
export interface MuteVideoStepInput {
|
|
2451
|
+
/** URL of the source video to mute */
|
|
2452
|
+
videoUrl: string;
|
|
2453
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
2454
|
+
intermediateAsset?: boolean;
|
|
2455
|
+
}
|
|
2456
|
+
export interface MuteVideoStepOutput {
|
|
2457
|
+
/** URL of the muted video */
|
|
2458
|
+
videoUrl: string;
|
|
2459
|
+
}
|
|
2460
|
+
export interface N8nRunNodeStepInput {
|
|
2461
|
+
/** HTTP method to use (GET or POST) */
|
|
2462
|
+
method: string;
|
|
2463
|
+
/** Authentication type for the webhook request */
|
|
2464
|
+
authentication: "none" | "basic" | "string";
|
|
2465
|
+
/** Username for Basic authentication */
|
|
2466
|
+
user: string;
|
|
2467
|
+
/** Password for Basic authentication */
|
|
2468
|
+
password: string;
|
|
2469
|
+
/** n8n webhook URL for the workflow node */
|
|
2470
|
+
webhookUrl: string;
|
|
2471
|
+
/** Key-value pairs sent as query params (GET) or JSON body (POST) */
|
|
2472
|
+
input: Record<string, unknown>;
|
|
2473
|
+
}
|
|
2474
|
+
export interface N8nRunNodeStepOutput {
|
|
2475
|
+
/** Response from the n8n node (JSON or string depending on node configuration) */
|
|
2476
|
+
data: unknown;
|
|
2477
|
+
}
|
|
2478
|
+
export interface NotionCreatePageStepInput {
|
|
2479
|
+
/** Parent page ID to create the new page under */
|
|
2480
|
+
pageId: string;
|
|
2481
|
+
/** Page content in markdown format */
|
|
2482
|
+
content: string;
|
|
2483
|
+
/** Page title */
|
|
2484
|
+
title: string;
|
|
2485
|
+
/** Notion OAuth connection ID */
|
|
2486
|
+
connectionId?: string;
|
|
2487
|
+
}
|
|
2488
|
+
export interface NotionCreatePageStepOutput {
|
|
2489
|
+
/** Notion page ID of the created page */
|
|
2490
|
+
pageId: string;
|
|
2491
|
+
/** URL to view the page in Notion */
|
|
2492
|
+
pageUrl: string;
|
|
2493
|
+
}
|
|
2494
|
+
export interface NotionUpdatePageStepInput {
|
|
2495
|
+
/** Notion page ID to update */
|
|
2496
|
+
pageId: string;
|
|
2497
|
+
/** New content in markdown format */
|
|
2498
|
+
content: string;
|
|
2499
|
+
/** How to apply the content: 'append' adds to end, 'overwrite' replaces all existing content */
|
|
2500
|
+
mode: "append" | "overwrite";
|
|
2501
|
+
/** Notion OAuth connection ID */
|
|
2502
|
+
connectionId?: string;
|
|
2503
|
+
}
|
|
2504
|
+
export interface NotionUpdatePageStepOutput {
|
|
2505
|
+
/** Notion page ID of the updated page */
|
|
2506
|
+
pageId: string;
|
|
2507
|
+
/** URL to view the page in Notion */
|
|
2508
|
+
pageUrl: string;
|
|
2509
|
+
}
|
|
2510
|
+
export interface PeopleSearchStepInput {
|
|
2511
|
+
/** Natural language search query (e.g. "marketing directors at SaaS companies in NYC") */
|
|
2512
|
+
smartQuery: string;
|
|
2513
|
+
/** Whether to enrich each result with full contact details */
|
|
2514
|
+
enrichPeople: boolean;
|
|
2515
|
+
/** Whether to enrich each result with full company details */
|
|
2516
|
+
enrichOrganizations: boolean;
|
|
2517
|
+
/** Maximum number of results to return */
|
|
2518
|
+
limit: string;
|
|
2519
|
+
/** Page number for pagination */
|
|
2520
|
+
page: string;
|
|
2521
|
+
/** Advanced search filter parameters */
|
|
2522
|
+
params: {
|
|
2523
|
+
/** Job titles to search for (comma-separated) */
|
|
2524
|
+
personTitles: string;
|
|
2525
|
+
/** Whether to include similar/related job titles */
|
|
2526
|
+
includeSimilarTitles: string;
|
|
2527
|
+
/** Keywords to search for in person profiles */
|
|
2528
|
+
qKeywords: string;
|
|
2529
|
+
/** Geographic locations of people (comma-separated) */
|
|
2530
|
+
personLocations: string;
|
|
2531
|
+
/** Seniority levels to filter by (comma-separated) */
|
|
2532
|
+
personSeniorities: string;
|
|
2533
|
+
/** Geographic locations of organizations (comma-separated) */
|
|
2534
|
+
organizationLocations: string;
|
|
2535
|
+
/** Organization domains to filter by (comma-separated) */
|
|
2536
|
+
qOrganizationDomainsList: string;
|
|
2537
|
+
/** Email verification status filter */
|
|
2538
|
+
contactEmailStatus: string;
|
|
2539
|
+
/** Employee count ranges as semicolon-separated pairs (e.g. "1,10; 250,500") */
|
|
2540
|
+
organizationNumEmployeesRanges: string;
|
|
2541
|
+
/** Minimum annual revenue filter */
|
|
2542
|
+
revenueRangeMin: string;
|
|
2543
|
+
/** Maximum annual revenue filter */
|
|
2544
|
+
revenueRangeMax: string;
|
|
2545
|
+
/** Technology UIDs the organization must use (all required) */
|
|
2546
|
+
currentlyUsingAllOfTechnologyUids: string;
|
|
2547
|
+
/** Technology UIDs the organization uses (any match) */
|
|
2548
|
+
currentlyUsingAnyOfTechnologyUids: string;
|
|
2549
|
+
/** Technology UIDs the organization must not use */
|
|
2550
|
+
currentlyNotUsingAnyOfTechnologyUids: string;
|
|
2551
|
+
};
|
|
2552
|
+
}
|
|
2553
|
+
export interface PeopleSearchStepOutput {
|
|
2554
|
+
/** Apollo search results with matched people and optionally enriched data */
|
|
2555
|
+
results: unknown;
|
|
2556
|
+
}
|
|
2557
|
+
export interface PostToLinkedInStepInput {
|
|
2558
|
+
/** The text content of the LinkedIn post */
|
|
2559
|
+
message: string;
|
|
2560
|
+
/** Who can see the post: "PUBLIC" or "CONNECTIONS" */
|
|
2561
|
+
visibility: "PUBLIC" | "CONNECTIONS";
|
|
2562
|
+
/** URL of an image to attach to the post */
|
|
2563
|
+
imageUrl?: string;
|
|
2564
|
+
/** URL of a video to attach to the post */
|
|
2565
|
+
videoUrl?: string;
|
|
2566
|
+
/** URL of a document (PDF, PPT, DOC) to attach to the post */
|
|
2567
|
+
documentUrl?: string;
|
|
2568
|
+
/** URL to share as an article link preview */
|
|
2569
|
+
articleUrl?: string;
|
|
2570
|
+
/** Title text for media or article attachments */
|
|
2571
|
+
titleText?: string;
|
|
2572
|
+
/** Description text for article attachments */
|
|
2573
|
+
descriptionText?: string;
|
|
2574
|
+
/** LinkedIn OAuth connection ID */
|
|
2575
|
+
connectionId?: string;
|
|
2576
|
+
}
|
|
2577
|
+
export type PostToLinkedInStepOutput = unknown;
|
|
2578
|
+
export interface PostToSlackChannelStepInput {
|
|
2579
|
+
/** Slack channel ID (leave empty to allow user to select a channel) */
|
|
2580
|
+
channelId: string;
|
|
2581
|
+
/** Message format: "string" for plain text/markdown, "blocks" for Slack Block Kit JSON */
|
|
2582
|
+
messageType: "string" | "blocks";
|
|
2583
|
+
/** Message content (plain text/markdown for "string" type, or JSON for "blocks" type) */
|
|
2584
|
+
message: string;
|
|
2585
|
+
/** Slack OAuth connection ID (leave empty to allow user to select) */
|
|
2586
|
+
connectionId?: string;
|
|
2587
|
+
}
|
|
2588
|
+
export type PostToSlackChannelStepOutput = unknown;
|
|
2589
|
+
export interface PostToXStepInput {
|
|
2590
|
+
/** The text content of the post (max 280 characters) */
|
|
2591
|
+
text: string;
|
|
2592
|
+
/** X (Twitter) OAuth connection ID */
|
|
2593
|
+
connectionId?: string;
|
|
2594
|
+
/** Up to 4 URLs of images, GIFs, or videos to attach to the post */
|
|
2595
|
+
mediaUrls?: string[];
|
|
2596
|
+
}
|
|
2597
|
+
export type PostToXStepOutput = unknown;
|
|
2598
|
+
export interface PostToZapierStepInput {
|
|
2599
|
+
/** Zapier webhook URL to send data to */
|
|
2600
|
+
webhookUrl: string;
|
|
2601
|
+
/** Key-value pairs to send as the JSON POST body */
|
|
2602
|
+
input: Record<string, unknown>;
|
|
2603
|
+
}
|
|
2604
|
+
export interface PostToZapierStepOutput {
|
|
2605
|
+
/** Parsed webhook response from Zapier (JSON object, array, or string) */
|
|
2606
|
+
data: unknown;
|
|
2607
|
+
}
|
|
2608
|
+
export interface QueryDataSourceStepInput {
|
|
2609
|
+
/** ID of the vector data source to query */
|
|
2610
|
+
dataSourceId: string;
|
|
2611
|
+
/** The search query to run against the data source */
|
|
2612
|
+
query: string;
|
|
2613
|
+
/** Maximum number of chunks to return (recommended 1-3) */
|
|
2614
|
+
maxResults: number;
|
|
2615
|
+
}
|
|
2616
|
+
export interface QueryDataSourceStepOutput {
|
|
2617
|
+
/** All matching chunks joined with newlines */
|
|
2618
|
+
text: string;
|
|
2619
|
+
/** Individual matching text chunks from the data source */
|
|
2620
|
+
chunks: string[];
|
|
2621
|
+
/** The resolved search query that was executed */
|
|
2622
|
+
query: string;
|
|
2623
|
+
/** Source citations for the matched chunks */
|
|
2624
|
+
citations: unknown[];
|
|
2625
|
+
/** Query execution time in milliseconds */
|
|
2626
|
+
latencyMs: number;
|
|
2627
|
+
}
|
|
2628
|
+
export interface QueryExternalDatabaseStepInput {
|
|
2629
|
+
/** Database connection ID configured in the workspace */
|
|
2630
|
+
connectionId?: string;
|
|
2631
|
+
/** SQL query to execute (supports variable interpolation) */
|
|
2632
|
+
query: string;
|
|
2633
|
+
/** Output format for the result variable */
|
|
2634
|
+
outputFormat: "json" | "csv";
|
|
2635
|
+
}
|
|
2636
|
+
export interface QueryExternalDatabaseStepOutput {
|
|
2637
|
+
/** Query result rows (array of objects for JSON, CSV string for CSV format) */
|
|
2638
|
+
data: unknown;
|
|
2639
|
+
}
|
|
2640
|
+
export interface QuickbooksApiRequestStepInput {
|
|
2641
|
+
/** QuickBooks OAuth connection ID */
|
|
2642
|
+
connectionId?: string;
|
|
2643
|
+
/** HTTP method */
|
|
2644
|
+
method: string;
|
|
2645
|
+
/** Relative Accounting API path (e.g. "account" or "query") */
|
|
2646
|
+
route: string;
|
|
2647
|
+
/** Query string parameters */
|
|
2648
|
+
queryParams: Record<string, unknown>;
|
|
2649
|
+
/** JSON body for POST, PUT, and PATCH */
|
|
2650
|
+
body: string;
|
|
2651
|
+
}
|
|
2652
|
+
export interface QuickbooksApiRequestStepOutput {
|
|
2653
|
+
/** Whether the HTTP response status code is in the 2xx range */
|
|
2654
|
+
ok: boolean;
|
|
2655
|
+
/** HTTP response status code */
|
|
2656
|
+
status: number;
|
|
2657
|
+
/** Parsed JSON response body, or a string if not JSON */
|
|
2658
|
+
body: unknown;
|
|
2659
|
+
}
|
|
2660
|
+
export interface RedactPIIStepInput {
|
|
2661
|
+
/** Text to redact PII from */
|
|
2662
|
+
input: string;
|
|
2663
|
+
/** Language code of the input text (e.g. "en") */
|
|
2664
|
+
language: string;
|
|
2665
|
+
/** PII entity types to redact (e.g. ["PHONE_NUMBER", "EMAIL_ADDRESS"]). Empty array means nothing is redacted. */
|
|
2666
|
+
entities: string[];
|
|
2667
|
+
}
|
|
2668
|
+
export interface RedactPIIStepOutput {
|
|
2669
|
+
/** The input text with detected PII replaced by entity type placeholders (e.g. "<PHONE_NUMBER>") */
|
|
2670
|
+
text: string;
|
|
2671
|
+
}
|
|
2672
|
+
export interface RemoveBackgroundFromImageStepInput {
|
|
2673
|
+
/** Background removal quality tier */
|
|
2674
|
+
type?: "standard" | "advanced";
|
|
2675
|
+
/** URL of the source image to remove the background from */
|
|
2676
|
+
imageUrl: string;
|
|
2677
|
+
/** Whether to automatically trim transparent padding from the result, on by default */
|
|
2678
|
+
autoCrop?: boolean;
|
|
2679
|
+
}
|
|
2680
|
+
export interface RemoveBackgroundFromImageStepOutput {
|
|
2681
|
+
/** CDN URL of the image with background removed (transparent PNG) */
|
|
2682
|
+
imageUrl: string;
|
|
2683
|
+
}
|
|
2684
|
+
export interface RenderVideoFromHtmlCompositionStepInput {
|
|
2685
|
+
/** The composition's HTML, up to 10 MB; give this or project */
|
|
2686
|
+
html?: string;
|
|
2687
|
+
/** URL of a zip of the project's folder, or of one self-contained HTML file; give this or html */
|
|
2688
|
+
project?: string;
|
|
2689
|
+
/** The entry HTML inside the zip, relative to its root; index.html when omitted */
|
|
2690
|
+
entryFile?: string;
|
|
2691
|
+
/** Values over the composition's declared variables */
|
|
2692
|
+
variables?: Record<string, unknown>;
|
|
2693
|
+
/** Frames per second: 24, 30 (default) or 60 */
|
|
2694
|
+
fps?: 24 | 30 | 60;
|
|
2695
|
+
/** Encode quality: draft, standard (default) or high */
|
|
2696
|
+
quality?: "draft" | "standard" | "high";
|
|
2697
|
+
/** mp4 (default), webm or mov (both keep transparency), or gif */
|
|
2698
|
+
format?: "mp4" | "webm" | "mov" | "gif";
|
|
2699
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
2700
|
+
intermediateAsset?: boolean;
|
|
2701
|
+
}
|
|
2702
|
+
export interface RenderVideoFromHtmlCompositionStepOutput {
|
|
2703
|
+
/** URL of the rendered video */
|
|
2704
|
+
videoUrl: string;
|
|
2705
|
+
/** Its length in seconds */
|
|
2706
|
+
durationSec: number;
|
|
2707
|
+
/** How many frames it has */
|
|
2708
|
+
frames: number;
|
|
2709
|
+
}
|
|
2710
|
+
export interface ReplyToGmailEmailStepInput {
|
|
2711
|
+
/** Gmail message ID to reply to */
|
|
2712
|
+
messageId: string;
|
|
2713
|
+
/** Reply body content */
|
|
2714
|
+
message: string;
|
|
2715
|
+
/** Body format: "plain", "html", or "markdown" */
|
|
2716
|
+
messageType: "plain" | "html" | "markdown";
|
|
2717
|
+
/** Google OAuth connection ID */
|
|
2718
|
+
connectionId?: string;
|
|
2719
|
+
}
|
|
2720
|
+
export interface ReplyToGmailEmailStepOutput {
|
|
2721
|
+
/** Gmail message ID of the sent reply */
|
|
2722
|
+
messageId: string;
|
|
2723
|
+
}
|
|
2724
|
+
export interface ResizeVideoStepInput {
|
|
2725
|
+
/** URL of the source video to resize */
|
|
2726
|
+
videoUrl: string;
|
|
2727
|
+
/** Resize mode: 'fit' scales within max dimensions, 'exact' forces exact dimensions */
|
|
2728
|
+
mode: "fit" | "exact";
|
|
2729
|
+
/** Maximum width in pixels (used with 'fit' mode) */
|
|
2730
|
+
maxWidth?: number;
|
|
2731
|
+
/** Maximum height in pixels (used with 'fit' mode) */
|
|
2732
|
+
maxHeight?: number;
|
|
2733
|
+
/** Exact width in pixels (used with 'exact' mode) */
|
|
2734
|
+
width?: number;
|
|
2735
|
+
/** Exact height in pixels (used with 'exact' mode) */
|
|
2736
|
+
height?: number;
|
|
2737
|
+
/** Strategy for handling aspect ratio mismatch in 'exact' mode */
|
|
2738
|
+
strategy?: "pad" | "crop";
|
|
2739
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
2740
|
+
intermediateAsset?: boolean;
|
|
2741
|
+
}
|
|
2742
|
+
export interface ResizeVideoStepOutput {
|
|
2743
|
+
/** URL of the resized video */
|
|
2744
|
+
videoUrl: string;
|
|
2745
|
+
}
|
|
2746
|
+
export interface RunFfmpegStepInput {
|
|
2747
|
+
/** Input files by name, each a URL; `{in:<name>}` in an argument is its local path */
|
|
2748
|
+
inputs: Record<string, unknown>;
|
|
2749
|
+
/** ffmpeg's arguments, run as given; `{out:<file.ext>}` in an argument is an output's path */
|
|
2750
|
+
args: string[];
|
|
2751
|
+
/** When true, the assets are created but hidden from the user's gallery (tagged as intermediate) */
|
|
2752
|
+
intermediateAsset?: boolean;
|
|
2753
|
+
}
|
|
2754
|
+
export interface RunFfmpegStepOutput {
|
|
2755
|
+
/** Each output's URL, by the file name `{out:<file.ext>}` gave it */
|
|
2756
|
+
outputs: Record<string, unknown>;
|
|
2757
|
+
}
|
|
2758
|
+
export interface RunFromConnectorRegistryStepInput {
|
|
2759
|
+
/** The connector action identifier in the format serviceId/actionId */
|
|
2760
|
+
actionId: string;
|
|
2761
|
+
/** Human-readable name of the connector action */
|
|
2762
|
+
displayName: string;
|
|
2763
|
+
/** Icon URL for the connector */
|
|
2764
|
+
icon: string;
|
|
2765
|
+
/** Key-value configuration parameters for the connector action */
|
|
2766
|
+
configurationValues: Record<string, unknown>;
|
|
2767
|
+
/** OAuth connection ID used to authenticate the connector request */
|
|
2768
|
+
__connectionId?: string;
|
|
2769
|
+
}
|
|
2770
|
+
export interface RunFromConnectorRegistryStepOutput {
|
|
2771
|
+
/** Key-value map of output variables set by the connector */
|
|
2772
|
+
data: Record<string, unknown>;
|
|
2773
|
+
}
|
|
2774
|
+
export interface ScrapeLinkedInCompanyStepInput {
|
|
2775
|
+
/** LinkedIn company page URL (e.g. https://www.linkedin.com/company/mindstudioai) */
|
|
2776
|
+
url: string;
|
|
2777
|
+
}
|
|
2778
|
+
export interface ScrapeLinkedInCompanyStepOutput {
|
|
2779
|
+
/** Scraped LinkedIn company data */
|
|
2780
|
+
company: unknown;
|
|
2781
|
+
}
|
|
2782
|
+
export interface ScrapeLinkedInProfileStepInput {
|
|
2783
|
+
/** LinkedIn profile URL (e.g. https://www.linkedin.com/in/username) */
|
|
2784
|
+
url: string;
|
|
2785
|
+
}
|
|
2786
|
+
export interface ScrapeLinkedInProfileStepOutput {
|
|
2787
|
+
/** Scraped LinkedIn profile data */
|
|
2788
|
+
profile: unknown;
|
|
2789
|
+
}
|
|
2790
|
+
export interface ScrapeUrlStepInput {
|
|
2791
|
+
/** URL(s) to scrape. Accepts a single URL, JSON array, or comma/newline-separated list */
|
|
2792
|
+
url: string;
|
|
2793
|
+
/** Scraping service to use */
|
|
2794
|
+
service?: "default" | "firecrawl";
|
|
2795
|
+
/** No longer selects a provider — the default service's anti-bot engine decides per request how hard to work. Retained because existing workflows set it and the builder still renders it. */
|
|
2796
|
+
autoEnhance?: boolean;
|
|
2797
|
+
/** Output format: text returns markdown, html returns raw HTML, json returns structured scraper data, summary returns a model-written summary (Firecrawl only) */
|
|
2798
|
+
outputFormat?: "text" | "json" | "html" | "summary";
|
|
2799
|
+
/** Page-level scraping options (content filtering, screenshots, headers, etc.) */
|
|
2800
|
+
pageOptions?: {
|
|
2801
|
+
/** Whether to extract only the main content of the page, excluding navigation, footers, etc. Firecrawl only. */
|
|
2802
|
+
onlyMainContent: boolean;
|
|
2803
|
+
/** Whether to capture a screenshot of the page */
|
|
2804
|
+
screenshot: boolean;
|
|
2805
|
+
/** Milliseconds to wait before scraping (0 for immediate) */
|
|
2806
|
+
waitFor: number;
|
|
2807
|
+
/** Whether to convert relative URLs to absolute URLs in the result */
|
|
2808
|
+
replaceAllPathsWithAbsolutePaths: boolean;
|
|
2809
|
+
/** Custom HTTP request headers as key-value pairs */
|
|
2810
|
+
headers: Record<string, unknown>;
|
|
2811
|
+
/** HTML tags to remove from the scraped result. Firecrawl only. */
|
|
2812
|
+
removeTags: string[];
|
|
2813
|
+
/** Whether to scrape using a mobile user-agent. Firecrawl only. */
|
|
2814
|
+
mobile: boolean;
|
|
2815
|
+
};
|
|
2816
|
+
}
|
|
2817
|
+
export interface ScrapeUrlStepOutput {
|
|
2818
|
+
/** Scraped content. Shape depends on outputFormat and number of URLs */
|
|
2819
|
+
content: string | string[] | {
|
|
2820
|
+
/** Markdown/plain-text content of the scraped page */
|
|
2821
|
+
text: string;
|
|
2822
|
+
/** Raw HTML content of the scraped page */
|
|
2823
|
+
html: string;
|
|
2824
|
+
/** Structured data extracted from the page */
|
|
2825
|
+
json?: Record<string, unknown>;
|
|
2826
|
+
/** Screenshot URL of the page (if requested) */
|
|
2827
|
+
screenshotUrl?: string;
|
|
2828
|
+
/** Page metadata (Open Graph / meta tags) */
|
|
2829
|
+
metadata?: {
|
|
2830
|
+
/** Page title */
|
|
2831
|
+
title: string;
|
|
2832
|
+
/** Page meta description */
|
|
2833
|
+
description: string;
|
|
2834
|
+
/** Canonical URL */
|
|
2835
|
+
url: string;
|
|
2836
|
+
/** Open Graph image URL */
|
|
2837
|
+
image: string;
|
|
2838
|
+
};
|
|
2839
|
+
/** Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care — billing, in particular — can tell a failure from real page content. */
|
|
2840
|
+
error?: {
|
|
2841
|
+
code: string;
|
|
2842
|
+
message: string;
|
|
2843
|
+
};
|
|
2844
|
+
/**
|
|
2845
|
+
* What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.
|
|
2846
|
+
*
|
|
2847
|
+
* Includes every attempt made on the caller's behalf, not just the last one.
|
|
2848
|
+
*/
|
|
2849
|
+
costUnits?: number;
|
|
2850
|
+
} | {
|
|
2851
|
+
/** Markdown/plain-text content of the scraped page */
|
|
2852
|
+
text: string;
|
|
2853
|
+
/** Raw HTML content of the scraped page */
|
|
2854
|
+
html: string;
|
|
2855
|
+
/** Structured data extracted from the page */
|
|
2856
|
+
json?: Record<string, unknown>;
|
|
2857
|
+
/** Screenshot URL of the page (if requested) */
|
|
2858
|
+
screenshotUrl?: string;
|
|
2859
|
+
/** Page metadata (Open Graph / meta tags) */
|
|
2860
|
+
metadata?: {
|
|
2861
|
+
/** Page title */
|
|
2862
|
+
title: string;
|
|
2863
|
+
/** Page meta description */
|
|
2864
|
+
description: string;
|
|
2865
|
+
/** Canonical URL */
|
|
2866
|
+
url: string;
|
|
2867
|
+
/** Open Graph image URL */
|
|
2868
|
+
image: string;
|
|
2869
|
+
};
|
|
2870
|
+
/** Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care — billing, in particular — can tell a failure from real page content. */
|
|
2871
|
+
error?: {
|
|
2872
|
+
code: string;
|
|
2873
|
+
message: string;
|
|
2874
|
+
};
|
|
2875
|
+
/**
|
|
2876
|
+
* What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.
|
|
2877
|
+
*
|
|
2878
|
+
* Includes every attempt made on the caller's behalf, not just the last one.
|
|
2879
|
+
*/
|
|
2880
|
+
costUnits?: number;
|
|
2881
|
+
}[];
|
|
2882
|
+
/** Screenshot URL(s), only present when a screenshot was captured */
|
|
2883
|
+
screenshot?: string | string[];
|
|
2884
|
+
}
|
|
2885
|
+
export interface ScrapeXPostStepInput {
|
|
2886
|
+
/** Full URL to the X post (e.g. https://x.com/elonmusk/status/1655608985058267139) */
|
|
2887
|
+
url: string;
|
|
2888
|
+
}
|
|
2889
|
+
export interface ScrapeXPostStepOutput {
|
|
2890
|
+
/** Scraped post data including text, HTML, and optional structured JSON */
|
|
2891
|
+
post: {
|
|
2892
|
+
/** Markdown/plain-text content of the scraped page */
|
|
2893
|
+
text: string;
|
|
2894
|
+
/** Raw HTML content of the scraped page */
|
|
2895
|
+
html: string;
|
|
2896
|
+
/** Structured data extracted from the page */
|
|
2897
|
+
json?: Record<string, unknown>;
|
|
2898
|
+
/** Screenshot URL of the page (if requested) */
|
|
2899
|
+
screenshotUrl?: string;
|
|
2900
|
+
/** Page metadata (Open Graph / meta tags) */
|
|
2901
|
+
metadata?: {
|
|
2902
|
+
/** Page title */
|
|
2903
|
+
title: string;
|
|
2904
|
+
/** Page meta description */
|
|
2905
|
+
description: string;
|
|
2906
|
+
/** Canonical URL */
|
|
2907
|
+
url: string;
|
|
2908
|
+
/** Open Graph image URL */
|
|
2909
|
+
image: string;
|
|
2910
|
+
};
|
|
2911
|
+
/** Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care — billing, in particular — can tell a failure from real page content. */
|
|
2912
|
+
error?: {
|
|
2913
|
+
code: string;
|
|
2914
|
+
message: string;
|
|
2915
|
+
};
|
|
2916
|
+
/**
|
|
2917
|
+
* What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.
|
|
2918
|
+
*
|
|
2919
|
+
* Includes every attempt made on the caller's behalf, not just the last one.
|
|
2920
|
+
*/
|
|
2921
|
+
costUnits?: number;
|
|
2922
|
+
};
|
|
2923
|
+
}
|
|
2924
|
+
export interface ScrapeXProfileStepInput {
|
|
2925
|
+
/** Full URL or username for the X profile (e.g. https://x.com/elonmusk) */
|
|
2926
|
+
url: string;
|
|
2927
|
+
}
|
|
2928
|
+
export interface ScrapeXProfileStepOutput {
|
|
2929
|
+
/** Scraped profile data including text, HTML, and optional structured JSON */
|
|
2930
|
+
profile: {
|
|
2931
|
+
/** Markdown/plain-text content of the scraped page */
|
|
2932
|
+
text: string;
|
|
2933
|
+
/** Raw HTML content of the scraped page */
|
|
2934
|
+
html: string;
|
|
2935
|
+
/** Structured data extracted from the page */
|
|
2936
|
+
json?: Record<string, unknown>;
|
|
2937
|
+
/** Screenshot URL of the page (if requested) */
|
|
2938
|
+
screenshotUrl?: string;
|
|
2939
|
+
/** Page metadata (Open Graph / meta tags) */
|
|
2940
|
+
metadata?: {
|
|
2941
|
+
/** Page title */
|
|
2942
|
+
title: string;
|
|
2943
|
+
/** Page meta description */
|
|
2944
|
+
description: string;
|
|
2945
|
+
/** Canonical URL */
|
|
2946
|
+
url: string;
|
|
2947
|
+
/** Open Graph image URL */
|
|
2948
|
+
image: string;
|
|
2949
|
+
};
|
|
2950
|
+
/** Set when the scrape failed. `text`/`html` still carry the human-readable error for callers that only read those, and callers that care — billing, in particular — can tell a failure from real page content. */
|
|
2951
|
+
error?: {
|
|
2952
|
+
code: string;
|
|
2953
|
+
message: string;
|
|
2954
|
+
};
|
|
2955
|
+
/**
|
|
2956
|
+
* What the provider actually charged, when it tells us. Scrapfly returns an exact per-request credit total that varies with how hard the target fought back (6 for an unprotected page, 80 for Glassdoor), so billing a flat rate would either overcharge the easy case or eat the hard one. Providers that report nothing leave this undefined and fall back to the route's estimate.
|
|
2957
|
+
*
|
|
2958
|
+
* Includes every attempt made on the caller's behalf, not just the last one.
|
|
2959
|
+
*/
|
|
2960
|
+
costUnits?: number;
|
|
2961
|
+
};
|
|
2962
|
+
}
|
|
2963
|
+
export interface ScreenshotUrlStepInput {
|
|
2964
|
+
/** URL to screenshot */
|
|
2965
|
+
url: string;
|
|
2966
|
+
/** Screenshot mode: viewport captures visible area, fullPage captures entire page */
|
|
2967
|
+
mode?: "viewport" | "fullPage";
|
|
2968
|
+
/** Viewport width in pixels (default: 1280) */
|
|
2969
|
+
width?: number;
|
|
2970
|
+
/** Viewport height in pixels (default: 800, ignored for fullPage mode) */
|
|
2971
|
+
height?: number;
|
|
2972
|
+
/** Milliseconds to wait before capturing (default: 0) */
|
|
2973
|
+
delay?: number;
|
|
2974
|
+
/** CSS selector to wait for before capturing */
|
|
2975
|
+
waitFor?: string;
|
|
2976
|
+
}
|
|
2977
|
+
export interface ScreenshotUrlStepOutput {
|
|
2978
|
+
screenshotUrl: string;
|
|
2979
|
+
}
|
|
2980
|
+
export interface SearchGmailEmailsStepInput {
|
|
2981
|
+
/** Gmail search query (e.g. "from:user@example.com", "subject:invoice", "is:unread") */
|
|
2982
|
+
query: string;
|
|
2983
|
+
/** Google OAuth connection ID */
|
|
2984
|
+
connectionId?: string;
|
|
2985
|
+
/** Format for the variable output: "json" or "text" */
|
|
2986
|
+
exportType: "json" | "text";
|
|
2987
|
+
/** Maximum number of emails to return (1-10, default: 5) */
|
|
2988
|
+
limit: string;
|
|
2989
|
+
}
|
|
2990
|
+
export interface SearchGmailEmailsStepOutput {
|
|
2991
|
+
/** List of matching email messages */
|
|
2992
|
+
emails: {
|
|
2993
|
+
/** Gmail message ID */
|
|
2994
|
+
id: string;
|
|
2995
|
+
/** Email subject line */
|
|
2996
|
+
subject: string;
|
|
2997
|
+
/** Sender email address */
|
|
2998
|
+
from: string;
|
|
2999
|
+
/** Recipient email address */
|
|
3000
|
+
to: string;
|
|
3001
|
+
/** Email date */
|
|
3002
|
+
date: string;
|
|
3003
|
+
/** Plain text body content */
|
|
3004
|
+
plainBody: string;
|
|
3005
|
+
/** HTML body content (if available) */
|
|
3006
|
+
htmlBody: string;
|
|
3007
|
+
/** Comma-separated label IDs applied to the email */
|
|
3008
|
+
labels: string;
|
|
3009
|
+
}[];
|
|
3010
|
+
}
|
|
3011
|
+
export interface SearchGoogleStepInput {
|
|
3012
|
+
/** The search query to send to Google */
|
|
3013
|
+
query: string;
|
|
3014
|
+
/** Format for the variable value: "text" or "json" */
|
|
3015
|
+
exportType: "text" | "json";
|
|
3016
|
+
/** Google gl country code (defaults to US) */
|
|
3017
|
+
countryCode?: string;
|
|
3018
|
+
/** Google hl language code (defaults to "en") */
|
|
3019
|
+
languageCode?: string;
|
|
3020
|
+
/** Time range filter: "hour", "day", "week", "month", "year", or "any" */
|
|
3021
|
+
dateRange?: "hour" | "day" | "week" | "month" | "year" | "any";
|
|
3022
|
+
/** Number of results to return (1-100, default: 30) */
|
|
3023
|
+
numResults?: number;
|
|
3024
|
+
/** Read the page content of the first N results in this same step (0-10, default 0 = off), rather than following up with a Scrape URL step per result. Each page is a full scrape, so this costs substantially more than the search alone. */
|
|
3025
|
+
fetchTopN?: number;
|
|
3026
|
+
}
|
|
3027
|
+
export interface SearchGoogleStepOutput {
|
|
3028
|
+
/** List of search result entries */
|
|
3029
|
+
results: {
|
|
3030
|
+
/** Title of the search result */
|
|
3031
|
+
title: string;
|
|
3032
|
+
/** Snippet/description of the search result */
|
|
3033
|
+
description: string;
|
|
3034
|
+
/** URL of the search result page */
|
|
3035
|
+
url: string;
|
|
3036
|
+
/** Page content, only present when fetchTopN covered this result */
|
|
3037
|
+
content?: string;
|
|
3038
|
+
}[];
|
|
3039
|
+
/** Google's "People also ask" entries, when Google returned any */
|
|
3040
|
+
peopleAlsoAsk?: {
|
|
3041
|
+
question?: string;
|
|
3042
|
+
snippet?: string;
|
|
3043
|
+
link?: string;
|
|
3044
|
+
}[];
|
|
3045
|
+
/** Google's related-search suggestions, when Google returned any */
|
|
3046
|
+
relatedSearches?: string[];
|
|
3047
|
+
}
|
|
3048
|
+
export interface SearchGoogleCalendarEventsStepInput {
|
|
3049
|
+
/** Text search term */
|
|
3050
|
+
query?: string;
|
|
3051
|
+
/** Start of time range (ISO 8601) */
|
|
3052
|
+
timeMin?: string;
|
|
3053
|
+
/** End of time range (ISO 8601) */
|
|
3054
|
+
timeMax?: string;
|
|
3055
|
+
/** Calendar ID (defaults to "primary") */
|
|
3056
|
+
calendarId?: string;
|
|
3057
|
+
/** Maximum number of events to return (default: 10) */
|
|
3058
|
+
limit?: number;
|
|
3059
|
+
/** Format for the variable output: "json" or "text" */
|
|
3060
|
+
exportType: "json" | "text";
|
|
3061
|
+
/** Google OAuth connection ID */
|
|
3062
|
+
connectionId?: string;
|
|
3063
|
+
}
|
|
3064
|
+
export interface SearchGoogleCalendarEventsStepOutput {
|
|
3065
|
+
/** List of matching calendar events */
|
|
3066
|
+
events: ({
|
|
3067
|
+
/** Google Calendar event ID */
|
|
3068
|
+
id?: string | null;
|
|
3069
|
+
/** Event status (e.g. "confirmed", "tentative", "cancelled") */
|
|
3070
|
+
status?: string | null;
|
|
3071
|
+
/** URL to view the event in Google Calendar */
|
|
3072
|
+
htmlLink?: string | null;
|
|
3073
|
+
/** Timestamp when the event was created */
|
|
3074
|
+
created?: string | null;
|
|
3075
|
+
/** Timestamp when the event was last updated */
|
|
3076
|
+
updated?: string | null;
|
|
3077
|
+
/** Event title */
|
|
3078
|
+
summary?: string | null;
|
|
3079
|
+
/** Event description */
|
|
3080
|
+
description?: string | null;
|
|
3081
|
+
/** Event location */
|
|
3082
|
+
location?: string | null;
|
|
3083
|
+
/** Event organizer */
|
|
3084
|
+
organizer?: {
|
|
3085
|
+
displayName?: string | null;
|
|
3086
|
+
email?: string | null;
|
|
3087
|
+
} | null;
|
|
3088
|
+
/** Event start time and timezone */
|
|
3089
|
+
start?: {
|
|
3090
|
+
dateTime?: string | null;
|
|
3091
|
+
timeZone?: string | null;
|
|
3092
|
+
} | null;
|
|
3093
|
+
/** Event end time and timezone */
|
|
3094
|
+
end?: {
|
|
3095
|
+
dateTime?: string | null;
|
|
3096
|
+
timeZone?: string | null;
|
|
3097
|
+
} | null;
|
|
3098
|
+
/** List of event attendees */
|
|
3099
|
+
attendees?: ({
|
|
3100
|
+
displayName?: string | null;
|
|
3101
|
+
email?: string | null;
|
|
3102
|
+
responseStatus?: string | null;
|
|
3103
|
+
})[] | null;
|
|
3104
|
+
})[];
|
|
3105
|
+
}
|
|
3106
|
+
export interface SearchGoogleDriveStepInput {
|
|
3107
|
+
/** Search keyword */
|
|
3108
|
+
query: string;
|
|
3109
|
+
/** Max files to return (default: 20) */
|
|
3110
|
+
limit?: number;
|
|
3111
|
+
/** Google OAuth connection ID */
|
|
3112
|
+
connectionId?: string;
|
|
3113
|
+
/** Format for the variable output: "json" or "text" */
|
|
3114
|
+
exportType: "json" | "text";
|
|
3115
|
+
}
|
|
3116
|
+
export interface SearchGoogleDriveStepOutput {
|
|
3117
|
+
/** List of matching files */
|
|
3118
|
+
files: {
|
|
3119
|
+
id: string;
|
|
3120
|
+
name: string;
|
|
3121
|
+
mimeType: string;
|
|
3122
|
+
size: string;
|
|
3123
|
+
webViewLink: string;
|
|
3124
|
+
createdTime: string;
|
|
3125
|
+
modifiedTime: string;
|
|
3126
|
+
}[];
|
|
3127
|
+
}
|
|
3128
|
+
export interface SearchGoogleImagesStepInput {
|
|
3129
|
+
/** The image search query */
|
|
3130
|
+
query: string;
|
|
3131
|
+
/** Format for the variable value: "text" or "json" */
|
|
3132
|
+
exportType: "text" | "json";
|
|
3133
|
+
/** Google gl country code (defaults to US) */
|
|
3134
|
+
countryCode?: string;
|
|
3135
|
+
/** Google hl language code (defaults to "en") */
|
|
3136
|
+
languageCode?: string;
|
|
3137
|
+
/** Time range filter: "hour", "day", "week", "month", "year", or "any" */
|
|
3138
|
+
dateRange?: "hour" | "day" | "week" | "month" | "year" | "any";
|
|
3139
|
+
/** Number of results to return (1-100, default: 30) */
|
|
3140
|
+
numResults?: number;
|
|
3141
|
+
}
|
|
3142
|
+
export interface SearchGoogleImagesStepOutput {
|
|
3143
|
+
/** List of image search results with URLs and metadata */
|
|
3144
|
+
images: {
|
|
3145
|
+
/** Title/alt text of the image */
|
|
3146
|
+
title: string;
|
|
3147
|
+
/** Direct URL of the full-size image */
|
|
3148
|
+
imageUrl: string;
|
|
3149
|
+
/** Width of the full-size image in pixels */
|
|
3150
|
+
imageWidth: number;
|
|
3151
|
+
/** Height of the full-size image in pixels */
|
|
3152
|
+
imageHeight: number;
|
|
3153
|
+
/** URL of the thumbnail image */
|
|
3154
|
+
thumbnailUrl: string;
|
|
3155
|
+
/** Width of the thumbnail in pixels */
|
|
3156
|
+
thumbnailWidth: number;
|
|
3157
|
+
/** Height of the thumbnail in pixels */
|
|
3158
|
+
thumbnailHeight: number;
|
|
3159
|
+
/** Source website name */
|
|
3160
|
+
source: string;
|
|
3161
|
+
/** Domain of the source website */
|
|
3162
|
+
domain: string;
|
|
3163
|
+
/** URL of the page containing the image */
|
|
3164
|
+
link: string;
|
|
3165
|
+
/** Google Images URL for this result */
|
|
3166
|
+
googleUrl: string;
|
|
3167
|
+
/** Position/rank of this result in the search results */
|
|
3168
|
+
position: number;
|
|
3169
|
+
}[];
|
|
3170
|
+
}
|
|
3171
|
+
export interface SearchGoogleNewsStepInput {
|
|
3172
|
+
/** The news search query */
|
|
3173
|
+
text: string;
|
|
3174
|
+
/** Format for the variable value: "text" or "json" */
|
|
3175
|
+
exportType: "text" | "json";
|
|
3176
|
+
/** Number of results to return (1-100, default: 30) */
|
|
3177
|
+
numResults?: number;
|
|
3178
|
+
}
|
|
3179
|
+
export interface SearchGoogleNewsStepOutput {
|
|
3180
|
+
/** List of matching news articles */
|
|
3181
|
+
articles: {
|
|
3182
|
+
/** Headline of the news article */
|
|
3183
|
+
title: string;
|
|
3184
|
+
/** URL to the full article */
|
|
3185
|
+
link: string;
|
|
3186
|
+
/** Publication date of the article */
|
|
3187
|
+
date: string;
|
|
3188
|
+
/** Source publication */
|
|
3189
|
+
source: {
|
|
3190
|
+
/** Name of the news source */
|
|
3191
|
+
name: string;
|
|
3192
|
+
};
|
|
3193
|
+
/** Brief excerpt or summary of the article */
|
|
3194
|
+
snippet?: string;
|
|
3195
|
+
}[];
|
|
3196
|
+
}
|
|
3197
|
+
export interface SearchGoogleTrendsStepInput {
|
|
3198
|
+
/** The search term to look up on Google Trends */
|
|
3199
|
+
text: string;
|
|
3200
|
+
/** Language code (e.g. "en") */
|
|
3201
|
+
hl: string;
|
|
3202
|
+
/** Geographic region: empty string for worldwide, or a two-letter country code */
|
|
3203
|
+
geo: string;
|
|
3204
|
+
/** Type of trend data to return */
|
|
3205
|
+
data_type: "TIMESERIES" | "GEO_MAP" | "GEO_MAP_0" | "RELATED_TOPICS" | "RELATED_QUERIES";
|
|
3206
|
+
/** Category filter ("0" for all categories) */
|
|
3207
|
+
cat: string;
|
|
3208
|
+
/** Date range for trend data. Available options: - "now 1-H" - Past hour - "now 4-H" - Past 4 hours - "now 1-d" - Past day - "now 7-d" - Past 7 days - "today 1-m" - Past 30 days - "today 3-m" - Past 90 days - "today 12-m" - Past 12 months - "today 5-y" - Past 5 years - "all - 2004" - present - You can also pass custom values: "yyyy-mm-dd yyyy-mm-dd" */
|
|
3209
|
+
date: string;
|
|
3210
|
+
/** Timezone offset in minutes (-1439 to 1439, default: 420 for PDT) */
|
|
3211
|
+
ts: string;
|
|
3212
|
+
}
|
|
3213
|
+
export interface SearchGoogleTrendsStepOutput {
|
|
3214
|
+
/** Google Trends data for the searched term */
|
|
3215
|
+
trends: Record<string, unknown>;
|
|
3216
|
+
}
|
|
3217
|
+
export interface SearchPerplexityStepInput {
|
|
3218
|
+
/** Search query to send to Perplexity */
|
|
3219
|
+
query: string;
|
|
3220
|
+
/** Output format for the variable: plain text or structured JSON */
|
|
3221
|
+
exportType: "text" | "json";
|
|
3222
|
+
/** ISO country code to filter results by region (e.g. "us", "gb") */
|
|
3223
|
+
countryCode?: string;
|
|
3224
|
+
/** Number of results to return (1-20, default: 10) */
|
|
3225
|
+
numResults?: number;
|
|
3226
|
+
}
|
|
3227
|
+
export interface SearchPerplexityStepOutput {
|
|
3228
|
+
/** List of structured search results */
|
|
3229
|
+
results: {
|
|
3230
|
+
/** Page title of the search result */
|
|
3231
|
+
title: string;
|
|
3232
|
+
/** Snippet or description of the search result */
|
|
3233
|
+
description: string;
|
|
3234
|
+
/** URL of the search result page */
|
|
3235
|
+
url: string;
|
|
3236
|
+
}[];
|
|
3237
|
+
}
|
|
3238
|
+
export interface SearchXPostsStepInput {
|
|
3239
|
+
/** Search query (max 512 chars, supports X API v2 search operators) */
|
|
3240
|
+
query: string;
|
|
3241
|
+
/** Search scope: "recent" for past 7 days or "all" for full archive */
|
|
3242
|
+
scope: "recent" | "all";
|
|
3243
|
+
/** Additional search options */
|
|
3244
|
+
options: {
|
|
3245
|
+
/** ISO 8601 date; only return posts after this time */
|
|
3246
|
+
startTime?: string;
|
|
3247
|
+
/** ISO 8601 date; only return posts before this time */
|
|
3248
|
+
endTime?: string;
|
|
3249
|
+
/** Number of results to return (default: 50, max: 100) */
|
|
3250
|
+
maxResults?: number;
|
|
3251
|
+
};
|
|
3252
|
+
}
|
|
3253
|
+
export interface SearchXPostsStepOutput {
|
|
3254
|
+
/** List of matching X posts */
|
|
3255
|
+
posts: {
|
|
3256
|
+
/** Unique post identifier */
|
|
3257
|
+
id: string;
|
|
3258
|
+
/** Author's X user ID */
|
|
3259
|
+
authorId: string;
|
|
3260
|
+
/** ISO 8601 timestamp when the post was created */
|
|
3261
|
+
dateCreated: string;
|
|
3262
|
+
/** Text content of the post */
|
|
3263
|
+
text: string;
|
|
3264
|
+
/** Engagement statistics for the post */
|
|
3265
|
+
stats: {
|
|
3266
|
+
/** Number of retweets/reposts */
|
|
3267
|
+
retweets: number;
|
|
3268
|
+
/** Number of replies */
|
|
3269
|
+
replies: number;
|
|
3270
|
+
/** Number of likes */
|
|
3271
|
+
likes: number;
|
|
3272
|
+
};
|
|
3273
|
+
}[];
|
|
3274
|
+
}
|
|
3275
|
+
export interface SearchYoutubeStepInput {
|
|
3276
|
+
/** Search query for YouTube videos */
|
|
3277
|
+
query: string;
|
|
3278
|
+
/** Maximum number of pages to fetch (1-5) */
|
|
3279
|
+
limitPages: string;
|
|
3280
|
+
/** YouTube search parameter (sp) filter value */
|
|
3281
|
+
filter: string;
|
|
3282
|
+
/** Filter type identifier */
|
|
3283
|
+
filterType: string;
|
|
3284
|
+
/** Google gl country code for regional results (default: "US") */
|
|
3285
|
+
countryCode?: string;
|
|
3286
|
+
/** Google hl language code for result language (default: "en") */
|
|
3287
|
+
languageCode?: string;
|
|
3288
|
+
}
|
|
3289
|
+
export interface SearchYoutubeStepOutput {
|
|
3290
|
+
/** YouTube search results including video_results, channel_results, etc. */
|
|
3291
|
+
results: Record<string, unknown>;
|
|
3292
|
+
}
|
|
3293
|
+
export interface SearchYoutubeTrendsStepInput {
|
|
3294
|
+
/** Trending category: "now" (trending now), "music", "gaming", or "films" */
|
|
3295
|
+
bp: "now" | "music" | "gaming" | "films";
|
|
3296
|
+
/** Language code (e.g. "en") */
|
|
3297
|
+
hl: string;
|
|
3298
|
+
/** Country code (e.g. "US") */
|
|
3299
|
+
gl: string;
|
|
3300
|
+
}
|
|
3301
|
+
export type SearchYoutubeTrendsStepOutput = Record<string, unknown>;
|
|
3302
|
+
export interface SendEmailStepInput {
|
|
3303
|
+
/** Email subject line */
|
|
3304
|
+
subject: string;
|
|
3305
|
+
/** Email body content (plain text, markdown, HTML, or a CDN URL to an HTML file) */
|
|
3306
|
+
body: string;
|
|
3307
|
+
/**
|
|
3308
|
+
* Direct recipient email address(es). On the shared Remy sender these must be verified app users or members of the app's org; unrestricted when the app sends from a domain it owns.
|
|
3309
|
+
*
|
|
3310
|
+
* Optional, but only because recipients can come from elsewhere: omit it and supply `cc`/`bcc` for a hidden-list send (the To: header is then addressed to the app's own sender), or omit all three and recipients resolve from an OAuth connection. Naming nobody at all is an error.
|
|
3311
|
+
*/
|
|
3312
|
+
to?: string | string[];
|
|
3313
|
+
/** Additional visible (Cc) recipient(s); same recipient rules as `to`. */
|
|
3314
|
+
cc?: string | string[];
|
|
3315
|
+
/** Additional hidden (Bcc) recipient(s); same recipient rules as `to`. */
|
|
3316
|
+
bcc?: string | string[];
|
|
3317
|
+
/** OAuth connection ID(s) for the recipient(s), comma-separated for multiple */
|
|
3318
|
+
connectionId?: string;
|
|
3319
|
+
/** When true, auto-convert the body text into a styled HTML email using AI */
|
|
3320
|
+
generateHtml?: boolean;
|
|
3321
|
+
/** Natural language instructions for the HTML generation style */
|
|
3322
|
+
generateHtmlInstructions?: string;
|
|
3323
|
+
/** Model settings override for HTML generation */
|
|
3324
|
+
generateHtmlModelOverride?: {
|
|
3325
|
+
/** Model identifier (e.g. "gpt-4", "claude-3-opus") */
|
|
3326
|
+
model: string;
|
|
3327
|
+
/** Sampling temperature for the model (0-2) */
|
|
3328
|
+
temperature: number;
|
|
3329
|
+
/** Maximum number of tokens in the model's response */
|
|
3330
|
+
maxResponseTokens: number;
|
|
3331
|
+
/** Whether to skip the system preamble/instructions */
|
|
3332
|
+
ignorePreamble?: boolean;
|
|
3333
|
+
/** Preprocessor applied to user messages before sending to the model */
|
|
3334
|
+
userMessagePreprocessor?: {
|
|
3335
|
+
/** Data source identifier for the preprocessor */
|
|
3336
|
+
dataSource?: string;
|
|
3337
|
+
/** Template string applied to user messages before sending to the model */
|
|
3338
|
+
messageTemplate?: string;
|
|
3339
|
+
/** Maximum number of results to include from the data source */
|
|
3340
|
+
maxResults?: number;
|
|
3341
|
+
/** Whether the preprocessor is active */
|
|
3342
|
+
enabled?: boolean;
|
|
3343
|
+
/** Whether child steps should inherit this preprocessor configuration */
|
|
3344
|
+
shouldInherit?: boolean;
|
|
3345
|
+
};
|
|
3346
|
+
/** System preamble/instructions for the model */
|
|
3347
|
+
preamble?: string;
|
|
3348
|
+
/** Whether multi-model candidate generation is enabled */
|
|
3349
|
+
multiModelEnabled?: boolean;
|
|
3350
|
+
/** Whether the user can edit the model's response */
|
|
3351
|
+
editResponseEnabled?: boolean;
|
|
3352
|
+
/** Prompt caching, on models that bill cache writes. Absent: cached where something reads it back (the later steps of a run, a chat). `false` turns it off, for a single call such as a daily scheduled run. `true` caches even a single call, for a prompt resent unchanged within minutes. */
|
|
3353
|
+
promptCaching?: boolean;
|
|
3354
|
+
/** Additional model-specific configuration */
|
|
3355
|
+
config?: Record<string, unknown>;
|
|
3356
|
+
};
|
|
3357
|
+
/** Files to attach: each entry is a URL string, or an object `{ url, filename?, contentType? }` to control the displayed filename and MIME type. */
|
|
3358
|
+
attachments?: (string | {
|
|
3359
|
+
url: string;
|
|
3360
|
+
filename?: string;
|
|
3361
|
+
contentType?: string;
|
|
3362
|
+
})[];
|
|
3363
|
+
/** Custom sender handle — only for apps with a custom domain or subdomain. Bare handle (`support`), full `support@your-domain.com`, or `Name <support@your-domain.com>`. Must resolve to a domain the app owns. */
|
|
3364
|
+
from?: string;
|
|
3365
|
+
/** How to interpret `body`: `auto` (default — detect HTML, else render markdown), `html` (send as-is), `markdown` (render to HTML), or `text` (send as plain text only, no HTML part). Every send includes a text/plain alternative. */
|
|
3366
|
+
bodyType?: "auto" | "html" | "markdown" | "text";
|
|
3367
|
+
/** Explicit text/plain alternative body. Auto-derived from `body` if omitted. */
|
|
3368
|
+
text?: string;
|
|
3369
|
+
/** Reply-To address for the email. */
|
|
3370
|
+
replyTo?: string;
|
|
3371
|
+
/** Message-ID this email replies to, for inbox threading (In-Reply-To header). */
|
|
3372
|
+
inReplyTo?: string;
|
|
3373
|
+
/** Prior Message-IDs in the thread, for inbox threading (References header). */
|
|
3374
|
+
references?: string[];
|
|
3375
|
+
/** `marketing` (default) adds one-click unsubscribe headers and skips recipients who unsubscribed from this app. Use `transactional` for receipts, alerts and password resets: no unsubscribe header, never suppressed, and cc/bcc preserved on a single message. */
|
|
3376
|
+
category?: "transactional" | "marketing";
|
|
3377
|
+
/** Groups this send's per-recipient rows into one blast, so per-campaign stats are readable afterwards. Pass your own campaign id (1-64 printable chars) to join our delivery stats onto your own tables with no mapping; omit it and one is generated. Either way it comes back in the output. */
|
|
3378
|
+
batchId?: string;
|
|
3379
|
+
}
|
|
3380
|
+
export interface SendEmailStepOutput {
|
|
3381
|
+
/** To addresses the message was sent to. */
|
|
3382
|
+
recipients: string[];
|
|
3383
|
+
/** Cc addresses on the message (empty if none). */
|
|
3384
|
+
cc: string[];
|
|
3385
|
+
/** Bcc addresses on the message (empty if none). */
|
|
3386
|
+
bcc: string[];
|
|
3387
|
+
/** The resolved sender address the message went out as (auto-selected when no `from` is given). */
|
|
3388
|
+
from: string;
|
|
3389
|
+
/** Recipients skipped because they unsubscribed from this app. Always empty for a `transactional` send. */
|
|
3390
|
+
suppressed: string[];
|
|
3391
|
+
/** Groups this send's per-recipient rows into one blast — the caller's `batchId` if supplied, otherwise a generated one. Returned unconditionally so an app can read per-blast stats back without having had to pass anything. */
|
|
3392
|
+
batchId: string;
|
|
3393
|
+
}
|
|
3394
|
+
export interface SendGmailDraftStepInput {
|
|
3395
|
+
/** Gmail draft ID to send */
|
|
3396
|
+
draftId: string;
|
|
3397
|
+
/** Google OAuth connection ID */
|
|
3398
|
+
connectionId?: string;
|
|
3399
|
+
}
|
|
3400
|
+
export interface SendGmailDraftStepOutput {
|
|
3401
|
+
/** Gmail message ID of the sent email */
|
|
3402
|
+
messageId: string;
|
|
3403
|
+
}
|
|
3404
|
+
export interface SendGmailMessageStepInput {
|
|
3405
|
+
/** Recipient email address(es), comma-separated for multiple */
|
|
3406
|
+
to: string;
|
|
3407
|
+
/** Email subject line */
|
|
3408
|
+
subject: string;
|
|
3409
|
+
/** Email body content */
|
|
3410
|
+
message: string;
|
|
3411
|
+
/** Google OAuth connection ID */
|
|
3412
|
+
connectionId?: string;
|
|
3413
|
+
/** Body format: "plain", "html", or "markdown" */
|
|
3414
|
+
messageType: "plain" | "html" | "markdown";
|
|
3415
|
+
}
|
|
3416
|
+
export interface SendGmailMessageStepOutput {
|
|
3417
|
+
/** Gmail message ID of the sent email */
|
|
3418
|
+
messageId: string;
|
|
3419
|
+
}
|
|
3420
|
+
export interface SendSlackDirectMessageStepInput {
|
|
3421
|
+
/** Slack user ID of the recipient */
|
|
3422
|
+
slackUserId: string;
|
|
3423
|
+
/** Message format: "string" for plain text/markdown, "blocks" for Slack Block Kit JSON */
|
|
3424
|
+
messageType: "string" | "blocks";
|
|
3425
|
+
/** Message content (plain text/markdown for "string" type, or JSON for "blocks" type) */
|
|
3426
|
+
message: string;
|
|
3427
|
+
/** Slack OAuth connection ID (leave empty to allow user to select) */
|
|
3428
|
+
connectionId?: string;
|
|
3429
|
+
}
|
|
3430
|
+
export type SendSlackDirectMessageStepOutput = unknown;
|
|
3431
|
+
export interface SendSMSStepInput {
|
|
3432
|
+
/** SMS message body text */
|
|
3433
|
+
body: string;
|
|
3434
|
+
/** OAuth connection ID for the recipient phone number */
|
|
3435
|
+
connectionId?: string;
|
|
3436
|
+
/** Optional array of media URLs to send as MMS (up to 10, 5MB each) */
|
|
3437
|
+
mediaUrls?: string[];
|
|
3438
|
+
}
|
|
3439
|
+
export type SendSMSStepOutput = unknown;
|
|
3440
|
+
export interface SetGmailReadStatusStepInput {
|
|
3441
|
+
/** Gmail message ID(s), comma-separated */
|
|
3442
|
+
messageIds: string;
|
|
3443
|
+
/** true = mark as read, false = mark as unread */
|
|
3444
|
+
markAsRead: boolean;
|
|
3445
|
+
/** Google OAuth connection ID */
|
|
3446
|
+
connectionId?: string;
|
|
3447
|
+
}
|
|
3448
|
+
export interface SetGmailReadStatusStepOutput {
|
|
3449
|
+
/** IDs of the updated messages */
|
|
3450
|
+
messageIds: string[];
|
|
3451
|
+
}
|
|
3452
|
+
export interface SetRunTitleStepInput {
|
|
3453
|
+
/** The title to assign to the agent run (supports variable interpolation) */
|
|
3454
|
+
title: string;
|
|
3455
|
+
}
|
|
3456
|
+
export type SetRunTitleStepOutput = unknown;
|
|
3457
|
+
export interface SetVariableStepInput {
|
|
3458
|
+
/** Value to assign (string or array of strings, supports variable interpolation) */
|
|
3459
|
+
value: string | string[];
|
|
3460
|
+
}
|
|
3461
|
+
export type SetVariableStepOutput = Record<string, unknown>;
|
|
3462
|
+
export interface TextToSpeechStepInput {
|
|
3463
|
+
/** The text to convert to speech */
|
|
3464
|
+
text: string;
|
|
3465
|
+
intermediateAsset?: boolean;
|
|
3466
|
+
/** Optional model configuration override. Uses the workflow's default speech model if not specified */
|
|
3467
|
+
speechModelOverride?: {
|
|
3468
|
+
/** Speech synthesis model identifier */
|
|
3469
|
+
model: string;
|
|
3470
|
+
/** Additional model-specific configuration */
|
|
3471
|
+
config?: Record<string, unknown>;
|
|
3472
|
+
};
|
|
3473
|
+
}
|
|
3474
|
+
export interface TextToSpeechStepOutput {
|
|
3475
|
+
/** URL of the generated audio file */
|
|
3476
|
+
audioUrl: string;
|
|
3477
|
+
}
|
|
3478
|
+
export interface TranscribeAudioStepInput {
|
|
3479
|
+
/** URL of the audio file to transcribe */
|
|
3480
|
+
audioUrl: string;
|
|
3481
|
+
/** Optional context to improve transcription accuracy (e.g. language, speaker names, domain terms) */
|
|
3482
|
+
prompt: string;
|
|
3483
|
+
/** Optional model configuration override. Uses the workflow's default transcription model if not specified */
|
|
3484
|
+
transcriptionModelOverride?: {
|
|
3485
|
+
/** Audio transcription model identifier */
|
|
3486
|
+
model: string;
|
|
3487
|
+
/** Additional model-specific configuration */
|
|
3488
|
+
config?: Record<string, unknown>;
|
|
3489
|
+
};
|
|
3490
|
+
}
|
|
3491
|
+
export interface TranscribeAudioStepOutput {
|
|
3492
|
+
/** The transcribed text from the audio file */
|
|
3493
|
+
text: string;
|
|
3494
|
+
/** Timed passages with per-segment confidence, speaker attribution and optional word-level detail — see the step's usage notes for which models populate it. Absent for models that return nothing but text. */
|
|
3495
|
+
segments?: {
|
|
3496
|
+
/** Seconds from the start of the audio. */
|
|
3497
|
+
start: number;
|
|
3498
|
+
end: number;
|
|
3499
|
+
/** The passage, spacing normalized. */
|
|
3500
|
+
text: string;
|
|
3501
|
+
/**
|
|
3502
|
+
* How sure the model was, always `0..1` with higher meaning more confident — whatever the provider reported.
|
|
3503
|
+
*
|
|
3504
|
+
* Normalizing this is the whole point of the type. Providers disagree on both the scale and the direction: Deepgram reports a probability in `0..1`, ElevenLabs and Whisper report a log probability in `(-inf, 0]`. Handing those through untouched would make `confidence < 0.5` mean opposite things depending on which model the caller happened to pick. Log probabilities are converted with `Math.exp`; probabilities pass through.
|
|
3505
|
+
*/
|
|
3506
|
+
confidence?: number;
|
|
3507
|
+
/** Present only when diarization was asked for and the provider supports it. */
|
|
3508
|
+
speaker?: string;
|
|
3509
|
+
/** Present only for providers that report language per passage rather than per request. Most report it once for the whole audio — see `TranscriptionResponse.language`. */
|
|
3510
|
+
language?: string;
|
|
3511
|
+
/** Word-level detail, when the caller asked for it (`includeWordTimings`). Off by default: an hour of speech is roughly ten thousand words, an order of magnitude more payload than the segments that contain them. */
|
|
3512
|
+
words?: {
|
|
3513
|
+
text: string;
|
|
3514
|
+
/** Seconds from the start of the audio. */
|
|
3515
|
+
start?: number;
|
|
3516
|
+
end?: number;
|
|
3517
|
+
/** See the confidence convention on `TranscriptSegment`. */
|
|
3518
|
+
confidence?: number;
|
|
3519
|
+
/** Provider-assigned speaker id, present only when diarization was asked for. */
|
|
3520
|
+
speaker?: string;
|
|
3521
|
+
}[];
|
|
3522
|
+
}[];
|
|
3523
|
+
/** Detected or declared language of the audio, when the model reports it. */
|
|
3524
|
+
language?: string;
|
|
3525
|
+
/** Length of the transcribed audio, when the model reports it. */
|
|
3526
|
+
durationSeconds?: number;
|
|
3527
|
+
/** The transcript as an SRT or WebVTT file, when `subtitles` was asked for in the model's config and the model returned segments to time it by. */
|
|
3528
|
+
subtitles?: string;
|
|
3529
|
+
}
|
|
3530
|
+
export interface TrimMediaStepInput {
|
|
3531
|
+
/** URL of the source audio or video file to trim */
|
|
3532
|
+
inputUrl: string;
|
|
3533
|
+
/** Start position in seconds for the trim */
|
|
3534
|
+
start?: number | string;
|
|
3535
|
+
/** Duration of the trimmed segment in seconds. Omit to trim to the end of the clip. */
|
|
3536
|
+
duration?: string | number;
|
|
3537
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
3538
|
+
intermediateAsset?: boolean;
|
|
3539
|
+
}
|
|
3540
|
+
export interface TrimMediaStepOutput {
|
|
3541
|
+
/** URL of the trimmed media file */
|
|
3542
|
+
mediaUrl: string;
|
|
3543
|
+
}
|
|
3544
|
+
export interface TypesafeEvaluateStepInput {
|
|
3545
|
+
/** The content to evaluate. A string, or a JSON object or array. */
|
|
3546
|
+
state: string | Record<string, unknown> | unknown[];
|
|
3547
|
+
/** Questions to ask about the state, keyed by an id you choose. */
|
|
3548
|
+
questions: Record<string, unknown>;
|
|
3549
|
+
/** Model id or alias. Defaults to the workspace's default decision model (jev-latest). Every model evaluateDecision takes: jev-preview, a pinned version such as jev-1.13.0, clef and clef-flash, gpt-6-luna-decisions. */
|
|
3550
|
+
model?: string;
|
|
3551
|
+
/** Images for a model that reads them (Clef, Clef Flash, GPT-6 Luna Decisions). Each entry is a URL or a data URL. A model that reads none refuses the call. */
|
|
3552
|
+
images?: string[];
|
|
3553
|
+
}
|
|
3554
|
+
export interface TypesafeEvaluateStepOutput {
|
|
3555
|
+
/** Versioned model id that answered, such as jev-1.13.0. */
|
|
3556
|
+
model: string;
|
|
3557
|
+
/** One answer per question, under the same ids. */
|
|
3558
|
+
answers: Record<string, unknown>;
|
|
3559
|
+
/** Token counts for the call. Input tokens are what the model bills. */
|
|
3560
|
+
usage: {
|
|
3561
|
+
input_tokens: number;
|
|
3562
|
+
output_tokens: number;
|
|
3563
|
+
};
|
|
3564
|
+
}
|
|
3565
|
+
export interface UpdateGmailLabelsStepInput {
|
|
3566
|
+
/** Gmail search query to find messages (alternative to messageIds) */
|
|
3567
|
+
query: string;
|
|
3568
|
+
/** Google OAuth connection ID */
|
|
3569
|
+
connectionId?: string;
|
|
3570
|
+
/** Comma-separated message IDs to target (alternative to query) */
|
|
3571
|
+
messageIds: string;
|
|
3572
|
+
/** Comma-separated label names or IDs to add */
|
|
3573
|
+
addLabelIds: string;
|
|
3574
|
+
/** Comma-separated label names or IDs to remove */
|
|
3575
|
+
removeLabelIds: string;
|
|
3576
|
+
}
|
|
3577
|
+
export interface UpdateGmailLabelsStepOutput {
|
|
3578
|
+
/** Gmail message IDs that were updated */
|
|
3579
|
+
updatedMessageIds: string[];
|
|
3580
|
+
}
|
|
3581
|
+
export interface UpdateGoogleCalendarEventStepInput {
|
|
3582
|
+
/** Google OAuth connection ID */
|
|
3583
|
+
connectionId?: string;
|
|
3584
|
+
/** Google Calendar event ID to update */
|
|
3585
|
+
eventId: string;
|
|
3586
|
+
/** Updated event title */
|
|
3587
|
+
summary?: string;
|
|
3588
|
+
/** Updated event description */
|
|
3589
|
+
description?: string;
|
|
3590
|
+
/** Updated event location */
|
|
3591
|
+
location?: string;
|
|
3592
|
+
/** Updated start time in ISO 8601 format */
|
|
3593
|
+
startDateTime?: string;
|
|
3594
|
+
/** Updated end time in ISO 8601 format */
|
|
3595
|
+
endDateTime?: string;
|
|
3596
|
+
/** Updated attendee email addresses (one per line, replaces all existing attendees) */
|
|
3597
|
+
attendees?: string;
|
|
3598
|
+
/** Calendar ID (defaults to "primary" if omitted) */
|
|
3599
|
+
calendarId?: string;
|
|
3600
|
+
}
|
|
3601
|
+
export interface UpdateGoogleCalendarEventStepOutput {
|
|
3602
|
+
/** Google Calendar event ID */
|
|
3603
|
+
eventId: string;
|
|
3604
|
+
/** URL to view the updated event in Google Calendar */
|
|
3605
|
+
htmlLink: string;
|
|
3606
|
+
}
|
|
3607
|
+
export interface UpdateGoogleDocStepInput {
|
|
3608
|
+
/** Google Document ID to update */
|
|
3609
|
+
documentId: string;
|
|
3610
|
+
/** Google OAuth connection ID */
|
|
3611
|
+
connectionId?: string;
|
|
3612
|
+
/** New content to write to the document */
|
|
3613
|
+
text: string;
|
|
3614
|
+
/** Format of the text field: "plain", "html", or "markdown" */
|
|
3615
|
+
textType: "plain" | "html" | "markdown";
|
|
3616
|
+
/** How to apply the content: "addToTop", "addToBottom", or "overwrite" */
|
|
3617
|
+
operationType: "addToTop" | "addToBottom" | "overwrite";
|
|
3618
|
+
}
|
|
3619
|
+
export interface UpdateGoogleDocStepOutput {
|
|
3620
|
+
/** URL of the updated Google Document */
|
|
3621
|
+
documentUrl: string;
|
|
3622
|
+
}
|
|
3623
|
+
export interface UpdateGoogleSheetStepInput {
|
|
3624
|
+
/** CSV data to write to the spreadsheet */
|
|
3625
|
+
text: string;
|
|
3626
|
+
/** Google OAuth connection ID */
|
|
3627
|
+
connectionId?: string;
|
|
3628
|
+
/** Google Spreadsheet ID to update */
|
|
3629
|
+
spreadsheetId: string;
|
|
3630
|
+
/** Target cell range in A1 notation (used with "range" operationType) */
|
|
3631
|
+
range: string;
|
|
3632
|
+
/** How to apply the data: "addToBottom", "overwrite", or "range" */
|
|
3633
|
+
operationType: "addToBottom" | "overwrite" | "range";
|
|
3634
|
+
}
|
|
3635
|
+
export interface UpdateGoogleSheetStepOutput {
|
|
3636
|
+
/** URL of the updated Google Spreadsheet */
|
|
3637
|
+
spreadsheetUrl: string;
|
|
3638
|
+
}
|
|
3639
|
+
export interface UploadDataSourceDocumentStepInput {
|
|
3640
|
+
/** ID of the target data source (supports variable interpolation) */
|
|
3641
|
+
dataSourceId: string;
|
|
3642
|
+
/** A URL to download, or raw text content to create a .txt document from (supports variable interpolation) */
|
|
3643
|
+
file: string;
|
|
3644
|
+
/** Display name for the document (supports variable interpolation) */
|
|
3645
|
+
fileName: string;
|
|
3646
|
+
}
|
|
3647
|
+
export interface UploadDataSourceDocumentStepOutput {
|
|
3648
|
+
/** ID of the uploaded document */
|
|
3649
|
+
documentId: string;
|
|
3650
|
+
/** ID of the data source it was uploaded to */
|
|
3651
|
+
dataSourceId: string;
|
|
3652
|
+
/** Resolved file name */
|
|
3653
|
+
fileName: string;
|
|
3654
|
+
}
|
|
3655
|
+
export interface UpscaleImageStepInput {
|
|
3656
|
+
/** URL of the image to upscale */
|
|
3657
|
+
imageUrl: string;
|
|
3658
|
+
/** Target output resolution */
|
|
3659
|
+
targetResolution: "2k" | "4k" | "8k";
|
|
3660
|
+
/** Upscaling engine quality tier */
|
|
3661
|
+
engine: "standard" | "pro";
|
|
3662
|
+
}
|
|
3663
|
+
export interface UpscaleImageStepOutput {
|
|
3664
|
+
/** CDN URL of the upscaled image (PNG) */
|
|
3665
|
+
imageUrl: string;
|
|
3666
|
+
}
|
|
3667
|
+
export interface UpscaleVideoStepInput {
|
|
3668
|
+
/** URL of the source video to upscale */
|
|
3669
|
+
videoUrl: string;
|
|
3670
|
+
/** Target output resolution for the upscaled video */
|
|
3671
|
+
targetResolution: "720p" | "1080p" | "2K" | "4K";
|
|
3672
|
+
/** Upscaling engine to use. Higher tiers produce better quality at higher cost. */
|
|
3673
|
+
engine: "standard" | "pro" | "ultimate" | "flashvsr" | "seedance" | "seedvr2" | "runwayml/upscale-v1";
|
|
3674
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
3675
|
+
intermediateAsset?: boolean;
|
|
3676
|
+
}
|
|
3677
|
+
export interface UpscaleVideoStepOutput {
|
|
3678
|
+
/** URL of the upscaled video */
|
|
3679
|
+
videoUrl: string;
|
|
3680
|
+
}
|
|
3681
|
+
export interface UserMessageStepInput {
|
|
3682
|
+
/** The message to send (prompt for AI, or text for system echo) */
|
|
3683
|
+
message: string;
|
|
3684
|
+
/** Message source: "user" sends to AI model, "system" echoes message content directly. Defaults to "user" */
|
|
3685
|
+
source?: "user" | "system";
|
|
3686
|
+
/** Model configuration override. Optional; uses the workflow's default model if not specified */
|
|
3687
|
+
modelOverride?: {
|
|
3688
|
+
/** Model identifier (e.g. "gpt-4", "claude-3-opus") */
|
|
3689
|
+
model: string;
|
|
3690
|
+
/** Sampling temperature for the model (0-2) */
|
|
3691
|
+
temperature: number;
|
|
3692
|
+
/** Maximum number of tokens in the model's response */
|
|
3693
|
+
maxResponseTokens: number;
|
|
3694
|
+
/** Whether to skip the system preamble/instructions */
|
|
3695
|
+
ignorePreamble?: boolean;
|
|
3696
|
+
/** Preprocessor applied to user messages before sending to the model */
|
|
3697
|
+
userMessagePreprocessor?: {
|
|
3698
|
+
/** Data source identifier for the preprocessor */
|
|
3699
|
+
dataSource?: string;
|
|
3700
|
+
/** Template string applied to user messages before sending to the model */
|
|
3701
|
+
messageTemplate?: string;
|
|
3702
|
+
/** Maximum number of results to include from the data source */
|
|
3703
|
+
maxResults?: number;
|
|
3704
|
+
/** Whether the preprocessor is active */
|
|
3705
|
+
enabled?: boolean;
|
|
3706
|
+
/** Whether child steps should inherit this preprocessor configuration */
|
|
3707
|
+
shouldInherit?: boolean;
|
|
3708
|
+
};
|
|
3709
|
+
/** System preamble/instructions for the model */
|
|
3710
|
+
preamble?: string;
|
|
3711
|
+
/** Whether multi-model candidate generation is enabled */
|
|
3712
|
+
multiModelEnabled?: boolean;
|
|
3713
|
+
/** Whether the user can edit the model's response */
|
|
3714
|
+
editResponseEnabled?: boolean;
|
|
3715
|
+
/** Prompt caching, on models that bill cache writes. Absent: cached where something reads it back (the later steps of a run, a chat). `false` turns it off, for a single call such as a daily scheduled run. `true` caches even a single call, for a prompt resent unchanged within minutes. */
|
|
3716
|
+
promptCaching?: boolean;
|
|
3717
|
+
/** Additional model-specific configuration */
|
|
3718
|
+
config?: Record<string, unknown>;
|
|
3719
|
+
};
|
|
3720
|
+
/** Output format constraint for structured responses */
|
|
3721
|
+
structuredOutputType?: "text" | "json" | "csv";
|
|
3722
|
+
/** Sample showing the desired output shape (for JSON/CSV formats). A TypeScript interface is also useful here for more complex types. */
|
|
3723
|
+
structuredOutputExample?: string;
|
|
3724
|
+
/** Whether to include or exclude prior chat history in the AI context */
|
|
3725
|
+
chatHistoryMode?: "include" | "exclude";
|
|
3726
|
+
}
|
|
3727
|
+
export interface UserMessageStepOutput {
|
|
3728
|
+
/** The AI model's response or echoed system message content */
|
|
3729
|
+
content: string;
|
|
3730
|
+
}
|
|
3731
|
+
export interface VideoFaceSwapStepInput {
|
|
3732
|
+
/** URL of the source video containing faces to swap */
|
|
3733
|
+
videoUrl: string;
|
|
3734
|
+
/** URL of the image containing the replacement face */
|
|
3735
|
+
faceImageUrl: string;
|
|
3736
|
+
/** Zero-based index of the face to replace in the video */
|
|
3737
|
+
targetIndex: number;
|
|
3738
|
+
/** Face swap engine to use */
|
|
3739
|
+
engine: string;
|
|
3740
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
3741
|
+
intermediateAsset?: boolean;
|
|
3742
|
+
}
|
|
3743
|
+
export interface VideoFaceSwapStepOutput {
|
|
3744
|
+
/** URL of the face-swapped video */
|
|
3745
|
+
videoUrl: string;
|
|
3746
|
+
}
|
|
3747
|
+
export interface VideoRemoveBackgroundStepInput {
|
|
3748
|
+
/** URL of the source video */
|
|
3749
|
+
videoUrl: string;
|
|
3750
|
+
/** Whether to make the background transparent or replace it with an image */
|
|
3751
|
+
newBackground: "transparent" | "image";
|
|
3752
|
+
/** URL of a replacement background image. Required when newBackground is 'image'. */
|
|
3753
|
+
newBackgroundImageUrl?: string;
|
|
3754
|
+
/** Background removal engine to use */
|
|
3755
|
+
engine: string;
|
|
3756
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
3757
|
+
intermediateAsset?: boolean;
|
|
3758
|
+
}
|
|
3759
|
+
export interface VideoRemoveBackgroundStepOutput {
|
|
3760
|
+
/** URL of the video with background removed or replaced */
|
|
3761
|
+
videoUrl: string;
|
|
3762
|
+
}
|
|
3763
|
+
export interface VideoRemoveWatermarkStepInput {
|
|
3764
|
+
/** URL of the source video containing a watermark */
|
|
3765
|
+
videoUrl: string;
|
|
3766
|
+
/** Watermark removal engine to use */
|
|
3767
|
+
engine: string;
|
|
3768
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
3769
|
+
intermediateAsset?: boolean;
|
|
3770
|
+
}
|
|
3771
|
+
export interface VideoRemoveWatermarkStepOutput {
|
|
3772
|
+
/** URL of the video with watermark removed */
|
|
3773
|
+
videoUrl: string;
|
|
3774
|
+
}
|
|
3775
|
+
export interface WatermarkImageStepInput {
|
|
3776
|
+
/** URL of the base image */
|
|
3777
|
+
imageUrl: string;
|
|
3778
|
+
/** URL of the watermark image to overlay */
|
|
3779
|
+
watermarkImageUrl: string;
|
|
3780
|
+
/** Corner position for the watermark placement */
|
|
3781
|
+
corner: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
3782
|
+
/** Padding from the corner in pixels */
|
|
3783
|
+
paddingPx: number;
|
|
3784
|
+
/** Width of the watermark overlay in pixels */
|
|
3785
|
+
widthPx: number;
|
|
3786
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
3787
|
+
intermediateAsset?: boolean;
|
|
3788
|
+
}
|
|
3789
|
+
export interface WatermarkImageStepOutput {
|
|
3790
|
+
/** CDN URL of the watermarked image */
|
|
3791
|
+
imageUrl: string;
|
|
3792
|
+
}
|
|
3793
|
+
export interface WatermarkVideoStepInput {
|
|
3794
|
+
/** URL of the source video */
|
|
3795
|
+
videoUrl: string;
|
|
3796
|
+
/** URL of the watermark image to overlay */
|
|
3797
|
+
imageUrl: string;
|
|
3798
|
+
/** Corner position for the watermark placement */
|
|
3799
|
+
corner: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
3800
|
+
/** Padding from the corner in pixels */
|
|
3801
|
+
paddingPx: number;
|
|
3802
|
+
/** Width of the watermark overlay in pixels */
|
|
3803
|
+
widthPx: number;
|
|
3804
|
+
/** When true, the asset is created but hidden from the user's gallery (tagged as intermediate) */
|
|
3805
|
+
intermediateAsset?: boolean;
|
|
3806
|
+
}
|
|
3807
|
+
export interface WatermarkVideoStepOutput {
|
|
3808
|
+
/** URL of the watermarked video */
|
|
3809
|
+
videoUrl: string;
|
|
3810
|
+
}
|
|
3811
|
+
export interface YouDotComFinanceResearchStepInput {
|
|
3812
|
+
/** Financial research question */
|
|
3813
|
+
input: string;
|
|
3814
|
+
/** Depth of finance research to perform */
|
|
3815
|
+
researchEffort?: "deep" | "exhaustive";
|
|
3816
|
+
}
|
|
3817
|
+
export interface YouDotComFinanceResearchStepOutput {
|
|
3818
|
+
/** Full response returned by the You.com API */
|
|
3819
|
+
data: Record<string, unknown> | unknown[];
|
|
3820
|
+
}
|
|
3821
|
+
export interface YouDotComGetPageContentStepInput {
|
|
3822
|
+
/** URLs to fetch, max 10 */
|
|
3823
|
+
urls: string[];
|
|
3824
|
+
/** Content formats to return; defaults to markdown */
|
|
3825
|
+
formats?: ("markdown" | "html" | "metadata")[];
|
|
3826
|
+
/** Per-URL crawl timeout in seconds */
|
|
3827
|
+
crawlTimeout?: number;
|
|
3828
|
+
}
|
|
3829
|
+
export interface YouDotComGetPageContentStepOutput {
|
|
3830
|
+
/** Full response returned by the You.com API */
|
|
3831
|
+
data: Record<string, unknown> | unknown[];
|
|
3832
|
+
}
|
|
3833
|
+
export interface YouDotComLiveNewsStepInput {
|
|
3834
|
+
/** News query */
|
|
3835
|
+
query: string;
|
|
3836
|
+
/** Recency filter; defaults to day */
|
|
3837
|
+
freshness?: string;
|
|
3838
|
+
/** Max results per section, up to 100 */
|
|
3839
|
+
count?: number;
|
|
3840
|
+
/** ISO 3166-1 alpha-2 country code */
|
|
3841
|
+
country?: string;
|
|
3842
|
+
/** BCP 47 language code */
|
|
3843
|
+
language?: string;
|
|
3844
|
+
/** Content moderation level */
|
|
3845
|
+
safesearch?: "off" | "moderate" | "strict";
|
|
3846
|
+
/** Fetch full content for news or all results */
|
|
3847
|
+
livecrawl?: "news" | "all";
|
|
3848
|
+
/** Full-content formats to return when livecrawl is enabled */
|
|
3849
|
+
livecrawlFormats?: ("markdown" | "html")[];
|
|
3850
|
+
}
|
|
3851
|
+
export interface YouDotComLiveNewsStepOutput {
|
|
3852
|
+
/** Full response returned by the You.com API */
|
|
3853
|
+
data: Record<string, unknown> | unknown[];
|
|
3854
|
+
}
|
|
3855
|
+
export interface YouDotComWebResearchStepInput {
|
|
3856
|
+
/** Research question */
|
|
3857
|
+
input: string;
|
|
3858
|
+
/** Depth of research to perform */
|
|
3859
|
+
researchEffort?: "lite" | "standard" | "deep" | "exhaustive";
|
|
3860
|
+
/** Source constraints for the research agent */
|
|
3861
|
+
sourceControl?: {
|
|
3862
|
+
includeDomains?: string[];
|
|
3863
|
+
excludeDomains?: string[];
|
|
3864
|
+
boostDomains?: string[];
|
|
3865
|
+
freshness?: string;
|
|
3866
|
+
country?: string;
|
|
3867
|
+
} | string;
|
|
3868
|
+
/** JSON schema for structured output */
|
|
3869
|
+
outputSchema?: Record<string, unknown> | string;
|
|
3870
|
+
}
|
|
3871
|
+
export interface YouDotComWebResearchStepOutput {
|
|
3872
|
+
/** Full response returned by the You.com API */
|
|
3873
|
+
data: Record<string, unknown> | unknown[];
|
|
3874
|
+
}
|
|
3875
|
+
export interface YouDotComWebSearchStepInput {
|
|
3876
|
+
/** Search query; supports You.com search operators */
|
|
3877
|
+
query: string;
|
|
3878
|
+
/** Max results per section, up to 100 */
|
|
3879
|
+
count?: number;
|
|
3880
|
+
/** Recency filter: day, week, month, year, or YYYY-MM-DDtoYYYY-MM-DD */
|
|
3881
|
+
freshness?: string;
|
|
3882
|
+
/** ISO 3166-1 alpha-2 country code */
|
|
3883
|
+
country?: string;
|
|
3884
|
+
/** BCP 47 language code */
|
|
3885
|
+
language?: string;
|
|
3886
|
+
/** Pagination offset, 0-9 */
|
|
3887
|
+
offset?: number;
|
|
3888
|
+
/** Content moderation level */
|
|
3889
|
+
safesearch?: "off" | "moderate" | "strict";
|
|
3890
|
+
/** Fetch full content for web, news, or all results */
|
|
3891
|
+
livecrawl?: "web" | "news" | "all";
|
|
3892
|
+
/** Full-content formats to return when livecrawl is enabled */
|
|
3893
|
+
livecrawlFormats?: ("markdown" | "html")[];
|
|
3894
|
+
/** Maximum livecrawl timeout in seconds */
|
|
3895
|
+
crawlTimeout?: number;
|
|
3896
|
+
/** Restrict results to these domains */
|
|
3897
|
+
includeDomains?: string[];
|
|
3898
|
+
/** Exclude these domains */
|
|
3899
|
+
excludeDomains?: string[];
|
|
3900
|
+
/** Boost these domains without excluding other domains */
|
|
3901
|
+
boostDomains?: string[];
|
|
3902
|
+
}
|
|
3903
|
+
export interface YouDotComWebSearchStepOutput {
|
|
3904
|
+
/** Full response returned by the You.com API */
|
|
3905
|
+
data: Record<string, unknown> | unknown[];
|
|
3906
|
+
}
|
|
3907
|
+
export type GenerateAssetStepInput = GeneratePdfStepInput;
|
|
3908
|
+
export type GenerateAssetStepOutput = GeneratePdfStepOutput;
|
|
3909
|
+
export type GenerateTextStepInput = UserMessageStepInput;
|
|
3910
|
+
export type GenerateTextStepOutput = UserMessageStepOutput;
|
|
3911
|
+
/** Union of all available step type names. */
|
|
3912
|
+
export type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "addThumbnailToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "checkAppRole" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGmailDraft" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "decomposeImage" | "deleteDataSource" | "deleteDataSourceDocument" | "deleteGmailEmail" | "deleteGoogleCalendarEvent" | "deleteGoogleSheetRows" | "detectChanges" | "detectPII" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "evaluateDecision" | "extractAudioFromVideo" | "extractText" | "fetchDataSourceDocument" | "fetchGoogleDoc" | "fetchGoogleSheet" | "fetchSlackChannelHistory" | "fetchYoutubeCaptions" | "fetchYoutubeChannel" | "fetchYoutubeComments" | "fetchYoutubeVideo" | "generate3dModel" | "generateImage" | "generateLipsync" | "generateMusic" | "generatePdf" | "generateSound" | "generateStaticVideoFromImage" | "generateVideo" | "getGmailAttachments" | "getGmailDraft" | "getGmailEmail" | "getGmailUnreadCount" | "getGoogleCalendarEvent" | "getGoogleDriveFile" | "getGoogleSheetInfo" | "getMediaMetadata" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "importFromUrl" | "insertVideoClips" | "listDataSources" | "listGmailDrafts" | "listGmailLabels" | "listGoogleCalendarEvents" | "listGoogleDriveFiles" | "listRecentGmailEmails" | "logic" | "makeDotComRunScenario" | "mergeAudio" | "mergeVideos" | "meshyAnimate" | "meshyImageTo3d" | "meshyRemesh" | "meshyRig" | "meshyTextTo3d" | "meshyTexture" | "mixAudioIntoVideo" | "muteVideo" | "n8nRunNode" | "notionCreatePage" | "notionUpdatePage" | "peopleSearch" | "postToLinkedIn" | "postToSlackChannel" | "postToX" | "postToZapier" | "queryDataSource" | "queryExternalDatabase" | "quickbooksApiRequest" | "redactPII" | "removeBackgroundFromImage" | "renderVideoFromHtmlComposition" | "replyToGmailEmail" | "resizeVideo" | "runFfmpeg" | "runFromConnectorRegistry" | "scrapeLinkedInCompany" | "scrapeLinkedInProfile" | "scrapeUrl" | "scrapeXPost" | "scrapeXProfile" | "screenshotUrl" | "searchGmailEmails" | "searchGoogle" | "searchGoogleCalendarEvents" | "searchGoogleDrive" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendGmailDraft" | "sendGmailMessage" | "sendSlackDirectMessage" | "sendSMS" | "setGmailReadStatus" | "setRunTitle" | "setVariable" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "typesafeEvaluate" | "updateGmailLabels" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo" | "youDotComFinanceResearch" | "youDotComGetPageContent" | "youDotComLiveNews" | "youDotComWebResearch" | "youDotComWebSearch";
|
|
3913
|
+
/** Maps step names to their input types. */
|
|
3914
|
+
export interface StepInputMap {
|
|
3915
|
+
activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
|
|
3916
|
+
activeCampaignCreateContact: ActiveCampaignCreateContactStepInput;
|
|
3917
|
+
addSubtitlesToVideo: AddSubtitlesToVideoStepInput;
|
|
3918
|
+
addThumbnailToVideo: AddThumbnailToVideoStepInput;
|
|
3919
|
+
airtableCreateUpdateRecord: AirtableCreateUpdateRecordStepInput;
|
|
3920
|
+
airtableDeleteRecord: AirtableDeleteRecordStepInput;
|
|
3921
|
+
airtableGetRecord: AirtableGetRecordStepInput;
|
|
3922
|
+
airtableGetTableRecords: AirtableGetTableRecordsStepInput;
|
|
3923
|
+
analyzeImage: AnalyzeImageStepInput;
|
|
3924
|
+
analyzeVideo: AnalyzeVideoStepInput;
|
|
3925
|
+
captureThumbnail: CaptureThumbnailStepInput;
|
|
3926
|
+
checkAppRole: CheckAppRoleStepInput;
|
|
3927
|
+
codaCreateUpdatePage: CodaCreateUpdatePageStepInput;
|
|
3928
|
+
codaCreateUpdateRow: CodaCreateUpdateRowStepInput;
|
|
3929
|
+
codaFindRow: CodaFindRowStepInput;
|
|
3930
|
+
codaGetPage: CodaGetPageStepInput;
|
|
3931
|
+
codaGetTableRows: CodaGetTableRowsStepInput;
|
|
3932
|
+
convertPdfToImages: ConvertPdfToImagesStepInput;
|
|
3933
|
+
createDataSource: CreateDataSourceStepInput;
|
|
3934
|
+
createGmailDraft: CreateGmailDraftStepInput;
|
|
3935
|
+
createGoogleCalendarEvent: CreateGoogleCalendarEventStepInput;
|
|
3936
|
+
createGoogleDoc: CreateGoogleDocStepInput;
|
|
3937
|
+
createGoogleSheet: CreateGoogleSheetStepInput;
|
|
3938
|
+
decomposeImage: DecomposeImageStepInput;
|
|
3939
|
+
deleteDataSource: DeleteDataSourceStepInput;
|
|
3940
|
+
deleteDataSourceDocument: DeleteDataSourceDocumentStepInput;
|
|
3941
|
+
deleteGmailEmail: DeleteGmailEmailStepInput;
|
|
3942
|
+
deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepInput;
|
|
3943
|
+
deleteGoogleSheetRows: DeleteGoogleSheetRowsStepInput;
|
|
3944
|
+
detectChanges: DetectChangesStepInput;
|
|
3945
|
+
detectPII: DetectPIIStepInput;
|
|
3946
|
+
downloadVideo: DownloadVideoStepInput;
|
|
3947
|
+
enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepInput;
|
|
3948
|
+
enhanceVideoGenerationPrompt: EnhanceVideoGenerationPromptStepInput;
|
|
3949
|
+
enrichPerson: EnrichPersonStepInput;
|
|
3950
|
+
evaluateDecision: EvaluateDecisionStepInput;
|
|
3951
|
+
extractAudioFromVideo: ExtractAudioFromVideoStepInput;
|
|
3952
|
+
extractText: ExtractTextStepInput;
|
|
3953
|
+
fetchDataSourceDocument: FetchDataSourceDocumentStepInput;
|
|
3954
|
+
fetchGoogleDoc: FetchGoogleDocStepInput;
|
|
3955
|
+
fetchGoogleSheet: FetchGoogleSheetStepInput;
|
|
3956
|
+
fetchSlackChannelHistory: FetchSlackChannelHistoryStepInput;
|
|
3957
|
+
fetchYoutubeCaptions: FetchYoutubeCaptionsStepInput;
|
|
3958
|
+
fetchYoutubeChannel: FetchYoutubeChannelStepInput;
|
|
3959
|
+
fetchYoutubeComments: FetchYoutubeCommentsStepInput;
|
|
3960
|
+
fetchYoutubeVideo: FetchYoutubeVideoStepInput;
|
|
3961
|
+
generate3dModel: Generate3dModelStepInput;
|
|
3962
|
+
generateImage: GenerateImageStepInput;
|
|
3963
|
+
generateLipsync: GenerateLipsyncStepInput;
|
|
3964
|
+
generateMusic: GenerateMusicStepInput;
|
|
3965
|
+
generatePdf: GeneratePdfStepInput;
|
|
3966
|
+
generateSound: GenerateSoundStepInput;
|
|
3967
|
+
generateStaticVideoFromImage: GenerateStaticVideoFromImageStepInput;
|
|
3968
|
+
generateVideo: GenerateVideoStepInput;
|
|
3969
|
+
getGmailAttachments: GetGmailAttachmentsStepInput;
|
|
3970
|
+
getGmailDraft: GetGmailDraftStepInput;
|
|
3971
|
+
getGmailEmail: GetGmailEmailStepInput;
|
|
3972
|
+
getGmailUnreadCount: GetGmailUnreadCountStepInput;
|
|
3973
|
+
getGoogleCalendarEvent: GetGoogleCalendarEventStepInput;
|
|
3974
|
+
getGoogleDriveFile: GetGoogleDriveFileStepInput;
|
|
3975
|
+
getGoogleSheetInfo: GetGoogleSheetInfoStepInput;
|
|
3976
|
+
getMediaMetadata: GetMediaMetadataStepInput;
|
|
3977
|
+
hubspotCreateCompany: HubspotCreateCompanyStepInput;
|
|
3978
|
+
hubspotCreateContact: HubspotCreateContactStepInput;
|
|
3979
|
+
hubspotGetCompany: HubspotGetCompanyStepInput;
|
|
3980
|
+
hubspotGetContact: HubspotGetContactStepInput;
|
|
3981
|
+
hunterApiCompanyEnrichment: HunterApiCompanyEnrichmentStepInput;
|
|
3982
|
+
hunterApiDomainSearch: HunterApiDomainSearchStepInput;
|
|
3983
|
+
hunterApiEmailFinder: HunterApiEmailFinderStepInput;
|
|
3984
|
+
hunterApiEmailVerification: HunterApiEmailVerificationStepInput;
|
|
3985
|
+
hunterApiPersonEnrichment: HunterApiPersonEnrichmentStepInput;
|
|
3986
|
+
imageFaceSwap: ImageFaceSwapStepInput;
|
|
3987
|
+
imageRemoveWatermark: ImageRemoveWatermarkStepInput;
|
|
3988
|
+
importFromUrl: ImportFromUrlStepInput;
|
|
3989
|
+
insertVideoClips: InsertVideoClipsStepInput;
|
|
3990
|
+
listDataSources: ListDataSourcesStepInput;
|
|
3991
|
+
listGmailDrafts: ListGmailDraftsStepInput;
|
|
3992
|
+
listGmailLabels: ListGmailLabelsStepInput;
|
|
3993
|
+
listGoogleCalendarEvents: ListGoogleCalendarEventsStepInput;
|
|
3994
|
+
listGoogleDriveFiles: ListGoogleDriveFilesStepInput;
|
|
3995
|
+
listRecentGmailEmails: ListRecentGmailEmailsStepInput;
|
|
3996
|
+
logic: LogicStepInput;
|
|
3997
|
+
makeDotComRunScenario: MakeDotComRunScenarioStepInput;
|
|
3998
|
+
mergeAudio: MergeAudioStepInput;
|
|
3999
|
+
mergeVideos: MergeVideosStepInput;
|
|
4000
|
+
meshyAnimate: MeshyAnimateStepInput;
|
|
4001
|
+
meshyImageTo3d: MeshyImageTo3dStepInput;
|
|
4002
|
+
meshyRemesh: MeshyRemeshStepInput;
|
|
4003
|
+
meshyRig: MeshyRigStepInput;
|
|
4004
|
+
meshyTextTo3d: MeshyTextTo3dStepInput;
|
|
4005
|
+
meshyTexture: MeshyTextureStepInput;
|
|
4006
|
+
mixAudioIntoVideo: MixAudioIntoVideoStepInput;
|
|
4007
|
+
muteVideo: MuteVideoStepInput;
|
|
4008
|
+
n8nRunNode: N8nRunNodeStepInput;
|
|
4009
|
+
notionCreatePage: NotionCreatePageStepInput;
|
|
4010
|
+
notionUpdatePage: NotionUpdatePageStepInput;
|
|
4011
|
+
peopleSearch: PeopleSearchStepInput;
|
|
4012
|
+
postToLinkedIn: PostToLinkedInStepInput;
|
|
4013
|
+
postToSlackChannel: PostToSlackChannelStepInput;
|
|
4014
|
+
postToX: PostToXStepInput;
|
|
4015
|
+
postToZapier: PostToZapierStepInput;
|
|
4016
|
+
queryDataSource: QueryDataSourceStepInput;
|
|
4017
|
+
queryExternalDatabase: QueryExternalDatabaseStepInput;
|
|
4018
|
+
quickbooksApiRequest: QuickbooksApiRequestStepInput;
|
|
4019
|
+
redactPII: RedactPIIStepInput;
|
|
4020
|
+
removeBackgroundFromImage: RemoveBackgroundFromImageStepInput;
|
|
4021
|
+
renderVideoFromHtmlComposition: RenderVideoFromHtmlCompositionStepInput;
|
|
4022
|
+
replyToGmailEmail: ReplyToGmailEmailStepInput;
|
|
4023
|
+
resizeVideo: ResizeVideoStepInput;
|
|
4024
|
+
runFfmpeg: RunFfmpegStepInput;
|
|
4025
|
+
runFromConnectorRegistry: RunFromConnectorRegistryStepInput;
|
|
4026
|
+
scrapeLinkedInCompany: ScrapeLinkedInCompanyStepInput;
|
|
4027
|
+
scrapeLinkedInProfile: ScrapeLinkedInProfileStepInput;
|
|
4028
|
+
scrapeUrl: ScrapeUrlStepInput;
|
|
4029
|
+
scrapeXPost: ScrapeXPostStepInput;
|
|
4030
|
+
scrapeXProfile: ScrapeXProfileStepInput;
|
|
4031
|
+
screenshotUrl: ScreenshotUrlStepInput;
|
|
4032
|
+
searchGmailEmails: SearchGmailEmailsStepInput;
|
|
4033
|
+
searchGoogle: SearchGoogleStepInput;
|
|
4034
|
+
searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepInput;
|
|
4035
|
+
searchGoogleDrive: SearchGoogleDriveStepInput;
|
|
4036
|
+
searchGoogleImages: SearchGoogleImagesStepInput;
|
|
4037
|
+
searchGoogleNews: SearchGoogleNewsStepInput;
|
|
4038
|
+
searchGoogleTrends: SearchGoogleTrendsStepInput;
|
|
4039
|
+
searchPerplexity: SearchPerplexityStepInput;
|
|
4040
|
+
searchXPosts: SearchXPostsStepInput;
|
|
4041
|
+
searchYoutube: SearchYoutubeStepInput;
|
|
4042
|
+
searchYoutubeTrends: SearchYoutubeTrendsStepInput;
|
|
4043
|
+
sendEmail: SendEmailStepInput;
|
|
4044
|
+
sendGmailDraft: SendGmailDraftStepInput;
|
|
4045
|
+
sendGmailMessage: SendGmailMessageStepInput;
|
|
4046
|
+
sendSlackDirectMessage: SendSlackDirectMessageStepInput;
|
|
4047
|
+
sendSMS: SendSMSStepInput;
|
|
4048
|
+
setGmailReadStatus: SetGmailReadStatusStepInput;
|
|
4049
|
+
setRunTitle: SetRunTitleStepInput;
|
|
4050
|
+
setVariable: SetVariableStepInput;
|
|
4051
|
+
textToSpeech: TextToSpeechStepInput;
|
|
4052
|
+
transcribeAudio: TranscribeAudioStepInput;
|
|
4053
|
+
trimMedia: TrimMediaStepInput;
|
|
4054
|
+
typesafeEvaluate: TypesafeEvaluateStepInput;
|
|
4055
|
+
updateGmailLabels: UpdateGmailLabelsStepInput;
|
|
4056
|
+
updateGoogleCalendarEvent: UpdateGoogleCalendarEventStepInput;
|
|
4057
|
+
updateGoogleDoc: UpdateGoogleDocStepInput;
|
|
4058
|
+
updateGoogleSheet: UpdateGoogleSheetStepInput;
|
|
4059
|
+
uploadDataSourceDocument: UploadDataSourceDocumentStepInput;
|
|
4060
|
+
upscaleImage: UpscaleImageStepInput;
|
|
4061
|
+
upscaleVideo: UpscaleVideoStepInput;
|
|
4062
|
+
userMessage: UserMessageStepInput;
|
|
4063
|
+
videoFaceSwap: VideoFaceSwapStepInput;
|
|
4064
|
+
videoRemoveBackground: VideoRemoveBackgroundStepInput;
|
|
4065
|
+
videoRemoveWatermark: VideoRemoveWatermarkStepInput;
|
|
4066
|
+
watermarkImage: WatermarkImageStepInput;
|
|
4067
|
+
watermarkVideo: WatermarkVideoStepInput;
|
|
4068
|
+
youDotComFinanceResearch: YouDotComFinanceResearchStepInput;
|
|
4069
|
+
youDotComGetPageContent: YouDotComGetPageContentStepInput;
|
|
4070
|
+
youDotComLiveNews: YouDotComLiveNewsStepInput;
|
|
4071
|
+
youDotComWebResearch: YouDotComWebResearchStepInput;
|
|
4072
|
+
youDotComWebSearch: YouDotComWebSearchStepInput;
|
|
4073
|
+
}
|
|
4074
|
+
/** Maps step names to their output types. */
|
|
4075
|
+
export interface StepOutputMap {
|
|
4076
|
+
activeCampaignAddNote: ActiveCampaignAddNoteStepOutput;
|
|
4077
|
+
activeCampaignCreateContact: ActiveCampaignCreateContactStepOutput;
|
|
4078
|
+
addSubtitlesToVideo: AddSubtitlesToVideoStepOutput;
|
|
4079
|
+
addThumbnailToVideo: AddThumbnailToVideoStepOutput;
|
|
4080
|
+
airtableCreateUpdateRecord: AirtableCreateUpdateRecordStepOutput;
|
|
4081
|
+
airtableDeleteRecord: AirtableDeleteRecordStepOutput;
|
|
4082
|
+
airtableGetRecord: AirtableGetRecordStepOutput;
|
|
4083
|
+
airtableGetTableRecords: AirtableGetTableRecordsStepOutput;
|
|
4084
|
+
analyzeImage: AnalyzeImageStepOutput;
|
|
4085
|
+
analyzeVideo: AnalyzeVideoStepOutput;
|
|
4086
|
+
captureThumbnail: CaptureThumbnailStepOutput;
|
|
4087
|
+
checkAppRole: CheckAppRoleStepOutput;
|
|
4088
|
+
codaCreateUpdatePage: CodaCreateUpdatePageStepOutput;
|
|
4089
|
+
codaCreateUpdateRow: CodaCreateUpdateRowStepOutput;
|
|
4090
|
+
codaFindRow: CodaFindRowStepOutput;
|
|
4091
|
+
codaGetPage: CodaGetPageStepOutput;
|
|
4092
|
+
codaGetTableRows: CodaGetTableRowsStepOutput;
|
|
4093
|
+
convertPdfToImages: ConvertPdfToImagesStepOutput;
|
|
4094
|
+
createDataSource: CreateDataSourceStepOutput;
|
|
4095
|
+
createGmailDraft: CreateGmailDraftStepOutput;
|
|
4096
|
+
createGoogleCalendarEvent: CreateGoogleCalendarEventStepOutput;
|
|
4097
|
+
createGoogleDoc: CreateGoogleDocStepOutput;
|
|
4098
|
+
createGoogleSheet: CreateGoogleSheetStepOutput;
|
|
4099
|
+
decomposeImage: DecomposeImageStepOutput;
|
|
4100
|
+
deleteDataSource: DeleteDataSourceStepOutput;
|
|
4101
|
+
deleteDataSourceDocument: DeleteDataSourceDocumentStepOutput;
|
|
4102
|
+
deleteGmailEmail: DeleteGmailEmailStepOutput;
|
|
4103
|
+
deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepOutput;
|
|
4104
|
+
deleteGoogleSheetRows: DeleteGoogleSheetRowsStepOutput;
|
|
4105
|
+
detectChanges: DetectChangesStepOutput;
|
|
4106
|
+
detectPII: DetectPIIStepOutput;
|
|
4107
|
+
downloadVideo: DownloadVideoStepOutput;
|
|
4108
|
+
enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepOutput;
|
|
4109
|
+
enhanceVideoGenerationPrompt: EnhanceVideoGenerationPromptStepOutput;
|
|
4110
|
+
enrichPerson: EnrichPersonStepOutput;
|
|
4111
|
+
evaluateDecision: EvaluateDecisionStepOutput;
|
|
4112
|
+
extractAudioFromVideo: ExtractAudioFromVideoStepOutput;
|
|
4113
|
+
extractText: ExtractTextStepOutput;
|
|
4114
|
+
fetchDataSourceDocument: FetchDataSourceDocumentStepOutput;
|
|
4115
|
+
fetchGoogleDoc: FetchGoogleDocStepOutput;
|
|
4116
|
+
fetchGoogleSheet: FetchGoogleSheetStepOutput;
|
|
4117
|
+
fetchSlackChannelHistory: FetchSlackChannelHistoryStepOutput;
|
|
4118
|
+
fetchYoutubeCaptions: FetchYoutubeCaptionsStepOutput;
|
|
4119
|
+
fetchYoutubeChannel: FetchYoutubeChannelStepOutput;
|
|
4120
|
+
fetchYoutubeComments: FetchYoutubeCommentsStepOutput;
|
|
4121
|
+
fetchYoutubeVideo: FetchYoutubeVideoStepOutput;
|
|
4122
|
+
generate3dModel: Generate3dModelStepOutput;
|
|
4123
|
+
generateImage: GenerateImageStepOutput;
|
|
4124
|
+
generateLipsync: GenerateLipsyncStepOutput;
|
|
4125
|
+
generateMusic: GenerateMusicStepOutput;
|
|
4126
|
+
generatePdf: GeneratePdfStepOutput;
|
|
4127
|
+
generateSound: GenerateSoundStepOutput;
|
|
4128
|
+
generateStaticVideoFromImage: GenerateStaticVideoFromImageStepOutput;
|
|
4129
|
+
generateVideo: GenerateVideoStepOutput;
|
|
4130
|
+
getGmailAttachments: GetGmailAttachmentsStepOutput;
|
|
4131
|
+
getGmailDraft: GetGmailDraftStepOutput;
|
|
4132
|
+
getGmailEmail: GetGmailEmailStepOutput;
|
|
4133
|
+
getGmailUnreadCount: GetGmailUnreadCountStepOutput;
|
|
4134
|
+
getGoogleCalendarEvent: GetGoogleCalendarEventStepOutput;
|
|
4135
|
+
getGoogleDriveFile: GetGoogleDriveFileStepOutput;
|
|
4136
|
+
getGoogleSheetInfo: GetGoogleSheetInfoStepOutput;
|
|
4137
|
+
getMediaMetadata: GetMediaMetadataStepOutput;
|
|
4138
|
+
hubspotCreateCompany: HubspotCreateCompanyStepOutput;
|
|
4139
|
+
hubspotCreateContact: HubspotCreateContactStepOutput;
|
|
4140
|
+
hubspotGetCompany: HubspotGetCompanyStepOutput;
|
|
4141
|
+
hubspotGetContact: HubspotGetContactStepOutput;
|
|
4142
|
+
hunterApiCompanyEnrichment: HunterApiCompanyEnrichmentStepOutput;
|
|
4143
|
+
hunterApiDomainSearch: HunterApiDomainSearchStepOutput;
|
|
4144
|
+
hunterApiEmailFinder: HunterApiEmailFinderStepOutput;
|
|
4145
|
+
hunterApiEmailVerification: HunterApiEmailVerificationStepOutput;
|
|
4146
|
+
hunterApiPersonEnrichment: HunterApiPersonEnrichmentStepOutput;
|
|
4147
|
+
imageFaceSwap: ImageFaceSwapStepOutput;
|
|
4148
|
+
imageRemoveWatermark: ImageRemoveWatermarkStepOutput;
|
|
4149
|
+
importFromUrl: ImportFromUrlStepOutput;
|
|
4150
|
+
insertVideoClips: InsertVideoClipsStepOutput;
|
|
4151
|
+
listDataSources: ListDataSourcesStepOutput;
|
|
4152
|
+
listGmailDrafts: ListGmailDraftsStepOutput;
|
|
4153
|
+
listGmailLabels: ListGmailLabelsStepOutput;
|
|
4154
|
+
listGoogleCalendarEvents: ListGoogleCalendarEventsStepOutput;
|
|
4155
|
+
listGoogleDriveFiles: ListGoogleDriveFilesStepOutput;
|
|
4156
|
+
listRecentGmailEmails: ListRecentGmailEmailsStepOutput;
|
|
4157
|
+
logic: LogicStepOutput;
|
|
4158
|
+
makeDotComRunScenario: MakeDotComRunScenarioStepOutput;
|
|
4159
|
+
mergeAudio: MergeAudioStepOutput;
|
|
4160
|
+
mergeVideos: MergeVideosStepOutput;
|
|
4161
|
+
meshyAnimate: MeshyAnimateStepOutput;
|
|
4162
|
+
meshyImageTo3d: MeshyImageTo3dStepOutput;
|
|
4163
|
+
meshyRemesh: MeshyRemeshStepOutput;
|
|
4164
|
+
meshyRig: MeshyRigStepOutput;
|
|
4165
|
+
meshyTextTo3d: MeshyTextTo3dStepOutput;
|
|
4166
|
+
meshyTexture: MeshyTextureStepOutput;
|
|
4167
|
+
mixAudioIntoVideo: MixAudioIntoVideoStepOutput;
|
|
4168
|
+
muteVideo: MuteVideoStepOutput;
|
|
4169
|
+
n8nRunNode: N8nRunNodeStepOutput;
|
|
4170
|
+
notionCreatePage: NotionCreatePageStepOutput;
|
|
4171
|
+
notionUpdatePage: NotionUpdatePageStepOutput;
|
|
4172
|
+
peopleSearch: PeopleSearchStepOutput;
|
|
4173
|
+
postToLinkedIn: PostToLinkedInStepOutput;
|
|
4174
|
+
postToSlackChannel: PostToSlackChannelStepOutput;
|
|
4175
|
+
postToX: PostToXStepOutput;
|
|
4176
|
+
postToZapier: PostToZapierStepOutput;
|
|
4177
|
+
queryDataSource: QueryDataSourceStepOutput;
|
|
4178
|
+
queryExternalDatabase: QueryExternalDatabaseStepOutput;
|
|
4179
|
+
quickbooksApiRequest: QuickbooksApiRequestStepOutput;
|
|
4180
|
+
redactPII: RedactPIIStepOutput;
|
|
4181
|
+
removeBackgroundFromImage: RemoveBackgroundFromImageStepOutput;
|
|
4182
|
+
renderVideoFromHtmlComposition: RenderVideoFromHtmlCompositionStepOutput;
|
|
4183
|
+
replyToGmailEmail: ReplyToGmailEmailStepOutput;
|
|
4184
|
+
resizeVideo: ResizeVideoStepOutput;
|
|
4185
|
+
runFfmpeg: RunFfmpegStepOutput;
|
|
4186
|
+
runFromConnectorRegistry: RunFromConnectorRegistryStepOutput;
|
|
4187
|
+
scrapeLinkedInCompany: ScrapeLinkedInCompanyStepOutput;
|
|
4188
|
+
scrapeLinkedInProfile: ScrapeLinkedInProfileStepOutput;
|
|
4189
|
+
scrapeUrl: ScrapeUrlStepOutput;
|
|
4190
|
+
scrapeXPost: ScrapeXPostStepOutput;
|
|
4191
|
+
scrapeXProfile: ScrapeXProfileStepOutput;
|
|
4192
|
+
screenshotUrl: ScreenshotUrlStepOutput;
|
|
4193
|
+
searchGmailEmails: SearchGmailEmailsStepOutput;
|
|
4194
|
+
searchGoogle: SearchGoogleStepOutput;
|
|
4195
|
+
searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepOutput;
|
|
4196
|
+
searchGoogleDrive: SearchGoogleDriveStepOutput;
|
|
4197
|
+
searchGoogleImages: SearchGoogleImagesStepOutput;
|
|
4198
|
+
searchGoogleNews: SearchGoogleNewsStepOutput;
|
|
4199
|
+
searchGoogleTrends: SearchGoogleTrendsStepOutput;
|
|
4200
|
+
searchPerplexity: SearchPerplexityStepOutput;
|
|
4201
|
+
searchXPosts: SearchXPostsStepOutput;
|
|
4202
|
+
searchYoutube: SearchYoutubeStepOutput;
|
|
4203
|
+
searchYoutubeTrends: SearchYoutubeTrendsStepOutput;
|
|
4204
|
+
sendEmail: SendEmailStepOutput;
|
|
4205
|
+
sendGmailDraft: SendGmailDraftStepOutput;
|
|
4206
|
+
sendGmailMessage: SendGmailMessageStepOutput;
|
|
4207
|
+
sendSlackDirectMessage: SendSlackDirectMessageStepOutput;
|
|
4208
|
+
sendSMS: SendSMSStepOutput;
|
|
4209
|
+
setGmailReadStatus: SetGmailReadStatusStepOutput;
|
|
4210
|
+
setRunTitle: SetRunTitleStepOutput;
|
|
4211
|
+
setVariable: SetVariableStepOutput;
|
|
4212
|
+
textToSpeech: TextToSpeechStepOutput;
|
|
4213
|
+
transcribeAudio: TranscribeAudioStepOutput;
|
|
4214
|
+
trimMedia: TrimMediaStepOutput;
|
|
4215
|
+
typesafeEvaluate: TypesafeEvaluateStepOutput;
|
|
4216
|
+
updateGmailLabels: UpdateGmailLabelsStepOutput;
|
|
4217
|
+
updateGoogleCalendarEvent: UpdateGoogleCalendarEventStepOutput;
|
|
4218
|
+
updateGoogleDoc: UpdateGoogleDocStepOutput;
|
|
4219
|
+
updateGoogleSheet: UpdateGoogleSheetStepOutput;
|
|
4220
|
+
uploadDataSourceDocument: UploadDataSourceDocumentStepOutput;
|
|
4221
|
+
upscaleImage: UpscaleImageStepOutput;
|
|
4222
|
+
upscaleVideo: UpscaleVideoStepOutput;
|
|
4223
|
+
userMessage: UserMessageStepOutput;
|
|
4224
|
+
videoFaceSwap: VideoFaceSwapStepOutput;
|
|
4225
|
+
videoRemoveBackground: VideoRemoveBackgroundStepOutput;
|
|
4226
|
+
videoRemoveWatermark: VideoRemoveWatermarkStepOutput;
|
|
4227
|
+
watermarkImage: WatermarkImageStepOutput;
|
|
4228
|
+
watermarkVideo: WatermarkVideoStepOutput;
|
|
4229
|
+
youDotComFinanceResearch: YouDotComFinanceResearchStepOutput;
|
|
4230
|
+
youDotComGetPageContent: YouDotComGetPageContentStepOutput;
|
|
4231
|
+
youDotComLiveNews: YouDotComLiveNewsStepOutput;
|
|
4232
|
+
youDotComWebResearch: YouDotComWebResearchStepOutput;
|
|
4233
|
+
youDotComWebSearch: YouDotComWebSearchStepOutput;
|
|
4234
|
+
}
|