@hautechai/sdk 0.0.11 → 0.0.13
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/autogenerated/api.d.ts +528 -69
- package/dist/autogenerated/api.js +613 -135
- package/dist/token/permissions.js +2 -6
- package/dist/types.d.ts +1 -3
- package/package.json +1 -1
|
@@ -26,6 +26,13 @@ export const AddAccountToGroupControllerParamsDtoRoleEnum = {
|
|
|
26
26
|
Member: 'member',
|
|
27
27
|
Owner: 'owner'
|
|
28
28
|
};
|
|
29
|
+
export const CompositeElementFitEnum = {
|
|
30
|
+
Cover: 'cover',
|
|
31
|
+
Contain: 'contain',
|
|
32
|
+
Fill: 'fill',
|
|
33
|
+
Inside: 'inside',
|
|
34
|
+
Outside: 'outside'
|
|
35
|
+
};
|
|
29
36
|
export const GPTV1InputModelEnum = {
|
|
30
37
|
Gpt4o: 'gpt-4o'
|
|
31
38
|
};
|
|
@@ -46,7 +53,8 @@ export const ImageEntityKindEnum = {
|
|
|
46
53
|
Stack: 'stack',
|
|
47
54
|
Image: 'image',
|
|
48
55
|
Pose: 'pose',
|
|
49
|
-
Storage: 'storage'
|
|
56
|
+
Storage: 'storage',
|
|
57
|
+
Pipeline: 'pipeline'
|
|
50
58
|
};
|
|
51
59
|
export const ImagineV1InputAspectRatioEnum = {
|
|
52
60
|
_11: '1:1',
|
|
@@ -59,13 +67,20 @@ export const ImagineV1InputAspectRatioEnum = {
|
|
|
59
67
|
_125: '12:5',
|
|
60
68
|
_512: '5:12'
|
|
61
69
|
};
|
|
70
|
+
export const ListStacksParamsDtoOrderByEnum = {
|
|
71
|
+
CreatedAtAsc: 'createdAt_ASC',
|
|
72
|
+
CreatedAtDesc: 'createdAt_DESC',
|
|
73
|
+
UpdatedAtAsc: 'updatedAt_ASC',
|
|
74
|
+
UpdatedAtDesc: 'updatedAt_DESC'
|
|
75
|
+
};
|
|
62
76
|
export const OperationEntityKindEnum = {
|
|
63
77
|
Collection: 'collection',
|
|
64
78
|
Operation: 'operation',
|
|
65
79
|
Stack: 'stack',
|
|
66
80
|
Image: 'image',
|
|
67
81
|
Pose: 'pose',
|
|
68
|
-
Storage: 'storage'
|
|
82
|
+
Storage: 'storage',
|
|
83
|
+
Pipeline: 'pipeline'
|
|
69
84
|
};
|
|
70
85
|
export const OperationEntityStatusEnum = {
|
|
71
86
|
Pending: 'pending',
|
|
@@ -78,12 +93,13 @@ export const PipelineEntityKindEnum = {
|
|
|
78
93
|
Stack: 'stack',
|
|
79
94
|
Image: 'image',
|
|
80
95
|
Pose: 'pose',
|
|
81
|
-
Storage: 'storage'
|
|
96
|
+
Storage: 'storage',
|
|
97
|
+
Pipeline: 'pipeline'
|
|
82
98
|
};
|
|
83
99
|
export const PipelineEntityStatusEnum = {
|
|
84
100
|
Pending: 'pending',
|
|
85
|
-
|
|
86
|
-
|
|
101
|
+
InProgress: 'in_progress',
|
|
102
|
+
Completed: 'completed',
|
|
87
103
|
Failed: 'failed'
|
|
88
104
|
};
|
|
89
105
|
export const PoseEntityKindEnum = {
|
|
@@ -92,7 +108,8 @@ export const PoseEntityKindEnum = {
|
|
|
92
108
|
Stack: 'stack',
|
|
93
109
|
Image: 'image',
|
|
94
110
|
Pose: 'pose',
|
|
95
|
-
Storage: 'storage'
|
|
111
|
+
Storage: 'storage',
|
|
112
|
+
Pipeline: 'pipeline'
|
|
96
113
|
};
|
|
97
114
|
export const RemoveAccountFromGroupControllerParamsDtoRoleEnum = {
|
|
98
115
|
Maintainer: 'maintainer',
|
|
@@ -105,7 +122,8 @@ export const ResourceEntityKindEnum = {
|
|
|
105
122
|
Stack: 'stack',
|
|
106
123
|
Image: 'image',
|
|
107
124
|
Pose: 'pose',
|
|
108
|
-
Storage: 'storage'
|
|
125
|
+
Storage: 'storage',
|
|
126
|
+
Pipeline: 'pipeline'
|
|
109
127
|
};
|
|
110
128
|
export const StackEntityKindEnum = {
|
|
111
129
|
Stack: 'stack'
|
|
@@ -116,7 +134,8 @@ export const StorageEntityKindEnum = {
|
|
|
116
134
|
Stack: 'stack',
|
|
117
135
|
Image: 'image',
|
|
118
136
|
Pose: 'pose',
|
|
119
|
-
Storage: 'storage'
|
|
137
|
+
Storage: 'storage',
|
|
138
|
+
Pipeline: 'pipeline'
|
|
120
139
|
};
|
|
121
140
|
/**
|
|
122
141
|
* AccountsApi - axios parameter creator
|
|
@@ -623,11 +642,206 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
623
642
|
return {
|
|
624
643
|
/**
|
|
625
644
|
*
|
|
645
|
+
* @param {CreateCollectionParamsDto} createCollectionParamsDto
|
|
646
|
+
* @param {*} [options] Override http request option.
|
|
647
|
+
* @throws {RequiredError}
|
|
648
|
+
*/
|
|
649
|
+
callControllerCallCollectionsCreateV1: async (createCollectionParamsDto, options = {}) => {
|
|
650
|
+
// verify required parameter 'createCollectionParamsDto' is not null or undefined
|
|
651
|
+
assertParamExists('callControllerCallCollectionsCreateV1', 'createCollectionParamsDto', createCollectionParamsDto);
|
|
652
|
+
const localVarPath = `/v1/call/collections.create`;
|
|
653
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
654
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
655
|
+
let baseOptions;
|
|
656
|
+
if (configuration) {
|
|
657
|
+
baseOptions = configuration.baseOptions;
|
|
658
|
+
}
|
|
659
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
660
|
+
const localVarHeaderParameter = {};
|
|
661
|
+
const localVarQueryParameter = {};
|
|
662
|
+
// authentication bearer required
|
|
663
|
+
// http bearer authentication required
|
|
664
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
665
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
666
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
668
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
669
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createCollectionParamsDto, localVarRequestOptions, configuration);
|
|
670
|
+
return {
|
|
671
|
+
url: toPathString(localVarUrlObj),
|
|
672
|
+
options: localVarRequestOptions,
|
|
673
|
+
};
|
|
674
|
+
},
|
|
675
|
+
/**
|
|
676
|
+
*
|
|
677
|
+
* @param {GetCollectionParamsDto} getCollectionParamsDto
|
|
678
|
+
* @param {*} [options] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
*/
|
|
681
|
+
callControllerCallCollectionsGetV1: async (getCollectionParamsDto, options = {}) => {
|
|
682
|
+
// verify required parameter 'getCollectionParamsDto' is not null or undefined
|
|
683
|
+
assertParamExists('callControllerCallCollectionsGetV1', 'getCollectionParamsDto', getCollectionParamsDto);
|
|
684
|
+
const localVarPath = `/v1/call/collections.get`;
|
|
685
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
686
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
687
|
+
let baseOptions;
|
|
688
|
+
if (configuration) {
|
|
689
|
+
baseOptions = configuration.baseOptions;
|
|
690
|
+
}
|
|
691
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
692
|
+
const localVarHeaderParameter = {};
|
|
693
|
+
const localVarQueryParameter = {};
|
|
694
|
+
// authentication bearer required
|
|
695
|
+
// http bearer authentication required
|
|
696
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
697
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
698
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
699
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
700
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
701
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getCollectionParamsDto, localVarRequestOptions, configuration);
|
|
702
|
+
return {
|
|
703
|
+
url: toPathString(localVarUrlObj),
|
|
704
|
+
options: localVarRequestOptions,
|
|
705
|
+
};
|
|
706
|
+
},
|
|
707
|
+
/**
|
|
708
|
+
*
|
|
709
|
+
* @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
|
|
710
|
+
* @param {*} [options] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
*/
|
|
713
|
+
callControllerCallCollectionsItemsAddV1: async (addItemsToCollectionParamsDto, options = {}) => {
|
|
714
|
+
// verify required parameter 'addItemsToCollectionParamsDto' is not null or undefined
|
|
715
|
+
assertParamExists('callControllerCallCollectionsItemsAddV1', 'addItemsToCollectionParamsDto', addItemsToCollectionParamsDto);
|
|
716
|
+
const localVarPath = `/v1/call/collections.items.add`;
|
|
717
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
718
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
719
|
+
let baseOptions;
|
|
720
|
+
if (configuration) {
|
|
721
|
+
baseOptions = configuration.baseOptions;
|
|
722
|
+
}
|
|
723
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
724
|
+
const localVarHeaderParameter = {};
|
|
725
|
+
const localVarQueryParameter = {};
|
|
726
|
+
// authentication bearer required
|
|
727
|
+
// http bearer authentication required
|
|
728
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
729
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
730
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
731
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
732
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
733
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addItemsToCollectionParamsDto, localVarRequestOptions, configuration);
|
|
734
|
+
return {
|
|
735
|
+
url: toPathString(localVarUrlObj),
|
|
736
|
+
options: localVarRequestOptions,
|
|
737
|
+
};
|
|
738
|
+
},
|
|
739
|
+
/**
|
|
740
|
+
*
|
|
741
|
+
* @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
|
|
742
|
+
* @param {*} [options] Override http request option.
|
|
743
|
+
* @throws {RequiredError}
|
|
744
|
+
*/
|
|
745
|
+
callControllerCallCollectionsItemsRemoveV1: async (addItemsToCollectionParamsDto, options = {}) => {
|
|
746
|
+
// verify required parameter 'addItemsToCollectionParamsDto' is not null or undefined
|
|
747
|
+
assertParamExists('callControllerCallCollectionsItemsRemoveV1', 'addItemsToCollectionParamsDto', addItemsToCollectionParamsDto);
|
|
748
|
+
const localVarPath = `/v1/call/collections.items.remove`;
|
|
749
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
750
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
751
|
+
let baseOptions;
|
|
752
|
+
if (configuration) {
|
|
753
|
+
baseOptions = configuration.baseOptions;
|
|
754
|
+
}
|
|
755
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
756
|
+
const localVarHeaderParameter = {};
|
|
757
|
+
const localVarQueryParameter = {};
|
|
758
|
+
// authentication bearer required
|
|
759
|
+
// http bearer authentication required
|
|
760
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
761
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
762
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
763
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
764
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
765
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addItemsToCollectionParamsDto, localVarRequestOptions, configuration);
|
|
766
|
+
return {
|
|
767
|
+
url: toPathString(localVarUrlObj),
|
|
768
|
+
options: localVarRequestOptions,
|
|
769
|
+
};
|
|
770
|
+
},
|
|
771
|
+
/**
|
|
772
|
+
*
|
|
773
|
+
* @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
callControllerCallImagesGetUrlsV1: async (getUrlsForImagesParamsDto, options = {}) => {
|
|
778
|
+
// verify required parameter 'getUrlsForImagesParamsDto' is not null or undefined
|
|
779
|
+
assertParamExists('callControllerCallImagesGetUrlsV1', 'getUrlsForImagesParamsDto', getUrlsForImagesParamsDto);
|
|
780
|
+
const localVarPath = `/v1/call/images.getUrls`;
|
|
781
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
782
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
783
|
+
let baseOptions;
|
|
784
|
+
if (configuration) {
|
|
785
|
+
baseOptions = configuration.baseOptions;
|
|
786
|
+
}
|
|
787
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
788
|
+
const localVarHeaderParameter = {};
|
|
789
|
+
const localVarQueryParameter = {};
|
|
790
|
+
// authentication bearer required
|
|
791
|
+
// http bearer authentication required
|
|
792
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
793
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
794
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
795
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
796
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
797
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getUrlsForImagesParamsDto, localVarRequestOptions, configuration);
|
|
798
|
+
return {
|
|
799
|
+
url: toPathString(localVarUrlObj),
|
|
800
|
+
options: localVarRequestOptions,
|
|
801
|
+
};
|
|
802
|
+
},
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @param {CreateStackParamsDto} createStackParamsDto
|
|
806
|
+
* @param {*} [options] Override http request option.
|
|
807
|
+
* @throws {RequiredError}
|
|
808
|
+
*/
|
|
809
|
+
callControllerCallStacksCreateV1: async (createStackParamsDto, options = {}) => {
|
|
810
|
+
// verify required parameter 'createStackParamsDto' is not null or undefined
|
|
811
|
+
assertParamExists('callControllerCallStacksCreateV1', 'createStackParamsDto', createStackParamsDto);
|
|
812
|
+
const localVarPath = `/v1/call/stacks.create`;
|
|
813
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
814
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
815
|
+
let baseOptions;
|
|
816
|
+
if (configuration) {
|
|
817
|
+
baseOptions = configuration.baseOptions;
|
|
818
|
+
}
|
|
819
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
820
|
+
const localVarHeaderParameter = {};
|
|
821
|
+
const localVarQueryParameter = {};
|
|
822
|
+
// authentication bearer required
|
|
823
|
+
// http bearer authentication required
|
|
824
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
825
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
826
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
827
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
828
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
829
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createStackParamsDto, localVarRequestOptions, configuration);
|
|
830
|
+
return {
|
|
831
|
+
url: toPathString(localVarUrlObj),
|
|
832
|
+
options: localVarRequestOptions,
|
|
833
|
+
};
|
|
834
|
+
},
|
|
835
|
+
/**
|
|
836
|
+
*
|
|
837
|
+
* @param {ListStacksParamsDto} listStacksParamsDto
|
|
626
838
|
* @param {*} [options] Override http request option.
|
|
627
839
|
* @throws {RequiredError}
|
|
628
840
|
*/
|
|
629
|
-
|
|
630
|
-
|
|
841
|
+
callControllerCallStacksListV1: async (listStacksParamsDto, options = {}) => {
|
|
842
|
+
// verify required parameter 'listStacksParamsDto' is not null or undefined
|
|
843
|
+
assertParamExists('callControllerCallStacksListV1', 'listStacksParamsDto', listStacksParamsDto);
|
|
844
|
+
const localVarPath = `/v1/call/stacks.list`;
|
|
631
845
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
632
846
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
633
847
|
let baseOptions;
|
|
@@ -640,9 +854,11 @@ export const CallApiAxiosParamCreator = function (configuration) {
|
|
|
640
854
|
// authentication bearer required
|
|
641
855
|
// http bearer authentication required
|
|
642
856
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
857
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
643
858
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
644
859
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
645
860
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
861
|
+
localVarRequestOptions.data = serializeDataIfNeeded(listStacksParamsDto, localVarRequestOptions, configuration);
|
|
646
862
|
return {
|
|
647
863
|
url: toPathString(localVarUrlObj),
|
|
648
864
|
options: localVarRequestOptions,
|
|
@@ -659,13 +875,86 @@ export const CallApiFp = function (configuration) {
|
|
|
659
875
|
return {
|
|
660
876
|
/**
|
|
661
877
|
*
|
|
878
|
+
* @param {CreateCollectionParamsDto} createCollectionParamsDto
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
async callControllerCallCollectionsCreateV1(createCollectionParamsDto, options) {
|
|
883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallCollectionsCreateV1(createCollectionParamsDto, options);
|
|
884
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
885
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallCollectionsCreateV1']?.[localVarOperationServerIndex]?.url;
|
|
886
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
887
|
+
},
|
|
888
|
+
/**
|
|
889
|
+
*
|
|
890
|
+
* @param {GetCollectionParamsDto} getCollectionParamsDto
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
*/
|
|
894
|
+
async callControllerCallCollectionsGetV1(getCollectionParamsDto, options) {
|
|
895
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallCollectionsGetV1(getCollectionParamsDto, options);
|
|
896
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
897
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallCollectionsGetV1']?.[localVarOperationServerIndex]?.url;
|
|
898
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
899
|
+
},
|
|
900
|
+
/**
|
|
901
|
+
*
|
|
902
|
+
* @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
|
|
903
|
+
* @param {*} [options] Override http request option.
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
*/
|
|
906
|
+
async callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options) {
|
|
907
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options);
|
|
908
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
909
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallCollectionsItemsAddV1']?.[localVarOperationServerIndex]?.url;
|
|
910
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
911
|
+
},
|
|
912
|
+
/**
|
|
913
|
+
*
|
|
914
|
+
* @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
|
|
915
|
+
* @param {*} [options] Override http request option.
|
|
916
|
+
* @throws {RequiredError}
|
|
917
|
+
*/
|
|
918
|
+
async callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options) {
|
|
919
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options);
|
|
920
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
921
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallCollectionsItemsRemoveV1']?.[localVarOperationServerIndex]?.url;
|
|
922
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
923
|
+
},
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
*/
|
|
930
|
+
async callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options) {
|
|
931
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options);
|
|
932
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
933
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallImagesGetUrlsV1']?.[localVarOperationServerIndex]?.url;
|
|
934
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
935
|
+
},
|
|
936
|
+
/**
|
|
937
|
+
*
|
|
938
|
+
* @param {CreateStackParamsDto} createStackParamsDto
|
|
939
|
+
* @param {*} [options] Override http request option.
|
|
940
|
+
* @throws {RequiredError}
|
|
941
|
+
*/
|
|
942
|
+
async callControllerCallStacksCreateV1(createStackParamsDto, options) {
|
|
943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallStacksCreateV1(createStackParamsDto, options);
|
|
944
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
945
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallStacksCreateV1']?.[localVarOperationServerIndex]?.url;
|
|
946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
947
|
+
},
|
|
948
|
+
/**
|
|
949
|
+
*
|
|
950
|
+
* @param {ListStacksParamsDto} listStacksParamsDto
|
|
662
951
|
* @param {*} [options] Override http request option.
|
|
663
952
|
* @throws {RequiredError}
|
|
664
953
|
*/
|
|
665
|
-
async
|
|
666
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
954
|
+
async callControllerCallStacksListV1(listStacksParamsDto, options) {
|
|
955
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallStacksListV1(listStacksParamsDto, options);
|
|
667
956
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
668
|
-
const localVarOperationServerBasePath = operationServerMap['CallApi.
|
|
957
|
+
const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallStacksListV1']?.[localVarOperationServerIndex]?.url;
|
|
669
958
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
670
959
|
},
|
|
671
960
|
};
|
|
@@ -679,11 +968,66 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
679
968
|
return {
|
|
680
969
|
/**
|
|
681
970
|
*
|
|
971
|
+
* @param {CreateCollectionParamsDto} createCollectionParamsDto
|
|
972
|
+
* @param {*} [options] Override http request option.
|
|
973
|
+
* @throws {RequiredError}
|
|
974
|
+
*/
|
|
975
|
+
callControllerCallCollectionsCreateV1(createCollectionParamsDto, options) {
|
|
976
|
+
return localVarFp.callControllerCallCollectionsCreateV1(createCollectionParamsDto, options).then((request) => request(axios, basePath));
|
|
977
|
+
},
|
|
978
|
+
/**
|
|
979
|
+
*
|
|
980
|
+
* @param {GetCollectionParamsDto} getCollectionParamsDto
|
|
981
|
+
* @param {*} [options] Override http request option.
|
|
982
|
+
* @throws {RequiredError}
|
|
983
|
+
*/
|
|
984
|
+
callControllerCallCollectionsGetV1(getCollectionParamsDto, options) {
|
|
985
|
+
return localVarFp.callControllerCallCollectionsGetV1(getCollectionParamsDto, options).then((request) => request(axios, basePath));
|
|
986
|
+
},
|
|
987
|
+
/**
|
|
988
|
+
*
|
|
989
|
+
* @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
|
|
990
|
+
* @param {*} [options] Override http request option.
|
|
991
|
+
* @throws {RequiredError}
|
|
992
|
+
*/
|
|
993
|
+
callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options) {
|
|
994
|
+
return localVarFp.callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options).then((request) => request(axios, basePath));
|
|
995
|
+
},
|
|
996
|
+
/**
|
|
997
|
+
*
|
|
998
|
+
* @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
|
|
999
|
+
* @param {*} [options] Override http request option.
|
|
1000
|
+
* @throws {RequiredError}
|
|
1001
|
+
*/
|
|
1002
|
+
callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options) {
|
|
1003
|
+
return localVarFp.callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options).then((request) => request(axios, basePath));
|
|
1004
|
+
},
|
|
1005
|
+
/**
|
|
1006
|
+
*
|
|
1007
|
+
* @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
|
|
1008
|
+
* @param {*} [options] Override http request option.
|
|
1009
|
+
* @throws {RequiredError}
|
|
1010
|
+
*/
|
|
1011
|
+
callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options) {
|
|
1012
|
+
return localVarFp.callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options).then((request) => request(axios, basePath));
|
|
1013
|
+
},
|
|
1014
|
+
/**
|
|
1015
|
+
*
|
|
1016
|
+
* @param {CreateStackParamsDto} createStackParamsDto
|
|
682
1017
|
* @param {*} [options] Override http request option.
|
|
683
1018
|
* @throws {RequiredError}
|
|
684
1019
|
*/
|
|
685
|
-
|
|
686
|
-
return localVarFp.
|
|
1020
|
+
callControllerCallStacksCreateV1(createStackParamsDto, options) {
|
|
1021
|
+
return localVarFp.callControllerCallStacksCreateV1(createStackParamsDto, options).then((request) => request(axios, basePath));
|
|
1022
|
+
},
|
|
1023
|
+
/**
|
|
1024
|
+
*
|
|
1025
|
+
* @param {ListStacksParamsDto} listStacksParamsDto
|
|
1026
|
+
* @param {*} [options] Override http request option.
|
|
1027
|
+
* @throws {RequiredError}
|
|
1028
|
+
*/
|
|
1029
|
+
callControllerCallStacksListV1(listStacksParamsDto, options) {
|
|
1030
|
+
return localVarFp.callControllerCallStacksListV1(listStacksParamsDto, options).then((request) => request(axios, basePath));
|
|
687
1031
|
},
|
|
688
1032
|
};
|
|
689
1033
|
};
|
|
@@ -696,12 +1040,73 @@ export const CallApiFactory = function (configuration, basePath, axios) {
|
|
|
696
1040
|
export class CallApi extends BaseAPI {
|
|
697
1041
|
/**
|
|
698
1042
|
*
|
|
1043
|
+
* @param {CreateCollectionParamsDto} createCollectionParamsDto
|
|
1044
|
+
* @param {*} [options] Override http request option.
|
|
1045
|
+
* @throws {RequiredError}
|
|
1046
|
+
* @memberof CallApi
|
|
1047
|
+
*/
|
|
1048
|
+
callControllerCallCollectionsCreateV1(createCollectionParamsDto, options) {
|
|
1049
|
+
return CallApiFp(this.configuration).callControllerCallCollectionsCreateV1(createCollectionParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
1050
|
+
}
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @param {GetCollectionParamsDto} getCollectionParamsDto
|
|
1054
|
+
* @param {*} [options] Override http request option.
|
|
1055
|
+
* @throws {RequiredError}
|
|
1056
|
+
* @memberof CallApi
|
|
1057
|
+
*/
|
|
1058
|
+
callControllerCallCollectionsGetV1(getCollectionParamsDto, options) {
|
|
1059
|
+
return CallApiFp(this.configuration).callControllerCallCollectionsGetV1(getCollectionParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
*
|
|
1063
|
+
* @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
|
|
1064
|
+
* @param {*} [options] Override http request option.
|
|
1065
|
+
* @throws {RequiredError}
|
|
1066
|
+
* @memberof CallApi
|
|
1067
|
+
*/
|
|
1068
|
+
callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options) {
|
|
1069
|
+
return CallApiFp(this.configuration).callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
|
|
1074
|
+
* @param {*} [options] Override http request option.
|
|
1075
|
+
* @throws {RequiredError}
|
|
1076
|
+
* @memberof CallApi
|
|
1077
|
+
*/
|
|
1078
|
+
callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options) {
|
|
1079
|
+
return CallApiFp(this.configuration).callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
*
|
|
1083
|
+
* @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
|
|
1084
|
+
* @param {*} [options] Override http request option.
|
|
1085
|
+
* @throws {RequiredError}
|
|
1086
|
+
* @memberof CallApi
|
|
1087
|
+
*/
|
|
1088
|
+
callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options) {
|
|
1089
|
+
return CallApiFp(this.configuration).callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
1090
|
+
}
|
|
1091
|
+
/**
|
|
1092
|
+
*
|
|
1093
|
+
* @param {CreateStackParamsDto} createStackParamsDto
|
|
1094
|
+
* @param {*} [options] Override http request option.
|
|
1095
|
+
* @throws {RequiredError}
|
|
1096
|
+
* @memberof CallApi
|
|
1097
|
+
*/
|
|
1098
|
+
callControllerCallStacksCreateV1(createStackParamsDto, options) {
|
|
1099
|
+
return CallApiFp(this.configuration).callControllerCallStacksCreateV1(createStackParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
*
|
|
1103
|
+
* @param {ListStacksParamsDto} listStacksParamsDto
|
|
699
1104
|
* @param {*} [options] Override http request option.
|
|
700
1105
|
* @throws {RequiredError}
|
|
701
1106
|
* @memberof CallApi
|
|
702
1107
|
*/
|
|
703
|
-
|
|
704
|
-
return CallApiFp(this.configuration).
|
|
1108
|
+
callControllerCallStacksListV1(listStacksParamsDto, options) {
|
|
1109
|
+
return CallApiFp(this.configuration).callControllerCallStacksListV1(listStacksParamsDto, options).then((request) => request(this.axios, this.basePath));
|
|
705
1110
|
}
|
|
706
1111
|
}
|
|
707
1112
|
/**
|
|
@@ -1266,7 +1671,8 @@ export const CollectionsControllerListItemsV1KindEnum = {
|
|
|
1266
1671
|
Stack: 'stack',
|
|
1267
1672
|
Image: 'image',
|
|
1268
1673
|
Pose: 'pose',
|
|
1269
|
-
Storage: 'storage'
|
|
1674
|
+
Storage: 'storage',
|
|
1675
|
+
Pipeline: 'pipeline'
|
|
1270
1676
|
};
|
|
1271
1677
|
/**
|
|
1272
1678
|
* GroupsApi - axios parameter creator
|
|
@@ -2075,6 +2481,70 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
2075
2481
|
options: localVarRequestOptions,
|
|
2076
2482
|
};
|
|
2077
2483
|
},
|
|
2484
|
+
/**
|
|
2485
|
+
*
|
|
2486
|
+
* @param {CompositeV1ControllerInput} compositeV1ControllerInput
|
|
2487
|
+
* @param {*} [options] Override http request option.
|
|
2488
|
+
* @throws {RequiredError}
|
|
2489
|
+
*/
|
|
2490
|
+
operationsControllerRunCompositeV1V1: async (compositeV1ControllerInput, options = {}) => {
|
|
2491
|
+
// verify required parameter 'compositeV1ControllerInput' is not null or undefined
|
|
2492
|
+
assertParamExists('operationsControllerRunCompositeV1V1', 'compositeV1ControllerInput', compositeV1ControllerInput);
|
|
2493
|
+
const localVarPath = `/v1/operations/run/composite.v1`;
|
|
2494
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2495
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2496
|
+
let baseOptions;
|
|
2497
|
+
if (configuration) {
|
|
2498
|
+
baseOptions = configuration.baseOptions;
|
|
2499
|
+
}
|
|
2500
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2501
|
+
const localVarHeaderParameter = {};
|
|
2502
|
+
const localVarQueryParameter = {};
|
|
2503
|
+
// authentication bearer required
|
|
2504
|
+
// http bearer authentication required
|
|
2505
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2506
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2507
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2508
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2509
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2510
|
+
localVarRequestOptions.data = serializeDataIfNeeded(compositeV1ControllerInput, localVarRequestOptions, configuration);
|
|
2511
|
+
return {
|
|
2512
|
+
url: toPathString(localVarUrlObj),
|
|
2513
|
+
options: localVarRequestOptions,
|
|
2514
|
+
};
|
|
2515
|
+
},
|
|
2516
|
+
/**
|
|
2517
|
+
*
|
|
2518
|
+
* @param {CutV1ControllerInput} cutV1ControllerInput
|
|
2519
|
+
* @param {*} [options] Override http request option.
|
|
2520
|
+
* @throws {RequiredError}
|
|
2521
|
+
*/
|
|
2522
|
+
operationsControllerRunCutV1V1: async (cutV1ControllerInput, options = {}) => {
|
|
2523
|
+
// verify required parameter 'cutV1ControllerInput' is not null or undefined
|
|
2524
|
+
assertParamExists('operationsControllerRunCutV1V1', 'cutV1ControllerInput', cutV1ControllerInput);
|
|
2525
|
+
const localVarPath = `/v1/operations/run/cut.v1`;
|
|
2526
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2527
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2528
|
+
let baseOptions;
|
|
2529
|
+
if (configuration) {
|
|
2530
|
+
baseOptions = configuration.baseOptions;
|
|
2531
|
+
}
|
|
2532
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2533
|
+
const localVarHeaderParameter = {};
|
|
2534
|
+
const localVarQueryParameter = {};
|
|
2535
|
+
// authentication bearer required
|
|
2536
|
+
// http bearer authentication required
|
|
2537
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2538
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2539
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2540
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2541
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2542
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cutV1ControllerInput, localVarRequestOptions, configuration);
|
|
2543
|
+
return {
|
|
2544
|
+
url: toPathString(localVarUrlObj),
|
|
2545
|
+
options: localVarRequestOptions,
|
|
2546
|
+
};
|
|
2547
|
+
},
|
|
2078
2548
|
/**
|
|
2079
2549
|
*
|
|
2080
2550
|
* @param {GenerateV1ControllerInput} generateV1ControllerInput
|
|
@@ -2331,6 +2801,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
|
|
|
2331
2801
|
options: localVarRequestOptions,
|
|
2332
2802
|
};
|
|
2333
2803
|
},
|
|
2804
|
+
/**
|
|
2805
|
+
*
|
|
2806
|
+
* @param {SegmentAnythingMaskV1ControllerInput} segmentAnythingMaskV1ControllerInput
|
|
2807
|
+
* @param {*} [options] Override http request option.
|
|
2808
|
+
* @throws {RequiredError}
|
|
2809
|
+
*/
|
|
2810
|
+
operationsControllerRunSegmentAnythingMaskV1V1: async (segmentAnythingMaskV1ControllerInput, options = {}) => {
|
|
2811
|
+
// verify required parameter 'segmentAnythingMaskV1ControllerInput' is not null or undefined
|
|
2812
|
+
assertParamExists('operationsControllerRunSegmentAnythingMaskV1V1', 'segmentAnythingMaskV1ControllerInput', segmentAnythingMaskV1ControllerInput);
|
|
2813
|
+
const localVarPath = `/v1/operations/run/segmentAnything.mask.v1`;
|
|
2814
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2815
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2816
|
+
let baseOptions;
|
|
2817
|
+
if (configuration) {
|
|
2818
|
+
baseOptions = configuration.baseOptions;
|
|
2819
|
+
}
|
|
2820
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2821
|
+
const localVarHeaderParameter = {};
|
|
2822
|
+
const localVarQueryParameter = {};
|
|
2823
|
+
// authentication bearer required
|
|
2824
|
+
// http bearer authentication required
|
|
2825
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2826
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2827
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2828
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2829
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2830
|
+
localVarRequestOptions.data = serializeDataIfNeeded(segmentAnythingMaskV1ControllerInput, localVarRequestOptions, configuration);
|
|
2831
|
+
return {
|
|
2832
|
+
url: toPathString(localVarUrlObj),
|
|
2833
|
+
options: localVarRequestOptions,
|
|
2834
|
+
};
|
|
2835
|
+
},
|
|
2334
2836
|
/**
|
|
2335
2837
|
*
|
|
2336
2838
|
* @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
|
|
@@ -2446,6 +2948,30 @@ export const OperationsApiFp = function (configuration) {
|
|
|
2446
2948
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerListOperationsV1']?.[localVarOperationServerIndex]?.url;
|
|
2447
2949
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2448
2950
|
},
|
|
2951
|
+
/**
|
|
2952
|
+
*
|
|
2953
|
+
* @param {CompositeV1ControllerInput} compositeV1ControllerInput
|
|
2954
|
+
* @param {*} [options] Override http request option.
|
|
2955
|
+
* @throws {RequiredError}
|
|
2956
|
+
*/
|
|
2957
|
+
async operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options) {
|
|
2958
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options);
|
|
2959
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2960
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunCompositeV1V1']?.[localVarOperationServerIndex]?.url;
|
|
2961
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2962
|
+
},
|
|
2963
|
+
/**
|
|
2964
|
+
*
|
|
2965
|
+
* @param {CutV1ControllerInput} cutV1ControllerInput
|
|
2966
|
+
* @param {*} [options] Override http request option.
|
|
2967
|
+
* @throws {RequiredError}
|
|
2968
|
+
*/
|
|
2969
|
+
async operationsControllerRunCutV1V1(cutV1ControllerInput, options) {
|
|
2970
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunCutV1V1(cutV1ControllerInput, options);
|
|
2971
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2972
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunCutV1V1']?.[localVarOperationServerIndex]?.url;
|
|
2973
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2974
|
+
},
|
|
2449
2975
|
/**
|
|
2450
2976
|
*
|
|
2451
2977
|
* @param {GenerateV1ControllerInput} generateV1ControllerInput
|
|
@@ -2542,6 +3068,18 @@ export const OperationsApiFp = function (configuration) {
|
|
|
2542
3068
|
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunSegmentAnythingEmbeddingsV1V1']?.[localVarOperationServerIndex]?.url;
|
|
2543
3069
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2544
3070
|
},
|
|
3071
|
+
/**
|
|
3072
|
+
*
|
|
3073
|
+
* @param {SegmentAnythingMaskV1ControllerInput} segmentAnythingMaskV1ControllerInput
|
|
3074
|
+
* @param {*} [options] Override http request option.
|
|
3075
|
+
* @throws {RequiredError}
|
|
3076
|
+
*/
|
|
3077
|
+
async operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options) {
|
|
3078
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options);
|
|
3079
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3080
|
+
const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunSegmentAnythingMaskV1V1']?.[localVarOperationServerIndex]?.url;
|
|
3081
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3082
|
+
},
|
|
2545
3083
|
/**
|
|
2546
3084
|
*
|
|
2547
3085
|
* @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
|
|
@@ -2605,6 +3143,24 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
2605
3143
|
operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
|
|
2606
3144
|
return localVarFp.operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(axios, basePath));
|
|
2607
3145
|
},
|
|
3146
|
+
/**
|
|
3147
|
+
*
|
|
3148
|
+
* @param {CompositeV1ControllerInput} compositeV1ControllerInput
|
|
3149
|
+
* @param {*} [options] Override http request option.
|
|
3150
|
+
* @throws {RequiredError}
|
|
3151
|
+
*/
|
|
3152
|
+
operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options) {
|
|
3153
|
+
return localVarFp.operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
3154
|
+
},
|
|
3155
|
+
/**
|
|
3156
|
+
*
|
|
3157
|
+
* @param {CutV1ControllerInput} cutV1ControllerInput
|
|
3158
|
+
* @param {*} [options] Override http request option.
|
|
3159
|
+
* @throws {RequiredError}
|
|
3160
|
+
*/
|
|
3161
|
+
operationsControllerRunCutV1V1(cutV1ControllerInput, options) {
|
|
3162
|
+
return localVarFp.operationsControllerRunCutV1V1(cutV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
3163
|
+
},
|
|
2608
3164
|
/**
|
|
2609
3165
|
*
|
|
2610
3166
|
* @param {GenerateV1ControllerInput} generateV1ControllerInput
|
|
@@ -2677,6 +3233,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
|
|
|
2677
3233
|
operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options) {
|
|
2678
3234
|
return localVarFp.operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
2679
3235
|
},
|
|
3236
|
+
/**
|
|
3237
|
+
*
|
|
3238
|
+
* @param {SegmentAnythingMaskV1ControllerInput} segmentAnythingMaskV1ControllerInput
|
|
3239
|
+
* @param {*} [options] Override http request option.
|
|
3240
|
+
* @throws {RequiredError}
|
|
3241
|
+
*/
|
|
3242
|
+
operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options) {
|
|
3243
|
+
return localVarFp.operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options).then((request) => request(axios, basePath));
|
|
3244
|
+
},
|
|
2680
3245
|
/**
|
|
2681
3246
|
*
|
|
2682
3247
|
* @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
|
|
@@ -2737,6 +3302,26 @@ export class OperationsApi extends BaseAPI {
|
|
|
2737
3302
|
operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
|
|
2738
3303
|
return OperationsApiFp(this.configuration).operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
2739
3304
|
}
|
|
3305
|
+
/**
|
|
3306
|
+
*
|
|
3307
|
+
* @param {CompositeV1ControllerInput} compositeV1ControllerInput
|
|
3308
|
+
* @param {*} [options] Override http request option.
|
|
3309
|
+
* @throws {RequiredError}
|
|
3310
|
+
* @memberof OperationsApi
|
|
3311
|
+
*/
|
|
3312
|
+
operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options) {
|
|
3313
|
+
return OperationsApiFp(this.configuration).operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
3314
|
+
}
|
|
3315
|
+
/**
|
|
3316
|
+
*
|
|
3317
|
+
* @param {CutV1ControllerInput} cutV1ControllerInput
|
|
3318
|
+
* @param {*} [options] Override http request option.
|
|
3319
|
+
* @throws {RequiredError}
|
|
3320
|
+
* @memberof OperationsApi
|
|
3321
|
+
*/
|
|
3322
|
+
operationsControllerRunCutV1V1(cutV1ControllerInput, options) {
|
|
3323
|
+
return OperationsApiFp(this.configuration).operationsControllerRunCutV1V1(cutV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
3324
|
+
}
|
|
2740
3325
|
/**
|
|
2741
3326
|
*
|
|
2742
3327
|
* @param {GenerateV1ControllerInput} generateV1ControllerInput
|
|
@@ -2817,6 +3402,16 @@ export class OperationsApi extends BaseAPI {
|
|
|
2817
3402
|
operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options) {
|
|
2818
3403
|
return OperationsApiFp(this.configuration).operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
2819
3404
|
}
|
|
3405
|
+
/**
|
|
3406
|
+
*
|
|
3407
|
+
* @param {SegmentAnythingMaskV1ControllerInput} segmentAnythingMaskV1ControllerInput
|
|
3408
|
+
* @param {*} [options] Override http request option.
|
|
3409
|
+
* @throws {RequiredError}
|
|
3410
|
+
* @memberof OperationsApi
|
|
3411
|
+
*/
|
|
3412
|
+
operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options) {
|
|
3413
|
+
return OperationsApiFp(this.configuration).operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
|
|
3414
|
+
}
|
|
2820
3415
|
/**
|
|
2821
3416
|
*
|
|
2822
3417
|
* @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
|
|
@@ -2917,64 +3512,6 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
|
2917
3512
|
options: localVarRequestOptions,
|
|
2918
3513
|
};
|
|
2919
3514
|
},
|
|
2920
|
-
/**
|
|
2921
|
-
*
|
|
2922
|
-
* @param {*} [options] Override http request option.
|
|
2923
|
-
* @throws {RequiredError}
|
|
2924
|
-
*/
|
|
2925
|
-
pipelinesControllerListPipelinesV1: async (options = {}) => {
|
|
2926
|
-
const localVarPath = `/v1/pipelines`;
|
|
2927
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2928
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2929
|
-
let baseOptions;
|
|
2930
|
-
if (configuration) {
|
|
2931
|
-
baseOptions = configuration.baseOptions;
|
|
2932
|
-
}
|
|
2933
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
2934
|
-
const localVarHeaderParameter = {};
|
|
2935
|
-
const localVarQueryParameter = {};
|
|
2936
|
-
// authentication bearer required
|
|
2937
|
-
// http bearer authentication required
|
|
2938
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2939
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2940
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2941
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2942
|
-
return {
|
|
2943
|
-
url: toPathString(localVarUrlObj),
|
|
2944
|
-
options: localVarRequestOptions,
|
|
2945
|
-
};
|
|
2946
|
-
},
|
|
2947
|
-
/**
|
|
2948
|
-
*
|
|
2949
|
-
* @param {string} id
|
|
2950
|
-
* @param {*} [options] Override http request option.
|
|
2951
|
-
* @throws {RequiredError}
|
|
2952
|
-
*/
|
|
2953
|
-
pipelinesControllerUpdatePipelineV1: async (id, options = {}) => {
|
|
2954
|
-
// verify required parameter 'id' is not null or undefined
|
|
2955
|
-
assertParamExists('pipelinesControllerUpdatePipelineV1', 'id', id);
|
|
2956
|
-
const localVarPath = `/v1/pipelines/{id}`
|
|
2957
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2958
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2959
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2960
|
-
let baseOptions;
|
|
2961
|
-
if (configuration) {
|
|
2962
|
-
baseOptions = configuration.baseOptions;
|
|
2963
|
-
}
|
|
2964
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
2965
|
-
const localVarHeaderParameter = {};
|
|
2966
|
-
const localVarQueryParameter = {};
|
|
2967
|
-
// authentication bearer required
|
|
2968
|
-
// http bearer authentication required
|
|
2969
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2970
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2971
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2972
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2973
|
-
return {
|
|
2974
|
-
url: toPathString(localVarUrlObj),
|
|
2975
|
-
options: localVarRequestOptions,
|
|
2976
|
-
};
|
|
2977
|
-
},
|
|
2978
3515
|
};
|
|
2979
3516
|
};
|
|
2980
3517
|
/**
|
|
@@ -3008,29 +3545,6 @@ export const PipelinesApiFp = function (configuration) {
|
|
|
3008
3545
|
const localVarOperationServerBasePath = operationServerMap['PipelinesApi.pipelinesControllerGetPipelineV1']?.[localVarOperationServerIndex]?.url;
|
|
3009
3546
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3010
3547
|
},
|
|
3011
|
-
/**
|
|
3012
|
-
*
|
|
3013
|
-
* @param {*} [options] Override http request option.
|
|
3014
|
-
* @throws {RequiredError}
|
|
3015
|
-
*/
|
|
3016
|
-
async pipelinesControllerListPipelinesV1(options) {
|
|
3017
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.pipelinesControllerListPipelinesV1(options);
|
|
3018
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3019
|
-
const localVarOperationServerBasePath = operationServerMap['PipelinesApi.pipelinesControllerListPipelinesV1']?.[localVarOperationServerIndex]?.url;
|
|
3020
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3021
|
-
},
|
|
3022
|
-
/**
|
|
3023
|
-
*
|
|
3024
|
-
* @param {string} id
|
|
3025
|
-
* @param {*} [options] Override http request option.
|
|
3026
|
-
* @throws {RequiredError}
|
|
3027
|
-
*/
|
|
3028
|
-
async pipelinesControllerUpdatePipelineV1(id, options) {
|
|
3029
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.pipelinesControllerUpdatePipelineV1(id, options);
|
|
3030
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3031
|
-
const localVarOperationServerBasePath = operationServerMap['PipelinesApi.pipelinesControllerUpdatePipelineV1']?.[localVarOperationServerIndex]?.url;
|
|
3032
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3033
|
-
},
|
|
3034
3548
|
};
|
|
3035
3549
|
};
|
|
3036
3550
|
/**
|
|
@@ -3058,23 +3572,6 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
|
|
|
3058
3572
|
pipelinesControllerGetPipelineV1(id, options) {
|
|
3059
3573
|
return localVarFp.pipelinesControllerGetPipelineV1(id, options).then((request) => request(axios, basePath));
|
|
3060
3574
|
},
|
|
3061
|
-
/**
|
|
3062
|
-
*
|
|
3063
|
-
* @param {*} [options] Override http request option.
|
|
3064
|
-
* @throws {RequiredError}
|
|
3065
|
-
*/
|
|
3066
|
-
pipelinesControllerListPipelinesV1(options) {
|
|
3067
|
-
return localVarFp.pipelinesControllerListPipelinesV1(options).then((request) => request(axios, basePath));
|
|
3068
|
-
},
|
|
3069
|
-
/**
|
|
3070
|
-
*
|
|
3071
|
-
* @param {string} id
|
|
3072
|
-
* @param {*} [options] Override http request option.
|
|
3073
|
-
* @throws {RequiredError}
|
|
3074
|
-
*/
|
|
3075
|
-
pipelinesControllerUpdatePipelineV1(id, options) {
|
|
3076
|
-
return localVarFp.pipelinesControllerUpdatePipelineV1(id, options).then((request) => request(axios, basePath));
|
|
3077
|
-
},
|
|
3078
3575
|
};
|
|
3079
3576
|
};
|
|
3080
3577
|
/**
|
|
@@ -3104,25 +3601,6 @@ export class PipelinesApi extends BaseAPI {
|
|
|
3104
3601
|
pipelinesControllerGetPipelineV1(id, options) {
|
|
3105
3602
|
return PipelinesApiFp(this.configuration).pipelinesControllerGetPipelineV1(id, options).then((request) => request(this.axios, this.basePath));
|
|
3106
3603
|
}
|
|
3107
|
-
/**
|
|
3108
|
-
*
|
|
3109
|
-
* @param {*} [options] Override http request option.
|
|
3110
|
-
* @throws {RequiredError}
|
|
3111
|
-
* @memberof PipelinesApi
|
|
3112
|
-
*/
|
|
3113
|
-
pipelinesControllerListPipelinesV1(options) {
|
|
3114
|
-
return PipelinesApiFp(this.configuration).pipelinesControllerListPipelinesV1(options).then((request) => request(this.axios, this.basePath));
|
|
3115
|
-
}
|
|
3116
|
-
/**
|
|
3117
|
-
*
|
|
3118
|
-
* @param {string} id
|
|
3119
|
-
* @param {*} [options] Override http request option.
|
|
3120
|
-
* @throws {RequiredError}
|
|
3121
|
-
* @memberof PipelinesApi
|
|
3122
|
-
*/
|
|
3123
|
-
pipelinesControllerUpdatePipelineV1(id, options) {
|
|
3124
|
-
return PipelinesApiFp(this.configuration).pipelinesControllerUpdatePipelineV1(id, options).then((request) => request(this.axios, this.basePath));
|
|
3125
|
-
}
|
|
3126
3604
|
}
|
|
3127
3605
|
/**
|
|
3128
3606
|
* PosesApi - axios parameter creator
|