@mindstudio-ai/agent 0.0.19 → 0.1.0

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
@@ -700,6 +700,66 @@ interface DeleteGoogleSheetRowsStepInput {
700
700
  connectionId?: string;
701
701
  }
702
702
  type DeleteGoogleSheetRowsStepOutput = unknown;
703
+ interface DetectChangesStepInput {
704
+ /** Detection mode: 'comparison' for strict string inequality, 'ai' for LLM-based. Default: 'comparison' */
705
+ mode: "ai" | "comparison";
706
+ /** Current value to check (variable template) */
707
+ input: string;
708
+ /** AI mode: what constitutes a meaningful change */
709
+ prompt?: string;
710
+ /** AI mode: model settings override */
711
+ modelOverride?: {
712
+ /** Model identifier (e.g. "gpt-4", "claude-3-opus") */
713
+ model: string;
714
+ /** Sampling temperature for the model (0-2) */
715
+ temperature: number;
716
+ /** Maximum number of tokens in the model's response */
717
+ maxResponseTokens: number;
718
+ /** Whether to skip the system preamble/instructions */
719
+ ignorePreamble?: boolean;
720
+ /** Preprocessor applied to user messages before sending to the model */
721
+ userMessagePreprocessor?: {
722
+ /** Data source identifier for the preprocessor */
723
+ dataSource?: string;
724
+ /** Template string applied to user messages before sending to the model */
725
+ messageTemplate?: string;
726
+ /** Maximum number of results to include from the data source */
727
+ maxResults?: number;
728
+ /** Whether the preprocessor is active */
729
+ enabled?: boolean;
730
+ /** Whether child steps should inherit this preprocessor configuration */
731
+ shouldInherit?: boolean;
732
+ };
733
+ /** System preamble/instructions for the model */
734
+ preamble?: string;
735
+ /** Whether multi-model candidate generation is enabled */
736
+ multiModelEnabled?: boolean;
737
+ /** Whether the user can edit the model's response */
738
+ editResponseEnabled?: boolean;
739
+ /** Additional model-specific configuration */
740
+ config?: Record<string, unknown>;
741
+ };
742
+ /** Optional variable name to store the previous value into for downstream access */
743
+ previousValueVariable?: string;
744
+ /** Step to transition to if changed (same workflow) */
745
+ changedStepId?: string;
746
+ /** Workflow to jump to if changed (cross workflow) */
747
+ changedWorkflowId?: string;
748
+ /** Step to transition to if unchanged (same workflow) */
749
+ unchangedStepId?: string;
750
+ /** Workflow to jump to if unchanged (cross workflow) */
751
+ unchangedWorkflowId?: string;
752
+ }
753
+ interface DetectChangesStepOutput {
754
+ /** Whether a change was detected */
755
+ hasChanged: boolean;
756
+ /** The resolved input value */
757
+ currentValue: string;
758
+ /** The stored value from last run (empty string on first run) */
759
+ previousValue: string;
760
+ /** True when no previous state exists */
761
+ isFirstRun: boolean;
762
+ }
703
763
  interface DetectPIIStepInput {
704
764
  /** Text to scan for personally identifiable information */
705
765
  input: string;
@@ -729,6 +789,53 @@ interface DetectPIIStepOutput {
729
789
  score: number;
730
790
  }[];
731
791
  }
