@mindstudio-ai/agent 0.0.8 → 0.0.10

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/README.md CHANGED
@@ -19,29 +19,27 @@ import { MindStudioAgent } from '@mindstudio-ai/agent';
19
19
 
20
20
  const agent = new MindStudioAgent({ apiKey: 'your-api-key' });
21
21
 
22
+ // Generate text with an AI model
23
+ const { content } = await agent.generateText({
24
+ message: 'Summarize this article: ...',
25
+ });
26
+ console.log(content);
27
+
22
28
  // Generate an image
23
29
  const { imageUrl } = await agent.generateImage({
24
30
  prompt: 'A mountain landscape at sunset',
25
- mode: 'background',
26
31
  });
27
32
  console.log(imageUrl);
28
33
 
29
- // Send a message to an AI model
30
- const { content } = await agent.userMessage({
31
- message: 'Summarize this article: ...',
32
- source: 'user',
33
- });
34
- console.log(content);
35
-
36
34
  // Search Google
37
35
  const { results } = await agent.searchGoogle({
38
- query: 'TypeScript best practices 2025',
36
+ query: 'TypeScript best practices',
39
37
  exportType: 'json',
40
38
  });
41
39
  console.log(results);
42
40
  ```
43
41
 
44
- Every method is fully typed — your editor will autocomplete available parameters, show enum options, and infer the output shape.
42
+ Every method is fully typed — your editor will autocomplete available parameters, show enum options, and infer the output shape. Results are returned flat for easy destructuring.
45
43
 
46
44
  ## Authentication
47
45
 
@@ -73,27 +71,42 @@ Resolution order: constructor `apiKey` > `MINDSTUDIO_API_KEY` env > `CALLBACK_TO
73
71
  Steps execute within threads. Pass `$threadId` and `$appId` from a previous call to maintain state across calls:
74
72
 
75
73
  ```typescript
76
- const r1 = await agent.userMessage({
74
+ const r1 = await agent.generateText({
77
75
  message: 'My name is Alice',
78
- source: 'user',
79
76
  });
80
77
 
81
78
  // The model remembers the conversation
82
- const r2 = await agent.userMessage(
83
- { message: 'What is my name?', source: 'user' },
79
+ const r2 = await agent.generateText(
80
+ { message: 'What is my name?' },
84
81
  { threadId: r1.$threadId, appId: r1.$appId },
85
82
  );
86
83
  ```
87
84
 
85
+ ## Rate limiting
86
+
87
+ Rate limiting is handled automatically:
88
+
89
+ - **Concurrency queue** — requests beyond the server's concurrent limit are queued and proceed as slots open up (10 for internal tokens, 20 for API keys)
90
+ - **Auto-retry on 429** — rate-limited responses are retried automatically using the `Retry-After` header (default: 3 retries, configurable via `maxRetries`)
91
+ - **Call cap** — internal tokens are capped at 500 calls per execution; the SDK throws `MindStudioError` with code `call_cap_exceeded` rather than sending requests that will fail
92
+
93
+ Every result includes `$rateLimitRemaining` so you can throttle proactively:
94
+
95
+ ```typescript
96
+ const result = await agent.generateText({ message: 'Hello' });
97
+ console.log(result.$rateLimitRemaining); // calls remaining in window
98
+ ```
99
+
88
100
  ## Available steps
89
101
 
90
102
  Every step has a dedicated typed method. A few highlights:
91
103
 
92
104
  | Method | Description |
93
105
  | --- | --- |
94
- | `userMessage()` | Send a message to an AI model |
106
+ | `generateText()` | Send a message to an AI model |
95
107
  | `generateImage()` | Generate an image from a text prompt |
96
108
  | `generateVideo()` | Generate a video from a text prompt |
109
+ | `generateAsset()` | Generate an HTML/PDF/PNG/video asset |
97
110
  | `analyzeImage()` | Analyze an image with a vision model |
98
111
  | `textToSpeech()` | Convert text to speech |
99
112
  | `transcribeAudio()` | Transcribe audio to text |
@@ -131,6 +144,9 @@ const agent = new MindStudioAgent({
131
144
  // Base URL (or set MINDSTUDIO_BASE_URL env var)
132
145
  // Defaults to https://v1.mindstudio-api.com
133
146
  baseUrl: 'http://localhost:3129',
147
+
148
+ // Max retries on 429 rate limit responses (default: 3)
149
+ maxRetries: 5,
134
150
  });
