@relevanceai/sdk 1.77.0 → 1.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -486,6 +486,166 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
|
|
|
486
486
|
options
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
|
+
async CreateConnector(input, options) {
|
|
490
|
+
return this.SendRequest({
|
|
491
|
+
input,
|
|
492
|
+
method: 'post',
|
|
493
|
+
path: '/connectors/create',
|
|
494
|
+
options
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
async CheckConnection(input, options) {
|
|
498
|
+
return this.SendRequest({
|
|
499
|
+
input,
|
|
500
|
+
method: 'post',
|
|
501
|
+
path: '/connectors/check_connection',
|
|
502
|
+
options
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
async GetConnector(input, options) {
|
|
506
|
+
return this.SendRequest({
|
|
507
|
+
input,
|
|
508
|
+
method: 'get',
|
|
509
|
+
path: '/connectors/{connector_id}/get',
|
|
510
|
+
options
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
async UpdateConnector(input, options) {
|
|
514
|
+
return this.SendRequest({
|
|
515
|
+
input,
|
|
516
|
+
method: 'post',
|
|
517
|
+
path: '/connectors/{connector_id}/update',
|
|
518
|
+
options
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
async TriggerConnector(input, options) {
|
|
522
|
+
return this.SendRequest({
|
|
523
|
+
input,
|
|
524
|
+
method: 'post',
|
|
525
|
+
path: '/connectors/{connector_id}/trigger',
|
|
526
|
+
options
|
|
527
|
+
});
|
|
528
|
+
}
|
|
529
|
+
async DeleteConnector(input, options) {
|
|
530
|
+
return this.SendRequest({
|
|
531
|
+
input,
|
|
532
|
+
method: 'post',
|
|
533
|
+
path: '/connectors/{connector_id}/delete',
|
|
534
|
+
options
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
async ListConnectors(input, options) {
|
|
538
|
+
return this.SendRequest({
|
|
539
|
+
input,
|
|
540
|
+
method: 'get',
|
|
541
|
+
path: '/connectors/list',
|
|
542
|
+
options
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
async ListConnectorTypes(input, options) {
|
|
546
|
+
return this.SendRequest({
|
|
547
|
+
input,
|
|
548
|
+
method: 'get',
|
|
549
|
+
path: '/connectors/types/list',
|
|
550
|
+
options
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
async GetConnectorType(input, options) {
|
|
554
|
+
return this.SendRequest({
|
|
555
|
+
input,
|
|
556
|
+
method: 'get',
|
|
557
|
+
path: '/connectors/types/{connector_id}/get',
|
|
558
|
+
options
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
async ListConnectorJobs(input, options) {
|
|
562
|
+
return this.SendRequest({
|
|
563
|
+
input,
|
|
564
|
+
method: 'get',
|
|
565
|
+
path: '/connectors/{connector_id}/jobs/list',
|
|
566
|
+
options
|
|
567
|
+
});
|
|
568
|
+
}
|
|
569
|
+
async GetConnectorJob(input, options) {
|
|
570
|
+
return this.SendRequest({
|
|
571
|
+
input,
|
|
572
|
+
method: 'get',
|
|
573
|
+
path: '/connectors/{connector_id}/jobs/{job_id}/get',
|
|
574
|
+
options
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
async TriggerWorkflow(input, options) {
|
|
578
|
+
return this.SendRequest({
|
|
579
|
+
input,
|
|
580
|
+
method: 'post',
|
|
581
|
+
path: '/workflows/trigger',
|
|
582
|
+
options
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
async ListWorkflows(input, options) {
|
|
586
|
+
return this.SendRequest({
|
|
587
|
+
input,
|
|
588
|
+
method: 'get',
|
|
589
|
+
path: '/workflows/list',
|
|
590
|
+
options
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
async GetWorkflowStatus(input, options) {
|
|
594
|
+
return this.SendRequest({
|
|
595
|
+
input,
|
|
596
|
+
method: 'post',
|
|
597
|
+
path: '/workflows/{workflow_id}/get',
|
|
598
|
+
options
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
async DeleteWorkflowStatus(input, options) {
|
|
602
|
+
return this.SendRequest({
|
|
603
|
+
input,
|
|
604
|
+
method: 'post',
|
|
605
|
+
path: '/workflows/{workflow_id}/delete',
|
|
606
|
+
options
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
async UpsertWorkflowMetadata(input, options) {
|
|
610
|
+
return this.SendRequest({
|
|
611
|
+
input,
|
|
612
|
+
method: 'post',
|
|
613
|
+
path: '/workflows/{workflow_id}/metadata',
|
|
614
|
+
options
|
|
615
|
+
});
|
|
616
|
+
}
|
|
617
|
+
async UpsertWorkflowStatus(input, options) {
|
|
618
|
+
return this.SendRequest({
|
|
619
|
+
input,
|
|
620
|
+
method: 'post',
|
|
621
|
+
path: '/workflows/{workflow_id}/status',
|
|
622
|
+
options
|
|
623
|
+
});
|
|
624
|
+
}
|
|
625
|
+
async ListWorkflowTypes(input, options) {
|
|
626
|
+
return this.SendRequest({
|
|
627
|
+
input,
|
|
628
|
+
method: 'get',
|
|
629
|
+
path: '/workflows/types/list',
|
|
630
|
+
options
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
async GetWorkflowType(input, options) {
|
|
634
|
+
return this.SendRequest({
|
|
635
|
+
input,
|
|
636
|
+
method: 'get',
|
|
637
|
+
path: '/workflows/types/{workflow_id}/get',
|
|
638
|
+
options
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
async ValidateWorkflowParams(input, options) {
|
|
642
|
+
return this.SendRequest({
|
|
643
|
+
input,
|
|
644
|
+
method: 'post',
|
|
645
|
+
path: '/workflows/types/{workflow_id}/validate',
|
|
646
|
+
options
|
|
647
|
+
});
|
|
648
|
+
}
|
|
489
649
|
async Insert(input, options) {
|
|
490
650
|
return this.SendRequest({
|
|
491
651
|
input,
|
|
@@ -854,51 +1014,11 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
|
|
|
854
1014
|
options
|
|
855
1015
|
});
|
|
856
1016
|
}
|
|
857
|
-
async
|
|
858
|
-
return this.SendRequest({
|
|
859
|
-
input,
|
|
860
|
-
method: 'post',
|
|
861
|
-
path: '/workflows/trigger',
|
|
862
|
-
options
|
|
863
|
-
});
|
|
864
|
-
}
|
|
865
|
-
async ListWorkflows(input, options) {
|
|
866
|
-
return this.SendRequest({
|
|
867
|
-
input,
|
|
868
|
-
method: 'get',
|
|
869
|
-
path: '/workflows/list',
|
|
870
|
-
options
|
|
871
|
-
});
|
|
872
|
-
}
|
|
873
|
-
async GetWorkflowStatus(input, options) {
|
|
1017
|
+
async CreateImageFromPrompt(input, options) {
|
|
874
1018
|
return this.SendRequest({
|
|
875
1019
|
input,
|
|
876
1020
|
method: 'post',
|
|
877
|
-
path: '/
|
|
878
|
-
options
|
|
879
|
-
});
|
|
880
|
-
}
|
|
881
|
-
async DeleteWorkflowStatus(input, options) {
|
|
882
|
-
return this.SendRequest({
|
|
883
|
-
input,
|
|
884
|
-
method: 'post',
|
|
885
|
-
path: '/workflows/{workflow_id}/delete',
|
|
886
|
-
options
|
|
887
|
-
});
|
|
888
|
-
}
|
|
889
|
-
async UpsertWorkflowMetadata(input, options) {
|
|
890
|
-
return this.SendRequest({
|
|
891
|
-
input,
|
|
892
|
-
method: 'post',
|
|
893
|
-
path: '/workflows/{workflow_id}/metadata',
|
|
894
|
-
options
|
|
895
|
-
});
|
|
896
|
-
}
|
|
897
|
-
async UpsertWorkflowStatus(input, options) {
|
|
898
|
-
return this.SendRequest({
|
|
899
|
-
input,
|
|
900
|
-
method: 'post',
|
|
901
|
-
path: '/workflows/{workflow_id}/status',
|
|
1021
|
+
path: '/services/prompt_to_image/create',
|
|
902
1022
|
options
|
|
903
1023
|
});
|
|
904
1024
|
}
|
|
@@ -786,6 +786,246 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
|
|
|
786
786
|
});
|
|
787
787
|
});
|
|
788
788
|
};
|
|
789
|
+
DiscoveryApiClient.prototype.CreateConnector = function (input, options) {
|
|
790
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
791
|
+
return __generator(this, function (_a) {
|
|
792
|
+
return [2 /*return*/, this.SendRequest({
|
|
793
|
+
input: input,
|
|
794
|
+
method: 'post',
|
|
795
|
+
path: '/connectors/create',
|
|
796
|
+
options: options
|
|
797
|
+
})];
|
|
798
|
+
});
|
|
799
|
+
});
|
|
800
|
+
};
|
|
801
|
+
DiscoveryApiClient.prototype.CheckConnection = function (input, options) {
|
|
802
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
803
|
+
return __generator(this, function (_a) {
|
|
804
|
+
return [2 /*return*/, this.SendRequest({
|
|
805
|
+
input: input,
|
|
806
|
+
method: 'post',
|
|
807
|
+
path: '/connectors/check_connection',
|
|
808
|
+
options: options
|
|
809
|
+
})];
|
|
810
|
+
});
|
|
811
|
+
});
|
|
812
|
+
};
|
|
813
|
+
DiscoveryApiClient.prototype.GetConnector = function (input, options) {
|
|
814
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
815
|
+
return __generator(this, function (_a) {
|
|
816
|
+
return [2 /*return*/, this.SendRequest({
|
|
817
|
+
input: input,
|
|
818
|
+
method: 'get',
|
|
819
|
+
path: '/connectors/{connector_id}/get',
|
|
820
|
+
options: options
|
|
821
|
+
})];
|
|
822
|
+
});
|
|
823
|
+
});
|
|
824
|
+
};
|
|
825
|
+
DiscoveryApiClient.prototype.UpdateConnector = function (input, options) {
|
|
826
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
827
|
+
return __generator(this, function (_a) {
|
|
828
|
+
return [2 /*return*/, this.SendRequest({
|
|
829
|
+
input: input,
|
|
830
|
+
method: 'post',
|
|
831
|
+
path: '/connectors/{connector_id}/update',
|
|
832
|
+
options: options
|
|
833
|
+
})];
|
|
834
|
+
});
|
|
835
|
+
});
|
|
836
|
+
};
|
|
837
|
+
DiscoveryApiClient.prototype.TriggerConnector = function (input, options) {
|
|
838
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
839
|
+
return __generator(this, function (_a) {
|
|
840
|
+
return [2 /*return*/, this.SendRequest({
|
|
841
|
+
input: input,
|
|
842
|
+
method: 'post',
|
|
843
|
+
path: '/connectors/{connector_id}/trigger',
|
|
844
|
+
options: options
|
|
845
|
+
})];
|
|
846
|
+
});
|
|
847
|
+
});
|
|
848
|
+
};
|
|
849
|
+
DiscoveryApiClient.prototype.DeleteConnector = function (input, options) {
|
|
850
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
851
|
+
return __generator(this, function (_a) {
|
|
852
|
+
return [2 /*return*/, this.SendRequest({
|
|
853
|
+
input: input,
|
|
854
|
+
method: 'post',
|
|
855
|
+
path: '/connectors/{connector_id}/delete',
|
|
856
|
+
options: options
|
|
857
|
+
})];
|
|
858
|
+
});
|
|
859
|
+
});
|
|
860
|
+
};
|
|
861
|
+
DiscoveryApiClient.prototype.ListConnectors = function (input, options) {
|
|
862
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
863
|
+
return __generator(this, function (_a) {
|
|
864
|
+
return [2 /*return*/, this.SendRequest({
|
|
865
|
+
input: input,
|
|
866
|
+
method: 'get',
|
|
867
|
+
path: '/connectors/list',
|
|
868
|
+
options: options
|
|
869
|
+
})];
|
|
870
|
+
});
|
|
871
|
+
});
|
|
872
|
+
};
|
|
873
|
+
DiscoveryApiClient.prototype.ListConnectorTypes = function (input, options) {
|
|
874
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
875
|
+
return __generator(this, function (_a) {
|
|
876
|
+
return [2 /*return*/, this.SendRequest({
|
|
877
|
+
input: input,
|
|
878
|
+
method: 'get',
|
|
879
|
+
path: '/connectors/types/list',
|
|
880
|
+
options: options
|
|
881
|
+
})];
|
|
882
|
+
});
|
|
883
|
+
});
|
|
884
|
+
};
|
|
885
|
+
DiscoveryApiClient.prototype.GetConnectorType = function (input, options) {
|
|
886
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
887
|
+
return __generator(this, function (_a) {
|
|
888
|
+
return [2 /*return*/, this.SendRequest({
|
|
889
|
+
input: input,
|
|
890
|
+
method: 'get',
|
|
891
|
+
path: '/connectors/types/{connector_id}/get',
|
|
892
|
+
options: options
|
|
893
|
+
})];
|
|
894
|
+
});
|
|
895
|
+
});
|
|
896
|
+
};
|
|
897
|
+
DiscoveryApiClient.prototype.ListConnectorJobs = function (input, options) {
|
|
898
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
899
|
+
return __generator(this, function (_a) {
|
|
900
|
+
return [2 /*return*/, this.SendRequest({
|
|
901
|
+
input: input,
|
|
902
|
+
method: 'get',
|
|
903
|
+
path: '/connectors/{connector_id}/jobs/list',
|
|
904
|
+
options: options
|
|
905
|
+
})];
|
|
906
|
+
});
|
|
907
|
+
});
|
|
908
|
+
};
|
|
909
|
+
DiscoveryApiClient.prototype.GetConnectorJob = function (input, options) {
|
|
910
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
911
|
+
return __generator(this, function (_a) {
|
|
912
|
+
return [2 /*return*/, this.SendRequest({
|
|
913
|
+
input: input,
|
|
914
|
+
method: 'get',
|
|
915
|
+
path: '/connectors/{connector_id}/jobs/{job_id}/get',
|
|
916
|
+
options: options
|
|
917
|
+
})];
|
|
918
|
+
});
|
|
919
|
+
});
|
|
920
|
+
};
|
|
921
|
+
DiscoveryApiClient.prototype.TriggerWorkflow = function (input, options) {
|
|
922
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
923
|
+
return __generator(this, function (_a) {
|
|
924
|
+
return [2 /*return*/, this.SendRequest({
|
|
925
|
+
input: input,
|
|
926
|
+
method: 'post',
|
|
927
|
+
path: '/workflows/trigger',
|
|
928
|
+
options: options
|
|
929
|
+
})];
|
|
930
|
+
});
|
|
931
|
+
});
|
|
932
|
+
};
|
|
933
|
+
DiscoveryApiClient.prototype.ListWorkflows = function (input, options) {
|
|
934
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
935
|
+
return __generator(this, function (_a) {
|
|
936
|
+
return [2 /*return*/, this.SendRequest({
|
|
937
|
+
input: input,
|
|
938
|
+
method: 'get',
|
|
939
|
+
path: '/workflows/list',
|
|
940
|
+
options: options
|
|
941
|
+
})];
|
|
942
|
+
});
|
|
943
|
+
});
|
|
944
|
+
};
|
|
945
|
+
DiscoveryApiClient.prototype.GetWorkflowStatus = function (input, options) {
|
|
946
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
947
|
+
return __generator(this, function (_a) {
|
|
948
|
+
return [2 /*return*/, this.SendRequest({
|
|
949
|
+
input: input,
|
|
950
|
+
method: 'post',
|
|
951
|
+
path: '/workflows/{workflow_id}/get',
|
|
952
|
+
options: options
|
|
953
|
+
})];
|
|
954
|
+
});
|
|
955
|
+
});
|
|
956
|
+
};
|
|
957
|
+
DiscoveryApiClient.prototype.DeleteWorkflowStatus = function (input, options) {
|
|
958
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
959
|
+
return __generator(this, function (_a) {
|
|
960
|
+
return [2 /*return*/, this.SendRequest({
|
|
961
|
+
input: input,
|
|
962
|
+
method: 'post',
|
|
963
|
+
path: '/workflows/{workflow_id}/delete',
|
|
964
|
+
options: options
|
|
965
|
+
})];
|
|
966
|
+
});
|
|
967
|
+
});
|
|
968
|
+
};
|
|
969
|
+
DiscoveryApiClient.prototype.UpsertWorkflowMetadata = function (input, options) {
|
|
970
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
971
|
+
return __generator(this, function (_a) {
|
|
972
|
+
return [2 /*return*/, this.SendRequest({
|
|
973
|
+
input: input,
|
|
974
|
+
method: 'post',
|
|
975
|
+
path: '/workflows/{workflow_id}/metadata',
|
|
976
|
+
options: options
|
|
977
|
+
})];
|
|
978
|
+
});
|
|
979
|
+
});
|
|
980
|
+
};
|
|
981
|
+
DiscoveryApiClient.prototype.UpsertWorkflowStatus = function (input, options) {
|
|
982
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
983
|
+
return __generator(this, function (_a) {
|
|
984
|
+
return [2 /*return*/, this.SendRequest({
|
|
985
|
+
input: input,
|
|
986
|
+
method: 'post',
|
|
987
|
+
path: '/workflows/{workflow_id}/status',
|
|
988
|
+
options: options
|
|
989
|
+
})];
|
|
990
|
+
});
|
|
991
|
+
});
|
|
992
|
+
};
|
|
993
|
+
DiscoveryApiClient.prototype.ListWorkflowTypes = function (input, options) {
|
|
994
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
995
|
+
return __generator(this, function (_a) {
|
|
996
|
+
return [2 /*return*/, this.SendRequest({
|
|
997
|
+
input: input,
|
|
998
|
+
method: 'get',
|
|
999
|
+
path: '/workflows/types/list',
|
|
1000
|
+
options: options
|
|
1001
|
+
})];
|
|
1002
|
+
});
|
|
1003
|
+
});
|
|
1004
|
+
};
|
|
1005
|
+
DiscoveryApiClient.prototype.GetWorkflowType = function (input, options) {
|
|
1006
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1007
|
+
return __generator(this, function (_a) {
|
|
1008
|
+
return [2 /*return*/, this.SendRequest({
|
|
1009
|
+
input: input,
|
|
1010
|
+
method: 'get',
|
|
1011
|
+
path: '/workflows/types/{workflow_id}/get',
|
|
1012
|
+
options: options
|
|
1013
|
+
})];
|
|
1014
|
+
});
|
|
1015
|
+
});
|
|
1016
|
+
};
|
|
1017
|
+
DiscoveryApiClient.prototype.ValidateWorkflowParams = function (input, options) {
|
|
1018
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1019
|
+
return __generator(this, function (_a) {
|
|
1020
|
+
return [2 /*return*/, this.SendRequest({
|
|
1021
|
+
input: input,
|
|
1022
|
+
method: 'post',
|
|
1023
|
+
path: '/workflows/types/{workflow_id}/validate',
|
|
1024
|
+
options: options
|
|
1025
|
+
})];
|
|
1026
|
+
});
|
|
1027
|
+
});
|
|
1028
|
+
};
|
|
789
1029
|
DiscoveryApiClient.prototype.Insert = function (input, options) {
|
|
790
1030
|
return __awaiter(this, void 0, void 0, function () {
|
|
791
1031
|
return __generator(this, function (_a) {
|
|
@@ -1338,73 +1578,13 @@ var DiscoveryApiClient = /** @class */ (function (_super) {
|
|
|
1338
1578
|
});
|
|
1339
1579
|
});
|
|
1340
1580
|
};
|
|
1341
|
-
DiscoveryApiClient.prototype.
|
|
1342
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1343
|
-
return __generator(this, function (_a) {
|
|
1344
|
-
return [2 /*return*/, this.SendRequest({
|
|
1345
|
-
input: input,
|
|
1346
|
-
method: 'post',
|
|
1347
|
-
path: '/workflows/trigger',
|
|
1348
|
-
options: options
|
|
1349
|
-
})];
|
|
1350
|
-
});
|
|
1351
|
-
});
|
|
1352
|
-
};
|
|
1353
|
-
DiscoveryApiClient.prototype.ListWorkflows = function (input, options) {
|
|
1354
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1355
|
-
return __generator(this, function (_a) {
|
|
1356
|
-
return [2 /*return*/, this.SendRequest({
|
|
1357
|
-
input: input,
|
|
1358
|
-
method: 'get',
|
|
1359
|
-
path: '/workflows/list',
|
|
1360
|
-
options: options
|
|
1361
|
-
})];
|
|
1362
|
-
});
|
|
1363
|
-
});
|
|
1364
|
-
};
|
|
1365
|
-
DiscoveryApiClient.prototype.GetWorkflowStatus = function (input, options) {
|
|
1366
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1367
|
-
return __generator(this, function (_a) {
|
|
1368
|
-
return [2 /*return*/, this.SendRequest({
|
|
1369
|
-
input: input,
|
|
1370
|
-
method: 'post',
|
|
1371
|
-
path: '/workflows/{workflow_id}/get',
|
|
1372
|
-
options: options
|
|
1373
|
-
})];
|
|
1374
|
-
});
|
|
1375
|
-
});
|
|
1376
|
-
};
|
|
1377
|
-
DiscoveryApiClient.prototype.DeleteWorkflowStatus = function (input, options) {
|
|
1378
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1379
|
-
return __generator(this, function (_a) {
|
|
1380
|
-
return [2 /*return*/, this.SendRequest({
|
|
1381
|
-
input: input,
|
|
1382
|
-
method: 'post',
|
|
1383
|
-
path: '/workflows/{workflow_id}/delete',
|
|
1384
|
-
options: options
|
|
1385
|
-
})];
|
|
1386
|
-
});
|
|
1387
|
-
});
|
|
1388
|
-
};
|
|
1389
|
-
DiscoveryApiClient.prototype.UpsertWorkflowMetadata = function (input, options) {
|
|
1581
|
+
DiscoveryApiClient.prototype.CreateImageFromPrompt = function (input, options) {
|
|
1390
1582
|
return __awaiter(this, void 0, void 0, function () {
|
|
1391
1583
|
return __generator(this, function (_a) {
|
|
1392
1584
|
return [2 /*return*/, this.SendRequest({
|
|
1393
1585
|
input: input,
|
|
1394
1586
|
method: 'post',
|
|
1395
|
-
path: '/
|
|
1396
|
-
options: options
|
|
1397
|
-
})];
|
|
1398
|
-
});
|
|
1399
|
-
});
|
|
1400
|
-
};
|
|
1401
|
-
DiscoveryApiClient.prototype.UpsertWorkflowStatus = function (input, options) {
|
|
1402
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1403
|
-
return __generator(this, function (_a) {
|
|
1404
|
-
return [2 /*return*/, this.SendRequest({
|
|
1405
|
-
input: input,
|
|
1406
|
-
method: 'post',
|
|
1407
|
-
path: '/workflows/{workflow_id}/status',
|
|
1587
|
+
path: '/services/prompt_to_image/create',
|
|
1408
1588
|
options: options
|
|
1409
1589
|
})];
|
|
1410
1590
|
});
|
|
@@ -120,6 +120,46 @@ export declare type ListUsersInOrganizationInput = {};
|
|
|
120
120
|
export declare type ListUsersInOrganizationOutput = operations['ListUsersInOrganization']['responses']['200']['content']['application/json'];
|
|
121
121
|
export declare type ListProjectsInOrganizationInput = {};
|
|
122
122
|
export declare type ListProjectsInOrganizationOutput = operations['ListProjectsInOrganization']['responses']['200']['content']['application/json'];
|
|
123
|
+
export declare type CreateConnectorInput = operations['CreateConnector']['requestBody']['content']['application/json'];
|
|
124
|
+
export declare type CreateConnectorOutput = operations['CreateConnector']['responses']['200']['content']['application/json'];
|
|
125
|
+
export declare type CheckConnectionInput = operations['CheckConnection']['requestBody']['content']['application/json'];
|
|
126
|
+
export declare type CheckConnectionOutput = operations['CheckConnection']['responses']['200']['content']['application/json'];
|
|
127
|
+
export declare type GetConnectorInput = {};
|
|
128
|
+
export declare type GetConnectorOutput = operations['GetConnector']['responses']['200']['content']['application/json'];
|
|
129
|
+
export declare type UpdateConnectorInput = operations['UpdateConnector']['requestBody']['content']['application/json'];
|
|
130
|
+
export declare type UpdateConnectorOutput = operations['UpdateConnector']['responses']['200']['content']['application/json'];
|
|
131
|
+
export declare type TriggerConnectorInput = operations['TriggerConnector']['requestBody']['content']['application/json'];
|
|
132
|
+
export declare type TriggerConnectorOutput = operations['TriggerConnector']['responses']['200']['content']['application/json'];
|
|
133
|
+
export declare type DeleteConnectorInput = operations['DeleteConnector']['requestBody']['content']['application/json'];
|
|
134
|
+
export declare type DeleteConnectorOutput = operations['DeleteConnector']['responses']['200']['content']['application/json'];
|
|
135
|
+
export declare type ListConnectorsInput = {};
|
|
136
|
+
export declare type ListConnectorsOutput = operations['ListConnectors']['responses']['200']['content']['application/json'];
|
|
137
|
+
export declare type ListConnectorTypesInput = {};
|
|
138
|
+
export declare type ListConnectorTypesOutput = operations['ListConnectorTypes']['responses']['200']['content']['application/json'];
|
|
139
|
+
export declare type GetConnectorTypeInput = {};
|
|
140
|
+
export declare type GetConnectorTypeOutput = operations['GetConnectorType']['responses']['200']['content']['application/json'];
|
|
141
|
+
export declare type ListConnectorJobsInput = {};
|
|
142
|
+
export declare type ListConnectorJobsOutput = operations['ListConnectorJobs']['responses']['200']['content']['application/json'];
|
|
143
|
+
export declare type GetConnectorJobInput = {};
|
|
144
|
+
export declare type GetConnectorJobOutput = operations['GetConnectorJob']['responses']['200']['content']['application/json'];
|
|
145
|
+
export declare type TriggerWorkflowInput = operations['TriggerWorkflow']['requestBody']['content']['application/json'];
|
|
146
|
+
export declare type TriggerWorkflowOutput = operations['TriggerWorkflow']['responses']['200']['content']['application/json'];
|
|
147
|
+
export declare type ListWorkflowsInput = {};
|
|
148
|
+
export declare type ListWorkflowsOutput = operations['ListWorkflows']['responses']['200']['content']['application/json'];
|
|
149
|
+
export declare type GetWorkflowStatusInput = operations['GetWorkflowStatus']['requestBody']['content']['application/json'];
|
|
150
|
+
export declare type GetWorkflowStatusOutput = operations['GetWorkflowStatus']['responses']['200']['content']['application/json'];
|
|
151
|
+
export declare type DeleteWorkflowStatusInput = operations['DeleteWorkflowStatus']['requestBody']['content']['application/json'];
|
|
152
|
+
export declare type DeleteWorkflowStatusOutput = operations['DeleteWorkflowStatus']['responses']['200']['content']['application/json'];
|
|
153
|
+
export declare type UpsertWorkflowMetadataInput = operations['UpsertWorkflowMetadata']['requestBody']['content']['application/json'];
|
|
154
|
+
export declare type UpsertWorkflowMetadataOutput = operations['UpsertWorkflowMetadata']['responses']['200']['content']['application/json'];
|
|
155
|
+
export declare type UpsertWorkflowStatusInput = operations['UpsertWorkflowStatus']['requestBody']['content']['application/json'];
|
|
156
|
+
export declare type UpsertWorkflowStatusOutput = operations['UpsertWorkflowStatus']['responses']['200']['content']['application/json'];
|
|
157
|
+
export declare type ListWorkflowTypesInput = {};
|
|
158
|
+
export declare type ListWorkflowTypesOutput = operations['ListWorkflowTypes']['responses']['200']['content']['application/json'];
|
|
159
|
+
export declare type GetWorkflowTypeInput = {};
|
|
160
|
+
export declare type GetWorkflowTypeOutput = operations['GetWorkflowType']['responses']['200']['content']['application/json'];
|
|
161
|
+
export declare type ValidateWorkflowParamsInput = operations['ValidateWorkflowParams']['requestBody']['content']['application/json'];
|
|
162
|
+
export declare type ValidateWorkflowParamsOutput = operations['ValidateWorkflowParams']['responses']['200']['content']['application/json'];
|
|
123
163
|
export declare type InsertInput = operations['Insert']['requestBody']['content']['application/json'];
|
|
124
164
|
export declare type InsertOutput = operations['Insert']['responses']['200']['content']['application/json'];
|
|
125
165
|
export declare type BulkInsertInput = operations['BulkInsert']['requestBody']['content']['application/json'];
|
|
@@ -212,18 +252,8 @@ export declare type VectorizeAndInsertInput = operations['VectorizeAndInsert']['
|
|
|
212
252
|
export declare type VectorizeAndInsertOutput = operations['VectorizeAndInsert']['responses']['200']['content']['application/json'];
|
|
213
253
|
export declare type VectorizeFieldInput = operations['VectorizeField']['requestBody']['content']['application/json'];
|
|
214
254
|
export declare type VectorizeFieldOutput = operations['VectorizeField']['responses']['200']['content']['application/json'];
|
|
215
|
-
export declare type
|
|
216
|
-
export declare type
|
|
217
|
-
export declare type ListWorkflowsInput = {};
|
|
218
|
-
export declare type ListWorkflowsOutput = operations['ListWorkflows']['responses']['200']['content']['application/json'];
|
|
219
|
-
export declare type GetWorkflowStatusInput = operations['GetWorkflowStatus']['requestBody']['content']['application/json'];
|
|
220
|
-
export declare type GetWorkflowStatusOutput = operations['GetWorkflowStatus']['responses']['200']['content']['application/json'];
|
|
221
|
-
export declare type DeleteWorkflowStatusInput = operations['DeleteWorkflowStatus']['requestBody']['content']['application/json'];
|
|
222
|
-
export declare type DeleteWorkflowStatusOutput = operations['DeleteWorkflowStatus']['responses']['200']['content']['application/json'];
|
|
223
|
-
export declare type UpsertWorkflowMetadataInput = operations['UpsertWorkflowMetadata']['requestBody']['content']['application/json'];
|
|
224
|
-
export declare type UpsertWorkflowMetadataOutput = operations['UpsertWorkflowMetadata']['responses']['200']['content']['application/json'];
|
|
225
|
-
export declare type UpsertWorkflowStatusInput = operations['UpsertWorkflowStatus']['requestBody']['content']['application/json'];
|
|
226
|
-
export declare type UpsertWorkflowStatusOutput = operations['UpsertWorkflowStatus']['responses']['200']['content']['application/json'];
|
|
255
|
+
export declare type CreateImageFromPromptInput = operations['CreateImageFromPrompt']['requestBody']['content']['application/json'];
|
|
256
|
+
export declare type CreateImageFromPromptOutput = operations['CreateImageFromPrompt']['responses']['200']['content']['application/json'];
|
|
227
257
|
export declare type DeleteFieldChildrenInput = operations['DeleteFieldChildren']['requestBody']['content']['application/json'];
|
|
228
258
|
export declare type DeleteFieldChildrenOutput = operations['DeleteFieldChildren']['responses']['200']['content']['application/json'];
|
|
229
259
|
export declare type ListFieldChildrensInput = operations['ListFieldChildrens']['requestBody']['content']['application/json'];
|
|
@@ -308,6 +338,26 @@ export declare class DiscoveryApiClient extends _GenericClient {
|
|
|
308
338
|
GetOrganizationUsage(input: CommandInput<GetOrganizationUsageInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetOrganizationUsageOutput>>;
|
|
309
339
|
ListUsersInOrganization(input: CommandInput<ListUsersInOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListUsersInOrganizationOutput>>;
|
|
310
340
|
ListProjectsInOrganization(input: CommandInput<ListProjectsInOrganizationInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListProjectsInOrganizationOutput>>;
|
|
341
|
+
CreateConnector(input: CommandInput<CreateConnectorInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateConnectorOutput>>;
|
|
342
|
+
CheckConnection(input: CommandInput<CheckConnectionInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CheckConnectionOutput>>;
|
|
343
|
+
GetConnector(input: CommandInput<GetConnectorInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetConnectorOutput>>;
|
|
344
|
+
UpdateConnector(input: CommandInput<UpdateConnectorInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateConnectorOutput>>;
|
|
345
|
+
TriggerConnector(input: CommandInput<TriggerConnectorInput>, options?: _GenericMethodOptions): Promise<CommandOutput<TriggerConnectorOutput>>;
|
|
346
|
+
DeleteConnector(input: CommandInput<DeleteConnectorInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteConnectorOutput>>;
|
|
347
|
+
ListConnectors(input: CommandInput<ListConnectorsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListConnectorsOutput>>;
|
|
348
|
+
ListConnectorTypes(input: CommandInput<ListConnectorTypesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListConnectorTypesOutput>>;
|
|
349
|
+
GetConnectorType(input: CommandInput<GetConnectorTypeInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetConnectorTypeOutput>>;
|
|
350
|
+
ListConnectorJobs(input: CommandInput<ListConnectorJobsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListConnectorJobsOutput>>;
|
|
351
|
+
GetConnectorJob(input: CommandInput<GetConnectorJobInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetConnectorJobOutput>>;
|
|
352
|
+
TriggerWorkflow(input: CommandInput<TriggerWorkflowInput>, options?: _GenericMethodOptions): Promise<CommandOutput<TriggerWorkflowOutput>>;
|
|
353
|
+
ListWorkflows(input: CommandInput<ListWorkflowsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListWorkflowsOutput>>;
|
|
354
|
+
GetWorkflowStatus(input: CommandInput<GetWorkflowStatusInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetWorkflowStatusOutput>>;
|
|
355
|
+
DeleteWorkflowStatus(input: CommandInput<DeleteWorkflowStatusInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteWorkflowStatusOutput>>;
|
|
356
|
+
UpsertWorkflowMetadata(input: CommandInput<UpsertWorkflowMetadataInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpsertWorkflowMetadataOutput>>;
|
|
357
|
+
UpsertWorkflowStatus(input: CommandInput<UpsertWorkflowStatusInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpsertWorkflowStatusOutput>>;
|
|
358
|
+
ListWorkflowTypes(input: CommandInput<ListWorkflowTypesInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListWorkflowTypesOutput>>;
|
|
359
|
+
GetWorkflowType(input: CommandInput<GetWorkflowTypeInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetWorkflowTypeOutput>>;
|
|
360
|
+
ValidateWorkflowParams(input: CommandInput<ValidateWorkflowParamsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ValidateWorkflowParamsOutput>>;
|
|
311
361
|
Insert(input: CommandInput<InsertInput>, options?: _GenericMethodOptions): Promise<CommandOutput<InsertOutput>>;
|
|
312
362
|
BulkInsert(input: CommandInput<BulkInsertInput>, options?: _GenericMethodOptions): Promise<CommandOutput<BulkInsertOutput>>;
|
|
313
363
|
GetFileUploadUrlsForDataset(input: CommandInput<GetFileUploadUrlsForDatasetInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetFileUploadUrlsForDatasetOutput>>;
|
|
@@ -354,12 +404,7 @@ export declare class DiscoveryApiClient extends _GenericClient {
|
|
|
354
404
|
Vectorize(input: CommandInput<VectorizeInput>, options?: _GenericMethodOptions): Promise<CommandOutput<VectorizeOutput>>;
|
|
355
405
|
VectorizeAndInsert(input: CommandInput<VectorizeAndInsertInput>, options?: _GenericMethodOptions): Promise<CommandOutput<VectorizeAndInsertOutput>>;
|
|
356
406
|
VectorizeField(input: CommandInput<VectorizeFieldInput>, options?: _GenericMethodOptions): Promise<CommandOutput<VectorizeFieldOutput>>;
|
|
357
|
-
|
|
358
|
-
ListWorkflows(input: CommandInput<ListWorkflowsInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListWorkflowsOutput>>;
|
|
359
|
-
GetWorkflowStatus(input: CommandInput<GetWorkflowStatusInput>, options?: _GenericMethodOptions): Promise<CommandOutput<GetWorkflowStatusOutput>>;
|
|
360
|
-
DeleteWorkflowStatus(input: CommandInput<DeleteWorkflowStatusInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteWorkflowStatusOutput>>;
|
|
361
|
-
UpsertWorkflowMetadata(input: CommandInput<UpsertWorkflowMetadataInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpsertWorkflowMetadataOutput>>;
|
|
362
|
-
UpsertWorkflowStatus(input: CommandInput<UpsertWorkflowStatusInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpsertWorkflowStatusOutput>>;
|
|
407
|
+
CreateImageFromPrompt(input: CommandInput<CreateImageFromPromptInput>, options?: _GenericMethodOptions): Promise<CommandOutput<CreateImageFromPromptOutput>>;
|
|
363
408
|
DeleteFieldChildren(input: CommandInput<DeleteFieldChildrenInput>, options?: _GenericMethodOptions): Promise<CommandOutput<DeleteFieldChildrenOutput>>;
|
|
364
409
|
ListFieldChildrens(input: CommandInput<ListFieldChildrensInput>, options?: _GenericMethodOptions): Promise<CommandOutput<ListFieldChildrensOutput>>;
|
|
365
410
|
UpdateFieldChildren(input: CommandInput<UpdateFieldChildrenInput>, options?: _GenericMethodOptions): Promise<CommandOutput<UpdateFieldChildrenOutput>>;
|