@sureel/sdk 1.9.4-rc.32 → 1.9.4-rc.34
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/api/sureel-api.d.ts +97 -5
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +194 -38
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +97 -5
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +194 -38
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/analysis-history-entry-image-attribution-analysis-top-metrics-color-matching.d.ts +7 -7
- package/esm/models/analysis-history-entry-image-attribution-analysis-top-metrics-color-matching.d.ts.map +1 -1
- package/esm/models/analysis-history-entry-image-attribution-analysis-top-metrics-identical-matches.d.ts +5 -5
- package/esm/models/analysis-history-entry-image-attribution-analysis-top-metrics-identical-matches.d.ts.map +1 -1
- package/esm/models/analysis-history-entry-image-attribution-analysis-top-metrics.d.ts +9 -9
- package/esm/models/analysis-history-entry-image-attribution-analysis-top-metrics.d.ts.map +1 -1
- package/esm/models/analysis-history-entry-request-data-any-of.d.ts +3 -3
- package/esm/models/analysis-history-entry-request-data-any-of.d.ts.map +1 -1
- package/esm/models/analysis-history-entry-request-data.d.ts +3 -3
- package/esm/models/analysis-history-entry-request-data.d.ts.map +1 -1
- package/esm/models/analysis-history-entry.d.ts +12 -12
- package/esm/models/analysis-history-entry.d.ts.map +1 -1
- package/esm/models/artist-collections-inner.d.ts +6 -6
- package/esm/models/artist-collections-inner.d.ts.map +1 -1
- package/esm/models/attribution-values-inner.d.ts +0 -12
- package/esm/models/attribution-values-inner.d.ts.map +1 -1
- package/esm/models/attribution-with-stems-master-inner.d.ts +3 -3
- package/esm/models/attribution-with-stems-master-inner.d.ts.map +1 -1
- package/esm/models/attribution1-values-inner.d.ts +12 -0
- package/esm/models/attribution1-values-inner.d.ts.map +1 -1
- package/esm/models/audio-ldm-request-data.d.ts +3 -3
- package/esm/models/audio-ldm-request-data.d.ts.map +1 -1
- package/esm/models/get-asset-metadata-response-files-inner-content-rights.d.ts +37 -0
- package/esm/models/get-asset-metadata-response-files-inner-content-rights.d.ts.map +1 -0
- package/esm/models/get-asset-metadata-response-files-inner-content-rights.js +15 -0
- package/esm/models/get-asset-metadata-response-files-inner-content-rights.js.map +1 -0
- package/esm/models/get-asset-metadata-response-files-inner-external-stems-inner.d.ts +37 -0
- package/esm/models/get-asset-metadata-response-files-inner-external-stems-inner.d.ts.map +1 -0
- package/esm/models/get-asset-metadata-response-files-inner-external-stems-inner.js +15 -0
- package/esm/models/get-asset-metadata-response-files-inner-external-stems-inner.js.map +1 -0
- package/esm/models/get-asset-metadata-response-files-inner.d.ts +309 -0
- package/esm/models/get-asset-metadata-response-files-inner.d.ts.map +1 -0
- package/esm/models/get-asset-metadata-response-files-inner.js +15 -0
- package/esm/models/get-asset-metadata-response-files-inner.js.map +1 -0
- package/esm/models/get-asset-metadata-response.d.ts +26 -0
- package/esm/models/get-asset-metadata-response.d.ts.map +1 -0
- package/esm/models/get-asset-metadata-response.js +15 -0
- package/esm/models/get-asset-metadata-response.js.map +1 -0
- package/esm/models/get-own-collections200-response.d.ts +3 -3
- package/esm/models/get-own-collections200-response.d.ts.map +1 -1
- package/esm/models/get-result-by-request-id200-response.d.ts +8 -8
- package/esm/models/get-result-by-request-id200-response.d.ts.map +1 -1
- package/esm/models/index.d.ts +27 -20
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +27 -20
- package/esm/models/index.js.map +1 -1
- package/esm/models/prompt-history-entry.d.ts +12 -12
- package/esm/models/prompt-history-entry.d.ts.map +1 -1
- package/esm/models/put-asset-metadata-request-content-rights.d.ts +37 -0
- package/esm/models/put-asset-metadata-request-content-rights.d.ts.map +1 -0
- package/esm/models/put-asset-metadata-request-content-rights.js +15 -0
- package/esm/models/put-asset-metadata-request-content-rights.js.map +1 -0
- package/esm/models/put-asset-metadata-request.d.ts +243 -0
- package/esm/models/put-asset-metadata-request.d.ts.map +1 -0
- package/esm/models/put-asset-metadata-request.js +15 -0
- package/esm/models/put-asset-metadata-request.js.map +1 -0
- package/esm/models/put-asset-metadata-response.d.ts +26 -0
- package/esm/models/put-asset-metadata-response.d.ts.map +1 -0
- package/esm/models/put-asset-metadata-response.js +15 -0
- package/esm/models/put-asset-metadata-response.js.map +1 -0
- package/esm/models/update-ip-rights-request-files-inner-content-rights.d.ts +1 -1
- package/esm/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts +6 -6
- package/esm/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts.map +1 -1
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response.d.ts +20 -20
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -1
- package/models/analysis-history-entry-image-attribution-analysis-top-metrics-color-matching.d.ts +7 -7
- package/models/analysis-history-entry-image-attribution-analysis-top-metrics-color-matching.d.ts.map +1 -1
- package/models/analysis-history-entry-image-attribution-analysis-top-metrics-identical-matches.d.ts +5 -5
- package/models/analysis-history-entry-image-attribution-analysis-top-metrics-identical-matches.d.ts.map +1 -1
- package/models/analysis-history-entry-image-attribution-analysis-top-metrics.d.ts +9 -9
- package/models/analysis-history-entry-image-attribution-analysis-top-metrics.d.ts.map +1 -1
- package/models/analysis-history-entry-request-data-any-of.d.ts +3 -3
- package/models/analysis-history-entry-request-data-any-of.d.ts.map +1 -1
- package/models/analysis-history-entry-request-data.d.ts +3 -3
- package/models/analysis-history-entry-request-data.d.ts.map +1 -1
- package/models/analysis-history-entry.d.ts +12 -12
- package/models/analysis-history-entry.d.ts.map +1 -1
- package/models/artist-collections-inner.d.ts +6 -6
- package/models/artist-collections-inner.d.ts.map +1 -1
- package/models/attribution-values-inner.d.ts +0 -12
- package/models/attribution-values-inner.d.ts.map +1 -1
- package/models/attribution-with-stems-master-inner.d.ts +3 -3
- package/models/attribution-with-stems-master-inner.d.ts.map +1 -1
- package/models/attribution1-values-inner.d.ts +12 -0
- package/models/attribution1-values-inner.d.ts.map +1 -1
- package/models/audio-ldm-request-data.d.ts +3 -3
- package/models/audio-ldm-request-data.d.ts.map +1 -1
- package/models/get-asset-metadata-response-files-inner-content-rights.d.ts +37 -0
- package/models/get-asset-metadata-response-files-inner-content-rights.d.ts.map +1 -0
- package/models/get-asset-metadata-response-files-inner-content-rights.js +16 -0
- package/models/get-asset-metadata-response-files-inner-content-rights.js.map +1 -0
- package/models/get-asset-metadata-response-files-inner-external-stems-inner.d.ts +37 -0
- package/models/get-asset-metadata-response-files-inner-external-stems-inner.d.ts.map +1 -0
- package/models/get-asset-metadata-response-files-inner-external-stems-inner.js +16 -0
- package/models/get-asset-metadata-response-files-inner-external-stems-inner.js.map +1 -0
- package/models/get-asset-metadata-response-files-inner.d.ts +309 -0
- package/models/get-asset-metadata-response-files-inner.d.ts.map +1 -0
- package/models/get-asset-metadata-response-files-inner.js +16 -0
- package/models/get-asset-metadata-response-files-inner.js.map +1 -0
- package/models/get-asset-metadata-response.d.ts +26 -0
- package/models/get-asset-metadata-response.d.ts.map +1 -0
- package/models/get-asset-metadata-response.js +16 -0
- package/models/get-asset-metadata-response.js.map +1 -0
- package/models/get-own-collections200-response.d.ts +3 -3
- package/models/get-own-collections200-response.d.ts.map +1 -1
- package/models/get-result-by-request-id200-response.d.ts +8 -8
- package/models/get-result-by-request-id200-response.d.ts.map +1 -1
- package/models/index.d.ts +27 -20
- package/models/index.d.ts.map +1 -1
- package/models/index.js +27 -20
- package/models/index.js.map +1 -1
- package/models/prompt-history-entry.d.ts +12 -12
- package/models/prompt-history-entry.d.ts.map +1 -1
- package/models/put-asset-metadata-request-content-rights.d.ts +37 -0
- package/models/put-asset-metadata-request-content-rights.d.ts.map +1 -0
- package/models/put-asset-metadata-request-content-rights.js +16 -0
- package/models/put-asset-metadata-request-content-rights.js.map +1 -0
- package/models/put-asset-metadata-request.d.ts +243 -0
- package/models/put-asset-metadata-request.d.ts.map +1 -0
- package/models/put-asset-metadata-request.js +16 -0
- package/models/put-asset-metadata-request.js.map +1 -0
- package/models/put-asset-metadata-response.d.ts +26 -0
- package/models/put-asset-metadata-response.d.ts.map +1 -0
- package/models/put-asset-metadata-response.js +16 -0
- package/models/put-asset-metadata-response.js.map +1 -0
- package/models/update-ip-rights-request-files-inner-content-rights.d.ts +1 -1
- package/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts +6 -6
- package/models/v1-ai-artist-collection-collection-uuid-get200-response.d.ts.map +1 -1
- package/models/v1-ai-audio-ldm-request-id-get200-response.d.ts +20 -20
- package/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -1
- package/package.json +1 -1
package/api/sureel-api.js
CHANGED
|
@@ -583,6 +583,40 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
583
583
|
options: localVarRequestOptions,
|
|
584
584
|
};
|
|
585
585
|
}),
|
|
586
|
+
/**
|
|
587
|
+
* Retrieve asset metadata by using fileId.
|
|
588
|
+
* @summary Get asset metadata
|
|
589
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
590
|
+
* @param {*} [options] Override http request option.
|
|
591
|
+
* @throws {RequiredError}
|
|
592
|
+
*/
|
|
593
|
+
getAssetMetadata: (fileId_1, ...args_15) => __awaiter(this, [fileId_1, ...args_15], void 0, function* (fileId, options = {}) {
|
|
594
|
+
// verify required parameter 'fileId' is not null or undefined
|
|
595
|
+
(0, common_1.assertParamExists)("getAssetMetadata", "fileId", fileId);
|
|
596
|
+
const localVarPath = `/v1/ai/asset-metadata/`;
|
|
597
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
598
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
599
|
+
let baseOptions;
|
|
600
|
+
if (configuration) {
|
|
601
|
+
baseOptions = configuration.baseOptions;
|
|
602
|
+
}
|
|
603
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
604
|
+
const localVarHeaderParameter = {};
|
|
605
|
+
const localVarQueryParameter = {};
|
|
606
|
+
// authentication OAuth2 required
|
|
607
|
+
// oauth required
|
|
608
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
609
|
+
if (fileId !== undefined) {
|
|
610
|
+
localVarQueryParameter["fileId"] = fileId;
|
|
611
|
+
}
|
|
612
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
613
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
614
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
615
|
+
return {
|
|
616
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
617
|
+
options: localVarRequestOptions,
|
|
618
|
+
};
|
|
619
|
+
}),
|
|
586
620
|
/**
|
|
587
621
|
* Get all collections that are opted-out.
|
|
588
622
|
* @summary Get opted-out collections
|
|
@@ -591,7 +625,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
591
625
|
* @param {*} [options] Override http request option.
|
|
592
626
|
* @throws {RequiredError}
|
|
593
627
|
*/
|
|
594
|
-
getOptedOutCollections: (take_2, cursor_2, ...
|
|
628
|
+
getOptedOutCollections: (take_2, cursor_2, ...args_16) => __awaiter(this, [take_2, cursor_2, ...args_16], void 0, function* (take, cursor, options = {}) {
|
|
595
629
|
// verify required parameter 'take' is not null or undefined
|
|
596
630
|
(0, common_1.assertParamExists)("getOptedOutCollections", "take", take);
|
|
597
631
|
const localVarPath = `/v1/ai/artist/collections/opted-out`;
|
|
@@ -630,7 +664,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
630
664
|
* @param {*} [options] Override http request option.
|
|
631
665
|
* @throws {RequiredError}
|
|
632
666
|
*/
|
|
633
|
-
getOwnCollections: (includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...
|
|
667
|
+
getOwnCollections: (includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_17) => __awaiter(this, [includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...args_17], void 0, function* (includeArtworks, includeOriginalSongs, includeFullResArtworks, options = {}) {
|
|
634
668
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
635
669
|
(0, common_1.assertParamExists)("getOwnCollections", "includeArtworks", includeArtworks);
|
|
636
670
|
const localVarPath = `/v1/ai/artist/collections`;
|
|
@@ -675,7 +709,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
675
709
|
* @param {*} [options] Override http request option.
|
|
676
710
|
* @throws {RequiredError}
|
|
677
711
|
*/
|
|
678
|
-
getPromptHistory: (take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...
|
|
712
|
+
getPromptHistory: (take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_18) => __awaiter(this, [take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...args_18], void 0, function* (take, cursor, maxTimestamp, topNAttributionResults, options = {}) {
|
|
679
713
|
// verify required parameter 'take' is not null or undefined
|
|
680
714
|
(0, common_1.assertParamExists)("getPromptHistory", "take", take);
|
|
681
715
|
const localVarPath = `/v1/ai/prompt-history/`;
|
|
@@ -720,7 +754,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
720
754
|
* @param {*} [options] Override http request option.
|
|
721
755
|
* @throws {RequiredError}
|
|
722
756
|
*/
|
|
723
|
-
getResultByRequestId: (requestId_2, topNAttributionResults_3, ...
|
|
757
|
+
getResultByRequestId: (requestId_2, topNAttributionResults_3, ...args_19) => __awaiter(this, [requestId_2, topNAttributionResults_3, ...args_19], void 0, function* (requestId, topNAttributionResults, options = {}) {
|
|
724
758
|
// verify required parameter 'requestId' is not null or undefined
|
|
725
759
|
(0, common_1.assertParamExists)("getResultByRequestId", "requestId", requestId);
|
|
726
760
|
const localVarPath = `/v1/ai/ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -754,7 +788,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
754
788
|
* @param {*} [options] Override http request option.
|
|
755
789
|
* @throws {RequiredError}
|
|
756
790
|
*/
|
|
757
|
-
getStylePresets: (...
|
|
791
|
+
getStylePresets: (...args_20) => __awaiter(this, [...args_20], void 0, function* (options = {}) {
|
|
758
792
|
const localVarPath = `/v1/ai/ldm/style-presets`;
|
|
759
793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
760
794
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -783,7 +817,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
783
817
|
* @param {*} [options] Override http request option.
|
|
784
818
|
* @throws {RequiredError}
|
|
785
819
|
*/
|
|
786
|
-
getUploadedFiles: (keys_1, ...
|
|
820
|
+
getUploadedFiles: (keys_1, ...args_21) => __awaiter(this, [keys_1, ...args_21], void 0, function* (keys, options = {}) {
|
|
787
821
|
// verify required parameter 'keys' is not null or undefined
|
|
788
822
|
(0, common_1.assertParamExists)("getUploadedFiles", "keys", keys);
|
|
789
823
|
const localVarPath = `/v1/ai/files/get-uploaded-files`;
|
|
@@ -818,7 +852,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
818
852
|
* @param {*} [options] Override http request option.
|
|
819
853
|
* @throws {RequiredError}
|
|
820
854
|
*/
|
|
821
|
-
imageBlending: (contentType_10, imageBlendingRequest_1, ...
|
|
855
|
+
imageBlending: (contentType_10, imageBlendingRequest_1, ...args_22) => __awaiter(this, [contentType_10, imageBlendingRequest_1, ...args_22], void 0, function* (contentType, imageBlendingRequest, options = {}) {
|
|
822
856
|
// verify required parameter 'contentType' is not null or undefined
|
|
823
857
|
(0, common_1.assertParamExists)("imageBlending", "contentType", contentType);
|
|
824
858
|
// verify required parameter 'imageBlendingRequest' is not null or undefined
|
|
@@ -857,7 +891,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
857
891
|
* @param {*} [options] Override http request option.
|
|
858
892
|
* @throws {RequiredError}
|
|
859
893
|
*/
|
|
860
|
-
inpaint: (contentType_11, inpaintRequest_1, ...
|
|
894
|
+
inpaint: (contentType_11, inpaintRequest_1, ...args_23) => __awaiter(this, [contentType_11, inpaintRequest_1, ...args_23], void 0, function* (contentType, inpaintRequest, options = {}) {
|
|
861
895
|
// verify required parameter 'contentType' is not null or undefined
|
|
862
896
|
(0, common_1.assertParamExists)("inpaint", "contentType", contentType);
|
|
863
897
|
// verify required parameter 'inpaintRequest' is not null or undefined
|
|
@@ -888,6 +922,43 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
888
922
|
options: localVarRequestOptions,
|
|
889
923
|
};
|
|
890
924
|
}),
|
|
925
|
+
/**
|
|
926
|
+
* Update asset metadata by using fileId.
|
|
927
|
+
* @summary Update asset metadata
|
|
928
|
+
* @param {string} fileId File ID is use to update the metadata of object
|
|
929
|
+
* @param {PutAssetMetadataRequest} [putAssetMetadataRequest]
|
|
930
|
+
* @param {*} [options] Override http request option.
|
|
931
|
+
* @throws {RequiredError}
|
|
932
|
+
*/
|
|
933
|
+
putAssetMetadata: (fileId_2, putAssetMetadataRequest_1, ...args_24) => __awaiter(this, [fileId_2, putAssetMetadataRequest_1, ...args_24], void 0, function* (fileId, putAssetMetadataRequest, options = {}) {
|
|
934
|
+
// verify required parameter 'fileId' is not null or undefined
|
|
935
|
+
(0, common_1.assertParamExists)("putAssetMetadata", "fileId", fileId);
|
|
936
|
+
const localVarPath = `/v1/ai/asset-metadata/`;
|
|
937
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
938
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
939
|
+
let baseOptions;
|
|
940
|
+
if (configuration) {
|
|
941
|
+
baseOptions = configuration.baseOptions;
|
|
942
|
+
}
|
|
943
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
944
|
+
const localVarHeaderParameter = {};
|
|
945
|
+
const localVarQueryParameter = {};
|
|
946
|
+
// authentication OAuth2 required
|
|
947
|
+
// oauth required
|
|
948
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
949
|
+
if (fileId !== undefined) {
|
|
950
|
+
localVarQueryParameter["fileId"] = fileId;
|
|
951
|
+
}
|
|
952
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
953
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
954
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
955
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
956
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(putAssetMetadataRequest, localVarRequestOptions, configuration);
|
|
957
|
+
return {
|
|
958
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
959
|
+
options: localVarRequestOptions,
|
|
960
|
+
};
|
|
961
|
+
}),
|
|
891
962
|
/**
|
|
892
963
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
893
964
|
* @summary Reimagine image
|
|
@@ -896,7 +967,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
896
967
|
* @param {*} [options] Override http request option.
|
|
897
968
|
* @throws {RequiredError}
|
|
898
969
|
*/
|
|
899
|
-
reimagine: (contentType_12, reimagineRequest_1, ...
|
|
970
|
+
reimagine: (contentType_12, reimagineRequest_1, ...args_25) => __awaiter(this, [contentType_12, reimagineRequest_1, ...args_25], void 0, function* (contentType, reimagineRequest, options = {}) {
|
|
900
971
|
// verify required parameter 'contentType' is not null or undefined
|
|
901
972
|
(0, common_1.assertParamExists)("reimagine", "contentType", contentType);
|
|
902
973
|
// verify required parameter 'reimagineRequest' is not null or undefined
|
|
@@ -935,7 +1006,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
935
1006
|
* @param {*} [options] Override http request option.
|
|
936
1007
|
* @throws {RequiredError}
|
|
937
1008
|
*/
|
|
938
|
-
removeBackground: (contentType_13, removeBackgroundRequest_1, ...
|
|
1009
|
+
removeBackground: (contentType_13, removeBackgroundRequest_1, ...args_26) => __awaiter(this, [contentType_13, removeBackgroundRequest_1, ...args_26], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
|
|
939
1010
|
// verify required parameter 'contentType' is not null or undefined
|
|
940
1011
|
(0, common_1.assertParamExists)("removeBackground", "contentType", contentType);
|
|
941
1012
|
// verify required parameter 'removeBackgroundRequest' is not null or undefined
|
|
@@ -974,7 +1045,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
974
1045
|
* @param {*} [options] Override http request option.
|
|
975
1046
|
* @throws {RequiredError}
|
|
976
1047
|
*/
|
|
977
|
-
setFilepaths: (contentType_14, setFilepathsRequest_1, ...
|
|
1048
|
+
setFilepaths: (contentType_14, setFilepathsRequest_1, ...args_27) => __awaiter(this, [contentType_14, setFilepathsRequest_1, ...args_27], void 0, function* (contentType, setFilepathsRequest, options = {}) {
|
|
978
1049
|
// verify required parameter 'contentType' is not null or undefined
|
|
979
1050
|
(0, common_1.assertParamExists)("setFilepaths", "contentType", contentType);
|
|
980
1051
|
// verify required parameter 'setFilepathsRequest' is not null or undefined
|
|
@@ -1013,7 +1084,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1013
1084
|
* @param {*} [options] Override http request option.
|
|
1014
1085
|
* @throws {RequiredError}
|
|
1015
1086
|
*/
|
|
1016
|
-
styleTransfer: (contentType_15, styleTransferRequest_1, ...
|
|
1087
|
+
styleTransfer: (contentType_15, styleTransferRequest_1, ...args_28) => __awaiter(this, [contentType_15, styleTransferRequest_1, ...args_28], void 0, function* (contentType, styleTransferRequest, options = {}) {
|
|
1017
1088
|
// verify required parameter 'contentType' is not null or undefined
|
|
1018
1089
|
(0, common_1.assertParamExists)("styleTransfer", "contentType", contentType);
|
|
1019
1090
|
// verify required parameter 'styleTransferRequest' is not null or undefined
|
|
@@ -1051,7 +1122,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1051
1122
|
* @param {*} [options] Override http request option.
|
|
1052
1123
|
* @throws {RequiredError}
|
|
1053
1124
|
*/
|
|
1054
|
-
textToImage: (textToImageRequest_1, ...
|
|
1125
|
+
textToImage: (textToImageRequest_1, ...args_29) => __awaiter(this, [textToImageRequest_1, ...args_29], void 0, function* (textToImageRequest, options = {}) {
|
|
1055
1126
|
// verify required parameter 'textToImageRequest' is not null or undefined
|
|
1056
1127
|
(0, common_1.assertParamExists)("textToImage", "textToImageRequest", textToImageRequest);
|
|
1057
1128
|
const localVarPath = `/v1/ai/ldm/queue`;
|
|
@@ -1086,7 +1157,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1086
1157
|
* @param {*} [options] Override http request option.
|
|
1087
1158
|
* @throws {RequiredError}
|
|
1088
1159
|
*/
|
|
1089
|
-
updateCollection: (collectionUuid_2, contentType_16, updateCollectionRequest_1, ...
|
|
1160
|
+
updateCollection: (collectionUuid_2, contentType_16, updateCollectionRequest_1, ...args_30) => __awaiter(this, [collectionUuid_2, contentType_16, updateCollectionRequest_1, ...args_30], void 0, function* (collectionUuid, contentType, updateCollectionRequest, options = {}) {
|
|
1090
1161
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1091
1162
|
(0, common_1.assertParamExists)("updateCollection", "collectionUuid", collectionUuid);
|
|
1092
1163
|
// verify required parameter 'contentType' is not null or undefined
|
|
@@ -1125,7 +1196,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1125
1196
|
* @param {*} [options] Override http request option.
|
|
1126
1197
|
* @throws {RequiredError}
|
|
1127
1198
|
*/
|
|
1128
|
-
updateIpRights: (contentType_17, updateIpRightsRequest_1, ...
|
|
1199
|
+
updateIpRights: (contentType_17, updateIpRightsRequest_1, ...args_31) => __awaiter(this, [contentType_17, updateIpRightsRequest_1, ...args_31], void 0, function* (contentType, updateIpRightsRequest, options = {}) {
|
|
1129
1200
|
// verify required parameter 'contentType' is not null or undefined
|
|
1130
1201
|
(0, common_1.assertParamExists)("updateIpRights", "contentType", contentType);
|
|
1131
1202
|
// verify required parameter 'updateIpRightsRequest' is not null or undefined
|
|
@@ -1164,7 +1235,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1164
1235
|
* @param {*} [options] Override http request option.
|
|
1165
1236
|
* @throws {RequiredError}
|
|
1166
1237
|
*/
|
|
1167
|
-
upscaleImage: (contentType_18, upscaleRequest_1, ...
|
|
1238
|
+
upscaleImage: (contentType_18, upscaleRequest_1, ...args_32) => __awaiter(this, [contentType_18, upscaleRequest_1, ...args_32], void 0, function* (contentType, upscaleRequest, options = {}) {
|
|
1168
1239
|
// verify required parameter 'contentType' is not null or undefined
|
|
1169
1240
|
(0, common_1.assertParamExists)("upscaleImage", "contentType", contentType);
|
|
1170
1241
|
// verify required parameter 'upscaleRequest' is not null or undefined
|
|
@@ -1203,7 +1274,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1203
1274
|
* @param {*} [options] Override http request option.
|
|
1204
1275
|
* @throws {RequiredError}
|
|
1205
1276
|
*/
|
|
1206
|
-
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost: (contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...
|
|
1277
|
+
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost: (contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...args_33) => __awaiter(this, [contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...args_33], void 0, function* (contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options = {}) {
|
|
1207
1278
|
// verify required parameter 'contentType' is not null or undefined
|
|
1208
1279
|
(0, common_1.assertParamExists)("v1AiAiModelArtifactsTrackAiInferenceArtifactsPost", "contentType", contentType);
|
|
1209
1280
|
// verify required parameter 'v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest' is not null or undefined
|
|
@@ -1242,7 +1313,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1242
1313
|
* @param {*} [options] Override http request option.
|
|
1243
1314
|
* @throws {RequiredError}
|
|
1244
1315
|
*/
|
|
1245
|
-
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost: (contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...
|
|
1316
|
+
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost: (contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...args_34) => __awaiter(this, [contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options = {}) {
|
|
1246
1317
|
// verify required parameter 'contentType' is not null or undefined
|
|
1247
1318
|
(0, common_1.assertParamExists)("v1AiAiModelArtifactsTrackAiTrainingArtifactsPost", "contentType", contentType);
|
|
1248
1319
|
// verify required parameter 'v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest' is not null or undefined
|
|
@@ -1280,7 +1351,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1280
1351
|
* @param {*} [options] Override http request option.
|
|
1281
1352
|
* @throws {RequiredError}
|
|
1282
1353
|
*/
|
|
1283
|
-
v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...
|
|
1354
|
+
v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...args_35) => __awaiter(this, [collectionUuid_3, ...args_35], void 0, function* (collectionUuid, options = {}) {
|
|
1284
1355
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1285
1356
|
(0, common_1.assertParamExists)("v1AiArtistCollectionCollectionUuidGet", "collectionUuid", collectionUuid);
|
|
1286
1357
|
const localVarPath = `/v1/ai/artist/collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
|
|
@@ -1312,7 +1383,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1312
1383
|
* @param {*} [options] Override http request option.
|
|
1313
1384
|
* @throws {RequiredError}
|
|
1314
1385
|
*/
|
|
1315
|
-
v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...
|
|
1386
|
+
v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...args_36) => __awaiter(this, [contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...args_36], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1316
1387
|
// verify required parameter 'contentType' is not null or undefined
|
|
1317
1388
|
(0, common_1.assertParamExists)("v1AiAudioLdmAccidentalInfringementCheckPost", "contentType", contentType);
|
|
1318
1389
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1351,7 +1422,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1351
1422
|
* @param {*} [options] Override http request option.
|
|
1352
1423
|
* @throws {RequiredError}
|
|
1353
1424
|
*/
|
|
1354
|
-
v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...
|
|
1425
|
+
v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_37) => __awaiter(this, [contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_37], void 0, function* (contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options = {}) {
|
|
1355
1426
|
// verify required parameter 'contentType' is not null or undefined
|
|
1356
1427
|
(0, common_1.assertParamExists)("v1AiAudioLdmAiGeneratedAudioDetectionPost", "contentType", contentType);
|
|
1357
1428
|
// verify required parameter 'v1AiAudioLdmAiGeneratedAudioDetectionPostRequest' is not null or undefined
|
|
@@ -1390,7 +1461,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1390
1461
|
* @param {*} [options] Override http request option.
|
|
1391
1462
|
* @throws {RequiredError}
|
|
1392
1463
|
*/
|
|
1393
|
-
v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...
|
|
1464
|
+
v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_38) => __awaiter(this, [contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_38], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1394
1465
|
// verify required parameter 'contentType' is not null or undefined
|
|
1395
1466
|
(0, common_1.assertParamExists)("v1AiAudioLdmAudioAttributionAnalysisPost", "contentType", contentType);
|
|
1396
1467
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1429,7 +1500,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1429
1500
|
* @param {*} [options] Override http request option.
|
|
1430
1501
|
* @throws {RequiredError}
|
|
1431
1502
|
*/
|
|
1432
|
-
v1AiAudioLdmAudioAttributionSetupPost: (contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...
|
|
1503
|
+
v1AiAudioLdmAudioAttributionSetupPost: (contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_39) => __awaiter(this, [contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_39], void 0, function* (contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options = {}) {
|
|
1433
1504
|
// verify required parameter 'contentType' is not null or undefined
|
|
1434
1505
|
(0, common_1.assertParamExists)("v1AiAudioLdmAudioAttributionSetupPost", "contentType", contentType);
|
|
1435
1506
|
// verify required parameter 'v1AiAudioLdmAudioAttributionSetupPostRequest' is not null or undefined
|
|
@@ -1468,7 +1539,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1468
1539
|
* @param {*} [options] Override http request option.
|
|
1469
1540
|
* @throws {RequiredError}
|
|
1470
1541
|
*/
|
|
1471
|
-
v1AiAudioLdmAudioToAudioPost: (contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...
|
|
1542
|
+
v1AiAudioLdmAudioToAudioPost: (contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_40) => __awaiter(this, [contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_40], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
|
|
1472
1543
|
// verify required parameter 'contentType' is not null or undefined
|
|
1473
1544
|
(0, common_1.assertParamExists)("v1AiAudioLdmAudioToAudioPost", "contentType", contentType);
|
|
1474
1545
|
// verify required parameter 'v1AiAudioLdmAudioToAudioPostRequest' is not null or undefined
|
|
@@ -1507,7 +1578,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1507
1578
|
* @param {*} [options] Override http request option.
|
|
1508
1579
|
* @throws {RequiredError}
|
|
1509
1580
|
*/
|
|
1510
|
-
v1AiAudioLdmCalculateAudioAttributionPost: (contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...
|
|
1581
|
+
v1AiAudioLdmCalculateAudioAttributionPost: (contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_41) => __awaiter(this, [contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_41], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
|
|
1511
1582
|
// verify required parameter 'contentType' is not null or undefined
|
|
1512
1583
|
(0, common_1.assertParamExists)("v1AiAudioLdmCalculateAudioAttributionPost", "contentType", contentType);
|
|
1513
1584
|
// verify required parameter 'v1AiAudioLdmCalculateAudioAttributionPostRequest' is not null or undefined
|
|
@@ -1545,7 +1616,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1545
1616
|
* @param {*} [options] Override http request option.
|
|
1546
1617
|
* @throws {RequiredError}
|
|
1547
1618
|
*/
|
|
1548
|
-
v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...
|
|
1619
|
+
v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...args_42) => __awaiter(this, [collectionUuid_4, ...args_42], void 0, function* (collectionUuid, options = {}) {
|
|
1549
1620
|
const localVarPath = `/v1/ai/audio-ldm/external-ai-monitoring`;
|
|
1550
1621
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1551
1622
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1578,7 +1649,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1578
1649
|
* @param {*} [options] Override http request option.
|
|
1579
1650
|
* @throws {RequiredError}
|
|
1580
1651
|
*/
|
|
1581
|
-
v1AiAudioLdmLyricsAnalysisPost: (contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...
|
|
1652
|
+
v1AiAudioLdmLyricsAnalysisPost: (contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_43) => __awaiter(this, [contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_43], void 0, function* (contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options = {}) {
|
|
1582
1653
|
// verify required parameter 'contentType' is not null or undefined
|
|
1583
1654
|
(0, common_1.assertParamExists)("v1AiAudioLdmLyricsAnalysisPost", "contentType", contentType);
|
|
1584
1655
|
// verify required parameter 'v1AiAudioLdmLyricsAnalysisPostRequest' is not null or undefined
|
|
@@ -1617,7 +1688,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1617
1688
|
* @param {*} [options] Override http request option.
|
|
1618
1689
|
* @throws {RequiredError}
|
|
1619
1690
|
*/
|
|
1620
|
-
v1AiAudioLdmOptOutAnalysisPost: (contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...
|
|
1691
|
+
v1AiAudioLdmOptOutAnalysisPost: (contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...args_44) => __awaiter(this, [contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...args_44], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1621
1692
|
// verify required parameter 'contentType' is not null or undefined
|
|
1622
1693
|
(0, common_1.assertParamExists)("v1AiAudioLdmOptOutAnalysisPost", "contentType", contentType);
|
|
1623
1694
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1656,7 +1727,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1656
1727
|
* @param {*} [options] Override http request option.
|
|
1657
1728
|
* @throws {RequiredError}
|
|
1658
1729
|
*/
|
|
1659
|
-
v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...
|
|
1730
|
+
v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...args_45) => __awaiter(this, [requestId_3, topNAttributionResults_4, ...args_45], void 0, function* (requestId, topNAttributionResults, options = {}) {
|
|
1660
1731
|
// verify required parameter 'requestId' is not null or undefined
|
|
1661
1732
|
(0, common_1.assertParamExists)("v1AiAudioLdmRequestIdGet", "requestId", requestId);
|
|
1662
1733
|
const localVarPath = `/v1/ai/audio-ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -1692,7 +1763,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1692
1763
|
* @param {*} [options] Override http request option.
|
|
1693
1764
|
* @throws {RequiredError}
|
|
1694
1765
|
*/
|
|
1695
|
-
v1AiAudioLdmSimilarSongFinderPost: (contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...
|
|
1766
|
+
v1AiAudioLdmSimilarSongFinderPost: (contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_46) => __awaiter(this, [contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_46], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1696
1767
|
// verify required parameter 'contentType' is not null or undefined
|
|
1697
1768
|
(0, common_1.assertParamExists)("v1AiAudioLdmSimilarSongFinderPost", "contentType", contentType);
|
|
1698
1769
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1731,7 +1802,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1731
1802
|
* @param {*} [options] Override http request option.
|
|
1732
1803
|
* @throws {RequiredError}
|
|
1733
1804
|
*/
|
|
1734
|
-
v1AiAudioLdmSongAnalysisPost: (contentType_30, v1AiAudioLdmSongAnalysisPostRequest_1, ...
|
|
1805
|
+
v1AiAudioLdmSongAnalysisPost: (contentType_30, v1AiAudioLdmSongAnalysisPostRequest_1, ...args_47) => __awaiter(this, [contentType_30, v1AiAudioLdmSongAnalysisPostRequest_1, ...args_47], void 0, function* (contentType, v1AiAudioLdmSongAnalysisPostRequest, options = {}) {
|
|
1735
1806
|
// verify required parameter 'contentType' is not null or undefined
|
|
1736
1807
|
(0, common_1.assertParamExists)("v1AiAudioLdmSongAnalysisPost", "contentType", contentType);
|
|
1737
1808
|
// verify required parameter 'v1AiAudioLdmSongAnalysisPostRequest' is not null or undefined
|
|
@@ -1770,7 +1841,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1770
1841
|
* @param {*} [options] Override http request option.
|
|
1771
1842
|
* @throws {RequiredError}
|
|
1772
1843
|
*/
|
|
1773
|
-
v1AiAudioLdmStemSplitPost: (contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...
|
|
1844
|
+
v1AiAudioLdmStemSplitPost: (contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...args_48) => __awaiter(this, [contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...args_48], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1774
1845
|
// verify required parameter 'contentType' is not null or undefined
|
|
1775
1846
|
(0, common_1.assertParamExists)("v1AiAudioLdmStemSplitPost", "contentType", contentType);
|
|
1776
1847
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1809,7 +1880,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1809
1880
|
* @param {*} [options] Override http request option.
|
|
1810
1881
|
* @throws {RequiredError}
|
|
1811
1882
|
*/
|
|
1812
|
-
v1AiAudioLdmTextToArtistAudioPost: (contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...
|
|
1883
|
+
v1AiAudioLdmTextToArtistAudioPost: (contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_49) => __awaiter(this, [contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_49], void 0, function* (contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options = {}) {
|
|
1813
1884
|
// verify required parameter 'contentType' is not null or undefined
|
|
1814
1885
|
(0, common_1.assertParamExists)("v1AiAudioLdmTextToArtistAudioPost", "contentType", contentType);
|
|
1815
1886
|
// verify required parameter 'v1AiAudioLdmTextToArtistAudioPostRequest' is not null or undefined
|
|
@@ -1848,7 +1919,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1848
1919
|
* @param {*} [options] Override http request option.
|
|
1849
1920
|
* @throws {RequiredError}
|
|
1850
1921
|
*/
|
|
1851
|
-
v1AiAudioLdmTextToAudioPost: (contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...
|
|
1922
|
+
v1AiAudioLdmTextToAudioPost: (contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...args_50) => __awaiter(this, [contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...args_50], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
|
|
1852
1923
|
// verify required parameter 'contentType' is not null or undefined
|
|
1853
1924
|
(0, common_1.assertParamExists)("v1AiAudioLdmTextToAudioPost", "contentType", contentType);
|
|
1854
1925
|
// verify required parameter 'v1AiAudioLdmTextToAudioPostRequest' is not null or undefined
|
|
@@ -1887,7 +1958,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1887
1958
|
* @param {*} [options] Override http request option.
|
|
1888
1959
|
* @throws {RequiredError}
|
|
1889
1960
|
*/
|
|
1890
|
-
v1AiFilesUploadFilesPost: (contentType_34, contentType2_1, ...
|
|
1961
|
+
v1AiFilesUploadFilesPost: (contentType_34, contentType2_1, ...args_51) => __awaiter(this, [contentType_34, contentType2_1, ...args_51], void 0, function* (contentType, contentType2, options = {}) {
|
|
1891
1962
|
// verify required parameter 'contentType' is not null or undefined
|
|
1892
1963
|
(0, common_1.assertParamExists)("v1AiFilesUploadFilesPost", "contentType", contentType);
|
|
1893
1964
|
// verify required parameter 'contentType2' is not null or undefined
|
|
@@ -1927,7 +1998,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1927
1998
|
* @param {*} [options] Override http request option.
|
|
1928
1999
|
* @throws {RequiredError}
|
|
1929
2000
|
*/
|
|
1930
|
-
v1AiLdmAttributionAnalysisPost: (contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...
|
|
2001
|
+
v1AiLdmAttributionAnalysisPost: (contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...args_52) => __awaiter(this, [contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...args_52], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
|
|
1931
2002
|
// verify required parameter 'contentType' is not null or undefined
|
|
1932
2003
|
(0, common_1.assertParamExists)("v1AiLdmAttributionAnalysisPost", "contentType", contentType);
|
|
1933
2004
|
// verify required parameter 'v1AiLdmAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1966,7 +2037,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1966
2037
|
* @param {*} [options] Override http request option.
|
|
1967
2038
|
* @throws {RequiredError}
|
|
1968
2039
|
*/
|
|
1969
|
-
v1AiLdmCoverArtPost: (contentType_36, v1AiLdmCoverArtPostRequest_1, ...
|
|
2040
|
+
v1AiLdmCoverArtPost: (contentType_36, v1AiLdmCoverArtPostRequest_1, ...args_53) => __awaiter(this, [contentType_36, v1AiLdmCoverArtPostRequest_1, ...args_53], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
|
|
1970
2041
|
// verify required parameter 'contentType' is not null or undefined
|
|
1971
2042
|
(0, common_1.assertParamExists)("v1AiLdmCoverArtPost", "contentType", contentType);
|
|
1972
2043
|
// verify required parameter 'v1AiLdmCoverArtPostRequest' is not null or undefined
|
|
@@ -2005,7 +2076,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2005
2076
|
* @param {*} [options] Override http request option.
|
|
2006
2077
|
* @throws {RequiredError}
|
|
2007
2078
|
*/
|
|
2008
|
-
v1AiLdmImageAttributionSetupPost: (contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...
|
|
2079
|
+
v1AiLdmImageAttributionSetupPost: (contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...args_54) => __awaiter(this, [contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...args_54], void 0, function* (contentType, v1AiLdmImageAttributionSetupPostRequest, options = {}) {
|
|
2009
2080
|
// verify required parameter 'contentType' is not null or undefined
|
|
2010
2081
|
(0, common_1.assertParamExists)("v1AiLdmImageAttributionSetupPost", "contentType", contentType);
|
|
2011
2082
|
// verify required parameter 'v1AiLdmImageAttributionSetupPostRequest' is not null or undefined
|
|
@@ -2287,6 +2358,22 @@ const SureelApiFp = function (configuration) {
|
|
|
2287
2358
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2288
2359
|
});
|
|
2289
2360
|
},
|
|
2361
|
+
/**
|
|
2362
|
+
* Retrieve asset metadata by using fileId.
|
|
2363
|
+
* @summary Get asset metadata
|
|
2364
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
2365
|
+
* @param {*} [options] Override http request option.
|
|
2366
|
+
* @throws {RequiredError}
|
|
2367
|
+
*/
|
|
2368
|
+
getAssetMetadata(fileId, options) {
|
|
2369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2370
|
+
var _a, _b, _c;
|
|
2371
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAssetMetadata(fileId, options);
|
|
2372
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2373
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getAssetMetadata"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2374
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2375
|
+
});
|
|
2376
|
+
},
|
|
2290
2377
|
/**
|
|
2291
2378
|
* Get all collections that are opted-out.
|
|
2292
2379
|
* @summary Get opted-out collections
|
|
@@ -2423,6 +2510,23 @@ const SureelApiFp = function (configuration) {
|
|
|
2423
2510
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2424
2511
|
});
|
|
2425
2512
|
},
|
|
2513
|
+
/**
|
|
2514
|
+
* Update asset metadata by using fileId.
|
|
2515
|
+
* @summary Update asset metadata
|
|
2516
|
+
* @param {string} fileId File ID is use to update the metadata of object
|
|
2517
|
+
* @param {PutAssetMetadataRequest} [putAssetMetadataRequest]
|
|
2518
|
+
* @param {*} [options] Override http request option.
|
|
2519
|
+
* @throws {RequiredError}
|
|
2520
|
+
*/
|
|
2521
|
+
putAssetMetadata(fileId, putAssetMetadataRequest, options) {
|
|
2522
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2523
|
+
var _a, _b, _c;
|
|
2524
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.putAssetMetadata(fileId, putAssetMetadataRequest, options);
|
|
2525
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2526
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.putAssetMetadata"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2527
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2528
|
+
});
|
|
2529
|
+
},
|
|
2426
2530
|
/**
|
|
2427
2531
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
2428
2532
|
* @summary Reimagine image
|
|
@@ -3126,6 +3230,18 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3126
3230
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options)
|
|
3127
3231
|
.then((request) => request(axios, basePath));
|
|
3128
3232
|
},
|
|
3233
|
+
/**
|
|
3234
|
+
* Retrieve asset metadata by using fileId.
|
|
3235
|
+
* @summary Get asset metadata
|
|
3236
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
3237
|
+
* @param {*} [options] Override http request option.
|
|
3238
|
+
* @throws {RequiredError}
|
|
3239
|
+
*/
|
|
3240
|
+
getAssetMetadata(fileId, options) {
|
|
3241
|
+
return localVarFp
|
|
3242
|
+
.getAssetMetadata(fileId, options)
|
|
3243
|
+
.then((request) => request(axios, basePath));
|
|
3244
|
+
},
|
|
3129
3245
|
/**
|
|
3130
3246
|
* Get all collections that are opted-out.
|
|
3131
3247
|
* @summary Get opted-out collections
|
|
@@ -3230,6 +3346,19 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3230
3346
|
.inpaint(contentType, inpaintRequest, options)
|
|
3231
3347
|
.then((request) => request(axios, basePath));
|
|
3232
3348
|
},
|
|
3349
|
+
/**
|
|
3350
|
+
* Update asset metadata by using fileId.
|
|
3351
|
+
* @summary Update asset metadata
|
|
3352
|
+
* @param {string} fileId File ID is use to update the metadata of object
|
|
3353
|
+
* @param {PutAssetMetadataRequest} [putAssetMetadataRequest]
|
|
3354
|
+
* @param {*} [options] Override http request option.
|
|
3355
|
+
* @throws {RequiredError}
|
|
3356
|
+
*/
|
|
3357
|
+
putAssetMetadata(fileId, putAssetMetadataRequest, options) {
|
|
3358
|
+
return localVarFp
|
|
3359
|
+
.putAssetMetadata(fileId, putAssetMetadataRequest, options)
|
|
3360
|
+
.then((request) => request(axios, basePath));
|
|
3361
|
+
},
|
|
3233
3362
|
/**
|
|
3234
3363
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
3235
3364
|
* @summary Reimagine image
|
|
@@ -3827,6 +3956,19 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
3827
3956
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options)
|
|
3828
3957
|
.then((request) => request(this.axios, this.basePath));
|
|
3829
3958
|
}
|
|
3959
|
+
/**
|
|
3960
|
+
* Retrieve asset metadata by using fileId.
|
|
3961
|
+
* @summary Get asset metadata
|
|
3962
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
3963
|
+
* @param {*} [options] Override http request option.
|
|
3964
|
+
* @throws {RequiredError}
|
|
3965
|
+
* @memberof SureelApi
|
|
3966
|
+
*/
|
|
3967
|
+
getAssetMetadata(fileId, options) {
|
|
3968
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
3969
|
+
.getAssetMetadata(fileId, options)
|
|
3970
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3971
|
+
}
|
|
3830
3972
|
/**
|
|
3831
3973
|
* Get all collections that are opted-out.
|
|
3832
3974
|
* @summary Get opted-out collections
|
|
@@ -3939,6 +4081,20 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
3939
4081
|
.inpaint(contentType, inpaintRequest, options)
|
|
3940
4082
|
.then((request) => request(this.axios, this.basePath));
|
|
3941
4083
|
}
|
|
4084
|
+
/**
|
|
4085
|
+
* Update asset metadata by using fileId.
|
|
4086
|
+
* @summary Update asset metadata
|
|
4087
|
+
* @param {string} fileId File ID is use to update the metadata of object
|
|
4088
|
+
* @param {PutAssetMetadataRequest} [putAssetMetadataRequest]
|
|
4089
|
+
* @param {*} [options] Override http request option.
|
|
4090
|
+
* @throws {RequiredError}
|
|
4091
|
+
* @memberof SureelApi
|
|
4092
|
+
*/
|
|
4093
|
+
putAssetMetadata(fileId, putAssetMetadataRequest, options) {
|
|
4094
|
+
return (0, exports.SureelApiFp)(this.configuration)
|
|
4095
|
+
.putAssetMetadata(fileId, putAssetMetadataRequest, options)
|
|
4096
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4097
|
+
}
|
|
3942
4098
|
/**
|
|
3943
4099
|
* Prompt-guided image-to-image synthesis. Use the reimagine endpoint when aiming to adjust an image based on the prompt. By default, each user has a limit of 100 requests per minute.
|
|
3944
4100
|
* @summary Reimagine image
|