@mindstudio-ai/agent 0.0.16 → 0.0.18

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
@@ -32,9 +32,10 @@ interface AgentOptions {
32
32
  /**
33
33
  * MindStudio API key. Used as a Bearer token for authentication.
34
34
  *
35
- * If omitted, the SDK looks for `MINDSTUDIO_API_KEY` in the environment,
36
- * then falls back to `CALLBACK_TOKEN` (available automatically
37
- * inside MindStudio custom functions).
35
+ * If omitted, the SDK checks (in order):
36
+ * 1. `MINDSTUDIO_API_KEY` environment variable
37
+ * 2. `~/.mindstudio/config.json` (set via `mindstudio login`)
38
+ * 3. `CALLBACK_TOKEN` environment variable (auto-set inside MindStudio custom functions)
38
39
  */
39
40
  apiKey?: string;
40
41
  /**
@@ -183,13 +184,15 @@ interface RunAgentResult {
183
184
  * Authentication is resolved in order:
184
185
  * 1. `apiKey` passed to the constructor
185
186
  * 2. `MINDSTUDIO_API_KEY` environment variable
186
- * 3. `CALLBACK_TOKEN` environment variable (auto-set inside MindStudio custom functions)
187
+ * 3. `~/.mindstudio/config.json` (set via `mindstudio login`)
188
+ * 4. `CALLBACK_TOKEN` environment variable (auto-set inside MindStudio custom functions)
187
189
  *
188
190
  * Base URL is resolved in order:
189
191
  * 1. `baseUrl` passed to the constructor
190
192
  * 2. `MINDSTUDIO_BASE_URL` environment variable
191
193
  * 3. `REMOTE_HOSTNAME` environment variable (auto-set inside MindStudio custom functions)
192
- * 4. `https://v1.mindstudio-api.com` (production default)
194
+ * 4. `~/.mindstudio/config.json`
195
+ * 5. `https://v1.mindstudio-api.com` (production default)
193
196
  *
194
197
  * Rate limiting is handled automatically:
195
198
  * - Concurrent requests are queued to stay within server limits
@@ -726,6 +729,53 @@ interface DetectPIIStepOutput {
726
729
  score: number;
727
730
  }[];
728
731
  }
732
+ interface DiscordEditMessageStepInput {
733
+ /** Discord bot token for authentication */
734
+ botToken: string;
735
+ /** Discord channel ID containing the message */
736
+ channelId: string;
737
+ /** ID of the message to edit (returned by Send Discord Message) */
738
+ messageId: string;
739
+ /** New message text to replace the existing content */
740
+ text: string;
741
+ /** URL of a file to download and attach to the message (replaces any previous attachments) */
742
+ attachmentUrl?: string;
743
+ }
744
+ type DiscordEditMessageStepOutput = unknown;
745
+ interface DiscordSendFollowUpStepInput {
746
+ /** Discord application ID from the bot registration */
747
+ applicationId: string;
748
+ /** Interaction token provided by the Discord trigger — expires after 15 minutes */
749
+ interactionToken: string;
750
+ /** Message text to send as a follow-up */
751
+ text: string;
752
+ /** URL of a file to download and attach to the message */
753
+ attachmentUrl?: string;
754
+ }
755
+ interface DiscordSendFollowUpStepOutput {
756
+ /** ID of the sent follow-up message */
757
+ messageId: string;
758
+ }
759
+ interface DiscordSendMessageStepInput {
760
+ /** "edit" replaces the loading message, "send" sends a new channel message */
761
+ mode: "edit" | "send";
762
+ /** Message text to send */
763
+ text: string;
764
+ /** Discord application ID from the bot registration (required for "reply" mode) */
765
+ applicationId?: string;
766
+ /** Interaction token provided by the Discord trigger — expires after 15 minutes (required for "reply" mode) */
767
+ interactionToken?: string;
768
+ /** Discord bot token for authentication (required for "send" mode) */
769
+ botToken?: string;
770
+ /** Discord channel ID to send the message to (required for "send" mode) */
771
+ channelId?: string;
772
+ /** URL of a file to download and attach to the message */
773
+ attachmentUrl?: string;
774
+ }
775
+ interface DiscordSendMessageStepOutput {
776
+ /** ID of the sent Discord message, only present in "send" mode (use with Edit Discord Message) */
777
+ messageId?: string;
778
+ }
729
779
  interface DownloadVideoStepInput {
730
780
  /** URL of the video to download (supports YouTube, TikTok, etc. via yt-dlp) */
731
781
  videoUrl: string;
@@ -2069,17 +2119,55 @@ interface ListGoogleDriveFilesStepOutput {
2069
2119
  }[];
2070
2120
  }
