@sureel/sdk 1.9.4-rc.31 → 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 +103 -10
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +207 -51
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +103 -10
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +207 -51
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/analysis-history-entry.d.ts +3 -3
- package/esm/models/analysis-history-entry.d.ts.map +1 -1
- package/esm/models/artist-collections-inner.d.ts +3 -3
- package/esm/models/artist-collections-inner.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/index.d.ts +11 -2
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +11 -2
- package/esm/models/index.js.map +1 -1
- package/esm/models/prompt-history-entry.d.ts +3 -3
- 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 +3 -3
- 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 +3 -3
- package/esm/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -1
- package/esm/models/v1-ai-audio-ldm-song-analysis-post-request-musicality-analysis-mode.d.ts +19 -0
- package/esm/models/v1-ai-audio-ldm-song-analysis-post-request-musicality-analysis-mode.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-song-analysis-post-request-musicality-analysis-mode.js +15 -0
- package/esm/models/v1-ai-audio-ldm-song-analysis-post-request-musicality-analysis-mode.js.map +1 -0
- package/esm/models/v1-ai-audio-ldm-song-analysis-post-request.d.ts +50 -0
- package/esm/models/v1-ai-audio-ldm-song-analysis-post-request.d.ts.map +1 -0
- package/esm/models/v1-ai-audio-ldm-song-analysis-post-request.js +15 -0
- package/esm/models/v1-ai-audio-ldm-song-analysis-post-request.js.map +1 -0
- package/models/analysis-history-entry.d.ts +3 -3
- package/models/analysis-history-entry.d.ts.map +1 -1
- package/models/artist-collections-inner.d.ts +3 -3
- package/models/artist-collections-inner.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/index.d.ts +11 -2
- package/models/index.d.ts.map +1 -1
- package/models/index.js +11 -2
- package/models/index.js.map +1 -1
- package/models/prompt-history-entry.d.ts +3 -3
- 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 +3 -3
- 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 +3 -3
- package/models/v1-ai-audio-ldm-request-id-get200-response.d.ts.map +1 -1
- package/models/v1-ai-audio-ldm-song-analysis-post-request-musicality-analysis-mode.d.ts +19 -0
- package/models/v1-ai-audio-ldm-song-analysis-post-request-musicality-analysis-mode.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-song-analysis-post-request-musicality-analysis-mode.js +16 -0
- package/models/v1-ai-audio-ldm-song-analysis-post-request-musicality-analysis-mode.js.map +1 -0
- package/models/v1-ai-audio-ldm-song-analysis-post-request.d.ts +50 -0
- package/models/v1-ai-audio-ldm-song-analysis-post-request.d.ts.map +1 -0
- package/models/v1-ai-audio-ldm-song-analysis-post-request.js +16 -0
- package/models/v1-ai-audio-ldm-song-analysis-post-request.js.map +1 -0
- package/package.json +1 -1
package/esm/api/sureel-api.js
CHANGED
|
@@ -577,6 +577,40 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
577
577
|
options: localVarRequestOptions,
|
|
578
578
|
};
|
|
579
579
|
}),
|
|
580
|
+
/**
|
|
581
|
+
* Retrieve asset metadata by using fileId.
|
|
582
|
+
* @summary Get asset metadata
|
|
583
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
584
|
+
* @param {*} [options] Override http request option.
|
|
585
|
+
* @throws {RequiredError}
|
|
586
|
+
*/
|
|
587
|
+
getAssetMetadata: (fileId_1, ...args_15) => __awaiter(this, [fileId_1, ...args_15], void 0, function* (fileId, options = {}) {
|
|
588
|
+
// verify required parameter 'fileId' is not null or undefined
|
|
589
|
+
assertParamExists("getAssetMetadata", "fileId", fileId);
|
|
590
|
+
const localVarPath = `/v1/ai/asset-metadata/`;
|
|
591
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
592
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
593
|
+
let baseOptions;
|
|
594
|
+
if (configuration) {
|
|
595
|
+
baseOptions = configuration.baseOptions;
|
|
596
|
+
}
|
|
597
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
598
|
+
const localVarHeaderParameter = {};
|
|
599
|
+
const localVarQueryParameter = {};
|
|
600
|
+
// authentication OAuth2 required
|
|
601
|
+
// oauth required
|
|
602
|
+
yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
603
|
+
if (fileId !== undefined) {
|
|
604
|
+
localVarQueryParameter["fileId"] = fileId;
|
|
605
|
+
}
|
|
606
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
607
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
608
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
609
|
+
return {
|
|
610
|
+
url: toPathString(localVarUrlObj),
|
|
611
|
+
options: localVarRequestOptions,
|
|
612
|
+
};
|
|
613
|
+
}),
|
|
580
614
|
/**
|
|
581
615
|
* Get all collections that are opted-out.
|
|
582
616
|
* @summary Get opted-out collections
|
|
@@ -585,7 +619,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
585
619
|
* @param {*} [options] Override http request option.
|
|
586
620
|
* @throws {RequiredError}
|
|
587
621
|
*/
|
|
588
|
-
getOptedOutCollections: (take_2, cursor_2, ...
|
|
622
|
+
getOptedOutCollections: (take_2, cursor_2, ...args_16) => __awaiter(this, [take_2, cursor_2, ...args_16], void 0, function* (take, cursor, options = {}) {
|
|
589
623
|
// verify required parameter 'take' is not null or undefined
|
|
590
624
|
assertParamExists("getOptedOutCollections", "take", take);
|
|
591
625
|
const localVarPath = `/v1/ai/artist/collections/opted-out`;
|
|
@@ -624,7 +658,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
624
658
|
* @param {*} [options] Override http request option.
|
|
625
659
|
* @throws {RequiredError}
|
|
626
660
|
*/
|
|
627
|
-
getOwnCollections: (includeArtworks_3, includeOriginalSongs_3, includeFullResArtworks_3, ...
|
|
661
|
+
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 = {}) {
|
|
628
662
|
// verify required parameter 'includeArtworks' is not null or undefined
|
|
629
663
|
assertParamExists("getOwnCollections", "includeArtworks", includeArtworks);
|
|
630
664
|
const localVarPath = `/v1/ai/artist/collections`;
|
|
@@ -669,7 +703,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
669
703
|
* @param {*} [options] Override http request option.
|
|
670
704
|
* @throws {RequiredError}
|
|
671
705
|
*/
|
|
672
|
-
getPromptHistory: (take_3, cursor_3, maxTimestamp_2, topNAttributionResults_2, ...
|
|
706
|
+
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 = {}) {
|
|
673
707
|
// verify required parameter 'take' is not null or undefined
|
|
674
708
|
assertParamExists("getPromptHistory", "take", take);
|
|
675
709
|
const localVarPath = `/v1/ai/prompt-history/`;
|
|
@@ -714,7 +748,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
714
748
|
* @param {*} [options] Override http request option.
|
|
715
749
|
* @throws {RequiredError}
|
|
716
750
|
*/
|
|
717
|
-
getResultByRequestId: (requestId_2, topNAttributionResults_3, ...
|
|
751
|
+
getResultByRequestId: (requestId_2, topNAttributionResults_3, ...args_19) => __awaiter(this, [requestId_2, topNAttributionResults_3, ...args_19], void 0, function* (requestId, topNAttributionResults, options = {}) {
|
|
718
752
|
// verify required parameter 'requestId' is not null or undefined
|
|
719
753
|
assertParamExists("getResultByRequestId", "requestId", requestId);
|
|
720
754
|
const localVarPath = `/v1/ai/ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -748,7 +782,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
748
782
|
* @param {*} [options] Override http request option.
|
|
749
783
|
* @throws {RequiredError}
|
|
750
784
|
*/
|
|
751
|
-
getStylePresets: (...
|
|
785
|
+
getStylePresets: (...args_20) => __awaiter(this, [...args_20], void 0, function* (options = {}) {
|
|
752
786
|
const localVarPath = `/v1/ai/ldm/style-presets`;
|
|
753
787
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
754
788
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -777,7 +811,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
777
811
|
* @param {*} [options] Override http request option.
|
|
778
812
|
* @throws {RequiredError}
|
|
779
813
|
*/
|
|
780
|
-
getUploadedFiles: (keys_1, ...
|
|
814
|
+
getUploadedFiles: (keys_1, ...args_21) => __awaiter(this, [keys_1, ...args_21], void 0, function* (keys, options = {}) {
|
|
781
815
|
// verify required parameter 'keys' is not null or undefined
|
|
782
816
|
assertParamExists("getUploadedFiles", "keys", keys);
|
|
783
817
|
const localVarPath = `/v1/ai/files/get-uploaded-files`;
|
|
@@ -812,7 +846,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
812
846
|
* @param {*} [options] Override http request option.
|
|
813
847
|
* @throws {RequiredError}
|
|
814
848
|
*/
|
|
815
|
-
imageBlending: (contentType_10, imageBlendingRequest_1, ...
|
|
849
|
+
imageBlending: (contentType_10, imageBlendingRequest_1, ...args_22) => __awaiter(this, [contentType_10, imageBlendingRequest_1, ...args_22], void 0, function* (contentType, imageBlendingRequest, options = {}) {
|
|
816
850
|
// verify required parameter 'contentType' is not null or undefined
|
|
817
851
|
assertParamExists("imageBlending", "contentType", contentType);
|
|
818
852
|
// verify required parameter 'imageBlendingRequest' is not null or undefined
|
|
@@ -851,7 +885,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
851
885
|
* @param {*} [options] Override http request option.
|
|
852
886
|
* @throws {RequiredError}
|
|
853
887
|
*/
|
|
854
|
-
inpaint: (contentType_11, inpaintRequest_1, ...
|
|
888
|
+
inpaint: (contentType_11, inpaintRequest_1, ...args_23) => __awaiter(this, [contentType_11, inpaintRequest_1, ...args_23], void 0, function* (contentType, inpaintRequest, options = {}) {
|
|
855
889
|
// verify required parameter 'contentType' is not null or undefined
|
|
856
890
|
assertParamExists("inpaint", "contentType", contentType);
|
|
857
891
|
// verify required parameter 'inpaintRequest' is not null or undefined
|
|
@@ -882,6 +916,43 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
882
916
|
options: localVarRequestOptions,
|
|
883
917
|
};
|
|
884
918
|
}),
|
|
919
|
+
/**
|
|
920
|
+
* Update asset metadata by using fileId.
|
|
921
|
+
* @summary Update asset metadata
|
|
922
|
+
* @param {string} fileId File ID is use to update the metadata of object
|
|
923
|
+
* @param {PutAssetMetadataRequest} [putAssetMetadataRequest]
|
|
924
|
+
* @param {*} [options] Override http request option.
|
|
925
|
+
* @throws {RequiredError}
|
|
926
|
+
*/
|
|
927
|
+
putAssetMetadata: (fileId_2, putAssetMetadataRequest_1, ...args_24) => __awaiter(this, [fileId_2, putAssetMetadataRequest_1, ...args_24], void 0, function* (fileId, putAssetMetadataRequest, options = {}) {
|
|
928
|
+
// verify required parameter 'fileId' is not null or undefined
|
|
929
|
+
assertParamExists("putAssetMetadata", "fileId", fileId);
|
|
930
|
+
const localVarPath = `/v1/ai/asset-metadata/`;
|
|
931
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
932
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
933
|
+
let baseOptions;
|
|
934
|
+
if (configuration) {
|
|
935
|
+
baseOptions = configuration.baseOptions;
|
|
936
|
+
}
|
|
937
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
938
|
+
const localVarHeaderParameter = {};
|
|
939
|
+
const localVarQueryParameter = {};
|
|
940
|
+
// authentication OAuth2 required
|
|
941
|
+
// oauth required
|
|
942
|
+
yield setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
943
|
+
if (fileId !== undefined) {
|
|
944
|
+
localVarQueryParameter["fileId"] = fileId;
|
|
945
|
+
}
|
|
946
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
947
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
948
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
949
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
950
|
+
localVarRequestOptions.data = serializeDataIfNeeded(putAssetMetadataRequest, localVarRequestOptions, configuration);
|
|
951
|
+
return {
|
|
952
|
+
url: toPathString(localVarUrlObj),
|
|
953
|
+
options: localVarRequestOptions,
|
|
954
|
+
};
|
|
955
|
+
}),
|
|
885
956
|
/**
|
|
886
957
|
* 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.
|
|
887
958
|
* @summary Reimagine image
|
|
@@ -890,7 +961,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
890
961
|
* @param {*} [options] Override http request option.
|
|
891
962
|
* @throws {RequiredError}
|
|
892
963
|
*/
|
|
893
|
-
reimagine: (contentType_12, reimagineRequest_1, ...
|
|
964
|
+
reimagine: (contentType_12, reimagineRequest_1, ...args_25) => __awaiter(this, [contentType_12, reimagineRequest_1, ...args_25], void 0, function* (contentType, reimagineRequest, options = {}) {
|
|
894
965
|
// verify required parameter 'contentType' is not null or undefined
|
|
895
966
|
assertParamExists("reimagine", "contentType", contentType);
|
|
896
967
|
// verify required parameter 'reimagineRequest' is not null or undefined
|
|
@@ -929,7 +1000,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
929
1000
|
* @param {*} [options] Override http request option.
|
|
930
1001
|
* @throws {RequiredError}
|
|
931
1002
|
*/
|
|
932
|
-
removeBackground: (contentType_13, removeBackgroundRequest_1, ...
|
|
1003
|
+
removeBackground: (contentType_13, removeBackgroundRequest_1, ...args_26) => __awaiter(this, [contentType_13, removeBackgroundRequest_1, ...args_26], void 0, function* (contentType, removeBackgroundRequest, options = {}) {
|
|
933
1004
|
// verify required parameter 'contentType' is not null or undefined
|
|
934
1005
|
assertParamExists("removeBackground", "contentType", contentType);
|
|
935
1006
|
// verify required parameter 'removeBackgroundRequest' is not null or undefined
|
|
@@ -968,7 +1039,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
968
1039
|
* @param {*} [options] Override http request option.
|
|
969
1040
|
* @throws {RequiredError}
|
|
970
1041
|
*/
|
|
971
|
-
setFilepaths: (contentType_14, setFilepathsRequest_1, ...
|
|
1042
|
+
setFilepaths: (contentType_14, setFilepathsRequest_1, ...args_27) => __awaiter(this, [contentType_14, setFilepathsRequest_1, ...args_27], void 0, function* (contentType, setFilepathsRequest, options = {}) {
|
|
972
1043
|
// verify required parameter 'contentType' is not null or undefined
|
|
973
1044
|
assertParamExists("setFilepaths", "contentType", contentType);
|
|
974
1045
|
// verify required parameter 'setFilepathsRequest' is not null or undefined
|
|
@@ -1007,7 +1078,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1007
1078
|
* @param {*} [options] Override http request option.
|
|
1008
1079
|
* @throws {RequiredError}
|
|
1009
1080
|
*/
|
|
1010
|
-
styleTransfer: (contentType_15, styleTransferRequest_1, ...
|
|
1081
|
+
styleTransfer: (contentType_15, styleTransferRequest_1, ...args_28) => __awaiter(this, [contentType_15, styleTransferRequest_1, ...args_28], void 0, function* (contentType, styleTransferRequest, options = {}) {
|
|
1011
1082
|
// verify required parameter 'contentType' is not null or undefined
|
|
1012
1083
|
assertParamExists("styleTransfer", "contentType", contentType);
|
|
1013
1084
|
// verify required parameter 'styleTransferRequest' is not null or undefined
|
|
@@ -1045,7 +1116,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1045
1116
|
* @param {*} [options] Override http request option.
|
|
1046
1117
|
* @throws {RequiredError}
|
|
1047
1118
|
*/
|
|
1048
|
-
textToImage: (textToImageRequest_1, ...
|
|
1119
|
+
textToImage: (textToImageRequest_1, ...args_29) => __awaiter(this, [textToImageRequest_1, ...args_29], void 0, function* (textToImageRequest, options = {}) {
|
|
1049
1120
|
// verify required parameter 'textToImageRequest' is not null or undefined
|
|
1050
1121
|
assertParamExists("textToImage", "textToImageRequest", textToImageRequest);
|
|
1051
1122
|
const localVarPath = `/v1/ai/ldm/queue`;
|
|
@@ -1080,7 +1151,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1080
1151
|
* @param {*} [options] Override http request option.
|
|
1081
1152
|
* @throws {RequiredError}
|
|
1082
1153
|
*/
|
|
1083
|
-
updateCollection: (collectionUuid_2, contentType_16, updateCollectionRequest_1, ...
|
|
1154
|
+
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 = {}) {
|
|
1084
1155
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1085
1156
|
assertParamExists("updateCollection", "collectionUuid", collectionUuid);
|
|
1086
1157
|
// verify required parameter 'contentType' is not null or undefined
|
|
@@ -1119,7 +1190,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1119
1190
|
* @param {*} [options] Override http request option.
|
|
1120
1191
|
* @throws {RequiredError}
|
|
1121
1192
|
*/
|
|
1122
|
-
updateIpRights: (contentType_17, updateIpRightsRequest_1, ...
|
|
1193
|
+
updateIpRights: (contentType_17, updateIpRightsRequest_1, ...args_31) => __awaiter(this, [contentType_17, updateIpRightsRequest_1, ...args_31], void 0, function* (contentType, updateIpRightsRequest, options = {}) {
|
|
1123
1194
|
// verify required parameter 'contentType' is not null or undefined
|
|
1124
1195
|
assertParamExists("updateIpRights", "contentType", contentType);
|
|
1125
1196
|
// verify required parameter 'updateIpRightsRequest' is not null or undefined
|
|
@@ -1158,7 +1229,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1158
1229
|
* @param {*} [options] Override http request option.
|
|
1159
1230
|
* @throws {RequiredError}
|
|
1160
1231
|
*/
|
|
1161
|
-
upscaleImage: (contentType_18, upscaleRequest_1, ...
|
|
1232
|
+
upscaleImage: (contentType_18, upscaleRequest_1, ...args_32) => __awaiter(this, [contentType_18, upscaleRequest_1, ...args_32], void 0, function* (contentType, upscaleRequest, options = {}) {
|
|
1162
1233
|
// verify required parameter 'contentType' is not null or undefined
|
|
1163
1234
|
assertParamExists("upscaleImage", "contentType", contentType);
|
|
1164
1235
|
// verify required parameter 'upscaleRequest' is not null or undefined
|
|
@@ -1197,7 +1268,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1197
1268
|
* @param {*} [options] Override http request option.
|
|
1198
1269
|
* @throws {RequiredError}
|
|
1199
1270
|
*/
|
|
1200
|
-
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost: (contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...
|
|
1271
|
+
v1AiAiModelArtifactsTrackAiInferenceArtifactsPost: (contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...args_33) => __awaiter(this, [contentType_19, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest_1, ...args_33], void 0, function* (contentType, v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest, options = {}) {
|
|
1201
1272
|
// verify required parameter 'contentType' is not null or undefined
|
|
1202
1273
|
assertParamExists("v1AiAiModelArtifactsTrackAiInferenceArtifactsPost", "contentType", contentType);
|
|
1203
1274
|
// verify required parameter 'v1AiAiModelArtifactsTrackAiInferenceArtifactsPostRequest' is not null or undefined
|
|
@@ -1236,7 +1307,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1236
1307
|
* @param {*} [options] Override http request option.
|
|
1237
1308
|
* @throws {RequiredError}
|
|
1238
1309
|
*/
|
|
1239
|
-
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost: (contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...
|
|
1310
|
+
v1AiAiModelArtifactsTrackAiTrainingArtifactsPost: (contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...args_34) => __awaiter(this, [contentType_20, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest_1, ...args_34], void 0, function* (contentType, v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest, options = {}) {
|
|
1240
1311
|
// verify required parameter 'contentType' is not null or undefined
|
|
1241
1312
|
assertParamExists("v1AiAiModelArtifactsTrackAiTrainingArtifactsPost", "contentType", contentType);
|
|
1242
1313
|
// verify required parameter 'v1AiAiModelArtifactsTrackAiTrainingArtifactsPostRequest' is not null or undefined
|
|
@@ -1274,7 +1345,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1274
1345
|
* @param {*} [options] Override http request option.
|
|
1275
1346
|
* @throws {RequiredError}
|
|
1276
1347
|
*/
|
|
1277
|
-
v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...
|
|
1348
|
+
v1AiArtistCollectionCollectionUuidGet: (collectionUuid_3, ...args_35) => __awaiter(this, [collectionUuid_3, ...args_35], void 0, function* (collectionUuid, options = {}) {
|
|
1278
1349
|
// verify required parameter 'collectionUuid' is not null or undefined
|
|
1279
1350
|
assertParamExists("v1AiArtistCollectionCollectionUuidGet", "collectionUuid", collectionUuid);
|
|
1280
1351
|
const localVarPath = `/v1/ai/artist/collection/{collectionUuid}`.replace(`{${"collectionUuid"}}`, encodeURIComponent(String(collectionUuid)));
|
|
@@ -1306,7 +1377,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1306
1377
|
* @param {*} [options] Override http request option.
|
|
1307
1378
|
* @throws {RequiredError}
|
|
1308
1379
|
*/
|
|
1309
|
-
v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...
|
|
1380
|
+
v1AiAudioLdmAccidentalInfringementCheckPost: (contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...args_36) => __awaiter(this, [contentType_21, v1AiAudioLdmStemSplitPostRequest_1, ...args_36], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1310
1381
|
// verify required parameter 'contentType' is not null or undefined
|
|
1311
1382
|
assertParamExists("v1AiAudioLdmAccidentalInfringementCheckPost", "contentType", contentType);
|
|
1312
1383
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1345,7 +1416,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1345
1416
|
* @param {*} [options] Override http request option.
|
|
1346
1417
|
* @throws {RequiredError}
|
|
1347
1418
|
*/
|
|
1348
|
-
v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...
|
|
1419
|
+
v1AiAudioLdmAiGeneratedAudioDetectionPost: (contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_37) => __awaiter(this, [contentType_22, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest_1, ...args_37], void 0, function* (contentType, v1AiAudioLdmAiGeneratedAudioDetectionPostRequest, options = {}) {
|
|
1349
1420
|
// verify required parameter 'contentType' is not null or undefined
|
|
1350
1421
|
assertParamExists("v1AiAudioLdmAiGeneratedAudioDetectionPost", "contentType", contentType);
|
|
1351
1422
|
// verify required parameter 'v1AiAudioLdmAiGeneratedAudioDetectionPostRequest' is not null or undefined
|
|
@@ -1384,7 +1455,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1384
1455
|
* @param {*} [options] Override http request option.
|
|
1385
1456
|
* @throws {RequiredError}
|
|
1386
1457
|
*/
|
|
1387
|
-
v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...
|
|
1458
|
+
v1AiAudioLdmAudioAttributionAnalysisPost: (contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_38) => __awaiter(this, [contentType_23, v1AiAudioLdmAudioAttributionAnalysisPostRequest_1, ...args_38], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1388
1459
|
// verify required parameter 'contentType' is not null or undefined
|
|
1389
1460
|
assertParamExists("v1AiAudioLdmAudioAttributionAnalysisPost", "contentType", contentType);
|
|
1390
1461
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1423,7 +1494,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1423
1494
|
* @param {*} [options] Override http request option.
|
|
1424
1495
|
* @throws {RequiredError}
|
|
1425
1496
|
*/
|
|
1426
|
-
v1AiAudioLdmAudioAttributionSetupPost: (contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...
|
|
1497
|
+
v1AiAudioLdmAudioAttributionSetupPost: (contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_39) => __awaiter(this, [contentType_24, v1AiAudioLdmAudioAttributionSetupPostRequest_1, ...args_39], void 0, function* (contentType, v1AiAudioLdmAudioAttributionSetupPostRequest, options = {}) {
|
|
1427
1498
|
// verify required parameter 'contentType' is not null or undefined
|
|
1428
1499
|
assertParamExists("v1AiAudioLdmAudioAttributionSetupPost", "contentType", contentType);
|
|
1429
1500
|
// verify required parameter 'v1AiAudioLdmAudioAttributionSetupPostRequest' is not null or undefined
|
|
@@ -1462,7 +1533,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1462
1533
|
* @param {*} [options] Override http request option.
|
|
1463
1534
|
* @throws {RequiredError}
|
|
1464
1535
|
*/
|
|
1465
|
-
v1AiAudioLdmAudioToAudioPost: (contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...
|
|
1536
|
+
v1AiAudioLdmAudioToAudioPost: (contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_40) => __awaiter(this, [contentType_25, v1AiAudioLdmAudioToAudioPostRequest_1, ...args_40], void 0, function* (contentType, v1AiAudioLdmAudioToAudioPostRequest, options = {}) {
|
|
1466
1537
|
// verify required parameter 'contentType' is not null or undefined
|
|
1467
1538
|
assertParamExists("v1AiAudioLdmAudioToAudioPost", "contentType", contentType);
|
|
1468
1539
|
// verify required parameter 'v1AiAudioLdmAudioToAudioPostRequest' is not null or undefined
|
|
@@ -1501,7 +1572,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1501
1572
|
* @param {*} [options] Override http request option.
|
|
1502
1573
|
* @throws {RequiredError}
|
|
1503
1574
|
*/
|
|
1504
|
-
v1AiAudioLdmCalculateAudioAttributionPost: (contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...
|
|
1575
|
+
v1AiAudioLdmCalculateAudioAttributionPost: (contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_41) => __awaiter(this, [contentType_26, v1AiAudioLdmCalculateAudioAttributionPostRequest_1, ...args_41], void 0, function* (contentType, v1AiAudioLdmCalculateAudioAttributionPostRequest, options = {}) {
|
|
1505
1576
|
// verify required parameter 'contentType' is not null or undefined
|
|
1506
1577
|
assertParamExists("v1AiAudioLdmCalculateAudioAttributionPost", "contentType", contentType);
|
|
1507
1578
|
// verify required parameter 'v1AiAudioLdmCalculateAudioAttributionPostRequest' is not null or undefined
|
|
@@ -1539,7 +1610,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1539
1610
|
* @param {*} [options] Override http request option.
|
|
1540
1611
|
* @throws {RequiredError}
|
|
1541
1612
|
*/
|
|
1542
|
-
v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...
|
|
1613
|
+
v1AiAudioLdmExternalAiMonitoringGet: (collectionUuid_4, ...args_42) => __awaiter(this, [collectionUuid_4, ...args_42], void 0, function* (collectionUuid, options = {}) {
|
|
1543
1614
|
const localVarPath = `/v1/ai/audio-ldm/external-ai-monitoring`;
|
|
1544
1615
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1545
1616
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1572,7 +1643,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1572
1643
|
* @param {*} [options] Override http request option.
|
|
1573
1644
|
* @throws {RequiredError}
|
|
1574
1645
|
*/
|
|
1575
|
-
v1AiAudioLdmLyricsAnalysisPost: (contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...
|
|
1646
|
+
v1AiAudioLdmLyricsAnalysisPost: (contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_43) => __awaiter(this, [contentType_27, v1AiAudioLdmLyricsAnalysisPostRequest_1, ...args_43], void 0, function* (contentType, v1AiAudioLdmLyricsAnalysisPostRequest, options = {}) {
|
|
1576
1647
|
// verify required parameter 'contentType' is not null or undefined
|
|
1577
1648
|
assertParamExists("v1AiAudioLdmLyricsAnalysisPost", "contentType", contentType);
|
|
1578
1649
|
// verify required parameter 'v1AiAudioLdmLyricsAnalysisPostRequest' is not null or undefined
|
|
@@ -1611,7 +1682,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1611
1682
|
* @param {*} [options] Override http request option.
|
|
1612
1683
|
* @throws {RequiredError}
|
|
1613
1684
|
*/
|
|
1614
|
-
v1AiAudioLdmOptOutAnalysisPost: (contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...
|
|
1685
|
+
v1AiAudioLdmOptOutAnalysisPost: (contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...args_44) => __awaiter(this, [contentType_28, v1AiAudioLdmStemSplitPostRequest_2, ...args_44], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1615
1686
|
// verify required parameter 'contentType' is not null or undefined
|
|
1616
1687
|
assertParamExists("v1AiAudioLdmOptOutAnalysisPost", "contentType", contentType);
|
|
1617
1688
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1650,7 +1721,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1650
1721
|
* @param {*} [options] Override http request option.
|
|
1651
1722
|
* @throws {RequiredError}
|
|
1652
1723
|
*/
|
|
1653
|
-
v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...
|
|
1724
|
+
v1AiAudioLdmRequestIdGet: (requestId_3, topNAttributionResults_4, ...args_45) => __awaiter(this, [requestId_3, topNAttributionResults_4, ...args_45], void 0, function* (requestId, topNAttributionResults, options = {}) {
|
|
1654
1725
|
// verify required parameter 'requestId' is not null or undefined
|
|
1655
1726
|
assertParamExists("v1AiAudioLdmRequestIdGet", "requestId", requestId);
|
|
1656
1727
|
const localVarPath = `/v1/ai/audio-ldm/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
@@ -1686,7 +1757,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1686
1757
|
* @param {*} [options] Override http request option.
|
|
1687
1758
|
* @throws {RequiredError}
|
|
1688
1759
|
*/
|
|
1689
|
-
v1AiAudioLdmSimilarSongFinderPost: (contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...
|
|
1760
|
+
v1AiAudioLdmSimilarSongFinderPost: (contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_46) => __awaiter(this, [contentType_29, v1AiAudioLdmAudioAttributionAnalysisPostRequest_2, ...args_46], void 0, function* (contentType, v1AiAudioLdmAudioAttributionAnalysisPostRequest, options = {}) {
|
|
1690
1761
|
// verify required parameter 'contentType' is not null or undefined
|
|
1691
1762
|
assertParamExists("v1AiAudioLdmSimilarSongFinderPost", "contentType", contentType);
|
|
1692
1763
|
// verify required parameter 'v1AiAudioLdmAudioAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1721,15 +1792,15 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1721
1792
|
* Song analysis involves stem split, similar song finder, AI detection, lyrics transcription for the song.
|
|
1722
1793
|
* @summary Song Analysis
|
|
1723
1794
|
* @param {V1AiAudioLdmSongAnalysisPostContentTypeEnum} contentType
|
|
1724
|
-
* @param {
|
|
1795
|
+
* @param {V1AiAudioLdmSongAnalysisPostRequest} v1AiAudioLdmSongAnalysisPostRequest
|
|
1725
1796
|
* @param {*} [options] Override http request option.
|
|
1726
1797
|
* @throws {RequiredError}
|
|
1727
1798
|
*/
|
|
1728
|
-
v1AiAudioLdmSongAnalysisPost: (contentType_30,
|
|
1799
|
+
v1AiAudioLdmSongAnalysisPost: (contentType_30, v1AiAudioLdmSongAnalysisPostRequest_1, ...args_47) => __awaiter(this, [contentType_30, v1AiAudioLdmSongAnalysisPostRequest_1, ...args_47], void 0, function* (contentType, v1AiAudioLdmSongAnalysisPostRequest, options = {}) {
|
|
1729
1800
|
// verify required parameter 'contentType' is not null or undefined
|
|
1730
1801
|
assertParamExists("v1AiAudioLdmSongAnalysisPost", "contentType", contentType);
|
|
1731
|
-
// verify required parameter '
|
|
1732
|
-
assertParamExists("v1AiAudioLdmSongAnalysisPost", "
|
|
1802
|
+
// verify required parameter 'v1AiAudioLdmSongAnalysisPostRequest' is not null or undefined
|
|
1803
|
+
assertParamExists("v1AiAudioLdmSongAnalysisPost", "v1AiAudioLdmSongAnalysisPostRequest", v1AiAudioLdmSongAnalysisPostRequest);
|
|
1733
1804
|
const localVarPath = `/v1/ai/audio-ldm/song-analysis`;
|
|
1734
1805
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1735
1806
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1750,7 +1821,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1750
1821
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1751
1822
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1752
1823
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1753
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1824
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1AiAudioLdmSongAnalysisPostRequest, localVarRequestOptions, configuration);
|
|
1754
1825
|
return {
|
|
1755
1826
|
url: toPathString(localVarUrlObj),
|
|
1756
1827
|
options: localVarRequestOptions,
|
|
@@ -1764,7 +1835,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1764
1835
|
* @param {*} [options] Override http request option.
|
|
1765
1836
|
* @throws {RequiredError}
|
|
1766
1837
|
*/
|
|
1767
|
-
v1AiAudioLdmStemSplitPost: (contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...
|
|
1838
|
+
v1AiAudioLdmStemSplitPost: (contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...args_48) => __awaiter(this, [contentType_31, v1AiAudioLdmStemSplitPostRequest_3, ...args_48], void 0, function* (contentType, v1AiAudioLdmStemSplitPostRequest, options = {}) {
|
|
1768
1839
|
// verify required parameter 'contentType' is not null or undefined
|
|
1769
1840
|
assertParamExists("v1AiAudioLdmStemSplitPost", "contentType", contentType);
|
|
1770
1841
|
// verify required parameter 'v1AiAudioLdmStemSplitPostRequest' is not null or undefined
|
|
@@ -1803,7 +1874,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1803
1874
|
* @param {*} [options] Override http request option.
|
|
1804
1875
|
* @throws {RequiredError}
|
|
1805
1876
|
*/
|
|
1806
|
-
v1AiAudioLdmTextToArtistAudioPost: (contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...
|
|
1877
|
+
v1AiAudioLdmTextToArtistAudioPost: (contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_49) => __awaiter(this, [contentType_32, v1AiAudioLdmTextToArtistAudioPostRequest_1, ...args_49], void 0, function* (contentType, v1AiAudioLdmTextToArtistAudioPostRequest, options = {}) {
|
|
1807
1878
|
// verify required parameter 'contentType' is not null or undefined
|
|
1808
1879
|
assertParamExists("v1AiAudioLdmTextToArtistAudioPost", "contentType", contentType);
|
|
1809
1880
|
// verify required parameter 'v1AiAudioLdmTextToArtistAudioPostRequest' is not null or undefined
|
|
@@ -1842,7 +1913,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1842
1913
|
* @param {*} [options] Override http request option.
|
|
1843
1914
|
* @throws {RequiredError}
|
|
1844
1915
|
*/
|
|
1845
|
-
v1AiAudioLdmTextToAudioPost: (contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...
|
|
1916
|
+
v1AiAudioLdmTextToAudioPost: (contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...args_50) => __awaiter(this, [contentType_33, v1AiAudioLdmTextToAudioPostRequest_1, ...args_50], void 0, function* (contentType, v1AiAudioLdmTextToAudioPostRequest, options = {}) {
|
|
1846
1917
|
// verify required parameter 'contentType' is not null or undefined
|
|
1847
1918
|
assertParamExists("v1AiAudioLdmTextToAudioPost", "contentType", contentType);
|
|
1848
1919
|
// verify required parameter 'v1AiAudioLdmTextToAudioPostRequest' is not null or undefined
|
|
@@ -1881,7 +1952,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1881
1952
|
* @param {*} [options] Override http request option.
|
|
1882
1953
|
* @throws {RequiredError}
|
|
1883
1954
|
*/
|
|
1884
|
-
v1AiFilesUploadFilesPost: (contentType_34, contentType2_1, ...
|
|
1955
|
+
v1AiFilesUploadFilesPost: (contentType_34, contentType2_1, ...args_51) => __awaiter(this, [contentType_34, contentType2_1, ...args_51], void 0, function* (contentType, contentType2, options = {}) {
|
|
1885
1956
|
// verify required parameter 'contentType' is not null or undefined
|
|
1886
1957
|
assertParamExists("v1AiFilesUploadFilesPost", "contentType", contentType);
|
|
1887
1958
|
// verify required parameter 'contentType2' is not null or undefined
|
|
@@ -1921,7 +1992,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1921
1992
|
* @param {*} [options] Override http request option.
|
|
1922
1993
|
* @throws {RequiredError}
|
|
1923
1994
|
*/
|
|
1924
|
-
v1AiLdmAttributionAnalysisPost: (contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...
|
|
1995
|
+
v1AiLdmAttributionAnalysisPost: (contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...args_52) => __awaiter(this, [contentType_35, v1AiLdmAttributionAnalysisPostRequest_1, ...args_52], void 0, function* (contentType, v1AiLdmAttributionAnalysisPostRequest, options = {}) {
|
|
1925
1996
|
// verify required parameter 'contentType' is not null or undefined
|
|
1926
1997
|
assertParamExists("v1AiLdmAttributionAnalysisPost", "contentType", contentType);
|
|
1927
1998
|
// verify required parameter 'v1AiLdmAttributionAnalysisPostRequest' is not null or undefined
|
|
@@ -1960,7 +2031,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1960
2031
|
* @param {*} [options] Override http request option.
|
|
1961
2032
|
* @throws {RequiredError}
|
|
1962
2033
|
*/
|
|
1963
|
-
v1AiLdmCoverArtPost: (contentType_36, v1AiLdmCoverArtPostRequest_1, ...
|
|
2034
|
+
v1AiLdmCoverArtPost: (contentType_36, v1AiLdmCoverArtPostRequest_1, ...args_53) => __awaiter(this, [contentType_36, v1AiLdmCoverArtPostRequest_1, ...args_53], void 0, function* (contentType, v1AiLdmCoverArtPostRequest, options = {}) {
|
|
1964
2035
|
// verify required parameter 'contentType' is not null or undefined
|
|
1965
2036
|
assertParamExists("v1AiLdmCoverArtPost", "contentType", contentType);
|
|
1966
2037
|
// verify required parameter 'v1AiLdmCoverArtPostRequest' is not null or undefined
|
|
@@ -1999,7 +2070,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1999
2070
|
* @param {*} [options] Override http request option.
|
|
2000
2071
|
* @throws {RequiredError}
|
|
2001
2072
|
*/
|
|
2002
|
-
v1AiLdmImageAttributionSetupPost: (contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...
|
|
2073
|
+
v1AiLdmImageAttributionSetupPost: (contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...args_54) => __awaiter(this, [contentType_37, v1AiLdmImageAttributionSetupPostRequest_1, ...args_54], void 0, function* (contentType, v1AiLdmImageAttributionSetupPostRequest, options = {}) {
|
|
2003
2074
|
// verify required parameter 'contentType' is not null or undefined
|
|
2004
2075
|
assertParamExists("v1AiLdmImageAttributionSetupPost", "contentType", contentType);
|
|
2005
2076
|
// verify required parameter 'v1AiLdmImageAttributionSetupPostRequest' is not null or undefined
|
|
@@ -2280,6 +2351,22 @@ export const SureelApiFp = function (configuration) {
|
|
|
2280
2351
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2281
2352
|
});
|
|
2282
2353
|
},
|
|
2354
|
+
/**
|
|
2355
|
+
* Retrieve asset metadata by using fileId.
|
|
2356
|
+
* @summary Get asset metadata
|
|
2357
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
2358
|
+
* @param {*} [options] Override http request option.
|
|
2359
|
+
* @throws {RequiredError}
|
|
2360
|
+
*/
|
|
2361
|
+
getAssetMetadata(fileId, options) {
|
|
2362
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2363
|
+
var _a, _b, _c;
|
|
2364
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAssetMetadata(fileId, options);
|
|
2365
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2366
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getAssetMetadata"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2367
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2368
|
+
});
|
|
2369
|
+
},
|
|
2283
2370
|
/**
|
|
2284
2371
|
* Get all collections that are opted-out.
|
|
2285
2372
|
* @summary Get opted-out collections
|
|
@@ -2416,6 +2503,23 @@ export const SureelApiFp = function (configuration) {
|
|
|
2416
2503
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2417
2504
|
});
|
|
2418
2505
|
},
|
|
2506
|
+
/**
|
|
2507
|
+
* Update asset metadata by using fileId.
|
|
2508
|
+
* @summary Update asset metadata
|
|
2509
|
+
* @param {string} fileId File ID is use to update the metadata of object
|
|
2510
|
+
* @param {PutAssetMetadataRequest} [putAssetMetadataRequest]
|
|
2511
|
+
* @param {*} [options] Override http request option.
|
|
2512
|
+
* @throws {RequiredError}
|
|
2513
|
+
*/
|
|
2514
|
+
putAssetMetadata(fileId, putAssetMetadataRequest, options) {
|
|
2515
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2516
|
+
var _a, _b, _c;
|
|
2517
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.putAssetMetadata(fileId, putAssetMetadataRequest, options);
|
|
2518
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2519
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.putAssetMetadata"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2520
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2521
|
+
});
|
|
2522
|
+
},
|
|
2419
2523
|
/**
|
|
2420
2524
|
* 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.
|
|
2421
2525
|
* @summary Reimagine image
|
|
@@ -2792,14 +2896,14 @@ export const SureelApiFp = function (configuration) {
|
|
|
2792
2896
|
* Song analysis involves stem split, similar song finder, AI detection, lyrics transcription for the song.
|
|
2793
2897
|
* @summary Song Analysis
|
|
2794
2898
|
* @param {V1AiAudioLdmSongAnalysisPostContentTypeEnum} contentType
|
|
2795
|
-
* @param {
|
|
2899
|
+
* @param {V1AiAudioLdmSongAnalysisPostRequest} v1AiAudioLdmSongAnalysisPostRequest
|
|
2796
2900
|
* @param {*} [options] Override http request option.
|
|
2797
2901
|
* @throws {RequiredError}
|
|
2798
2902
|
*/
|
|
2799
|
-
v1AiAudioLdmSongAnalysisPost(contentType,
|
|
2903
|
+
v1AiAudioLdmSongAnalysisPost(contentType, v1AiAudioLdmSongAnalysisPostRequest, options) {
|
|
2800
2904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2801
2905
|
var _a, _b, _c;
|
|
2802
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmSongAnalysisPost(contentType,
|
|
2906
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AiAudioLdmSongAnalysisPost(contentType, v1AiAudioLdmSongAnalysisPostRequest, options);
|
|
2803
2907
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2804
2908
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.v1AiAudioLdmSongAnalysisPost"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2805
2909
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3118,6 +3222,18 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3118
3222
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options)
|
|
3119
3223
|
.then((request) => request(axios, basePath));
|
|
3120
3224
|
},
|
|
3225
|
+
/**
|
|
3226
|
+
* Retrieve asset metadata by using fileId.
|
|
3227
|
+
* @summary Get asset metadata
|
|
3228
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
3229
|
+
* @param {*} [options] Override http request option.
|
|
3230
|
+
* @throws {RequiredError}
|
|
3231
|
+
*/
|
|
3232
|
+
getAssetMetadata(fileId, options) {
|
|
3233
|
+
return localVarFp
|
|
3234
|
+
.getAssetMetadata(fileId, options)
|
|
3235
|
+
.then((request) => request(axios, basePath));
|
|
3236
|
+
},
|
|
3121
3237
|
/**
|
|
3122
3238
|
* Get all collections that are opted-out.
|
|
3123
3239
|
* @summary Get opted-out collections
|
|
@@ -3222,6 +3338,19 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3222
3338
|
.inpaint(contentType, inpaintRequest, options)
|
|
3223
3339
|
.then((request) => request(axios, basePath));
|
|
3224
3340
|
},
|
|
3341
|
+
/**
|
|
3342
|
+
* Update asset metadata by using fileId.
|
|
3343
|
+
* @summary Update asset metadata
|
|
3344
|
+
* @param {string} fileId File ID is use to update the metadata of object
|
|
3345
|
+
* @param {PutAssetMetadataRequest} [putAssetMetadataRequest]
|
|
3346
|
+
* @param {*} [options] Override http request option.
|
|
3347
|
+
* @throws {RequiredError}
|
|
3348
|
+
*/
|
|
3349
|
+
putAssetMetadata(fileId, putAssetMetadataRequest, options) {
|
|
3350
|
+
return localVarFp
|
|
3351
|
+
.putAssetMetadata(fileId, putAssetMetadataRequest, options)
|
|
3352
|
+
.then((request) => request(axios, basePath));
|
|
3353
|
+
},
|
|
3225
3354
|
/**
|
|
3226
3355
|
* 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.
|
|
3227
3356
|
* @summary Reimagine image
|
|
@@ -3510,13 +3639,13 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
3510
3639
|
* Song analysis involves stem split, similar song finder, AI detection, lyrics transcription for the song.
|
|
3511
3640
|
* @summary Song Analysis
|
|
3512
3641
|
* @param {V1AiAudioLdmSongAnalysisPostContentTypeEnum} contentType
|
|
3513
|
-
* @param {
|
|
3642
|
+
* @param {V1AiAudioLdmSongAnalysisPostRequest} v1AiAudioLdmSongAnalysisPostRequest
|
|
3514
3643
|
* @param {*} [options] Override http request option.
|
|
3515
3644
|
* @throws {RequiredError}
|
|
3516
3645
|
*/
|
|
3517
|
-
v1AiAudioLdmSongAnalysisPost(contentType,
|
|
3646
|
+
v1AiAudioLdmSongAnalysisPost(contentType, v1AiAudioLdmSongAnalysisPostRequest, options) {
|
|
3518
3647
|
return localVarFp
|
|
3519
|
-
.v1AiAudioLdmSongAnalysisPost(contentType,
|
|
3648
|
+
.v1AiAudioLdmSongAnalysisPost(contentType, v1AiAudioLdmSongAnalysisPostRequest, options)
|
|
3520
3649
|
.then((request) => request(axios, basePath));
|
|
3521
3650
|
},
|
|
3522
3651
|
/**
|
|
@@ -3818,6 +3947,19 @@ export class SureelApi extends BaseAPI {
|
|
|
3818
3947
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, options)
|
|
3819
3948
|
.then((request) => request(this.axios, this.basePath));
|
|
3820
3949
|
}
|
|
3950
|
+
/**
|
|
3951
|
+
* Retrieve asset metadata by using fileId.
|
|
3952
|
+
* @summary Get asset metadata
|
|
3953
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
3954
|
+
* @param {*} [options] Override http request option.
|
|
3955
|
+
* @throws {RequiredError}
|
|
3956
|
+
* @memberof SureelApi
|
|
3957
|
+
*/
|
|
3958
|
+
getAssetMetadata(fileId, options) {
|
|
3959
|
+
return SureelApiFp(this.configuration)
|
|
3960
|
+
.getAssetMetadata(fileId, options)
|
|
3961
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3962
|
+
}
|
|
3821
3963
|
/**
|
|
3822
3964
|
* Get all collections that are opted-out.
|
|
3823
3965
|
* @summary Get opted-out collections
|
|
@@ -3930,6 +4072,20 @@ export class SureelApi extends BaseAPI {
|
|
|
3930
4072
|
.inpaint(contentType, inpaintRequest, options)
|
|
3931
4073
|
.then((request) => request(this.axios, this.basePath));
|
|
3932
4074
|
}
|
|
4075
|
+
/**
|
|
4076
|
+
* Update asset metadata by using fileId.
|
|
4077
|
+
* @summary Update asset metadata
|
|
4078
|
+
* @param {string} fileId File ID is use to update the metadata of object
|
|
4079
|
+
* @param {PutAssetMetadataRequest} [putAssetMetadataRequest]
|
|
4080
|
+
* @param {*} [options] Override http request option.
|
|
4081
|
+
* @throws {RequiredError}
|
|
4082
|
+
* @memberof SureelApi
|
|
4083
|
+
*/
|
|
4084
|
+
putAssetMetadata(fileId, putAssetMetadataRequest, options) {
|
|
4085
|
+
return SureelApiFp(this.configuration)
|
|
4086
|
+
.putAssetMetadata(fileId, putAssetMetadataRequest, options)
|
|
4087
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4088
|
+
}
|
|
3933
4089
|
/**
|
|
3934
4090
|
* 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.
|
|
3935
4091
|
* @summary Reimagine image
|
|
@@ -4240,14 +4396,14 @@ export class SureelApi extends BaseAPI {
|
|
|
4240
4396
|
* Song analysis involves stem split, similar song finder, AI detection, lyrics transcription for the song.
|
|
4241
4397
|
* @summary Song Analysis
|
|
4242
4398
|
* @param {V1AiAudioLdmSongAnalysisPostContentTypeEnum} contentType
|
|
4243
|
-
* @param {
|
|
4399
|
+
* @param {V1AiAudioLdmSongAnalysisPostRequest} v1AiAudioLdmSongAnalysisPostRequest
|
|
4244
4400
|
* @param {*} [options] Override http request option.
|
|
4245
4401
|
* @throws {RequiredError}
|
|
4246
4402
|
* @memberof SureelApi
|
|
4247
4403
|
*/
|
|
4248
|
-
v1AiAudioLdmSongAnalysisPost(contentType,
|
|
4404
|
+
v1AiAudioLdmSongAnalysisPost(contentType, v1AiAudioLdmSongAnalysisPostRequest, options) {
|
|
4249
4405
|
return SureelApiFp(this.configuration)
|
|
4250
|
-
.v1AiAudioLdmSongAnalysisPost(contentType,
|
|
4406
|
+
.v1AiAudioLdmSongAnalysisPost(contentType, v1AiAudioLdmSongAnalysisPostRequest, options)
|
|
4251
4407
|
.then((request) => request(this.axios, this.basePath));
|
|
4252
4408
|
}
|
|
4253
4409
|
/**
|