@mindstudio-ai/agent 0.1.0 → 0.1.3

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";
@@ -2783,6 +2825,37 @@ interface ScrapeXProfileStepOutput {
2783
2825
  };
2784
2826
  };
2785
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
+ }
2786
2859
  interface SearchGoogleStepInput {
2787
2860
  /** The search query to send to Google */
2788
2861
  query: string;
@@ -3115,6 +3188,29 @@ interface SendEmailStepOutput {
3115
3188
  /** Email addresses the message was sent to */
3116
3189
  recipients: string[];
3117
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
+ }
3118
3214
  interface SendSMSStepInput {
3119
3215
  /** SMS message body text */
3120
3216
  body: string;
@@ -3124,6 +3220,15 @@ interface SendSMSStepInput {
3124
3220
  mediaUrls?: string[];
3125
3221
  }
3126
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;
3127
3232
  interface SetRunTitleStepInput {
3128
3233
  /** The title to assign to the agent run (supports variable interpolation) */
3129
3234
  title: string;
@@ -3271,6 +3376,22 @@ interface TrimMediaStepOutput {
3271
3376
  /** URL of the trimmed media file */
3272
3377
  mediaUrl: string;
3273
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
+ }
3274
3395
  interface UpdateGoogleCalendarEventStepInput {
3275
3396
  /** Google OAuth connection ID */
3276
3397
  connectionId?: string;
@@ -3497,7 +3618,7 @@ type GenerateAssetStepOutput = GeneratePdfStepOutput;
3497
3618
  type GenerateTextStepInput = UserMessageStepInput;
3498
3619
  type GenerateTextStepOutput = UserMessageStepOutput;
3499
3620
  /** Union of all available step type names. */
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";
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";
3501
3622
  /** Maps step names to their input types. */
3502
3623
  interface StepInputMap {
3503
3624
  activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
@@ -3517,6 +3638,7 @@ interface StepInputMap {
3517
3638
  codaGetTableRows: CodaGetTableRowsStepInput;
3518
3639
  convertPdfToImages: ConvertPdfToImagesStepInput;
3519
3640
  createDataSource: CreateDataSourceStepInput;
3641
+ createGmailDraft: CreateGmailDraftStepInput;
3520
3642
  createGoogleCalendarEvent: CreateGoogleCalendarEventStepInput;
3521
3643
  createGoogleDoc: CreateGoogleDocStepInput;
3522
3644
  createGoogleSheet: CreateGoogleSheetStepInput;
@@ -3551,8 +3673,10 @@ interface StepInputMap {
3551
3673
  generatePdf: GeneratePdfStepInput;
3552
3674
  generateStaticVideoFromImage: GenerateStaticVideoFromImageStepInput;
3553
3675
  generateVideo: GenerateVideoStepInput;
3676
+ getGmailAttachments: GetGmailAttachmentsStepInput;
3554
3677
  getGmailDraft: GetGmailDraftStepInput;
3555
3678
  getGmailEmail: GetGmailEmailStepInput;
3679
+ getGmailUnreadCount: GetGmailUnreadCountStepInput;
3556
3680
  getGoogleCalendarEvent: GetGoogleCalendarEventStepInput;
3557
3681
  getGoogleDriveFile: GetGoogleDriveFileStepInput;
3558
3682
  getGoogleSheetInfo: GetGoogleSheetInfoStepInput;
@@ -3572,8 +3696,10 @@ interface StepInputMap {
3572
3696
  insertVideoClips: InsertVideoClipsStepInput;
3573
3697
  listDataSources: ListDataSourcesStepInput;
3574
3698
  listGmailDrafts: ListGmailDraftsStepInput;
3699
+ listGmailLabels: ListGmailLabelsStepInput;
3575
3700
  listGoogleCalendarEvents: ListGoogleCalendarEventsStepInput;
3576
3701
  listGoogleDriveFiles: ListGoogleDriveFilesStepInput;
3702
+ listRecentGmailEmails: ListRecentGmailEmailsStepInput;
3577
3703
  logic: LogicStepInput;
3578
3704
  makeDotComRunScenario: MakeDotComRunScenarioStepInput;
3579
3705
  mergeAudio: MergeAudioStepInput;
@@ -3609,6 +3735,7 @@ interface StepInputMap {
3609
3735
  scrapeUrl: ScrapeUrlStepInput;
3610
3736
  scrapeXPost: ScrapeXPostStepInput;
3611
3737
  scrapeXProfile: ScrapeXProfileStepInput;
3738
+ searchGmailEmails: SearchGmailEmailsStepInput;
3612
3739
  searchGoogle: SearchGoogleStepInput;
3613
3740
  searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepInput;
3614
3741
  searchGoogleDrive: SearchGoogleDriveStepInput;
@@ -3620,7 +3747,10 @@ interface StepInputMap {
3620
3747
  searchYoutube: SearchYoutubeStepInput;
3621
3748
  searchYoutubeTrends: SearchYoutubeTrendsStepInput;
3622
3749
  sendEmail: SendEmailStepInput;
3750
+ sendGmailDraft: SendGmailDraftStepInput;
3751
+ sendGmailMessage: SendGmailMessageStepInput;
3623
3752
  sendSMS: SendSMSStepInput;
3753
+ setGmailReadStatus: SetGmailReadStatusStepInput;
3624
3754
  setRunTitle: SetRunTitleStepInput;
3625
3755
  setVariable: SetVariableStepInput;
3626
3756
  telegramEditMessage: TelegramEditMessageStepInput;
@@ -3634,6 +3764,7 @@ interface StepInputMap {
3634
3764
  textToSpeech: TextToSpeechStepInput;
3635
3765
  transcribeAudio: TranscribeAudioStepInput;
3636
3766
  trimMedia: TrimMediaStepInput;
3767
+ updateGmailLabels: UpdateGmailLabelsStepInput;
3637
3768
  updateGoogleCalendarEvent: UpdateGoogleCalendarEventStepInput;
3638
3769
  updateGoogleDoc: UpdateGoogleDocStepInput;
3639
3770
  updateGoogleSheet: UpdateGoogleSheetStepInput;
@@ -3666,6 +3797,7 @@ interface StepOutputMap {
3666
3797
  codaGetTableRows: CodaGetTableRowsStepOutput;
3667
3798
  convertPdfToImages: ConvertPdfToImagesStepOutput;
3668
3799
  createDataSource: CreateDataSourceStepOutput;
3800
+ createGmailDraft: CreateGmailDraftStepOutput;
3669
3801
  createGoogleCalendarEvent: CreateGoogleCalendarEventStepOutput;
3670
3802
  createGoogleDoc: CreateGoogleDocStepOutput;
3671
3803
  createGoogleSheet: CreateGoogleSheetStepOutput;
@@ -3700,8 +3832,10 @@ interface StepOutputMap {
3700
3832
  generatePdf: GeneratePdfStepOutput;
3701
3833
  generateStaticVideoFromImage: GenerateStaticVideoFromImageStepOutput;
3702
3834
  generateVideo: GenerateVideoStepOutput;
3835
+ getGmailAttachments: GetGmailAttachmentsStepOutput;
3703
3836
  getGmailDraft: GetGmailDraftStepOutput;
3704
3837
  getGmailEmail: GetGmailEmailStepOutput;
3838
+ getGmailUnreadCount: GetGmailUnreadCountStepOutput;
3705
3839
  getGoogleCalendarEvent: GetGoogleCalendarEventStepOutput;
3706
3840
  getGoogleDriveFile: GetGoogleDriveFileStepOutput;
3707
3841
  getGoogleSheetInfo: GetGoogleSheetInfoStepOutput;
@@ -3721,8 +3855,10 @@ interface StepOutputMap {
3721
3855
  insertVideoClips: InsertVideoClipsStepOutput;
3722
3856
  listDataSources: ListDataSourcesStepOutput;
3723
3857
  listGmailDrafts: ListGmailDraftsStepOutput;
3858
+ listGmailLabels: ListGmailLabelsStepOutput;
3724
3859
  listGoogleCalendarEvents: ListGoogleCalendarEventsStepOutput;
3725
3860
  listGoogleDriveFiles: ListGoogleDriveFilesStepOutput;
3861
+ listRecentGmailEmails: ListRecentGmailEmailsStepOutput;
3726
3862
  logic: LogicStepOutput;
3727
3863
  makeDotComRunScenario: MakeDotComRunScenarioStepOutput;
3728
3864
  mergeAudio: MergeAudioStepOutput;
@@ -3758,6 +3894,7 @@ interface StepOutputMap {
3758
3894
  scrapeUrl: ScrapeUrlStepOutput;
3759
3895
  scrapeXPost: ScrapeXPostStepOutput;
3760
3896
  scrapeXProfile: ScrapeXProfileStepOutput;
3897
+ searchGmailEmails: SearchGmailEmailsStepOutput;
3761
3898
  searchGoogle: SearchGoogleStepOutput;
3762
3899
  searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepOutput;
3763
3900
  searchGoogleDrive: SearchGoogleDriveStepOutput;
@@ -3769,7 +3906,10 @@ interface StepOutputMap {
3769
3906
  searchYoutube: SearchYoutubeStepOutput;
3770
3907
  searchYoutubeTrends: SearchYoutubeTrendsStepOutput;
3771
3908
  sendEmail: SendEmailStepOutput;
3909
+ sendGmailDraft: SendGmailDraftStepOutput;
3910
+ sendGmailMessage: SendGmailMessageStepOutput;
3772
3911
  sendSMS: SendSMSStepOutput;
3912
+ setGmailReadStatus: SetGmailReadStatusStepOutput;
3773
3913
  setRunTitle: SetRunTitleStepOutput;
3774
3914
  setVariable: SetVariableStepOutput;
3775
3915
  telegramEditMessage: TelegramEditMessageStepOutput;
@@ -3783,6 +3923,7 @@ interface StepOutputMap {
3783
3923
  textToSpeech: TextToSpeechStepOutput;
3784
3924
  transcribeAudio: TranscribeAudioStepOutput;
3785
3925
  trimMedia: TrimMediaStepOutput;
3926
+ updateGmailLabels: UpdateGmailLabelsStepOutput;
3786
3927
  updateGoogleCalendarEvent: UpdateGoogleCalendarEventStepOutput;
3787
3928
  updateGoogleDoc: UpdateGoogleDocStepOutput;
3788
3929
  updateGoogleSheet: UpdateGoogleSheetStepOutput;
@@ -4095,6 +4236,25 @@ interface StepMethods {
4095
4236
  * ```
4096
4237
  */
4097
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>>;
4098
4258
  /**
4099
4259
  * Create a new event on a Google Calendar.
4100
4260
  *
@@ -4658,6 +4818,23 @@ interface StepMethods {
4658
4818
  * ```
4659
4819
  */
4660
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>>;
4661
4838
  /**
4662
4839
  * Retrieve a specific draft from Gmail by draft ID.
4663
4840
  *
@@ -4688,6 +4865,20 @@ interface StepMethods {
4688
4865
  * ```
4689
4866
  */
4690
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>>;
4691
4882
  /**
4692
4883
  * Retrieve a specific event from a Google Calendar by event ID.
4693
4884
  *
@@ -4996,6 +5187,20 @@ interface StepMethods {
4996
5187
  * ```
4997
5188
  */
4998
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>>;
4999
5204
  /**
5000
5205
  * List upcoming events from a Google Calendar, ordered by start time.
5001
5206
  *
@@ -5029,6 +5234,23 @@ interface StepMethods {
5029
5234
  * ```
5030
5235
  */
5031
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>>;
5032
5254
  /**
5033
5255
  * Route execution to different branches based on AI evaluation, comparison operators, or workflow jumps.
5034
5256
  *
@@ -5563,6 +5785,26 @@ interface StepMethods {
5563
5785
  * ```
5564
5786
  */
5565
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>>;
5566
5808
  /**
5567
5809
  * Search the web using Google and return structured results.
5568
5810
  *
@@ -5776,6 +6018,40 @@ interface StepMethods {
5776
6018
  * ```
5777
6019
  */
5778
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>>;
5779
6055
  /**
5780
6056
  * Send an SMS or MMS message to a phone number configured via OAuth connection.
5781
6057
  *
@@ -5793,6 +6069,23 @@ interface StepMethods {
5793
6069
  * ```
5794
6070
  */
5795
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>>;
5796
6089
  /**
5797
6090
  * Set the title of the agent run for the user's history
5798
6091
  *
@@ -5988,6 +6281,25 @@ interface StepMethods {
5988
6281
  * ```
5989
6282
  */
5990
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>>;
5991
6303
  /**
5992
6304
  * Update an existing event on a Google Calendar. Only specified fields are changed.
5993
6305
  *
@@ -6254,6 +6566,23 @@ interface Connection {
6254
6566
  /** Display name or account identifier for the connection. */
6255
6567
  name?: string;
6256
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
+ /** Estimated latency based on recent global model metrics. null when no metrics are available. */
6584
+ latency?: unknown;
6585
+ }
6257
6586
  /** Supported model type categories for filtering. */
6258
6587
  type ModelType = "llm_chat" | "image_generation" | "video_generation" | "video_analysis" | "text_to_speech" | "vision" | "transcription";
6259
6588
  interface HelperMethods {
@@ -6322,6 +6651,54 @@ interface HelperMethods {
6322
6651
  listConnections(): Promise<{
6323
6652
  connections: Connection[];
6324
6653
  }>;
6654
+ /**
6655
+ * Estimate the cost of executing a step before running it.
6656
+ *
6657
+ * Pass the same step config you would use for execution.
6658
+ *
6659
+ * @param stepType - The step type name (e.g. "generateText").
6660
+ * @param step - The step input parameters.
6661
+ * @param options - Optional appId and workflowId for context-specific pricing.
6662
+ */
6663
+ estimateStepCost(stepType: string, step?: Record<string, unknown>, options?: {
6664
+ appId?: string;
6665
+ workflowId?: string;
6666
+ }): Promise<{
6667
+ costType?: string;
6668
+ estimates?: StepCostEstimateEntry[];
6669
+ }>;
6670
+ /**
6671
+ * Update the display name of the authenticated agent.
6672
+ *
6673
+ * Useful for agents to set their own name after connecting.
6674
+ *
6675
+ * @param displayName - The new display name.
6676
+ */
6677
+ changeName(displayName: string): Promise<void>;
6678
+ /**
6679
+ * Update the profile picture of the authenticated agent.
6680
+ *
6681
+ * Useful for agents to set their own avatar after connecting.
6682
+ *
6683
+ * @param profilePictureUrl - URL of the new profile picture.
6684
+ */
6685
+ changeProfilePicture(profilePictureUrl: string): Promise<void>;
6686
+ /**
6687
+ * Upload a file to the MindStudio CDN.
6688
+ *
6689
+ * Gets a signed upload URL, PUTs the file content, and returns the permanent public URL.
6690
+ *
6691
+ * @param content - File content as a Buffer or Uint8Array.
6692
+ * @param options - Upload options.
6693
+ * @param options.extension - File extension without the dot (e.g. "png", "jpg", "mp4").
6694
+ * @param options.type - MIME type of the file (e.g. "image/png"). Determines which CDN subdomain is used.
6695
+ */
6696
+ uploadFile(content: Buffer | Uint8Array, options: {
6697
+ extension: string;
6698
+ type?: string;
6699
+ }): Promise<{
6700
+ url: string;
6701
+ }>;
6325
6702
  }
6326
6703
 
6327
6704
  /**
@@ -6372,4 +6749,4 @@ declare const MindStudioAgent: {
6372
6749
  new (options?: AgentOptions): MindStudioAgent;
6373
6750
  };
6374
6751
 
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 };
6752
+ 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 };