@mindstudio-ai/agent 0.0.15 → 0.0.16

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/dist/index.d.ts CHANGED
@@ -90,6 +90,10 @@ interface StepExecutionMeta {
90
90
  * Useful for throttling proactively before hitting the limit.
91
91
  */
92
92
  $rateLimitRemaining?: number;
93
+ /** Cost in credits for this step execution. */
94
+ $billingCost?: number;
95
+ /** Itemized billing events for this step execution. */
96
+ $billingEvents?: Array<Record<string, unknown>>;
93
97
  }
94
98
  /**
95
99
  * Result of a step execution call.
@@ -99,13 +103,71 @@ interface StepExecutionMeta {
99
103
  * const { content } = await agent.generateText({ ... });
100
104
  * ```
101
105
  *
102
- * Execution metadata (`$appId`, `$threadId`, `$rateLimitRemaining`) is also available:
106
+ * Execution metadata (`$appId`, `$threadId`, `$rateLimitRemaining`, `$billingCost`, `$billingEvents`) is also available:
103
107
  * ```ts
104
108
  * const result = await agent.generateText({ ... });
105
109
  * console.log(result.content, result.$threadId, result.$rateLimitRemaining);
106
110
  * ```
107
111
  */
108
112
  type StepExecutionResult<TOutput = Record<string, unknown>> = TOutput & StepExecutionMeta;
113
+ /** Information about a pre-built agent in the organization. */
114
+ interface AgentInfo {
115
+ /** Agent UUID. Pass as `appId` to {@link RunAgentOptions}. */
116
+ id: string;
117
+ /** Display name. */
118
+ name: string;
119
+ /** Short description. */
120
+ description: string;
121
+ /** URL-friendly identifier. */
122
+ slug: string;
123
+ /** Agent icon URL. */
124
+ iconUrl: string;
125
+ /** Links: run, edit, details, logs. */
126
+ refs: Record<string, string>;
127
+ /** ISO timestamp. */
128
+ dateCreated: string;
129
+ /** ISO timestamp. */
130
+ dateLastEdited: string;
131
+ }
132
+ /** Result of {@link MindStudioAgent.listAgents}. */
133
+ interface ListAgentsResult {
134
+ /** Organization UUID. */
135
+ orgId: string;
136
+ /** Organization display name. */
137
+ orgName: string;
138
+ /** Agents in the organization. */
139
+ apps: AgentInfo[];
140
+ }
141
+ /** Options for {@link MindStudioAgent.runAgent}. */
142
+ interface RunAgentOptions {
143
+ /** App/agent ID to run (required). */
144
+ appId: string;
145
+ /** Input variables as key-value pairs. */
146
+ variables?: Record<string, unknown>;
147
+ /** Workflow name to execute. Omit for the app's default. */
148
+ workflow?: string;
149
+ /** App version override (e.g. "draft"). Defaults to "live". */
150
+ version?: string;
151
+ /** Include billing cost in the response. */
152
+ includeBillingCost?: boolean;
153
+ /** Arbitrary metadata stored with the API request log. */
154
+ metadata?: Record<string, unknown>;
155
+ /** Polling interval in milliseconds. @default 1000 */
156
+ pollIntervalMs?: number;
157
+ }
158
+ /** Result of a successful agent run. */
159
+ interface RunAgentResult {
160
+ /** Whether the run succeeded. */
161
+ success: boolean;
162
+ /** Thread ID for the run. */
163
+ threadId: string;
164
+ /** The result content (last system message). */
165
+ result: string;
166
+ /** Thread messages, if returned. */
167
+ thread?: unknown;
168
+ /** Cost in credits, if `includeBillingCost` was set. */
169
+ billingCost?: number;
170
+ }
109
171
 
110
172
  /**
111
173
  * Client for the MindStudio direct step execution API.
@@ -152,6 +214,30 @@ declare class MindStudioAgent$1 {
152
214
  * ```
153
215
  */
154
216
  executeStep<TOutput = unknown>(stepType: string, step: Record<string, unknown>, options?: StepExecutionOptions): Promise<StepExecutionResult<TOutput>>;
217
+ /**
218
+ * List all pre-built agents in the organization.
219
+ *
220
+ * ```ts
221
+ * const { apps } = await agent.listAgents();
222
+ * for (const app of apps) console.log(app.name, app.id);
223
+ * ```
224
+ */
225
+ listAgents(): Promise<ListAgentsResult>;
226
+ /**
227
+ * Run a pre-built agent and wait for the result.
228
+ *
229
+ * Uses async polling internally — the request returns immediately with a
230
+ * callback token, then polls until the run completes or fails.
231
+ *
232
+ * ```ts
233
+ * const result = await agent.runAgent({
234
+ * appId: 'your-agent-id',
235
+ * variables: { query: 'hello' },
236
+ * });
237
+ * console.log(result.result);
238
+ * ```
239
+ */
240
+ runAgent(options: RunAgentOptions): Promise<RunAgentResult>;
155
241
  /** @internal Used by generated helper methods. */