135
151
  ```
136
152
 
@@ -152,14 +168,39 @@ All input/output types are exported for use in your own code:
152
168
  import type {
153
169
  GenerateImageStepInput,
154
170
  GenerateImageStepOutput,
155
- UserMessageStepInput,
171
+ GenerateTextStepInput,
156
172
  StepName,
157
173
  StepInputMap,
158
174
  StepOutputMap,
159
175
  } from '@mindstudio-ai/agent';
160
176
  ```
161
177
 
162
- `StepName` is a union of all available step type names. `StepInputMap` and `StepOutputMap` map step names to their input/output types, which is useful for building generic utilities.
178
+ `StepName` is a union of all available step type names. `StepInputMap` and `StepOutputMap` map step names to their input/output types, useful for building generic utilities.
179
+
180
+ ## Snippets
181
+
182
+ A `stepSnippets` object is exported for building UI menus or code generators:
183
+
184
+ ```typescript
185
+ import { stepSnippets } from '@mindstudio-ai/agent';
186
+
187
+ stepSnippets.generateText;
188
+ // {
189
+ // method: "generateText",
190
+ // snippet: "{\n message: ``,\n}",
191
+ // outputKeys: ["content"]
192
+ // }
193
+ ```
194
+
195
+ ## LLM documentation
196
+
197
+ An `llms.txt` file ships with the package for AI agent consumption:
198
+
199
+ ```
200
+ node_modules/@mindstudio-ai/agent/llms.txt
201
+ ```
202
+
203
+ It contains a compact, complete reference of all methods with their required parameters and output keys — optimized for LLM context windows.
163
204
 
164
205
  ## Error handling
165
206
 
