@mindstudio-ai/agent 0.0.3 → 0.0.5

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
@@ -154,6 +154,7 @@ function applyStepMethods(AgentClass) {
154
154
  proto.generatePdf = function(step, options) {
155
155
  return this.executeStep("generatePdf", step, options);
156
156
  };
157
+ proto.generateAsset = proto.generatePdf;
157
158
  proto.generateStaticVideoFromImage = function(step, options) {
158
159
  return this.executeStep("generateStaticVideoFromImage", step, options);
159
160
  };
@@ -268,9 +269,6 @@ function applyStepMethods(AgentClass) {
268
269
  proto.runPackagedWorkflow = function(step, options) {
269
270
  return this.executeStep("runPackagedWorkflow", step, options);
270
271
  };
271
- proto.runWorkflow = function(step, options) {
272
- return this.executeStep("runWorkflow", step, options);
273
- };
274
272
  proto.scrapeFacebookPage = function(step, options) {
275
273
  return this.executeStep("scrapeFacebookPage", step, options);
276
274
  };
@@ -391,6 +389,7 @@ function applyStepMethods(AgentClass) {
391
389
  proto.userMessage = function(step, options) {
392
390
  return this.executeStep("userMessage", step, options);
393
391
  };
392
+ proto.generateText = proto.userMessage;
394
393
  proto.videoFaceSwap = function(step, options) {
395
394
  return this.executeStep("videoFaceSwap", step, options);
396
395
  };
@@ -491,10 +490,699 @@ function resolveToken(provided) {
491
490
  );
492
491
  }
493
492
 
493
+ // src/generated/snippets.ts
494
+ var stepSnippets = {
495
+ "activeCampaignAddNote": {
496
+ method: "activeCampaignAddNote",
497
+ snippet: "{\n contactId: '',\n note: '',\n connectionId: '',\n}"
498
+ },
499
+ "activeCampaignCreateContact": {
500
+ method: "activeCampaignCreateContact",
501
+ snippet: "{\n email: '',\n firstName: '',\n lastName: '',\n phone: '',\n accountId: '',\n customFields: {},\n connectionId: '',\n}"
502
+ },
503
+ "addSubtitlesToVideo": {
504
+ method: "addSubtitlesToVideo",
505
+ snippet: `{
506
+ videoUrl: '',
507
+ language: '',
508
+ fontName: '',
509
+ fontSize: 0,
510
+ fontWeight: "normal",
511
+ fontColor: "white",
512
+ highlightColor: "white",
513
+ strokeWidth: 0,
514
+ strokeColor: "black",
515
+ backgroundColor: "black",
516
+ backgroundOpacity: 0,
517
+ position: "top",
518
+ yOffset: 0,
519
+ wordsPerSubtitle: 0,
520
+ enableAnimation: false,
521
+ }`
522
+ },
523
+ "airtableCreateUpdateRecord": {
524
+ method: "airtableCreateUpdateRecord",
525
+ snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n fields: '',\n recordData: {},\n}"
526
+ },
527
+ "airtableDeleteRecord": {
528
+ method: "airtableDeleteRecord",
529
+ snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n recordId: '',\n}"
530
+ },
531
+ "airtableGetRecord": {
532
+ method: "airtableGetRecord",
533
+ snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n recordId: '',\n}"
534
+ },
535
+ "airtableGetTableRecords": {
536
+ method: "airtableGetTableRecords",
537
+ snippet: "{\n connectionId: '',\n baseId: '',\n tableId: '',\n}"
538
+ },
539
+ "analyzeImage": {
540
+ method: "analyzeImage",
541
+ snippet: "{\n prompt: '',\n imageUrl: '',\n}"
542
+ },
543
+ "analyzeVideo": {
544
+ method: "analyzeVideo",
545
+ snippet: "{\n prompt: '',\n videoUrl: '',\n}"
546
+ },
547
+ "captureThumbnail": {
548
+ method: "captureThumbnail",
549
+ snippet: "{\n videoUrl: '',\n at: '',\n}"
550
+ },
551
+ "codaCreateUpdatePage": {
552
+ method: "codaCreateUpdatePage",
553
+ snippet: "{\n connectionId: '',\n pageData: {},\n}"
554
+ },
555
+ "codaCreateUpdateRow": {
556
+ method: "codaCreateUpdateRow",
557
+ snippet: "{\n connectionId: '',\n docId: '',\n tableId: '',\n rowData: {},\n}"
558
+ },
559
+ "codaFindRow": {
560
+ method: "codaFindRow",
561
+ snippet: "{\n connectionId: '',\n docId: '',\n tableId: '',\n rowData: {},\n}"
562
+ },
563
+ "codaGetPage": {
564
+ method: "codaGetPage",
565
+ snippet: "{\n connectionId: '',\n docId: '',\n pageId: '',\n}"
566
+ },
567
+ "codaGetTableRows": {
568
+ method: "codaGetTableRows",
569
+ snippet: "{\n connectionId: '',\n docId: '',\n tableId: '',\n}"
570
+ },
571
+ "convertPdfToImages": {
572
+ method: "convertPdfToImages",
573
+ snippet: "{\n pdfUrl: '',\n}"
574
+ },
575
+ "createGoogleCalendarEvent": {
576
+ method: "createGoogleCalendarEvent",
577
+ snippet: "{\n connectionId: '',\n summary: '',\n startDateTime: '',\n endDateTime: '',\n}"
578
+ },
579
+ "createGoogleDoc": {
580
+ method: "createGoogleDoc",
581
+ snippet: `{
582
+ title: '',
583
+ text: '',
584
+ connectionId: '',
585
+ textType: "plain",
586
+ }`
587
+ },
588
+ "createGoogleSheet": {
589
+ method: "createGoogleSheet",
590
+ snippet: "{\n title: '',\n text: '',\n connectionId: '',\n}"
591
+ },
592
+ "deleteGoogleCalendarEvent": {
593
+ method: "deleteGoogleCalendarEvent",
594
+ snippet: "{\n connectionId: '',\n eventId: '',\n}"
595
+ },
596
+ "detectPII": {
597
+ method: "detectPII",
598
+ snippet: "{\n input: '',\n language: '',\n entities: [],\n}"
599
+ },
600
+ "downloadVideo": {
601
+ method: "downloadVideo",
602
+ snippet: `{
603
+ videoUrl: '',
604
+ format: "mp4",
605
+ }`
606
+ },
607
+ "enhanceImageGenerationPrompt": {
608
+ method: "enhanceImageGenerationPrompt",
609
+ snippet: "{\n initialPrompt: '',\n includeNegativePrompt: false,\n systemPrompt: '',\n}"
610
+ },
611
+ "enhanceVideoGenerationPrompt": {
612
+ method: "enhanceVideoGenerationPrompt",
613
+ snippet: "{\n initialPrompt: '',\n includeNegativePrompt: false,\n systemPrompt: '',\n}"
614
+ },
615
+ "enrichPerson": {
616
+ method: "enrichPerson",
617
+ snippet: "{\n params: {},\n}"
618
+ },
619
+ "extractAudioFromVideo": {
620
+ method: "extractAudioFromVideo",
621
+ snippet: "{\n videoUrl: '',\n}"
622
+ },
623
+ "extractText": {
624
+ method: "extractText",
625
+ snippet: "{\n url: '',\n}"
626
+ },
627
+ "fetchGoogleDoc": {
628
+ method: "fetchGoogleDoc",
629
+ snippet: `{
630
+ documentId: '',
631
+ connectionId: '',
632
+ exportType: "html",
633
+ }`
634
+ },
635
+ "fetchGoogleSheet": {
636
+ method: "fetchGoogleSheet",
637
+ snippet: `{
638
+ spreadsheetId: '',
639
+ range: '',
640
+ connectionId: '',
641
+ exportType: "csv",
642
+ }`
643
+ },
644
+ "fetchSlackChannelHistory": {
645
+ method: "fetchSlackChannelHistory",
646
+ snippet: "{\n connectionId: '',\n channelId: '',\n}"
647
+ },
648
+ "fetchYoutubeCaptions": {
649
+ method: "fetchYoutubeCaptions",
650
+ snippet: `{
651
+ videoUrl: '',
652
+ exportType: "text",
653
+ language: '',
654
+ }`
655
+ },
656
+ "fetchYoutubeChannel": {
657
+ method: "fetchYoutubeChannel",
658
+ snippet: "{\n channelUrl: '',\n}"
659
+ },
660
+ "fetchYoutubeComments": {
661
+ method: "fetchYoutubeComments",
662
+ snippet: `{
663
+ videoUrl: '',
664
+ exportType: "text",
665
+ limitPages: '',
666
+ }`
667
+ },
668
+ "fetchYoutubeVideo": {
669
+ method: "fetchYoutubeVideo",
670
+ snippet: "{\n videoUrl: '',\n}"
671
+ },
672
+ "generateAsset": {
673
+ method: "generateAsset",
674
+ snippet: `{
675
+ source: '',
676
+ sourceType: "html",
677
+ outputFormat: "pdf",
678
+ pageSize: "full",
679
+ testData: {},
680
+ }`
681
+ },
682
+ "generateChart": {
683
+ method: "generateChart",
684
+ snippet: "{\n chart: {},\n}"
685
+ },
686
+ "generateImage": {
687
+ method: "generateImage",
688
+ snippet: "{\n prompt: '',\n}"
689
+ },
690
+ "generateLipsync": {
691
+ method: "generateLipsync",
692
+ snippet: "{}"
693
+ },
694
+ "generateMusic": {
695
+ method: "generateMusic",
696
+ snippet: "{\n text: '',\n}"
697
+ },
698
+ "generatePdf": {
699
+ method: "generatePdf",
700
+ snippet: `{
701
+ source: '',
702
+ sourceType: "html",
703
+ outputFormat: "pdf",
704
+ pageSize: "full",
705
+ testData: {},
706
+ }`
707
+ },
708
+ "generateStaticVideoFromImage": {
709
+ method: "generateStaticVideoFromImage",
710
+ snippet: "{\n imageUrl: '',\n duration: '',\n}"
711
+ },
712
+ "generateText": {
713
+ method: "generateText",
714
+ snippet: "{\n message: '',\n}"
715
+ },
716
+ "generateVideo": {
717
+ method: "generateVideo",
718
+ snippet: "{\n prompt: '',\n}"
719
+ },
720
+ "getGoogleCalendarEvent": {
721
+ method: "getGoogleCalendarEvent",
722
+ snippet: `{
723
+ connectionId: '',
724
+ eventId: '',
725
+ exportType: "json",
726
+ }`
727
+ },
728
+ "getMediaMetadata": {
729
+ method: "getMediaMetadata",
730
+ snippet: "{\n mediaUrl: '',\n}"
731
+ },
732
+ "httpRequest": {
733
+ method: "httpRequest",
734
+ snippet: `{
735
+ url: '',
736
+ method: '',
737
+ headers: {},
738
+ queryParams: {},
739
+ body: '',
740
+ bodyItems: {},
741
+ contentType: "none",
742
+ customContentType: '',
743
+ }`
744
+ },
745
+ "hubspotCreateCompany": {
746
+ method: "hubspotCreateCompany",
747
+ snippet: "{\n connectionId: '',\n company: {},\n enabledProperties: [],\n}"
748
+ },
749
+ "hubspotCreateContact": {
750
+ method: "hubspotCreateContact",
751
+ snippet: "{\n connectionId: '',\n contact: {},\n enabledProperties: [],\n companyDomain: '',\n}"
752
+ },
753
+ "hubspotGetCompany": {
754
+ method: "hubspotGetCompany",
755
+ snippet: `{
756
+ connectionId: '',
757
+ searchBy: "domain",
758
+ companyDomain: '',
759
+ companyId: '',
760
+ additionalProperties: [],
761
+ }`
762
+ },
763
+ "hubspotGetContact": {
764
+ method: "hubspotGetContact",
765
+ snippet: `{
766
+ connectionId: '',
767
+ searchBy: "email",
768
+ contactEmail: '',
769
+ contactId: '',
770
+ additionalProperties: [],
771
+ }`
772
+ },
773
+ "hunterApiCompanyEnrichment": {
774
+ method: "hunterApiCompanyEnrichment",
775
+ snippet: "{\n domain: '',\n}"
776
+ },
777
+ "hunterApiDomainSearch": {
778
+ method: "hunterApiDomainSearch",
779
+ snippet: "{\n domain: '',\n}"
780
+ },
781
+ "hunterApiEmailFinder": {
782
+ method: "hunterApiEmailFinder",
783
+ snippet: "{\n domain: '',\n firstName: '',\n lastName: '',\n}"
784
+ },
785
+ "hunterApiEmailVerification": {
786
+ method: "hunterApiEmailVerification",
787
+ snippet: "{\n email: '',\n}"
788
+ },
789
+ "hunterApiPersonEnrichment": {
790
+ method: "hunterApiPersonEnrichment",
791
+ snippet: "{\n email: '',\n}"
792
+ },
793
+ "imageFaceSwap": {
794
+ method: "imageFaceSwap",
795
+ snippet: "{\n imageUrl: '',\n faceImageUrl: '',\n engine: '',\n}"
796
+ },
797
+ "imageRemoveWatermark": {
798
+ method: "imageRemoveWatermark",
799
+ snippet: "{\n imageUrl: '',\n engine: '',\n}"
800
+ },
801
+ "insertVideoClips": {
802
+ method: "insertVideoClips",
803
+ snippet: "{\n baseVideoUrl: '',\n overlayVideos: [],\n}"
804
+ },
805
+ "listGoogleCalendarEvents": {
806
+ method: "listGoogleCalendarEvents",
807
+ snippet: `{
808
+ connectionId: '',
809
+ limit: 0,
810
+ exportType: "json",
811
+ }`
812
+ },
813
+ "logic": {
814
+ method: "logic",
815
+ snippet: "{\n context: '',\n cases: [],\n}"
816
+ },
817
+ "makeDotComRunScenario": {
818
+ method: "makeDotComRunScenario",
819
+ snippet: "{\n webhookUrl: '',\n input: {},\n}"
820
+ },
821
+ "mergeAudio": {
822
+ method: "mergeAudio",
823
+ snippet: "{\n mp3Urls: [],\n}"
824
+ },
825
+ "mergeVideos": {
826
+ method: "mergeVideos",
827
+ snippet: "{\n videoUrls: [],\n}"
828
+ },
829
+ "mixAudioIntoVideo": {
830
+ method: "mixAudioIntoVideo",
831
+ snippet: "{\n videoUrl: '',\n audioUrl: '',\n options: {},\n}"
832
+ },
833
+ "muteVideo": {
834
+ method: "muteVideo",
835
+ snippet: "{\n videoUrl: '',\n}"
836
+ },
837
+ "n8nRunNode": {
838
+ method: "n8nRunNode",
839
+ snippet: `{
840
+ method: '',
841
+ authentication: "none",
842
+ user: '',
843
+ password: '',
844
+ webhookUrl: '',
845
+ input: {},
846
+ }`
847
+ },
848
+ "notionCreatePage": {
849
+ method: "notionCreatePage",
850
+ snippet: "{\n pageId: '',\n content: '',\n title: '',\n connectionId: '',\n}"
851
+ },
852
+ "notionUpdatePage": {
853
+ method: "notionUpdatePage",
854
+ snippet: `{
855
+ pageId: '',
856
+ content: '',
857
+ mode: "append",
858
+ connectionId: '',
859
+ }`
860
+ },
861
+ "peopleSearch": {
862
+ method: "peopleSearch",
863
+ snippet: "{\n smartQuery: '',\n enrichPeople: false,\n enrichOrganizations: false,\n limit: '',\n page: '',\n params: {},\n}"
864
+ },
865
+ "postToLinkedIn": {
866
+ method: "postToLinkedIn",
867
+ snippet: `{
868
+ message: '',
869
+ visibility: "PUBLIC",
870
+ connectionId: '',
871
+ }`
872
+ },
873
+ "postToSlackChannel": {
874
+ method: "postToSlackChannel",
875
+ snippet: `{
876
+ channelId: '',
877
+ messageType: "string",
878
+ message: '',
879
+ connectionId: '',
880
+ }`
881
+ },
882
+ "postToX": {
883
+ method: "postToX",
884
+ snippet: "{\n text: '',\n connectionId: '',\n}"
885
+ },
886
+ "postToZapier": {
887
+ method: "postToZapier",
888
+ snippet: "{\n webhookUrl: '',\n input: {},\n}"
889
+ },
890
+ "queryDataSource": {
891
+ method: "queryDataSource",
892
+ snippet: "{\n dataSourceId: '',\n query: '',\n maxResults: 0,\n}"
893
+ },
894
+ "queryExternalDatabase": {
895
+ method: "queryExternalDatabase",
896
+ snippet: `{
897
+ connectionId: '',
898
+ query: '',
899
+ outputFormat: "json",
900
+ }`
901
+ },
902
+ "redactPII": {
903
+ method: "redactPII",
904
+ snippet: "{\n input: '',\n language: '',\n entities: [],\n}"
905
+ },
906
+ "removeBackgroundFromImage": {
907
+ method: "removeBackgroundFromImage",
908
+ snippet: "{\n imageUrl: '',\n}"
909
+ },
910
+ "resizeVideo": {
911
+ method: "resizeVideo",
912
+ snippet: `{
913
+ videoUrl: '',
914
+ mode: "fit",
915
+ }`
916
+ },
917
+ "runPackagedWorkflow": {
918
+ method: "runPackagedWorkflow",
919
+ snippet: "{\n appId: '',\n workflowId: '',\n inputVariables: {},\n outputVariables: {},\n name: '',\n}"
920
+ },
921
+ "scrapeFacebookPage": {
922
+ method: "scrapeFacebookPage",
923
+ snippet: "{\n pageUrl: '',\n}"
924
+ },
925
+ "scrapeFacebookPosts": {
926
+ method: "scrapeFacebookPosts",
927
+ snippet: "{\n pageUrl: '',\n}"
928
+ },
929
+ "scrapeInstagramComments": {
930
+ method: "scrapeInstagramComments",
931
+ snippet: "{\n postUrl: '',\n resultsLimit: '',\n}"
932
+ },
933
+ "scrapeInstagramMentions": {
934
+ method: "scrapeInstagramMentions",
935
+ snippet: "{\n profileUrl: '',\n resultsLimit: '',\n}"
936
+ },
937
+ "scrapeInstagramPosts": {
938
+ method: "scrapeInstagramPosts",
939
+ snippet: "{\n profileUrl: '',\n resultsLimit: '',\n onlyPostsNewerThan: '',\n}"
940
+ },
941
+ "scrapeInstagramProfile": {
942
+ method: "scrapeInstagramProfile",
943
+ snippet: "{\n profileUrl: '',\n}"
944
+ },
945
+ "scrapeInstagramReels": {
946
+ method: "scrapeInstagramReels",
947
+ snippet: "{\n profileUrl: '',\n resultsLimit: '',\n}"
948
+ },
949
+ "scrapeLinkedInCompany": {
950
+ method: "scrapeLinkedInCompany",
951
+ snippet: "{\n url: '',\n}"
952
+ },
953
+ "scrapeLinkedInProfile": {
954
+ method: "scrapeLinkedInProfile",
955
+ snippet: "{\n url: '',\n}"
956
+ },
957
+ "scrapeMetaThreadsProfile": {
958
+ method: "scrapeMetaThreadsProfile",
959
+ snippet: "{\n profileUrl: '',\n}"
960
+ },
961
+ "scrapeUrl": {
962
+ method: "scrapeUrl",
963
+ snippet: `{
964
+ url: '',
965
+ service: "default",
966
+ autoEnhance: false,
967
+ outputFormat: "text",
968
+ pageOptions: {},
969
+ }`
970
+ },
971
+ "scrapeXPost": {
972
+ method: "scrapeXPost",
973
+ snippet: "{\n url: '',\n}"
974
+ },
975
+ "scrapeXProfile": {
976
+ method: "scrapeXProfile",
977
+ snippet: "{\n url: '',\n}"
978
+ },
979
+ "searchGoogle": {
980
+ method: "searchGoogle",
981
+ snippet: `{
982
+ query: '',
983
+ exportType: "text",
984
+ }`
985
+ },
986
+ "searchGoogleImages": {
987
+ method: "searchGoogleImages",
988
+ snippet: `{
989
+ query: '',
990
+ exportType: "text",
991
+ }`
992
+ },
993
+ "searchGoogleNews": {
994
+ method: "searchGoogleNews",
995
+ snippet: `{
996
+ text: '',
997
+ exportType: "text",
998
+ }`
999
+ },
1000
+ "searchGoogleTrends": {
1001
+ method: "searchGoogleTrends",
1002
+ snippet: `{
1003
+ text: '',
1004
+ hl: '',
1005
+ geo: '',
1006
+ data_type: "TIMESERIES",
1007
+ cat: '',
1008
+ date: '',
1009
+ ts: '',
1010
+ }`
1011
+ },
1012
+ "searchPerplexity": {
1013
+ method: "searchPerplexity",
1014
+ snippet: `{
1015
+ query: '',
1016
+ exportType: "text",
1017
+ }`
1018
+ },
1019
+ "searchXPosts": {
1020
+ method: "searchXPosts",
1021
+ snippet: `{
1022
+ query: '',
1023
+ scope: "recent",
1024
+ options: {},
1025
+ }`
1026
+ },
1027
+ "searchYoutube": {
1028
+ method: "searchYoutube",
1029
+ snippet: "{\n query: '',\n limitPages: '',\n filter: '',\n filterType: '',\n}"
1030
+ },
1031
+ "searchYoutubeTrends": {
1032
+ method: "searchYoutubeTrends",
1033
+ snippet: `{
1034
+ bp: "now",
1035
+ hl: '',
1036
+ gl: '',
1037
+ }`
1038
+ },
1039
+ "sendEmail": {
1040
+ method: "sendEmail",
1041
+ snippet: "{\n subject: '',\n body: '',\n connectionId: '',\n}"
1042
+ },
1043
+ "sendSMS": {
1044
+ method: "sendSMS",
1045
+ snippet: "{\n body: '',\n connectionId: '',\n}"
1046
+ },
1047
+ "setRunTitle": {
1048
+ method: "setRunTitle",
1049
+ snippet: "{\n title: '',\n}"
1050
+ },
1051
+ "setVariable": {
1052
+ method: "setVariable",
1053
+ snippet: `{
1054
+ value: '',
1055
+ type: "imageUrl",
1056
+ }`
1057
+ },
1058
+ "telegramSendAudio": {
1059
+ method: "telegramSendAudio",
1060
+ snippet: `{
1061
+ botToken: '',
1062
+ chatId: '',
1063
+ audioUrl: '',
1064
+ mode: "audio",
1065
+ }`
1066
+ },
1067
+ "telegramSendFile": {
1068
+ method: "telegramSendFile",
1069
+ snippet: "{\n botToken: '',\n chatId: '',\n fileUrl: '',\n}"
1070
+ },
1071
+ "telegramSendImage": {
1072
+ method: "telegramSendImage",
1073
+ snippet: "{\n botToken: '',\n chatId: '',\n imageUrl: '',\n}"
1074
+ },
1075
+ "telegramSendMessage": {
1076
+ method: "telegramSendMessage",
1077
+ snippet: "{\n botToken: '',\n chatId: '',\n text: '',\n}"
1078
+ },
1079
+ "telegramSendVideo": {
1080
+ method: "telegramSendVideo",
1081
+ snippet: "{\n botToken: '',\n chatId: '',\n videoUrl: '',\n}"
1082
+ },
1083
+ "telegramSetTyping": {
1084
+ method: "telegramSetTyping",
1085
+ snippet: "{\n botToken: '',\n chatId: '',\n}"
1086
+ },
1087
+ "textToSpeech": {
1088
+ method: "textToSpeech",
1089
+ snippet: "{\n text: '',\n}"
1090
+ },
1091
+ "transcribeAudio": {
1092
+ method: "transcribeAudio",
1093
+ snippet: "{\n audioUrl: '',\n prompt: '',\n}"
1094
+ },
1095
+ "trimMedia": {
1096
+ method: "trimMedia",
1097
+ snippet: "{\n inputUrl: '',\n}"
1098
+ },
1099
+ "updateGoogleCalendarEvent": {
1100
+ method: "updateGoogleCalendarEvent",
1101
+ snippet: "{\n connectionId: '',\n eventId: '',\n}"
1102
+ },
1103
+ "updateGoogleDoc": {
1104
+ method: "updateGoogleDoc",
1105
+ snippet: `{
1106
+ documentId: '',
1107
+ connectionId: '',
1108
+ text: '',
1109
+ textType: "plain",
1110
+ operationType: "addToTop",
1111
+ }`
1112
+ },
1113
+ "updateGoogleSheet": {
1114
+ method: "updateGoogleSheet",
1115
+ snippet: `{
1116
+ text: '',
1117
+ connectionId: '',
1118
+ spreadsheetId: '',
1119
+ range: '',
1120
+ operationType: "addToBottom",
1121
+ }`
1122
+ },
1123
+ "upscaleImage": {
1124
+ method: "upscaleImage",
1125
+ snippet: `{
1126
+ imageUrl: '',
1127
+ targetResolution: "2k",
1128
+ engine: "standard",
1129
+ }`
1130
+ },
1131
+ "upscaleVideo": {
1132
+ method: "upscaleVideo",
1133
+ snippet: `{
1134
+ videoUrl: '',
1135
+ targetResolution: "720p",
1136
+ engine: "standard",
1137
+ }`
1138
+ },
1139
+ "userMessage": {
1140
+ method: "userMessage",
1141
+ snippet: "{\n message: '',\n}"
1142
+ },
1143
+ "videoFaceSwap": {
1144
+ method: "videoFaceSwap",
1145
+ snippet: "{\n videoUrl: '',\n faceImageUrl: '',\n targetIndex: 0,\n engine: '',\n}"
1146
+ },
1147
+ "videoRemoveBackground": {
1148
+ method: "videoRemoveBackground",
1149
+ snippet: `{
1150
+ videoUrl: '',
1151
+ newBackground: "transparent",
1152
+ engine: '',
1153
+ }`
1154
+ },
1155
+ "videoRemoveWatermark": {
1156
+ method: "videoRemoveWatermark",
1157
+ snippet: "{\n videoUrl: '',\n engine: '',\n}"
1158
+ },
1159
+ "watermarkImage": {
1160
+ method: "watermarkImage",
1161
+ snippet: `{
1162
+ imageUrl: '',
1163
+ watermarkImageUrl: '',
1164
+ corner: "top-left",
1165
+ paddingPx: 0,
1166
+ widthPx: 0,
1167
+ }`
1168
+ },
1169
+ "watermarkVideo": {
1170
+ method: "watermarkVideo",
1171
+ snippet: `{
1172
+ videoUrl: '',
1173
+ imageUrl: '',
1174
+ corner: "top-left",
1175
+ paddingPx: 0,
1176
+ widthPx: 0,
1177
+ }`
1178
+ }
1179
+ };
1180
+
494
1181
  // src/index.ts
495
1182
  var MindStudioAgent2 = MindStudioAgent;
496
1183
  export {
497
1184
  MindStudioAgent2 as MindStudioAgent,
498
- MindStudioError
1185
+ MindStudioError,
1186
+ stepSnippets
499
1187
  };
500
1188
  //# sourceMappingURL=index.js.map