156
242
  _request<T>(method: 'GET' | 'POST', path: string, body?: unknown): Promise<{
157
243
  data: T;
@@ -165,7 +251,7 @@ interface ActiveCampaignAddNoteStepInput {
165
251
  /** Note text content */
166
252
  note: string;
167
253
  /** ActiveCampaign OAuth connection ID */
168
- connectionId: string;
254
+ connectionId?: string;
169
255
  }
170
256
  type ActiveCampaignAddNoteStepOutput = unknown;
171
257
  interface ActiveCampaignCreateContactStepInput {
@@ -182,7 +268,7 @@ interface ActiveCampaignCreateContactStepInput {
182
268
  /** Custom field values keyed by field ID */
183
269
  customFields: Record<string, unknown>;
184
270
  /** ActiveCampaign OAuth connection ID */
185
- connectionId: string;
271
+ connectionId?: string;
186
272
  }
187
273
  interface ActiveCampaignCreateContactStepOutput {
188
274
  /** ActiveCampaign contact ID of the created contact */
@@ -228,7 +314,7 @@ interface AddSubtitlesToVideoStepOutput {
228
314
  }
229
315
  interface AirtableCreateUpdateRecordStepInput {
230
316
  /** Airtable OAuth connection ID */
231
- connectionId: string;
317
+ connectionId?: string;
232
318
  /** Airtable base ID */
233
319
  baseId: string;
234
320
  /** Airtable table ID */
@@ -248,7 +334,7 @@ interface AirtableCreateUpdateRecordStepOutput {
248
334
  }
249
335
  interface AirtableDeleteRecordStepInput {
250
336
  /** Airtable OAuth connection ID */
251
- connectionId: string;
337
+ connectionId?: string;
252
338
  /** Airtable base ID */
253
339
  baseId: string;
254
340
  /** Airtable table ID */
@@ -262,7 +348,7 @@ interface AirtableDeleteRecordStepOutput {
262
348
  }
263
349
  interface AirtableGetRecordStepInput {
264
350
  /** Airtable OAuth connection ID */
265
- connectionId: string;
351
+ connectionId?: string;
266
352
  /** Airtable base ID (e.g. "appXXXXXX") */
267
353
  baseId: string;
268
354
  /** Airtable table ID (e.g. "tblXXXXXX") */
@@ -283,7 +369,7 @@ interface AirtableGetRecordStepOutput {
283
369
  }
284
370
  interface AirtableGetTableRecordsStepInput {
285
371
  /** Airtable OAuth connection ID */
286
- connectionId: string;
372
+ connectionId?: string;
287
373
  /** Airtable base ID (e.g. "appXXXXXX") */
288
374
  baseId: string;
289
375
  /** Airtable table ID (e.g. "tblXXXXXX") */
@@ -406,7 +492,7 @@ interface CaptureThumbnailStepOutput {
406
492
  }
407
493
  interface CodaCreateUpdatePageStepInput {
408
494
  /** Coda OAuth connection ID */
409
- connectionId: string;
495
+ connectionId?: string;
410
496
  /** Page configuration including document ID, title, content, and optional parent page */
411
497
  pageData: {
412
498
  /** Coda document ID */
@@ -437,7 +523,7 @@ interface CodaCreateUpdatePageStepOutput {
437
523
  }
438
524
  interface CodaCreateUpdateRowStepInput {
439
525
  /** Coda OAuth connection ID */
440
- connectionId: string;
526
+ connectionId?: string;
441
527
  /** Coda document ID */
442
528
  docId: string;
443
529
  /** Table ID within the document */
@@ -453,7 +539,7 @@ interface CodaCreateUpdateRowStepOutput {
453
539
  }
454
540
  interface CodaFindRowStepInput {
455
541
  /** Coda OAuth connection ID */
456
- connectionId: string;
542
+ connectionId?: string;
457
543
  /** Coda document ID */
458
544
  docId: string;
459
545
  /** Table ID to search within */
@@ -472,7 +558,7 @@ interface CodaFindRowStepOutput {
472
558
  }
473
559
  interface CodaGetPageStepInput {
474
560
  /** Coda OAuth connection ID */
475
- connectionId: string;
561
+ connectionId?: string;
476
562
  /** Coda document ID */
477
563
  docId: string;
478
564
  /** Page ID within the document */
@@ -486,7 +572,7 @@ interface CodaGetPageStepOutput {
486
572
  }
487
573
  interface CodaGetTableRowsStepInput {
488
574
  /** Coda OAuth connection ID */
489
- connectionId: string;
575
+ connectionId?: string;
490
576
  /** Coda document ID */
491
577
  docId: string;
492
578
  /** Table ID within the document */
@@ -520,7 +606,7 @@ interface CreateDataSourceStepInput {
520
606
  type CreateDataSourceStepOutput = unknown;
521
607
  interface CreateGoogleCalendarEventStepInput {
522
608
  /** Google OAuth connection ID */
523
- connectionId: string;
609
+ connectionId?: string;
524
610
  /** Event title */
525
611
  summary: string;
526
612
  /** Event description */
@@ -550,7 +636,7 @@ interface CreateGoogleDocStepInput {
550
636
  /** Document body content */
551
637
  text: string;
552
638
  /** Google OAuth connection ID */
553
- connectionId: string;
639
+ connectionId?: string;
554
640
  /** Format of the text field: "plain", "html", or "markdown" */
555
641
  textType: "plain" | "html" | "markdown";
556
642
  }
@@ -564,7 +650,7 @@ interface CreateGoogleSheetStepInput {
564
650
  /** CSV data to populate the sheet with */
565
651
  text: string;
566
652
  /** Google OAuth connection ID */
567
- connectionId: string;
653
+ connectionId?: string;
568
654
  }
569
655
  interface CreateGoogleSheetStepOutput {
570
656
  /** URL of the newly created Google Spreadsheet */
@@ -582,15 +668,35 @@ interface DeleteDataSourceDocumentStepInput {
582
668
  documentId: string;
583
669
  }
584
670
  type DeleteDataSourceDocumentStepOutput = unknown;
671
+ interface DeleteGmailEmailStepInput {
672
+ /** Gmail message ID to delete (move to trash) */
673
+ messageId: string;
674
+ /** Google OAuth connection ID */
675
+ connectionId?: string;
676
+ }
677
+ type DeleteGmailEmailStepOutput = unknown;
585
678
  interface DeleteGoogleCalendarEventStepInput {
586
679
  /** Google OAuth connection ID */
587
- connectionId: string;
680
+ connectionId?: string;
588
681
  /** Google Calendar event ID to delete */
589
682
  eventId: string;
590
683
  /** Calendar ID (defaults to "primary" if omitted) */
591
684
  calendarId?: string;
592
685
  }
593
686
  type DeleteGoogleCalendarEventStepOutput = unknown;
687
+ interface DeleteGoogleSheetRowsStepInput {
688
+ /** Google Spreadsheet ID or URL */
689
+ documentId: string;
690
+ /** Sheet/tab name (defaults to first sheet) */
691
+ sheetName?: string;
692
+ /** First row to delete (1-based, inclusive) */
693
+ startRow: string;
694
+ /** Last row to delete (1-based, inclusive) */
695
+ endRow: string;
696
+ /** Google OAuth connection ID */
697
+ connectionId?: string;
698
+ }
699
+ type DeleteGoogleSheetRowsStepOutput = unknown;
594
700
  interface DetectPIIStepInput {
595
701
  /** Text to scan for personally identifiable information */
596
702
  input: string;
@@ -712,7 +818,7 @@ interface FetchGoogleDocStepInput {
712
818
  /** Google Document ID (from the document URL) */
713
819
  documentId: string;
714
820
  /** Google OAuth connection ID */
715
- connectionId: string;
821
+ connectionId?: string;
716
822
  /** Output format: "html", "markdown", "json", or "plain" */
717
823
  exportType: "html" | "markdown" | "json" | "plain";
718
824
  }
@@ -726,7 +832,7 @@ interface FetchGoogleSheetStepInput {
726
832
  /** Cell range in A1 notation (e.g. "Sheet1!A1:C10") */
727
833
  range: string;
728
834
  /** Google OAuth connection ID */
729
- connectionId: string;
835
+ connectionId?: string;
730
836
  /** Output format: "csv" or "json" */
731
837
  exportType: "csv" | "json";
732
838
  }
@@ -736,7 +842,7 @@ interface FetchGoogleSheetStepOutput {
736
842
  }
737
843
  interface FetchSlackChannelHistoryStepInput {
738
844
  /** Slack OAuth connection ID (leave empty to allow user to select) */
739
- connectionId: string;
845
+ connectionId?: string;
740
846
  /** Slack channel ID (leave empty to allow user to select a channel) */
741
847
  channelId: string;
742
848
  /** Maximum number of messages to return (1-15) */
@@ -1276,6 +1382,12 @@ interface GeneratePdfStepInput {
1276
1382
  };
1277
1383
  /** Single page app source configuration (advanced) */
1278
1384
  spaSource?: {
1385
+ /** Source code of the SPA (legacy, use files instead) */
1386
+ source?: string;
1387
+ /** Last compiled source (cached) */
1388
+ lastCompiledSource?: string;
1389
+ /** Multi-file SPA source */
1390
+ files?: Record<string, unknown>;
1279
1391
  /** Available route paths in the SPA */
1280
1392
  paths: string[];
1281
1393
  /** Root URL of the SPA bundle */
@@ -1365,9 +1477,51 @@ interface GenerateVideoStepOutput {
1365
1477
  /** CDN URL of the generated video, or array of URLs when generating multiple variants */
1366
1478
  videoUrl: string | string[];
1367
1479
  }
1480
+ interface GetGmailDraftStepInput {
1481
+ /** Gmail draft ID to retrieve */
1482
+ draftId: string;
1483
+ /** Google OAuth connection ID */
1484
+ connectionId?: string;
1485
+ }
1486
+ interface GetGmailDraftStepOutput {
1487
+ /** Gmail draft ID */
1488
+ draftId: string;
1489
+ /** Gmail message ID */
1490
+ messageId: string;
1491
+ /** Email subject */
1492
+ subject: string;
1493
+ /** Recipient email */
1494
+ to: string;
1495
+ /** Sender email */
1496
+ from: string;
1497
+ /** Draft body content */
1498
+ body: string;
1499
+ }
1500
+ interface GetGmailEmailStepInput {
1501
+ /** Gmail message ID to retrieve */
1502
+ messageId: string;
1503
+ /** Google OAuth connection ID */
1504
+ connectionId?: string;
1505
+ }
1506
+ interface GetGmailEmailStepOutput {
1507
+ /** Gmail message ID */
1508
+ messageId: string;
1509
+ /** Email subject */
1510
+ subject: string;
1511
+ /** Sender email */
1512
+ from: string;
1513
+ /** Recipient email */
1514
+ to: string;
1515
+ /** Email date */
1516
+ date: string;
1517
+ /** Email body content */
1518
+ body: string;
1519
+ /** Comma-separated label IDs */
1520
+ labels: string;
1521
+ }
1368
1522
  interface GetGoogleCalendarEventStepInput {
1369
1523
  /** Google OAuth connection ID */
1370
- connectionId: string;
1524
+ connectionId?: string;
1371
1525
  /** Google Calendar event ID to retrieve */
1372
1526
  eventId: string;
1373
1527
  /** Format for the variable output: "json" or "text" */
@@ -1417,6 +1571,39 @@ interface GetGoogleCalendarEventStepOutput {
1417
1571
  })[] | null;
1418
1572
  };
1419
1573
  }
1574
+ interface GetGoogleDriveFileStepInput {
1575
+ /** Google Drive file ID */
1576
+ fileId: string;
1577
+ /** Google OAuth connection ID */
1578
+ connectionId?: string;
1579
+ }
1580
+ interface GetGoogleDriveFileStepOutput {
1581
+ /** CDN URL of the downloaded file */
1582
+ url: string;
1583
+ /** Original file name */
1584
+ name: string;
1585
+ /** File MIME type */
1586
+ mimeType: string;
1587
+ /** File size in bytes */
1588
+ size: number;
1589
+ }
1590
+ interface GetGoogleSheetInfoStepInput {
1591
+ /** Google Spreadsheet ID or URL */
1592
+ documentId: string;
1593
+ /** Google OAuth connection ID */
1594
+ connectionId?: string;
1595
+ }
1596
+ interface GetGoogleSheetInfoStepOutput {
1597
+ /** Spreadsheet title */
1598
+ title: string;
1599
+ /** List of sheets with their properties */
1600
+ sheets: {
1601
+ sheetId: number;
1602
+ title: string;
1603
+ rowCount: number;
1604
+ columnCount: number;
1605
+ }[];
1606
+ }
1420
1607
  interface GetMediaMetadataStepInput {
1421
1608
  /** URL of the audio or video file to analyze */
1422
1609
  mediaUrl: string;
@@ -1457,7 +1644,7 @@ interface HttpRequestStepOutput {
1457
1644
  }
1458
1645
  interface HubspotCreateCompanyStepInput {
1459
1646
  /** HubSpot OAuth connection ID */
1460
- connectionId: string;
1647
+ connectionId?: string;
1461
1648
  /** Company data including domain, name, and additional properties */
1462
1649
  company: {
1463
1650
  /** Company domain, used for matching existing companies */
@@ -1481,7 +1668,7 @@ interface HubspotCreateCompanyStepOutput {
1481
1668
  }
1482
1669
  interface HubspotCreateContactStepInput {
1483
1670
  /** HubSpot OAuth connection ID */
1484
- connectionId: string;
1671
+ connectionId?: string;
1485
1672
  /** Contact data including email, first name, last name, and additional properties */
1486
1673
  contact: {
1487
1674
  /** Contact email address, used for matching existing contacts */
@@ -1509,7 +1696,7 @@ interface HubspotCreateContactStepOutput {
1509
1696
  }
1510
1697
  interface HubspotGetCompanyStepInput {
1511
1698
  /** HubSpot OAuth connection ID */
1512
- connectionId: string;
1699
+ connectionId?: string;
1513
1700
  /** How to look up the company: by domain name or HubSpot company ID */
1514
1701
  searchBy: "domain" | "id";
1515
1702
  /** Domain to search by (used when searchBy is 'domain') */
@@ -1531,7 +1718,7 @@ interface HubspotGetCompanyStepOutput {
1531
1718
  }
1532
1719
  interface HubspotGetContactStepInput {
1533
1720
  /** HubSpot OAuth connection ID */
1534
- connectionId: string;
1721
+ connectionId?: string;
1535
1722
  /** How to look up the contact: by email address or HubSpot contact ID */
1536
1723
  searchBy: "email" | "id";
1537
1724
  /** Email address to search by (used when searchBy is 'email') */
@@ -1784,9 +1971,32 @@ interface InsertVideoClipsStepOutput {
1784
1971
  }
1785
1972
  type ListDataSourcesStepInput = Record<string, unknown>;
1786
1973
  type ListDataSourcesStepOutput = unknown;
1974
+ interface ListGmailDraftsStepInput {
1975
+ /** Google OAuth connection ID */
1976
+ connectionId?: string;
1977
+ /** Max drafts to return (default: 10, max: 50) */
1978
+ limit?: string;
1979
+ /** Format for the variable output: "json" or "text" */
1980
+ exportType: "json" | "text";
1981
+ }
1982
+ interface ListGmailDraftsStepOutput {
1983
+ /** List of draft summaries */
1984
+ drafts: {
1985
+ /** Gmail draft ID */
1986
+ draftId: string;
1987
+ /** Gmail message ID */
1988
+ messageId: string;
1989
+ /** Email subject */
1990
+ subject: string;
1991
+ /** Recipient email */
1992
+ to: string;
1993
+ /** Short preview text */
1994
+ snippet: string;
1995
+ }[];
1996
+ }
1787
1997
  interface ListGoogleCalendarEventsStepInput {
1788
1998
  /** Google OAuth connection ID */
1789
- connectionId: string;
1999
+ connectionId?: string;
1790
2000
  /** Maximum number of events to return (default: 10) */
1791
2001
  limit: number;
1792
2002
  /** Format for the variable output: "json" or "text" */
@@ -1836,6 +2046,28 @@ interface ListGoogleCalendarEventsStepOutput {
1836
2046
  })[] | null;
1837
2047
  })[];
1838
2048
  }
2049
+ interface ListGoogleDriveFilesStepInput {
2050
+ /** Google Drive folder ID (defaults to root) */
2051
+ folderId?: string;
2052
+ /** Max files to return (default: 20) */
2053
+ limit?: number;
2054
+ /** Google OAuth connection ID */
2055
+ connectionId?: string;
2056
+ /** Format for the variable output: "json" or "text" */
2057
+ exportType: "json" | "text";
2058
+ }
2059
+ interface ListGoogleDriveFilesStepOutput {
2060
+ /** List of files in the folder */
2061
+ files: {
2062
+ id: string;
2063
+ name: string;
2064
+ mimeType: string;
2065
+ size: string;
2066
+ webViewLink: string;
2067
+ createdTime: string;
2068
+ modifiedTime: string;
2069
+ }[];
2070
+ }
1839
2071
  interface LogicStepInput {
1840
2072
  /** Prompt text providing context for the AI evaluation */
1841
2073
  context: string;
@@ -1950,7 +2182,7 @@ interface NotionCreatePageStepInput {
1950
2182
  /** Page title */
1951
2183
  title: string;
1952
2184
  /** Notion OAuth connection ID */
1953
- connectionId: string;
2185
+ connectionId?: string;
1954
2186
  }
1955
2187
  interface NotionCreatePageStepOutput {
1956
2188
  /** Notion page ID of the created page */
@@ -1966,7 +2198,7 @@ interface NotionUpdatePageStepInput {
1966
2198
  /** How to apply the content: 'append' adds to end, 'overwrite' replaces all existing content */
1967
2199
  mode: "append" | "overwrite";
1968
2200
  /** Notion OAuth connection ID */
1969
- connectionId: string;
2201
+ connectionId?: string;
1970
2202
  }
1971
2203
  interface NotionUpdatePageStepOutput {
1972
2204
  /** Notion page ID of the updated page */
@@ -2035,7 +2267,7 @@ interface PostToLinkedInStepInput {
2035
2267
  /** URL of an image to attach to the post */
2036
2268
  imageUrl?: string;
2037
2269
  /** LinkedIn OAuth connection ID */
2038
- connectionId: string;
2270
+ connectionId?: string;
2039
2271
  }
2040
2272
  type PostToLinkedInStepOutput = unknown;
2041
2273
  interface PostToSlackChannelStepInput {
@@ -2046,14 +2278,14 @@ interface PostToSlackChannelStepInput {
2046
2278
  /** Message content (plain text/markdown for "string" type, or JSON for "blocks" type) */
2047
2279
  message: string;
2048
2280
  /** Slack OAuth connection ID (leave empty to allow user to select) */
2049
- connectionId: string;
2281
+ connectionId?: string;
2050
2282
  }
2051
2283
  type PostToSlackChannelStepOutput = unknown;
2052
2284
  interface PostToXStepInput {
2053
2285
  /** The text content of the post (max 280 characters) */
2054
2286
  text: string;
2055
2287
  /** X (Twitter) OAuth connection ID */
2056
- connectionId: string;
2288
+ connectionId?: string;
2057
2289
  }
2058
2290
  type PostToXStepOutput = unknown;
2059
2291
  interface PostToZapierStepInput {
@@ -2088,7 +2320,7 @@ interface QueryDataSourceStepOutput {
2088
2320
  }
2089
2321
  interface QueryExternalDatabaseStepInput {
2090
2322
  /** Database connection ID configured in the workspace */
2091
- connectionId: string;
2323
+ connectionId?: string;
2092
2324
  /** SQL query to execute (supports variable interpolation) */
2093
2325
  query: string;
2094
2326
  /** Output format for the result variable */
@@ -2118,6 +2350,20 @@ interface RemoveBackgroundFromImageStepOutput {
2118
2350
  /** CDN URL of the image with background removed (transparent PNG) */
2119
2351
  imageUrl: string;
2120
2352
  }
2353
+ interface ReplyToGmailEmailStepInput {
2354
+ /** Gmail message ID to reply to */
2355
+ messageId: string;
2356
+ /** Reply body content */
2357
+ message: string;
2358
+ /** Body format: "plain", "html", or "markdown" */
2359
+ messageType: "plain" | "html" | "markdown";
2360
+ /** Google OAuth connection ID */
2361
+ connectionId?: string;
2362
+ }
2363
+ interface ReplyToGmailEmailStepOutput {
2364
+ /** Gmail message ID of the sent reply */
2365
+ messageId: string;
2366
+ }
2121
2367
  interface ResizeVideoStepInput {
2122
2368
  /** URL of the source video to resize */
2123
2369
  videoUrl: string;
@@ -2398,6 +2644,86 @@ interface SearchGoogleStepOutput {
2398
2644
  url: string;
2399
2645
  }[];
2400
2646
  }
2647
+ interface SearchGoogleCalendarEventsStepInput {
2648
+ /** Text search term */
2649
+ query?: string;
2650
+ /** Start of time range (ISO 8601) */
2651
+ timeMin?: string;
2652
+ /** End of time range (ISO 8601) */
2653
+ timeMax?: string;
2654
+ /** Calendar ID (defaults to "primary") */
2655
+ calendarId?: string;
2656
+ /** Maximum number of events to return (default: 10) */
2657
+ limit?: number;
2658
+ /** Format for the variable output: "json" or "text" */
2659
+ exportType: "json" | "text";
2660
+ /** Google OAuth connection ID */
2661
+ connectionId?: string;
2662
+ }
2663
+ interface SearchGoogleCalendarEventsStepOutput {
2664
+ /** List of matching calendar events */
2665
+ events: ({
2666
+ /** Google Calendar event ID */
2667
+ id?: string | null;
2668
+ /** Event status (e.g. "confirmed", "tentative", "cancelled") */
2669
+ status?: string | null;
2670
+ /** URL to view the event in Google Calendar */
2671
+ htmlLink?: string | null;
2672
+ /** Timestamp when the event was created */
2673
+ created?: string | null;
2674
+ /** Timestamp when the event was last updated */
2675
+ updated?: string | null;
2676
+ /** Event title */
2677
+ summary?: string | null;
2678
+ /** Event description */
2679
+ description?: string | null;
2680
+ /** Event location */
2681
+ location?: string | null;
2682
+ /** Event organizer */
2683
+ organizer?: {
2684
+ displayName?: string | null;
2685
+ email?: string | null;
2686
+ } | null;
2687
+ /** Event start time and timezone */
2688
+ start?: {
2689
+ dateTime?: string | null;
2690
+ timeZone?: string | null;
2691
+ } | null;
2692
+ /** Event end time and timezone */
2693
+ end?: {
2694
+ dateTime?: string | null;
2695
+ timeZone?: string | null;
2696
+ } | null;
2697
+ /** List of event attendees */
2698
+ attendees?: ({
2699
+ displayName?: string | null;
2700
+ email?: string | null;
2701
+ responseStatus?: string | null;
2702
+ })[] | null;
2703
+ })[];
2704
+ }
2705
+ interface SearchGoogleDriveStepInput {
2706
+ /** Search keyword */
2707
+ query: string;
2708
+ /** Max files to return (default: 20) */
2709
+ limit?: number;
2710
+ /** Google OAuth connection ID */
2711
+ connectionId?: string;
2712
+ /** Format for the variable output: "json" or "text" */
2713
+ exportType: "json" | "text";
2714
+ }
2715
+ interface SearchGoogleDriveStepOutput {
2716
+ /** List of matching files */
2717
+ files: {
2718
+ id: string;
2719
+ name: string;
2720
+ mimeType: string;
2721
+ size: string;
2722
+ webViewLink: string;
2723
+ createdTime: string;
2724
+ modifiedTime: string;
2725
+ }[];
2726
+ }
2401
2727
  interface SearchGoogleImagesStepInput {
2402
2728
  /** The image search query */
2403
2729
  query: string;
@@ -2581,7 +2907,7 @@ interface SendEmailStepInput {
2581
2907
  /** Email body content (plain text, markdown, HTML, or a CDN URL to an HTML file) */
2582
2908
  body: string;
2583
2909
  /** OAuth connection ID(s) for the recipient(s), comma-separated for multiple */
2584
- connectionId: string;
2910
+ connectionId?: string;
2585
2911
  /** When true, auto-convert the body text into a styled HTML email using AI */
2586
2912
  generateHtml?: boolean;
2587
2913
  /** Natural language instructions for the HTML generation style */
@@ -2629,7 +2955,7 @@ interface SendSMSStepInput {
2629
2955
  /** SMS message body text */
2630
2956
  body: string;
2631
2957
  /** OAuth connection ID for the recipient phone number */
2632
- connectionId: string;
2958
+ connectionId?: string;
2633
2959
  }
2634
2960
  type SendSMSStepOutput = unknown;
2635
2961
  interface SetRunTitleStepInput {
@@ -2640,15 +2966,8 @@ type SetRunTitleStepOutput = unknown;
2640
2966
  interface SetVariableStepInput {
2641
2967
  /** Value to assign (string or array of strings, supports variable interpolation) */
2642
2968
  value: string | string[];
2643
- /** UI input type hint controlling the editor widget */
2644
- type: "imageUrl" | "videoUrl" | "fileUrl" | "plaintext" | "textArray" | "imageUrlArray" | "videoUrlArray";
2645
- }
2646
- interface SetVariableStepOutput {
2647
- /** The resolved variable name that was set */
2648
- variableName: string;
2649
- /** The resolved value that was assigned */
2650
- value: string | string[];
2651
2969
  }
2970
+ type SetVariableStepOutput = Record<string, unknown>;
2652
2971
  interface TelegramSendAudioStepInput {
2653
2972
  /** Telegram bot token in "botId:token" format */
2654
2973
  botToken: string;
@@ -2760,7 +3079,7 @@ interface TrimMediaStepOutput {
2760
3079
  }
2761
3080
  interface UpdateGoogleCalendarEventStepInput {
2762
3081
  /** Google OAuth connection ID */
2763
- connectionId: string;
3082
+ connectionId?: string;
2764
3083
  /** Google Calendar event ID to update */
2765
3084
  eventId: string;
2766
3085
  /** Updated event title */
@@ -2788,7 +3107,7 @@ interface UpdateGoogleDocStepInput {
2788
3107
  /** Google Document ID to update */
2789
3108
  documentId: string;
2790
3109
  /** Google OAuth connection ID */
2791
- connectionId: string;
3110
+ connectionId?: string;
2792
3111
  /** New content to write to the document */
2793
3112
  text: string;
2794
3113
  /** Format of the text field: "plain", "html", or "markdown" */
@@ -2804,7 +3123,7 @@ interface UpdateGoogleSheetStepInput {
2804
3123
  /** CSV data to write to the spreadsheet */
2805
3124
  text: string;
2806
3125
  /** Google OAuth connection ID */
2807
- connectionId: string;
3126
+ connectionId?: string;
2808
3127
  /** Google Spreadsheet ID to update */
2809
3128
  spreadsheetId: string;
2810
3129
  /** Target cell range in A1 notation (used with "range" operationType) */
@@ -2984,7 +3303,7 @@ type GenerateAssetStepOutput = GeneratePdfStepOutput;
2984
3303
  type GenerateTextStepInput = UserMessageStepInput;
2985
3304
  type GenerateTextStepOutput = UserMessageStepOutput;
2986
3305
  /** Union of all available step type names. */
2987
- type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "deleteDataSource" | "deleteDataSourceDocument" | "deleteGoogleCalendarEvent" | "detectPII" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "extractAudioFromVideo" | "extractText" | "fetchDataSourceDocument" | "fetchGoogleDoc" | "fetchGoogleSheet" | "fetchSlackChannelHistory" | "fetchYoutubeCaptions" | "fetchYoutubeChannel" | "fetchYoutubeComments" | "fetchYoutubeVideo" | "generateChart" | "generateImage" | "generateLipsync" | "generateMusic" | "generatePdf" | "generateStaticVideoFromImage" | "generateVideo" | "getGoogleCalendarEvent" | "getMediaMetadata" | "httpRequest" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "insertVideoClips" | "listDataSources" | "listGoogleCalendarEvents" | "logic" | "makeDotComRunScenario" | "mergeAudio" | "mergeVideos" | "mixAudioIntoVideo" | "muteVideo" | "n8nRunNode" | "notionCreatePage" | "notionUpdatePage" | "peopleSearch" | "postToLinkedIn" | "postToSlackChannel" | "postToX" | "postToZapier" | "queryDataSource" | "queryExternalDatabase" | "redactPII" | "removeBackgroundFromImage" | "resizeVideo" | "runPackagedWorkflow" | "scrapeFacebookPage" | "scrapeFacebookPosts" | "scrapeInstagramComments" | "scrapeInstagramMentions" | "scrapeInstagramPosts" | "scrapeInstagramProfile" | "scrapeInstagramReels" | "scrapeLinkedInCompany" | "scrapeLinkedInProfile" | "scrapeMetaThreadsProfile" | "scrapeUrl" | "scrapeXPost" | "scrapeXProfile" | "searchGoogle" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendSMS" | "setRunTitle" | "setVariable" | "telegramSendAudio" | "telegramSendFile" | "telegramSendImage" | "telegramSendMessage" | "telegramSendVideo" | "telegramSetTyping" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
3306
+ type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "deleteDataSource" | "deleteDataSourceDocument" | "deleteGmailEmail" | "deleteGoogleCalendarEvent" | "deleteGoogleSheetRows" | "detectPII" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "extractAudioFromVideo" | "extractText" | "fetchDataSourceDocument" | "fetchGoogleDoc" | "fetchGoogleSheet" | "fetchSlackChannelHistory" | "fetchYoutubeCaptions" | "fetchYoutubeChannel" | "fetchYoutubeComments" | "fetchYoutubeVideo" | "generateChart" | "generateImage" | "generateLipsync" | "generateMusic" | "generatePdf" | "generateStaticVideoFromImage" | "generateVideo" | "getGmailDraft" | "getGmailEmail" | "getGoogleCalendarEvent" | "getGoogleDriveFile" | "getGoogleSheetInfo" | "getMediaMetadata" | "httpRequest" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "insertVideoClips" | "listDataSources" | "listGmailDrafts" | "listGoogleCalendarEvents" | "listGoogleDriveFiles" | "logic" | "makeDotComRunScenario" | "mergeAudio" | "mergeVideos" | "mixAudioIntoVideo" | "muteVideo" | "n8nRunNode" | "notionCreatePage" | "notionUpdatePage" | "peopleSearch" | "postToLinkedIn" | "postToSlackChannel" | "postToX" | "postToZapier" | "queryDataSource" | "queryExternalDatabase" | "redactPII" | "removeBackgroundFromImage" | "replyToGmailEmail" | "resizeVideo" | "runPackagedWorkflow" | "scrapeFacebookPage" | "scrapeFacebookPosts" | "scrapeInstagramComments" | "scrapeInstagramMentions" | "scrapeInstagramPosts" | "scrapeInstagramProfile" | "scrapeInstagramReels" | "scrapeLinkedInCompany" | "scrapeLinkedInProfile" | "scrapeMetaThreadsProfile" | "scrapeUrl" | "scrapeXPost" | "scrapeXProfile" | "searchGoogle" | "searchGoogleCalendarEvents" | "searchGoogleDrive" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendSMS" | "setRunTitle" | "setVariable" | "telegramSendAudio" | "telegramSendFile" | "telegramSendImage" | "telegramSendMessage" | "telegramSendVideo" | "telegramSetTyping" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
2988
3307
  /** Maps step names to their input types. */
2989
3308
  interface StepInputMap {
2990
3309
  activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
@@ -3009,7 +3328,9 @@ interface StepInputMap {
3009
3328
  createGoogleSheet: CreateGoogleSheetStepInput;
3010
3329
  deleteDataSource: DeleteDataSourceStepInput;
3011
3330
  deleteDataSourceDocument: DeleteDataSourceDocumentStepInput;
3331
+ deleteGmailEmail: DeleteGmailEmailStepInput;
3012
3332
  deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepInput;
3333
+ deleteGoogleSheetRows: DeleteGoogleSheetRowsStepInput;
3013
3334
  detectPII: DetectPIIStepInput;
3014
3335
  downloadVideo: DownloadVideoStepInput;
3015
3336
  enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepInput;
@@ -3032,7 +3353,11 @@ interface StepInputMap {
3032
3353
  generatePdf: GeneratePdfStepInput;
3033
3354
  generateStaticVideoFromImage: GenerateStaticVideoFromImageStepInput;
3034
3355
  generateVideo: GenerateVideoStepInput;
3356
+ getGmailDraft: GetGmailDraftStepInput;
3357
+ getGmailEmail: GetGmailEmailStepInput;
3035
3358
  getGoogleCalendarEvent: GetGoogleCalendarEventStepInput;
3359
+ getGoogleDriveFile: GetGoogleDriveFileStepInput;
3360
+ getGoogleSheetInfo: GetGoogleSheetInfoStepInput;
3036
3361
  getMediaMetadata: GetMediaMetadataStepInput;
3037
3362
  httpRequest: HttpRequestStepInput;
3038
3363
  hubspotCreateCompany: HubspotCreateCompanyStepInput;
@@ -3048,7 +3373,9 @@ interface StepInputMap {
3048
3373
  imageRemoveWatermark: ImageRemoveWatermarkStepInput;
3049
3374
  insertVideoClips: InsertVideoClipsStepInput;
3050
3375
  listDataSources: ListDataSourcesStepInput;
3376
+ listGmailDrafts: ListGmailDraftsStepInput;
3051
3377
  listGoogleCalendarEvents: ListGoogleCalendarEventsStepInput;
3378
+ listGoogleDriveFiles: ListGoogleDriveFilesStepInput;
3052
3379
  logic: LogicStepInput;
3053
3380
  makeDotComRunScenario: MakeDotComRunScenarioStepInput;
3054
3381
  mergeAudio: MergeAudioStepInput;
@@ -3067,6 +3394,7 @@ interface StepInputMap {
3067
3394
  queryExternalDatabase: QueryExternalDatabaseStepInput;
3068
3395
  redactPII: RedactPIIStepInput;
3069
3396
  removeBackgroundFromImage: RemoveBackgroundFromImageStepInput;
3397
+ replyToGmailEmail: ReplyToGmailEmailStepInput;
3070
3398
  resizeVideo: ResizeVideoStepInput;
3071
3399
  runPackagedWorkflow: RunPackagedWorkflowStepInput;
3072
3400
  scrapeFacebookPage: ScrapeFacebookPageStepInput;
@@ -3083,6 +3411,8 @@ interface StepInputMap {
3083
3411
  scrapeXPost: ScrapeXPostStepInput;
3084
3412
  scrapeXProfile: ScrapeXProfileStepInput;
3085
3413
  searchGoogle: SearchGoogleStepInput;
3414
+ searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepInput;
3415
+ searchGoogleDrive: SearchGoogleDriveStepInput;
3086
3416
  searchGoogleImages: SearchGoogleImagesStepInput;
3087
3417
  searchGoogleNews: SearchGoogleNewsStepInput;
3088
3418
  searchGoogleTrends: SearchGoogleTrendsStepInput;
@@ -3140,7 +3470,9 @@ interface StepOutputMap {
3140
3470
  createGoogleSheet: CreateGoogleSheetStepOutput;
3141
3471
  deleteDataSource: DeleteDataSourceStepOutput;
3142
3472
  deleteDataSourceDocument: DeleteDataSourceDocumentStepOutput;
3473
+ deleteGmailEmail: DeleteGmailEmailStepOutput;
3143
3474
  deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepOutput;
3475
+ deleteGoogleSheetRows: DeleteGoogleSheetRowsStepOutput;
3144
3476
  detectPII: DetectPIIStepOutput;
3145
3477
  downloadVideo: DownloadVideoStepOutput;
3146
3478
  enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepOutput;
@@ -3163,7 +3495,11 @@ interface StepOutputMap {
3163
3495
  generatePdf: GeneratePdfStepOutput;
3164
3496
  generateStaticVideoFromImage: GenerateStaticVideoFromImageStepOutput;
3165
3497
  generateVideo: GenerateVideoStepOutput;
3498
+ getGmailDraft: GetGmailDraftStepOutput;
3499
+ getGmailEmail: GetGmailEmailStepOutput;
3166
3500
  getGoogleCalendarEvent: GetGoogleCalendarEventStepOutput;
3501
+ getGoogleDriveFile: GetGoogleDriveFileStepOutput;
3502
+ getGoogleSheetInfo: GetGoogleSheetInfoStepOutput;
3167
3503
  getMediaMetadata: GetMediaMetadataStepOutput;
3168
3504
  httpRequest: HttpRequestStepOutput;
3169
3505
  hubspotCreateCompany: HubspotCreateCompanyStepOutput;
@@ -3179,7 +3515,9 @@ interface StepOutputMap {
3179
3515
  imageRemoveWatermark: ImageRemoveWatermarkStepOutput;
3180
3516
  insertVideoClips: InsertVideoClipsStepOutput;
3181
3517
  listDataSources: ListDataSourcesStepOutput;
3518
+ listGmailDrafts: ListGmailDraftsStepOutput;
3182
3519
  listGoogleCalendarEvents: ListGoogleCalendarEventsStepOutput;
3520
+ listGoogleDriveFiles: ListGoogleDriveFilesStepOutput;
3183
3521
  logic: LogicStepOutput;
3184
3522
  makeDotComRunScenario: MakeDotComRunScenarioStepOutput;
3185
3523
  mergeAudio: MergeAudioStepOutput;
@@ -3198,6 +3536,7 @@ interface StepOutputMap {
3198
3536
  queryExternalDatabase: QueryExternalDatabaseStepOutput;
3199
3537
  redactPII: RedactPIIStepOutput;
3200
3538
  removeBackgroundFromImage: RemoveBackgroundFromImageStepOutput;
3539
+ replyToGmailEmail: ReplyToGmailEmailStepOutput;
3201
3540
  resizeVideo: ResizeVideoStepOutput;
3202
3541
  runPackagedWorkflow: RunPackagedWorkflowStepOutput;
3203
3542
  scrapeFacebookPage: ScrapeFacebookPageStepOutput;
@@ -3214,6 +3553,8 @@ interface StepOutputMap {
3214
3553
  scrapeXPost: ScrapeXPostStepOutput;
3215
3554
  scrapeXProfile: ScrapeXProfileStepOutput;
3216
3555
  searchGoogle: SearchGoogleStepOutput;
3556
+ searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepOutput;
3557
+ searchGoogleDrive: SearchGoogleDriveStepOutput;
3217
3558
  searchGoogleImages: SearchGoogleImagesStepOutput;
3218
3559
  searchGoogleNews: SearchGoogleNewsStepOutput;
3219
3560
  searchGoogleTrends: SearchGoogleTrendsStepOutput;
@@ -3261,7 +3602,6 @@ interface StepMethods {
3261
3602
  * const result = await agent.activeCampaignAddNote({
3262
3603
  * contactId: ``,
3263
3604
  * note: ``,
3264
- * connectionId: ``,
3265
3605
  * });
3266
3606
  * ```
3267
3607
  */
@@ -3283,7 +3623,6 @@ interface StepMethods {
3283
3623
  * phone: ``,
3284
3624
  * accountId: ``,
3285
3625
  * customFields: {},
3286
- * connectionId: ``,
3287
3626
  * });
3288
3627
  * ```
3289
3628
  */
@@ -3327,7 +3666,6 @@ interface StepMethods {
3327
3666
  * @example
3328
3667
  * ```typescript
3329
3668
  * const result = await agent.airtableCreateUpdateRecord({
3330
- * connectionId: ``,
3331
3669
  * baseId: ``,
3332
3670
  * tableId: ``,
3333
3671
  * fields: ``,
@@ -3346,7 +3684,6 @@ interface StepMethods {
3346
3684
  * @example
3347
3685
  * ```typescript
3348
3686
  * const result = await agent.airtableDeleteRecord({
3349
- * connectionId: ``,
3350
3687
  * baseId: ``,
3351
3688
  * tableId: ``,
3352
3689
  * recordId: ``,
@@ -3364,7 +3701,6 @@ interface StepMethods {
3364
3701
  * @example
3365
3702
  * ```typescript
3366
3703
  * const result = await agent.airtableGetRecord({
3367
- * connectionId: ``,
3368
3704
  * baseId: ``,
3369
3705
  * tableId: ``,
3370
3706
  * recordId: ``,
@@ -3383,7 +3719,6 @@ interface StepMethods {
3383
3719
  * @example
3384
3720
  * ```typescript
3385
3721
  * const result = await agent.airtableGetTableRecords({
3386
- * connectionId: ``,
3387
3722
  * baseId: ``,
3388
3723
  * tableId: ``,
3389
3724
  * });
@@ -3446,7 +3781,6 @@ interface StepMethods {
3446
3781
  * @example
3447
3782
  * ```typescript
3448
3783
  * const result = await agent.codaCreateUpdatePage({
3449
- * connectionId: ``,
3450
3784
  * pageData: {},
3451
3785
  * });
3452
3786
  * ```
@@ -3463,7 +3797,6 @@ interface StepMethods {
3463
3797
  * @example
3464
3798
  * ```typescript
3465
3799
  * const result = await agent.codaCreateUpdateRow({
3466
- * connectionId: ``,
3467
3800
  * docId: ``,
3468
3801
  * tableId: ``,
3469
3802
  * rowData: {},
@@ -3482,7 +3815,6 @@ interface StepMethods {
3482
3815
  * @example
3483
3816
  * ```typescript
3484
3817
  * const result = await agent.codaFindRow({
3485
- * connectionId: ``,
3486
3818
  * docId: ``,
3487
3819
  * tableId: ``,
3488
3820
  * rowData: {},
@@ -3501,7 +3833,6 @@ interface StepMethods {
3501
3833
  * @example
3502
3834
  * ```typescript
3503
3835
  * const result = await agent.codaGetPage({
3504
- * connectionId: ``,
3505
3836
  * docId: ``,
3506
3837
  * pageId: ``,
3507
3838
  * });
@@ -3519,7 +3850,6 @@ interface StepMethods {
3519
3850
  * @example
3520
3851
  * ```typescript
3521
3852
  * const result = await agent.codaGetTableRows({
3522
- * connectionId: ``,
3523
3853
  * docId: ``,
3524
3854
  * tableId: ``,
3525
3855
  * });
@@ -3569,7 +3899,6 @@ interface StepMethods {
3569
3899
  * @example
3570
3900
  * ```typescript
3571
3901
  * const result = await agent.createGoogleCalendarEvent({
3572
- * connectionId: ``,
3573
3902
  * summary: ``,
3574
3903
  * startDateTime: ``,
3575
3904
  * endDateTime: ``,
@@ -3588,7 +3917,6 @@ interface StepMethods {
3588
3917
  * const result = await agent.createGoogleDoc({
3589
3918
  * title: ``,
3590
3919
  * text: ``,
3591
- * connectionId: ``,
3592
3920
  * textType: "plain",
3593
3921
  * });
3594
3922
  * ```
@@ -3602,7 +3930,6 @@ interface StepMethods {
3602
3930
  * const result = await agent.createGoogleSheet({
3603
3931
  * title: ``,
3604
3932
  * text: ``,
3605
- * connectionId: ``,
3606
3933
  * });
3607
3934
  * ```
3608
3935
  */
@@ -3640,6 +3967,21 @@ interface StepMethods {
3640
3967
  * ```
3641
3968
  */
3642
3969
  deleteDataSourceDocument(step: DeleteDataSourceDocumentStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteDataSourceDocumentStepOutput>>;
3970
+ /**
3971
+ * Move an email to trash in the connected Gmail account (recoverable delete).
3972
+ *
3973
+ * @remarks
3974
+ * - Requires a Google OAuth connection with Gmail modify scope.
3975
+ * - Uses trash (recoverable) rather than permanent delete.
3976
+ *
3977
+ * @example
3978
+ * ```typescript
3979
+ * const result = await agent.deleteGmailEmail({
3980
+ * messageId: ``,
3981
+ * });
3982
+ * ```
3983
+ */
3984
+ deleteGmailEmail(step: DeleteGmailEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteGmailEmailStepOutput>>;
3643
3985
  /**
3644
3986
  * Retrieve a specific event from a Google Calendar by event ID.
3645
3987
  *
@@ -3650,12 +3992,29 @@ interface StepMethods {
3650
3992
  * @example
3651
3993
  * ```typescript
3652
3994
  * const result = await agent.deleteGoogleCalendarEvent({
3653
- * connectionId: ``,
3654
3995
  * eventId: ``,
3655
3996
  * });
3656
3997
  * ```
3657
3998
  */
3658
3999
  deleteGoogleCalendarEvent(step: DeleteGoogleCalendarEventStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteGoogleCalendarEventStepOutput>>;
4000
+ /**
4001
+ * Delete a range of rows from a Google Spreadsheet.
4002
+ *
4003
+ * @remarks
4004
+ * - Requires a Google OAuth connection with Drive scope.
4005
+ * - startRow and endRow are 1-based row numbers (inclusive).
4006
+ * - If sheetName is omitted, operates on the first sheet.
4007
+ *
4008
+ * @example
4009
+ * ```typescript
4010
+ * const result = await agent.deleteGoogleSheetRows({
4011
+ * documentId: ``,
4012
+ * startRow: ``,
4013
+ * endRow: ``,
4014
+ * });
4015
+ * ```
4016
+ */
4017
+ deleteGoogleSheetRows(step: DeleteGoogleSheetRowsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteGoogleSheetRowsStepOutput>>;
3659
4018
  /**
3660
4019
  * Scan text for personally identifiable information using Microsoft Presidio.
3661
4020
  *
@@ -3796,7 +4155,6 @@ interface StepMethods {
3796
4155
  * ```typescript
3797
4156
  * const result = await agent.fetchGoogleDoc({
3798
4157
  * documentId: ``,
3799
- * connectionId: ``,
3800
4158
  * exportType: "html",
3801
4159
  * });
3802
4160
  * ```
@@ -3814,7 +4172,6 @@ interface StepMethods {
3814
4172
  * const result = await agent.fetchGoogleSheet({
3815
4173
  * spreadsheetId: ``,
3816
4174
  * range: ``,
3817
- * connectionId: ``,
3818
4175
  * exportType: "csv",
3819
4176
  * });
3820
4177
  * ```
@@ -3829,7 +4186,6 @@ interface StepMethods {
3829
4186
  * @example
3830
4187
  * ```typescript
3831
4188
  * const result = await agent.fetchSlackChannelHistory({
3832
- * connectionId: ``,
3833
4189
  * channelId: ``,
3834
4190
  * });
3835
4191
  * ```
@@ -4014,6 +4370,36 @@ interface StepMethods {
4014
4370
  * ```
4015
4371
  */
4016
4372
  generateVideo(step: GenerateVideoStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GenerateVideoStepOutput>>;
4373
+ /**
4374
+ * Retrieve a specific draft from Gmail by draft ID.
4375
+ *
4376
+ * @remarks
4377
+ * - Requires a Google OAuth connection with Gmail readonly scope.
4378
+ * - Returns the draft content including subject, recipients, sender, and body.
4379
+ *
4380
+ * @example
4381
+ * ```typescript
4382
+ * const result = await agent.getGmailDraft({
4383
+ * draftId: ``,
4384
+ * });
4385
+ * ```
4386
+ */
4387
+ getGmailDraft(step: GetGmailDraftStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGmailDraftStepOutput>>;
4388
+ /**
4389
+ * Retrieve a specific email from Gmail by message ID.
4390
+ *
4391
+ * @remarks
4392
+ * - Requires a Google OAuth connection with Gmail readonly scope.
4393
+ * - Returns the email subject, sender, recipient, date, body (plain text preferred, falls back to HTML), and labels.
4394
+ *
4395
+ * @example
4396
+ * ```typescript
4397
+ * const result = await agent.getGmailEmail({
4398
+ * messageId: ``,
4399
+ * });
4400
+ * ```
4401
+ */
4402
+ getGmailEmail(step: GetGmailEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGmailEmailStepOutput>>;
4017
4403
  /**
4018
4404
  * Retrieve a specific event from a Google Calendar by event ID.
4019
4405
  *
@@ -4024,13 +4410,44 @@ interface StepMethods {
4024
4410
  * @example
4025
4411
  * ```typescript
4026
4412
  * const result = await agent.getGoogleCalendarEvent({
4027
- * connectionId: ``,
4028
4413
  * eventId: ``,
4029
4414
  * exportType: "json",
4030
4415
  * });
4031
4416
  * ```
4032
4417
  */
4033
4418
  getGoogleCalendarEvent(step: GetGoogleCalendarEventStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGoogleCalendarEventStepOutput>>;
4419
+ /**
4420
+ * Download a file from Google Drive and rehost it on the CDN. Returns a public CDN URL.
4421
+ *
4422
+ * @remarks
4423
+ * - Requires a Google OAuth connection with Drive scope.
4424
+ * - Google-native files (Docs, Sheets, Slides) cannot be downloaded — use dedicated steps instead.
4425
+ * - Maximum file size: 200MB.
4426
+ * - The file is downloaded and re-uploaded to the CDN; the returned URL is publicly accessible.
4427
+ *
4428
+ * @example
4429
+ * ```typescript
4430
+ * const result = await agent.getGoogleDriveFile({
4431
+ * fileId: ``,
4432
+ * });
4433
+ * ```
4434
+ */
4435
+ getGoogleDriveFile(step: GetGoogleDriveFileStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGoogleDriveFileStepOutput>>;
4436
+ /**
4437
+ * Get metadata about a Google Spreadsheet including sheet names, row counts, and column counts.
4438
+ *
4439
+ * @remarks
4440
+ * - Requires a Google OAuth connection with Drive scope.
4441
+ * - Returns the spreadsheet title and a list of all sheets with their dimensions.
4442
+ *
4443
+ * @example
4444
+ * ```typescript
4445
+ * const result = await agent.getGoogleSheetInfo({
4446
+ * documentId: ``,
4447
+ * });
4448
+ * ```
4449
+ */
4450
+ getGoogleSheetInfo(step: GetGoogleSheetInfoStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGoogleSheetInfoStepOutput>>;
4034
4451
  /**
4035
4452
  * Get info about a media file
4036
4453
  *
@@ -4075,7 +4492,6 @@ interface StepMethods {
4075
4492
  * @example
4076
4493
  * ```typescript
4077
4494
  * const result = await agent.hubspotCreateCompany({
4078
- * connectionId: ``,
4079
4495
  * company: {},
4080
4496
  * enabledProperties: [],
4081
4497
  * });
@@ -4094,7 +4510,6 @@ interface StepMethods {
4094
4510
  * @example
4095
4511
  * ```typescript
4096
4512
  * const result = await agent.hubspotCreateContact({
4097
- * connectionId: ``,
4098
4513
  * contact: {},
4099
4514
  * enabledProperties: [],
4100
4515
  * companyDomain: ``,
@@ -4114,7 +4529,6 @@ interface StepMethods {
4114
4529
  * @example
4115
4530
  * ```typescript
4116
4531
  * const result = await agent.hubspotGetCompany({
4117
- * connectionId: ``,
4118
4532
  * searchBy: "domain",
4119
4533
  * companyDomain: ``,
4120
4534
  * companyId: ``,
@@ -4134,7 +4548,6 @@ interface StepMethods {
4134
4548
  * @example
4135
4549
  * ```typescript
4136
4550
  * const result = await agent.hubspotGetContact({
4137
- * connectionId: ``,
4138
4551
  * searchBy: "email",
4139
4552
  * contactEmail: ``,
4140
4553
  * contactId: ``,
@@ -4279,6 +4692,22 @@ interface StepMethods {
4279
4692
  * ```
4280
4693
  */
4281
4694
  listDataSources(step: ListDataSourcesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListDataSourcesStepOutput>>;
4695
+ /**
4696
+ * List drafts in the connected Gmail account.
4697
+ *
4698
+ * @remarks
4699
+ * - Requires a Google OAuth connection with Gmail readonly scope.
4700
+ * - Returns up to 50 drafts (default 10).
4701
+ * - The variable receives text or JSON depending on exportType.
4702
+ *
4703
+ * @example
4704
+ * ```typescript
4705
+ * const result = await agent.listGmailDrafts({
4706
+ * exportType: "json",
4707
+ * });
4708
+ * ```
4709
+ */
4710
+ listGmailDrafts(step: ListGmailDraftsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGmailDraftsStepOutput>>;
4282
4711
  /**
4283
4712
  * List upcoming events from a Google Calendar, ordered by start time.
4284
4713
  *
@@ -4290,13 +4719,28 @@ interface StepMethods {
4290
4719
  * @example
4291
4720
  * ```typescript
4292
4721
  * const result = await agent.listGoogleCalendarEvents({
4293
- * connectionId: ``,
4294
4722
  * limit: 0,
4295
4723
  * exportType: "json",
4296
4724
  * });
4297
4725
  * ```
4298
4726
  */
4299
4727
  listGoogleCalendarEvents(step: ListGoogleCalendarEventsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGoogleCalendarEventsStepOutput>>;
4728
+ /**
4729
+ * List files in a Google Drive folder.
4730
+ *
4731
+ * @remarks
4732
+ * - Requires a Google OAuth connection with Drive scope.
4733
+ * - If folderId is omitted, lists files in the root folder.
4734
+ * - Returns file metadata including name, type, size, and links.
4735
+ *
4736
+ * @example
4737
+ * ```typescript
4738
+ * const result = await agent.listGoogleDriveFiles({
4739
+ * exportType: "json",
4740
+ * });
4741
+ * ```
4742
+ */
4743
+ listGoogleDriveFiles(step: ListGoogleDriveFilesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGoogleDriveFilesStepOutput>>;
4300
4744
  /**
4301
4745
  * Use an AI model to evaluate which condition from a list is most true, given a context prompt.
4302
4746
  *
@@ -4413,7 +4857,6 @@ interface StepMethods {
4413
4857
  * pageId: ``,
4414
4858
  * content: ``,
4415
4859
  * title: ``,
4416
- * connectionId: ``,
4417
4860
  * });
4418
4861
  * ```
4419
4862
  */
@@ -4432,7 +4875,6 @@ interface StepMethods {
4432
4875
  * pageId: ``,
4433
4876
  * content: ``,
4434
4877
  * mode: "append",
4435
- * connectionId: ``,
4436
4878
  * });
4437
4879
  * ```
4438
4880
  */
@@ -4472,7 +4914,6 @@ interface StepMethods {
4472
4914
  * const result = await agent.postToLinkedIn({
4473
4915
  * message: ``,
4474
4916
  * visibility: "PUBLIC",
4475
- * connectionId: ``,
4476
4917
  * });
4477
4918
  * ```
4478
4919
  */
@@ -4491,7 +4932,6 @@ interface StepMethods {
4491
4932
  * channelId: ``,
4492
4933
  * messageType: "string",
4493
4934
  * message: ``,
4494
- * connectionId: ``,
4495
4935
  * });
4496
4936
  * ```
4497
4937
  */
@@ -4507,7 +4947,6 @@ interface StepMethods {
4507
4947
  * ```typescript
4508
4948
  * const result = await agent.postToX({
4509
4949
  * text: ``,
4510
- * connectionId: ``,
4511
4950
  * });
4512
4951
  * ```
4513
4952
  */
@@ -4557,7 +4996,6 @@ interface StepMethods {
4557
4996
  * @example
4558
4997
  * ```typescript
4559
4998
  * const result = await agent.queryExternalDatabase({
4560
- * connectionId: ``,
4561
4999
  * query: ``,
4562
5000
  * outputFormat: "json",
4563
5001
  * });
@@ -4596,6 +5034,24 @@ interface StepMethods {
4596
5034
  * ```
4597
5035
  */
4598
5036
  removeBackgroundFromImage(step: RemoveBackgroundFromImageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<RemoveBackgroundFromImageStepOutput>>;
5037
+ /**
5038
+ * Reply to an existing email in Gmail. The reply is threaded under the original message.
5039
+ *
5040
+ * @remarks
5041
+ * - Requires a Google OAuth connection with Gmail compose and readonly scopes.
5042
+ * - The reply is sent to the original sender and threaded under the original message.
5043
+ * - messageType controls the body format: "plain", "html", or "markdown".
5044
+ *
5045
+ * @example
5046
+ * ```typescript
5047
+ * const result = await agent.replyToGmailEmail({
5048
+ * messageId: ``,
5049
+ * message: ``,
5050
+ * messageType: "plain",
5051
+ * });
5052
+ * ```
5053
+ */
5054
+ replyToGmailEmail(step: ReplyToGmailEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ReplyToGmailEmailStepOutput>>;
4599
5055
  /**
4600
5056
  * Resize a video file
4601
5057
  *
@@ -4814,6 +5270,38 @@ interface StepMethods {
4814
5270
  * ```
4815
5271
  */
4816
5272
  searchGoogle(step: SearchGoogleStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SearchGoogleStepOutput>>;
5273
+ /**
5274
+ * Search for events in a Google Calendar by keyword, date range, or both.
5275
+ *
5276
+ * @remarks
5277
+ * - Requires a Google OAuth connection with Calendar events scope.
5278
+ * - Supports keyword search via "query" and date filtering via "timeMin"/"timeMax" (ISO 8601 format).
5279
+ * - Unlike "List Events" which only shows future events, this allows searching past events too.
5280
+ *
5281
+ * @example
5282
+ * ```typescript
5283
+ * const result = await agent.searchGoogleCalendarEvents({
5284
+ * exportType: "json",
5285
+ * });
5286
+ * ```
5287
+ */
5288
+ searchGoogleCalendarEvents(step: SearchGoogleCalendarEventsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SearchGoogleCalendarEventsStepOutput>>;
5289
+ /**
5290
+ * Search for files in Google Drive by keyword.
5291
+ *
5292
+ * @remarks
5293
+ * - Requires a Google OAuth connection with Drive scope.
5294
+ * - Searches file content and names using Google Drive's fullText search.
5295
+ *
5296
+ * @example
5297
+ * ```typescript
5298
+ * const result = await agent.searchGoogleDrive({
5299
+ * query: ``,
5300
+ * exportType: "json",
5301
+ * });
5302
+ * ```
5303
+ */
5304
+ searchGoogleDrive(step: SearchGoogleDriveStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SearchGoogleDriveStepOutput>>;
4817
5305
  /**
4818
5306
  * Search Google Images and return image results with URLs and metadata.
4819
5307
  *
@@ -4974,7 +5462,6 @@ interface StepMethods {
4974
5462
  * const result = await agent.sendEmail({
4975
5463
  * subject: ``,
4976
5464
  * body: ``,
4977
- * connectionId: ``,
4978
5465
  * });
4979
5466
  * ```
4980
5467
  */
@@ -4989,7 +5476,6 @@ interface StepMethods {
4989
5476
  * ```typescript
4990
5477
  * const result = await agent.sendSMS({
4991
5478
  * body: ``,
4992
- * connectionId: ``,
4993
5479
  * });
4994
5480
  * ```
4995
5481
  */
@@ -5017,7 +5503,6 @@ interface StepMethods {
5017
5503
  * ```typescript
5018
5504
  * const result = await agent.setVariable({
5019
5505
  * value: ``,
5020
- * type: "imageUrl",
5021
5506
  * });
5022
5507
  * ```
5023
5508
  */
@@ -5162,7 +5647,6 @@ interface StepMethods {
5162
5647
  * @example
5163
5648
  * ```typescript
5164
5649
  * const result = await agent.updateGoogleCalendarEvent({
5165
- * connectionId: ``,
5166
5650
  * eventId: ``,
5167
5651
  * });
5168
5652
  * ```
@@ -5179,7 +5663,6 @@ interface StepMethods {
5179
5663
  * ```typescript
5180
5664
  * const result = await agent.updateGoogleDoc({
5181
5665
  * documentId: ``,
5182
- * connectionId: ``,
5183
5666
  * text: ``,
5184
5667
  * textType: "plain",
5185
5668
  * operationType: "addToTop",
@@ -5198,7 +5681,6 @@ interface StepMethods {
5198
5681
  * ```typescript
5199
5682
  * const result = await agent.updateGoogleSheet({
5200
5683
  * text: ``,
5201
- * connectionId: ``,
5202
5684
  * spreadsheetId: ``,
5203
5685
  * range: ``,
5204
5686
  * operationType: "addToBottom",
@@ -5434,6 +5916,15 @@ interface MonacoSnippet {
5434
5916
  declare const monacoSnippets: Record<string, MonacoSnippet>;
5435
5917
  declare const blockTypeAliases: Record<string, string>;
5436
5918
 
5919
+ interface StepMetadata {
5920
+ stepType: string;
5921
+ description: string;
5922
+ usageNotes: string;
5923
+ inputSchema: Record<string, unknown>;
5924
+ outputSchema: Record<string, unknown> | null;
5925
+ }
5926
+ declare const stepMetadata: Record<string, StepMetadata>;
5927
+
5437
5928
  /** MindStudioAgent with all generated step and helper methods. */
5438
5929
  type MindStudioAgent = MindStudioAgent$1 & StepMethods & HelperMethods;
5439
5930
  /** {@inheritDoc MindStudioAgent} */
@@ -5441,4 +5932,4 @@ declare const MindStudioAgent: {
5441
5932
  new (options?: AgentOptions): MindStudioAgent;
5442
5933
  };
5443
5934
 
5444
- export { type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentOptions, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type DeleteDataSourceDocumentStepInput, type DeleteDataSourceDocumentStepOutput, type DeleteDataSourceStepInput, type DeleteDataSourceStepOutput, type DeleteGoogleCalendarEventStepInput, type DeleteGoogleCalendarEventStepOutput, type DetectPIIStepInput, type DetectPIIStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, type ExtractAudioFromVideoStepInput, type ExtractAudioFromVideoStepOutput, type ExtractTextStepInput, type ExtractTextStepOutput, type FetchDataSourceDocumentStepInput, type FetchDataSourceDocumentStepOutput, type FetchGoogleDocStepInput, type FetchGoogleDocStepOutput, type FetchGoogleSheetStepInput, type FetchGoogleSheetStepOutput, type FetchSlackChannelHistoryStepInput, type FetchSlackChannelHistoryStepOutput, type FetchYoutubeCaptionsStepInput, type FetchYoutubeCaptionsStepOutput, type FetchYoutubeChannelStepInput, type FetchYoutubeChannelStepOutput, type FetchYoutubeCommentsStepInput, type FetchYoutubeCommentsStepOutput, type FetchYoutubeVideoStepInput, type FetchYoutubeVideoStepOutput, type GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateChartStepInput, type GenerateChartStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HelperMethods, type HttpRequestStepInput, type HttpRequestStepOutput, type HubspotCreateCompanyStepInput, type HubspotCreateCompanyStepOutput, type HubspotCreateContactStepInput, type HubspotCreateContactStepOutput, type HubspotGetCompanyStepInput, type HubspotGetCompanyStepOutput, type HubspotGetContactStepInput, type HubspotGetContactStepOutput, type HunterApiCompanyEnrichmentStepInput, type HunterApiCompanyEnrichmentStepOutput, type HunterApiDomainSearchStepInput, type HunterApiDomainSearchStepOutput, type HunterApiEmailFinderStepInput, type HunterApiEmailFinderStepOutput, type HunterApiEmailVerificationStepInput, type HunterApiEmailVerificationStepOutput, type HunterApiPersonEnrichmentStepInput, type HunterApiPersonEnrichmentStepOutput, type ImageFaceSwapStepInput, type ImageFaceSwapStepOutput, type ImageRemoveWatermarkStepInput, type ImageRemoveWatermarkStepOutput, type InsertVideoClipsStepInput, type InsertVideoClipsStepOutput, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, type MixAudioIntoVideoStepInput, type MixAudioIntoVideoStepOutput, type ModelType, type MonacoSnippet, type MonacoSnippetField, type MonacoSnippetFieldType, type MuteVideoStepInput, type MuteVideoStepOutput, type N8nRunNodeStepInput, type N8nRunNodeStepOutput, type NotionCreatePageStepInput, type NotionCreatePageStepOutput, type NotionUpdatePageStepInput, type NotionUpdatePageStepOutput, type PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ResizeVideoStepInput, type ResizeVideoStepOutput, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type ScrapeFacebookPageStepInput, type ScrapeFacebookPageStepOutput, type ScrapeFacebookPostsStepInput, type ScrapeFacebookPostsStepOutput, type ScrapeInstagramCommentsStepInput, type ScrapeInstagramCommentsStepOutput, type ScrapeInstagramMentionsStepInput, type ScrapeInstagramMentionsStepOutput, type ScrapeInstagramPostsStepInput, type ScrapeInstagramPostsStepOutput, type ScrapeInstagramProfileStepInput, type ScrapeInstagramProfileStepOutput, type ScrapeInstagramReelsStepInput, type ScrapeInstagramReelsStepOutput, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeMetaThreadsProfileStepInput, type ScrapeMetaThreadsProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, type SearchGoogleImagesStepInput, type SearchGoogleImagesStepOutput, type SearchGoogleNewsStepInput, type SearchGoogleNewsStepOutput, type SearchGoogleStepInput, type SearchGoogleStepOutput, type SearchGoogleTrendsStepInput, type SearchGoogleTrendsStepOutput, type SearchPerplexityStepInput, type SearchPerplexityStepOutput, type SearchXPostsStepInput, type SearchXPostsStepOutput, type SearchYoutubeStepInput, type SearchYoutubeStepOutput, type SearchYoutubeTrendsStepInput, type SearchYoutubeTrendsStepOutput, type SendEmailStepInput, type SendEmailStepOutput, type SendSMSStepInput, type SendSMSStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepMethods, type StepName, type StepOutputMap, type TelegramSendAudioStepInput, type TelegramSendAudioStepOutput, type TelegramSendFileStepInput, type TelegramSendFileStepOutput, type TelegramSendImageStepInput, type TelegramSendImageStepOutput, type TelegramSendMessageStepInput, type TelegramSendMessageStepOutput, type TelegramSendVideoStepInput, type TelegramSendVideoStepOutput, type TelegramSetTypingStepInput, type TelegramSetTypingStepOutput, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, blockTypeAliases, monacoSnippets };
5935
+ export { type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type DeleteDataSourceDocumentStepInput, type DeleteDataSourceDocumentStepOutput, type DeleteDataSourceStepInput, type DeleteDataSourceStepOutput, type DeleteGmailEmailStepInput, type DeleteGmailEmailStepOutput, type DeleteGoogleCalendarEventStepInput, type DeleteGoogleCalendarEventStepOutput, type DeleteGoogleSheetRowsStepInput, type DeleteGoogleSheetRowsStepOutput, type DetectPIIStepInput, type DetectPIIStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, type ExtractAudioFromVideoStepInput, type ExtractAudioFromVideoStepOutput, type ExtractTextStepInput, type ExtractTextStepOutput, type FetchDataSourceDocumentStepInput, type FetchDataSourceDocumentStepOutput, type FetchGoogleDocStepInput, type FetchGoogleDocStepOutput, type FetchGoogleSheetStepInput, type FetchGoogleSheetStepOutput, type FetchSlackChannelHistoryStepInput, type FetchSlackChannelHistoryStepOutput, type FetchYoutubeCaptionsStepInput, type FetchYoutubeCaptionsStepOutput, type FetchYoutubeChannelStepInput, type FetchYoutubeChannelStepOutput, type FetchYoutubeCommentsStepInput, type FetchYoutubeCommentsStepOutput, type FetchYoutubeVideoStepInput, type FetchYoutubeVideoStepOutput, type GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateChartStepInput, type GenerateChartStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGmailDraftStepInput, type GetGmailDraftStepOutput, type GetGmailEmailStepInput, type GetGmailEmailStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetGoogleDriveFileStepInput, type GetGoogleDriveFileStepOutput, type GetGoogleSheetInfoStepInput, type GetGoogleSheetInfoStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HelperMethods, type HttpRequestStepInput, type HttpRequestStepOutput, type HubspotCreateCompanyStepInput, type HubspotCreateCompanyStepOutput, type HubspotCreateContactStepInput, type HubspotCreateContactStepOutput, type HubspotGetCompanyStepInput, type HubspotGetCompanyStepOutput, type HubspotGetContactStepInput, type HubspotGetContactStepOutput, type HunterApiCompanyEnrichmentStepInput, type HunterApiCompanyEnrichmentStepOutput, type HunterApiDomainSearchStepInput, type HunterApiDomainSearchStepOutput, type HunterApiEmailFinderStepInput, type HunterApiEmailFinderStepOutput, type HunterApiEmailVerificationStepInput, type HunterApiEmailVerificationStepOutput, type HunterApiPersonEnrichmentStepInput, type HunterApiPersonEnrichmentStepOutput, type ImageFaceSwapStepInput, type ImageFaceSwapStepOutput, type ImageRemoveWatermarkStepInput, type ImageRemoveWatermarkStepOutput, type InsertVideoClipsStepInput, type InsertVideoClipsStepOutput, type ListAgentsResult, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGmailDraftsStepInput, type ListGmailDraftsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, type MixAudioIntoVideoStepInput, type MixAudioIntoVideoStepOutput, type ModelType, type MonacoSnippet, type MonacoSnippetField, type MonacoSnippetFieldType, type MuteVideoStepInput, type MuteVideoStepOutput, type N8nRunNodeStepInput, type N8nRunNodeStepOutput, type NotionCreatePageStepInput, type NotionCreatePageStepOutput, type NotionUpdatePageStepInput, type NotionUpdatePageStepOutput, type PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type ResizeVideoStepInput, type ResizeVideoStepOutput, type RunAgentOptions, type RunAgentResult, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type ScrapeFacebookPageStepInput, type ScrapeFacebookPageStepOutput, type ScrapeFacebookPostsStepInput, type ScrapeFacebookPostsStepOutput, type ScrapeInstagramCommentsStepInput, type ScrapeInstagramCommentsStepOutput, type ScrapeInstagramMentionsStepInput, type ScrapeInstagramMentionsStepOutput, type ScrapeInstagramPostsStepInput, type ScrapeInstagramPostsStepOutput, type ScrapeInstagramProfileStepInput, type ScrapeInstagramProfileStepOutput, type ScrapeInstagramReelsStepInput, type ScrapeInstagramReelsStepOutput, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeMetaThreadsProfileStepInput, type ScrapeMetaThreadsProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, type SearchGoogleCalendarEventsStepInput, type SearchGoogleCalendarEventsStepOutput, type SearchGoogleDriveStepInput, type SearchGoogleDriveStepOutput, type SearchGoogleImagesStepInput, type SearchGoogleImagesStepOutput, type SearchGoogleNewsStepInput, type SearchGoogleNewsStepOutput, type SearchGoogleStepInput, type SearchGoogleStepOutput, type SearchGoogleTrendsStepInput, type SearchGoogleTrendsStepOutput, type SearchPerplexityStepInput, type SearchPerplexityStepOutput, type SearchXPostsStepInput, type SearchXPostsStepOutput, type SearchYoutubeStepInput, type SearchYoutubeStepOutput, type SearchYoutubeTrendsStepInput, type SearchYoutubeTrendsStepOutput, type SendEmailStepInput, type SendEmailStepOutput, type SendSMSStepInput, type SendSMSStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepMetadata, type StepMethods, type StepName, type StepOutputMap, type TelegramSendAudioStepInput, type TelegramSendAudioStepOutput, type TelegramSendFileStepInput, type TelegramSendFileStepOutput, type TelegramSendImageStepInput, type TelegramSendImageStepOutput, type TelegramSendMessageStepInput, type TelegramSendMessageStepOutput, type TelegramSendVideoStepInput, type TelegramSendVideoStepOutput, type TelegramSetTypingStepInput, type TelegramSetTypingStepOutput, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, blockTypeAliases, monacoSnippets, stepMetadata };