@mindstudio-ai/agent 0.0.13 → 0.0.15

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.js CHANGED
@@ -613,787 +613,141 @@ function resolveToken(provided) {
613
613
  }
614
614
 
615
615
  // src/generated/snippets.ts
616
- var stepSnippets = {
617
- "activeCampaignAddNote": {
618
- method: "activeCampaignAddNote",
619
- snippet: "{\n contactId: ``,\n note: ``,\n connectionId: ``,\n}",
620
- outputKeys: []
621
- },
622
- "activeCampaignCreateContact": {
623
- method: "activeCampaignCreateContact",
624
- snippet: "{\n email: ``,\n firstName: ``,\n lastName: ``,\n phone: ``,\n accountId: ``,\n customFields: {},\n connectionId: ``,\n}",
625
- outputKeys: ["contactId"]
626
- },
627
- "addSubtitlesToVideo": {
628
- method: "addSubtitlesToVideo",
629
- snippet: '{\n videoUrl: ``,\n language: ``,\n fontName: ``,\n fontSize: 0,\n fontWeight: "normal",\n fontColor: "white",\n highlightColor: "white",\n strokeWidth: 0,\n strokeColor: "black",\n backgroundColor: "black",\n backgroundOpacity: 0,\n position: "top",\n yOffset: 0,\n wordsPerSubtitle: 0,\n enableAnimation: false,\n}',
630
- outputKeys: ["videoUrl"]
631
- },
632
- "airtableCreateUpdateRecord": {
633
- method: "airtableCreateUpdateRecord",
634
- snippet: "{\n connectionId: ``,\n baseId: ``,\n tableId: ``,\n fields: ``,\n recordData: {},\n}",
635
- outputKeys: ["recordId"]
636
- },
637
- "airtableDeleteRecord": {
638
- method: "airtableDeleteRecord",
639
- snippet: "{\n connectionId: ``,\n baseId: ``,\n tableId: ``,\n recordId: ``,\n}",
640
- outputKeys: ["deleted"]
641
- },
642
- "airtableGetRecord": {
643
- method: "airtableGetRecord",
644
- snippet: "{\n connectionId: ``,\n baseId: ``,\n tableId: ``,\n recordId: ``,\n}",
645
- outputKeys: ["record"]
646
- },
647
- "airtableGetTableRecords": {
648
- method: "airtableGetTableRecords",
649
- snippet: "{\n connectionId: ``,\n baseId: ``,\n tableId: ``,\n}",
650
- outputKeys: ["records"]
651
- },
652
- "analyzeImage": {
653
- method: "analyzeImage",
654
- snippet: "{\n prompt: ``,\n imageUrl: ``,\n}",
655
- outputKeys: ["analysis"]
656
- },
657
- "analyzeVideo": {
658
- method: "analyzeVideo",
659
- snippet: "{\n prompt: ``,\n videoUrl: ``,\n}",
660
- outputKeys: ["analysis"]
661
- },
662
- "captureThumbnail": {
663
- method: "captureThumbnail",
664
- snippet: "{\n videoUrl: ``,\n at: ``,\n}",
665
- outputKeys: ["thumbnailUrl"]
666
- },
667
- "codaCreateUpdatePage": {
668
- method: "codaCreateUpdatePage",
669
- snippet: "{\n connectionId: ``,\n pageData: {},\n}",
670
- outputKeys: ["pageId"]
671
- },
672
- "codaCreateUpdateRow": {
673
- method: "codaCreateUpdateRow",
674
- snippet: "{\n connectionId: ``,\n docId: ``,\n tableId: ``,\n rowData: {},\n}",
675
- outputKeys: ["rowId"]
676
- },
677
- "codaFindRow": {
678
- method: "codaFindRow",
679
- snippet: "{\n connectionId: ``,\n docId: ``,\n tableId: ``,\n rowData: {},\n}",
680
- outputKeys: ["row"]
681
- },
682
- "codaGetPage": {
683
- method: "codaGetPage",
684
- snippet: "{\n connectionId: ``,\n docId: ``,\n pageId: ``,\n}",
685
- outputKeys: ["content"]
686
- },
687
- "codaGetTableRows": {
688
- method: "codaGetTableRows",
689
- snippet: "{\n connectionId: ``,\n docId: ``,\n tableId: ``,\n}",
690
- outputKeys: ["rows"]
691
- },
692
- "convertPdfToImages": {
693
- method: "convertPdfToImages",
694
- snippet: "{\n pdfUrl: ``,\n}",
695
- outputKeys: ["imageUrls"]
696
- },
697
- "createDataSource": {
698
- method: "createDataSource",
699
- snippet: "{\n name: ``,\n}",
700
- outputKeys: []
701
- },
702
- "createGoogleCalendarEvent": {
703
- method: "createGoogleCalendarEvent",
704
- snippet: "{\n connectionId: ``,\n summary: ``,\n startDateTime: ``,\n endDateTime: ``,\n}",
705
- outputKeys: ["eventId", "htmlLink"]
706
- },
707
- "createGoogleDoc": {
708
- method: "createGoogleDoc",
709
- snippet: '{\n title: ``,\n text: ``,\n connectionId: ``,\n textType: "plain",\n}',
710
- outputKeys: ["documentUrl"]
711
- },
712
- "createGoogleSheet": {
713
- method: "createGoogleSheet",
714
- snippet: "{\n title: ``,\n text: ``,\n connectionId: ``,\n}",
715
- outputKeys: ["spreadsheetUrl"]
716
- },
717
- "deleteDataSource": {
718
- method: "deleteDataSource",
719
- snippet: "{\n dataSourceId: ``,\n}",
720
- outputKeys: []
721
- },
722
- "deleteDataSourceDocument": {
723
- method: "deleteDataSourceDocument",
724
- snippet: "{\n dataSourceId: ``,\n documentId: ``,\n}",
725
- outputKeys: []
726
- },
727
- "deleteGoogleCalendarEvent": {
728
- method: "deleteGoogleCalendarEvent",
729
- snippet: "{\n connectionId: ``,\n eventId: ``,\n}",
730
- outputKeys: []
731
- },
732
- "detectPII": {
733
- method: "detectPII",
734
- snippet: "{\n input: ``,\n language: ``,\n entities: [],\n}",
735
- outputKeys: ["detected", "detections"]
736
- },
737
- "downloadVideo": {
738
- method: "downloadVideo",
739
- snippet: '{\n videoUrl: ``,\n format: "mp4",\n}',
740
- outputKeys: ["videoUrl"]
741
- },
742
- "enhanceImageGenerationPrompt": {
743
- method: "enhanceImageGenerationPrompt",
744
- snippet: "{\n initialPrompt: ``,\n includeNegativePrompt: false,\n systemPrompt: ``,\n}",
745
- outputKeys: ["prompt"]
746
- },
747
- "enhanceVideoGenerationPrompt": {
748
- method: "enhanceVideoGenerationPrompt",
749
- snippet: "{\n initialPrompt: ``,\n includeNegativePrompt: false,\n systemPrompt: ``,\n}",
750
- outputKeys: ["prompt"]
751
- },
752
- "enrichPerson": {
753
- method: "enrichPerson",
754
- snippet: "{\n params: {},\n}",
755
- outputKeys: ["data"]
756
- },
757
- "extractAudioFromVideo": {
758
- method: "extractAudioFromVideo",
759
- snippet: "{\n videoUrl: ``,\n}",
760
- outputKeys: ["audioUrl"]
761
- },
762
- "extractText": {
763
- method: "extractText",
764
- snippet: "{\n url: ``,\n}",
765
- outputKeys: ["text"]
766
- },
767
- "fetchDataSourceDocument": {
768
- method: "fetchDataSourceDocument",
769
- snippet: "{\n dataSourceId: ``,\n documentId: ``,\n}",
770
- outputKeys: []
771
- },
772
- "fetchGoogleDoc": {
773
- method: "fetchGoogleDoc",
774
- snippet: '{\n documentId: ``,\n connectionId: ``,\n exportType: "html",\n}',
775
- outputKeys: ["content"]
776
- },
777
- "fetchGoogleSheet": {
778
- method: "fetchGoogleSheet",
779
- snippet: '{\n spreadsheetId: ``,\n range: ``,\n connectionId: ``,\n exportType: "csv",\n}',
780
- outputKeys: ["content"]
781
- },
782
- "fetchSlackChannelHistory": {
783
- method: "fetchSlackChannelHistory",
784
- snippet: "{\n connectionId: ``,\n channelId: ``,\n}",
785
- outputKeys: ["messages"]
786
- },
787
- "fetchYoutubeCaptions": {
788
- method: "fetchYoutubeCaptions",
789
- snippet: '{\n videoUrl: ``,\n exportType: "text",\n language: ``,\n}',
790
- outputKeys: ["transcripts"]
791
- },
792
- "fetchYoutubeChannel": {
793
- method: "fetchYoutubeChannel",
794
- snippet: "{\n channelUrl: ``,\n}",
795
- outputKeys: ["channel"]
796
- },
797
- "fetchYoutubeComments": {
798
- method: "fetchYoutubeComments",
799
- snippet: '{\n videoUrl: ``,\n exportType: "text",\n limitPages: ``,\n}',
800
- outputKeys: ["comments"]
801
- },
802
- "fetchYoutubeVideo": {
803
- method: "fetchYoutubeVideo",
804
- snippet: "{\n videoUrl: ``,\n}",
805
- outputKeys: ["video"]
806
- },
807
- "generateAsset": {
808
- method: "generateAsset",
809
- snippet: '{\n source: ``,\n sourceType: "html",\n outputFormat: "pdf",\n pageSize: "full",\n testData: {},\n}',
810
- outputKeys: ["url"]
811
- },
812
- "generateChart": {
813
- method: "generateChart",
814
- snippet: "{\n chart: {},\n}",
815
- outputKeys: ["chartUrl"]
816
- },
817
- "generateImage": {
818
- method: "generateImage",
819
- snippet: "{\n prompt: ``,\n}",
820
- outputKeys: ["imageUrl"]
821
- },
822
- "generateLipsync": {
823
- method: "generateLipsync",
824
- snippet: "{}",
825
- outputKeys: []
826
- },
827
- "generateMusic": {
828
- method: "generateMusic",
829
- snippet: "{\n text: ``,\n}",
830
- outputKeys: []
831
- },
832
- "generatePdf": {
833
- method: "generateAsset",
834
- snippet: '{\n source: ``,\n sourceType: "html",\n outputFormat: "pdf",\n pageSize: "full",\n testData: {},\n}',
835
- outputKeys: ["url"]
836
- },
837
- "generateStaticVideoFromImage": {
838
- method: "generateStaticVideoFromImage",
839
- snippet: "{\n imageUrl: ``,\n duration: ``,\n}",
840
- outputKeys: ["videoUrl"]
841
- },
842
- "generateText": {
843
- method: "generateText",
844
- snippet: "{\n message: ``,\n}",
845
- outputKeys: ["content"]
846
- },
847
- "generateVideo": {
848
- method: "generateVideo",
849
- snippet: "{\n prompt: ``,\n}",
850
- outputKeys: ["videoUrl"]
851
- },
852
- "getGoogleCalendarEvent": {
853
- method: "getGoogleCalendarEvent",
854
- snippet: '{\n connectionId: ``,\n eventId: ``,\n exportType: "json",\n}',
855
- outputKeys: ["event"]
856
- },
857
- "getMediaMetadata": {
858
- method: "getMediaMetadata",
859
- snippet: "{\n mediaUrl: ``,\n}",
860
- outputKeys: ["metadata"]
861
- },
862
- "httpRequest": {
863
- method: "httpRequest",
864
- snippet: '{\n url: ``,\n method: ``,\n headers: {},\n queryParams: {},\n body: ``,\n bodyItems: {},\n contentType: "none",\n customContentType: ``,\n}',
865
- outputKeys: ["ok", "status", "statusText", "response"]
866
- },
867
- "hubspotCreateCompany": {
868
- method: "hubspotCreateCompany",
869
- snippet: "{\n connectionId: ``,\n company: {},\n enabledProperties: [],\n}",
870
- outputKeys: ["companyId"]
871
- },
872
- "hubspotCreateContact": {
873
- method: "hubspotCreateContact",
874
- snippet: "{\n connectionId: ``,\n contact: {},\n enabledProperties: [],\n companyDomain: ``,\n}",
875
- outputKeys: ["contactId"]
876
- },
877
- "hubspotGetCompany": {
878
- method: "hubspotGetCompany",
879
- snippet: '{\n connectionId: ``,\n searchBy: "domain",\n companyDomain: ``,\n companyId: ``,\n additionalProperties: [],\n}',
880
- outputKeys: ["company"]
881
- },
882
- "hubspotGetContact": {
883
- method: "hubspotGetContact",
884
- snippet: '{\n connectionId: ``,\n searchBy: "email",\n contactEmail: ``,\n contactId: ``,\n additionalProperties: [],\n}',
885
- outputKeys: ["contact"]
886
- },
887
- "hunterApiCompanyEnrichment": {
888
- method: "hunterApiCompanyEnrichment",
889
- snippet: "{\n domain: ``,\n}",
890
- outputKeys: ["data"]
891
- },
892
- "hunterApiDomainSearch": {
893
- method: "hunterApiDomainSearch",
894
- snippet: "{\n domain: ``,\n}",
895
- outputKeys: ["data"]
896
- },
897
- "hunterApiEmailFinder": {
898
- method: "hunterApiEmailFinder",
899
- snippet: "{\n domain: ``,\n firstName: ``,\n lastName: ``,\n}",
900
- outputKeys: ["data"]
901
- },
902
- "hunterApiEmailVerification": {
903
- method: "hunterApiEmailVerification",
904
- snippet: "{\n email: ``,\n}",
905
- outputKeys: ["data"]
906
- },
907
- "hunterApiPersonEnrichment": {
908
- method: "hunterApiPersonEnrichment",
909
- snippet: "{\n email: ``,\n}",
910
- outputKeys: ["data"]
911
- },
912
- "imageFaceSwap": {
913
- method: "imageFaceSwap",
914
- snippet: "{\n imageUrl: ``,\n faceImageUrl: ``,\n engine: ``,\n}",
915
- outputKeys: ["imageUrl"]
916
- },
917
- "imageRemoveWatermark": {
918
- method: "imageRemoveWatermark",
919
- snippet: "{\n imageUrl: ``,\n engine: ``,\n}",
920
- outputKeys: ["imageUrl"]
921
- },
922
- "insertVideoClips": {
923
- method: "insertVideoClips",
924
- snippet: "{\n baseVideoUrl: ``,\n overlayVideos: [],\n}",
925
- outputKeys: ["videoUrl"]
926
- },
927
- "listDataSources": {
928
- method: "listDataSources",
929
- snippet: "{}",
930
- outputKeys: []
931
- },
932
- "listGoogleCalendarEvents": {
933
- method: "listGoogleCalendarEvents",
934
- snippet: '{\n connectionId: ``,\n limit: 0,\n exportType: "json",\n}',
935
- outputKeys: ["events"]
936
- },
937
- "logic": {
938
- method: "logic",
939
- snippet: "{\n context: ``,\n cases: [],\n}",
940
- outputKeys: ["selectedCase"]
941
- },
942
- "makeDotComRunScenario": {
943
- method: "makeDotComRunScenario",
944
- snippet: "{\n webhookUrl: ``,\n input: {},\n}",
945
- outputKeys: ["data"]
946
- },
947
- "mergeAudio": {
948
- method: "mergeAudio",
949
- snippet: "{\n mp3Urls: [],\n}",
950
- outputKeys: ["audioUrl"]
951
- },
952
- "mergeVideos": {
953
- method: "mergeVideos",
954
- snippet: "{\n videoUrls: [],\n}",
955
- outputKeys: ["videoUrl"]
956
- },
957
- "mixAudioIntoVideo": {
958
- method: "mixAudioIntoVideo",
959
- snippet: "{\n videoUrl: ``,\n audioUrl: ``,\n options: {},\n}",
960
- outputKeys: ["videoUrl"]
961
- },
962
- "muteVideo": {
963
- method: "muteVideo",
964
- snippet: "{\n videoUrl: ``,\n}",
965
- outputKeys: ["videoUrl"]
966
- },
967
- "n8nRunNode": {
968
- method: "n8nRunNode",
969
- snippet: '{\n method: ``,\n authentication: "none",\n user: ``,\n password: ``,\n webhookUrl: ``,\n input: {},\n}',
970
- outputKeys: ["data"]
971
- },
972
- "notionCreatePage": {
973
- method: "notionCreatePage",
974
- snippet: "{\n pageId: ``,\n content: ``,\n title: ``,\n connectionId: ``,\n}",
975
- outputKeys: ["pageId", "pageUrl"]
976
- },
977
- "notionUpdatePage": {
978
- method: "notionUpdatePage",
979
- snippet: '{\n pageId: ``,\n content: ``,\n mode: "append",\n connectionId: ``,\n}',
980
- outputKeys: ["pageId", "pageUrl"]
981
- },
982
- "peopleSearch": {
983
- method: "peopleSearch",
984
- snippet: "{\n smartQuery: ``,\n enrichPeople: false,\n enrichOrganizations: false,\n limit: ``,\n page: ``,\n params: {},\n}",
985
- outputKeys: ["results"]
986
- },
987
- "postToLinkedIn": {
988
- method: "postToLinkedIn",
989
- snippet: '{\n message: ``,\n visibility: "PUBLIC",\n connectionId: ``,\n}',
990
- outputKeys: []
991
- },
992
- "postToSlackChannel": {
993
- method: "postToSlackChannel",
994
- snippet: '{\n channelId: ``,\n messageType: "string",\n message: ``,\n connectionId: ``,\n}',
995
- outputKeys: []
996
- },
997
- "postToX": {
998
- method: "postToX",
999
- snippet: "{\n text: ``,\n connectionId: ``,\n}",
1000
- outputKeys: []
1001
- },
1002
- "postToZapier": {
1003
- method: "postToZapier",
1004
- snippet: "{\n webhookUrl: ``,\n input: {},\n}",
1005
- outputKeys: ["data"]
1006
- },
1007
- "queryDataSource": {
1008
- method: "queryDataSource",
1009
- snippet: "{\n dataSourceId: ``,\n query: ``,\n maxResults: 0,\n}",
1010
- outputKeys: ["text", "chunks", "query", "citations", "latencyMs"]
1011
- },
1012
- "queryExternalDatabase": {
1013
- method: "queryExternalDatabase",
1014
- snippet: '{\n connectionId: ``,\n query: ``,\n outputFormat: "json",\n}',
1015
- outputKeys: ["data"]
1016
- },
1017
- "redactPII": {
1018
- method: "redactPII",
1019
- snippet: "{\n input: ``,\n language: ``,\n entities: [],\n}",
1020
- outputKeys: ["text"]
1021
- },
1022
- "removeBackgroundFromImage": {
1023
- method: "removeBackgroundFromImage",
1024
- snippet: "{\n imageUrl: ``,\n}",
1025
- outputKeys: ["imageUrl"]
1026
- },
1027
- "resizeVideo": {
1028
- method: "resizeVideo",
1029
- snippet: '{\n videoUrl: ``,\n mode: "fit",\n}',
1030
- outputKeys: ["videoUrl"]
1031
- },
1032
- "runPackagedWorkflow": {
1033
- method: "runPackagedWorkflow",
1034
- snippet: "{\n appId: ``,\n workflowId: ``,\n inputVariables: {},\n outputVariables: {},\n name: ``,\n}",
1035
- outputKeys: ["data"]
1036
- },
1037
- "scrapeFacebookPage": {
1038
- method: "scrapeFacebookPage",
1039
- snippet: "{\n pageUrl: ``,\n}",
1040
- outputKeys: ["data"]
1041
- },
1042
- "scrapeFacebookPosts": {
1043
- method: "scrapeFacebookPosts",
1044
- snippet: "{\n pageUrl: ``,\n}",
1045
- outputKeys: ["data"]
1046
- },
1047
- "scrapeInstagramComments": {
1048
- method: "scrapeInstagramComments",
1049
- snippet: "{\n postUrl: ``,\n resultsLimit: ``,\n}",
1050
- outputKeys: ["data"]
1051
- },
1052
- "scrapeInstagramMentions": {
1053
- method: "scrapeInstagramMentions",
1054
- snippet: "{\n profileUrl: ``,\n resultsLimit: ``,\n}",
1055
- outputKeys: ["data"]
1056
- },
1057
- "scrapeInstagramPosts": {
1058
- method: "scrapeInstagramPosts",
1059
- snippet: "{\n profileUrl: ``,\n resultsLimit: ``,\n onlyPostsNewerThan: ``,\n}",
1060
- outputKeys: ["data"]
1061
- },
1062
- "scrapeInstagramProfile": {
1063
- method: "scrapeInstagramProfile",
1064
- snippet: "{\n profileUrl: ``,\n}",
1065
- outputKeys: ["data"]
1066
- },
1067
- "scrapeInstagramReels": {
1068
- method: "scrapeInstagramReels",
1069
- snippet: "{\n profileUrl: ``,\n resultsLimit: ``,\n}",
1070
- outputKeys: ["data"]
1071
- },
1072
- "scrapeLinkedInCompany": {
1073
- method: "scrapeLinkedInCompany",
1074
- snippet: "{\n url: ``,\n}",
1075
- outputKeys: ["company"]
1076
- },
1077
- "scrapeLinkedInProfile": {
1078
- method: "scrapeLinkedInProfile",
1079
- snippet: "{\n url: ``,\n}",
1080
- outputKeys: ["profile"]
1081
- },
1082
- "scrapeMetaThreadsProfile": {
1083
- method: "scrapeMetaThreadsProfile",
1084
- snippet: "{\n profileUrl: ``,\n}",
1085
- outputKeys: ["data"]
1086
- },
1087
- "scrapeUrl": {
1088
- method: "scrapeUrl",
1089
- snippet: "{\n url: ``,\n}",
1090
- outputKeys: ["content"]
1091
- },
1092
- "scrapeXPost": {
1093
- method: "scrapeXPost",
1094
- snippet: "{\n url: ``,\n}",
1095
- outputKeys: ["post"]
1096
- },
1097
- "scrapeXProfile": {
1098
- method: "scrapeXProfile",
1099
- snippet: "{\n url: ``,\n}",
1100
- outputKeys: ["profile"]
1101
- },
1102
- "searchGoogle": {
1103
- method: "searchGoogle",
1104
- snippet: '{\n query: ``,\n exportType: "text",\n}',
1105
- outputKeys: ["results"]
1106
- },
1107
- "searchGoogleImages": {
1108
- method: "searchGoogleImages",
1109
- snippet: '{\n query: ``,\n exportType: "text",\n}',
1110
- outputKeys: ["images"]
1111
- },
1112
- "searchGoogleNews": {
1113
- method: "searchGoogleNews",
1114
- snippet: '{\n text: ``,\n exportType: "text",\n}',
1115
- outputKeys: ["articles"]
1116
- },
1117
- "searchGoogleTrends": {
1118
- method: "searchGoogleTrends",
1119
- snippet: '{\n text: ``,\n hl: ``,\n geo: ``,\n data_type: "TIMESERIES",\n cat: ``,\n date: ``,\n ts: ``,\n}',
1120
- outputKeys: ["trends"]
1121
- },
1122
- "searchPerplexity": {
1123
- method: "searchPerplexity",
1124
- snippet: '{\n query: ``,\n exportType: "text",\n}',
1125
- outputKeys: ["results"]
1126
- },
1127
- "searchXPosts": {
1128
- method: "searchXPosts",
1129
- snippet: '{\n query: ``,\n scope: "recent",\n options: {},\n}',
1130
- outputKeys: ["posts"]
1131
- },
1132
- "searchYoutube": {
1133
- method: "searchYoutube",
1134
- snippet: "{\n query: ``,\n limitPages: ``,\n filter: ``,\n filterType: ``,\n}",
1135
- outputKeys: ["results"]
1136
- },
1137
- "searchYoutubeTrends": {
1138
- method: "searchYoutubeTrends",
1139
- snippet: '{\n bp: "now",\n hl: ``,\n gl: ``,\n}',
1140
- outputKeys: ["trends"]
1141
- },
1142
- "sendEmail": {
1143
- method: "sendEmail",
1144
- snippet: "{\n subject: ``,\n body: ``,\n connectionId: ``,\n}",
1145
- outputKeys: ["recipients"]
1146
- },
1147
- "sendSMS": {
1148
- method: "sendSMS",
1149
- snippet: "{\n body: ``,\n connectionId: ``,\n}",
1150
- outputKeys: []
1151
- },
1152
- "setRunTitle": {
1153
- method: "setRunTitle",
1154
- snippet: "{\n title: ``,\n}",
1155
- outputKeys: []
1156
- },
1157
- "setVariable": {
1158
- method: "setVariable",
1159
- snippet: '{\n value: ``,\n type: "imageUrl",\n}',
1160
- outputKeys: ["variableName", "value"]
1161
- },
1162
- "telegramSendAudio": {
1163
- method: "telegramSendAudio",
1164
- snippet: '{\n botToken: ``,\n chatId: ``,\n audioUrl: ``,\n mode: "audio",\n}',
1165
- outputKeys: []
1166
- },
1167
- "telegramSendFile": {
1168
- method: "telegramSendFile",
1169
- snippet: "{\n botToken: ``,\n chatId: ``,\n fileUrl: ``,\n}",
1170
- outputKeys: []
1171
- },
1172
- "telegramSendImage": {
1173
- method: "telegramSendImage",
1174
- snippet: "{\n botToken: ``,\n chatId: ``,\n imageUrl: ``,\n}",
1175
- outputKeys: []
1176
- },
1177
- "telegramSendMessage": {
1178
- method: "telegramSendMessage",
1179
- snippet: "{\n botToken: ``,\n chatId: ``,\n text: ``,\n}",
1180
- outputKeys: []
1181
- },
1182
- "telegramSendVideo": {
1183
- method: "telegramSendVideo",
1184
- snippet: "{\n botToken: ``,\n chatId: ``,\n videoUrl: ``,\n}",
1185
- outputKeys: []
1186
- },
1187
- "telegramSetTyping": {
1188
- method: "telegramSetTyping",
1189
- snippet: "{\n botToken: ``,\n chatId: ``,\n}",
1190
- outputKeys: []
1191
- },
1192
- "textToSpeech": {
1193
- method: "textToSpeech",
1194
- snippet: "{\n text: ``,\n}",
1195
- outputKeys: ["audioUrl"]
1196
- },
1197
- "transcribeAudio": {
1198
- method: "transcribeAudio",
1199
- snippet: "{\n audioUrl: ``,\n prompt: ``,\n}",
1200
- outputKeys: ["text"]
1201
- },
1202
- "trimMedia": {
1203
- method: "trimMedia",
1204
- snippet: "{\n inputUrl: ``,\n}",
1205
- outputKeys: ["mediaUrl"]
1206
- },
1207
- "updateGoogleCalendarEvent": {
1208
- method: "updateGoogleCalendarEvent",
1209
- snippet: "{\n connectionId: ``,\n eventId: ``,\n}",
1210
- outputKeys: ["eventId", "htmlLink"]
1211
- },
1212
- "updateGoogleDoc": {
1213
- method: "updateGoogleDoc",
1214
- snippet: '{\n documentId: ``,\n connectionId: ``,\n text: ``,\n textType: "plain",\n operationType: "addToTop",\n}',
1215
- outputKeys: ["documentUrl"]
1216
- },
1217
- "updateGoogleSheet": {
1218
- method: "updateGoogleSheet",
1219
- snippet: '{\n text: ``,\n connectionId: ``,\n spreadsheetId: ``,\n range: ``,\n operationType: "addToBottom",\n}',
1220
- outputKeys: ["spreadsheetUrl"]
1221
- },
1222
- "uploadDataSourceDocument": {
1223
- method: "uploadDataSourceDocument",
1224
- snippet: "{\n dataSourceId: ``,\n file: ``,\n fileName: ``,\n}",
1225
- outputKeys: []
1226
- },
1227
- "upscaleImage": {
1228
- method: "upscaleImage",
1229
- snippet: '{\n imageUrl: ``,\n targetResolution: "2k",\n engine: "standard",\n}',
1230
- outputKeys: ["imageUrl"]
1231
- },
1232
- "upscaleVideo": {
1233
- method: "upscaleVideo",
1234
- snippet: '{\n videoUrl: ``,\n targetResolution: "720p",\n engine: "standard",\n}',
1235
- outputKeys: ["videoUrl"]
1236
- },
1237
- "userMessage": {
1238
- method: "generateText",
1239
- snippet: "{\n message: ``,\n}",
1240
- outputKeys: ["content"]
1241
- },
1242
- "videoFaceSwap": {
1243
- method: "videoFaceSwap",
1244
- snippet: "{\n videoUrl: ``,\n faceImageUrl: ``,\n targetIndex: 0,\n engine: ``,\n}",
1245
- outputKeys: ["videoUrl"]
1246
- },
1247
- "videoRemoveBackground": {
1248
- method: "videoRemoveBackground",
1249
- snippet: '{\n videoUrl: ``,\n newBackground: "transparent",\n engine: ``,\n}',
1250
- outputKeys: ["videoUrl"]
1251
- },
1252
- "videoRemoveWatermark": {
1253
- method: "videoRemoveWatermark",
1254
- snippet: "{\n videoUrl: ``,\n engine: ``,\n}",
1255
- outputKeys: ["videoUrl"]
1256
- },
1257
- "watermarkImage": {
1258
- method: "watermarkImage",
1259
- snippet: '{\n imageUrl: ``,\n watermarkImageUrl: ``,\n corner: "top-left",\n paddingPx: 0,\n widthPx: 0,\n}',
1260
- outputKeys: ["imageUrl"]
1261
- },
1262
- "watermarkVideo": {
1263
- method: "watermarkVideo",
1264
- snippet: '{\n videoUrl: ``,\n imageUrl: ``,\n corner: "top-left",\n paddingPx: 0,\n widthPx: 0,\n}',
1265
- outputKeys: ["videoUrl"]
1266
- }
1267
- };
1268
616
  var monacoSnippets = {
1269
- "activeCampaignAddNote": [["contactId", "string"], ["note", "string"], ["connectionId", "string"]],
1270
- "activeCampaignCreateContact": [["email", "string"], ["firstName", "string"], ["lastName", "string"], ["phone", "string"], ["accountId", "string"], ["customFields", "object"], ["connectionId", "string"]],
1271
- "addSubtitlesToVideo": [["videoUrl", "string"], ["language", "string"], ["fontName", "string"], ["fontSize", "number"], ["fontWeight", ["normal", "bold", "black"]], ["fontColor", ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"]], ["highlightColor", ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"]], ["strokeWidth", "number"], ["strokeColor", ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"]], ["backgroundColor", ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta", "none"]], ["backgroundOpacity", "number"], ["position", ["top", "center", "bottom"]], ["yOffset", "number"], ["wordsPerSubtitle", "number"], ["enableAnimation", "boolean"]],
1272
- "airtableCreateUpdateRecord": [["connectionId", "string"], ["baseId", "string"], ["tableId", "string"], ["fields", "string"], ["recordData", "object"]],
1273
- "airtableDeleteRecord": [["connectionId", "string"], ["baseId", "string"], ["tableId", "string"], ["recordId", "string"]],
1274
- "airtableGetRecord": [["connectionId", "string"], ["baseId", "string"], ["tableId", "string"], ["recordId", "string"]],
1275
- "airtableGetTableRecords": [["connectionId", "string"], ["baseId", "string"], ["tableId", "string"]],
1276
- "analyzeImage": [["prompt", "string"], ["imageUrl", "string"]],
1277
- "analyzeVideo": [["prompt", "string"], ["videoUrl", "string"]],
1278
- "captureThumbnail": [["videoUrl", "string"], ["at", "string"]],
1279
- "codaCreateUpdatePage": [["connectionId", "string"], ["pageData", "object"]],
1280
- "codaCreateUpdateRow": [["connectionId", "string"], ["docId", "string"], ["tableId", "string"], ["rowData", "object"]],
1281
- "codaFindRow": [["connectionId", "string"], ["docId", "string"], ["tableId", "string"], ["rowData", "object"]],
1282
- "codaGetPage": [["connectionId", "string"], ["docId", "string"], ["pageId", "string"]],
1283
- "codaGetTableRows": [["connectionId", "string"], ["docId", "string"], ["tableId", "string"]],
1284
- "convertPdfToImages": [["pdfUrl", "string"]],
1285
- "createDataSource": [["name", "string"]],
1286
- "createGoogleCalendarEvent": [["connectionId", "string"], ["summary", "string"], ["startDateTime", "string"], ["endDateTime", "string"]],
1287
- "createGoogleDoc": [["title", "string"], ["text", "string"], ["connectionId", "string"], ["textType", ["plain", "html", "markdown"]]],
1288
- "createGoogleSheet": [["title", "string"], ["text", "string"], ["connectionId", "string"]],
1289
- "deleteDataSource": [["dataSourceId", "string"]],
1290
- "deleteDataSourceDocument": [["dataSourceId", "string"], ["documentId", "string"]],
1291
- "deleteGoogleCalendarEvent": [["connectionId", "string"], ["eventId", "string"]],
1292
- "detectPII": [["input", "string"], ["language", "string"], ["entities", "array"]],
1293
- "downloadVideo": [["videoUrl", "string"], ["format", ["mp4", "mp3"]]],
1294
- "enhanceImageGenerationPrompt": [["initialPrompt", "string"], ["includeNegativePrompt", "boolean"], ["systemPrompt", "string"]],
1295
- "enhanceVideoGenerationPrompt": [["initialPrompt", "string"], ["includeNegativePrompt", "boolean"], ["systemPrompt", "string"]],
1296
- "enrichPerson": [["params", "object"]],
1297
- "extractAudioFromVideo": [["videoUrl", "string"]],
1298
- "extractText": [["url", "string"]],
1299
- "fetchDataSourceDocument": [["dataSourceId", "string"], ["documentId", "string"]],
1300
- "fetchGoogleDoc": [["documentId", "string"], ["connectionId", "string"], ["exportType", ["html", "markdown", "json", "plain"]]],
1301
- "fetchGoogleSheet": [["spreadsheetId", "string"], ["range", "string"], ["connectionId", "string"], ["exportType", ["csv", "json"]]],
1302
- "fetchSlackChannelHistory": [["connectionId", "string"], ["channelId", "string"]],
1303
- "fetchYoutubeCaptions": [["videoUrl", "string"], ["exportType", ["text", "json"]], ["language", "string"]],
1304
- "fetchYoutubeChannel": [["channelUrl", "string"]],
1305
- "fetchYoutubeComments": [["videoUrl", "string"], ["exportType", ["text", "json"]], ["limitPages", "string"]],
1306
- "fetchYoutubeVideo": [["videoUrl", "string"]],
1307
- "generateAsset": [["source", "string"], ["sourceType", ["html", "markdown", "spa", "raw", "dynamic", "customInterface"]], ["outputFormat", ["pdf", "png", "html", "mp4", "openGraph"]], ["pageSize", ["full", "letter", "A4", "custom"]], ["testData", "object"]],
1308
- "generateChart": [["chart", "object"]],
1309
- "generateImage": [["prompt", "string"]],
1310
- "generateLipsync": [],
1311
- "generateMusic": [["text", "string"]],
1312
- "generateStaticVideoFromImage": [["imageUrl", "string"], ["duration", "string"]],
1313
- "generateText": [["message", "string"]],
1314
- "generateVideo": [["prompt", "string"]],
1315
- "getGoogleCalendarEvent": [["connectionId", "string"], ["eventId", "string"], ["exportType", ["json", "text"]]],
1316
- "getMediaMetadata": [["mediaUrl", "string"]],
1317
- "httpRequest": [["url", "string"], ["method", "string"], ["headers", "object"], ["queryParams", "object"], ["body", "string"], ["bodyItems", "object"], ["contentType", ["none", "application/json", "application/x-www-form-urlencoded", "multipart/form-data", "custom"]], ["customContentType", "string"]],
1318
- "hubspotCreateCompany": [["connectionId", "string"], ["company", "object"], ["enabledProperties", "array"]],
1319
- "hubspotCreateContact": [["connectionId", "string"], ["contact", "object"], ["enabledProperties", "array"], ["companyDomain", "string"]],
1320
- "hubspotGetCompany": [["connectionId", "string"], ["searchBy", ["domain", "id"]], ["companyDomain", "string"], ["companyId", "string"], ["additionalProperties", "array"]],
1321
- "hubspotGetContact": [["connectionId", "string"], ["searchBy", ["email", "id"]], ["contactEmail", "string"], ["contactId", "string"], ["additionalProperties", "array"]],
1322
- "hunterApiCompanyEnrichment": [["domain", "string"]],
1323
- "hunterApiDomainSearch": [["domain", "string"]],
1324
- "hunterApiEmailFinder": [["domain", "string"], ["firstName", "string"], ["lastName", "string"]],
1325
- "hunterApiEmailVerification": [["email", "string"]],
1326
- "hunterApiPersonEnrichment": [["email", "string"]],
1327
- "imageFaceSwap": [["imageUrl", "string"], ["faceImageUrl", "string"], ["engine", "string"]],
1328
- "imageRemoveWatermark": [["imageUrl", "string"], ["engine", "string"]],
1329
- "insertVideoClips": [["baseVideoUrl", "string"], ["overlayVideos", "array"]],
1330
- "listDataSources": [],
1331
- "listGoogleCalendarEvents": [["connectionId", "string"], ["limit", "number"], ["exportType", ["json", "text"]]],
1332
- "logic": [["context", "string"], ["cases", "array"]],
1333
- "makeDotComRunScenario": [["webhookUrl", "string"], ["input", "object"]],
1334
- "mergeAudio": [["mp3Urls", "array"]],
1335
- "mergeVideos": [["videoUrls", "array"]],
1336
- "mixAudioIntoVideo": [["videoUrl", "string"], ["audioUrl", "string"], ["options", "object"]],
1337
- "muteVideo": [["videoUrl", "string"]],
1338
- "n8nRunNode": [["method", "string"], ["authentication", ["none", "basic", "string"]], ["user", "string"], ["password", "string"], ["webhookUrl", "string"], ["input", "object"]],
1339
- "notionCreatePage": [["pageId", "string"], ["content", "string"], ["title", "string"], ["connectionId", "string"]],
1340
- "notionUpdatePage": [["pageId", "string"], ["content", "string"], ["mode", ["append", "overwrite"]], ["connectionId", "string"]],
1341
- "peopleSearch": [["smartQuery", "string"], ["enrichPeople", "boolean"], ["enrichOrganizations", "boolean"], ["limit", "string"], ["page", "string"], ["params", "object"]],
1342
- "postToLinkedIn": [["message", "string"], ["visibility", ["PUBLIC", "CONNECTIONS"]], ["connectionId", "string"]],
1343
- "postToSlackChannel": [["channelId", "string"], ["messageType", ["string", "blocks"]], ["message", "string"], ["connectionId", "string"]],
1344
- "postToX": [["text", "string"], ["connectionId", "string"]],
1345
- "postToZapier": [["webhookUrl", "string"], ["input", "object"]],
1346
- "queryDataSource": [["dataSourceId", "string"], ["query", "string"], ["maxResults", "number"]],
1347
- "queryExternalDatabase": [["connectionId", "string"], ["query", "string"], ["outputFormat", ["json", "csv"]]],
1348
- "redactPII": [["input", "string"], ["language", "string"], ["entities", "array"]],
1349
- "removeBackgroundFromImage": [["imageUrl", "string"]],
1350
- "resizeVideo": [["videoUrl", "string"], ["mode", ["fit", "exact"]]],
1351
- "runPackagedWorkflow": [["appId", "string"], ["workflowId", "string"], ["inputVariables", "object"], ["outputVariables", "object"], ["name", "string"]],
1352
- "scrapeFacebookPage": [["pageUrl", "string"]],
1353
- "scrapeFacebookPosts": [["pageUrl", "string"]],
1354
- "scrapeInstagramComments": [["postUrl", "string"], ["resultsLimit", "string"]],
1355
- "scrapeInstagramMentions": [["profileUrl", "string"], ["resultsLimit", "string"]],
1356
- "scrapeInstagramPosts": [["profileUrl", "string"], ["resultsLimit", "string"], ["onlyPostsNewerThan", "string"]],
1357
- "scrapeInstagramProfile": [["profileUrl", "string"]],
1358
- "scrapeInstagramReels": [["profileUrl", "string"], ["resultsLimit", "string"]],
1359
- "scrapeLinkedInCompany": [["url", "string"]],
1360
- "scrapeLinkedInProfile": [["url", "string"]],
1361
- "scrapeMetaThreadsProfile": [["profileUrl", "string"]],
1362
- "scrapeUrl": [["url", "string"]],
1363
- "scrapeXPost": [["url", "string"]],
1364
- "scrapeXProfile": [["url", "string"]],
1365
- "searchGoogle": [["query", "string"], ["exportType", ["text", "json"]]],
1366
- "searchGoogleImages": [["query", "string"], ["exportType", ["text", "json"]]],
1367
- "searchGoogleNews": [["text", "string"], ["exportType", ["text", "json"]]],
1368
- "searchGoogleTrends": [["text", "string"], ["hl", "string"], ["geo", "string"], ["data_type", ["TIMESERIES", "GEO_MAP", "GEO_MAP_0", "RELATED_TOPICS", "RELATED_QUERIES"]], ["cat", "string"], ["date", "string"], ["ts", "string"]],
1369
- "searchPerplexity": [["query", "string"], ["exportType", ["text", "json"]]],
1370
- "searchXPosts": [["query", "string"], ["scope", ["recent", "all"]], ["options", "object"]],
1371
- "searchYoutube": [["query", "string"], ["limitPages", "string"], ["filter", "string"], ["filterType", "string"]],
1372
- "searchYoutubeTrends": [["bp", ["now", "music", "gaming", "films"]], ["hl", "string"], ["gl", "string"]],
1373
- "sendEmail": [["subject", "string"], ["body", "string"], ["connectionId", "string"]],
1374
- "sendSMS": [["body", "string"], ["connectionId", "string"]],
1375
- "setRunTitle": [["title", "string"]],
1376
- "setVariable": [["value", "string"], ["type", ["imageUrl", "videoUrl", "fileUrl", "plaintext", "textArray", "imageUrlArray", "videoUrlArray"]]],
1377
- "telegramSendAudio": [["botToken", "string"], ["chatId", "string"], ["audioUrl", "string"], ["mode", ["audio", "voice"]]],
1378
- "telegramSendFile": [["botToken", "string"], ["chatId", "string"], ["fileUrl", "string"]],
1379
- "telegramSendImage": [["botToken", "string"], ["chatId", "string"], ["imageUrl", "string"]],
1380
- "telegramSendMessage": [["botToken", "string"], ["chatId", "string"], ["text", "string"]],
1381
- "telegramSendVideo": [["botToken", "string"], ["chatId", "string"], ["videoUrl", "string"]],
1382
- "telegramSetTyping": [["botToken", "string"], ["chatId", "string"]],
1383
- "textToSpeech": [["text", "string"]],
1384
- "transcribeAudio": [["audioUrl", "string"], ["prompt", "string"]],
1385
- "trimMedia": [["inputUrl", "string"]],
1386
- "updateGoogleCalendarEvent": [["connectionId", "string"], ["eventId", "string"]],
1387
- "updateGoogleDoc": [["documentId", "string"], ["connectionId", "string"], ["text", "string"], ["textType", ["plain", "html", "markdown"]], ["operationType", ["addToTop", "addToBottom", "overwrite"]]],
1388
- "updateGoogleSheet": [["text", "string"], ["connectionId", "string"], ["spreadsheetId", "string"], ["range", "string"], ["operationType", ["addToBottom", "overwrite", "range"]]],
1389
- "uploadDataSourceDocument": [["dataSourceId", "string"], ["file", "string"], ["fileName", "string"]],
1390
- "upscaleImage": [["imageUrl", "string"], ["targetResolution", ["2k", "4k", "8k"]], ["engine", ["standard", "pro"]]],
1391
- "upscaleVideo": [["videoUrl", "string"], ["targetResolution", ["720p", "1080p", "2K", "4K"]], ["engine", ["standard", "pro", "ultimate", "flashvsr", "seedance", "seedvr2", "runwayml/upscale-v1"]]],
1392
- "videoFaceSwap": [["videoUrl", "string"], ["faceImageUrl", "string"], ["targetIndex", "number"], ["engine", "string"]],
1393
- "videoRemoveBackground": [["videoUrl", "string"], ["newBackground", ["transparent", "image"]], ["engine", "string"]],
1394
- "videoRemoveWatermark": [["videoUrl", "string"], ["engine", "string"]],
1395
- "watermarkImage": [["imageUrl", "string"], ["watermarkImageUrl", "string"], ["corner", ["top-left", "top-right", "bottom-left", "bottom-right"]], ["paddingPx", "number"], ["widthPx", "number"]],
1396
- "watermarkVideo": [["videoUrl", "string"], ["imageUrl", "string"], ["corner", ["top-left", "top-right", "bottom-left", "bottom-right"]], ["paddingPx", "number"], ["widthPx", "number"]]
617
+ "activeCampaignAddNote": { fields: [["contactId", "string"], ["note", "string"], ["connectionId", "string"]], outputKeys: [] },
618
+ "activeCampaignCreateContact": { fields: [["email", "string"], ["firstName", "string"], ["lastName", "string"], ["phone", "string"], ["accountId", "string"], ["customFields", "object"], ["connectionId", "string"]], outputKeys: ["contactId"] },
619
+ "addSubtitlesToVideo": { fields: [["videoUrl", "string"], ["language", "string"], ["fontName", "string"], ["fontSize", "number"], ["fontWeight", ["normal", "bold", "black"]], ["fontColor", ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"]], ["highlightColor", ["white", "black", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"]], ["strokeWidth", "number"], ["strokeColor", ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta"]], ["backgroundColor", ["black", "white", "red", "green", "blue", "yellow", "orange", "purple", "pink", "brown", "gray", "cyan", "magenta", "none"]], ["backgroundOpacity", "number"], ["position", ["top", "center", "bottom"]], ["yOffset", "number"], ["wordsPerSubtitle", "number"], ["enableAnimation", "boolean"]], outputKeys: ["videoUrl"] },
620
+ "airtableCreateUpdateRecord": { fields: [["connectionId", "string"], ["baseId", "string"], ["tableId", "string"], ["fields", "string"], ["recordData", "object"]], outputKeys: ["recordId"] },
621
+ "airtableDeleteRecord": { fields: [["connectionId", "string"], ["baseId", "string"], ["tableId", "string"], ["recordId", "string"]], outputKeys: ["deleted"] },
622
+ "airtableGetRecord": { fields: [["connectionId", "string"], ["baseId", "string"], ["tableId", "string"], ["recordId", "string"]], outputKeys: ["record"] },
623
+ "airtableGetTableRecords": { fields: [["connectionId", "string"], ["baseId", "string"], ["tableId", "string"]], outputKeys: ["records"] },
624
+ "analyzeImage": { fields: [["prompt", "string"], ["imageUrl", "string"]], outputKeys: ["analysis"] },
625
+ "analyzeVideo": { fields: [["prompt", "string"], ["videoUrl", "string"]], outputKeys: ["analysis"] },
626
+ "captureThumbnail": { fields: [["videoUrl", "string"], ["at", "string"]], outputKeys: ["thumbnailUrl"] },
627
+ "codaCreateUpdatePage": { fields: [["connectionId", "string"], ["pageData", "object"]], outputKeys: ["pageId"] },
628
+ "codaCreateUpdateRow": { fields: [["connectionId", "string"], ["docId", "string"], ["tableId", "string"], ["rowData", "object"]], outputKeys: ["rowId"] },
629
+ "codaFindRow": { fields: [["connectionId", "string"], ["docId", "string"], ["tableId", "string"], ["rowData", "object"]], outputKeys: ["row"] },
630
+ "codaGetPage": { fields: [["connectionId", "string"], ["docId", "string"], ["pageId", "string"]], outputKeys: ["content"] },
631
+ "codaGetTableRows": { fields: [["connectionId", "string"], ["docId", "string"], ["tableId", "string"]], outputKeys: ["rows"] },
632
+ "convertPdfToImages": { fields: [["pdfUrl", "string"]], outputKeys: ["imageUrls"] },
633
+ "createDataSource": { fields: [["name", "string"]], outputKeys: [] },
634
+ "createGoogleCalendarEvent": { fields: [["connectionId", "string"], ["summary", "string"], ["startDateTime", "string"], ["endDateTime", "string"]], outputKeys: ["eventId", "htmlLink"] },
635
+ "createGoogleDoc": { fields: [["title", "string"], ["text", "string"], ["connectionId", "string"], ["textType", ["plain", "html", "markdown"]]], outputKeys: ["documentUrl"] },
636
+ "createGoogleSheet": { fields: [["title", "string"], ["text", "string"], ["connectionId", "string"]], outputKeys: ["spreadsheetUrl"] },
637
+ "deleteDataSource": { fields: [["dataSourceId", "string"]], outputKeys: [] },
638
+ "deleteDataSourceDocument": { fields: [["dataSourceId", "string"], ["documentId", "string"]], outputKeys: [] },
639
+ "deleteGoogleCalendarEvent": { fields: [["connectionId", "string"], ["eventId", "string"]], outputKeys: [] },
640
+ "detectPII": { fields: [["input", "string"], ["language", "string"], ["entities", "array"]], outputKeys: ["detected", "detections"] },
641
+ "downloadVideo": { fields: [["videoUrl", "string"], ["format", ["mp4", "mp3"]]], outputKeys: ["videoUrl"] },
642
+ "enhanceImageGenerationPrompt": { fields: [["initialPrompt", "string"], ["includeNegativePrompt", "boolean"], ["systemPrompt", "string"]], outputKeys: ["prompt"] },
643
+ "enhanceVideoGenerationPrompt": { fields: [["initialPrompt", "string"], ["includeNegativePrompt", "boolean"], ["systemPrompt", "string"]], outputKeys: ["prompt"] },
644
+ "enrichPerson": { fields: [["params", "object"]], outputKeys: ["data"] },
645
+ "extractAudioFromVideo": { fields: [["videoUrl", "string"]], outputKeys: ["audioUrl"] },
646
+ "extractText": { fields: [["url", "string"]], outputKeys: ["text"] },
647
+ "fetchDataSourceDocument": { fields: [["dataSourceId", "string"], ["documentId", "string"]], outputKeys: [] },
648
+ "fetchGoogleDoc": { fields: [["documentId", "string"], ["connectionId", "string"], ["exportType", ["html", "markdown", "json", "plain"]]], outputKeys: ["content"] },
649
+ "fetchGoogleSheet": { fields: [["spreadsheetId", "string"], ["range", "string"], ["connectionId", "string"], ["exportType", ["csv", "json"]]], outputKeys: ["content"] },
650
+ "fetchSlackChannelHistory": { fields: [["connectionId", "string"], ["channelId", "string"]], outputKeys: ["messages"] },
651
+ "fetchYoutubeCaptions": { fields: [["videoUrl", "string"], ["exportType", ["text", "json"]], ["language", "string"]], outputKeys: ["transcripts"] },
652
+ "fetchYoutubeChannel": { fields: [["channelUrl", "string"]], outputKeys: ["channel"] },
653
+ "fetchYoutubeComments": { fields: [["videoUrl", "string"], ["exportType", ["text", "json"]], ["limitPages", "string"]], outputKeys: ["comments"] },
654
+ "fetchYoutubeVideo": { fields: [["videoUrl", "string"]], outputKeys: ["video"] },
655
+ "generateAsset": { fields: [["source", "string"], ["sourceType", ["html", "markdown", "spa", "raw", "dynamic", "customInterface"]], ["outputFormat", ["pdf", "png", "html", "mp4", "openGraph"]], ["pageSize", ["full", "letter", "A4", "custom"]], ["testData", "object"]], outputKeys: ["url"] },
656
+ "generateChart": { fields: [["chart", "object"]], outputKeys: ["chartUrl"] },
657
+ "generateImage": { fields: [["prompt", "string"]], outputKeys: ["imageUrl"] },
658
+ "generateLipsync": { fields: [], outputKeys: [] },
659
+ "generateMusic": { fields: [["text", "string"]], outputKeys: [] },
660
+ "generatePdf": { fields: [["source", "string"], ["sourceType", ["html", "markdown", "spa", "raw", "dynamic", "customInterface"]], ["outputFormat", ["pdf", "png", "html", "mp4", "openGraph"]], ["pageSize", ["full", "letter", "A4", "custom"]], ["testData", "object"]], outputKeys: ["url"] },
661
+ "generateStaticVideoFromImage": { fields: [["imageUrl", "string"], ["duration", "string"]], outputKeys: ["videoUrl"] },
662
+ "generateText": { fields: [["message", "string"]], outputKeys: ["content"] },
663
+ "generateVideo": { fields: [["prompt", "string"]], outputKeys: ["videoUrl"] },
664
+ "getGoogleCalendarEvent": { fields: [["connectionId", "string"], ["eventId", "string"], ["exportType", ["json", "text"]]], outputKeys: ["event"] },
665
+ "getMediaMetadata": { fields: [["mediaUrl", "string"]], outputKeys: ["metadata"] },
666
+ "httpRequest": { fields: [["url", "string"], ["method", "string"], ["headers", "object"], ["queryParams", "object"], ["body", "string"], ["bodyItems", "object"], ["contentType", ["none", "application/json", "application/x-www-form-urlencoded", "multipart/form-data", "custom"]], ["customContentType", "string"]], outputKeys: ["ok", "status", "statusText", "response"] },
667
+ "hubspotCreateCompany": { fields: [["connectionId", "string"], ["company", "object"], ["enabledProperties", "array"]], outputKeys: ["companyId"] },
668
+ "hubspotCreateContact": { fields: [["connectionId", "string"], ["contact", "object"], ["enabledProperties", "array"], ["companyDomain", "string"]], outputKeys: ["contactId"] },
669
+ "hubspotGetCompany": { fields: [["connectionId", "string"], ["searchBy", ["domain", "id"]], ["companyDomain", "string"], ["companyId", "string"], ["additionalProperties", "array"]], outputKeys: ["company"] },
670
+ "hubspotGetContact": { fields: [["connectionId", "string"], ["searchBy", ["email", "id"]], ["contactEmail", "string"], ["contactId", "string"], ["additionalProperties", "array"]], outputKeys: ["contact"] },
671
+ "hunterApiCompanyEnrichment": { fields: [["domain", "string"]], outputKeys: ["data"] },
672
+ "hunterApiDomainSearch": { fields: [["domain", "string"]], outputKeys: ["data"] },
673
+ "hunterApiEmailFinder": { fields: [["domain", "string"], ["firstName", "string"], ["lastName", "string"]], outputKeys: ["data"] },
674
+ "hunterApiEmailVerification": { fields: [["email", "string"]], outputKeys: ["data"] },
675
+ "hunterApiPersonEnrichment": { fields: [["email", "string"]], outputKeys: ["data"] },
676
+ "imageFaceSwap": { fields: [["imageUrl", "string"], ["faceImageUrl", "string"], ["engine", "string"]], outputKeys: ["imageUrl"] },
677
+ "imageRemoveWatermark": { fields: [["imageUrl", "string"], ["engine", "string"]], outputKeys: ["imageUrl"] },
678
+ "insertVideoClips": { fields: [["baseVideoUrl", "string"], ["overlayVideos", "array"]], outputKeys: ["videoUrl"] },
679
+ "listDataSources": { fields: [], outputKeys: [] },
680
+ "listGoogleCalendarEvents": { fields: [["connectionId", "string"], ["limit", "number"], ["exportType", ["json", "text"]]], outputKeys: ["events"] },
681
+ "logic": { fields: [["context", "string"], ["cases", "array"]], outputKeys: ["selectedCase"] },
682
+ "makeDotComRunScenario": { fields: [["webhookUrl", "string"], ["input", "object"]], outputKeys: ["data"] },
683
+ "mergeAudio": { fields: [["mp3Urls", "array"]], outputKeys: ["audioUrl"] },
684
+ "mergeVideos": { fields: [["videoUrls", "array"]], outputKeys: ["videoUrl"] },
685
+ "mixAudioIntoVideo": { fields: [["videoUrl", "string"], ["audioUrl", "string"], ["options", "object"]], outputKeys: ["videoUrl"] },
686
+ "muteVideo": { fields: [["videoUrl", "string"]], outputKeys: ["videoUrl"] },
687
+ "n8nRunNode": { fields: [["method", "string"], ["authentication", ["none", "basic", "string"]], ["user", "string"], ["password", "string"], ["webhookUrl", "string"], ["input", "object"]], outputKeys: ["data"] },
688
+ "notionCreatePage": { fields: [["pageId", "string"], ["content", "string"], ["title", "string"], ["connectionId", "string"]], outputKeys: ["pageId", "pageUrl"] },
689
+ "notionUpdatePage": { fields: [["pageId", "string"], ["content", "string"], ["mode", ["append", "overwrite"]], ["connectionId", "string"]], outputKeys: ["pageId", "pageUrl"] },
690
+ "peopleSearch": { fields: [["smartQuery", "string"], ["enrichPeople", "boolean"], ["enrichOrganizations", "boolean"], ["limit", "string"], ["page", "string"], ["params", "object"]], outputKeys: ["results"] },
691
+ "postToLinkedIn": { fields: [["message", "string"], ["visibility", ["PUBLIC", "CONNECTIONS"]], ["connectionId", "string"]], outputKeys: [] },
692
+ "postToSlackChannel": { fields: [["channelId", "string"], ["messageType", ["string", "blocks"]], ["message", "string"], ["connectionId", "string"]], outputKeys: [] },
693
+ "postToX": { fields: [["text", "string"], ["connectionId", "string"]], outputKeys: [] },
694
+ "postToZapier": { fields: [["webhookUrl", "string"], ["input", "object"]], outputKeys: ["data"] },
695
+ "queryDataSource": { fields: [["dataSourceId", "string"], ["query", "string"], ["maxResults", "number"]], outputKeys: ["text", "chunks", "query", "citations", "latencyMs"] },
696
+ "queryExternalDatabase": { fields: [["connectionId", "string"], ["query", "string"], ["outputFormat", ["json", "csv"]]], outputKeys: ["data"] },
697
+ "redactPII": { fields: [["input", "string"], ["language", "string"], ["entities", "array"]], outputKeys: ["text"] },
698
+ "removeBackgroundFromImage": { fields: [["imageUrl", "string"]], outputKeys: ["imageUrl"] },
699
+ "resizeVideo": { fields: [["videoUrl", "string"], ["mode", ["fit", "exact"]]], outputKeys: ["videoUrl"] },
700
+ "runPackagedWorkflow": { fields: [["appId", "string"], ["workflowId", "string"], ["inputVariables", "object"], ["outputVariables", "object"], ["name", "string"]], outputKeys: ["data"] },
701
+ "scrapeFacebookPage": { fields: [["pageUrl", "string"]], outputKeys: ["data"] },
702
+ "scrapeFacebookPosts": { fields: [["pageUrl", "string"]], outputKeys: ["data"] },
703
+ "scrapeInstagramComments": { fields: [["postUrl", "string"], ["resultsLimit", "string"]], outputKeys: ["data"] },
704
+ "scrapeInstagramMentions": { fields: [["profileUrl", "string"], ["resultsLimit", "string"]], outputKeys: ["data"] },
705
+ "scrapeInstagramPosts": { fields: [["profileUrl", "string"], ["resultsLimit", "string"], ["onlyPostsNewerThan", "string"]], outputKeys: ["data"] },
706
+ "scrapeInstagramProfile": { fields: [["profileUrl", "string"]], outputKeys: ["data"] },
707
+ "scrapeInstagramReels": { fields: [["profileUrl", "string"], ["resultsLimit", "string"]], outputKeys: ["data"] },
708
+ "scrapeLinkedInCompany": { fields: [["url", "string"]], outputKeys: ["company"] },
709
+ "scrapeLinkedInProfile": { fields: [["url", "string"]], outputKeys: ["profile"] },
710
+ "scrapeMetaThreadsProfile": { fields: [["profileUrl", "string"]], outputKeys: ["data"] },
711
+ "scrapeUrl": { fields: [["url", "string"]], outputKeys: ["content"] },
712
+ "scrapeXPost": { fields: [["url", "string"]], outputKeys: ["post"] },
713
+ "scrapeXProfile": { fields: [["url", "string"]], outputKeys: ["profile"] },
714
+ "searchGoogle": { fields: [["query", "string"], ["exportType", ["text", "json"]]], outputKeys: ["results"] },
715
+ "searchGoogleImages": { fields: [["query", "string"], ["exportType", ["text", "json"]]], outputKeys: ["images"] },
716
+ "searchGoogleNews": { fields: [["text", "string"], ["exportType", ["text", "json"]]], outputKeys: ["articles"] },
717
+ "searchGoogleTrends": { fields: [["text", "string"], ["hl", "string"], ["geo", "string"], ["data_type", ["TIMESERIES", "GEO_MAP", "GEO_MAP_0", "RELATED_TOPICS", "RELATED_QUERIES"]], ["cat", "string"], ["date", "string"], ["ts", "string"]], outputKeys: ["trends"] },
718
+ "searchPerplexity": { fields: [["query", "string"], ["exportType", ["text", "json"]]], outputKeys: ["results"] },
719
+ "searchXPosts": { fields: [["query", "string"], ["scope", ["recent", "all"]], ["options", "object"]], outputKeys: ["posts"] },
720
+ "searchYoutube": { fields: [["query", "string"], ["limitPages", "string"], ["filter", "string"], ["filterType", "string"]], outputKeys: ["results"] },
721
+ "searchYoutubeTrends": { fields: [["bp", ["now", "music", "gaming", "films"]], ["hl", "string"], ["gl", "string"]], outputKeys: ["trends"] },
722
+ "sendEmail": { fields: [["subject", "string"], ["body", "string"], ["connectionId", "string"]], outputKeys: ["recipients"] },
723
+ "sendSMS": { fields: [["body", "string"], ["connectionId", "string"]], outputKeys: [] },
724
+ "setRunTitle": { fields: [["title", "string"]], outputKeys: [] },
725
+ "setVariable": { fields: [["value", "string"], ["type", ["imageUrl", "videoUrl", "fileUrl", "plaintext", "textArray", "imageUrlArray", "videoUrlArray"]]], outputKeys: ["variableName", "value"] },
726
+ "telegramSendAudio": { fields: [["botToken", "string"], ["chatId", "string"], ["audioUrl", "string"], ["mode", ["audio", "voice"]]], outputKeys: [] },
727
+ "telegramSendFile": { fields: [["botToken", "string"], ["chatId", "string"], ["fileUrl", "string"]], outputKeys: [] },
728
+ "telegramSendImage": { fields: [["botToken", "string"], ["chatId", "string"], ["imageUrl", "string"]], outputKeys: [] },
729
+ "telegramSendMessage": { fields: [["botToken", "string"], ["chatId", "string"], ["text", "string"]], outputKeys: [] },
730
+ "telegramSendVideo": { fields: [["botToken", "string"], ["chatId", "string"], ["videoUrl", "string"]], outputKeys: [] },
731
+ "telegramSetTyping": { fields: [["botToken", "string"], ["chatId", "string"]], outputKeys: [] },
732
+ "textToSpeech": { fields: [["text", "string"]], outputKeys: ["audioUrl"] },
733
+ "transcribeAudio": { fields: [["audioUrl", "string"], ["prompt", "string"]], outputKeys: ["text"] },
734
+ "trimMedia": { fields: [["inputUrl", "string"]], outputKeys: ["mediaUrl"] },
735
+ "updateGoogleCalendarEvent": { fields: [["connectionId", "string"], ["eventId", "string"]], outputKeys: ["eventId", "htmlLink"] },
736
+ "updateGoogleDoc": { fields: [["documentId", "string"], ["connectionId", "string"], ["text", "string"], ["textType", ["plain", "html", "markdown"]], ["operationType", ["addToTop", "addToBottom", "overwrite"]]], outputKeys: ["documentUrl"] },
737
+ "updateGoogleSheet": { fields: [["text", "string"], ["connectionId", "string"], ["spreadsheetId", "string"], ["range", "string"], ["operationType", ["addToBottom", "overwrite", "range"]]], outputKeys: ["spreadsheetUrl"] },
738
+ "uploadDataSourceDocument": { fields: [["dataSourceId", "string"], ["file", "string"], ["fileName", "string"]], outputKeys: [] },
739
+ "upscaleImage": { fields: [["imageUrl", "string"], ["targetResolution", ["2k", "4k", "8k"]], ["engine", ["standard", "pro"]]], outputKeys: ["imageUrl"] },
740
+ "upscaleVideo": { fields: [["videoUrl", "string"], ["targetResolution", ["720p", "1080p", "2K", "4K"]], ["engine", ["standard", "pro", "ultimate", "flashvsr", "seedance", "seedvr2", "runwayml/upscale-v1"]]], outputKeys: ["videoUrl"] },
741
+ "userMessage": { fields: [["message", "string"]], outputKeys: ["content"] },
742
+ "videoFaceSwap": { fields: [["videoUrl", "string"], ["faceImageUrl", "string"], ["targetIndex", "number"], ["engine", "string"]], outputKeys: ["videoUrl"] },
743
+ "videoRemoveBackground": { fields: [["videoUrl", "string"], ["newBackground", ["transparent", "image"]], ["engine", "string"]], outputKeys: ["videoUrl"] },
744
+ "videoRemoveWatermark": { fields: [["videoUrl", "string"], ["engine", "string"]], outputKeys: ["videoUrl"] },
745
+ "watermarkImage": { fields: [["imageUrl", "string"], ["watermarkImageUrl", "string"], ["corner", ["top-left", "top-right", "bottom-left", "bottom-right"]], ["paddingPx", "number"], ["widthPx", "number"]], outputKeys: ["imageUrl"] },
746
+ "watermarkVideo": { fields: [["videoUrl", "string"], ["imageUrl", "string"], ["corner", ["top-left", "top-right", "bottom-left", "bottom-right"]], ["paddingPx", "number"], ["widthPx", "number"]], outputKeys: ["videoUrl"] }
747
+ };
748
+ var blockTypeAliases = {
749
+ "userMessage": "generateText",
750
+ "generatePdf": "generateAsset"
1397
751
  };
1398
752
 
1399
753
  // src/index.ts
@@ -1401,7 +755,7 @@ var MindStudioAgent2 = MindStudioAgent;
1401
755
  export {
1402
756
  MindStudioAgent2 as MindStudioAgent,
1403
757
  MindStudioError,
1404
- monacoSnippets,
1405
- stepSnippets
758
+ blockTypeAliases,
759
+ monacoSnippets
1406
760
  };
1407
761
  //# sourceMappingURL=index.js.map