2071
2121
  interface LogicStepInput {
2072
- /** Prompt text providing context for the AI evaluation */
2122
+ /** Evaluation mode: 'ai' for LLM-based, 'comparison' for operator-based. Default: 'ai' */
2123
+ mode?: "ai" | "comparison";
2124
+ /** AI mode: prompt context. Comparison mode: left operand (resolved via variables). */
2073
2125
  context: string;
2074
2126
  /** List of conditions to evaluate (objects for managed UIs, strings for code) */
2075
2127
  cases: ({
2076
2128
  /** Unique case identifier */
2077
2129
  id: string;
2078
- /** The statement to evaluate (e.g., "User selected a dog") */
2130
+ /** AI mode: statement to evaluate. Comparison mode: right operand value. */
2079
2131
  condition: string;
2132
+ /** Comparison operator (comparison mode only) */
2133
+ operator?: "eq" | "neq" | "gt" | "lt" | "gte" | "lte" | "exists" | "not_exists" | "contains" | "not_contains" | "default";
2080
2134
  /** Step to transition to if this case wins (workflow mode only) */
2081
2135
  destinationStepId?: string;
2136
+ /** Workflow to jump to if this case wins (uses that workflow's initial step) */
2137
+ destinationWorkflowId?: string;
2082
2138
  } | string)[];
2139
+ /** Optional model settings override; uses the organization default if not specified (AI mode only) */
2140
+ modelOverride?: {
2141
+ /** Model identifier (e.g. "gpt-4", "claude-3-opus") */
2142
+ model: string;
2143
+ /** Sampling temperature for the model (0-2) */
2144
+ temperature: number;
2145
+ /** Maximum number of tokens in the model's response */
2146
+ maxResponseTokens: number;
2147
+ /** Whether to skip the system preamble/instructions */
2148
+ ignorePreamble?: boolean;
2149
+ /** Preprocessor applied to user messages before sending to the model */
2150
+ userMessagePreprocessor?: {
2151
+ /** Data source identifier for the preprocessor */
2152
+ dataSource?: string;
2153
+ /** Template string applied to user messages before sending to the model */
2154
+ messageTemplate?: string;
2155
+ /** Maximum number of results to include from the data source */
2156
+ maxResults?: number;
2157
+ /** Whether the preprocessor is active */
2158
+ enabled?: boolean;
2159
+ /** Whether child steps should inherit this preprocessor configuration */
2160
+ shouldInherit?: boolean;
2161
+ };
2162
+ /** System preamble/instructions for the model */
2163
+ preamble?: string;
2164
+ /** Whether multi-model candidate generation is enabled */
2165
+ multiModelEnabled?: boolean;
2166
+ /** Whether the user can edit the model's response */
2167
+ editResponseEnabled?: boolean;
2168
+ /** Additional model-specific configuration */
2169
+ config?: Record<string, unknown>;
2170
+ };
2083
2171
  }
