@hautechai/sdk 0.0.12 → 0.0.14

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.
@@ -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,12 @@ 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
- Running: 'running',
86
- Success: 'success',
101
+ Completed: 'completed',
87
102
  Failed: 'failed'
88
103
  };
89
104
  export const PoseEntityKindEnum = {
@@ -92,7 +107,8 @@ export const PoseEntityKindEnum = {
92
107
  Stack: 'stack',
93
108
  Image: 'image',
94
109
  Pose: 'pose',
95
- Storage: 'storage'
110
+ Storage: 'storage',
111
+ Pipeline: 'pipeline'
96
112
  };
97
113
  export const RemoveAccountFromGroupControllerParamsDtoRoleEnum = {
98
114
  Maintainer: 'maintainer',
@@ -105,7 +121,8 @@ export const ResourceEntityKindEnum = {
105
121
  Stack: 'stack',
106
122
  Image: 'image',
107
123
  Pose: 'pose',
108
- Storage: 'storage'
124
+ Storage: 'storage',
125
+ Pipeline: 'pipeline'
109
126
  };
110
127
  export const StackEntityKindEnum = {
111
128
  Stack: 'stack'
@@ -116,7 +133,8 @@ export const StorageEntityKindEnum = {
116
133
  Stack: 'stack',
117
134
  Image: 'image',
118
135
  Pose: 'pose',
119
- Storage: 'storage'
136
+ Storage: 'storage',
137
+ Pipeline: 'pipeline'
120
138
  };
121
139
  /**
122
140
  * AccountsApi - axios parameter creator
@@ -623,11 +641,110 @@ export const CallApiAxiosParamCreator = function (configuration) {
623
641
  return {
624
642
  /**
625
643
  *
644
+ * @param {CreateCollectionParamsDto} createCollectionParamsDto
645
+ * @param {*} [options] Override http request option.
646
+ * @throws {RequiredError}
647
+ */
648
+ callControllerCallCollectionsCreateV1: async (createCollectionParamsDto, options = {}) => {
649
+ // verify required parameter 'createCollectionParamsDto' is not null or undefined
650
+ assertParamExists('callControllerCallCollectionsCreateV1', 'createCollectionParamsDto', createCollectionParamsDto);
651
+ const localVarPath = `/v1/call/collections.create`;
652
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
653
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
654
+ let baseOptions;
655
+ if (configuration) {
656
+ baseOptions = configuration.baseOptions;
657
+ }
658
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
659
+ const localVarHeaderParameter = {};
660
+ const localVarQueryParameter = {};
661
+ // authentication bearer required
662
+ // http bearer authentication required
663
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
664
+ localVarHeaderParameter['Content-Type'] = 'application/json';
665
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
666
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
667
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
668
+ localVarRequestOptions.data = serializeDataIfNeeded(createCollectionParamsDto, localVarRequestOptions, configuration);
669
+ return {
670
+ url: toPathString(localVarUrlObj),
671
+ options: localVarRequestOptions,
672
+ };
673
+ },
674
+ /**
675
+ *
676
+ * @param {GetCollectionParamsDto} getCollectionParamsDto
677
+ * @param {*} [options] Override http request option.
678
+ * @throws {RequiredError}
679
+ */
680
+ callControllerCallCollectionsGetV1: async (getCollectionParamsDto, options = {}) => {
681
+ // verify required parameter 'getCollectionParamsDto' is not null or undefined
682
+ assertParamExists('callControllerCallCollectionsGetV1', 'getCollectionParamsDto', getCollectionParamsDto);
683
+ const localVarPath = `/v1/call/collections.get`;
684
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
685
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
686
+ let baseOptions;
687
+ if (configuration) {
688
+ baseOptions = configuration.baseOptions;
689
+ }
690
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
691
+ const localVarHeaderParameter = {};
692
+ const localVarQueryParameter = {};
693
+ // authentication bearer required
694
+ // http bearer authentication required
695
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
696
+ localVarHeaderParameter['Content-Type'] = 'application/json';
697
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
698
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
699
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
700
+ localVarRequestOptions.data = serializeDataIfNeeded(getCollectionParamsDto, localVarRequestOptions, configuration);
701
+ return {
702
+ url: toPathString(localVarUrlObj),
703
+ options: localVarRequestOptions,
704
+ };
705
+ },
706
+ /**
707
+ *
708
+ * @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
709
+ * @param {*} [options] Override http request option.
710
+ * @throws {RequiredError}
711
+ */
712
+ callControllerCallCollectionsItemsAddV1: async (addItemsToCollectionParamsDto, options = {}) => {
713
+ // verify required parameter 'addItemsToCollectionParamsDto' is not null or undefined
714
+ assertParamExists('callControllerCallCollectionsItemsAddV1', 'addItemsToCollectionParamsDto', addItemsToCollectionParamsDto);
715
+ const localVarPath = `/v1/call/collections.items.add`;
716
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
717
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
718
+ let baseOptions;
719
+ if (configuration) {
720
+ baseOptions = configuration.baseOptions;
721
+ }
722
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
723
+ const localVarHeaderParameter = {};
724
+ const localVarQueryParameter = {};
725
+ // authentication bearer required
726
+ // http bearer authentication required
727
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
728
+ localVarHeaderParameter['Content-Type'] = 'application/json';
729
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
730
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
731
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
732
+ localVarRequestOptions.data = serializeDataIfNeeded(addItemsToCollectionParamsDto, localVarRequestOptions, configuration);
733
+ return {
734
+ url: toPathString(localVarUrlObj),
735
+ options: localVarRequestOptions,
736
+ };
737
+ },
738
+ /**
739
+ *
740
+ * @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
626
741
  * @param {*} [options] Override http request option.
627
742
  * @throws {RequiredError}
628
743
  */
629
- callControllerCallMethodV1: async (options = {}) => {
630
- const localVarPath = `/v1/call`;
744
+ callControllerCallCollectionsItemsRemoveV1: async (addItemsToCollectionParamsDto, options = {}) => {
745
+ // verify required parameter 'addItemsToCollectionParamsDto' is not null or undefined
746
+ assertParamExists('callControllerCallCollectionsItemsRemoveV1', 'addItemsToCollectionParamsDto', addItemsToCollectionParamsDto);
747
+ const localVarPath = `/v1/call/collections.items.remove`;
631
748
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
632
749
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
633
750
  let baseOptions;
@@ -640,9 +757,107 @@ export const CallApiAxiosParamCreator = function (configuration) {
640
757
  // authentication bearer required
641
758
  // http bearer authentication required
642
759
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
760
+ localVarHeaderParameter['Content-Type'] = 'application/json';
643
761
  setSearchParams(localVarUrlObj, localVarQueryParameter);
644
762
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
645
763
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
764
+ localVarRequestOptions.data = serializeDataIfNeeded(addItemsToCollectionParamsDto, localVarRequestOptions, configuration);
765
+ return {
766
+ url: toPathString(localVarUrlObj),
767
+ options: localVarRequestOptions,
768
+ };
769
+ },
770
+ /**
771
+ *
772
+ * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
773
+ * @param {*} [options] Override http request option.
774
+ * @throws {RequiredError}
775
+ */
776
+ callControllerCallImagesGetUrlsV1: async (getUrlsForImagesParamsDto, options = {}) => {
777
+ // verify required parameter 'getUrlsForImagesParamsDto' is not null or undefined
778
+ assertParamExists('callControllerCallImagesGetUrlsV1', 'getUrlsForImagesParamsDto', getUrlsForImagesParamsDto);
779
+ const localVarPath = `/v1/call/images.getUrls`;
780
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
781
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
782
+ let baseOptions;
783
+ if (configuration) {
784
+ baseOptions = configuration.baseOptions;
785
+ }
786
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
787
+ const localVarHeaderParameter = {};
788
+ const localVarQueryParameter = {};
789
+ // authentication bearer required
790
+ // http bearer authentication required
791
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
792
+ localVarHeaderParameter['Content-Type'] = 'application/json';
793
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
794
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
795
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
796
+ localVarRequestOptions.data = serializeDataIfNeeded(getUrlsForImagesParamsDto, localVarRequestOptions, configuration);
797
+ return {
798
+ url: toPathString(localVarUrlObj),
799
+ options: localVarRequestOptions,
800
+ };
801
+ },
802
+ /**
803
+ *
804
+ * @param {CreateStackParamsDto} createStackParamsDto
805
+ * @param {*} [options] Override http request option.
806
+ * @throws {RequiredError}
807
+ */
808
+ callControllerCallStacksCreateV1: async (createStackParamsDto, options = {}) => {
809
+ // verify required parameter 'createStackParamsDto' is not null or undefined
810
+ assertParamExists('callControllerCallStacksCreateV1', 'createStackParamsDto', createStackParamsDto);
811
+ const localVarPath = `/v1/call/stacks.create`;
812
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
813
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
814
+ let baseOptions;
815
+ if (configuration) {
816
+ baseOptions = configuration.baseOptions;
817
+ }
818
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
819
+ const localVarHeaderParameter = {};
820
+ const localVarQueryParameter = {};
821
+ // authentication bearer required
822
+ // http bearer authentication required
823
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
824
+ localVarHeaderParameter['Content-Type'] = 'application/json';
825
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
826
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
827
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
828
+ localVarRequestOptions.data = serializeDataIfNeeded(createStackParamsDto, localVarRequestOptions, configuration);
829
+ return {
830
+ url: toPathString(localVarUrlObj),
831
+ options: localVarRequestOptions,
832
+ };
833
+ },
834
+ /**
835
+ *
836
+ * @param {ListStacksParamsDto} listStacksParamsDto
837
+ * @param {*} [options] Override http request option.
838
+ * @throws {RequiredError}
839
+ */
840
+ callControllerCallStacksListV1: async (listStacksParamsDto, options = {}) => {
841
+ // verify required parameter 'listStacksParamsDto' is not null or undefined
842
+ assertParamExists('callControllerCallStacksListV1', 'listStacksParamsDto', listStacksParamsDto);
843
+ const localVarPath = `/v1/call/stacks.list`;
844
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
845
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
846
+ let baseOptions;
847
+ if (configuration) {
848
+ baseOptions = configuration.baseOptions;
849
+ }
850
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
851
+ const localVarHeaderParameter = {};
852
+ const localVarQueryParameter = {};
853
+ // authentication bearer required
854
+ // http bearer authentication required
855
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
856
+ localVarHeaderParameter['Content-Type'] = 'application/json';
857
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
858
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
859
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
860
+ localVarRequestOptions.data = serializeDataIfNeeded(listStacksParamsDto, localVarRequestOptions, configuration);
646
861
  return {
647
862
  url: toPathString(localVarUrlObj),
648
863
  options: localVarRequestOptions,
@@ -659,13 +874,86 @@ export const CallApiFp = function (configuration) {
659
874
  return {
660
875
  /**
661
876
  *
877
+ * @param {CreateCollectionParamsDto} createCollectionParamsDto
878
+ * @param {*} [options] Override http request option.
879
+ * @throws {RequiredError}
880
+ */
881
+ async callControllerCallCollectionsCreateV1(createCollectionParamsDto, options) {
882
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallCollectionsCreateV1(createCollectionParamsDto, options);
883
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
884
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallCollectionsCreateV1']?.[localVarOperationServerIndex]?.url;
885
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
886
+ },
887
+ /**
888
+ *
889
+ * @param {GetCollectionParamsDto} getCollectionParamsDto
890
+ * @param {*} [options] Override http request option.
891
+ * @throws {RequiredError}
892
+ */
893
+ async callControllerCallCollectionsGetV1(getCollectionParamsDto, options) {
894
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallCollectionsGetV1(getCollectionParamsDto, options);
895
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
896
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallCollectionsGetV1']?.[localVarOperationServerIndex]?.url;
897
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
898
+ },
899
+ /**
900
+ *
901
+ * @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
902
+ * @param {*} [options] Override http request option.
903
+ * @throws {RequiredError}
904
+ */
905
+ async callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options) {
906
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options);
907
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
908
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallCollectionsItemsAddV1']?.[localVarOperationServerIndex]?.url;
909
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
910
+ },
911
+ /**
912
+ *
913
+ * @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
914
+ * @param {*} [options] Override http request option.
915
+ * @throws {RequiredError}
916
+ */
917
+ async callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options) {
918
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options);
919
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
920
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallCollectionsItemsRemoveV1']?.[localVarOperationServerIndex]?.url;
921
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
922
+ },
923
+ /**
924
+ *
925
+ * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
926
+ * @param {*} [options] Override http request option.
927
+ * @throws {RequiredError}
928
+ */
929
+ async callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options) {
930
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options);
931
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
932
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallImagesGetUrlsV1']?.[localVarOperationServerIndex]?.url;
933
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
934
+ },
935
+ /**
936
+ *
937
+ * @param {CreateStackParamsDto} createStackParamsDto
662
938
  * @param {*} [options] Override http request option.
663
939
  * @throws {RequiredError}
664
940
  */
665
- async callControllerCallMethodV1(options) {
666
- const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallMethodV1(options);
941
+ async callControllerCallStacksCreateV1(createStackParamsDto, options) {
942
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallStacksCreateV1(createStackParamsDto, options);
667
943
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
668
- const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallMethodV1']?.[localVarOperationServerIndex]?.url;
944
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallStacksCreateV1']?.[localVarOperationServerIndex]?.url;
945
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
946
+ },
947
+ /**
948
+ *
949
+ * @param {ListStacksParamsDto} listStacksParamsDto
950
+ * @param {*} [options] Override http request option.
951
+ * @throws {RequiredError}
952
+ */
953
+ async callControllerCallStacksListV1(listStacksParamsDto, options) {
954
+ const localVarAxiosArgs = await localVarAxiosParamCreator.callControllerCallStacksListV1(listStacksParamsDto, options);
955
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
956
+ const localVarOperationServerBasePath = operationServerMap['CallApi.callControllerCallStacksListV1']?.[localVarOperationServerIndex]?.url;
669
957
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
670
958
  },
671
959
  };
@@ -679,11 +967,66 @@ export const CallApiFactory = function (configuration, basePath, axios) {
679
967
  return {
680
968
  /**
681
969
  *
970
+ * @param {CreateCollectionParamsDto} createCollectionParamsDto
971
+ * @param {*} [options] Override http request option.
972
+ * @throws {RequiredError}
973
+ */
974
+ callControllerCallCollectionsCreateV1(createCollectionParamsDto, options) {
975
+ return localVarFp.callControllerCallCollectionsCreateV1(createCollectionParamsDto, options).then((request) => request(axios, basePath));
976
+ },
977
+ /**
978
+ *
979
+ * @param {GetCollectionParamsDto} getCollectionParamsDto
980
+ * @param {*} [options] Override http request option.
981
+ * @throws {RequiredError}
982
+ */
983
+ callControllerCallCollectionsGetV1(getCollectionParamsDto, options) {
984
+ return localVarFp.callControllerCallCollectionsGetV1(getCollectionParamsDto, options).then((request) => request(axios, basePath));
985
+ },
986
+ /**
987
+ *
988
+ * @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
989
+ * @param {*} [options] Override http request option.
990
+ * @throws {RequiredError}
991
+ */
992
+ callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options) {
993
+ return localVarFp.callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options).then((request) => request(axios, basePath));
994
+ },
995
+ /**
996
+ *
997
+ * @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
998
+ * @param {*} [options] Override http request option.
999
+ * @throws {RequiredError}
1000
+ */
1001
+ callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options) {
1002
+ return localVarFp.callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options).then((request) => request(axios, basePath));
1003
+ },
1004
+ /**
1005
+ *
1006
+ * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
1007
+ * @param {*} [options] Override http request option.
1008
+ * @throws {RequiredError}
1009
+ */
1010
+ callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options) {
1011
+ return localVarFp.callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options).then((request) => request(axios, basePath));
1012
+ },
1013
+ /**
1014
+ *
1015
+ * @param {CreateStackParamsDto} createStackParamsDto
1016
+ * @param {*} [options] Override http request option.
1017
+ * @throws {RequiredError}
1018
+ */
1019
+ callControllerCallStacksCreateV1(createStackParamsDto, options) {
1020
+ return localVarFp.callControllerCallStacksCreateV1(createStackParamsDto, options).then((request) => request(axios, basePath));
1021
+ },
1022
+ /**
1023
+ *
1024
+ * @param {ListStacksParamsDto} listStacksParamsDto
682
1025
  * @param {*} [options] Override http request option.
683
1026
  * @throws {RequiredError}
684
1027
  */