792
+ interface DiscordEditMessageStepInput {
793
+ /** Discord bot token for authentication */
794
+ botToken: string;
795
+ /** Discord channel ID containing the message */
796
+ channelId: string;
797
+ /** ID of the message to edit (returned by Send Discord Message) */
798
+ messageId: string;
799
+ /** New message text to replace the existing content */
800
+ text: string;
801
+ /** URL of a file to download and attach to the message (replaces any previous attachments) */
802
+ attachmentUrl?: string;
803
+ }
804
+ type DiscordEditMessageStepOutput = unknown;
805
+ interface DiscordSendFollowUpStepInput {
806
+ /** Discord application ID from the bot registration */
807
+ applicationId: string;
808
+ /** Interaction token provided by the Discord trigger — expires after 15 minutes */
809
+ interactionToken: string;
810
+ /** Message text to send as a follow-up */
811
+ text: string;
812
+ /** URL of a file to download and attach to the message */
813
+ attachmentUrl?: string;
814
+ }
815
+ interface DiscordSendFollowUpStepOutput {
816
+ /** ID of the sent follow-up message */
817
+ messageId: string;
818
+ }
819
+ interface DiscordSendMessageStepInput {
820
+ /** "edit" replaces the loading message, "send" sends a new channel message */
821
+ mode: "edit" | "send";
822
+ /** Message text to send */
823
+ text: string;
824
+ /** Discord application ID from the bot registration (required for "reply" mode) */
825
+ applicationId?: string;
826
+ /** Interaction token provided by the Discord trigger — expires after 15 minutes (required for "reply" mode) */
827
+ interactionToken?: string;
828
+ /** Discord bot token for authentication (required for "send" mode) */
829
+ botToken?: string;
830
+ /** Discord channel ID to send the message to (required for "send" mode) */
831
+ channelId?: string;
832
+ /** URL of a file to download and attach to the message */
833
+ attachmentUrl?: string;
834
+ }
835
+ interface DiscordSendMessageStepOutput {
836
+ /** ID of the sent Discord message, only present in "send" mode (use with Edit Discord Message) */
837
+ messageId?: string;
838
+ }
732
839
  interface DownloadVideoStepInput {
733
840
  /** URL of the video to download (supports YouTube, TikTok, etc. via yt-dlp) */
734
841
  videoUrl: string;
@@ -2072,17 +2179,55 @@ interface ListGoogleDriveFilesStepOutput {
2072
2179
  }[];
2073
2180
  }
2074
2181
  interface LogicStepInput {
2075
- /** Prompt text providing context for the AI evaluation */
2182
+ /** Evaluation mode: 'ai' for LLM-based, 'comparison' for operator-based. Default: 'ai' */
2183
+ mode?: "ai" | "comparison";
2184
+ /** AI mode: prompt context. Comparison mode: left operand (resolved via variables). */
2076
2185
  context: string;
2077
2186
  /** List of conditions to evaluate (objects for managed UIs, strings for code) */
2078
2187
  cases: ({
2079
2188
  /** Unique case identifier */
2080
2189
  id: string;
2081
- /** The statement to evaluate (e.g., "User selected a dog") */
2190
+ /** AI mode: statement to evaluate. Comparison mode: right operand value. */
2082
2191
  condition: string;
2192
+ /** Comparison operator (comparison mode only) */
2193
+ operator?: "eq" | "neq" | "gt" | "lt" | "gte" | "lte" | "exists" | "not_exists" | "contains" | "not_contains" | "default";
2083
2194
  /** Step to transition to if this case wins (workflow mode only) */
2084
2195
  destinationStepId?: string;
2196
+ /** Workflow to jump to if this case wins (uses that workflow's initial step) */
2197
+ destinationWorkflowId?: string;
2085
2198
  } | string)[];
2199
+ /** Optional model settings override; uses the organization default if not specified (AI mode only) */
2200
+ modelOverride?: {
2201
+ /** Model identifier (e.g. "gpt-4", "claude-3-opus") */
2202
+ model: string;
2203
+ /** Sampling temperature for the model (0-2) */
2204
+ temperature: number;
2205
+ /** Maximum number of tokens in the model's response */
2206
+ maxResponseTokens: number;
2207
+ /** Whether to skip the system preamble/instructions */
2208
+ ignorePreamble?: boolean;
2209
+ /** Preprocessor applied to user messages before sending to the model */
2210
+ userMessagePreprocessor?: {
2211
+ /** Data source identifier for the preprocessor */
2212
+ dataSource?: string;
2213
+ /** Template string applied to user messages before sending to the model */
2214
+ messageTemplate?: string;
2215
+ /** Maximum number of results to include from the data source */
2216
+ maxResults?: number;
2217
+ /** Whether the preprocessor is active */
2218
+ enabled?: boolean;
2219
+ /** Whether child steps should inherit this preprocessor configuration */
2220
+ shouldInherit?: boolean;
2221
+ };
2222
+ /** System preamble/instructions for the model */
2223
+ preamble?: string;
2224
+ /** Whether multi-model candidate generation is enabled */
2225
+ multiModelEnabled?: boolean;
2226
+ /** Whether the user can edit the model's response */
2227
+ editResponseEnabled?: boolean;
2228
+ /** Additional model-specific configuration */
2229
+ config?: Record<string, unknown>;
2230
+ };
2086
2231
  }
