@mindstudio-ai/agent 0.0.20 → 0.1.1

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
@@ -607,6 +607,22 @@ interface CreateDataSourceStepInput {
607
607
  name: string;
608
608
  }
609
609
  type CreateDataSourceStepOutput = unknown;
610
+ interface CreateGmailDraftStepInput {
611
+ /** Recipient email address(es), comma-separated for multiple */
612
+ to: string;
613
+ /** Email subject line */
614
+ subject: string;
615
+ /** Email body content */
616
+ message: string;
617
+ /** Google OAuth connection ID */
618
+ connectionId?: string;
619
+ /** Body format: "plain", "html", or "markdown" */
620
+ messageType: "plain" | "html" | "markdown";
621
+ }
622
+ interface CreateGmailDraftStepOutput {
623
+ /** Gmail draft ID */
624
+ draftId: string;
625
+ }
610
626
  interface CreateGoogleCalendarEventStepInput {
611
627
  /** Google OAuth connection ID */
612
628
  connectionId?: string;
@@ -1587,6 +1603,13 @@ interface GenerateVideoStepOutput {
1587
1603
  /** CDN URL of the generated video, or array of URLs when generating multiple variants */
1588
1604
  videoUrl: string | string[];
1589
1605
  }
1606
+ interface GetGmailAttachmentsStepInput {
1607
+ /** Gmail message ID */
1608
+ messageId: string;
1609
+ /** Google OAuth connection ID */
1610
+ connectionId?: string;
1611
+ }
1612
+ type GetGmailAttachmentsStepOutput = unknown;
1590
1613
  interface GetGmailDraftStepInput {
1591
1614
  /** Gmail draft ID to retrieve */
1592
1615
  draftId: string;
@@ -1629,6 +1652,11 @@ interface GetGmailEmailStepOutput {
1629
1652
  /** Comma-separated label IDs */
1630
1653
  labels: string;
1631
1654
  }
1655
+ interface GetGmailUnreadCountStepInput {
1656
+ /** Google OAuth connection ID */
1657
+ connectionId?: string;
1658
+ }
1659
+ type GetGmailUnreadCountStepOutput = unknown;
1632
1660
  interface GetGoogleCalendarEventStepInput {
1633
1661
  /** Google OAuth connection ID */
1634
1662
  connectionId?: string;
@@ -2104,6 +2132,11 @@ interface ListGmailDraftsStepOutput {
2104
2132
  snippet: string;
2105
2133
  }[];
2106
2134
  }
2135
+ interface ListGmailLabelsStepInput {
2136
+ /** Google OAuth connection ID */
2137
+ connectionId?: string;
2138
+ }
2139
+ type ListGmailLabelsStepOutput = unknown;
2107
2140
  interface ListGoogleCalendarEventsStepInput {
2108
2141
  /** Google OAuth connection ID */
2109
2142
  connectionId?: string;
@@ -2178,6 +2211,15 @@ interface ListGoogleDriveFilesStepOutput {
2178
2211
  modifiedTime: string;
2179
2212
  }[];
2180
2213
  }
2214
+ interface ListRecentGmailEmailsStepInput {
2215
+ /** Google OAuth connection ID */
2216
+ connectionId?: string;
2217
+ /** Format for the variable output: "json" or "text" */
2218
+ exportType: "json" | "text";
2219
+ /** Maximum number of emails to return (1-100, default: 5) */
2220
+ limit: string;
2221
+ }
2222
+ type ListRecentGmailEmailsStepOutput = unknown;
2181
2223
  interface LogicStepInput {
2182
2224
  /** Evaluation mode: 'ai' for LLM-based, 'comparison' for operator-based. Default: 'ai' */
2183
2225
  mode?: "ai" | "comparison";
@@ -2534,6 +2576,22 @@ interface ResizeVideoStepOutput {
2534
2576
  /** URL of the resized video */
2535
2577
  videoUrl: string;
2536
2578
  }
2579
+ interface RunFromConnectorRegistryStepInput {
2580
+ /** The connector action identifier in the format serviceId/actionId */
2581
+ actionId: string;
2582
+ /** Human-readable name of the connector action */
2583
+ displayName: string;
2584
+ /** Icon URL for the connector */
2585
+ icon: string;
2586
+ /** Key-value configuration parameters for the connector action */
2587
+ configurationValues: Record<string, unknown>;
2588
+ /** OAuth connection ID used to authenticate the connector request */
2589
+ __connectionId?: string;
2590
+ }
2591
+ interface RunFromConnectorRegistryStepOutput {
2592
+ /** Key-value map of output variables set by the connector */
2593
+ data: Record<string, unknown>;
2594
+ }
2537
2595
  interface RunPackagedWorkflowStepInput {
2538
2596
  /** The app ID of the packaged workflow source */
2539
2597
  appId: string;
@@ -2767,6 +2825,37 @@ interface ScrapeXProfileStepOutput {
2767
2825
  };
2768
2826
  };
2769
2827
  }
2828
+ interface SearchGmailEmailsStepInput {
2829
+ /** Gmail search query (e.g. "from:user@example.com", "subject:invoice", "is:unread") */
2830
+ query: string;
2831
+ /** Google OAuth connection ID */
2832
+ connectionId?: string;
2833
+ /** Format for the variable output: "json" or "text" */
2834
+ exportType: "json" | "text";
2835
+ /** Maximum number of emails to return (1-10, default: 5) */
2836
+ limit: string;
2837
+ }
2838
+ interface SearchGmailEmailsStepOutput {
2839
+ /** List of matching email messages */
2840
+ emails: {
2841
+ /** Gmail message ID */
2842
+ id: string;
2843
+ /** Email subject line */
2844
+ subject: string;
2845
+ /** Sender email address */
2846
+ from: string;
2847
+ /** Recipient email address */
2848
+ to: string;
2849
+ /** Email date */
2850
+ date: string;
2851
+ /** Plain text body content */
2852
+ plainBody: string;
2853
+ /** HTML body content (if available) */
2854
+ htmlBody: string;
2855
+ /** Comma-separated label IDs applied to the email */
2856
+ labels: string;
2857
+ }[];
2858
+ }
2770
2859
  interface SearchGoogleStepInput {
2771
2860
  /** The search query to send to Google */
2772
2861
  query: string;
@@ -3099,6 +3188,29 @@ interface SendEmailStepOutput {
3099
3188
  /** Email addresses the message was sent to */
3100
3189
  recipients: string[];
3101
3190
  }
3191
+ interface SendGmailDraftStepInput {
3192
+ /** Gmail draft ID to send */
3193
+ draftId: string;
3194
+ /** Google OAuth connection ID */
3195
+ connectionId?: string;
3196
+ }
3197
+ type SendGmailDraftStepOutput = unknown;
3198
+ interface SendGmailMessageStepInput {
3199
+ /** Recipient email address(es), comma-separated for multiple */
3200
+ to: string;
3201
+ /** Email subject line */
3202
+ subject: string;
3203
+ /** Email body content */
3204
+ message: string;
3205
+ /** Google OAuth connection ID */
3206
+ connectionId?: string;
3207
+ /** Body format: "plain", "html", or "markdown" */
3208
+ messageType: "plain" | "html" | "markdown";
3209
+ }
3210
+ interface SendGmailMessageStepOutput {
3211
+ /** Gmail message ID of the sent email */
3212
+ messageId: string;
3213
+ }
3102
3214
  interface SendSMSStepInput {
3103
3215
  /** SMS message body text */
3104
3216
  body: string;
@@ -3108,6 +3220,15 @@ interface SendSMSStepInput {
3108
3220
  mediaUrls?: string[];
3109
3221
  }
3110
3222
  type SendSMSStepOutput = unknown;
3223
+ interface SetGmailReadStatusStepInput {
3224
+ /** Gmail message ID(s), comma-separated */
3225
+ messageIds: string;
3226
+ /** true = mark as read, false = mark as unread */
3227
+ markAsRead: boolean;
3228
+ /** Google OAuth connection ID */
3229
+ connectionId?: string;
3230
+ }
3231
+ type SetGmailReadStatusStepOutput = unknown;
3111
3232
  interface SetRunTitleStepInput {
3112
3233
  /** The title to assign to the agent run (supports variable interpolation) */
3113
3234
  title: string;
@@ -3255,6 +3376,22 @@ interface TrimMediaStepOutput {
3255
3376
  /** URL of the trimmed media file */
3256
3377
  mediaUrl: string;
3257
3378
  }
3379
+ interface UpdateGmailLabelsStepInput {
3380
+ /** Gmail search query to find messages (alternative to messageIds) */
3381
+ query: string;
3382
+ /** Google OAuth connection ID */
3383
+ connectionId?: string;
3384
+ /** Comma-separated message IDs to target (alternative to query) */
3385
+ messageIds: string;
3386
+ /** Comma-separated label names or IDs to add */
3387
+ addLabelIds: string;
3388
+ /** Comma-separated label names or IDs to remove */
3389
+ removeLabelIds: string;
3390
+ }
3391
+ interface UpdateGmailLabelsStepOutput {
3392
+ /** Gmail message IDs that were updated */
3393
+ updatedMessageIds: string[];
3394
+ }
3258
3395
  interface UpdateGoogleCalendarEventStepInput {
3259
3396
  /** Google OAuth connection ID */
3260
3397
  connectionId?: string;
@@ -3481,7 +3618,7 @@ type GenerateAssetStepOutput = GeneratePdfStepOutput;
3481
3618
  type GenerateTextStepInput = UserMessageStepInput;
3482
3619
  type GenerateTextStepOutput = UserMessageStepOutput;
3483
3620
  /** Union of all available step type names. */
3484
- 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" | "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";
3621
+ type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGmailDraft" | "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" | "getGmailAttachments" | "getGmailDraft" | "getGmailEmail" | "getGmailUnreadCount" | "getGoogleCalendarEvent" | "getGoogleDriveFile" | "getGoogleSheetInfo" | "getMediaMetadata" | "httpRequest" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "insertVideoClips" | "listDataSources" | "listGmailDrafts" | "listGmailLabels" | "listGoogleCalendarEvents" | "listGoogleDriveFiles" | "listRecentGmailEmails" | "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" | "searchGmailEmails" | "searchGoogle" | "searchGoogleCalendarEvents" | "searchGoogleDrive" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendGmailDraft" | "sendGmailMessage" | "sendSMS" | "setGmailReadStatus" | "setRunTitle" | "setVariable" | "telegramEditMessage" | "telegramReplyToMessage" | "telegramSendAudio" | "telegramSendFile" | "telegramSendImage" | "telegramSendMessage" | "telegramSendVideo" | "telegramSetTyping" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGmailLabels" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
3485
3622
  /** Maps step names to their input types. */
3486
3623
  interface StepInputMap {
3487
3624
  activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
@@ -3501,6 +3638,7 @@ interface StepInputMap {
3501
3638
  codaGetTableRows: CodaGetTableRowsStepInput;
3502
3639
  convertPdfToImages: ConvertPdfToImagesStepInput;
3503
3640
  createDataSource: CreateDataSourceStepInput;
3641
+ createGmailDraft: CreateGmailDraftStepInput;
3504
3642
  createGoogleCalendarEvent: CreateGoogleCalendarEventStepInput;
3505
3643
  createGoogleDoc: CreateGoogleDocStepInput;
3506
3644
  createGoogleSheet: CreateGoogleSheetStepInput;
@@ -3535,8 +3673,10 @@ interface StepInputMap {
3535
3673
  generatePdf: GeneratePdfStepInput;
3536
3674
  generateStaticVideoFromImage: GenerateStaticVideoFromImageStepInput;
3537
3675
  generateVideo: GenerateVideoStepInput;
3676
+ getGmailAttachments: GetGmailAttachmentsStepInput;
3538
3677
  getGmailDraft: GetGmailDraftStepInput;
3539
3678
  getGmailEmail: GetGmailEmailStepInput;
3679
+ getGmailUnreadCount: GetGmailUnreadCountStepInput;
3540
3680
  getGoogleCalendarEvent: GetGoogleCalendarEventStepInput;
3541
3681
  getGoogleDriveFile: GetGoogleDriveFileStepInput;
3542
3682
  getGoogleSheetInfo: GetGoogleSheetInfoStepInput;
@@ -3556,8 +3696,10 @@ interface StepInputMap {
3556
3696
  insertVideoClips: InsertVideoClipsStepInput;
3557
3697
  listDataSources: ListDataSourcesStepInput;
3558
3698
  listGmailDrafts: ListGmailDraftsStepInput;
3699
+ listGmailLabels: ListGmailLabelsStepInput;
3559
3700
  listGoogleCalendarEvents: ListGoogleCalendarEventsStepInput;
3560
3701
  listGoogleDriveFiles: ListGoogleDriveFilesStepInput;
3702
+ listRecentGmailEmails: ListRecentGmailEmailsStepInput;
3561
3703
  logic: LogicStepInput;
3562
3704
  makeDotComRunScenario: MakeDotComRunScenarioStepInput;
3563
3705
  mergeAudio: MergeAudioStepInput;
@@ -3578,6 +3720,7 @@ interface StepInputMap {
3578
3720
  removeBackgroundFromImage: RemoveBackgroundFromImageStepInput;
3579
3721
  replyToGmailEmail: ReplyToGmailEmailStepInput;
3580
3722
  resizeVideo: ResizeVideoStepInput;
3723
+ runFromConnectorRegistry: RunFromConnectorRegistryStepInput;
3581
3724
  runPackagedWorkflow: RunPackagedWorkflowStepInput;
3582
3725
  scrapeFacebookPage: ScrapeFacebookPageStepInput;
3583
3726
  scrapeFacebookPosts: ScrapeFacebookPostsStepInput;
@@ -3592,6 +3735,7 @@ interface StepInputMap {
3592
3735
  scrapeUrl: ScrapeUrlStepInput;
3593
3736
  scrapeXPost: ScrapeXPostStepInput;
3594
3737
  scrapeXProfile: ScrapeXProfileStepInput;
3738
+ searchGmailEmails: SearchGmailEmailsStepInput;
3595
3739
  searchGoogle: SearchGoogleStepInput;
3596
3740
  searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepInput;
3597
3741
  searchGoogleDrive: SearchGoogleDriveStepInput;
@@ -3603,7 +3747,10 @@ interface StepInputMap {
3603
3747
  searchYoutube: SearchYoutubeStepInput;
3604
3748
  searchYoutubeTrends: SearchYoutubeTrendsStepInput;
3605
3749
  sendEmail: SendEmailStepInput;
3750
+ sendGmailDraft: SendGmailDraftStepInput;
3751
+ sendGmailMessage: SendGmailMessageStepInput;
3606
3752
  sendSMS: SendSMSStepInput;
3753
+ setGmailReadStatus: SetGmailReadStatusStepInput;
3607
3754
  setRunTitle: SetRunTitleStepInput;
3608
3755
  setVariable: SetVariableStepInput;
3609
3756
  telegramEditMessage: TelegramEditMessageStepInput;
@@ -3617,6 +3764,7 @@ interface StepInputMap {
3617
3764
  textToSpeech: TextToSpeechStepInput;
3618
3765
  transcribeAudio: TranscribeAudioStepInput;
3619
3766
  trimMedia: TrimMediaStepInput;
3767
+ updateGmailLabels: UpdateGmailLabelsStepInput;
3620
3768
  updateGoogleCalendarEvent: UpdateGoogleCalendarEventStepInput;
3621
3769
  updateGoogleDoc: UpdateGoogleDocStepInput;
3622
3770
  updateGoogleSheet: UpdateGoogleSheetStepInput;
@@ -3649,6 +3797,7 @@ interface StepOutputMap {
3649
3797
  codaGetTableRows: CodaGetTableRowsStepOutput;
3650
3798
  convertPdfToImages: ConvertPdfToImagesStepOutput;
3651
3799
  createDataSource: CreateDataSourceStepOutput;
3800
+ createGmailDraft: CreateGmailDraftStepOutput;
3652
3801
  createGoogleCalendarEvent: CreateGoogleCalendarEventStepOutput;
3653
3802
  createGoogleDoc: CreateGoogleDocStepOutput;
3654
3803
  createGoogleSheet: CreateGoogleSheetStepOutput;
@@ -3683,8 +3832,10 @@ interface StepOutputMap {
3683
3832
  generatePdf: GeneratePdfStepOutput;
3684
3833
  generateStaticVideoFromImage: GenerateStaticVideoFromImageStepOutput;
3685
3834
  generateVideo: GenerateVideoStepOutput;
3835
+ getGmailAttachments: GetGmailAttachmentsStepOutput;
3686
3836
  getGmailDraft: GetGmailDraftStepOutput;
3687
3837
  getGmailEmail: GetGmailEmailStepOutput;
3838
+ getGmailUnreadCount: GetGmailUnreadCountStepOutput;
3688
3839
  getGoogleCalendarEvent: GetGoogleCalendarEventStepOutput;
3689
3840
  getGoogleDriveFile: GetGoogleDriveFileStepOutput;
3690
3841
  getGoogleSheetInfo: GetGoogleSheetInfoStepOutput;
@@ -3704,8 +3855,10 @@ interface StepOutputMap {
3704
3855
  insertVideoClips: InsertVideoClipsStepOutput;
3705
3856
  listDataSources: ListDataSourcesStepOutput;
3706
3857
  listGmailDrafts: ListGmailDraftsStepOutput;
3858
+ listGmailLabels: ListGmailLabelsStepOutput;
3707
3859
  listGoogleCalendarEvents: ListGoogleCalendarEventsStepOutput;
3708
3860
  listGoogleDriveFiles: ListGoogleDriveFilesStepOutput;
3861
+ listRecentGmailEmails: ListRecentGmailEmailsStepOutput;
3709
3862
  logic: LogicStepOutput;
3710
3863
  makeDotComRunScenario: MakeDotComRunScenarioStepOutput;
3711
3864
  mergeAudio: MergeAudioStepOutput;
@@ -3726,6 +3879,7 @@ interface StepOutputMap {
3726
3879
  removeBackgroundFromImage: RemoveBackgroundFromImageStepOutput;
3727
3880
  replyToGmailEmail: ReplyToGmailEmailStepOutput;
3728
3881
  resizeVideo: ResizeVideoStepOutput;
3882
+ runFromConnectorRegistry: RunFromConnectorRegistryStepOutput;
3729
3883
  runPackagedWorkflow: RunPackagedWorkflowStepOutput;
3730
3884
  scrapeFacebookPage: ScrapeFacebookPageStepOutput;
3731
3885
  scrapeFacebookPosts: ScrapeFacebookPostsStepOutput;
@@ -3740,6 +3894,7 @@ interface StepOutputMap {
3740
3894
  scrapeUrl: ScrapeUrlStepOutput;
3741
3895
  scrapeXPost: ScrapeXPostStepOutput;
3742
3896
  scrapeXProfile: ScrapeXProfileStepOutput;
3897
+ searchGmailEmails: SearchGmailEmailsStepOutput;
3743
3898
  searchGoogle: SearchGoogleStepOutput;
3744
3899
  searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepOutput;
3745
3900
  searchGoogleDrive: SearchGoogleDriveStepOutput;
@@ -3751,7 +3906,10 @@ interface StepOutputMap {
3751
3906
  searchYoutube: SearchYoutubeStepOutput;
3752
3907
  searchYoutubeTrends: SearchYoutubeTrendsStepOutput;
3753
3908
  sendEmail: SendEmailStepOutput;
3909
+ sendGmailDraft: SendGmailDraftStepOutput;
3910
+ sendGmailMessage: SendGmailMessageStepOutput;
3754
3911
  sendSMS: SendSMSStepOutput;
3912
+ setGmailReadStatus: SetGmailReadStatusStepOutput;
3755
3913
  setRunTitle: SetRunTitleStepOutput;
3756
3914
  setVariable: SetVariableStepOutput;
3757
3915
  telegramEditMessage: TelegramEditMessageStepOutput;
@@ -3765,6 +3923,7 @@ interface StepOutputMap {
3765
3923
  textToSpeech: TextToSpeechStepOutput;
3766
3924
  transcribeAudio: TranscribeAudioStepOutput;
3767
3925
  trimMedia: TrimMediaStepOutput;
3926
+ updateGmailLabels: UpdateGmailLabelsStepOutput;
3768
3927
  updateGoogleCalendarEvent: UpdateGoogleCalendarEventStepOutput;
3769
3928
  updateGoogleDoc: UpdateGoogleDocStepOutput;
3770
3929
  updateGoogleSheet: UpdateGoogleSheetStepOutput;
@@ -4077,6 +4236,25 @@ interface StepMethods {
4077
4236
  * ```
4078
4237
  */
4079
4238
  createDataSource(step: CreateDataSourceStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<CreateDataSourceStepOutput>>;
4239
+ /**
4240
+ * Create a draft email in the connected Gmail account.
4241
+ *
4242
+ * @remarks
4243
+ * - Requires a Google OAuth connection with Gmail compose scope.
4244
+ * - The draft appears in the user's Gmail Drafts folder but is not sent.
4245
+ * - messageType controls the body format: "plain" for plain text, "html" for raw HTML, "markdown" for auto-converted markdown.
4246
+ *
4247
+ * @example
4248
+ * ```typescript
4249
+ * const result = await agent.createGmailDraft({
4250
+ * to: ``,
4251
+ * subject: ``,
4252
+ * message: ``,
4253
+ * messageType: "plain",
4254
+ * });
4255
+ * ```
4256
+ */
4257
+ createGmailDraft(step: CreateGmailDraftStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<CreateGmailDraftStepOutput>>;
4080
4258
  /**
4081
4259
  * Create a new event on a Google Calendar.
4082
4260
  *
@@ -4640,6 +4818,23 @@ interface StepMethods {
4640
4818
  * ```
4641
4819
  */
4642
4820
  generateVideo(step: GenerateVideoStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GenerateVideoStepOutput>>;
4821
+ /**
4822
+ * Download attachments from a Gmail email and re-host them on CDN.
4823
+ *
4824
+ * @remarks
4825
+ * - Requires a Google OAuth connection with Gmail readonly scope.
4826
+ * - Attachments are uploaded to CDN and returned as URLs.
4827
+ * - Attachments larger than 25MB are skipped.
4828
+ * - Use the message ID from Search Gmail Emails, List Recent Gmail Emails, or Get Gmail Email steps.
4829
+ *
4830
+ * @example
4831
+ * ```typescript
4832
+ * const result = await agent.getGmailAttachments({
4833
+ * messageId: ``,
4834
+ * });
4835
+ * ```
4836
+ */
4837
+ getGmailAttachments(step: GetGmailAttachmentsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGmailAttachmentsStepOutput>>;
4643
4838
  /**
4644
4839
  * Retrieve a specific draft from Gmail by draft ID.
4645
4840
  *
@@ -4670,6 +4865,20 @@ interface StepMethods {
4670
4865
  * ```
4671
4866
  */
4672
4867
  getGmailEmail(step: GetGmailEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGmailEmailStepOutput>>;
4868
+ /**
4869
+ * Get the number of unread emails in the connected Gmail inbox.
4870
+ *
4871
+ * @remarks
4872
+ * - Requires a Google OAuth connection with Gmail readonly scope.
4873
+ * - Returns the unread message count for the inbox label.
4874
+ * - This is a lightweight call that does not fetch any email content.
4875
+ *
4876
+ * @example
4877
+ * ```typescript
4878
+ * const result = await agent.getGmailUnreadCount({});
4879
+ * ```
4880
+ */
4881
+ getGmailUnreadCount(step: GetGmailUnreadCountStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGmailUnreadCountStepOutput>>;
4673
4882
  /**
4674
4883
  * Retrieve a specific event from a Google Calendar by event ID.
4675
4884
  *
@@ -4978,6 +5187,20 @@ interface StepMethods {
4978
5187
  * ```
4979
5188
  */
4980
5189
  listGmailDrafts(step: ListGmailDraftsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGmailDraftsStepOutput>>;
5190
+ /**
5191
+ * List all labels in the connected Gmail account. Use these label IDs or names with the Update Gmail Labels step.
5192
+ *
5193
+ * @remarks
5194
+ * - Requires a Google OAuth connection with Gmail readonly scope.
5195
+ * - Returns both system labels (INBOX, SENT, TRASH, etc.) and user-created labels.
5196
+ * - Label type is "system" for built-in labels or "user" for custom labels.
5197
+ *
5198
+ * @example
5199
+ * ```typescript
5200
+ * const result = await agent.listGmailLabels({});
5201
+ * ```
5202
+ */
5203
+ listGmailLabels(step: ListGmailLabelsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGmailLabelsStepOutput>>;
4981
5204
  /**
4982
5205
  * List upcoming events from a Google Calendar, ordered by start time.
4983
5206
  *
@@ -5011,6 +5234,23 @@ interface StepMethods {
5011
5234
  * ```
5012
5235
  */
5013
5236
  listGoogleDriveFiles(step: ListGoogleDriveFilesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGoogleDriveFilesStepOutput>>;
5237
+ /**
5238
+ * List recent emails from the connected Gmail inbox.
5239
+ *
5240
+ * @remarks
5241
+ * - Requires a Google OAuth connection with Gmail readonly scope.
5242
+ * - Returns up to 100 emails (default 5), ordered by most recent first.
5243
+ * - Functionally equivalent to Search Gmail Emails with an "in:inbox" query.
5244
+ *
5245
+ * @example
5246
+ * ```typescript
5247
+ * const result = await agent.listRecentGmailEmails({
5248
+ * exportType: "json",
5249
+ * limit: ``,
5250
+ * });
5251
+ * ```
5252
+ */
5253
+ listRecentGmailEmails(step: ListRecentGmailEmailsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListRecentGmailEmailsStepOutput>>;
5014
5254
  /**
5015
5255
  * Route execution to different branches based on AI evaluation, comparison operators, or workflow jumps.
5016
5256
  *
@@ -5335,6 +5575,27 @@ interface StepMethods {
5335
5575
  * ```
5336
5576
  */
5337
5577
  resizeVideo(step: ResizeVideoStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ResizeVideoStepOutput>>;
5578
+ /**
5579
+ * Run a raw API connector to a third-party service
5580
+ *
5581
+ * @remarks
5582
+ * - Use the /developer/v2/helpers/connectors endpoint to list available services and actions.
5583
+ * - Use /developer/v2/helpers/connectors/{serviceId}/{actionId} to get the full input configuration for an action.
5584
+ * - Use /developer/v2/helpers/connections to list your available OAuth connections.
5585
+ * - The actionId format is "serviceId/actionId" (e.g., "slack/send-message").
5586
+ * - Pass a __connectionId to authenticate the request with a specific OAuth connection, otherwise the default will be used (if configured).
5587
+ *
5588
+ * @example
5589
+ * ```typescript
5590
+ * const result = await agent.runFromConnectorRegistry({
5591
+ * actionId: ``,
5592
+ * displayName: ``,
5593
+ * icon: ``,
5594
+ * configurationValues: {},
5595
+ * });
5596
+ * ```
5597
+ */
5598
+ runFromConnectorRegistry(step: RunFromConnectorRegistryStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<RunFromConnectorRegistryStepOutput>>;
5338
5599
  /**
5339
5600
  * Run a packaged workflow ("custom block")
5340
5601
  *
@@ -5524,6 +5785,26 @@ interface StepMethods {
5524
5785
  * ```
5525
5786
  */
5526
5787
  scrapeXProfile(step: ScrapeXProfileStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ScrapeXProfileStepOutput>>;
5788
+ /**
5789
+ * Search for emails in the connected Gmail account using a Gmail search query. To list recent inbox emails, pass an empty query string.
5790
+ *
5791
+ * @remarks
5792
+ * - Requires a Google OAuth connection with Gmail readonly scope.
5793
+ * - Uses Gmail search syntax (e.g. "from:user@example.com", "subject:invoice", "is:unread").
5794
+ * - To list recent inbox emails, use an empty query string or "in:inbox".
5795
+ * - Returns up to 100 emails (default 5). The variable receives text or JSON depending on exportType.
5796
+ * - The direct execution output always returns structured email objects.
5797
+ *
5798
+ * @example
5799
+ * ```typescript
5800
+ * const result = await agent.searchGmailEmails({
5801
+ * query: ``,
5802
+ * exportType: "json",
5803
+ * limit: ``,
5804
+ * });
5805
+ * ```
5806
+ */
5807
+ searchGmailEmails(step: SearchGmailEmailsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SearchGmailEmailsStepOutput>>;
5527
5808
  /**
5528
5809
  * Search the web using Google and return structured results.
5529
5810
  *
@@ -5737,6 +6018,40 @@ interface StepMethods {
5737
6018
  * ```
5738
6019
  */
5739
6020
  sendEmail(step: SendEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SendEmailStepOutput>>;
6021
+ /**
6022
+ * Send an existing draft from the connected Gmail account.
6023
+ *
6024
+ * @remarks
6025
+ * - Requires a Google OAuth connection with Gmail compose scope.
6026
+ * - The draft is sent and removed from the Drafts folder.
6027
+ * - Use the draft ID returned by the Create Gmail Draft or List Gmail Drafts steps.
6028
+ *
6029
+ * @example
6030
+ * ```typescript
6031
+ * const result = await agent.sendGmailDraft({
6032
+ * draftId: ``,
6033
+ * });
6034
+ * ```
6035
+ */
6036
+ sendGmailDraft(step: SendGmailDraftStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SendGmailDraftStepOutput>>;
6037
+ /**
6038
+ * Send an email from the connected Gmail account.
6039
+ *
6040
+ * @remarks
6041
+ * - Requires a Google OAuth connection with Gmail compose scope.
6042
+ * - messageType controls the body format: "plain" for plain text, "html" for raw HTML, "markdown" for auto-converted markdown.
6043
+ *
6044
+ * @example
6045
+ * ```typescript
6046
+ * const result = await agent.sendGmailMessage({
6047
+ * to: ``,
6048
+ * subject: ``,
6049
+ * message: ``,
6050
+ * messageType: "plain",
6051
+ * });
6052
+ * ```
6053
+ */
6054
+ sendGmailMessage(step: SendGmailMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SendGmailMessageStepOutput>>;
5740
6055
  /**
5741
6056
  * Send an SMS or MMS message to a phone number configured via OAuth connection.
5742
6057
  *
@@ -5754,6 +6069,23 @@ interface StepMethods {
5754
6069
  * ```
5755
6070
  */
5756
6071
  sendSMS(step: SendSMSStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SendSMSStepOutput>>;
6072
+ /**
6073
+ * Mark one or more Gmail emails as read or unread.
6074
+ *
6075
+ * @remarks
6076
+ * - Requires a Google OAuth connection with Gmail modify scope.
6077
+ * - Accepts one or more message IDs as a comma-separated string or array.
6078
+ * - Set markAsRead to true to mark as read, false to mark as unread.
6079
+ *
6080
+ * @example
6081
+ * ```typescript
6082
+ * const result = await agent.setGmailReadStatus({
6083
+ * messageIds: ``,
6084
+ * markAsRead: false,
6085
+ * });
6086
+ * ```
6087
+ */
6088
+ setGmailReadStatus(step: SetGmailReadStatusStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SetGmailReadStatusStepOutput>>;
5757
6089
  /**
5758
6090
  * Set the title of the agent run for the user's history
5759
6091
  *
@@ -5949,6 +6281,25 @@ interface StepMethods {
5949
6281
  * ```
5950
6282
  */
5951
6283
  trimMedia(step: TrimMediaStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<TrimMediaStepOutput>>;
6284
+ /**
6285
+ * Add or remove labels on Gmail messages, identified by message IDs or a search query.
6286
+ *
6287
+ * @remarks
6288
+ * - Requires a Google OAuth connection with Gmail modify scope.
6289
+ * - Provide either a query (Gmail search syntax) or explicit messageIds to target messages.
6290
+ * - Label IDs can be label names or Gmail label IDs — names are resolved automatically.
6291
+ *
6292
+ * @example
6293
+ * ```typescript
6294
+ * const result = await agent.updateGmailLabels({
6295
+ * query: ``,
6296
+ * messageIds: ``,
6297
+ * addLabelIds: ``,
6298
+ * removeLabelIds: ``,
6299
+ * });
6300
+ * ```
6301
+ */
6302
+ updateGmailLabels(step: UpdateGmailLabelsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<UpdateGmailLabelsStepOutput>>;
5952
6303
  /**
5953
6304
  * Update an existing event on a Google Calendar. Only specified fields are changed.
5954
6305
  *
@@ -6146,18 +6497,90 @@ interface MindStudioModel {
6146
6497
  id?: string;
6147
6498
  /** Display name of the model. */
6148
6499
  name?: string;
6149
- /** Full model identifier from the provider. */
6150
- rawName?: string;
6151
6500
  /** One of: `llm_chat`, `image_generation`, `video_generation`, `video_analysis`, `text_to_speech`, `vision`, `transcription`. */
6152
6501
  type?: "llm_chat" | "image_generation" | "video_generation" | "video_analysis" | "text_to_speech" | "vision" | "transcription";
6153
- publisher?: string;
6154
6502
  maxTemperature?: number;
6155
6503
  maxResponseSize?: number;
6156
6504
  /** Accepted input types for this model (text, imageUrl, videoUrl, etc.). */
6157
6505
  inputs?: Record<string, unknown>[];
6158
- contextWindow?: number;
6506
+ }
6507
+ /** A lightweight AI model summary. */
6508
+ interface MindStudioModelSummary {
6509
+ id?: string;
6510
+ /** Display name of the model. */
6511
+ name?: string;
6512
+ /** One of: `llm_chat`, `image_generation`, `video_generation`, `video_analysis`, `text_to_speech`, `vision`, `transcription`. */
6513
+ type?: "llm_chat" | "image_generation" | "video_generation" | "video_analysis" | "text_to_speech" | "vision" | "transcription";
6514
+ /** Comma-separated tags for the model. */
6159
6515
  tags?: string;
6160
6516
  }
6517
+ /** A connector service with its available actions. */
6518
+ interface ConnectorService {
6519
+ id?: string;
6520
+ /** Display name of the connector service. */
6521
+ name?: string;
6522
+ icon?: string;
6523
+ /** Available actions for this connector service. */
6524
+ actions?: {
6525
+ id?: string;
6526
+ /** Display name of the action. */
6527
+ name?: string;
6528
+ }[];
6529
+ }
6530
+ /** Full configuration details for a connector action. */
6531
+ interface ConnectorActionDetail {
6532
+ id?: string;
6533
+ /** Display name of the action. */
6534
+ name?: string;
6535
+ /** What this action does. */
6536
+ description?: string;
6537
+ /** Short usage guidance for the action. */
6538
+ quickHelp?: string;
6539
+ /** Input field groups required to call this action. */
6540
+ configuration?: ({
6541
+ title?: string;
6542
+ items?: ({
6543
+ label?: string;
6544
+ helpText?: string;
6545
+ /** The variable name to use when passing this input. */
6546
+ variable?: string;
6547
+ /** One of: `text`, `outputVariableName`, `select`. */
6548
+ type?: "text" | "outputVariableName" | "select";
6549
+ defaultValue?: string;
6550
+ placeholder?: string;
6551
+ selectOptions?: {
6552
+ options?: {
6553
+ label?: string;
6554
+ value?: string;
6555
+ }[];
6556
+ };
6557
+ })[];
6558
+ })[];
6559
+ }
6560
+ /** An OAuth connection to a third-party service. */
6561
+ interface Connection {
6562
+ /** Connection ID. Pass this when executing connector actions. */
6563
+ id?: string;
6564
+ /** The integration provider (e.g., slack, google, github). */
6565
+ provider?: string;
6566
+ /** Display name or account identifier for the connection. */
6567
+ name?: string;
6568
+ }
6569
+ /** A single cost estimate entry for a step. */
6570
+ interface StepCostEstimateEntry {
6571
+ /** Billing event type identifier. */
6572
+ eventType?: string;
6573
+ /** Human-readable label for the cost. */
6574
+ label?: string;
6575
+ /** Price per unit in billing units (1/1,000,000,000th of a credit). */
6576
+ unitPrice?: number;
6577
+ /** What constitutes a unit (e.g. "token", "request"). */
6578
+ unitType?: string;
6579
+ /** Estimated total cost in billing units, or null if not estimable. */
6580
+ estimatedCost?: number;
6581
+ /** Number of billable units. */
6582
+ quantity?: number;
6583
+ }
6161
6584
  /** Supported model type categories for filtering. */
6162
6585
  type ModelType = "llm_chat" | "image_generation" | "video_generation" | "video_analysis" | "text_to_speech" | "vision" | "transcription";
6163
6586
  interface HelperMethods {
@@ -6178,14 +6601,27 @@ interface HelperMethods {
6178
6601
  listModelsByType(modelType: ModelType): Promise<{
6179
6602
  models: MindStudioModel[];
6180
6603
  }>;
6604
+ /**
6605
+ * List all available AI models (summary). Returns only id, name, type, and tags.
6606
+ *
6607
+ * Suitable for display or consumption inside a model context window.
6608
+ */
6609
+ listModelsSummary(): Promise<{
6610
+ models: MindStudioModelSummary[];
6611
+ }>;
6612
+ /**
6613
+ * List AI models (summary) filtered by type.
6614
+ *
6615
+ * @param modelType - The category to filter by (e.g. "llm_chat", "image_generation").
6616
+ */
6617
+ listModelsSummaryByType(modelType: ModelType): Promise<{
6618
+ models: MindStudioModelSummary[];
6619
+ }>;
6181
6620
  /**
6182
6621
  * List all available connector services (Slack, Google, HubSpot, etc.).
6183
6622
  */
6184
6623
  listConnectors(): Promise<{
6185
- services: Array<{
6186
- service: Record<string, unknown>;
6187
- actions: Record<string, unknown>[];
6188
- }>;
6624
+ services: ConnectorService[];
6189
6625
  }>;
6190
6626
  /**
6191
6627
  * Get details for a single connector service.
@@ -6193,7 +6629,41 @@ interface HelperMethods {
6193
6629
  * @param serviceId - The connector service ID.
6194
6630
  */
6195
6631
  getConnector(serviceId: string): Promise<{
6196
- service: Record<string, unknown>;
6632
+ service: ConnectorService;
6633
+ }>;
6634
+ /**
6635
+ * Get the full configuration for a connector action, including input fields.
6636
+ *
6637
+ * @param serviceId - The connector service ID.
6638
+ * @param actionId - The full action ID including service prefix (e.g. "slack/send-message").
6639
+ */
6640
+ getConnectorAction(serviceId: string, actionId: string): Promise<{
6641
+ action: ConnectorActionDetail;
6642
+ }>;
6643
+ /**
6644
+ * List OAuth connections for the organization.
6645
+ *
6646
+ * Returns the third-party services the caller's organization has OAuth connections for.
6647
+ * Use the returned connection IDs when calling connector actions.
6648
+ */
6649
+ listConnections(): Promise<{
6650
+ connections: Connection[];
6651
+ }>;
6652
+ /**
6653
+ * Estimate the cost of executing a step before running it.
6654
+ *
6655
+ * Pass the same step config you would use for execution.
6656
+ *
6657
+ * @param stepType - The step type name (e.g. "generateText").
6658
+ * @param step - The step input parameters.
6659
+ * @param options - Optional appId and workflowId for context-specific pricing.
6660
+ */
6661
+ estimateStepCost(stepType: string, step?: Record<string, unknown>, options?: {
6662
+ appId?: string;
6663
+ workflowId?: string;
6664
+ }): Promise<{
6665
+ costType?: string;
6666
+ estimates?: StepCostEstimateEntry[];
6197
6667
  }>;
6198
6668
  }
6199
6669
 
@@ -6245,4 +6715,4 @@ declare const MindStudioAgent: {
6245
6715
  new (options?: AgentOptions): MindStudioAgent;
6246
6716
  };
6247
6717
 
6248
- 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 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 };
6718
+ 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 CreateGmailDraftStepInput, type CreateGmailDraftStepOutput, 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 GetGmailAttachmentsStepInput, type GetGmailAttachmentsStepOutput, type GetGmailDraftStepInput, type GetGmailDraftStepOutput, type GetGmailEmailStepInput, type GetGmailEmailStepOutput, type GetGmailUnreadCountStepInput, type GetGmailUnreadCountStepOutput, 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 ListGmailLabelsStepInput, type ListGmailLabelsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type ListRecentGmailEmailsStepInput, type ListRecentGmailEmailsStepOutput, 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 SearchGmailEmailsStepInput, type SearchGmailEmailsStepOutput, 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 SendGmailDraftStepInput, type SendGmailDraftStepOutput, type SendGmailMessageStepInput, type SendGmailMessageStepOutput, type SendSMSStepInput, type SendSMSStepOutput, type SetGmailReadStatusStepInput, type SetGmailReadStatusStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepCostEstimateEntry, 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 UpdateGmailLabelsStepInput, type UpdateGmailLabelsStepOutput, 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 };