685
- callControllerCallMethodV1(options) {
686
- return localVarFp.callControllerCallMethodV1(options).then((request) => request(axios, basePath));
1028
+ callControllerCallStacksListV1(listStacksParamsDto, options) {
1029
+ return localVarFp.callControllerCallStacksListV1(listStacksParamsDto, options).then((request) => request(axios, basePath));
687
1030
  },
688
1031
  };
689
1032
  };
@@ -696,12 +1039,73 @@ export const CallApiFactory = function (configuration, basePath, axios) {
696
1039
  export class CallApi extends BaseAPI {
697
1040
  /**
698
1041
  *
1042
+ * @param {CreateCollectionParamsDto} createCollectionParamsDto
699
1043
  * @param {*} [options] Override http request option.
700
1044
  * @throws {RequiredError}
701
1045
  * @memberof CallApi
702
1046
  */
703
- callControllerCallMethodV1(options) {
704
- return CallApiFp(this.configuration).callControllerCallMethodV1(options).then((request) => request(this.axios, this.basePath));
1047
+ callControllerCallCollectionsCreateV1(createCollectionParamsDto, options) {
1048
+ return CallApiFp(this.configuration).callControllerCallCollectionsCreateV1(createCollectionParamsDto, options).then((request) => request(this.axios, this.basePath));
1049
+ }
1050
+ /**
1051
+ *
1052
+ * @param {GetCollectionParamsDto} getCollectionParamsDto
1053
+ * @param {*} [options] Override http request option.
1054
+ * @throws {RequiredError}
1055
+ * @memberof CallApi
1056
+ */
1057
+ callControllerCallCollectionsGetV1(getCollectionParamsDto, options) {
1058
+ return CallApiFp(this.configuration).callControllerCallCollectionsGetV1(getCollectionParamsDto, options).then((request) => request(this.axios, this.basePath));
1059
+ }
1060
+ /**
1061
+ *
1062
+ * @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
1063
+ * @param {*} [options] Override http request option.
1064
+ * @throws {RequiredError}
1065
+ * @memberof CallApi
1066
+ */
1067
+ callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options) {
1068
+ return CallApiFp(this.configuration).callControllerCallCollectionsItemsAddV1(addItemsToCollectionParamsDto, options).then((request) => request(this.axios, this.basePath));
1069
+ }
1070
+ /**
1071
+ *
1072
+ * @param {AddItemsToCollectionParamsDto} addItemsToCollectionParamsDto
1073
+ * @param {*} [options] Override http request option.
1074
+ * @throws {RequiredError}
1075
+ * @memberof CallApi
1076
+ */
1077
+ callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options) {
1078
+ return CallApiFp(this.configuration).callControllerCallCollectionsItemsRemoveV1(addItemsToCollectionParamsDto, options).then((request) => request(this.axios, this.basePath));
1079
+ }
1080
+ /**
1081
+ *
1082
+ * @param {GetUrlsForImagesParamsDto} getUrlsForImagesParamsDto
1083
+ * @param {*} [options] Override http request option.
1084
+ * @throws {RequiredError}
1085
+ * @memberof CallApi
1086
+ */
1087
+ callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options) {
1088
+ return CallApiFp(this.configuration).callControllerCallImagesGetUrlsV1(getUrlsForImagesParamsDto, options).then((request) => request(this.axios, this.basePath));
1089
+ }
1090
+ /**
1091
+ *
1092
+ * @param {CreateStackParamsDto} createStackParamsDto
1093
+ * @param {*} [options] Override http request option.
1094
+ * @throws {RequiredError}
1095
+ * @memberof CallApi
1096
+ */
1097
+ callControllerCallStacksCreateV1(createStackParamsDto, options) {
1098
+ return CallApiFp(this.configuration).callControllerCallStacksCreateV1(createStackParamsDto, options).then((request) => request(this.axios, this.basePath));
1099
+ }
1100
+ /**
1101
+ *
1102
+ * @param {ListStacksParamsDto} listStacksParamsDto
1103
+ * @param {*} [options] Override http request option.
1104
+ * @throws {RequiredError}
1105
+ * @memberof CallApi
1106
+ */
1107
+ callControllerCallStacksListV1(listStacksParamsDto, options) {
1108
+ return CallApiFp(this.configuration).callControllerCallStacksListV1(listStacksParamsDto, options).then((request) => request(this.axios, this.basePath));
705
1109
  }
