@sureel/sdk 1.17.7-rc.1 → 1.17.8-rc.3
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 +5 -998
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +72 -1708
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +5 -998
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +72 -1708
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/aidetection-results-with-stem.d.ts +0 -12
- package/esm/models/aidetection-results-with-stem.d.ts.map +1 -1
- package/esm/models/artist-collection-record-intersection.d.ts +6 -0
- package/esm/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/esm/models/asset-metadata-record.d.ts +42 -0
- package/esm/models/asset-metadata-record.d.ts.map +1 -1
- package/esm/models/attribution-with-stems.d.ts +0 -12
- package/esm/models/attribution-with-stems.d.ts.map +1 -1
- package/esm/models/create-collection-request.d.ts +21 -0
- package/esm/models/create-collection-request.d.ts.map +1 -1
- package/esm/models/create-collection-request.js +8 -0
- package/esm/models/create-collection-request.js.map +1 -1
- package/esm/models/external-stem.d.ts +1 -1
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts +6 -0
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/esm/models/index.d.ts +0 -70
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +0 -70
- package/esm/models/index.js.map +1 -1
- package/esm/models/model-file.d.ts +43 -1
- package/esm/models/model-file.d.ts.map +1 -1
- package/esm/models/publishing-contributor.d.ts +6 -0
- package/esm/models/publishing-contributor.d.ts.map +1 -1
- package/esm/models/similar-audio-files-per-stem.d.ts +0 -12
- package/esm/models/similar-audio-files-per-stem.d.ts.map +1 -1
- package/esm/models/stems.d.ts +0 -12
- package/esm/models/stems.d.ts.map +1 -1
- package/esm/models/update-asset-metadata-body.d.ts +1 -1
- package/models/aidetection-results-with-stem.d.ts +0 -12
- package/models/aidetection-results-with-stem.d.ts.map +1 -1
- package/models/artist-collection-record-intersection.d.ts +6 -0
- package/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/models/asset-metadata-record.d.ts +42 -0
- package/models/asset-metadata-record.d.ts.map +1 -1
- package/models/attribution-with-stems.d.ts +0 -12
- package/models/attribution-with-stems.d.ts.map +1 -1
- package/models/create-collection-request.d.ts +21 -0
- package/models/create-collection-request.d.ts.map +1 -1
- package/models/create-collection-request.js +9 -1
- package/models/create-collection-request.js.map +1 -1
- package/models/external-stem.d.ts +1 -1
- package/models/get-collection-with-lyrics-and-stems-response.d.ts +6 -0
- package/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/models/index.d.ts +0 -70
- package/models/index.d.ts.map +1 -1
- package/models/index.js +0 -70
- package/models/index.js.map +1 -1
- package/models/model-file.d.ts +43 -1
- package/models/model-file.d.ts.map +1 -1
- package/models/publishing-contributor.d.ts +6 -0
- package/models/publishing-contributor.d.ts.map +1 -1
- package/models/similar-audio-files-per-stem.d.ts +0 -12
- package/models/similar-audio-files-per-stem.d.ts.map +1 -1
- package/models/stems.d.ts +0 -12
- package/models/stems.d.ts.map +1 -1
- package/models/update-asset-metadata-body.d.ts +1 -1
- package/package.json +1 -1
package/api/sureel-api.js
CHANGED
|
@@ -74,6 +74,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
74
74
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
75
75
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
|
+
* @deprecated
|
|
77
78
|
* @throws {RequiredError}
|
|
78
79
|
*/
|
|
79
80
|
aiDetection: async (contentType, postDetectAIGeneratedAudioBody, options = {}) => {
|
|
@@ -614,75 +615,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
614
615
|
options: localVarRequestOptions,
|
|
615
616
|
};
|
|
616
617
|
},
|
|
617
|
-
/**
|
|
618
|
-
* The key is generated by the server; a client never chooses one. Upload the bytes, compute their SHA-256, then submit the record with both.
|
|
619
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
620
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
621
|
-
* @param {*} [options] Override http request option.
|
|
622
|
-
* @throws {RequiredError}
|
|
623
|
-
*/
|
|
624
|
-
createNilAssetUploadUrl: async (createNilAssetUploadUrlBody, options = {}) => {
|
|
625
|
-
// verify required parameter 'createNilAssetUploadUrlBody' is not null or undefined
|
|
626
|
-
(0, common_1.assertParamExists)("createNilAssetUploadUrl", "createNilAssetUploadUrlBody", createNilAssetUploadUrlBody);
|
|
627
|
-
const localVarPath = `/v1/ai/artist/settings/assets/upload-url`;
|
|
628
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
629
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
630
|
-
let baseOptions;
|
|
631
|
-
if (configuration) {
|
|
632
|
-
baseOptions = configuration.baseOptions;
|
|
633
|
-
}
|
|
634
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
635
|
-
const localVarHeaderParameter = {};
|
|
636
|
-
const localVarQueryParameter = {};
|
|
637
|
-
// authentication OAuth2 required
|
|
638
|
-
// oauth required
|
|
639
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
640
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
641
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
642
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
643
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
644
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createNilAssetUploadUrlBody, localVarRequestOptions, configuration);
|
|
645
|
-
return {
|
|
646
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
647
|
-
options: localVarRequestOptions,
|
|
648
|
-
};
|
|
649
|
-
},
|
|
650
|
-
/**
|
|
651
|
-
* The key is scoped to the artist named in the path, not to the caller. Without this a label could not supply assets on an artist\'s behalf at all.
|
|
652
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
653
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
654
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
655
|
-
* @param {*} [options] Override http request option.
|
|
656
|
-
* @throws {RequiredError}
|
|
657
|
-
*/
|
|
658
|
-
createNilAssetUploadUrlByUsername: async (username, createNilAssetUploadUrlBody, options = {}) => {
|
|
659
|
-
// verify required parameter 'username' is not null or undefined
|
|
660
|
-
(0, common_1.assertParamExists)("createNilAssetUploadUrlByUsername", "username", username);
|
|
661
|
-
// verify required parameter 'createNilAssetUploadUrlBody' is not null or undefined
|
|
662
|
-
(0, common_1.assertParamExists)("createNilAssetUploadUrlByUsername", "createNilAssetUploadUrlBody", createNilAssetUploadUrlBody);
|
|
663
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/assets/upload-url`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
664
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
665
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
666
|
-
let baseOptions;
|
|
667
|
-
if (configuration) {
|
|
668
|
-
baseOptions = configuration.baseOptions;
|
|
669
|
-
}
|
|
670
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
671
|
-
const localVarHeaderParameter = {};
|
|
672
|
-
const localVarQueryParameter = {};
|
|
673
|
-
// authentication OAuth2 required
|
|
674
|
-
// oauth required
|
|
675
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
676
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
677
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
678
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
679
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
680
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createNilAssetUploadUrlBody, localVarRequestOptions, configuration);
|
|
681
|
-
return {
|
|
682
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
683
|
-
options: localVarRequestOptions,
|
|
684
|
-
};
|
|
685
|
-
},
|
|
686
618
|
/**
|
|
687
619
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
688
620
|
* @summary Delete collection
|
|
@@ -745,144 +677,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
745
677
|
options: localVarRequestOptions,
|
|
746
678
|
};
|
|
747
679
|
},
|
|
748
|
-
/**
|
|
749
|
-
*
|
|
750
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
751
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
752
|
-
* @param {*} [options] Override http request option.
|
|
753
|
-
* @throws {RequiredError}
|
|
754
|
-
*/
|
|
755
|
-
evaluateArtistSettings: async (evaluateArtistSettingsBody, options = {}) => {
|
|
756
|
-
// verify required parameter 'evaluateArtistSettingsBody' is not null or undefined
|
|
757
|
-
(0, common_1.assertParamExists)("evaluateArtistSettings", "evaluateArtistSettingsBody", evaluateArtistSettingsBody);
|
|
758
|
-
const localVarPath = `/v1/ai/artist/settings/evaluate`;
|
|
759
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
760
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
761
|
-
let baseOptions;
|
|
762
|
-
if (configuration) {
|
|
763
|
-
baseOptions = configuration.baseOptions;
|
|
764
|
-
}
|
|
765
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
766
|
-
const localVarHeaderParameter = {};
|
|
767
|
-
const localVarQueryParameter = {};
|
|
768
|
-
// authentication OAuth2 required
|
|
769
|
-
// oauth required
|
|
770
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
771
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
772
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
773
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
774
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
775
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(evaluateArtistSettingsBody, localVarRequestOptions, configuration);
|
|
776
|
-
return {
|
|
777
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
778
|
-
options: localVarRequestOptions,
|
|
779
|
-
};
|
|
780
|
-
},
|
|
781
|
-
/**
|
|
782
|
-
*
|
|
783
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
784
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
785
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
786
|
-
* @param {*} [options] Override http request option.
|
|
787
|
-
* @throws {RequiredError}
|
|
788
|
-
*/
|
|
789
|
-
evaluateArtistSettingsByUsername: async (username, evaluateArtistSettingsBody, options = {}) => {
|
|
790
|
-
// verify required parameter 'username' is not null or undefined
|
|
791
|
-
(0, common_1.assertParamExists)("evaluateArtistSettingsByUsername", "username", username);
|
|
792
|
-
// verify required parameter 'evaluateArtistSettingsBody' is not null or undefined
|
|
793
|
-
(0, common_1.assertParamExists)("evaluateArtistSettingsByUsername", "evaluateArtistSettingsBody", evaluateArtistSettingsBody);
|
|
794
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/evaluate`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
795
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
796
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
797
|
-
let baseOptions;
|
|
798
|
-
if (configuration) {
|
|
799
|
-
baseOptions = configuration.baseOptions;
|
|
800
|
-
}
|
|
801
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
802
|
-
const localVarHeaderParameter = {};
|
|
803
|
-
const localVarQueryParameter = {};
|
|
804
|
-
// authentication OAuth2 required
|
|
805
|
-
// oauth required
|
|
806
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
807
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
808
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
809
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
810
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
811
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(evaluateArtistSettingsBody, localVarRequestOptions, configuration);
|
|
812
|
-
return {
|
|
813
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
814
|
-
options: localVarRequestOptions,
|
|
815
|
-
};
|
|
816
|
-
},
|
|
817
|
-
/**
|
|
818
|
-
*
|
|
819
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
820
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
821
|
-
* @param {*} [options] Override http request option.
|
|
822
|
-
* @throws {RequiredError}
|
|
823
|
-
*/
|
|
824
|
-
evaluateMusicConsent: async (evaluateMusicConsentBody, options = {}) => {
|
|
825
|
-
// verify required parameter 'evaluateMusicConsentBody' is not null or undefined
|
|
826
|
-
(0, common_1.assertParamExists)("evaluateMusicConsent", "evaluateMusicConsentBody", evaluateMusicConsentBody);
|
|
827
|
-
const localVarPath = `/v1/ai/artist/settings/music/evaluate`;
|
|
828
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
829
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
830
|
-
let baseOptions;
|
|
831
|
-
if (configuration) {
|
|
832
|
-
baseOptions = configuration.baseOptions;
|
|
833
|
-
}
|
|
834
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
835
|
-
const localVarHeaderParameter = {};
|
|
836
|
-
const localVarQueryParameter = {};
|
|
837
|
-
// authentication OAuth2 required
|
|
838
|
-
// oauth required
|
|
839
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
840
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
841
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
842
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
843
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
844
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(evaluateMusicConsentBody, localVarRequestOptions, configuration);
|
|
845
|
-
return {
|
|
846
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
847
|
-
options: localVarRequestOptions,
|
|
848
|
-
};
|
|
849
|
-
},
|
|
850
|
-
/**
|
|
851
|
-
*
|
|
852
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
853
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
854
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
855
|
-
* @param {*} [options] Override http request option.
|
|
856
|
-
* @throws {RequiredError}
|
|
857
|
-
*/
|
|
858
|
-
evaluateMusicConsentByUsername: async (username, evaluateMusicConsentBody, options = {}) => {
|
|
859
|
-
// verify required parameter 'username' is not null or undefined
|
|
860
|
-
(0, common_1.assertParamExists)("evaluateMusicConsentByUsername", "username", username);
|
|
861
|
-
// verify required parameter 'evaluateMusicConsentBody' is not null or undefined
|
|
862
|
-
(0, common_1.assertParamExists)("evaluateMusicConsentByUsername", "evaluateMusicConsentBody", evaluateMusicConsentBody);
|
|
863
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/music/evaluate`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
864
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
865
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
866
|
-
let baseOptions;
|
|
867
|
-
if (configuration) {
|
|
868
|
-
baseOptions = configuration.baseOptions;
|
|
869
|
-
}
|
|
870
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
871
|
-
const localVarHeaderParameter = {};
|
|
872
|
-
const localVarQueryParameter = {};
|
|
873
|
-
// authentication OAuth2 required
|
|
874
|
-
// oauth required
|
|
875
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
876
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
877
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
878
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
879
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
880
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(evaluateMusicConsentBody, localVarRequestOptions, configuration);
|
|
881
|
-
return {
|
|
882
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
883
|
-
options: localVarRequestOptions,
|
|
884
|
-
};
|
|
885
|
-
},
|
|
886
680
|
/**
|
|
887
681
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
888
682
|
* @summary Face swap
|
|
@@ -1291,73 +1085,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1291
1085
|
options: localVarRequestOptions,
|
|
1292
1086
|
};
|
|
1293
1087
|
},
|
|
1294
|
-
/**
|
|
1295
|
-
*
|
|
1296
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
1297
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1298
|
-
* @param {*} [options] Override http request option.
|
|
1299
|
-
* @throws {RequiredError}
|
|
1300
|
-
*/
|
|
1301
|
-
getArtistSettings: async (version, options = {}) => {
|
|
1302
|
-
const localVarPath = `/v1/ai/artist/settings/`;
|
|
1303
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1304
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1305
|
-
let baseOptions;
|
|
1306
|
-
if (configuration) {
|
|
1307
|
-
baseOptions = configuration.baseOptions;
|
|
1308
|
-
}
|
|
1309
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1310
|
-
const localVarHeaderParameter = {};
|
|
1311
|
-
const localVarQueryParameter = {};
|
|
1312
|
-
// authentication OAuth2 required
|
|
1313
|
-
// oauth required
|
|
1314
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1315
|
-
if (version !== undefined) {
|
|
1316
|
-
localVarQueryParameter["version"] = version;
|
|
1317
|
-
}
|
|
1318
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1319
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1320
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1321
|
-
return {
|
|
1322
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1323
|
-
options: localVarRequestOptions,
|
|
1324
|
-
};
|
|
1325
|
-
},
|
|
1326
|
-
/**
|
|
1327
|
-
*
|
|
1328
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
1329
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1330
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1331
|
-
* @param {*} [options] Override http request option.
|
|
1332
|
-
* @throws {RequiredError}
|
|
1333
|
-
*/
|
|
1334
|
-
getArtistSettingsByUsername: async (username, version, options = {}) => {
|
|
1335
|
-
// verify required parameter 'username' is not null or undefined
|
|
1336
|
-
(0, common_1.assertParamExists)("getArtistSettingsByUsername", "username", username);
|
|
1337
|
-
const localVarPath = `/v1/ai/artist/{username}/settings`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1338
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1339
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1340
|
-
let baseOptions;
|
|
1341
|
-
if (configuration) {
|
|
1342
|
-
baseOptions = configuration.baseOptions;
|
|
1343
|
-
}
|
|
1344
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1345
|
-
const localVarHeaderParameter = {};
|
|
1346
|
-
const localVarQueryParameter = {};
|
|
1347
|
-
// authentication OAuth2 required
|
|
1348
|
-
// oauth required
|
|
1349
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1350
|
-
if (version !== undefined) {
|
|
1351
|
-
localVarQueryParameter["version"] = version;
|
|
1352
|
-
}
|
|
1353
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1354
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1355
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1356
|
-
return {
|
|
1357
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1358
|
-
options: localVarRequestOptions,
|
|
1359
|
-
};
|
|
1360
|
-
},
|
|
1361
1088
|
/**
|
|
1362
1089
|
* Retrieve asset metadata by using fileId.
|
|
1363
1090
|
* @summary Get asset metadata
|
|
@@ -1523,191 +1250,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1523
1250
|
options: localVarRequestOptions,
|
|
1524
1251
|
};
|
|
1525
1252
|
},
|
|
1526
|
-
/**
|
|
1527
|
-
*
|
|
1528
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
1529
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1530
|
-
* @param {*} [options] Override http request option.
|
|
1531
|
-
* @throws {RequiredError}
|
|
1532
|
-
*/
|
|
1533
|
-
getMusicConsent: async (version, options = {}) => {
|
|
1534
|
-
const localVarPath = `/v1/ai/artist/settings/music`;
|
|
1535
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1536
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1537
|
-
let baseOptions;
|
|
1538
|
-
if (configuration) {
|
|
1539
|
-
baseOptions = configuration.baseOptions;
|
|
1540
|
-
}
|
|
1541
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1542
|
-
const localVarHeaderParameter = {};
|
|
1543
|
-
const localVarQueryParameter = {};
|
|
1544
|
-
// authentication OAuth2 required
|
|
1545
|
-
// oauth required
|
|
1546
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1547
|
-
if (version !== undefined) {
|
|
1548
|
-
localVarQueryParameter["version"] = version;
|
|
1549
|
-
}
|
|
1550
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1551
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1552
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1553
|
-
return {
|
|
1554
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1555
|
-
options: localVarRequestOptions,
|
|
1556
|
-
};
|
|
1557
|
-
},
|
|
1558
|
-
/**
|
|
1559
|
-
*
|
|
1560
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
1561
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
1562
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1563
|
-
* @param {*} [options] Override http request option.
|
|
1564
|
-
* @throws {RequiredError}
|
|
1565
|
-
*/
|
|
1566
|
-
getMusicConsentByUsername: async (username, version, options = {}) => {
|
|
1567
|
-
// verify required parameter 'username' is not null or undefined
|
|
1568
|
-
(0, common_1.assertParamExists)("getMusicConsentByUsername", "username", username);
|
|
1569
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1570
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1571
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1572
|
-
let baseOptions;
|
|
1573
|
-
if (configuration) {
|
|
1574
|
-
baseOptions = configuration.baseOptions;
|
|
1575
|
-
}
|
|
1576
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1577
|
-
const localVarHeaderParameter = {};
|
|
1578
|
-
const localVarQueryParameter = {};
|
|
1579
|
-
// authentication OAuth2 required
|
|
1580
|
-
// oauth required
|
|
1581
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1582
|
-
if (version !== undefined) {
|
|
1583
|
-
localVarQueryParameter["version"] = version;
|
|
1584
|
-
}
|
|
1585
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1586
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1587
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1588
|
-
return {
|
|
1589
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1590
|
-
options: localVarRequestOptions,
|
|
1591
|
-
};
|
|
1592
|
-
},
|
|
1593
|
-
/**
|
|
1594
|
-
* Re-encoded on the server with metadata stripped; the original bytes and any URL to them never leave. 404 for an unknown id, a non-image entry, an entry not yet ingested and an image that cannot be decoded, identically.
|
|
1595
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
1596
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1597
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
1598
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1599
|
-
* @param {*} [options] Override http request option.
|
|
1600
|
-
* @throws {RequiredError}
|
|
1601
|
-
*/
|
|
1602
|
-
getNilAssetThumbnail: async (assetId, size, v, options = {}) => {
|
|
1603
|
-
// verify required parameter 'assetId' is not null or undefined
|
|
1604
|
-
(0, common_1.assertParamExists)("getNilAssetThumbnail", "assetId", assetId);
|
|
1605
|
-
const localVarPath = `/v1/ai/artist/settings/assets/{assetId}/thumbnail`.replace(`{${"assetId"}}`, encodeURIComponent(String(assetId)));
|
|
1606
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1607
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1608
|
-
let baseOptions;
|
|
1609
|
-
if (configuration) {
|
|
1610
|
-
baseOptions = configuration.baseOptions;
|
|
1611
|
-
}
|
|
1612
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1613
|
-
const localVarHeaderParameter = {};
|
|
1614
|
-
const localVarQueryParameter = {};
|
|
1615
|
-
// authentication OAuth2 required
|
|
1616
|
-
// oauth required
|
|
1617
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1618
|
-
if (size !== undefined) {
|
|
1619
|
-
for (const [key, value] of Object.entries(size)) {
|
|
1620
|
-
localVarQueryParameter[key] = value;
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
if (v !== undefined) {
|
|
1624
|
-
localVarQueryParameter["v"] = v;
|
|
1625
|
-
}
|
|
1626
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1627
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1628
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1629
|
-
return {
|
|
1630
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1631
|
-
options: localVarRequestOptions,
|
|
1632
|
-
};
|
|
1633
|
-
},
|
|
1634
|
-
/**
|
|
1635
|
-
* Re-encoded on the server with metadata stripped; the original bytes and any URL to them never leave. 404 for an unknown id, a non-image entry, an entry not yet ingested and an image that cannot be decoded, identically.
|
|
1636
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
1637
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1638
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1639
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
1640
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1641
|
-
* @param {*} [options] Override http request option.
|
|
1642
|
-
* @throws {RequiredError}
|
|
1643
|
-
*/
|
|
1644
|
-
getNilAssetThumbnailByUsername: async (username, assetId, size, v, options = {}) => {
|
|
1645
|
-
// verify required parameter 'username' is not null or undefined
|
|
1646
|
-
(0, common_1.assertParamExists)("getNilAssetThumbnailByUsername", "username", username);
|
|
1647
|
-
// verify required parameter 'assetId' is not null or undefined
|
|
1648
|
-
(0, common_1.assertParamExists)("getNilAssetThumbnailByUsername", "assetId", assetId);
|
|
1649
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/assets/{assetId}/thumbnail`
|
|
1650
|
-
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
1651
|
-
.replace(`{${"assetId"}}`, encodeURIComponent(String(assetId)));
|
|
1652
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1653
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1654
|
-
let baseOptions;
|
|
1655
|
-
if (configuration) {
|
|
1656
|
-
baseOptions = configuration.baseOptions;
|
|
1657
|
-
}
|
|
1658
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1659
|
-
const localVarHeaderParameter = {};
|
|
1660
|
-
const localVarQueryParameter = {};
|
|
1661
|
-
// authentication OAuth2 required
|
|
1662
|
-
// oauth required
|
|
1663
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1664
|
-
if (size !== undefined) {
|
|
1665
|
-
for (const [key, value] of Object.entries(size)) {
|
|
1666
|
-
localVarQueryParameter[key] = value;
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
|
-
if (v !== undefined) {
|
|
1670
|
-
localVarQueryParameter["v"] = v;
|
|
1671
|
-
}
|
|
1672
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1673
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1674
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1675
|
-
return {
|
|
1676
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1677
|
-
options: localVarRequestOptions,
|
|
1678
|
-
};
|
|
1679
|
-
},
|
|
1680
|
-
/**
|
|
1681
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
1682
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
1683
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
1684
|
-
* @param {*} [options] Override http request option.
|
|
1685
|
-
* @throws {RequiredError}
|
|
1686
|
-
*/
|
|
1687
|
-
getNilIngestionStatus: async (requestId, options = {}) => {
|
|
1688
|
-
// verify required parameter 'requestId' is not null or undefined
|
|
1689
|
-
(0, common_1.assertParamExists)("getNilIngestionStatus", "requestId", requestId);
|
|
1690
|
-
const localVarPath = `/v1/ai/artist/settings/ingestion/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
1691
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1692
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1693
|
-
let baseOptions;
|
|
1694
|
-
if (configuration) {
|
|
1695
|
-
baseOptions = configuration.baseOptions;
|
|
1696
|
-
}
|
|
1697
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1698
|
-
const localVarHeaderParameter = {};
|
|
1699
|
-
const localVarQueryParameter = {};
|
|
1700
|
-
// authentication OAuth2 required
|
|
1701
|
-
// oauth required
|
|
1702
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1703
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1704
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1705
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1706
|
-
return {
|
|
1707
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1708
|
-
options: localVarRequestOptions,
|
|
1709
|
-
};
|
|
1710
|
-
},
|
|
1711
1253
|
/**
|
|
1712
1254
|
* Get all collections that are opted-out.
|
|
1713
1255
|
* @summary Get opted-out collections
|
|
@@ -1790,91 +1332,32 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1790
1332
|
localVarQueryParameter["include_full_res_artworks"] =
|
|
1791
1333
|
includeFullResArtworks;
|
|
1792
1334
|
}
|
|
1793
|
-
if (take !== undefined) {
|
|
1794
|
-
localVarQueryParameter["take"] = take;
|
|
1795
|
-
}
|
|
1796
|
-
if (cursor !== undefined) {
|
|
1797
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
1798
|
-
}
|
|
1799
|
-
if (collectionSearchField !== undefined) {
|
|
1800
|
-
localVarQueryParameter["collection_search_field"] =
|
|
1801
|
-
collectionSearchField;
|
|
1802
|
-
}
|
|
1803
|
-
if (collectionSearchValue !== undefined) {
|
|
1804
|
-
localVarQueryParameter["collection_search_value"] =
|
|
1805
|
-
collectionSearchValue;
|
|
1806
|
-
}
|
|
1807
|
-
if (sortBy !== undefined) {
|
|
1808
|
-
localVarQueryParameter["sort_by"] = sortBy;
|
|
1809
|
-
}
|
|
1810
|
-
if (sortOrder !== undefined) {
|
|
1811
|
-
localVarQueryParameter["sort_order"] = sortOrder;
|
|
1812
|
-
}
|
|
1813
|
-
if (releaseType !== undefined) {
|
|
1814
|
-
localVarQueryParameter["release_type"] = releaseType;
|
|
1815
|
-
}
|
|
1816
|
-
if (useForTraining !== undefined) {
|
|
1817
|
-
localVarQueryParameter["use_for_training"] = useForTraining;
|
|
1818
|
-
}
|
|
1819
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1820
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1821
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1822
|
-
return {
|
|
1823
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1824
|
-
options: localVarRequestOptions,
|
|
1825
|
-
};
|
|
1826
|
-
},
|
|
1827
|
-
/**
|
|
1828
|
-
*
|
|
1829
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
1830
|
-
* @param {*} [options] Override http request option.
|
|
1831
|
-
* @throws {RequiredError}
|
|
1832
|
-
*/
|
|
1833
|
-
getPermissionNotify: async (options = {}) => {
|
|
1834
|
-
const localVarPath = `/v1/ai/artist/settings/notify`;
|
|
1835
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1836
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1837
|
-
let baseOptions;
|
|
1838
|
-
if (configuration) {
|
|
1839
|
-
baseOptions = configuration.baseOptions;
|
|
1840
|
-
}
|
|
1841
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1842
|
-
const localVarHeaderParameter = {};
|
|
1843
|
-
const localVarQueryParameter = {};
|
|
1844
|
-
// authentication OAuth2 required
|
|
1845
|
-
// oauth required
|
|
1846
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1847
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1848
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1849
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1850
|
-
return {
|
|
1851
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1852
|
-
options: localVarRequestOptions,
|
|
1853
|
-
};
|
|
1854
|
-
},
|
|
1855
|
-
/**
|
|
1856
|
-
*
|
|
1857
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
1858
|
-
* @param {string} username
|
|
1859
|
-
* @param {*} [options] Override http request option.
|
|
1860
|
-
* @throws {RequiredError}
|
|
1861
|
-
*/
|
|
1862
|
-
getPermissionNotifyByUsername: async (username, options = {}) => {
|
|
1863
|
-
// verify required parameter 'username' is not null or undefined
|
|
1864
|
-
(0, common_1.assertParamExists)("getPermissionNotifyByUsername", "username", username);
|
|
1865
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/notify`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1866
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1867
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1868
|
-
let baseOptions;
|
|
1869
|
-
if (configuration) {
|
|
1870
|
-
baseOptions = configuration.baseOptions;
|
|
1335
|
+
if (take !== undefined) {
|
|
1336
|
+
localVarQueryParameter["take"] = take;
|
|
1337
|
+
}
|
|
1338
|
+
if (cursor !== undefined) {
|
|
1339
|
+
localVarQueryParameter["cursor"] = cursor;
|
|
1340
|
+
}
|
|
1341
|
+
if (collectionSearchField !== undefined) {
|
|
1342
|
+
localVarQueryParameter["collection_search_field"] =
|
|
1343
|
+
collectionSearchField;
|
|
1344
|
+
}
|
|
1345
|
+
if (collectionSearchValue !== undefined) {
|
|
1346
|
+
localVarQueryParameter["collection_search_value"] =
|
|
1347
|
+
collectionSearchValue;
|
|
1348
|
+
}
|
|
1349
|
+
if (sortBy !== undefined) {
|
|
1350
|
+
localVarQueryParameter["sort_by"] = sortBy;
|
|
1351
|
+
}
|
|
1352
|
+
if (sortOrder !== undefined) {
|
|
1353
|
+
localVarQueryParameter["sort_order"] = sortOrder;
|
|
1354
|
+
}
|
|
1355
|
+
if (releaseType !== undefined) {
|
|
1356
|
+
localVarQueryParameter["release_type"] = releaseType;
|
|
1357
|
+
}
|
|
1358
|
+
if (useForTraining !== undefined) {
|
|
1359
|
+
localVarQueryParameter["use_for_training"] = useForTraining;
|
|
1871
1360
|
}
|
|
1872
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1873
|
-
const localVarHeaderParameter = {};
|
|
1874
|
-
const localVarQueryParameter = {};
|
|
1875
|
-
// authentication OAuth2 required
|
|
1876
|
-
// oauth required
|
|
1877
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1878
1361
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1879
1362
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1880
1363
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2274,75 +1757,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2274
1757
|
options: localVarRequestOptions,
|
|
2275
1758
|
};
|
|
2276
1759
|
},
|
|
2277
|
-
/**
|
|
2278
|
-
*
|
|
2279
|
-
* @summary Turn email on or off for permission changes on this account. Off is the default, and a user who is off is not emailed.
|
|
2280
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2281
|
-
* @param {*} [options] Override http request option.
|
|
2282
|
-
* @throws {RequiredError}
|
|
2283
|
-
*/
|
|
2284
|
-
putPermissionNotify: async (permissionNotifyBody, options = {}) => {
|
|
2285
|
-
// verify required parameter 'permissionNotifyBody' is not null or undefined
|
|
2286
|
-
(0, common_1.assertParamExists)("putPermissionNotify", "permissionNotifyBody", permissionNotifyBody);
|
|
2287
|
-
const localVarPath = `/v1/ai/artist/settings/notify`;
|
|
2288
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2289
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2290
|
-
let baseOptions;
|
|
2291
|
-
if (configuration) {
|
|
2292
|
-
baseOptions = configuration.baseOptions;
|
|
2293
|
-
}
|
|
2294
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
2295
|
-
const localVarHeaderParameter = {};
|
|
2296
|
-
const localVarQueryParameter = {};
|
|
2297
|
-
// authentication OAuth2 required
|
|
2298
|
-
// oauth required
|
|
2299
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2300
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2301
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2302
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2303
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2304
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(permissionNotifyBody, localVarRequestOptions, configuration);
|
|
2305
|
-
return {
|
|
2306
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2307
|
-
options: localVarRequestOptions,
|
|
2308
|
-
};
|
|
2309
|
-
},
|
|
2310
|
-
/**
|
|
2311
|
-
*
|
|
2312
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
2313
|
-
* @param {string} username
|
|
2314
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2315
|
-
* @param {*} [options] Override http request option.
|
|
2316
|
-
* @throws {RequiredError}
|
|
2317
|
-
*/
|
|
2318
|
-
putPermissionNotifyByUsername: async (username, permissionNotifyBody, options = {}) => {
|
|
2319
|
-
// verify required parameter 'username' is not null or undefined
|
|
2320
|
-
(0, common_1.assertParamExists)("putPermissionNotifyByUsername", "username", username);
|
|
2321
|
-
// verify required parameter 'permissionNotifyBody' is not null or undefined
|
|
2322
|
-
(0, common_1.assertParamExists)("putPermissionNotifyByUsername", "permissionNotifyBody", permissionNotifyBody);
|
|
2323
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/notify`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2324
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2325
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2326
|
-
let baseOptions;
|
|
2327
|
-
if (configuration) {
|
|
2328
|
-
baseOptions = configuration.baseOptions;
|
|
2329
|
-
}
|
|
2330
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
2331
|
-
const localVarHeaderParameter = {};
|
|
2332
|
-
const localVarQueryParameter = {};
|
|
2333
|
-
// authentication OAuth2 required
|
|
2334
|
-
// oauth required
|
|
2335
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2336
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2337
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2338
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2339
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2340
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(permissionNotifyBody, localVarRequestOptions, configuration);
|
|
2341
|
-
return {
|
|
2342
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2343
|
-
options: localVarRequestOptions,
|
|
2344
|
-
};
|
|
2345
|
-
},
|
|
2346
1760
|
/**
|
|
2347
1761
|
* 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.
|
|
2348
1762
|
* @summary Reimagine image
|
|
@@ -2421,180 +1835,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2421
1835
|
options: localVarRequestOptions,
|
|
2422
1836
|
};
|
|
2423
1837
|
},
|
|
2424
|
-
/**
|
|
2425
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted.
|
|
2426
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
2427
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
2428
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2429
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2430
|
-
* @param {*} [options] Override http request option.
|
|
2431
|
-
* @throws {RequiredError}
|
|
2432
|
-
*/
|
|
2433
|
-
saveArtistSettings: async (postArtistSettingsBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2434
|
-
// verify required parameter 'postArtistSettingsBody' is not null or undefined
|
|
2435
|
-
(0, common_1.assertParamExists)("saveArtistSettings", "postArtistSettingsBody", postArtistSettingsBody);
|
|
2436
|
-
const localVarPath = `/v1/ai/artist/settings/`;
|
|
2437
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2438
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2439
|
-
let baseOptions;
|
|
2440
|
-
if (configuration) {
|
|
2441
|
-
baseOptions = configuration.baseOptions;
|
|
2442
|
-
}
|
|
2443
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2444
|
-
const localVarHeaderParameter = {};
|
|
2445
|
-
const localVarQueryParameter = {};
|
|
2446
|
-
// authentication OAuth2 required
|
|
2447
|
-
// oauth required
|
|
2448
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2449
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2450
|
-
if (ifMatch != null) {
|
|
2451
|
-
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2452
|
-
}
|
|
2453
|
-
if (idempotencyKey != null) {
|
|
2454
|
-
localVarHeaderParameter["idempotency-key"] =
|
|
2455
|
-
String(idempotencyKey);
|
|
2456
|
-
}
|
|
2457
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2458
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2459
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2460
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postArtistSettingsBody, localVarRequestOptions, configuration);
|
|
2461
|
-
return {
|
|
2462
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2463
|
-
options: localVarRequestOptions,
|
|
2464
|
-
};
|
|
2465
|
-
},
|
|
2466
|
-
/**
|
|
2467
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted.
|
|
2468
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
2469
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
2470
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
2471
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2472
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2473
|
-
* @param {*} [options] Override http request option.
|
|
2474
|
-
* @throws {RequiredError}
|
|
2475
|
-
*/
|
|
2476
|
-
saveArtistSettingsByUsername: async (username, postArtistSettingsBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2477
|
-
// verify required parameter 'username' is not null or undefined
|
|
2478
|
-
(0, common_1.assertParamExists)("saveArtistSettingsByUsername", "username", username);
|
|
2479
|
-
// verify required parameter 'postArtistSettingsBody' is not null or undefined
|
|
2480
|
-
(0, common_1.assertParamExists)("saveArtistSettingsByUsername", "postArtistSettingsBody", postArtistSettingsBody);
|
|
2481
|
-
const localVarPath = `/v1/ai/artist/{username}/settings`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2482
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2483
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2484
|
-
let baseOptions;
|
|
2485
|
-
if (configuration) {
|
|
2486
|
-
baseOptions = configuration.baseOptions;
|
|
2487
|
-
}
|
|
2488
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2489
|
-
const localVarHeaderParameter = {};
|
|
2490
|
-
const localVarQueryParameter = {};
|
|
2491
|
-
// authentication OAuth2 required
|
|
2492
|
-
// oauth required
|
|
2493
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2494
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2495
|
-
if (ifMatch != null) {
|
|
2496
|
-
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2497
|
-
}
|
|
2498
|
-
if (idempotencyKey != null) {
|
|
2499
|
-
localVarHeaderParameter["idempotency-key"] =
|
|
2500
|
-
String(idempotencyKey);
|
|
2501
|
-
}
|
|
2502
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2503
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2504
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2505
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postArtistSettingsBody, localVarRequestOptions, configuration);
|
|
2506
|
-
return {
|
|
2507
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2508
|
-
options: localVarRequestOptions,
|
|
2509
|
-
};
|
|
2510
|
-
},
|
|
2511
|
-
/**
|
|
2512
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
|
|
2513
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
2514
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2515
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2516
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2517
|
-
* @param {*} [options] Override http request option.
|
|
2518
|
-
* @throws {RequiredError}
|
|
2519
|
-
*/
|
|
2520
|
-
saveMusicConsent: async (postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2521
|
-
// verify required parameter 'postMusicConsentBody' is not null or undefined
|
|
2522
|
-
(0, common_1.assertParamExists)("saveMusicConsent", "postMusicConsentBody", postMusicConsentBody);
|
|
2523
|
-
const localVarPath = `/v1/ai/artist/settings/music`;
|
|
2524
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2525
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2526
|
-
let baseOptions;
|
|
2527
|
-
if (configuration) {
|
|
2528
|
-
baseOptions = configuration.baseOptions;
|
|
2529
|
-
}
|
|
2530
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2531
|
-
const localVarHeaderParameter = {};
|
|
2532
|
-
const localVarQueryParameter = {};
|
|
2533
|
-
// authentication OAuth2 required
|
|
2534
|
-
// oauth required
|
|
2535
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2536
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2537
|
-
if (ifMatch != null) {
|
|
2538
|
-
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2539
|
-
}
|
|
2540
|
-
if (idempotencyKey != null) {
|
|
2541
|
-
localVarHeaderParameter["idempotency-key"] =
|
|
2542
|
-
String(idempotencyKey);
|
|
2543
|
-
}
|
|
2544
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2545
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2546
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2547
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postMusicConsentBody, localVarRequestOptions, configuration);
|
|
2548
|
-
return {
|
|
2549
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2550
|
-
options: localVarRequestOptions,
|
|
2551
|
-
};
|
|
2552
|
-
},
|
|
2553
|
-
/**
|
|
2554
|
-
* A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
|
|
2555
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
2556
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
2557
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2558
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2559
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2560
|
-
* @param {*} [options] Override http request option.
|
|
2561
|
-
* @throws {RequiredError}
|
|
2562
|
-
*/
|
|
2563
|
-
saveMusicConsentByUsername: async (username, postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2564
|
-
// verify required parameter 'username' is not null or undefined
|
|
2565
|
-
(0, common_1.assertParamExists)("saveMusicConsentByUsername", "username", username);
|
|
2566
|
-
// verify required parameter 'postMusicConsentBody' is not null or undefined
|
|
2567
|
-
(0, common_1.assertParamExists)("saveMusicConsentByUsername", "postMusicConsentBody", postMusicConsentBody);
|
|
2568
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2569
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2570
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2571
|
-
let baseOptions;
|
|
2572
|
-
if (configuration) {
|
|
2573
|
-
baseOptions = configuration.baseOptions;
|
|
2574
|
-
}
|
|
2575
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2576
|
-
const localVarHeaderParameter = {};
|
|
2577
|
-
const localVarQueryParameter = {};
|
|
2578
|
-
// authentication OAuth2 required
|
|
2579
|
-
// oauth required
|
|
2580
|
-
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2581
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2582
|
-
if (ifMatch != null) {
|
|
2583
|
-
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2584
|
-
}
|
|
2585
|
-
if (idempotencyKey != null) {
|
|
2586
|
-
localVarHeaderParameter["idempotency-key"] =
|
|
2587
|
-
String(idempotencyKey);
|
|
2588
|
-
}
|
|
2589
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2590
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2591
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2592
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postMusicConsentBody, localVarRequestOptions, configuration);
|
|
2593
|
-
return {
|
|
2594
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2595
|
-
options: localVarRequestOptions,
|
|
2596
|
-
};
|
|
2597
|
-
},
|
|
2598
1838
|
/**
|
|
2599
1839
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
2600
1840
|
* @summary Set filepaths for a collection
|
|
@@ -3130,6 +2370,7 @@ const SureelApiFp = function (configuration) {
|
|
|
3130
2370
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
3131
2371
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
3132
2372
|
* @param {*} [options] Override http request option.
|
|
2373
|
+
* @deprecated
|
|
3133
2374
|
* @throws {RequiredError}
|
|
3134
2375
|
*/
|
|
3135
2376
|
async aiDetection(contentType, postDetectAIGeneratedAudioBody, options) {
|
|
@@ -3327,126 +2568,39 @@ const SureelApiFp = function (configuration) {
|
|
|
3327
2568
|
* @param {*} [options] Override http request option.
|
|
3328
2569
|
* @throws {RequiredError}
|
|
3329
2570
|
*/
|
|
3330
|
-
async createCoverArt(contentType, coverArtRequest, options) {
|
|
3331
|
-
var _a, _b, _c;
|
|
3332
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createCoverArt(contentType, coverArtRequest, options);
|
|
3333
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3334
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.createCoverArt"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3335
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3336
|
-
},
|
|
3337
|
-
/**
|
|
3338
|
-
* The key is generated by the server; a client never chooses one. Upload the bytes, compute their SHA-256, then submit the record with both.
|
|
3339
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
3340
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
3341
|
-
* @param {*} [options] Override http request option.
|
|
3342
|
-
* @throws {RequiredError}
|
|
3343
|
-
*/
|
|
3344
|
-
async createNilAssetUploadUrl(createNilAssetUploadUrlBody, options) {
|
|
3345
|
-
var _a, _b, _c;
|
|
3346
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createNilAssetUploadUrl(createNilAssetUploadUrlBody, options);
|
|
3347
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3348
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.createNilAssetUploadUrl"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3349
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3350
|
-
},
|
|
3351
|
-
/**
|
|
3352
|
-
* The key is scoped to the artist named in the path, not to the caller. Without this a label could not supply assets on an artist\'s behalf at all.
|
|
3353
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
3354
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3355
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
3356
|
-
* @param {*} [options] Override http request option.
|
|
3357
|
-
* @throws {RequiredError}
|
|
3358
|
-
*/
|
|
3359
|
-
async createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options) {
|
|
3360
|
-
var _a, _b, _c;
|
|
3361
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options);
|
|
3362
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3363
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.createNilAssetUploadUrlByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3364
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3365
|
-
},
|
|
3366
|
-
/**
|
|
3367
|
-
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
3368
|
-
* @summary Delete collection
|
|
3369
|
-
* @param {string} collectionUuid
|
|
3370
|
-
* @param {*} [options] Override http request option.
|
|
3371
|
-
* @throws {RequiredError}
|
|
3372
|
-
*/
|
|
3373
|
-
async deleteCollection(collectionUuid, options) {
|
|
3374
|
-
var _a, _b, _c;
|
|
3375
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCollection(collectionUuid, options);
|
|
3376
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3377
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.deleteCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3378
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3379
|
-
},
|
|
3380
|
-
/**
|
|
3381
|
-
* Delete prompt and images by request ID.
|
|
3382
|
-
* @summary Delete LDM request
|
|
3383
|
-
* @param {string} requestId
|
|
3384
|
-
* @param {*} [options] Override http request option.
|
|
3385
|
-
* @throws {RequiredError}
|
|
3386
|
-
*/
|
|
3387
|
-
async deleteRequestById(requestId, options) {
|
|
3388
|
-
var _a, _b, _c;
|
|
3389
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRequestById(requestId, options);
|
|
3390
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3391
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.deleteRequestById"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3392
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3393
|
-
},
|
|
3394
|
-
/**
|
|
3395
|
-
*
|
|
3396
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
3397
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
3398
|
-
* @param {*} [options] Override http request option.
|
|
3399
|
-
* @throws {RequiredError}
|
|
3400
|
-
*/
|
|
3401
|
-
async evaluateArtistSettings(evaluateArtistSettingsBody, options) {
|
|
3402
|
-
var _a, _b, _c;
|
|
3403
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateArtistSettings(evaluateArtistSettingsBody, options);
|
|
3404
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3405
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.evaluateArtistSettings"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3406
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3407
|
-
},
|
|
3408
|
-
/**
|
|
3409
|
-
*
|
|
3410
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
3411
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3412
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
3413
|
-
* @param {*} [options] Override http request option.
|
|
3414
|
-
* @throws {RequiredError}
|
|
3415
|
-
*/
|
|
3416
|
-
async evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options) {
|
|
2571
|
+
async createCoverArt(contentType, coverArtRequest, options) {
|
|
3417
2572
|
var _a, _b, _c;
|
|
3418
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2573
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCoverArt(contentType, coverArtRequest, options);
|
|
3419
2574
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3420
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.
|
|
2575
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.createCoverArt"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3421
2576
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3422
2577
|
},
|
|
3423
2578
|
/**
|
|
3424
|
-
*
|
|
3425
|
-
* @summary
|
|
3426
|
-
* @param {
|
|
2579
|
+
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
2580
|
+
* @summary Delete collection
|
|
2581
|
+
* @param {string} collectionUuid
|
|
3427
2582
|
* @param {*} [options] Override http request option.
|
|
3428
2583
|
* @throws {RequiredError}
|
|
3429
2584
|
*/
|
|
3430
|
-
async
|
|
2585
|
+
async deleteCollection(collectionUuid, options) {
|
|
3431
2586
|
var _a, _b, _c;
|
|
3432
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCollection(collectionUuid, options);
|
|
3433
2588
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3434
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.
|
|
2589
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.deleteCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3435
2590
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3436
2591
|
},
|
|
3437
2592
|
/**
|
|
3438
|
-
*
|
|
3439
|
-
* @summary
|
|
3440
|
-
* @param {string}
|
|
3441
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
2593
|
+
* Delete prompt and images by request ID.
|
|
2594
|
+
* @summary Delete LDM request
|
|
2595
|
+
* @param {string} requestId
|
|
3442
2596
|
* @param {*} [options] Override http request option.
|
|
3443
2597
|
* @throws {RequiredError}
|
|
3444
2598
|
*/
|
|
3445
|
-
async
|
|
2599
|
+
async deleteRequestById(requestId, options) {
|
|
3446
2600
|
var _a, _b, _c;
|
|
3447
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2601
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRequestById(requestId, options);
|
|
3448
2602
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3449
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.
|
|
2603
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.deleteRequestById"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3450
2604
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3451
2605
|
},
|
|
3452
2606
|
/**
|
|
@@ -3600,35 +2754,6 @@ const SureelApiFp = function (configuration) {
|
|
|
3600
2754
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getArtistByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3601
2755
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3602
2756
|
},
|
|
3603
|
-
/**
|
|
3604
|
-
*
|
|
3605
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
3606
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3607
|
-
* @param {*} [options] Override http request option.
|
|
3608
|
-
* @throws {RequiredError}
|
|
3609
|
-
*/
|
|
3610
|
-
async getArtistSettings(version, options) {
|
|
3611
|
-
var _a, _b, _c;
|
|
3612
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistSettings(version, options);
|
|
3613
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3614
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getArtistSettings"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3615
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3616
|
-
},
|
|
3617
|
-
/**
|
|
3618
|
-
*
|
|
3619
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
3620
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3621
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3622
|
-
* @param {*} [options] Override http request option.
|
|
3623
|
-
* @throws {RequiredError}
|
|
3624
|
-
*/
|
|
3625
|
-
async getArtistSettingsByUsername(username, version, options) {
|
|
3626
|
-
var _a, _b, _c;
|
|
3627
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistSettingsByUsername(username, version, options);
|
|
3628
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3629
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3630
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3631
|
-
},
|
|
3632
2757
|
/**
|
|
3633
2758
|
* Retrieve asset metadata by using fileId.
|
|
3634
2759
|
* @summary Get asset metadata
|
|
@@ -3694,82 +2819,6 @@ const SureelApiFp = function (configuration) {
|
|
|
3694
2819
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getCustomerData"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3695
2820
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3696
2821
|
},
|
|
3697
|
-
/**
|
|
3698
|
-
*
|
|
3699
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
3700
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3701
|
-
* @param {*} [options] Override http request option.
|
|
3702
|
-
* @throws {RequiredError}
|
|
3703
|
-
*/
|
|
3704
|
-
async getMusicConsent(version, options) {
|
|
3705
|
-
var _a, _b, _c;
|
|
3706
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsent(version, options);
|
|
3707
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3708
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3709
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3710
|
-
},
|
|
3711
|
-
/**
|
|
3712
|
-
*
|
|
3713
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
3714
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
3715
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3716
|
-
* @param {*} [options] Override http request option.
|
|
3717
|
-
* @throws {RequiredError}
|
|
3718
|
-
*/
|
|
3719
|
-
async getMusicConsentByUsername(username, version, options) {
|
|
3720
|
-
var _a, _b, _c;
|
|
3721
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsentByUsername(username, version, options);
|
|
3722
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3723
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3724
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3725
|
-
},
|
|
3726
|
-
/**
|
|
3727
|
-
* Re-encoded on the server with metadata stripped; the original bytes and any URL to them never leave. 404 for an unknown id, a non-image entry, an entry not yet ingested and an image that cannot be decoded, identically.
|
|
3728
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
3729
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
3730
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
3731
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3732
|
-
* @param {*} [options] Override http request option.
|
|
3733
|
-
* @throws {RequiredError}
|
|
3734
|
-
*/
|
|
3735
|
-
async getNilAssetThumbnail(assetId, size, v, options) {
|
|
3736
|
-
var _a, _b, _c;
|
|
3737
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getNilAssetThumbnail(assetId, size, v, options);
|
|
3738
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3739
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getNilAssetThumbnail"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3740
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3741
|
-
},
|
|
3742
|
-
/**
|
|
3743
|
-
* Re-encoded on the server with metadata stripped; the original bytes and any URL to them never leave. 404 for an unknown id, a non-image entry, an entry not yet ingested and an image that cannot be decoded, identically.
|
|
3744
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
3745
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3746
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
3747
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
3748
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3749
|
-
* @param {*} [options] Override http request option.
|
|
3750
|
-
* @throws {RequiredError}
|
|
3751
|
-
*/
|
|
3752
|
-
async getNilAssetThumbnailByUsername(username, assetId, size, v, options) {
|
|
3753
|
-
var _a, _b, _c;
|
|
3754
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getNilAssetThumbnailByUsername(username, assetId, size, v, options);
|
|
3755
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3756
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getNilAssetThumbnailByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3757
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3758
|
-
},
|
|
3759
|
-
/**
|
|
3760
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
3761
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
3762
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
3763
|
-
* @param {*} [options] Override http request option.
|
|
3764
|
-
* @throws {RequiredError}
|
|
3765
|
-
*/
|
|
3766
|
-
async getNilIngestionStatus(requestId, options) {
|
|
3767
|
-
var _a, _b, _c;
|
|
3768
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getNilIngestionStatus(requestId, options);
|
|
3769
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3770
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getNilIngestionStatus"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3771
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3772
|
-
},
|
|
3773
2822
|
/**
|
|
3774
2823
|
* Get all collections that are opted-out.
|
|
3775
2824
|
* @summary Get opted-out collections
|
|
@@ -3809,33 +2858,6 @@ const SureelApiFp = function (configuration) {
|
|
|
3809
2858
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getOwnCollections"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3810
2859
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3811
2860
|
},
|
|
3812
|
-
/**
|
|
3813
|
-
*
|
|
3814
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
3815
|
-
* @param {*} [options] Override http request option.
|
|
3816
|
-
* @throws {RequiredError}
|
|
3817
|
-
*/
|
|
3818
|
-
async getPermissionNotify(options) {
|
|
3819
|
-
var _a, _b, _c;
|
|
3820
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissionNotify(options);
|
|
3821
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3822
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getPermissionNotify"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3823
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3824
|
-
},
|
|
3825
|
-
/**
|
|
3826
|
-
*
|
|
3827
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
3828
|
-
* @param {string} username
|
|
3829
|
-
* @param {*} [options] Override http request option.
|
|
3830
|
-
* @throws {RequiredError}
|
|
3831
|
-
*/
|
|
3832
|
-
async getPermissionNotifyByUsername(username, options) {
|
|
3833
|
-
var _a, _b, _c;
|
|
3834
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissionNotifyByUsername(username, options);
|
|
3835
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3836
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getPermissionNotifyByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3837
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3838
|
-
},
|
|
3839
2861
|
/**
|
|
3840
2862
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
3841
2863
|
* @summary Prompt history
|
|
@@ -3988,35 +3010,6 @@ const SureelApiFp = function (configuration) {
|
|
|
3988
3010
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.optOutAnalysis"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3989
3011
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3990
3012
|
},
|
|
3991
|
-
/**
|
|
3992
|
-
*
|
|
3993
|
-
* @summary Turn email on or off for permission changes on this account. Off is the default, and a user who is off is not emailed.
|
|
3994
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
3995
|
-
* @param {*} [options] Override http request option.
|
|
3996
|
-
* @throws {RequiredError}
|
|
3997
|
-
*/
|
|
3998
|
-
async putPermissionNotify(permissionNotifyBody, options) {
|
|
3999
|
-
var _a, _b, _c;
|
|
4000
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putPermissionNotify(permissionNotifyBody, options);
|
|
4001
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4002
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.putPermissionNotify"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4003
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4004
|
-
},
|
|
4005
|
-
/**
|
|
4006
|
-
*
|
|
4007
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
4008
|
-
* @param {string} username
|
|
4009
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
4010
|
-
* @param {*} [options] Override http request option.
|
|
4011
|
-
* @throws {RequiredError}
|
|
4012
|
-
*/
|
|
4013
|
-
async putPermissionNotifyByUsername(username, permissionNotifyBody, options) {
|
|
4014
|
-
var _a, _b, _c;
|
|
4015
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putPermissionNotifyByUsername(username, permissionNotifyBody, options);
|
|
4016
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4017
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.putPermissionNotifyByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4018
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4019
|
-
},
|
|
4020
3013
|
/**
|
|
4021
3014
|
* 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.
|
|
4022
3015
|
* @summary Reimagine image
|
|
@@ -4047,72 +3040,6 @@ const SureelApiFp = function (configuration) {
|
|
|
4047
3040
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.removeBackground"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4048
3041
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4049
3042
|
},
|
|
4050
|
-
/**
|
|
4051
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted.
|
|
4052
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
4053
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
4054
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4055
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4056
|
-
* @param {*} [options] Override http request option.
|
|
4057
|
-
* @throws {RequiredError}
|
|
4058
|
-
*/
|
|
4059
|
-
async saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
4060
|
-
var _a, _b, _c;
|
|
4061
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options);
|
|
4062
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4063
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.saveArtistSettings"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4064
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4065
|
-
},
|
|
4066
|
-
/**
|
|
4067
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted.
|
|
4068
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
4069
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
4070
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
4071
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4072
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4073
|
-
* @param {*} [options] Override http request option.
|
|
4074
|
-
* @throws {RequiredError}
|
|
4075
|
-
*/
|
|
4076
|
-
async saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
4077
|
-
var _a, _b, _c;
|
|
4078
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options);
|
|
4079
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4080
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.saveArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4081
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4082
|
-
},
|
|
4083
|
-
/**
|
|
4084
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
|
|
4085
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
4086
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
4087
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4088
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4089
|
-
* @param {*} [options] Override http request option.
|
|
4090
|
-
* @throws {RequiredError}
|
|
4091
|
-
*/
|
|
4092
|
-
async saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
4093
|
-
var _a, _b, _c;
|
|
4094
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options);
|
|
4095
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4096
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.saveMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4097
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4098
|
-
},
|
|
4099
|
-
/**
|
|
4100
|
-
* A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
|
|
4101
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
4102
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
4103
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
4104
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4105
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4106
|
-
* @param {*} [options] Override http request option.
|
|
4107
|
-
* @throws {RequiredError}
|
|
4108
|
-
*/
|
|
4109
|
-
async saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
4110
|
-
var _a, _b, _c;
|
|
4111
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options);
|
|
4112
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4113
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.saveMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4114
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4115
|
-
},
|
|
4116
3043
|
/**
|
|
4117
3044
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
4118
3045
|
* @summary Set filepaths for a collection
|
|
@@ -4337,6 +3264,7 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4337
3264
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
4338
3265
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
4339
3266
|
* @param {*} [options] Override http request option.
|
|
3267
|
+
* @deprecated
|
|
4340
3268
|
* @throws {RequiredError}
|
|
4341
3269
|
*/
|
|
4342
3270
|
aiDetection(contentType, postDetectAIGeneratedAudioBody, options) {
|
|
@@ -4513,31 +3441,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4513
3441
|
.createCoverArt(contentType, coverArtRequest, options)
|
|
4514
3442
|
.then((request) => request(axios, basePath));
|
|
4515
3443
|
},
|
|
4516
|
-
/**
|
|
4517
|
-
* The key is generated by the server; a client never chooses one. Upload the bytes, compute their SHA-256, then submit the record with both.
|
|
4518
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
4519
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
4520
|
-
* @param {*} [options] Override http request option.
|
|
4521
|
-
* @throws {RequiredError}
|
|
4522
|
-
*/
|
|
4523
|
-
createNilAssetUploadUrl(createNilAssetUploadUrlBody, options) {
|
|
4524
|
-
return localVarFp
|
|
4525
|
-
.createNilAssetUploadUrl(createNilAssetUploadUrlBody, options)
|
|
4526
|
-
.then((request) => request(axios, basePath));
|
|
4527
|
-
},
|
|
4528
|
-
/**
|
|
4529
|
-
* The key is scoped to the artist named in the path, not to the caller. Without this a label could not supply assets on an artist\'s behalf at all.
|
|
4530
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
4531
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
4532
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
4533
|
-
* @param {*} [options] Override http request option.
|
|
4534
|
-
* @throws {RequiredError}
|
|
4535
|
-
*/
|
|
4536
|
-
createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options) {
|
|
4537
|
-
return localVarFp
|
|
4538
|
-
.createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options)
|
|
4539
|
-
.then((request) => request(axios, basePath));
|
|
4540
|
-
},
|
|
4541
3444
|
/**
|
|
4542
3445
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
4543
3446
|
* @summary Delete collection
|
|
@@ -4562,56 +3465,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4562
3465
|
.deleteRequestById(requestId, options)
|
|
4563
3466
|
.then((request) => request(axios, basePath));
|
|
4564
3467
|
},
|
|
4565
|
-
/**
|
|
4566
|
-
*
|
|
4567
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
4568
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
4569
|
-
* @param {*} [options] Override http request option.
|
|
4570
|
-
* @throws {RequiredError}
|
|
4571
|
-
*/
|
|
4572
|
-
evaluateArtistSettings(evaluateArtistSettingsBody, options) {
|
|
4573
|
-
return localVarFp
|
|
4574
|
-
.evaluateArtistSettings(evaluateArtistSettingsBody, options)
|
|
4575
|
-
.then((request) => request(axios, basePath));
|
|
4576
|
-
},
|
|
4577
|
-
/**
|
|
4578
|
-
*
|
|
4579
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
4580
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
4581
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
4582
|
-
* @param {*} [options] Override http request option.
|
|
4583
|
-
* @throws {RequiredError}
|
|
4584
|
-
*/
|
|
4585
|
-
evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options) {
|
|
4586
|
-
return localVarFp
|
|
4587
|
-
.evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
|
|
4588
|
-
.then((request) => request(axios, basePath));
|
|
4589
|
-
},
|
|
4590
|
-
/**
|
|
4591
|
-
*
|
|
4592
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
4593
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
4594
|
-
* @param {*} [options] Override http request option.
|
|
4595
|
-
* @throws {RequiredError}
|
|
4596
|
-
*/
|
|
4597
|
-
evaluateMusicConsent(evaluateMusicConsentBody, options) {
|
|
4598
|
-
return localVarFp
|
|
4599
|
-
.evaluateMusicConsent(evaluateMusicConsentBody, options)
|
|
4600
|
-
.then((request) => request(axios, basePath));
|
|
4601
|
-
},
|
|
4602
|
-
/**
|
|
4603
|
-
*
|
|
4604
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
4605
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
4606
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
4607
|
-
* @param {*} [options] Override http request option.
|
|
4608
|
-
* @throws {RequiredError}
|
|
4609
|
-
*/
|
|
4610
|
-
evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
|
|
4611
|
-
return localVarFp
|
|
4612
|
-
.evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
|
|
4613
|
-
.then((request) => request(axios, basePath));
|
|
4614
|
-
},
|
|
4615
3468
|
/**
|
|
4616
3469
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
4617
3470
|
* @summary Face swap
|
|
@@ -4745,152 +3598,61 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4745
3598
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
4746
3599
|
.then((request) => request(axios, basePath));
|
|
4747
3600
|
},
|
|
4748
|
-
/**
|
|
4749
|
-
*
|
|
4750
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
4751
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4752
|
-
* @param {*} [options] Override http request option.
|
|
4753
|
-
* @throws {RequiredError}
|
|
4754
|
-
*/
|
|
4755
|
-
getArtistSettings(version, options) {
|
|
4756
|
-
return localVarFp
|
|
4757
|
-
.getArtistSettings(version, options)
|
|
4758
|
-
.then((request) => request(axios, basePath));
|
|
4759
|
-
},
|
|
4760
|
-
/**
|
|
4761
|
-
*
|
|
4762
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
4763
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
4764
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4765
|
-
* @param {*} [options] Override http request option.
|
|
4766
|
-
* @throws {RequiredError}
|
|
4767
|
-
*/
|
|
4768
|
-
getArtistSettingsByUsername(username, version, options) {
|
|
4769
|
-
return localVarFp
|
|
4770
|
-
.getArtistSettingsByUsername(username, version, options)
|
|
4771
|
-
.then((request) => request(axios, basePath));
|
|
4772
|
-
},
|
|
4773
3601
|
/**
|
|
4774
3602
|
* Retrieve asset metadata by using fileId.
|
|
4775
|
-
* @summary Get asset metadata
|
|
4776
|
-
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
4777
|
-
* @param {*} [options] Override http request option.
|
|
4778
|
-
* @throws {RequiredError}
|
|
4779
|
-
*/
|
|
4780
|
-
getAssetMetadata(fileId, options) {
|
|
4781
|
-
return localVarFp
|
|
4782
|
-
.getAssetMetadata(fileId, options)
|
|
4783
|
-
.then((request) => request(axios, basePath));
|
|
4784
|
-
},
|
|
4785
|
-
/**
|
|
4786
|
-
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
4787
|
-
* @summary Audio LDM request results
|
|
4788
|
-
* @param {string} requestId
|
|
4789
|
-
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
4790
|
-
* @param {*} [options] Override http request option.
|
|
4791
|
-
* @throws {RequiredError}
|
|
4792
|
-
*/
|
|
4793
|
-
getAudioLdmResults(requestId, topNAttributionResults, options) {
|
|
4794
|
-
return localVarFp
|
|
4795
|
-
.getAudioLdmResults(requestId, topNAttributionResults, options)
|
|
4796
|
-
.then((request) => request(axios, basePath));
|
|
4797
|
-
},
|
|
4798
|
-
/**
|
|
4799
|
-
* Retrieve a collection including lyrics and stems if already extracted.
|
|
4800
|
-
* @summary Get collection (with lyrics and stems)
|
|
4801
|
-
* @param {string} collectionUuid
|
|
4802
|
-
* @param {*} [options] Override http request option.
|
|
4803
|
-
* @throws {RequiredError}
|
|
4804
|
-
*/
|
|
4805
|
-
getCollection(collectionUuid, options) {
|
|
4806
|
-
return localVarFp
|
|
4807
|
-
.getCollection(collectionUuid, options)
|
|
4808
|
-
.then((request) => request(axios, basePath));
|
|
4809
|
-
},
|
|
4810
|
-
/**
|
|
4811
|
-
* Get the label profile data and one page of the artists associated with the label. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`; `lastEvaluatedKey` is absent on the last page. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one is read from DynamoDB. The optional `signed_label` narrows the roster to one of the company\'s labels, from the same index and with the same 503. A cursor may only be carried between requests that agree on whether `search` or `signed_label` is set, and one this service cannot decode is refused: both answer 400.
|
|
4812
|
-
* @summary Get profile data by label name
|
|
4813
|
-
* @param {string} labelName
|
|
4814
|
-
* @param {number} [take] The `take` parameter is the number of artists to return per page, at most 100. A searched page is read by key out of the profile table, which reads 100 keys per round trip.
|
|
4815
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page. A cursor belongs to the read that issued it: one issued by a searched page is refused on an unsearched read and the other way round, and one this service cannot decode is refused too, both with 400.
|
|
4816
|
-
* @param {string} [search] Filter the roster to parties matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. The search issues a cursor format of its own, so a `cursor` may only be carried between requests that agree on whether `search` is set: mixing the two is refused. Omit the parameter to read the whole roster: an empty term is refused rather than read as no search at all.
|
|
4817
|
-
* @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their `signed_labels`; the company\'s `sub_labels` are the values it holds. Combines with `search`, `roles` and `include_hidden`, and never reaches past the company\'s own roster. Served from the profile index like `search`, with the same 503 while that index is unavailable and the same cursor format: a `cursor` may only be carried between requests that agree on whether either parameter is set.
|
|
4818
|
-
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
4819
|
-
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
4820
|
-
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
4821
|
-
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists and singer-songwriters join through the company\'s customer_name, songwriters through its customer_name (roster invitees) and its publisher_name; every party appears once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
4822
|
-
* @param {*} [options] Override http request option.
|
|
4823
|
-
* @throws {RequiredError}
|
|
4824
|
-
*/
|
|
4825
|
-
getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options) {
|
|
4826
|
-
return localVarFp
|
|
4827
|
-
.getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options)
|
|
4828
|
-
.then((request) => request(axios, basePath));
|
|
4829
|
-
},
|
|
4830
|
-
/**
|
|
4831
|
-
*
|
|
4832
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
4833
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4834
|
-
* @param {*} [options] Override http request option.
|
|
4835
|
-
* @throws {RequiredError}
|
|
4836
|
-
*/
|
|
4837
|
-
getMusicConsent(version, options) {
|
|
4838
|
-
return localVarFp
|
|
4839
|
-
.getMusicConsent(version, options)
|
|
4840
|
-
.then((request) => request(axios, basePath));
|
|
4841
|
-
},
|
|
4842
|
-
/**
|
|
4843
|
-
*
|
|
4844
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
4845
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
4846
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3603
|
+
* @summary Get asset metadata
|
|
3604
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
4847
3605
|
* @param {*} [options] Override http request option.
|
|
4848
3606
|
* @throws {RequiredError}
|
|
4849
3607
|
*/
|
|
4850
|
-
|
|
3608
|
+
getAssetMetadata(fileId, options) {
|
|
4851
3609
|
return localVarFp
|
|
4852
|
-
.
|
|
3610
|
+
.getAssetMetadata(fileId, options)
|
|
4853
3611
|
.then((request) => request(axios, basePath));
|
|
4854
3612
|
},
|
|
4855
3613
|
/**
|
|
4856
|
-
*
|
|
4857
|
-
* @summary
|
|
4858
|
-
* @param {string}
|
|
4859
|
-
* @param {
|
|
4860
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3614
|
+
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
3615
|
+
* @summary Audio LDM request results
|
|
3616
|
+
* @param {string} requestId
|
|
3617
|
+
* @param {number} [topNAttributionResults] Specifies the number of top attribution results to be returned. A value of -1 indicates that all attribution results should be returned.
|
|
4861
3618
|
* @param {*} [options] Override http request option.
|
|
4862
3619
|
* @throws {RequiredError}
|
|
4863
3620
|
*/
|
|
4864
|
-
|
|
3621
|
+
getAudioLdmResults(requestId, topNAttributionResults, options) {
|
|
4865
3622
|
return localVarFp
|
|
4866
|
-
.
|
|
3623
|
+
.getAudioLdmResults(requestId, topNAttributionResults, options)
|
|
4867
3624
|
.then((request) => request(axios, basePath));
|
|
4868
3625
|
},
|
|
4869
3626
|
/**
|
|
4870
|
-
*
|
|
4871
|
-
* @summary Get
|
|
4872
|
-
* @param {string}
|
|
4873
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
4874
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
4875
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3627
|
+
* Retrieve a collection including lyrics and stems if already extracted.
|
|
3628
|
+
* @summary Get collection (with lyrics and stems)
|
|
3629
|
+
* @param {string} collectionUuid
|
|
4876
3630
|
* @param {*} [options] Override http request option.
|
|
4877
3631
|
* @throws {RequiredError}
|
|
4878
3632
|
*/
|
|
4879
|
-
|
|
3633
|
+
getCollection(collectionUuid, options) {
|
|
4880
3634
|
return localVarFp
|
|
4881
|
-
.
|
|
3635
|
+
.getCollection(collectionUuid, options)
|
|
4882
3636
|
.then((request) => request(axios, basePath));
|
|
4883
3637
|
},
|
|
4884
3638
|
/**
|
|
4885
|
-
*
|
|
4886
|
-
* @summary
|
|
4887
|
-
* @param {string}
|
|
3639
|
+
* Get the label profile data and one page of the artists associated with the label. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`; `lastEvaluatedKey` is absent on the last page. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one is read from DynamoDB. The optional `signed_label` narrows the roster to one of the company\'s labels, from the same index and with the same 503. A cursor may only be carried between requests that agree on whether `search` or `signed_label` is set, and one this service cannot decode is refused: both answer 400.
|
|
3640
|
+
* @summary Get profile data by label name
|
|
3641
|
+
* @param {string} labelName
|
|
3642
|
+
* @param {number} [take] The `take` parameter is the number of artists to return per page, at most 100. A searched page is read by key out of the profile table, which reads 100 keys per round trip.
|
|
3643
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page. A cursor belongs to the read that issued it: one issued by a searched page is refused on an unsearched read and the other way round, and one this service cannot decode is refused too, both with 400.
|
|
3644
|
+
* @param {string} [search] Filter the roster to parties matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. The search issues a cursor format of its own, so a `cursor` may only be carried between requests that agree on whether `search` is set: mixing the two is refused. Omit the parameter to read the whole roster: an empty term is refused rather than read as no search at all.
|
|
3645
|
+
* @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their `signed_labels`; the company\'s `sub_labels` are the values it holds. Combines with `search`, `roles` and `include_hidden`, and never reaches past the company\'s own roster. Served from the profile index like `search`, with the same 503 while that index is unavailable and the same cursor format: a `cursor` may only be carried between requests that agree on whether either parameter is set.
|
|
3646
|
+
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
3647
|
+
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
3648
|
+
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
3649
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists and singer-songwriters join through the company\'s customer_name, songwriters through its customer_name (roster invitees) and its publisher_name; every party appears once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
4888
3650
|
* @param {*} [options] Override http request option.
|
|
4889
3651
|
* @throws {RequiredError}
|
|
4890
3652
|
*/
|
|
4891
|
-
|
|
3653
|
+
getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options) {
|
|
4892
3654
|
return localVarFp
|
|
4893
|
-
.
|
|
3655
|
+
.getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options)
|
|
4894
3656
|
.then((request) => request(axios, basePath));
|
|
4895
3657
|
},
|
|
4896
3658
|
/**
|
|
@@ -4928,29 +3690,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4928
3690
|
.getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
4929
3691
|
.then((request) => request(axios, basePath));
|
|
4930
3692
|
},
|
|
4931
|
-
/**
|
|
4932
|
-
*
|
|
4933
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
4934
|
-
* @param {*} [options] Override http request option.
|
|
4935
|
-
* @throws {RequiredError}
|
|
4936
|
-
*/
|
|
4937
|
-
getPermissionNotify(options) {
|
|
4938
|
-
return localVarFp
|
|
4939
|
-
.getPermissionNotify(options)
|
|
4940
|
-
.then((request) => request(axios, basePath));
|
|
4941
|
-
},
|
|
4942
|
-
/**
|
|
4943
|
-
*
|
|
4944
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
4945
|
-
* @param {string} username
|
|
4946
|
-
* @param {*} [options] Override http request option.
|
|
4947
|
-
* @throws {RequiredError}
|
|
4948
|
-
*/
|
|
4949
|
-
getPermissionNotifyByUsername(username, options) {
|
|
4950
|
-
return localVarFp
|
|
4951
|
-
.getPermissionNotifyByUsername(username, options)
|
|
4952
|
-
.then((request) => request(axios, basePath));
|
|
4953
|
-
},
|
|
4954
3693
|
/**
|
|
4955
3694
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
4956
3695
|
* @summary Prompt history
|
|
@@ -5083,31 +3822,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
5083
3822
|
.optOutAnalysis(contentType, postOptOutAnalysisBody, options)
|
|
5084
3823
|
.then((request) => request(axios, basePath));
|
|
5085
3824
|
},
|
|
5086
|
-
/**
|
|
5087
|
-
*
|
|
5088
|
-
* @summary Turn email on or off for permission changes on this account. Off is the default, and a user who is off is not emailed.
|
|
5089
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
5090
|
-
* @param {*} [options] Override http request option.
|
|
5091
|
-
* @throws {RequiredError}
|
|
5092
|
-
*/
|
|
5093
|
-
putPermissionNotify(permissionNotifyBody, options) {
|
|
5094
|
-
return localVarFp
|
|
5095
|
-
.putPermissionNotify(permissionNotifyBody, options)
|
|
5096
|
-
.then((request) => request(axios, basePath));
|
|
5097
|
-
},
|
|
5098
|
-
/**
|
|
5099
|
-
*
|
|
5100
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
5101
|
-
* @param {string} username
|
|
5102
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
5103
|
-
* @param {*} [options] Override http request option.
|
|
5104
|
-
* @throws {RequiredError}
|
|
5105
|
-
*/
|
|
5106
|
-
putPermissionNotifyByUsername(username, permissionNotifyBody, options) {
|
|
5107
|
-
return localVarFp
|
|
5108
|
-
.putPermissionNotifyByUsername(username, permissionNotifyBody, options)
|
|
5109
|
-
.then((request) => request(axios, basePath));
|
|
5110
|
-
},
|
|
5111
3825
|
/**
|
|
5112
3826
|
* 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.
|
|
5113
3827
|
* @summary Reimagine image
|
|
@@ -5134,64 +3848,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
5134
3848
|
.removeBackground(contentType, removeBackgroundRequest, options)
|
|
5135
3849
|
.then((request) => request(axios, basePath));
|
|
5136
3850
|
},
|
|
5137
|
-
/**
|
|
5138
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted.
|
|
5139
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
5140
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
5141
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5142
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5143
|
-
* @param {*} [options] Override http request option.
|
|
5144
|
-
* @throws {RequiredError}
|
|
5145
|
-
*/
|
|
5146
|
-
saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
5147
|
-
return localVarFp
|
|
5148
|
-
.saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
5149
|
-
.then((request) => request(axios, basePath));
|
|
5150
|
-
},
|
|
5151
|
-
/**
|
|
5152
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted.
|
|
5153
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
5154
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5155
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
5156
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5157
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5158
|
-
* @param {*} [options] Override http request option.
|
|
5159
|
-
* @throws {RequiredError}
|
|
5160
|
-
*/
|
|
5161
|
-
saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
5162
|
-
return localVarFp
|
|
5163
|
-
.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
5164
|
-
.then((request) => request(axios, basePath));
|
|
5165
|
-
},
|
|
5166
|
-
/**
|
|
5167
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
|
|
5168
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
5169
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
5170
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5171
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5172
|
-
* @param {*} [options] Override http request option.
|
|
5173
|
-
* @throws {RequiredError}
|
|
5174
|
-
*/
|
|
5175
|
-
saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
5176
|
-
return localVarFp
|
|
5177
|
-
.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
5178
|
-
.then((request) => request(axios, basePath));
|
|
5179
|
-
},
|
|
5180
|
-
/**
|
|
5181
|
-
* A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
|
|
5182
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
5183
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
5184
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
5185
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5186
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5187
|
-
* @param {*} [options] Override http request option.
|
|
5188
|
-
* @throws {RequiredError}
|
|
5189
|
-
*/
|
|
5190
|
-
saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
5191
|
-
return localVarFp
|
|
5192
|
-
.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
5193
|
-
.then((request) => request(axios, basePath));
|
|
5194
|
-
},
|
|
5195
3851
|
/**
|
|
5196
3852
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
5197
3853
|
* @summary Set filepaths for a collection
|
|
@@ -5391,6 +4047,7 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
5391
4047
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
5392
4048
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
5393
4049
|
* @param {*} [options] Override http request option.
|
|
4050
|
+
* @deprecated
|
|
5394
4051
|
* @throws {RequiredError}
|
|
5395
4052
|
* @memberof SureelApi
|
|
5396
4053
|
*/
|
|
@@ -5581,33 +4238,6 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
5581
4238
|
.createCoverArt(contentType, coverArtRequest, options)
|
|
5582
4239
|
.then((request) => request(this.axios, this.basePath));
|
|
5583
4240
|
}
|
|
5584
|
-
/**
|
|
5585
|
-
* The key is generated by the server; a client never chooses one. Upload the bytes, compute their SHA-256, then submit the record with both.
|
|
5586
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
5587
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
5588
|
-
* @param {*} [options] Override http request option.
|
|
5589
|
-
* @throws {RequiredError}
|
|
5590
|
-
* @memberof SureelApi
|
|
5591
|
-
*/
|
|
5592
|
-
createNilAssetUploadUrl(createNilAssetUploadUrlBody, options) {
|
|
5593
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5594
|
-
.createNilAssetUploadUrl(createNilAssetUploadUrlBody, options)
|
|
5595
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5596
|
-
}
|
|
5597
|
-
/**
|
|
5598
|
-
* The key is scoped to the artist named in the path, not to the caller. Without this a label could not supply assets on an artist\'s behalf at all.
|
|
5599
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
5600
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5601
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
5602
|
-
* @param {*} [options] Override http request option.
|
|
5603
|
-
* @throws {RequiredError}
|
|
5604
|
-
* @memberof SureelApi
|
|
5605
|
-
*/
|
|
5606
|
-
createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options) {
|
|
5607
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5608
|
-
.createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options)
|
|
5609
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5610
|
-
}
|
|
5611
4241
|
/**
|
|
5612
4242
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
5613
4243
|
* @summary Delete collection
|
|
@@ -5634,60 +4264,6 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
5634
4264
|
.deleteRequestById(requestId, options)
|
|
5635
4265
|
.then((request) => request(this.axios, this.basePath));
|
|
5636
4266
|
}
|
|
5637
|
-
/**
|
|
5638
|
-
*
|
|
5639
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
5640
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
5641
|
-
* @param {*} [options] Override http request option.
|
|
5642
|
-
* @throws {RequiredError}
|
|
5643
|
-
* @memberof SureelApi
|
|
5644
|
-
*/
|
|
5645
|
-
evaluateArtistSettings(evaluateArtistSettingsBody, options) {
|
|
5646
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5647
|
-
.evaluateArtistSettings(evaluateArtistSettingsBody, options)
|
|
5648
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5649
|
-
}
|
|
5650
|
-
/**
|
|
5651
|
-
*
|
|
5652
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
5653
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5654
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
5655
|
-
* @param {*} [options] Override http request option.
|
|
5656
|
-
* @throws {RequiredError}
|
|
5657
|
-
* @memberof SureelApi
|
|
5658
|
-
*/
|
|
5659
|
-
evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options) {
|
|
5660
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5661
|
-
.evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
|
|
5662
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5663
|
-
}
|
|
5664
|
-
/**
|
|
5665
|
-
*
|
|
5666
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
5667
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
5668
|
-
* @param {*} [options] Override http request option.
|
|
5669
|
-
* @throws {RequiredError}
|
|
5670
|
-
* @memberof SureelApi
|
|
5671
|
-
*/
|
|
5672
|
-
evaluateMusicConsent(evaluateMusicConsentBody, options) {
|
|
5673
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5674
|
-
.evaluateMusicConsent(evaluateMusicConsentBody, options)
|
|
5675
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5676
|
-
}
|
|
5677
|
-
/**
|
|
5678
|
-
*
|
|
5679
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
5680
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
5681
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
5682
|
-
* @param {*} [options] Override http request option.
|
|
5683
|
-
* @throws {RequiredError}
|
|
5684
|
-
* @memberof SureelApi
|
|
5685
|
-
*/
|
|
5686
|
-
evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
|
|
5687
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5688
|
-
.evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
|
|
5689
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5690
|
-
}
|
|
5691
4267
|
/**
|
|
5692
4268
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
5693
4269
|
* @summary Face swap
|
|
@@ -5830,33 +4406,6 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
5830
4406
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
5831
4407
|
.then((request) => request(this.axios, this.basePath));
|
|
5832
4408
|
}
|
|
5833
|
-
/**
|
|
5834
|
-
*
|
|
5835
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
5836
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5837
|
-
* @param {*} [options] Override http request option.
|
|
5838
|
-
* @throws {RequiredError}
|
|
5839
|
-
* @memberof SureelApi
|
|
5840
|
-
*/
|
|
5841
|
-
getArtistSettings(version, options) {
|
|
5842
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5843
|
-
.getArtistSettings(version, options)
|
|
5844
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5845
|
-
}
|
|
5846
|
-
/**
|
|
5847
|
-
*
|
|
5848
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
5849
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5850
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5851
|
-
* @param {*} [options] Override http request option.
|
|
5852
|
-
* @throws {RequiredError}
|
|
5853
|
-
* @memberof SureelApi
|
|
5854
|
-
*/
|
|
5855
|
-
getArtistSettingsByUsername(username, version, options) {
|
|
5856
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5857
|
-
.getArtistSettingsByUsername(username, version, options)
|
|
5858
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5859
|
-
}
|
|
5860
4409
|
/**
|
|
5861
4410
|
* Retrieve asset metadata by using fileId.
|
|
5862
4411
|
* @summary Get asset metadata
|
|
@@ -5918,77 +4467,6 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
5918
4467
|
.getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options)
|
|
5919
4468
|
.then((request) => request(this.axios, this.basePath));
|
|
5920
4469
|
}
|
|
5921
|
-
/**
|
|
5922
|
-
*
|
|
5923
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
5924
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5925
|
-
* @param {*} [options] Override http request option.
|
|
5926
|
-
* @throws {RequiredError}
|
|
5927
|
-
* @memberof SureelApi
|
|
5928
|
-
*/
|
|
5929
|
-
getMusicConsent(version, options) {
|
|
5930
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5931
|
-
.getMusicConsent(version, options)
|
|
5932
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5933
|
-
}
|
|
5934
|
-
/**
|
|
5935
|
-
*
|
|
5936
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
5937
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
5938
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5939
|
-
* @param {*} [options] Override http request option.
|
|
5940
|
-
* @throws {RequiredError}
|
|
5941
|
-
* @memberof SureelApi
|
|
5942
|
-
*/
|
|
5943
|
-
getMusicConsentByUsername(username, version, options) {
|
|
5944
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5945
|
-
.getMusicConsentByUsername(username, version, options)
|
|
5946
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5947
|
-
}
|
|
5948
|
-
/**
|
|
5949
|
-
* Re-encoded on the server with metadata stripped; the original bytes and any URL to them never leave. 404 for an unknown id, a non-image entry, an entry not yet ingested and an image that cannot be decoded, identically.
|
|
5950
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
5951
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
5952
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
5953
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
5954
|
-
* @param {*} [options] Override http request option.
|
|
5955
|
-
* @throws {RequiredError}
|
|
5956
|
-
* @memberof SureelApi
|
|
5957
|
-
*/
|
|
5958
|
-
getNilAssetThumbnail(assetId, size, v, options) {
|
|
5959
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5960
|
-
.getNilAssetThumbnail(assetId, size, v, options)
|
|
5961
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5962
|
-
}
|
|
5963
|
-
/**
|
|
5964
|
-
* Re-encoded on the server with metadata stripped; the original bytes and any URL to them never leave. 404 for an unknown id, a non-image entry, an entry not yet ingested and an image that cannot be decoded, identically.
|
|
5965
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
5966
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5967
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
5968
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
5969
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
5970
|
-
* @param {*} [options] Override http request option.
|
|
5971
|
-
* @throws {RequiredError}
|
|
5972
|
-
* @memberof SureelApi
|
|
5973
|
-
*/
|
|
5974
|
-
getNilAssetThumbnailByUsername(username, assetId, size, v, options) {
|
|
5975
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5976
|
-
.getNilAssetThumbnailByUsername(username, assetId, size, v, options)
|
|
5977
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5978
|
-
}
|
|
5979
|
-
/**
|
|
5980
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
5981
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
5982
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
5983
|
-
* @param {*} [options] Override http request option.
|
|
5984
|
-
* @throws {RequiredError}
|
|
5985
|
-
* @memberof SureelApi
|
|
5986
|
-
*/
|
|
5987
|
-
getNilIngestionStatus(requestId, options) {
|
|
5988
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
5989
|
-
.getNilIngestionStatus(requestId, options)
|
|
5990
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5991
|
-
}
|
|
5992
4470
|
/**
|
|
5993
4471
|
* Get all collections that are opted-out.
|
|
5994
4472
|
* @summary Get opted-out collections
|
|
@@ -6026,31 +4504,6 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
6026
4504
|
.getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
6027
4505
|
.then((request) => request(this.axios, this.basePath));
|
|
6028
4506
|
}
|
|
6029
|
-
/**
|
|
6030
|
-
*
|
|
6031
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
6032
|
-
* @param {*} [options] Override http request option.
|
|
6033
|
-
* @throws {RequiredError}
|
|
6034
|
-
* @memberof SureelApi
|
|
6035
|
-
*/
|
|
6036
|
-
getPermissionNotify(options) {
|
|
6037
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
6038
|
-
.getPermissionNotify(options)
|
|
6039
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6040
|
-
}
|
|
6041
|
-
/**
|
|
6042
|
-
*
|
|
6043
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
6044
|
-
* @param {string} username
|
|
6045
|
-
* @param {*} [options] Override http request option.
|
|
6046
|
-
* @throws {RequiredError}
|
|
6047
|
-
* @memberof SureelApi
|
|
6048
|
-
*/
|
|
6049
|
-
getPermissionNotifyByUsername(username, options) {
|
|
6050
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
6051
|
-
.getPermissionNotifyByUsername(username, options)
|
|
6052
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6053
|
-
}
|
|
6054
4507
|
/**
|
|
6055
4508
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
6056
4509
|
* @summary Prompt history
|
|
@@ -6193,33 +4646,6 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
6193
4646
|
.optOutAnalysis(contentType, postOptOutAnalysisBody, options)
|
|
6194
4647
|
.then((request) => request(this.axios, this.basePath));
|
|
6195
4648
|
}
|
|
6196
|
-
/**
|
|
6197
|
-
*
|
|
6198
|
-
* @summary Turn email on or off for permission changes on this account. Off is the default, and a user who is off is not emailed.
|
|
6199
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
6200
|
-
* @param {*} [options] Override http request option.
|
|
6201
|
-
* @throws {RequiredError}
|
|
6202
|
-
* @memberof SureelApi
|
|
6203
|
-
*/
|
|
6204
|
-
putPermissionNotify(permissionNotifyBody, options) {
|
|
6205
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
6206
|
-
.putPermissionNotify(permissionNotifyBody, options)
|
|
6207
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6208
|
-
}
|
|
6209
|
-
/**
|
|
6210
|
-
*
|
|
6211
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
6212
|
-
* @param {string} username
|
|
6213
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
6214
|
-
* @param {*} [options] Override http request option.
|
|
6215
|
-
* @throws {RequiredError}
|
|
6216
|
-
* @memberof SureelApi
|
|
6217
|
-
*/
|
|
6218
|
-
putPermissionNotifyByUsername(username, permissionNotifyBody, options) {
|
|
6219
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
6220
|
-
.putPermissionNotifyByUsername(username, permissionNotifyBody, options)
|
|
6221
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6222
|
-
}
|
|
6223
4649
|
/**
|
|
6224
4650
|
* 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.
|
|
6225
4651
|
* @summary Reimagine image
|
|
@@ -6248,68 +4674,6 @@ class SureelApi extends base_1.BaseAPI {
|
|
|
6248
4674
|
.removeBackground(contentType, removeBackgroundRequest, options)
|
|
6249
4675
|
.then((request) => request(this.axios, this.basePath));
|
|
6250
4676
|
}
|
|
6251
|
-
/**
|
|
6252
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted.
|
|
6253
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
6254
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
6255
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
6256
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
6257
|
-
* @param {*} [options] Override http request option.
|
|
6258
|
-
* @throws {RequiredError}
|
|
6259
|
-
* @memberof SureelApi
|
|
6260
|
-
*/
|
|
6261
|
-
saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
6262
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
6263
|
-
.saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
6264
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6265
|
-
}
|
|
6266
|
-
/**
|
|
6267
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted.
|
|
6268
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
6269
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
6270
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
6271
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
6272
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
6273
|
-
* @param {*} [options] Override http request option.
|
|
6274
|
-
* @throws {RequiredError}
|
|
6275
|
-
* @memberof SureelApi
|
|
6276
|
-
*/
|
|
6277
|
-
saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
6278
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
6279
|
-
.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
6280
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6281
|
-
}
|
|
6282
|
-
/**
|
|
6283
|
-
* Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
|
|
6284
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
6285
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
6286
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
6287
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
6288
|
-
* @param {*} [options] Override http request option.
|
|
6289
|
-
* @throws {RequiredError}
|
|
6290
|
-
* @memberof SureelApi
|
|
6291
|
-
*/
|
|
6292
|
-
saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
6293
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
6294
|
-
.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
6295
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6296
|
-
}
|
|
6297
|
-
/**
|
|
6298
|
-
* A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
|
|
6299
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
6300
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
6301
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
6302
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
6303
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
6304
|
-
* @param {*} [options] Override http request option.
|
|
6305
|
-
* @throws {RequiredError}
|
|
6306
|
-
* @memberof SureelApi
|
|
6307
|
-
*/
|
|
6308
|
-
saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
6309
|
-
return (0, exports.SureelApiFp)(this.configuration)
|
|
6310
|
-
.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
6311
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6312
|
-
}
|
|
6313
4677
|
/**
|
|
6314
4678
|
* Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
|
|
6315
4679
|
* @summary Set filepaths for a collection
|