@@ -167,7 +208,7 @@ import type {
167
208
  import { MindStudioAgent, MindStudioError } from '@mindstudio-ai/agent';
168
209
 
169
210
  try {
170
- await agent.generateImage({ prompt: '...', mode: 'background' });
211
+ await agent.generateImage({ prompt: '...' });
171
212
  } catch (err) {
172
213
  if (err instanceof MindStudioError) {
173
214
  console.error(err.message); // Human-readable message
package/dist/index.d.ts CHANGED
@@ -1,6 +1,30 @@
1
+ type AuthType = 'internal' | 'apiKey';
2
+ declare class RateLimiter {
3
+ readonly authType: AuthType;
4
+ private inflight;
5
+ private concurrencyLimit;
6
+ private callCount;
7
+ private callCap;
8
+ private queue;
9
+ constructor(authType: AuthType);
10
+ /** Acquire a slot. Resolves when a concurrent slot is available. */
11
+ acquire(): Promise<void>;
12
+ /** Release a slot and let the next queued request proceed. */
13
+ release(): void;
14
+ /** Update limits from response headers. */
15
+ updateFromHeaders(headers: Headers): void;
16
+ /** Read current rate limit state from response headers. */
17
+ static parseHeaders(headers: Headers): {
18
+ remaining: number | undefined;
19
+ concurrencyRemaining: number | undefined;
20
+ };
21
+ }
22
+
1
23
  interface HttpClientConfig {
2
24
  baseUrl: string;
3
25
  token: string;
26
+ rateLimiter: RateLimiter;
27
+ maxRetries: number;
4
28
  }
5
29
 
6
30
  /** Configuration options for creating a {@link MindStudioAgent}. */
@@ -21,6 +45,13 @@ interface AgentOptions {
21
45
  * custom functions), then falls back to `https://v1.mindstudio-api.com`.
22
46
  */
23
47
  baseUrl?: string;
48
+ /**
49
+ * Maximum number of automatic retries on 429 (rate limited) responses.
50
+ * Each retry waits for the duration specified by the `Retry-After` header.
51
+ *
52
+ * @default 3
53
+ */
54
+ maxRetries?: number;
24
55
  }
25
56
  /** Options for a single step execution call. */
26
57
  interface StepExecutionOptions {
@@ -43,19 +74,24 @@ interface StepExecutionMeta {
43
74
  $appId: string;
44
75
  /** The thread ID used for this execution. Pass to subsequent calls to maintain state. */
45
76
  $threadId: string;
77
+ /**
78
+ * Number of API calls remaining in the current rate limit window.
79
+ * Useful for throttling proactively before hitting the limit.
80
+ */
81
+ $rateLimitRemaining?: number;
46
82
  }
47
83
  /**
48
84
  * Result of a step execution call.
49
85
  *
50
86
  * Output properties are spread at the top level for easy destructuring:
51
87
  * ```ts
52
- * const { content } = await agent.userMessage({ ... });
88
+ * const { content } = await agent.generateText({ ... });
53
89
  * ```
54
90
  *
55
- * Execution metadata (`$appId`, `$threadId`) is also available on the same object:
91
+ * Execution metadata (`$appId`, `$threadId`, `$rateLimitRemaining`) is also available:
56
92
  * ```ts
57
- * const result = await agent.userMessage({ ... });
58
- * console.log(result.content, result.$threadId);
93
+ * const result = await agent.generateText({ ... });
94
+ * console.log(result.content, result.$threadId, result.$rateLimitRemaining);
59
95
  * ```
60
96
  */
61
97
  type StepExecutionResult<TOutput = Record<string, unknown>> = TOutput & StepExecutionMeta;
@@ -81,6 +117,11 @@ type StepExecutionResult<TOutput = Record<string, unknown>> = TOutput & StepExec
81
117
  * 2. `MINDSTUDIO_BASE_URL` environment variable
82
118
  * 3. `REMOTE_HOSTNAME` environment variable (auto-set inside MindStudio custom functions)
83
119
  * 4. `https://v1.mindstudio-api.com` (production default)
120
+ *
121
+ * Rate limiting is handled automatically:
122
+ * - Concurrent requests are queued to stay within server limits
123
+ * - 429 responses are retried automatically using the `Retry-After` header
124
+ * - Internal (hook) tokens are capped at 500 calls per execution
84
125
  */
85
126
  declare class MindStudioAgent$1 {
86
127
  /** @internal */
@@ -457,6 +498,11 @@ interface ConvertPdfToImagesStepOutput {
457
498
  /** CDN URLs of the generated page images, one per page of the PDF */
458
499
  imageUrls: string[];
459
500
  }
501
+ interface CreateDataSourceStepInput {
502
+ /** Name for the new data source (supports variable interpolation) */
503
+ name: string;
504
+ }
505
+ type CreateDataSourceStepOutput = unknown;
460
506
  interface CreateGoogleCalendarEventStepInput {
461
507
  /** Google OAuth connection ID */
462
508
  connectionId: string;
@@ -509,6 +555,18 @@ interface CreateGoogleSheetStepOutput {
509
555
  /** URL of the newly created Google Spreadsheet */
510
556
  spreadsheetUrl: string;
511
557
  }
558
+ interface DeleteDataSourceStepInput {
559
+ /** ID of the data source to delete (supports variable interpolation) */
560
+ dataSourceId: string;
561
+ }
562
+ type DeleteDataSourceStepOutput = unknown;
563
+ interface DeleteDataSourceDocumentStepInput {
564
+ /** ID of the data source containing the document (supports variable interpolation) */
565
+ dataSourceId: string;
566
+ /** ID of the document to delete (supports variable interpolation) */
567
+ documentId: string;
568
+ }
569
+ type DeleteDataSourceDocumentStepOutput = unknown;
512
570
  interface DeleteGoogleCalendarEventStepInput {
513
571
  /** Google OAuth connection ID */
514
572
  connectionId: string;
@@ -628,6 +686,13 @@ interface ExtractTextStepOutput {
628
686
  /** Extracted text content. A single string for one URL, or an array for multiple URLs */
629
687
  text: string | string[];
630
688
  }
689
+ interface FetchDataSourceDocumentStepInput {
690
+ /** ID of the data source containing the document (supports variable interpolation) */
691
+ dataSourceId: string;
692
+ /** ID of the document to fetch (supports variable interpolation) */
693
+ documentId: string;
694
+ }
695
+ type FetchDataSourceDocumentStepOutput = unknown;
631
696
  interface FetchGoogleDocStepInput {
632
697
  /** Google Document ID (from the document URL) */
633
698
  documentId: string;
@@ -1702,6 +1767,8 @@ interface InsertVideoClipsStepOutput {
1702
1767
  /** URL of the video with clips inserted */
1703
1768
  videoUrl: string;
1704
1769
  }
1770
+ type ListDataSourcesStepInput = Record<string, unknown>;
1771
+ type ListDataSourcesStepOutput = unknown;
1705
1772
  interface ListGoogleCalendarEventsStepInput {
1706
1773
  /** Google OAuth connection ID */
1707
1774
  connectionId: string;
@@ -2734,6 +2801,15 @@ interface UpdateGoogleSheetStepOutput {
2734
2801
  /** URL of the updated Google Spreadsheet */
2735
2802
  spreadsheetUrl: string;
2736
2803
  }
2804
+ interface UploadDataSourceDocumentStepInput {
2805
+ /** ID of the target data source (supports variable interpolation) */
2806
+ dataSourceId: string;
2807
+ /** A URL to download, or raw text content to create a .txt document from (supports variable interpolation) */
2808
+ file: string;
2809
+ /** Display name for the document (supports variable interpolation) */
2810
+ fileName: string;
2811
+ }
2812
+ type UploadDataSourceDocumentStepOutput = unknown;
2737
2813
  interface UpscaleImageStepInput {
2738
2814
  /** URL of the image to upscale */
2739
2815
  imageUrl: string;
@@ -2893,7 +2969,7 @@ type GenerateAssetStepOutput = GeneratePdfStepOutput;
2893
2969
  type GenerateTextStepInput = UserMessageStepInput;
2894
2970
  type GenerateTextStepOutput = UserMessageStepOutput;
2895
2971
  /** Union of all available step type names. */
2896
- type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "deleteGoogleCalendarEvent" | "detectPII" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "extractAudioFromVideo" | "extractText" | "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" | "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" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
2972
+ 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";
2897
2973
  /** Maps step names to their input types. */
2898
2974
  interface StepInputMap {
2899
2975
  activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
@@ -2912,9 +2988,12 @@ interface StepInputMap {
2912
2988
  codaGetPage: CodaGetPageStepInput;
2913
2989
  codaGetTableRows: CodaGetTableRowsStepInput;
2914
2990
  convertPdfToImages: ConvertPdfToImagesStepInput;
2991
+ createDataSource: CreateDataSourceStepInput;
2915
2992
  createGoogleCalendarEvent: CreateGoogleCalendarEventStepInput;
2916
2993
  createGoogleDoc: CreateGoogleDocStepInput;
2917
2994
  createGoogleSheet: CreateGoogleSheetStepInput;
2995
+ deleteDataSource: DeleteDataSourceStepInput;
2996
+ deleteDataSourceDocument: DeleteDataSourceDocumentStepInput;
2918
2997
  deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepInput;
2919
2998
  detectPII: DetectPIIStepInput;
2920
2999
  downloadVideo: DownloadVideoStepInput;
@@ -2923,6 +3002,7 @@ interface StepInputMap {
2923
3002
  enrichPerson: EnrichPersonStepInput;
2924
3003
  extractAudioFromVideo: ExtractAudioFromVideoStepInput;
2925
3004
  extractText: ExtractTextStepInput;
3005
+ fetchDataSourceDocument: FetchDataSourceDocumentStepInput;
2926
3006
  fetchGoogleDoc: FetchGoogleDocStepInput;
2927
3007
  fetchGoogleSheet: FetchGoogleSheetStepInput;
2928
3008
  fetchSlackChannelHistory: FetchSlackChannelHistoryStepInput;
@@ -2952,6 +3032,7 @@ interface StepInputMap {
2952
3032
  imageFaceSwap: ImageFaceSwapStepInput;
2953
3033
  imageRemoveWatermark: ImageRemoveWatermarkStepInput;
2954
3034
  insertVideoClips: InsertVideoClipsStepInput;
3035
+ listDataSources: ListDataSourcesStepInput;
2955
3036
  listGoogleCalendarEvents: ListGoogleCalendarEventsStepInput;
2956
3037
  logic: LogicStepInput;
2957
3038
  makeDotComRunScenario: MakeDotComRunScenarioStepInput;
@@ -3010,6 +3091,7 @@ interface StepInputMap {
3010
3091
  updateGoogleCalendarEvent: UpdateGoogleCalendarEventStepInput;
3011
3092
  updateGoogleDoc: UpdateGoogleDocStepInput;
3012
3093
  updateGoogleSheet: UpdateGoogleSheetStepInput;
3094
+ uploadDataSourceDocument: UploadDataSourceDocumentStepInput;
3013
3095
  upscaleImage: UpscaleImageStepInput;
3014
3096
  upscaleVideo: UpscaleVideoStepInput;
3015
3097
  userMessage: UserMessageStepInput;
@@ -3037,9 +3119,12 @@ interface StepOutputMap {
3037
3119
  codaGetPage: CodaGetPageStepOutput;
3038
3120
  codaGetTableRows: CodaGetTableRowsStepOutput;
3039
3121
  convertPdfToImages: ConvertPdfToImagesStepOutput;
3122
+ createDataSource: CreateDataSourceStepOutput;
3040
3123
  createGoogleCalendarEvent: CreateGoogleCalendarEventStepOutput;
3041
3124
  createGoogleDoc: CreateGoogleDocStepOutput;
3042
3125
  createGoogleSheet: CreateGoogleSheetStepOutput;
3126
+ deleteDataSource: DeleteDataSourceStepOutput;
3127
+ deleteDataSourceDocument: DeleteDataSourceDocumentStepOutput;
3043
3128
  deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepOutput;
3044
3129
  detectPII: DetectPIIStepOutput;
3045
3130
  downloadVideo: DownloadVideoStepOutput;
@@ -3048,6 +3133,7 @@ interface StepOutputMap {
3048
3133
  enrichPerson: EnrichPersonStepOutput;
3049
3134
  extractAudioFromVideo: ExtractAudioFromVideoStepOutput;
3050
3135
  extractText: ExtractTextStepOutput;
3136
+ fetchDataSourceDocument: FetchDataSourceDocumentStepOutput;
3051
3137
  fetchGoogleDoc: FetchGoogleDocStepOutput;
3052
3138
  fetchGoogleSheet: FetchGoogleSheetStepOutput;
3053
3139
  fetchSlackChannelHistory: FetchSlackChannelHistoryStepOutput;
@@ -3077,6 +3163,7 @@ interface StepOutputMap {
3077
3163
  imageFaceSwap: ImageFaceSwapStepOutput;
3078
3164
  imageRemoveWatermark: ImageRemoveWatermarkStepOutput;
3079
3165
  insertVideoClips: InsertVideoClipsStepOutput;
3166
+ listDataSources: ListDataSourcesStepOutput;
3080
3167
  listGoogleCalendarEvents: ListGoogleCalendarEventsStepOutput;
3081
3168
  logic: LogicStepOutput;
3082
3169
  makeDotComRunScenario: MakeDotComRunScenarioStepOutput;
@@ -3135,6 +3222,7 @@ interface StepOutputMap {
3135
3222
  updateGoogleCalendarEvent: UpdateGoogleCalendarEventStepOutput;
3136
3223
  updateGoogleDoc: UpdateGoogleDocStepOutput;
3137
3224
  updateGoogleSheet: UpdateGoogleSheetStepOutput;
3225
+ uploadDataSourceDocument: UploadDataSourceDocumentStepOutput;
3138
3226
  upscaleImage: UpscaleImageStepOutput;
3139
3227
  upscaleVideo: UpscaleVideoStepOutput;
3140
3228
  userMessage: UserMessageStepOutput;
@@ -3313,6 +3401,17 @@ interface StepMethods {
3313
3401
  * - Returns an array of image URLs, one per page.
3314
3402
  */
3315
3403
  convertPdfToImages(step: ConvertPdfToImagesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ConvertPdfToImagesStepOutput>>;
3404
+ /**
3405
+ * Create Data Source
3406
+ *
3407
+ * Create a new empty vector data source for the current app.
3408
+ *
3409
+ * ## Usage Notes
3410
+ * - Creates a new data source (vector database) associated with the current app version.
3411
+ * - The data source is created empty — use the "Upload Data Source Document" block to add documents.
3412
+ * - Returns the new data source ID which can be used in subsequent blocks.
3413
+ */
3414
+ createDataSource(step: CreateDataSourceStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<CreateDataSourceStepOutput>>;
3316
3415
  /**
3317
3416
  * [Google Calendar] Create Event
3318
3417
  *
@@ -3340,6 +3439,28 @@ interface StepMethods {
3340
3439
  * Create a new Google Spreadsheet and populate it with CSV data.
3341
3440
  */
3342
3441
  createGoogleSheet(step: CreateGoogleSheetStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<CreateGoogleSheetStepOutput>>;
3442
+ /**
3443
+ * Delete Data Source
3444
+ *
3445
+ * Delete a vector data source from the current app.
3446
+ *
3447
+ * ## Usage Notes
3448
+ * - Soft-deletes a data source (vector database) by marking it as deleted.
3449
+ * - The Milvus partition is cleaned up asynchronously by a background cron job.
3450
+ * - The data source must belong to the current app version.
3451
+ */
3452
+ deleteDataSource(step: DeleteDataSourceStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteDataSourceStepOutput>>;
3453
+ /**
3454
+ * Delete Data Source Document
3455
+ *
3456
+ * Delete a single document from a data source.
3457
+ *
3458
+ * ## Usage Notes
3459
+ * - Soft-deletes a document by marking it as deleted.
3460
+ * - Requires both the data source ID and document ID.
3461
+ * - After deletion, reloads vectors into Milvus so the data source reflects the change immediately.
3462
+ */
3463
+ deleteDataSourceDocument(step: DeleteDataSourceDocumentStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteDataSourceDocumentStepOutput>>;
3343
3464
  /**
3344
3465
  * [Google Calendar] Get Event
3345
3466
  *
@@ -3422,6 +3543,17 @@ interface StepMethods {
3422
3543
  * - Maximum file size is 50MB per URL.
3423
3544
  */
3424
3545
  extractText(step: ExtractTextStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ExtractTextStepOutput>>;
3546
+ /**
3547
+ * Fetch Data Source Document
3548
+ *
3549
+ * Fetch the full extracted text contents of a document in a data source.
3550
+ *
3551
+ * ## Usage Notes
3552
+ * - Loads a document by ID and returns its full extracted text content.
3553
+ * - The document must have been successfully processed (status "done").
3554
+ * - Also returns document metadata (name, summary, word count).
3555
+ */
3556
+ fetchDataSourceDocument(step: FetchDataSourceDocumentStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<FetchDataSourceDocumentStepOutput>>;
3425
3557
  /**
3426
3558
  * [Google] Fetch Google Doc
3427
3559
  *
@@ -3722,6 +3854,16 @@ interface StepMethods {
3722
3854
  *
3723
3855
  */
3724
3856
  insertVideoClips(step: InsertVideoClipsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<InsertVideoClipsStepOutput>>;
3857
+ /**
3858
+ * List Data Sources
3859
+ *
3860
+ * List all data sources for the current app.
3861
+ *
3862
+ * ## Usage Notes
3863
+ * - Returns metadata for every data source associated with the current app version.
3864
+ * - Each entry includes the data source ID, name, description, status, and document list.
3865
+ */
3866
+ listDataSources(step: ListDataSourcesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListDataSourcesStepOutput>>;
3725
3867
  /**
3726
3868
  * [Google Calendar] List Events
3727
3869
  *
@@ -4294,6 +4436,19 @@ interface StepMethods {
4294
4436
  * - Data should be provided as CSV in the text field.
4295
4437
  */
4296
4438
  updateGoogleSheet(step: UpdateGoogleSheetStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<UpdateGoogleSheetStepOutput>>;
4439
+ /**
4440
+ * Upload Data Source Document
4441
+ *
4442
+ * Upload a file into an existing data source from a URL or raw text content.
4443
+ *
4444
+ * ## Usage Notes
4445
+ * - If "file" is a single URL, the file is downloaded from that URL and uploaded.
4446
+ * - If "file" is any other string, a .txt document is created from that content and uploaded.
4447
+ * - The block waits (polls) for processing to complete before transitioning, up to 5 minutes.
4448
+ * - Once processing finishes, vectors are loaded into Milvus so the data source is immediately queryable.
4449
+ * - Supported file types (when using a URL) are the same as the data source upload UI (PDF, DOCX, TXT, etc.).
4450
+ */
4451
+ uploadDataSourceDocument(step: UploadDataSourceDocumentStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<UploadDataSourceDocumentStepOutput>>;
4297
4452
  /**
4298
4453
  * Upscale Image
4299
4454
  *
@@ -4464,4 +4619,4 @@ declare const MindStudioAgent: {
4464
4619
  new (options?: AgentOptions): MindStudioAgent;
4465
4620
  };
4466
4621
 
4467
- 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 CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, 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 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 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 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 StepSnippet, 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 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, stepSnippets };
4622
+ 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 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 StepSnippet, 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, stepSnippets };