706
1110
  }
707
1111
  /**
@@ -1266,7 +1670,8 @@ export const CollectionsControllerListItemsV1KindEnum = {
1266
1670
  Stack: 'stack',
1267
1671
  Image: 'image',
1268
1672
  Pose: 'pose',
1269
- Storage: 'storage'
1673
+ Storage: 'storage',
1674
+ Pipeline: 'pipeline'
1270
1675
  };
1271
1676
  /**
1272
1677
  * GroupsApi - axios parameter creator
@@ -2006,14 +2411,85 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
2006
2411
  },
2007
2412
  /**
2008
2413
  *
2009
- * @param {GetOperationsParamsDto} getOperationsParamsDto
2414
+ * @param {GetOperationsParamsDto} getOperationsParamsDto
2415
+ * @param {*} [options] Override http request option.
2416
+ * @throws {RequiredError}
2417
+ */
2418
+ operationsControllerGetOperationsV1: async (getOperationsParamsDto, options = {}) => {
2419
+ // verify required parameter 'getOperationsParamsDto' is not null or undefined
2420
+ assertParamExists('operationsControllerGetOperationsV1', 'getOperationsParamsDto', getOperationsParamsDto);
2421
+ const localVarPath = `/v1/operations/batch`;
2422
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2423
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2424
+ let baseOptions;
2425
+ if (configuration) {
2426
+ baseOptions = configuration.baseOptions;
2427
+ }
2428
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2429
+ const localVarHeaderParameter = {};
2430
+ const localVarQueryParameter = {};
2431
+ // authentication bearer required
2432
+ // http bearer authentication required
2433
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2434
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2435
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2436
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2437
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2438
+ localVarRequestOptions.data = serializeDataIfNeeded(getOperationsParamsDto, localVarRequestOptions, configuration);
2439
+ return {
2440
+ url: toPathString(localVarUrlObj),
2441
+ options: localVarRequestOptions,
2442
+ };
2443
+ },
2444
+ /**
2445
+ *
2446
+ * @param {OperationsControllerListOperationsV1OrderByEnum} [orderBy]
2447
+ * @param {number} [limit]
2448
+ * @param {string} [cursor]
2449
+ * @param {*} [options] Override http request option.
2450
+ * @throws {RequiredError}
2451
+ */
2452
+ operationsControllerListOperationsV1: async (orderBy, limit, cursor, options = {}) => {
2453
+ const localVarPath = `/v1/operations`;
2454
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2455
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2456
+ let baseOptions;
2457
+ if (configuration) {
2458
+ baseOptions = configuration.baseOptions;
2459
+ }
2460
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2461
+ const localVarHeaderParameter = {};
2462
+ const localVarQueryParameter = {};
2463
+ // authentication bearer required
2464
+ // http bearer authentication required
2465
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2466
+ if (orderBy !== undefined) {
2467
+ localVarQueryParameter['orderBy'] = orderBy;
2468
+ }
2469
+ if (limit !== undefined) {
2470
+ localVarQueryParameter['limit'] = limit;
2471
+ }
2472
+ if (cursor !== undefined) {
2473
+ localVarQueryParameter['cursor'] = cursor;
2474
+ }
2475
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2476
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2477
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2478
+ return {
2479
+ url: toPathString(localVarUrlObj),
2480
+ options: localVarRequestOptions,
2481
+ };
2482
+ },
2483
+ /**
2484
+ *
2485
+ * @param {CompositeV1ControllerInput} compositeV1ControllerInput
2010
2486
  * @param {*} [options] Override http request option.
2011
2487
  * @throws {RequiredError}
2012
2488
  */