2087
2232
  interface LogicStepOutput {
2088
2233
  /** The index of the winning case */
@@ -2389,6 +2534,22 @@ interface ResizeVideoStepOutput {
2389
2534
  /** URL of the resized video */
2390
2535
  videoUrl: string;
2391
2536
  }
2537
+ interface RunFromConnectorRegistryStepInput {
2538
+ /** The connector action identifier in the format serviceId/actionId */
2539
+ actionId: string;
2540
+ /** Human-readable name of the connector action */
2541
+ displayName: string;
2542
+ /** Icon URL for the connector */
2543
+ icon: string;
2544
+ /** Key-value configuration parameters for the connector action */
2545
+ configurationValues: Record<string, unknown>;
2546
+ /** OAuth connection ID used to authenticate the connector request */
2547
+ __connectionId?: string;
2548
+ }
2549
+ interface RunFromConnectorRegistryStepOutput {
2550
+ /** Key-value map of output variables set by the connector */
2551
+ data: Record<string, unknown>;
2552
+ }
2392
2553
  interface RunPackagedWorkflowStepInput {
2393
2554
  /** The app ID of the packaged workflow source */
2394
2555
  appId: string;
@@ -3336,7 +3497,7 @@ type GenerateAssetStepOutput = GeneratePdfStepOutput;
3336
3497
  type GenerateTextStepInput = UserMessageStepInput;
3337
3498
  type GenerateTextStepOutput = UserMessageStepOutput;
3338
3499
  /** Union of all available step type names. */
3339
- 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" | "telegramEditMessage" | "telegramReplyToMessage" | "telegramSendAudio" | "telegramSendFile" | "telegramSendImage" | "telegramSendMessage" | "telegramSendVideo" | "telegramSetTyping" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
3500
+ 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" | "detectChanges" | "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" | "runFromConnectorRegistry" | "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";
3340
3501
  /** Maps step names to their input types. */
3341
3502
  interface StepInputMap {
3342
3503
  activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
@@ -3364,7 +3525,11 @@ interface StepInputMap {
3364
3525
  deleteGmailEmail: DeleteGmailEmailStepInput;
3365
3526
  deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepInput;
3366
3527
  deleteGoogleSheetRows: DeleteGoogleSheetRowsStepInput;
3528
+ detectChanges: DetectChangesStepInput;
3367
3529
  detectPII: DetectPIIStepInput;
3530
+ discordEditMessage: DiscordEditMessageStepInput;
3531
+ discordSendFollowUp: DiscordSendFollowUpStepInput;
3532
+ discordSendMessage: DiscordSendMessageStepInput;
3368
3533
  downloadVideo: DownloadVideoStepInput;
3369
3534
  enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepInput;
3370
3535
  enhanceVideoGenerationPrompt: EnhanceVideoGenerationPromptStepInput;
@@ -3429,6 +3594,7 @@ interface StepInputMap {
3429
3594
  removeBackgroundFromImage: RemoveBackgroundFromImageStepInput;
3430
3595
  replyToGmailEmail: ReplyToGmailEmailStepInput;
3431
3596
  resizeVideo: ResizeVideoStepInput;
3597
+ runFromConnectorRegistry: RunFromConnectorRegistryStepInput;
3432
3598
  runPackagedWorkflow: RunPackagedWorkflowStepInput;
3433
3599
  scrapeFacebookPage: ScrapeFacebookPageStepInput;
3434
3600
  scrapeFacebookPosts: ScrapeFacebookPostsStepInput;
@@ -3508,7 +3674,11 @@ interface StepOutputMap {
3508
3674
  deleteGmailEmail: DeleteGmailEmailStepOutput;
3509
3675
  deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepOutput;
3510
3676
  deleteGoogleSheetRows: DeleteGoogleSheetRowsStepOutput;
3677
+ detectChanges: DetectChangesStepOutput;
3511
3678
  detectPII: DetectPIIStepOutput;
3679
+ discordEditMessage: DiscordEditMessageStepOutput;
3680
+ discordSendFollowUp: DiscordSendFollowUpStepOutput;
3681
+ discordSendMessage: DiscordSendMessageStepOutput;
3512
3682
  downloadVideo: DownloadVideoStepOutput;
3513
3683
  enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepOutput;
3514
3684
  enhanceVideoGenerationPrompt: EnhanceVideoGenerationPromptStepOutput;
@@ -3573,6 +3743,7 @@ interface StepOutputMap {
3573
3743
  removeBackgroundFromImage: RemoveBackgroundFromImageStepOutput;
3574
3744
  replyToGmailEmail: ReplyToGmailEmailStepOutput;
3575
3745
  resizeVideo: ResizeVideoStepOutput;
3746
+ runFromConnectorRegistry: RunFromConnectorRegistryStepOutput;
3576
3747
  runPackagedWorkflow: RunPackagedWorkflowStepOutput;
3577
3748
  scrapeFacebookPage: ScrapeFacebookPageStepOutput;
3578
3749
  scrapeFacebookPosts: ScrapeFacebookPostsStepOutput;
@@ -4052,6 +4223,25 @@ interface StepMethods {
4052
4223
  * ```
4053
4224
  */
4054
4225
  deleteGoogleSheetRows(step: DeleteGoogleSheetRowsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteGoogleSheetRowsStepOutput>>;
4226
+ /**
4227
+ * Detect changes between runs by comparing current input against previously stored state. Routes execution based on whether a change occurred.
4228
+ *
4229
+ * @remarks
4230
+ * - Persists state across runs using a global variable keyed to the step ID.
4231
+ * - Two modes: "comparison" (default) uses strict string inequality; "ai" uses an LLM to determine if a meaningful change occurred.
4232
+ * - First run always treats the value as "changed" since there is no previous state.
4233
+ * - Each mode supports transitions to different steps/workflows for the "changed" and "unchanged" paths.
4234
+ * - AI mode bills normally for the LLM call.
4235
+ *
4236
+ * @example
4237
+ * ```typescript
4238
+ * const result = await agent.detectChanges({
4239
+ * mode: "ai",
4240
+ * input: ``,
4241
+ * });
4242
+ * ```
4243
+ */
4244
+ detectChanges(step: DetectChangesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DetectChangesStepOutput>>;
4055
4245
  /**
4056
4246
  * Scan text for personally identifiable information using Microsoft Presidio.
4057
4247
  *
@@ -4070,6 +4260,67 @@ interface StepMethods {
4070
4260
  * ```
4071
4261
  */
4072
4262
  detectPII(step: DetectPIIStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DetectPIIStepOutput>>;
4263
+ /**
4264
+ * Edit a previously sent Discord channel message. Use with the message ID returned by Send Discord Message.
4265
+ *
4266
+ * @remarks
4267
+ * - Only messages sent by the bot can be edited.
4268
+ * - The messageId is returned by the Send Discord Message step.
4269
+ * - Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.
4270
+ * - When editing with an attachment, the new attachment replaces any previous attachments on the message.
4271
+ * - URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).
4272
+ *
4273
+ * @example
4274
+ * ```typescript
4275
+ * const result = await agent.discordEditMessage({
4276
+ * botToken: ``,
4277
+ * channelId: ``,
4278
+ * messageId: ``,
4279
+ * text: ``,
4280
+ * });
4281
+ * ```
4282
+ */
4283
+ discordEditMessage(step: DiscordEditMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DiscordEditMessageStepOutput>>;
4284
+ /**
4285
+ * Send a follow-up message to a Discord slash command interaction.
4286
+ *
4287
+ * @remarks
4288
+ * - Requires the applicationId and interactionToken from the Discord trigger variables.
4289
+ * - Follow-up messages appear as new messages in the channel after the initial response.
4290
+ * - Returns the sent message ID.
4291
+ * - Interaction tokens expire after 15 minutes.
4292
+ * - Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.
4293
+ * - URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).
4294
+ *
4295
+ * @example
4296
+ * ```typescript
4297
+ * const result = await agent.discordSendFollowUp({
4298
+ * applicationId: ``,
4299
+ * interactionToken: ``,
4300
+ * text: ``,
4301
+ * });
4302
+ * ```
4303
+ */
4304
+ discordSendFollowUp(step: DiscordSendFollowUpStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DiscordSendFollowUpStepOutput>>;
4305
+ /**
4306
+ * Send a message to Discord — either edit the loading message or send a new channel message.
4307
+ *
4308
+ * @remarks
4309
+ * - mode "edit" replaces the loading message (interaction response) with the final result. Uses applicationId and interactionToken from trigger variables. No bot permissions required.
4310
+ * - 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.
4311
+ * - Optionally attach a file by providing a URL to attachmentUrl. The file is downloaded and uploaded to Discord.
4312
+ * - URLs in the text are automatically embedded by Discord (link previews for images, videos, etc.).
4313
+ * - Interaction tokens expire after 15 minutes.
4314
+ *
4315
+ * @example
4316
+ * ```typescript
4317
+ * const result = await agent.discordSendMessage({
4318
+ * mode: "edit",
4319
+ * text: ``,
4320
+ * });
4321
+ * ```
4322
+ */
4323
+ discordSendMessage(step: DiscordSendMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DiscordSendMessageStepOutput>>;
4073
4324
  /**
4074
4325
  * Download a video file
4075
4326
  *
@@ -4779,13 +5030,14 @@ interface StepMethods {
4779
5030
  */
4780
5031
  listGoogleDriveFiles(step: ListGoogleDriveFilesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGoogleDriveFilesStepOutput>>;
4781
5032
  /**
4782
- * Use an AI model to evaluate which condition from a list is most true, given a context prompt.
5033
+ * Route execution to different branches based on AI evaluation, comparison operators, or workflow jumps.
4783
5034
  *
4784
5035
  * @remarks
4785
- * - This is "fuzzy" logic evaluated by an AI model, not computational logic. The model picks the most accurate statement.
4786
- * - All possible cases must be specified there is no default/fallback case.
5036
+ * - Supports two modes: "ai" (default) uses an AI model to pick the most accurate statement; "comparison" uses operator-based checks.
5037
+ * - In AI mode, the model picks the most accurate statement from the list. All possible cases must be specified.
5038
+ * - 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.
4787
5039
  * - Requires at least two cases.
4788
- * - In workflow mode, transitions to the destinationStepId of the winning case. In direct execution, returns the winning case ID and condition.
5040
+ * - Each case can transition to a step in the current workflow (destinationStepId) or jump to another workflow (destinationWorkflowId).
4789
5041
  *
4790
5042
  * @example
4791
5043
  * ```typescript
@@ -5101,6 +5353,27 @@ interface StepMethods {
5101
5353
  * ```
5102
5354
  */
5103
5355
  resizeVideo(step: ResizeVideoStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ResizeVideoStepOutput>>;
5356
+ /**
5357
+ * Run a raw API connector to a third-party service
5358
+ *
5359
+ * @remarks
5360
+ * - Use the /developer/v2/helpers/connectors endpoint to list available services and actions.
5361
+ * - Use /developer/v2/helpers/connectors/{serviceId}/{actionId} to get the full input configuration for an action.
5362
+ * - Use /developer/v2/helpers/connections to list your available OAuth connections.
5363
+ * - The actionId format is "serviceId/actionId" (e.g., "slack/send-message").
5364
+ * - Pass a __connectionId to authenticate the request with a specific OAuth connection, otherwise the default will be used (if configured).
5365
+ *
5366
+ * @example
5367
+ * ```typescript
5368
+ * const result = await agent.runFromConnectorRegistry({
5369
+ * actionId: ``,
5370
+ * displayName: ``,
5371
+ * icon: ``,
5372
+ * configurationValues: {},
5373
+ * });
5374
+ * ```
5375
+ */
5376
+ runFromConnectorRegistry(step: RunFromConnectorRegistryStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<RunFromConnectorRegistryStepOutput>>;
5104
5377
  /**
5105
5378
  * Run a packaged workflow ("custom block")
5106
5379
  *
@@ -5912,18 +6185,75 @@ interface MindStudioModel {
5912
6185
  id?: string;
5913
6186
  /** Display name of the model. */
5914
6187
  name?: string;
5915
- /** Full model identifier from the provider. */
5916
- rawName?: string;
5917
6188
  /** One of: `llm_chat`, `image_generation`, `video_generation`, `video_analysis`, `text_to_speech`, `vision`, `transcription`. */
5918
6189
  type?: "llm_chat" | "image_generation" | "video_generation" | "video_analysis" | "text_to_speech" | "vision" | "transcription";
5919
- publisher?: string;
5920
6190
  maxTemperature?: number;
5921
6191
  maxResponseSize?: number;
5922
6192
  /** Accepted input types for this model (text, imageUrl, videoUrl, etc.). */
5923
6193
  inputs?: Record<string, unknown>[];
5924
- contextWindow?: number;
6194
+ }
6195
+ /** A lightweight AI model summary. */
6196
+ interface MindStudioModelSummary {
6197
+ id?: string;
6198
+ /** Display name of the model. */
6199
+ name?: string;
6200
+ /** One of: `llm_chat`, `image_generation`, `video_generation`, `video_analysis`, `text_to_speech`, `vision`, `transcription`. */
6201
+ type?: "llm_chat" | "image_generation" | "video_generation" | "video_analysis" | "text_to_speech" | "vision" | "transcription";
6202
+ /** Comma-separated tags for the model. */
5925
6203
  tags?: string;
5926
6204
  }
6205
+ /** A connector service with its available actions. */
6206
+ interface ConnectorService {
6207
+ id?: string;
6208
+ /** Display name of the connector service. */
6209
+ name?: string;
6210
+ icon?: string;
6211
+ /** Available actions for this connector service. */
6212
+ actions?: {
6213
+ id?: string;
6214
+ /** Display name of the action. */
6215
+ name?: string;
6216
+ }[];
6217
+ }
6218
+ /** Full configuration details for a connector action. */
6219
+ interface ConnectorActionDetail {
6220
+ id?: string;
6221
+ /** Display name of the action. */
6222
+ name?: string;
6223
+ /** What this action does. */
6224
+ description?: string;
6225
+ /** Short usage guidance for the action. */
6226
+ quickHelp?: string;
6227
+ /** Input field groups required to call this action. */
6228
+ configuration?: ({
6229
+ title?: string;
6230
+ items?: ({
6231
+ label?: string;
6232
+ helpText?: string;
6233
+ /** The variable name to use when passing this input. */
6234
+ variable?: string;
6235
+ /** One of: `text`, `outputVariableName`, `select`. */
6236
+ type?: "text" | "outputVariableName" | "select";
6237
+ defaultValue?: string;
6238
+ placeholder?: string;
6239
+ selectOptions?: {
6240
+ options?: {
6241
+ label?: string;
6242
+ value?: string;
6243
+ }[];
6244
+ };
6245
+ })[];
6246
+ })[];
6247
+ }
6248
+ /** An OAuth connection to a third-party service. */
6249
+ interface Connection {
6250
+ /** Connection ID. Pass this when executing connector actions. */
6251
+ id?: string;
6252
+ /** The integration provider (e.g., slack, google, github). */
6253
+ provider?: string;
6254
+ /** Display name or account identifier for the connection. */
6255
+ name?: string;
6256
+ }
5927
6257
  /** Supported model type categories for filtering. */
5928
6258
  type ModelType = "llm_chat" | "image_generation" | "video_generation" | "video_analysis" | "text_to_speech" | "vision" | "transcription";
5929
6259
  interface HelperMethods {
@@ -5944,14 +6274,27 @@ interface HelperMethods {
5944
6274
  listModelsByType(modelType: ModelType): Promise<{
5945
6275
  models: MindStudioModel[];
5946
6276
  }>;
6277
+ /**
6278
+ * List all available AI models (summary). Returns only id, name, type, and tags.
6279
+ *
6280
+ * Suitable for display or consumption inside a model context window.
6281
+ */
6282
+ listModelsSummary(): Promise<{
6283
+ models: MindStudioModelSummary[];
6284
+ }>;
6285
+ /**
6286
+ * List AI models (summary) filtered by type.
6287
+ *
6288
+ * @param modelType - The category to filter by (e.g. "llm_chat", "image_generation").
6289
+ */
6290
+ listModelsSummaryByType(modelType: ModelType): Promise<{
6291
+ models: MindStudioModelSummary[];
6292
+ }>;
5947
6293
  /**
5948
6294
  * List all available connector services (Slack, Google, HubSpot, etc.).
5949
6295
  */
5950
6296
  listConnectors(): Promise<{
5951
- services: Array<{
5952
- service: Record<string, unknown>;
5953
- actions: Record<string, unknown>[];
5954
- }>;
6297
+ services: ConnectorService[];
5955
6298
  }>;
5956
6299
  /**
5957
6300
  * Get details for a single connector service.
@@ -5959,7 +6302,25 @@ interface HelperMethods {
5959
6302
  * @param serviceId - The connector service ID.
5960
6303
  */
5961
6304
  getConnector(serviceId: string): Promise<{
5962
- service: Record<string, unknown>;
6305
+ service: ConnectorService;
6306
+ }>;
6307
+ /**
6308
+ * Get the full configuration for a connector action, including input fields.
6309
+ *
6310
+ * @param serviceId - The connector service ID.
6311
+ * @param actionId - The full action ID including service prefix (e.g. "slack/send-message").
6312
+ */
6313
+ getConnectorAction(serviceId: string, actionId: string): Promise<{
6314
+ action: ConnectorActionDetail;
6315
+ }>;
6316
+ /**
6317
+ * List OAuth connections for the organization.
6318
+ *
6319
+ * Returns the third-party services the caller's organization has OAuth connections for.
6320
+ * Use the returned connection IDs when calling connector actions.
6321
+ */
6322
+ listConnections(): Promise<{
6323
+ connections: Connection[];
5963
6324
  }>;
5964
6325
  }
5965
6326
 
@@ -6011,4 +6372,4 @@ declare const MindStudioAgent: {
6011
6372
  new (options?: AgentOptions): MindStudioAgent;
6012
6373
  };
6013
6374
 
6014
- 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 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 };
6375
+ 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 DetectChangesStepInput, type DetectChangesStepOutput, 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 RunFromConnectorRegistryStepInput, type RunFromConnectorRegistryStepOutput, 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 };