2084
2172
  interface LogicStepOutput {
2085
2173
  /** The index of the winning case */
@@ -2956,6 +3044,8 @@ interface SendSMSStepInput {
2956
3044
  body: string;
2957
3045
  /** OAuth connection ID for the recipient phone number */
2958
3046
  connectionId?: string;
3047
+ /** Optional array of media URLs to send as MMS (up to 10, 5MB each) */
3048
+ mediaUrls?: string[];
2959
3049
  }
2960
3050
  type SendSMSStepOutput = unknown;
2961
3051
  interface SetRunTitleStepInput {
@@ -2968,6 +3058,31 @@ interface SetVariableStepInput {
2968
3058
  value: string | string[];
2969
3059
  }
2970
3060
  type SetVariableStepOutput = Record<string, unknown>;
3061
+ interface TelegramEditMessageStepInput {
3062
+ /** Telegram bot token in "botId:token" format */
3063
+ botToken: string;
3064
+ /** Telegram chat ID containing the message */
3065
+ chatId: string;
3066
+ /** ID of the message to edit */
3067
+ messageId: string;
3068
+ /** New message text (MarkdownV2 formatting supported) */
3069
+ text: string;
3070
+ }
3071
+ type TelegramEditMessageStepOutput = unknown;
3072
+ interface TelegramReplyToMessageStepInput {
3073
+ /** Telegram bot token in "botId:token" format */
3074
+ botToken: string;
3075
+ /** Telegram chat ID to send the reply to */
3076
+ chatId: string;
3077
+ /** ID of the message to reply to */
3078
+ replyToMessageId: string;
3079
+ /** Reply text (MarkdownV2 formatting supported) */
3080
+ text: string;
3081
+ }
3082
+ interface TelegramReplyToMessageStepOutput {
3083
+ /** ID of the sent reply message */
3084
+ messageId: number;
3085
+ }
2971
3086
  interface TelegramSendAudioStepInput {
2972
3087
  /** Telegram bot token in "botId:token" format */
2973
3088
  botToken: string;
@@ -3011,7 +3126,10 @@ interface TelegramSendMessageStepInput {
3011
3126
  /** Message text to send (MarkdownV2 formatting supported) */
3012
3127
  text: string;
3013
3128
  }
3014
- type TelegramSendMessageStepOutput = unknown;
3129
+ interface TelegramSendMessageStepOutput {
3130
+ /** ID of the sent Telegram message */
3131
+ messageId: number;
3132
+ }
3015
3133
  interface TelegramSendVideoStepInput {
3016
3134
  /** Telegram bot token in "botId:token" format */
3017
3135
  botToken: string;
@@ -3303,7 +3421,7 @@ type GenerateAssetStepOutput = GeneratePdfStepOutput;
3303
3421
  type GenerateTextStepInput = UserMessageStepInput;
3304
3422
  type GenerateTextStepOutput = UserMessageStepOutput;
3305
3423
  /** Union of all available step type names. */
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";
3424
+ 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" | "discordEditMessage" | "discordSendFollowUp" | "discordSendMessage" | "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" | "telegramEditMessage" | "telegramReplyToMessage" | "telegramSendAudio" | "telegramSendFile" | "telegramSendImage" | "telegramSendMessage" | "telegramSendVideo" | "telegramSetTyping" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
3307
3425
  /** Maps step names to their input types. */
3308
3426
  interface StepInputMap {
3309
3427
  activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
@@ -3332,6 +3450,9 @@ interface StepInputMap {
3332
3450
  deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepInput;
3333
3451
  deleteGoogleSheetRows: DeleteGoogleSheetRowsStepInput;
3334
3452
  detectPII: DetectPIIStepInput;
3453
+ discordEditMessage: DiscordEditMessageStepInput;
3454
+ discordSendFollowUp: DiscordSendFollowUpStepInput;
3455
+ discordSendMessage: DiscordSendMessageStepInput;
3335
3456
  downloadVideo: DownloadVideoStepInput;
3336
3457
  enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepInput;
3337
3458
  enhanceVideoGenerationPrompt: EnhanceVideoGenerationPromptStepInput;
@@ -3424,6 +3545,8 @@ interface StepInputMap {
3424
3545
  sendSMS: SendSMSStepInput;
3425
3546
  setRunTitle: SetRunTitleStepInput;
3426
3547
  setVariable: SetVariableStepInput;
3548
+ telegramEditMessage: TelegramEditMessageStepInput;
3549
+ telegramReplyToMessage: TelegramReplyToMessageStepInput;
3427
3550
  telegramSendAudio: TelegramSendAudioStepInput;
3428
3551
  telegramSendFile: TelegramSendFileStepInput;
3429
3552
  telegramSendImage: TelegramSendImageStepInput;
@@ -3474,6 +3597,9 @@ interface StepOutputMap {
3474
3597
  deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepOutput;
3475
3598
  deleteGoogleSheetRows: DeleteGoogleSheetRowsStepOutput;
3476
3599
  detectPII: DetectPIIStepOutput;
3600
+ discordEditMessage: DiscordEditMessageStepOutput;
3601
+ discordSendFollowUp: DiscordSendFollowUpStepOutput;
3602
+ discordSendMessage: DiscordSendMessageStepOutput;
3477
3603
  downloadVideo: DownloadVideoStepOutput;
3478
3604
  enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepOutput;
3479
3605
  enhanceVideoGenerationPrompt: EnhanceVideoGenerationPromptStepOutput;
@@ -3566,6 +3692,8 @@ interface StepOutputMap {
3566
3692
  sendSMS: SendSMSStepOutput;
3567
3693
  setRunTitle: SetRunTitleStepOutput;
3568
3694
  setVariable: SetVariableStepOutput;
3695
+ telegramEditMessage: TelegramEditMessageStepOutput;
3696
+ telegramReplyToMessage: TelegramReplyToMessageStepOutput;
3569
3697
  telegramSendAudio: TelegramSendAudioStepOutput;
3570
3698
  telegramSendFile: TelegramSendFileStepOutput;
3571
3699
  telegramSendImage: TelegramSendImageStepOutput;
@@ -4033,6 +4161,67 @@ interface StepMethods {
4033
4161
  * ```
4034
4162
  */
4035
4163
  detectPII(step: DetectPIIStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DetectPIIStepOutput>>;
4164
+ /**
4165
+ * Edit a previously sent Discord channel message. Use with the message ID returned by Send Discord Message.
4166
+ *
4167
+ * @remarks
4168
+ * - Only messages sent by the bot can be edited.
4169
+ * - The messageId is returned by the Send Discord Message step.
4170
+ * - Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.
4171
+ * - When editing with an attachment, the new attachment replaces any previous attachments on the message.
4172
+ * - URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).
4173
+ *
4174
+ * @example
4175
+ * ```typescript
4176
+ * const result = await agent.discordEditMessage({
4177
+ * botToken: ``,
4178
+ * channelId: ``,
4179
+ * messageId: ``,
4180
+ * text: ``,
4181
+ * });
4182
+ * ```
4183
+ */
4184
+ discordEditMessage(step: DiscordEditMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DiscordEditMessageStepOutput>>;
4185
+ /**
4186
+ * Send a follow-up message to a Discord slash command interaction.
4187
+ *
4188
+ * @remarks
4189
+ * - Requires the applicationId and interactionToken from the Discord trigger variables.
4190
+ * - Follow-up messages appear as new messages in the channel after the initial response.
4191
+ * - Returns the sent message ID.
4192
+ * - Interaction tokens expire after 15 minutes.
4193
+ * - Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.
4194
+ * - URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).
4195
+ *
4196
+ * @example
4197
+ * ```typescript
4198
+ * const result = await agent.discordSendFollowUp({
4199
+ * applicationId: ``,
4200
+ * interactionToken: ``,
4201
+ * text: ``,
4202
+ * });
4203
+ * ```
4204
+ */
4205
+ discordSendFollowUp(step: DiscordSendFollowUpStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DiscordSendFollowUpStepOutput>>;
4206
+ /**
4207
+ * Send a message to Discord — either edit the loading message or send a new channel message.
4208
+ *
4209
+ * @remarks
4210
+ * - mode "edit" replaces the loading message (interaction response) with the final result. Uses applicationId and interactionToken from trigger variables. No bot permissions required.
4211
+ * - mode "send" sends a new message to a channel. Uses botToken and channelId from trigger variables. Returns a messageId that can be used with Edit Discord Message.
4212
+ * - Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.
4213
+ * - URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).
4214
+ * - Interaction tokens expire after 15 minutes.
4215
+ *
4216
+ * @example
4217
+ * ```typescript
4218
+ * const result = await agent.discordSendMessage({
4219
+ * mode: "edit",
4220
+ * text: ``,
4221
+ * });
4222
+ * ```
4223
+ */
4224
+ discordSendMessage(step: DiscordSendMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DiscordSendMessageStepOutput>>;
4036
4225
  /**
4037
4226
  * Download a video file
4038
4227
  *
@@ -4742,13 +4931,14 @@ interface StepMethods {
4742
4931
  */
4743
4932
  listGoogleDriveFiles(step: ListGoogleDriveFilesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGoogleDriveFilesStepOutput>>;
4744
4933
  /**
4745
- * Use an AI model to evaluate which condition from a list is most true, given a context prompt.
4934
+ * Route execution to different branches based on AI evaluation, comparison operators, or workflow jumps.
4746
4935
  *
4747
4936
  * @remarks
4748
- * - This is "fuzzy" logic evaluated by an AI model, not computational logic. The model picks the most accurate statement.
4749
- * - All possible cases must be specified there is no default/fallback case.
4937
+ * - Supports two modes: "ai" (default) uses an AI model to pick the most accurate statement; "comparison" uses operator-based checks.
4938
+ * - In AI mode, the model picks the most accurate statement from the list. All possible cases must be specified.
4939
+ * - In comparison mode, the context is the left operand and each case's condition is the right operand. First matching case wins. Use operator "default" as a fallback.
4750
4940
  * - Requires at least two cases.
4751
- * - In workflow mode, transitions to the destinationStepId of the winning case. In direct execution, returns the winning case ID and condition.
4941
+ * - Each case can transition to a step in the current workflow (destinationStepId) or jump to another workflow (destinationWorkflowId).
4752
4942
  *
4753
4943
  * @example
4754
4944
  * ```typescript
@@ -5467,10 +5657,13 @@ interface StepMethods {
5467
5657
  */
5468
5658
  sendEmail(step: SendEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SendEmailStepOutput>>;
5469
5659
  /**
5470
- * Send an SMS text message to a phone number configured via OAuth connection.
5660
+ * Send an SMS or MMS message to a phone number configured via OAuth connection.
5471
5661
  *
5472
5662
  * @remarks
5473
5663
  * - User is responsible for configuring the connection to the number (MindStudio requires double opt-in to prevent spam)
5664
+ * - If mediaUrls are provided, the message is sent as MMS instead of SMS
5665
+ * - MMS supports up to 10 media URLs (images, video, audio, PDF) with a 5MB limit per file
5666
+ * - MMS is only supported on US and Canadian carriers; international numbers will receive SMS only (media silently dropped)
5474
5667
  *
5475
5668
  * @example
5476
5669
  * ```typescript
@@ -5507,6 +5700,44 @@ interface StepMethods {
5507
5700
  * ```
5508
5701
  */
5509
5702
  setVariable(step: SetVariableStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SetVariableStepOutput>>;
5703
+ /**
5704
+ * Edit a previously sent Telegram message. Use with the message ID returned by Send Telegram Message.
5705
+ *
5706
+ * @remarks
5707
+ * - Only text messages sent by the bot can be edited.
5708
+ * - The messageId is returned by the Send Telegram Message step.
5709
+ * - Common pattern: send a "Processing..." message, do work, then edit it with the result.
5710
+ *
5711
+ * @example
5712
+ * ```typescript
5713
+ * const result = await agent.telegramEditMessage({
5714
+ * botToken: ``,
5715
+ * chatId: ``,
5716
+ * messageId: ``,
5717
+ * text: ``,
5718
+ * });
5719
+ * ```
5720
+ */
5721
+ telegramEditMessage(step: TelegramEditMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<TelegramEditMessageStepOutput>>;
5722
+ /**
5723
+ * Send a reply to a specific Telegram message. The reply will be visually threaded in the chat.
5724
+ *
5725
+ * @remarks
5726
+ * - Use the rawMessage.message_id from the incoming trigger variables to reply to the user's message.
5727
+ * - Especially useful in group chats where replies provide context.
5728
+ * - Returns the sent message ID, which can be used with Edit Telegram Message.
5729
+ *
5730
+ * @example
5731
+ * ```typescript
5732
+ * const result = await agent.telegramReplyToMessage({
5733
+ * botToken: ``,
5734
+ * chatId: ``,
5735
+ * replyToMessageId: ``,
5736
+ * text: ``,
5737
+ * });
5738
+ * ```
5739
+ */
5740
+ telegramReplyToMessage(step: TelegramReplyToMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<TelegramReplyToMessageStepOutput>>;
5510
5741
  /**
5511
5742
  * Send an audio file to a Telegram chat as music or a voice note via a bot.
5512
5743
  *
@@ -5556,6 +5787,7 @@ interface StepMethods {
5556
5787
  * @remarks
5557
5788
  * - Messages are sent using MarkdownV2 formatting. Special characters are auto-escaped.
5558
5789
  * - botToken format is "botId:token" — both parts are required.
5790
+ * - Returns the sent message ID, which can be used with Edit Telegram Message to update the message later.
5559
5791
  *
5560
5792
  * @example
5561
5793
  * ```typescript
@@ -5932,4 +6164,4 @@ declare const MindStudioAgent: {
5932
6164
  new (options?: AgentOptions): MindStudioAgent;
5933
6165
  };
5934
6166
 
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 };
6167
+ 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 DiscordEditMessageStepInput, type DiscordEditMessageStepOutput, type DiscordSendFollowUpStepInput, type DiscordSendFollowUpStepOutput, type DiscordSendMessageStepInput, type DiscordSendMessageStepOutput, 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 TelegramEditMessageStepInput, type TelegramEditMessageStepOutput, type TelegramReplyToMessageStepInput, type TelegramReplyToMessageStepOutput, 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 };