2013
- operationsControllerGetOperationsV1: async (getOperationsParamsDto, options = {}) => {
2014
- // verify required parameter 'getOperationsParamsDto' is not null or undefined
2015
- assertParamExists('operationsControllerGetOperationsV1', 'getOperationsParamsDto', getOperationsParamsDto);
2016
- const localVarPath = `/v1/operations/batch`;
2489
+ operationsControllerRunCompositeV1V1: async (compositeV1ControllerInput, options = {}) => {
2490
+ // verify required parameter 'compositeV1ControllerInput' is not null or undefined
2491
+ assertParamExists('operationsControllerRunCompositeV1V1', 'compositeV1ControllerInput', compositeV1ControllerInput);
2492
+ const localVarPath = `/v1/operations/run/composite.v1`;
2017
2493
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2018
2494
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2019
2495
  let baseOptions;
@@ -2030,7 +2506,7 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
2030
2506
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2031
2507
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2032
2508
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2033
- localVarRequestOptions.data = serializeDataIfNeeded(getOperationsParamsDto, localVarRequestOptions, configuration);
2509
+ localVarRequestOptions.data = serializeDataIfNeeded(compositeV1ControllerInput, localVarRequestOptions, configuration);
2034
2510
  return {
2035
2511
  url: toPathString(localVarUrlObj),
2036
2512
  options: localVarRequestOptions,
@@ -2038,38 +2514,31 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
2038
2514
  },
2039
2515
  /**
2040
2516
  *
2041
- * @param {OperationsControllerListOperationsV1OrderByEnum} [orderBy]
2042
- * @param {number} [limit]
2043
- * @param {string} [cursor]
2517
+ * @param {CutV1ControllerInput} cutV1ControllerInput
2044
2518
  * @param {*} [options] Override http request option.
2045
2519
  * @throws {RequiredError}
2046
2520
  */
2047
- operationsControllerListOperationsV1: async (orderBy, limit, cursor, options = {}) => {
2048
- const localVarPath = `/v1/operations`;
2521
+ operationsControllerRunCutV1V1: async (cutV1ControllerInput, options = {}) => {
2522
+ // verify required parameter 'cutV1ControllerInput' is not null or undefined
2523
+ assertParamExists('operationsControllerRunCutV1V1', 'cutV1ControllerInput', cutV1ControllerInput);
2524
+ const localVarPath = `/v1/operations/run/cut.v1`;
2049
2525
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2050
2526
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2051
2527
  let baseOptions;
2052
2528
  if (configuration) {
2053
2529
  baseOptions = configuration.baseOptions;
2054
2530
  }
2055
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2531
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2056
2532
  const localVarHeaderParameter = {};
2057
2533
  const localVarQueryParameter = {};
2058
2534
  // authentication bearer required
2059
2535
  // http bearer authentication required
2060
2536
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
2061
- if (orderBy !== undefined) {
2062
- localVarQueryParameter['orderBy'] = orderBy;
2063
- }
2064
- if (limit !== undefined) {
2065
- localVarQueryParameter['limit'] = limit;
2066
- }
2067
- if (cursor !== undefined) {
2068
- localVarQueryParameter['cursor'] = cursor;
2069
- }
2537
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2070
2538
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2071
2539
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2072
2540
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2541
+ localVarRequestOptions.data = serializeDataIfNeeded(cutV1ControllerInput, localVarRequestOptions, configuration);
2073
2542
  return {
2074
2543
  url: toPathString(localVarUrlObj),
2075
2544
  options: localVarRequestOptions,
@@ -2331,6 +2800,38 @@ export const OperationsApiAxiosParamCreator = function (configuration) {
2331
2800
  options: localVarRequestOptions,
2332
2801
  };
2333
2802
  },
2803
+ /**
2804
+ *
2805
+ * @param {SegmentAnythingMaskV1ControllerInput} segmentAnythingMaskV1ControllerInput
2806
+ * @param {*} [options] Override http request option.
2807
+ * @throws {RequiredError}
2808
+ */
2809
+ operationsControllerRunSegmentAnythingMaskV1V1: async (segmentAnythingMaskV1ControllerInput, options = {}) => {
2810
+ // verify required parameter 'segmentAnythingMaskV1ControllerInput' is not null or undefined
2811
+ assertParamExists('operationsControllerRunSegmentAnythingMaskV1V1', 'segmentAnythingMaskV1ControllerInput', segmentAnythingMaskV1ControllerInput);
2812
+ const localVarPath = `/v1/operations/run/segmentAnything.mask.v1`;
2813
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2814
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2815
+ let baseOptions;
2816
+ if (configuration) {
2817
+ baseOptions = configuration.baseOptions;
2818
+ }
2819
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2820
+ const localVarHeaderParameter = {};
2821
+ const localVarQueryParameter = {};
2822
+ // authentication bearer required
2823
+ // http bearer authentication required
2824
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2825
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2826
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2827
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2828
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2829
+ localVarRequestOptions.data = serializeDataIfNeeded(segmentAnythingMaskV1ControllerInput, localVarRequestOptions, configuration);
2830
+ return {
2831
+ url: toPathString(localVarUrlObj),
2832
+ options: localVarRequestOptions,
2833
+ };
2834
+ },
2334
2835
  /**
2335
2836
  *
2336
2837
  * @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
@@ -2446,6 +2947,30 @@ export const OperationsApiFp = function (configuration) {
2446
2947
  const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerListOperationsV1']?.[localVarOperationServerIndex]?.url;
2447
2948
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2448
2949
  },
2950
+ /**
2951
+ *
2952
+ * @param {CompositeV1ControllerInput} compositeV1ControllerInput
2953
+ * @param {*} [options] Override http request option.
2954
+ * @throws {RequiredError}
2955
+ */
2956
+ async operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options) {
2957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options);
2958
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2959
+ const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunCompositeV1V1']?.[localVarOperationServerIndex]?.url;
2960
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2961
+ },
2962
+ /**
2963
+ *
2964
+ * @param {CutV1ControllerInput} cutV1ControllerInput
2965
+ * @param {*} [options] Override http request option.
2966
+ * @throws {RequiredError}
2967
+ */
2968
+ async operationsControllerRunCutV1V1(cutV1ControllerInput, options) {
2969
+ const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunCutV1V1(cutV1ControllerInput, options);
2970
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2971
+ const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunCutV1V1']?.[localVarOperationServerIndex]?.url;
2972
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2973
+ },
2449
2974
  /**
2450
2975
  *
2451
2976
  * @param {GenerateV1ControllerInput} generateV1ControllerInput
@@ -2542,6 +3067,18 @@ export const OperationsApiFp = function (configuration) {
2542
3067
  const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunSegmentAnythingEmbeddingsV1V1']?.[localVarOperationServerIndex]?.url;
2543
3068
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2544
3069
  },
3070
+ /**
3071
+ *
3072
+ * @param {SegmentAnythingMaskV1ControllerInput} segmentAnythingMaskV1ControllerInput
3073
+ * @param {*} [options] Override http request option.
3074
+ * @throws {RequiredError}
3075
+ */
3076
+ async operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options) {
3077
+ const localVarAxiosArgs = await localVarAxiosParamCreator.operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options);
3078
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3079
+ const localVarOperationServerBasePath = operationServerMap['OperationsApi.operationsControllerRunSegmentAnythingMaskV1V1']?.[localVarOperationServerIndex]?.url;
3080
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3081
+ },
2545
3082
  /**
2546
3083
  *
2547
3084
  * @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
@@ -2605,6 +3142,24 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
2605
3142
  operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
2606
3143
  return localVarFp.operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(axios, basePath));
2607
3144
  },
3145
+ /**
3146
+ *
3147
+ * @param {CompositeV1ControllerInput} compositeV1ControllerInput
3148
+ * @param {*} [options] Override http request option.
3149
+ * @throws {RequiredError}
3150
+ */
3151
+ operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options) {
3152
+ return localVarFp.operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options).then((request) => request(axios, basePath));
3153
+ },
3154
+ /**
3155
+ *
3156
+ * @param {CutV1ControllerInput} cutV1ControllerInput
3157
+ * @param {*} [options] Override http request option.
3158
+ * @throws {RequiredError}
3159
+ */
3160
+ operationsControllerRunCutV1V1(cutV1ControllerInput, options) {
3161
+ return localVarFp.operationsControllerRunCutV1V1(cutV1ControllerInput, options).then((request) => request(axios, basePath));
3162
+ },
2608
3163
  /**
2609
3164
  *
2610
3165
  * @param {GenerateV1ControllerInput} generateV1ControllerInput
@@ -2677,6 +3232,15 @@ export const OperationsApiFactory = function (configuration, basePath, axios) {
2677
3232
  operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options) {
2678
3233
  return localVarFp.operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options).then((request) => request(axios, basePath));
2679
3234
  },
3235
+ /**
3236
+ *
3237
+ * @param {SegmentAnythingMaskV1ControllerInput} segmentAnythingMaskV1ControllerInput
3238
+ * @param {*} [options] Override http request option.
3239
+ * @throws {RequiredError}
3240
+ */
3241
+ operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options) {
3242
+ return localVarFp.operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options).then((request) => request(axios, basePath));
3243
+ },
2680
3244
  /**
2681
3245
  *
2682
3246
  * @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
@@ -2737,6 +3301,26 @@ export class OperationsApi extends BaseAPI {
2737
3301
  operationsControllerListOperationsV1(orderBy, limit, cursor, options) {
2738
3302
  return OperationsApiFp(this.configuration).operationsControllerListOperationsV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
2739
3303
  }
3304
+ /**
3305
+ *
3306
+ * @param {CompositeV1ControllerInput} compositeV1ControllerInput
3307
+ * @param {*} [options] Override http request option.
3308
+ * @throws {RequiredError}
3309
+ * @memberof OperationsApi
3310
+ */
3311
+ operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options) {
3312
+ return OperationsApiFp(this.configuration).operationsControllerRunCompositeV1V1(compositeV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
3313
+ }
3314
+ /**
3315
+ *
3316
+ * @param {CutV1ControllerInput} cutV1ControllerInput
3317
+ * @param {*} [options] Override http request option.
3318
+ * @throws {RequiredError}
3319
+ * @memberof OperationsApi
3320
+ */
3321
+ operationsControllerRunCutV1V1(cutV1ControllerInput, options) {
3322
+ return OperationsApiFp(this.configuration).operationsControllerRunCutV1V1(cutV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
3323
+ }
2740
3324
  /**
2741
3325
  *
2742
3326
  * @param {GenerateV1ControllerInput} generateV1ControllerInput
@@ -2817,6 +3401,16 @@ export class OperationsApi extends BaseAPI {
2817
3401
  operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options) {
2818
3402
  return OperationsApiFp(this.configuration).operationsControllerRunSegmentAnythingEmbeddingsV1V1(segmentAnythingEmbeddingsV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
2819
3403
  }
3404
+ /**
3405
+ *
3406
+ * @param {SegmentAnythingMaskV1ControllerInput} segmentAnythingMaskV1ControllerInput
3407
+ * @param {*} [options] Override http request option.
3408
+ * @throws {RequiredError}
3409
+ * @memberof OperationsApi
3410
+ */
3411
+ operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options) {
3412
+ return OperationsApiFp(this.configuration).operationsControllerRunSegmentAnythingMaskV1V1(segmentAnythingMaskV1ControllerInput, options).then((request) => request(this.axios, this.basePath));
3413
+ }
2820
3414
  /**
2821
3415
  *
2822
3416
  * @param {UpscaleV1ControllerInput} upscaleV1ControllerInput
@@ -2849,69 +3443,127 @@ export const OperationsControllerListOperationsV1OrderByEnum = {
2849
3443
  UpdatedAtDesc: 'updatedAt_DESC'
2850
3444
  };
2851
3445
  /**
2852
- * PipelinesApi - axios parameter creator
3446
+ * PermissionsApi - axios parameter creator
2853
3447
  * @export
2854
3448
  */
2855
- export const PipelinesApiAxiosParamCreator = function (configuration) {
3449
+ export const PermissionsApiAxiosParamCreator = function (configuration) {
2856
3450
  return {
2857
3451
  /**
2858
3452
  *
2859
- * @param {CreatePipelineParamsDto} createPipelineParamsDto
2860
3453
  * @param {*} [options] Override http request option.
2861
3454
  * @throws {RequiredError}
2862
3455
  */
2863
- pipelinesControllerCreatePipelineV1: async (createPipelineParamsDto, options = {}) => {
2864
- // verify required parameter 'createPipelineParamsDto' is not null or undefined
2865
- assertParamExists('pipelinesControllerCreatePipelineV1', 'createPipelineParamsDto', createPipelineParamsDto);
2866
- const localVarPath = `/v1/pipelines`;
3456
+ permissionsControllerListAvailablePermissionsV1: async (options = {}) => {
3457
+ const localVarPath = `/v1/permissions/available`;
2867
3458
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2868
3459
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2869
3460
  let baseOptions;
2870
3461
  if (configuration) {
2871
3462
  baseOptions = configuration.baseOptions;
2872
3463
  }
2873
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3464
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2874
3465
  const localVarHeaderParameter = {};
2875
3466
  const localVarQueryParameter = {};
2876
3467
  // authentication bearer required
2877
3468
  // http bearer authentication required
2878
3469
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
2879
- localVarHeaderParameter['Content-Type'] = 'application/json';
2880
3470
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2881
3471
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2882
3472
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2883
- localVarRequestOptions.data = serializeDataIfNeeded(createPipelineParamsDto, localVarRequestOptions, configuration);
2884
3473
  return {
2885
3474
  url: toPathString(localVarUrlObj),
2886
3475
  options: localVarRequestOptions,
2887
3476
  };
2888
3477
  },
3478
+ };
3479
+ };
3480
+ /**
3481
+ * PermissionsApi - functional programming interface
3482
+ * @export
3483
+ */
3484
+ export const PermissionsApiFp = function (configuration) {
3485
+ const localVarAxiosParamCreator = PermissionsApiAxiosParamCreator(configuration);
3486
+ return {
2889
3487
  /**
2890
3488
  *
2891
- * @param {string} id
2892
3489
  * @param {*} [options] Override http request option.
2893
3490
  * @throws {RequiredError}
2894
3491
  */
2895
- pipelinesControllerGetPipelineV1: async (id, options = {}) => {
2896
- // verify required parameter 'id' is not null or undefined
2897
- assertParamExists('pipelinesControllerGetPipelineV1', 'id', id);
2898
- const localVarPath = `/v1/pipelines/{id}`
2899
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3492
+ async permissionsControllerListAvailablePermissionsV1(options) {
3493
+ const localVarAxiosArgs = await localVarAxiosParamCreator.permissionsControllerListAvailablePermissionsV1(options);
3494
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3495
+ const localVarOperationServerBasePath = operationServerMap['PermissionsApi.permissionsControllerListAvailablePermissionsV1']?.[localVarOperationServerIndex]?.url;
3496
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3497
+ },
3498
+ };
3499
+ };
3500
+ /**
3501
+ * PermissionsApi - factory interface
3502
+ * @export
3503
+ */
3504
+ export const PermissionsApiFactory = function (configuration, basePath, axios) {
3505
+ const localVarFp = PermissionsApiFp(configuration);
3506
+ return {
3507
+ /**
3508
+ *
3509
+ * @param {*} [options] Override http request option.
3510
+ * @throws {RequiredError}
3511
+ */
3512
+ permissionsControllerListAvailablePermissionsV1(options) {
3513
+ return localVarFp.permissionsControllerListAvailablePermissionsV1(options).then((request) => request(axios, basePath));
3514
+ },
3515
+ };
3516
+ };
3517
+ /**
3518
+ * PermissionsApi - object-oriented interface
3519
+ * @export
3520
+ * @class PermissionsApi
3521
+ * @extends {BaseAPI}
3522
+ */
3523
+ export class PermissionsApi extends BaseAPI {
3524
+ /**
3525
+ *
3526
+ * @param {*} [options] Override http request option.
3527
+ * @throws {RequiredError}
3528
+ * @memberof PermissionsApi
3529
+ */
3530
+ permissionsControllerListAvailablePermissionsV1(options) {
3531
+ return PermissionsApiFp(this.configuration).permissionsControllerListAvailablePermissionsV1(options).then((request) => request(this.axios, this.basePath));
3532
+ }
3533
+ }
3534
+ /**
3535
+ * PipelinesApi - axios parameter creator
3536
+ * @export
3537
+ */
3538
+ export const PipelinesApiAxiosParamCreator = function (configuration) {
3539
+ return {
3540
+ /**
3541
+ *
3542
+ * @param {CreatePipelineParamsDto} createPipelineParamsDto
3543
+ * @param {*} [options] Override http request option.
3544
+ * @throws {RequiredError}
3545
+ */
3546
+ pipelinesControllerCreatePipelineV1: async (createPipelineParamsDto, options = {}) => {
3547
+ // verify required parameter 'createPipelineParamsDto' is not null or undefined
3548
+ assertParamExists('pipelinesControllerCreatePipelineV1', 'createPipelineParamsDto', createPipelineParamsDto);
3549
+ const localVarPath = `/v1/pipelines`;
2900
3550
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2901
3551
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2902
3552
  let baseOptions;
2903
3553
  if (configuration) {
2904
3554
  baseOptions = configuration.baseOptions;
2905
3555
  }
2906
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
3556
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2907
3557
  const localVarHeaderParameter = {};
2908
3558
  const localVarQueryParameter = {};
2909
3559
  // authentication bearer required
2910
3560
  // http bearer authentication required
2911
3561
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
3562
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2912
3563
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2913
3564
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2914
3565
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3566
+ localVarRequestOptions.data = serializeDataIfNeeded(createPipelineParamsDto, localVarRequestOptions, configuration);
2915
3567
  return {
2916
3568
  url: toPathString(localVarUrlObj),
2917
3569
  options: localVarRequestOptions,
@@ -2919,11 +3571,15 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
2919
3571
  },
2920
3572
  /**
2921
3573
  *
3574
+ * @param {string} id
2922
3575
  * @param {*} [options] Override http request option.
2923
3576
  * @throws {RequiredError}
2924
3577
  */
2925
- pipelinesControllerListPipelinesV1: async (options = {}) => {
2926
- const localVarPath = `/v1/pipelines`;
3578
+ pipelinesControllerGetPipelineV1: async (id, options = {}) => {
3579
+ // verify required parameter 'id' is not null or undefined
3580
+ assertParamExists('pipelinesControllerGetPipelineV1', 'id', id);
3581
+ const localVarPath = `/v1/pipelines/{id}`
3582
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2927
3583
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2928
3584
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2929
3585
  let baseOptions;
@@ -2946,27 +3602,35 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
2946
3602
  },
2947
3603
  /**
2948
3604
  *
2949
- * @param {string} id
3605
+ * @param {PipelinesControllerListPipelinesV1OrderByEnum} [orderBy]
3606
+ * @param {number} [limit]
3607
+ * @param {string} [cursor]
2950
3608
  * @param {*} [options] Override http request option.
2951
3609
  * @throws {RequiredError}
2952
3610
  */
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)));
3611
+ pipelinesControllerListPipelinesV1: async (orderBy, limit, cursor, options = {}) => {
3612
+ const localVarPath = `/v1/pipelines`;
2958
3613
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2959
3614
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2960
3615
  let baseOptions;
2961
3616
  if (configuration) {
2962
3617
  baseOptions = configuration.baseOptions;
2963
3618
  }
2964
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
3619
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2965
3620
  const localVarHeaderParameter = {};
2966
3621
  const localVarQueryParameter = {};
2967
3622
  // authentication bearer required
2968
3623
  // http bearer authentication required
2969
3624
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
3625
+ if (orderBy !== undefined) {
3626
+ localVarQueryParameter['orderBy'] = orderBy;
3627
+ }
3628
+ if (limit !== undefined) {
3629
+ localVarQueryParameter['limit'] = limit;
3630
+ }
3631
+ if (cursor !== undefined) {
3632
+ localVarQueryParameter['cursor'] = cursor;
3633
+ }
2970
3634
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2971
3635
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2972
3636
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -3010,27 +3674,18 @@ export const PipelinesApiFp = function (configuration) {
3010
3674
  },
3011
3675
  /**
3012
3676
  *
3677
+ * @param {PipelinesControllerListPipelinesV1OrderByEnum} [orderBy]
3678
+ * @param {number} [limit]
3679
+ * @param {string} [cursor]
3013
3680
  * @param {*} [options] Override http request option.
3014
3681
  * @throws {RequiredError}
3015
3682
  */
3016
- async pipelinesControllerListPipelinesV1(options) {
3017
- const localVarAxiosArgs = await localVarAxiosParamCreator.pipelinesControllerListPipelinesV1(options);
3683
+ async pipelinesControllerListPipelinesV1(orderBy, limit, cursor, options) {
3684
+ const localVarAxiosArgs = await localVarAxiosParamCreator.pipelinesControllerListPipelinesV1(orderBy, limit, cursor, options);
3018
3685
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3019
3686
  const localVarOperationServerBasePath = operationServerMap['PipelinesApi.pipelinesControllerListPipelinesV1']?.[localVarOperationServerIndex]?.url;
3020
3687
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3021
3688
  },
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
3689
  };
3035
3690
  };
3036
3691
  /**
@@ -3060,20 +3715,14 @@ export const PipelinesApiFactory = function (configuration, basePath, axios) {
3060
3715
  },
3061
3716
  /**
3062
3717
  *
3718
+ * @param {PipelinesControllerListPipelinesV1OrderByEnum} [orderBy]
3719
+ * @param {number} [limit]
3720
+ * @param {string} [cursor]
3063
3721
  * @param {*} [options] Override http request option.
3064
3722
  * @throws {RequiredError}
3065
3723
  */
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));
3724
+ pipelinesControllerListPipelinesV1(orderBy, limit, cursor, options) {
3725
+ return localVarFp.pipelinesControllerListPipelinesV1(orderBy, limit, cursor, options).then((request) => request(axios, basePath));
3077
3726
  },
3078
3727
  };
3079
3728
  };
@@ -3106,24 +3755,24 @@ export class PipelinesApi extends BaseAPI {
3106
3755
  }
3107
3756
  /**
3108
3757
  *
3758
+ * @param {PipelinesControllerListPipelinesV1OrderByEnum} [orderBy]
3759
+ * @param {number} [limit]
3760
+ * @param {string} [cursor]
3109
3761
  * @param {*} [options] Override http request option.
3110
3762
  * @throws {RequiredError}
3111
3763
  * @memberof PipelinesApi
3112
3764
  */
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));
3765
+ pipelinesControllerListPipelinesV1(orderBy, limit, cursor, options) {
3766
+ return PipelinesApiFp(this.configuration).pipelinesControllerListPipelinesV1(orderBy, limit, cursor, options).then((request) => request(this.axios, this.basePath));
3125
3767
  }
3126
3768
  }
3769
+ /**
3770
+ * @export
3771
+ */
3772
+ export const PipelinesControllerListPipelinesV1OrderByEnum = {
3773
+ Asc: 'createdAt_ASC',
3774
+ Desc: 'createdAt_DESC'
3775
+ };
3127
3776
  /**
3128
3777
  * PosesApi - axios parameter creator
3129
3778
  * @export