@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/esm/api/sureel-api.js
CHANGED
|
@@ -68,6 +68,7 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
68
68
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
69
69
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
|
+
* @deprecated
|
|
71
72
|
* @throws {RequiredError}
|
|
72
73
|
*/
|
|
73
74
|
aiDetection: async (contentType, postDetectAIGeneratedAudioBody, options = {}) => {
|
|
@@ -608,75 +609,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
608
609
|
options: localVarRequestOptions,
|
|
609
610
|
};
|
|
610
611
|
},
|
|
611
|
-
/**
|
|
612
|
-
* 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.
|
|
613
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
614
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
615
|
-
* @param {*} [options] Override http request option.
|
|
616
|
-
* @throws {RequiredError}
|
|
617
|
-
*/
|
|
618
|
-
createNilAssetUploadUrl: async (createNilAssetUploadUrlBody, options = {}) => {
|
|
619
|
-
// verify required parameter 'createNilAssetUploadUrlBody' is not null or undefined
|
|
620
|
-
assertParamExists("createNilAssetUploadUrl", "createNilAssetUploadUrlBody", createNilAssetUploadUrlBody);
|
|
621
|
-
const localVarPath = `/v1/ai/artist/settings/assets/upload-url`;
|
|
622
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
623
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
624
|
-
let baseOptions;
|
|
625
|
-
if (configuration) {
|
|
626
|
-
baseOptions = configuration.baseOptions;
|
|
627
|
-
}
|
|
628
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
629
|
-
const localVarHeaderParameter = {};
|
|
630
|
-
const localVarQueryParameter = {};
|
|
631
|
-
// authentication OAuth2 required
|
|
632
|
-
// oauth required
|
|
633
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
634
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
635
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
636
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
637
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
638
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createNilAssetUploadUrlBody, localVarRequestOptions, configuration);
|
|
639
|
-
return {
|
|
640
|
-
url: toPathString(localVarUrlObj),
|
|
641
|
-
options: localVarRequestOptions,
|
|
642
|
-
};
|
|
643
|
-
},
|
|
644
|
-
/**
|
|
645
|
-
* 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.
|
|
646
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
647
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
648
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
649
|
-
* @param {*} [options] Override http request option.
|
|
650
|
-
* @throws {RequiredError}
|
|
651
|
-
*/
|
|
652
|
-
createNilAssetUploadUrlByUsername: async (username, createNilAssetUploadUrlBody, options = {}) => {
|
|
653
|
-
// verify required parameter 'username' is not null or undefined
|
|
654
|
-
assertParamExists("createNilAssetUploadUrlByUsername", "username", username);
|
|
655
|
-
// verify required parameter 'createNilAssetUploadUrlBody' is not null or undefined
|
|
656
|
-
assertParamExists("createNilAssetUploadUrlByUsername", "createNilAssetUploadUrlBody", createNilAssetUploadUrlBody);
|
|
657
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/assets/upload-url`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
658
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
659
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
660
|
-
let baseOptions;
|
|
661
|
-
if (configuration) {
|
|
662
|
-
baseOptions = configuration.baseOptions;
|
|
663
|
-
}
|
|
664
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
665
|
-
const localVarHeaderParameter = {};
|
|
666
|
-
const localVarQueryParameter = {};
|
|
667
|
-
// authentication OAuth2 required
|
|
668
|
-
// oauth required
|
|
669
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
670
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
671
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
672
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
673
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
674
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createNilAssetUploadUrlBody, localVarRequestOptions, configuration);
|
|
675
|
-
return {
|
|
676
|
-
url: toPathString(localVarUrlObj),
|
|
677
|
-
options: localVarRequestOptions,
|
|
678
|
-
};
|
|
679
|
-
},
|
|
680
612
|
/**
|
|
681
613
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
682
614
|
* @summary Delete collection
|
|
@@ -739,144 +671,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
739
671
|
options: localVarRequestOptions,
|
|
740
672
|
};
|
|
741
673
|
},
|
|
742
|
-
/**
|
|
743
|
-
*
|
|
744
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
745
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
746
|
-
* @param {*} [options] Override http request option.
|
|
747
|
-
* @throws {RequiredError}
|
|
748
|
-
*/
|
|
749
|
-
evaluateArtistSettings: async (evaluateArtistSettingsBody, options = {}) => {
|
|
750
|
-
// verify required parameter 'evaluateArtistSettingsBody' is not null or undefined
|
|
751
|
-
assertParamExists("evaluateArtistSettings", "evaluateArtistSettingsBody", evaluateArtistSettingsBody);
|
|
752
|
-
const localVarPath = `/v1/ai/artist/settings/evaluate`;
|
|
753
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
754
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
755
|
-
let baseOptions;
|
|
756
|
-
if (configuration) {
|
|
757
|
-
baseOptions = configuration.baseOptions;
|
|
758
|
-
}
|
|
759
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
760
|
-
const localVarHeaderParameter = {};
|
|
761
|
-
const localVarQueryParameter = {};
|
|
762
|
-
// authentication OAuth2 required
|
|
763
|
-
// oauth required
|
|
764
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
765
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
766
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
767
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
768
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
769
|
-
localVarRequestOptions.data = serializeDataIfNeeded(evaluateArtistSettingsBody, localVarRequestOptions, configuration);
|
|
770
|
-
return {
|
|
771
|
-
url: toPathString(localVarUrlObj),
|
|
772
|
-
options: localVarRequestOptions,
|
|
773
|
-
};
|
|
774
|
-
},
|
|
775
|
-
/**
|
|
776
|
-
*
|
|
777
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
778
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
779
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
780
|
-
* @param {*} [options] Override http request option.
|
|
781
|
-
* @throws {RequiredError}
|
|
782
|
-
*/
|
|
783
|
-
evaluateArtistSettingsByUsername: async (username, evaluateArtistSettingsBody, options = {}) => {
|
|
784
|
-
// verify required parameter 'username' is not null or undefined
|
|
785
|
-
assertParamExists("evaluateArtistSettingsByUsername", "username", username);
|
|
786
|
-
// verify required parameter 'evaluateArtistSettingsBody' is not null or undefined
|
|
787
|
-
assertParamExists("evaluateArtistSettingsByUsername", "evaluateArtistSettingsBody", evaluateArtistSettingsBody);
|
|
788
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/evaluate`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
789
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
790
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
791
|
-
let baseOptions;
|
|
792
|
-
if (configuration) {
|
|
793
|
-
baseOptions = configuration.baseOptions;
|
|
794
|
-
}
|
|
795
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
796
|
-
const localVarHeaderParameter = {};
|
|
797
|
-
const localVarQueryParameter = {};
|
|
798
|
-
// authentication OAuth2 required
|
|
799
|
-
// oauth required
|
|
800
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
801
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
802
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
803
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
804
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
805
|
-
localVarRequestOptions.data = serializeDataIfNeeded(evaluateArtistSettingsBody, localVarRequestOptions, configuration);
|
|
806
|
-
return {
|
|
807
|
-
url: toPathString(localVarUrlObj),
|
|
808
|
-
options: localVarRequestOptions,
|
|
809
|
-
};
|
|
810
|
-
},
|
|
811
|
-
/**
|
|
812
|
-
*
|
|
813
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
814
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
815
|
-
* @param {*} [options] Override http request option.
|
|
816
|
-
* @throws {RequiredError}
|
|
817
|
-
*/
|
|
818
|
-
evaluateMusicConsent: async (evaluateMusicConsentBody, options = {}) => {
|
|
819
|
-
// verify required parameter 'evaluateMusicConsentBody' is not null or undefined
|
|
820
|
-
assertParamExists("evaluateMusicConsent", "evaluateMusicConsentBody", evaluateMusicConsentBody);
|
|
821
|
-
const localVarPath = `/v1/ai/artist/settings/music/evaluate`;
|
|
822
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
823
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
824
|
-
let baseOptions;
|
|
825
|
-
if (configuration) {
|
|
826
|
-
baseOptions = configuration.baseOptions;
|
|
827
|
-
}
|
|
828
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
829
|
-
const localVarHeaderParameter = {};
|
|
830
|
-
const localVarQueryParameter = {};
|
|
831
|
-
// authentication OAuth2 required
|
|
832
|
-
// oauth required
|
|
833
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
834
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
835
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
836
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
837
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
838
|
-
localVarRequestOptions.data = serializeDataIfNeeded(evaluateMusicConsentBody, localVarRequestOptions, configuration);
|
|
839
|
-
return {
|
|
840
|
-
url: toPathString(localVarUrlObj),
|
|
841
|
-
options: localVarRequestOptions,
|
|
842
|
-
};
|
|
843
|
-
},
|
|
844
|
-
/**
|
|
845
|
-
*
|
|
846
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
847
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
848
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
849
|
-
* @param {*} [options] Override http request option.
|
|
850
|
-
* @throws {RequiredError}
|
|
851
|
-
*/
|
|
852
|
-
evaluateMusicConsentByUsername: async (username, evaluateMusicConsentBody, options = {}) => {
|
|
853
|
-
// verify required parameter 'username' is not null or undefined
|
|
854
|
-
assertParamExists("evaluateMusicConsentByUsername", "username", username);
|
|
855
|
-
// verify required parameter 'evaluateMusicConsentBody' is not null or undefined
|
|
856
|
-
assertParamExists("evaluateMusicConsentByUsername", "evaluateMusicConsentBody", evaluateMusicConsentBody);
|
|
857
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/music/evaluate`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
858
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
859
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
860
|
-
let baseOptions;
|
|
861
|
-
if (configuration) {
|
|
862
|
-
baseOptions = configuration.baseOptions;
|
|
863
|
-
}
|
|
864
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
865
|
-
const localVarHeaderParameter = {};
|
|
866
|
-
const localVarQueryParameter = {};
|
|
867
|
-
// authentication OAuth2 required
|
|
868
|
-
// oauth required
|
|
869
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
870
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
871
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
872
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
873
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
874
|
-
localVarRequestOptions.data = serializeDataIfNeeded(evaluateMusicConsentBody, localVarRequestOptions, configuration);
|
|
875
|
-
return {
|
|
876
|
-
url: toPathString(localVarUrlObj),
|
|
877
|
-
options: localVarRequestOptions,
|
|
878
|
-
};
|
|
879
|
-
},
|
|
880
674
|
/**
|
|
881
675
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
882
676
|
* @summary Face swap
|
|
@@ -1285,73 +1079,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1285
1079
|
options: localVarRequestOptions,
|
|
1286
1080
|
};
|
|
1287
1081
|
},
|
|
1288
|
-
/**
|
|
1289
|
-
*
|
|
1290
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
1291
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1292
|
-
* @param {*} [options] Override http request option.
|
|
1293
|
-
* @throws {RequiredError}
|
|
1294
|
-
*/
|
|
1295
|
-
getArtistSettings: async (version, options = {}) => {
|
|
1296
|
-
const localVarPath = `/v1/ai/artist/settings/`;
|
|
1297
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1298
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1299
|
-
let baseOptions;
|
|
1300
|
-
if (configuration) {
|
|
1301
|
-
baseOptions = configuration.baseOptions;
|
|
1302
|
-
}
|
|
1303
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1304
|
-
const localVarHeaderParameter = {};
|
|
1305
|
-
const localVarQueryParameter = {};
|
|
1306
|
-
// authentication OAuth2 required
|
|
1307
|
-
// oauth required
|
|
1308
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1309
|
-
if (version !== undefined) {
|
|
1310
|
-
localVarQueryParameter["version"] = version;
|
|
1311
|
-
}
|
|
1312
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1313
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1314
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1315
|
-
return {
|
|
1316
|
-
url: toPathString(localVarUrlObj),
|
|
1317
|
-
options: localVarRequestOptions,
|
|
1318
|
-
};
|
|
1319
|
-
},
|
|
1320
|
-
/**
|
|
1321
|
-
*
|
|
1322
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
1323
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1324
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1325
|
-
* @param {*} [options] Override http request option.
|
|
1326
|
-
* @throws {RequiredError}
|
|
1327
|
-
*/
|
|
1328
|
-
getArtistSettingsByUsername: async (username, version, options = {}) => {
|
|
1329
|
-
// verify required parameter 'username' is not null or undefined
|
|
1330
|
-
assertParamExists("getArtistSettingsByUsername", "username", username);
|
|
1331
|
-
const localVarPath = `/v1/ai/artist/{username}/settings`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1332
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1333
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1334
|
-
let baseOptions;
|
|
1335
|
-
if (configuration) {
|
|
1336
|
-
baseOptions = configuration.baseOptions;
|
|
1337
|
-
}
|
|
1338
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1339
|
-
const localVarHeaderParameter = {};
|
|
1340
|
-
const localVarQueryParameter = {};
|
|
1341
|
-
// authentication OAuth2 required
|
|
1342
|
-
// oauth required
|
|
1343
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1344
|
-
if (version !== undefined) {
|
|
1345
|
-
localVarQueryParameter["version"] = version;
|
|
1346
|
-
}
|
|
1347
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1348
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1349
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1350
|
-
return {
|
|
1351
|
-
url: toPathString(localVarUrlObj),
|
|
1352
|
-
options: localVarRequestOptions,
|
|
1353
|
-
};
|
|
1354
|
-
},
|
|
1355
1082
|
/**
|
|
1356
1083
|
* Retrieve asset metadata by using fileId.
|
|
1357
1084
|
* @summary Get asset metadata
|
|
@@ -1517,191 +1244,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1517
1244
|
options: localVarRequestOptions,
|
|
1518
1245
|
};
|
|
1519
1246
|
},
|
|
1520
|
-
/**
|
|
1521
|
-
*
|
|
1522
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
1523
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1524
|
-
* @param {*} [options] Override http request option.
|
|
1525
|
-
* @throws {RequiredError}
|
|
1526
|
-
*/
|
|
1527
|
-
getMusicConsent: async (version, options = {}) => {
|
|
1528
|
-
const localVarPath = `/v1/ai/artist/settings/music`;
|
|
1529
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1530
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1531
|
-
let baseOptions;
|
|
1532
|
-
if (configuration) {
|
|
1533
|
-
baseOptions = configuration.baseOptions;
|
|
1534
|
-
}
|
|
1535
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1536
|
-
const localVarHeaderParameter = {};
|
|
1537
|
-
const localVarQueryParameter = {};
|
|
1538
|
-
// authentication OAuth2 required
|
|
1539
|
-
// oauth required
|
|
1540
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1541
|
-
if (version !== undefined) {
|
|
1542
|
-
localVarQueryParameter["version"] = version;
|
|
1543
|
-
}
|
|
1544
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1545
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1546
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1547
|
-
return {
|
|
1548
|
-
url: toPathString(localVarUrlObj),
|
|
1549
|
-
options: localVarRequestOptions,
|
|
1550
|
-
};
|
|
1551
|
-
},
|
|
1552
|
-
/**
|
|
1553
|
-
*
|
|
1554
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
1555
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
1556
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1557
|
-
* @param {*} [options] Override http request option.
|
|
1558
|
-
* @throws {RequiredError}
|
|
1559
|
-
*/
|
|
1560
|
-
getMusicConsentByUsername: async (username, version, options = {}) => {
|
|
1561
|
-
// verify required parameter 'username' is not null or undefined
|
|
1562
|
-
assertParamExists("getMusicConsentByUsername", "username", username);
|
|
1563
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1564
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1565
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1566
|
-
let baseOptions;
|
|
1567
|
-
if (configuration) {
|
|
1568
|
-
baseOptions = configuration.baseOptions;
|
|
1569
|
-
}
|
|
1570
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1571
|
-
const localVarHeaderParameter = {};
|
|
1572
|
-
const localVarQueryParameter = {};
|
|
1573
|
-
// authentication OAuth2 required
|
|
1574
|
-
// oauth required
|
|
1575
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1576
|
-
if (version !== undefined) {
|
|
1577
|
-
localVarQueryParameter["version"] = version;
|
|
1578
|
-
}
|
|
1579
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1580
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1581
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1582
|
-
return {
|
|
1583
|
-
url: toPathString(localVarUrlObj),
|
|
1584
|
-
options: localVarRequestOptions,
|
|
1585
|
-
};
|
|
1586
|
-
},
|
|
1587
|
-
/**
|
|
1588
|
-
* 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.
|
|
1589
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
1590
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1591
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
1592
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1593
|
-
* @param {*} [options] Override http request option.
|
|
1594
|
-
* @throws {RequiredError}
|
|
1595
|
-
*/
|
|
1596
|
-
getNilAssetThumbnail: async (assetId, size, v, options = {}) => {
|
|
1597
|
-
// verify required parameter 'assetId' is not null or undefined
|
|
1598
|
-
assertParamExists("getNilAssetThumbnail", "assetId", assetId);
|
|
1599
|
-
const localVarPath = `/v1/ai/artist/settings/assets/{assetId}/thumbnail`.replace(`{${"assetId"}}`, encodeURIComponent(String(assetId)));
|
|
1600
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1601
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1602
|
-
let baseOptions;
|
|
1603
|
-
if (configuration) {
|
|
1604
|
-
baseOptions = configuration.baseOptions;
|
|
1605
|
-
}
|
|
1606
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1607
|
-
const localVarHeaderParameter = {};
|
|
1608
|
-
const localVarQueryParameter = {};
|
|
1609
|
-
// authentication OAuth2 required
|
|
1610
|
-
// oauth required
|
|
1611
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1612
|
-
if (size !== undefined) {
|
|
1613
|
-
for (const [key, value] of Object.entries(size)) {
|
|
1614
|
-
localVarQueryParameter[key] = value;
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
if (v !== undefined) {
|
|
1618
|
-
localVarQueryParameter["v"] = v;
|
|
1619
|
-
}
|
|
1620
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1621
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1622
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1623
|
-
return {
|
|
1624
|
-
url: toPathString(localVarUrlObj),
|
|
1625
|
-
options: localVarRequestOptions,
|
|
1626
|
-
};
|
|
1627
|
-
},
|
|
1628
|
-
/**
|
|
1629
|
-
* 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.
|
|
1630
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
1631
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1632
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1633
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
1634
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1635
|
-
* @param {*} [options] Override http request option.
|
|
1636
|
-
* @throws {RequiredError}
|
|
1637
|
-
*/
|
|
1638
|
-
getNilAssetThumbnailByUsername: async (username, assetId, size, v, options = {}) => {
|
|
1639
|
-
// verify required parameter 'username' is not null or undefined
|
|
1640
|
-
assertParamExists("getNilAssetThumbnailByUsername", "username", username);
|
|
1641
|
-
// verify required parameter 'assetId' is not null or undefined
|
|
1642
|
-
assertParamExists("getNilAssetThumbnailByUsername", "assetId", assetId);
|
|
1643
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/assets/{assetId}/thumbnail`
|
|
1644
|
-
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
1645
|
-
.replace(`{${"assetId"}}`, encodeURIComponent(String(assetId)));
|
|
1646
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1647
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1648
|
-
let baseOptions;
|
|
1649
|
-
if (configuration) {
|
|
1650
|
-
baseOptions = configuration.baseOptions;
|
|
1651
|
-
}
|
|
1652
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1653
|
-
const localVarHeaderParameter = {};
|
|
1654
|
-
const localVarQueryParameter = {};
|
|
1655
|
-
// authentication OAuth2 required
|
|
1656
|
-
// oauth required
|
|
1657
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1658
|
-
if (size !== undefined) {
|
|
1659
|
-
for (const [key, value] of Object.entries(size)) {
|
|
1660
|
-
localVarQueryParameter[key] = value;
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
if (v !== undefined) {
|
|
1664
|
-
localVarQueryParameter["v"] = v;
|
|
1665
|
-
}
|
|
1666
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1667
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1668
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1669
|
-
return {
|
|
1670
|
-
url: toPathString(localVarUrlObj),
|
|
1671
|
-
options: localVarRequestOptions,
|
|
1672
|
-
};
|
|
1673
|
-
},
|
|
1674
|
-
/**
|
|
1675
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
1676
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
1677
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
1678
|
-
* @param {*} [options] Override http request option.
|
|
1679
|
-
* @throws {RequiredError}
|
|
1680
|
-
*/
|
|
1681
|
-
getNilIngestionStatus: async (requestId, options = {}) => {
|
|
1682
|
-
// verify required parameter 'requestId' is not null or undefined
|
|
1683
|
-
assertParamExists("getNilIngestionStatus", "requestId", requestId);
|
|
1684
|
-
const localVarPath = `/v1/ai/artist/settings/ingestion/{requestId}`.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
1685
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1686
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1687
|
-
let baseOptions;
|
|
1688
|
-
if (configuration) {
|
|
1689
|
-
baseOptions = configuration.baseOptions;
|
|
1690
|
-
}
|
|
1691
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1692
|
-
const localVarHeaderParameter = {};
|
|
1693
|
-
const localVarQueryParameter = {};
|
|
1694
|
-
// authentication OAuth2 required
|
|
1695
|
-
// oauth required
|
|
1696
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1697
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1698
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1699
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1700
|
-
return {
|
|
1701
|
-
url: toPathString(localVarUrlObj),
|
|
1702
|
-
options: localVarRequestOptions,
|
|
1703
|
-
};
|
|
1704
|
-
},
|
|
1705
1247
|
/**
|
|
1706
1248
|
* Get all collections that are opted-out.
|
|
1707
1249
|
* @summary Get opted-out collections
|
|
@@ -1784,91 +1326,32 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
1784
1326
|
localVarQueryParameter["include_full_res_artworks"] =
|
|
1785
1327
|
includeFullResArtworks;
|
|
1786
1328
|
}
|
|
1787
|
-
if (take !== undefined) {
|
|
1788
|
-
localVarQueryParameter["take"] = take;
|
|
1789
|
-
}
|
|
1790
|
-
if (cursor !== undefined) {
|
|
1791
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
1792
|
-
}
|
|
1793
|
-
if (collectionSearchField !== undefined) {
|
|
1794
|
-
localVarQueryParameter["collection_search_field"] =
|
|
1795
|
-
collectionSearchField;
|
|
1796
|
-
}
|
|
1797
|
-
if (collectionSearchValue !== undefined) {
|
|
1798
|
-
localVarQueryParameter["collection_search_value"] =
|
|
1799
|
-
collectionSearchValue;
|
|
1800
|
-
}
|
|
1801
|
-
if (sortBy !== undefined) {
|
|
1802
|
-
localVarQueryParameter["sort_by"] = sortBy;
|
|
1803
|
-
}
|
|
1804
|
-
if (sortOrder !== undefined) {
|
|
1805
|
-
localVarQueryParameter["sort_order"] = sortOrder;
|
|
1806
|
-
}
|
|
1807
|
-
if (releaseType !== undefined) {
|
|
1808
|
-
localVarQueryParameter["release_type"] = releaseType;
|
|
1809
|
-
}
|
|
1810
|
-
if (useForTraining !== undefined) {
|
|
1811
|
-
localVarQueryParameter["use_for_training"] = useForTraining;
|
|
1812
|
-
}
|
|
1813
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1814
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1815
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1816
|
-
return {
|
|
1817
|
-
url: toPathString(localVarUrlObj),
|
|
1818
|
-
options: localVarRequestOptions,
|
|
1819
|
-
};
|
|
1820
|
-
},
|
|
1821
|
-
/**
|
|
1822
|
-
*
|
|
1823
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
1824
|
-
* @param {*} [options] Override http request option.
|
|
1825
|
-
* @throws {RequiredError}
|
|
1826
|
-
*/
|
|
1827
|
-
getPermissionNotify: async (options = {}) => {
|
|
1828
|
-
const localVarPath = `/v1/ai/artist/settings/notify`;
|
|
1829
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1830
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1831
|
-
let baseOptions;
|
|
1832
|
-
if (configuration) {
|
|
1833
|
-
baseOptions = configuration.baseOptions;
|
|
1834
|
-
}
|
|
1835
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1836
|
-
const localVarHeaderParameter = {};
|
|
1837
|
-
const localVarQueryParameter = {};
|
|
1838
|
-
// authentication OAuth2 required
|
|
1839
|
-
// oauth required
|
|
1840
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1841
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1842
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1843
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1844
|
-
return {
|
|
1845
|
-
url: toPathString(localVarUrlObj),
|
|
1846
|
-
options: localVarRequestOptions,
|
|
1847
|
-
};
|
|
1848
|
-
},
|
|
1849
|
-
/**
|
|
1850
|
-
*
|
|
1851
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
1852
|
-
* @param {string} username
|
|
1853
|
-
* @param {*} [options] Override http request option.
|
|
1854
|
-
* @throws {RequiredError}
|
|
1855
|
-
*/
|
|
1856
|
-
getPermissionNotifyByUsername: async (username, options = {}) => {
|
|
1857
|
-
// verify required parameter 'username' is not null or undefined
|
|
1858
|
-
assertParamExists("getPermissionNotifyByUsername", "username", username);
|
|
1859
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/notify`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1860
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1861
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1862
|
-
let baseOptions;
|
|
1863
|
-
if (configuration) {
|
|
1864
|
-
baseOptions = configuration.baseOptions;
|
|
1329
|
+
if (take !== undefined) {
|
|
1330
|
+
localVarQueryParameter["take"] = take;
|
|
1331
|
+
}
|
|
1332
|
+
if (cursor !== undefined) {
|
|
1333
|
+
localVarQueryParameter["cursor"] = cursor;
|
|
1334
|
+
}
|
|
1335
|
+
if (collectionSearchField !== undefined) {
|
|
1336
|
+
localVarQueryParameter["collection_search_field"] =
|
|
1337
|
+
collectionSearchField;
|
|
1338
|
+
}
|
|
1339
|
+
if (collectionSearchValue !== undefined) {
|
|
1340
|
+
localVarQueryParameter["collection_search_value"] =
|
|
1341
|
+
collectionSearchValue;
|
|
1342
|
+
}
|
|
1343
|
+
if (sortBy !== undefined) {
|
|
1344
|
+
localVarQueryParameter["sort_by"] = sortBy;
|
|
1345
|
+
}
|
|
1346
|
+
if (sortOrder !== undefined) {
|
|
1347
|
+
localVarQueryParameter["sort_order"] = sortOrder;
|
|
1348
|
+
}
|
|
1349
|
+
if (releaseType !== undefined) {
|
|
1350
|
+
localVarQueryParameter["release_type"] = releaseType;
|
|
1351
|
+
}
|
|
1352
|
+
if (useForTraining !== undefined) {
|
|
1353
|
+
localVarQueryParameter["use_for_training"] = useForTraining;
|
|
1865
1354
|
}
|
|
1866
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
|
|
1867
|
-
const localVarHeaderParameter = {};
|
|
1868
|
-
const localVarQueryParameter = {};
|
|
1869
|
-
// authentication OAuth2 required
|
|
1870
|
-
// oauth required
|
|
1871
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
1872
1355
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1873
1356
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1874
1357
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2268,75 +1751,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2268
1751
|
options: localVarRequestOptions,
|
|
2269
1752
|
};
|
|
2270
1753
|
},
|
|
2271
|
-
/**
|
|
2272
|
-
*
|
|
2273
|
-
* @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.
|
|
2274
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2275
|
-
* @param {*} [options] Override http request option.
|
|
2276
|
-
* @throws {RequiredError}
|
|
2277
|
-
*/
|
|
2278
|
-
putPermissionNotify: async (permissionNotifyBody, options = {}) => {
|
|
2279
|
-
// verify required parameter 'permissionNotifyBody' is not null or undefined
|
|
2280
|
-
assertParamExists("putPermissionNotify", "permissionNotifyBody", permissionNotifyBody);
|
|
2281
|
-
const localVarPath = `/v1/ai/artist/settings/notify`;
|
|
2282
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2283
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2284
|
-
let baseOptions;
|
|
2285
|
-
if (configuration) {
|
|
2286
|
-
baseOptions = configuration.baseOptions;
|
|
2287
|
-
}
|
|
2288
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
2289
|
-
const localVarHeaderParameter = {};
|
|
2290
|
-
const localVarQueryParameter = {};
|
|
2291
|
-
// authentication OAuth2 required
|
|
2292
|
-
// oauth required
|
|
2293
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2294
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2295
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2296
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2297
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2298
|
-
localVarRequestOptions.data = serializeDataIfNeeded(permissionNotifyBody, localVarRequestOptions, configuration);
|
|
2299
|
-
return {
|
|
2300
|
-
url: toPathString(localVarUrlObj),
|
|
2301
|
-
options: localVarRequestOptions,
|
|
2302
|
-
};
|
|
2303
|
-
},
|
|
2304
|
-
/**
|
|
2305
|
-
*
|
|
2306
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
2307
|
-
* @param {string} username
|
|
2308
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2309
|
-
* @param {*} [options] Override http request option.
|
|
2310
|
-
* @throws {RequiredError}
|
|
2311
|
-
*/
|
|
2312
|
-
putPermissionNotifyByUsername: async (username, permissionNotifyBody, options = {}) => {
|
|
2313
|
-
// verify required parameter 'username' is not null or undefined
|
|
2314
|
-
assertParamExists("putPermissionNotifyByUsername", "username", username);
|
|
2315
|
-
// verify required parameter 'permissionNotifyBody' is not null or undefined
|
|
2316
|
-
assertParamExists("putPermissionNotifyByUsername", "permissionNotifyBody", permissionNotifyBody);
|
|
2317
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/notify`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2318
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2319
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2320
|
-
let baseOptions;
|
|
2321
|
-
if (configuration) {
|
|
2322
|
-
baseOptions = configuration.baseOptions;
|
|
2323
|
-
}
|
|
2324
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "PUT" }, baseOptions), options);
|
|
2325
|
-
const localVarHeaderParameter = {};
|
|
2326
|
-
const localVarQueryParameter = {};
|
|
2327
|
-
// authentication OAuth2 required
|
|
2328
|
-
// oauth required
|
|
2329
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2330
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2331
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2332
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2333
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2334
|
-
localVarRequestOptions.data = serializeDataIfNeeded(permissionNotifyBody, localVarRequestOptions, configuration);
|
|
2335
|
-
return {
|
|
2336
|
-
url: toPathString(localVarUrlObj),
|
|
2337
|
-
options: localVarRequestOptions,
|
|
2338
|
-
};
|
|
2339
|
-
},
|
|
2340
1754
|
/**
|
|
2341
1755
|
* 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.
|
|
2342
1756
|
* @summary Reimagine image
|
|
@@ -2415,180 +1829,6 @@ export const SureelApiAxiosParamCreator = function (configuration) {
|
|
|
2415
1829
|
options: localVarRequestOptions,
|
|
2416
1830
|
};
|
|
2417
1831
|
},
|
|
2418
|
-
/**
|
|
2419
|
-
* 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.
|
|
2420
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
2421
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
2422
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2423
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2424
|
-
* @param {*} [options] Override http request option.
|
|
2425
|
-
* @throws {RequiredError}
|
|
2426
|
-
*/
|
|
2427
|
-
saveArtistSettings: async (postArtistSettingsBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2428
|
-
// verify required parameter 'postArtistSettingsBody' is not null or undefined
|
|
2429
|
-
assertParamExists("saveArtistSettings", "postArtistSettingsBody", postArtistSettingsBody);
|
|
2430
|
-
const localVarPath = `/v1/ai/artist/settings/`;
|
|
2431
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2432
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2433
|
-
let baseOptions;
|
|
2434
|
-
if (configuration) {
|
|
2435
|
-
baseOptions = configuration.baseOptions;
|
|
2436
|
-
}
|
|
2437
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2438
|
-
const localVarHeaderParameter = {};
|
|
2439
|
-
const localVarQueryParameter = {};
|
|
2440
|
-
// authentication OAuth2 required
|
|
2441
|
-
// oauth required
|
|
2442
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2443
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2444
|
-
if (ifMatch != null) {
|
|
2445
|
-
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2446
|
-
}
|
|
2447
|
-
if (idempotencyKey != null) {
|
|
2448
|
-
localVarHeaderParameter["idempotency-key"] =
|
|
2449
|
-
String(idempotencyKey);
|
|
2450
|
-
}
|
|
2451
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2452
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2453
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2454
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postArtistSettingsBody, localVarRequestOptions, configuration);
|
|
2455
|
-
return {
|
|
2456
|
-
url: toPathString(localVarUrlObj),
|
|
2457
|
-
options: localVarRequestOptions,
|
|
2458
|
-
};
|
|
2459
|
-
},
|
|
2460
|
-
/**
|
|
2461
|
-
* 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.
|
|
2462
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
2463
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
2464
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
2465
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2466
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2467
|
-
* @param {*} [options] Override http request option.
|
|
2468
|
-
* @throws {RequiredError}
|
|
2469
|
-
*/
|
|
2470
|
-
saveArtistSettingsByUsername: async (username, postArtistSettingsBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2471
|
-
// verify required parameter 'username' is not null or undefined
|
|
2472
|
-
assertParamExists("saveArtistSettingsByUsername", "username", username);
|
|
2473
|
-
// verify required parameter 'postArtistSettingsBody' is not null or undefined
|
|
2474
|
-
assertParamExists("saveArtistSettingsByUsername", "postArtistSettingsBody", postArtistSettingsBody);
|
|
2475
|
-
const localVarPath = `/v1/ai/artist/{username}/settings`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2476
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2477
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2478
|
-
let baseOptions;
|
|
2479
|
-
if (configuration) {
|
|
2480
|
-
baseOptions = configuration.baseOptions;
|
|
2481
|
-
}
|
|
2482
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2483
|
-
const localVarHeaderParameter = {};
|
|
2484
|
-
const localVarQueryParameter = {};
|
|
2485
|
-
// authentication OAuth2 required
|
|
2486
|
-
// oauth required
|
|
2487
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2488
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2489
|
-
if (ifMatch != null) {
|
|
2490
|
-
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2491
|
-
}
|
|
2492
|
-
if (idempotencyKey != null) {
|
|
2493
|
-
localVarHeaderParameter["idempotency-key"] =
|
|
2494
|
-
String(idempotencyKey);
|
|
2495
|
-
}
|
|
2496
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2497
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2498
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2499
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postArtistSettingsBody, localVarRequestOptions, configuration);
|
|
2500
|
-
return {
|
|
2501
|
-
url: toPathString(localVarUrlObj),
|
|
2502
|
-
options: localVarRequestOptions,
|
|
2503
|
-
};
|
|
2504
|
-
},
|
|
2505
|
-
/**
|
|
2506
|
-
* 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.
|
|
2507
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
2508
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2509
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2510
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2511
|
-
* @param {*} [options] Override http request option.
|
|
2512
|
-
* @throws {RequiredError}
|
|
2513
|
-
*/
|
|
2514
|
-
saveMusicConsent: async (postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2515
|
-
// verify required parameter 'postMusicConsentBody' is not null or undefined
|
|
2516
|
-
assertParamExists("saveMusicConsent", "postMusicConsentBody", postMusicConsentBody);
|
|
2517
|
-
const localVarPath = `/v1/ai/artist/settings/music`;
|
|
2518
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2519
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2520
|
-
let baseOptions;
|
|
2521
|
-
if (configuration) {
|
|
2522
|
-
baseOptions = configuration.baseOptions;
|
|
2523
|
-
}
|
|
2524
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2525
|
-
const localVarHeaderParameter = {};
|
|
2526
|
-
const localVarQueryParameter = {};
|
|
2527
|
-
// authentication OAuth2 required
|
|
2528
|
-
// oauth required
|
|
2529
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2530
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2531
|
-
if (ifMatch != null) {
|
|
2532
|
-
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2533
|
-
}
|
|
2534
|
-
if (idempotencyKey != null) {
|
|
2535
|
-
localVarHeaderParameter["idempotency-key"] =
|
|
2536
|
-
String(idempotencyKey);
|
|
2537
|
-
}
|
|
2538
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2539
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2540
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2541
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postMusicConsentBody, localVarRequestOptions, configuration);
|
|
2542
|
-
return {
|
|
2543
|
-
url: toPathString(localVarUrlObj),
|
|
2544
|
-
options: localVarRequestOptions,
|
|
2545
|
-
};
|
|
2546
|
-
},
|
|
2547
|
-
/**
|
|
2548
|
-
* 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.
|
|
2549
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
2550
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
2551
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2552
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2553
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2554
|
-
* @param {*} [options] Override http request option.
|
|
2555
|
-
* @throws {RequiredError}
|
|
2556
|
-
*/
|
|
2557
|
-
saveMusicConsentByUsername: async (username, postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
|
|
2558
|
-
// verify required parameter 'username' is not null or undefined
|
|
2559
|
-
assertParamExists("saveMusicConsentByUsername", "username", username);
|
|
2560
|
-
// verify required parameter 'postMusicConsentBody' is not null or undefined
|
|
2561
|
-
assertParamExists("saveMusicConsentByUsername", "postMusicConsentBody", postMusicConsentBody);
|
|
2562
|
-
const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2563
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2564
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2565
|
-
let baseOptions;
|
|
2566
|
-
if (configuration) {
|
|
2567
|
-
baseOptions = configuration.baseOptions;
|
|
2568
|
-
}
|
|
2569
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
|
|
2570
|
-
const localVarHeaderParameter = {};
|
|
2571
|
-
const localVarQueryParameter = {};
|
|
2572
|
-
// authentication OAuth2 required
|
|
2573
|
-
// oauth required
|
|
2574
|
-
await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
|
|
2575
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2576
|
-
if (ifMatch != null) {
|
|
2577
|
-
localVarHeaderParameter["if-match"] = String(ifMatch);
|
|
2578
|
-
}
|
|
2579
|
-
if (idempotencyKey != null) {
|
|
2580
|
-
localVarHeaderParameter["idempotency-key"] =
|
|
2581
|
-
String(idempotencyKey);
|
|
2582
|
-
}
|
|
2583
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2584
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2585
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2586
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postMusicConsentBody, localVarRequestOptions, configuration);
|
|
2587
|
-
return {
|
|
2588
|
-
url: toPathString(localVarUrlObj),
|
|
2589
|
-
options: localVarRequestOptions,
|
|
2590
|
-
};
|
|
2591
|
-
},
|
|
2592
1832
|
/**
|
|
2593
1833
|
* 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.
|
|
2594
1834
|
* @summary Set filepaths for a collection
|
|
@@ -3123,6 +2363,7 @@ export const SureelApiFp = function (configuration) {
|
|
|
3123
2363
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
3124
2364
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
3125
2365
|
* @param {*} [options] Override http request option.
|
|
2366
|
+
* @deprecated
|
|
3126
2367
|
* @throws {RequiredError}
|
|
3127
2368
|
*/
|
|
3128
2369
|
async aiDetection(contentType, postDetectAIGeneratedAudioBody, options) {
|
|
@@ -3320,126 +2561,39 @@ export const SureelApiFp = function (configuration) {
|
|
|
3320
2561
|
* @param {*} [options] Override http request option.
|
|
3321
2562
|
* @throws {RequiredError}
|
|
3322
2563
|
*/
|
|
3323
|
-
async createCoverArt(contentType, coverArtRequest, options) {
|
|
3324
|
-
var _a, _b, _c;
|
|
3325
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createCoverArt(contentType, coverArtRequest, options);
|
|
3326
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3327
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.createCoverArt"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3328
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3329
|
-
},
|
|
3330
|
-
/**
|
|
3331
|
-
* 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.
|
|
3332
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
3333
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
3334
|
-
* @param {*} [options] Override http request option.
|
|
3335
|
-
* @throws {RequiredError}
|
|
3336
|
-
*/
|
|
3337
|
-
async createNilAssetUploadUrl(createNilAssetUploadUrlBody, options) {
|
|
3338
|
-
var _a, _b, _c;
|
|
3339
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createNilAssetUploadUrl(createNilAssetUploadUrlBody, options);
|
|
3340
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3341
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.createNilAssetUploadUrl"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3342
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3343
|
-
},
|
|
3344
|
-
/**
|
|
3345
|
-
* 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.
|
|
3346
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
3347
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3348
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
3349
|
-
* @param {*} [options] Override http request option.
|
|
3350
|
-
* @throws {RequiredError}
|
|
3351
|
-
*/
|
|
3352
|
-
async createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options) {
|
|
3353
|
-
var _a, _b, _c;
|
|
3354
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options);
|
|
3355
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3356
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.createNilAssetUploadUrlByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3357
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3358
|
-
},
|
|
3359
|
-
/**
|
|
3360
|
-
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
3361
|
-
* @summary Delete collection
|
|
3362
|
-
* @param {string} collectionUuid
|
|
3363
|
-
* @param {*} [options] Override http request option.
|
|
3364
|
-
* @throws {RequiredError}
|
|
3365
|
-
*/
|
|
3366
|
-
async deleteCollection(collectionUuid, options) {
|
|
3367
|
-
var _a, _b, _c;
|
|
3368
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCollection(collectionUuid, options);
|
|
3369
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3370
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.deleteCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3371
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3372
|
-
},
|
|
3373
|
-
/**
|
|
3374
|
-
* Delete prompt and images by request ID.
|
|
3375
|
-
* @summary Delete LDM request
|
|
3376
|
-
* @param {string} requestId
|
|
3377
|
-
* @param {*} [options] Override http request option.
|
|
3378
|
-
* @throws {RequiredError}
|
|
3379
|
-
*/
|
|
3380
|
-
async deleteRequestById(requestId, options) {
|
|
3381
|
-
var _a, _b, _c;
|
|
3382
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRequestById(requestId, options);
|
|
3383
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3384
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.deleteRequestById"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3385
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3386
|
-
},
|
|
3387
|
-
/**
|
|
3388
|
-
*
|
|
3389
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
3390
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
3391
|
-
* @param {*} [options] Override http request option.
|
|
3392
|
-
* @throws {RequiredError}
|
|
3393
|
-
*/
|
|
3394
|
-
async evaluateArtistSettings(evaluateArtistSettingsBody, options) {
|
|
3395
|
-
var _a, _b, _c;
|
|
3396
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateArtistSettings(evaluateArtistSettingsBody, options);
|
|
3397
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3398
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.evaluateArtistSettings"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3399
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3400
|
-
},
|
|
3401
|
-
/**
|
|
3402
|
-
*
|
|
3403
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
3404
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3405
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
3406
|
-
* @param {*} [options] Override http request option.
|
|
3407
|
-
* @throws {RequiredError}
|
|
3408
|
-
*/
|
|
3409
|
-
async evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options) {
|
|
2564
|
+
async createCoverArt(contentType, coverArtRequest, options) {
|
|
3410
2565
|
var _a, _b, _c;
|
|
3411
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2566
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCoverArt(contentType, coverArtRequest, options);
|
|
3412
2567
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3413
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.
|
|
2568
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.createCoverArt"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3414
2569
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3415
2570
|
},
|
|
3416
2571
|
/**
|
|
3417
|
-
*
|
|
3418
|
-
* @summary
|
|
3419
|
-
* @param {
|
|
2572
|
+
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
2573
|
+
* @summary Delete collection
|
|
2574
|
+
* @param {string} collectionUuid
|
|
3420
2575
|
* @param {*} [options] Override http request option.
|
|
3421
2576
|
* @throws {RequiredError}
|
|
3422
2577
|
*/
|
|
3423
|
-
async
|
|
2578
|
+
async deleteCollection(collectionUuid, options) {
|
|
3424
2579
|
var _a, _b, _c;
|
|
3425
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2580
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCollection(collectionUuid, options);
|
|
3426
2581
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3427
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.
|
|
2582
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.deleteCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3428
2583
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3429
2584
|
},
|
|
3430
2585
|
/**
|
|
3431
|
-
*
|
|
3432
|
-
* @summary
|
|
3433
|
-
* @param {string}
|
|
3434
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
2586
|
+
* Delete prompt and images by request ID.
|
|
2587
|
+
* @summary Delete LDM request
|
|
2588
|
+
* @param {string} requestId
|
|
3435
2589
|
* @param {*} [options] Override http request option.
|
|
3436
2590
|
* @throws {RequiredError}
|
|
3437
2591
|
*/
|
|
3438
|
-
async
|
|
2592
|
+
async deleteRequestById(requestId, options) {
|
|
3439
2593
|
var _a, _b, _c;
|
|
3440
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2594
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRequestById(requestId, options);
|
|
3441
2595
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3442
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.
|
|
2596
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.deleteRequestById"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3443
2597
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3444
2598
|
},
|
|
3445
2599
|
/**
|
|
@@ -3593,35 +2747,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
3593
2747
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getArtistByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3594
2748
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3595
2749
|
},
|
|
3596
|
-
/**
|
|
3597
|
-
*
|
|
3598
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
3599
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3600
|
-
* @param {*} [options] Override http request option.
|
|
3601
|
-
* @throws {RequiredError}
|
|
3602
|
-
*/
|
|
3603
|
-
async getArtistSettings(version, options) {
|
|
3604
|
-
var _a, _b, _c;
|
|
3605
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistSettings(version, options);
|
|
3606
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3607
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getArtistSettings"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3608
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3609
|
-
},
|
|
3610
|
-
/**
|
|
3611
|
-
*
|
|
3612
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
3613
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3614
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3615
|
-
* @param {*} [options] Override http request option.
|
|
3616
|
-
* @throws {RequiredError}
|
|
3617
|
-
*/
|
|
3618
|
-
async getArtistSettingsByUsername(username, version, options) {
|
|
3619
|
-
var _a, _b, _c;
|
|
3620
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistSettingsByUsername(username, version, options);
|
|
3621
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3622
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3623
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3624
|
-
},
|
|
3625
2750
|
/**
|
|
3626
2751
|
* Retrieve asset metadata by using fileId.
|
|
3627
2752
|
* @summary Get asset metadata
|
|
@@ -3687,82 +2812,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
3687
2812
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getCustomerData"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3688
2813
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3689
2814
|
},
|
|
3690
|
-
/**
|
|
3691
|
-
*
|
|
3692
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
3693
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3694
|
-
* @param {*} [options] Override http request option.
|
|
3695
|
-
* @throws {RequiredError}
|
|
3696
|
-
*/
|
|
3697
|
-
async getMusicConsent(version, options) {
|
|
3698
|
-
var _a, _b, _c;
|
|
3699
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsent(version, options);
|
|
3700
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3701
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3702
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3703
|
-
},
|
|
3704
|
-
/**
|
|
3705
|
-
*
|
|
3706
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
3707
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
3708
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3709
|
-
* @param {*} [options] Override http request option.
|
|
3710
|
-
* @throws {RequiredError}
|
|
3711
|
-
*/
|
|
3712
|
-
async getMusicConsentByUsername(username, version, options) {
|
|
3713
|
-
var _a, _b, _c;
|
|
3714
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsentByUsername(username, version, options);
|
|
3715
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3716
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3717
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3718
|
-
},
|
|
3719
|
-
/**
|
|
3720
|
-
* 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.
|
|
3721
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
3722
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
3723
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
3724
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3725
|
-
* @param {*} [options] Override http request option.
|
|
3726
|
-
* @throws {RequiredError}
|
|
3727
|
-
*/
|
|
3728
|
-
async getNilAssetThumbnail(assetId, size, v, options) {
|
|
3729
|
-
var _a, _b, _c;
|
|
3730
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getNilAssetThumbnail(assetId, size, v, options);
|
|
3731
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3732
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getNilAssetThumbnail"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3733
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3734
|
-
},
|
|
3735
|
-
/**
|
|
3736
|
-
* 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.
|
|
3737
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
3738
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3739
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
3740
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
3741
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3742
|
-
* @param {*} [options] Override http request option.
|
|
3743
|
-
* @throws {RequiredError}
|
|
3744
|
-
*/
|
|
3745
|
-
async getNilAssetThumbnailByUsername(username, assetId, size, v, options) {
|
|
3746
|
-
var _a, _b, _c;
|
|
3747
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getNilAssetThumbnailByUsername(username, assetId, size, v, options);
|
|
3748
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3749
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getNilAssetThumbnailByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3750
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3751
|
-
},
|
|
3752
|
-
/**
|
|
3753
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
3754
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
3755
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
3756
|
-
* @param {*} [options] Override http request option.
|
|
3757
|
-
* @throws {RequiredError}
|
|
3758
|
-
*/
|
|
3759
|
-
async getNilIngestionStatus(requestId, options) {
|
|
3760
|
-
var _a, _b, _c;
|
|
3761
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getNilIngestionStatus(requestId, options);
|
|
3762
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3763
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getNilIngestionStatus"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3764
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3765
|
-
},
|
|
3766
2815
|
/**
|
|
3767
2816
|
* Get all collections that are opted-out.
|
|
3768
2817
|
* @summary Get opted-out collections
|
|
@@ -3802,33 +2851,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
3802
2851
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getOwnCollections"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3803
2852
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3804
2853
|
},
|
|
3805
|
-
/**
|
|
3806
|
-
*
|
|
3807
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
3808
|
-
* @param {*} [options] Override http request option.
|
|
3809
|
-
* @throws {RequiredError}
|
|
3810
|
-
*/
|
|
3811
|
-
async getPermissionNotify(options) {
|
|
3812
|
-
var _a, _b, _c;
|
|
3813
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissionNotify(options);
|
|
3814
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3815
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getPermissionNotify"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3816
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3817
|
-
},
|
|
3818
|
-
/**
|
|
3819
|
-
*
|
|
3820
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
3821
|
-
* @param {string} username
|
|
3822
|
-
* @param {*} [options] Override http request option.
|
|
3823
|
-
* @throws {RequiredError}
|
|
3824
|
-
*/
|
|
3825
|
-
async getPermissionNotifyByUsername(username, options) {
|
|
3826
|
-
var _a, _b, _c;
|
|
3827
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissionNotifyByUsername(username, options);
|
|
3828
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3829
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getPermissionNotifyByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3830
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3831
|
-
},
|
|
3832
2854
|
/**
|
|
3833
2855
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
3834
2856
|
* @summary Prompt history
|
|
@@ -3981,35 +3003,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
3981
3003
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.optOutAnalysis"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3982
3004
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3983
3005
|
},
|
|
3984
|
-
/**
|
|
3985
|
-
*
|
|
3986
|
-
* @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.
|
|
3987
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
3988
|
-
* @param {*} [options] Override http request option.
|
|
3989
|
-
* @throws {RequiredError}
|
|
3990
|
-
*/
|
|
3991
|
-
async putPermissionNotify(permissionNotifyBody, options) {
|
|
3992
|
-
var _a, _b, _c;
|
|
3993
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putPermissionNotify(permissionNotifyBody, options);
|
|
3994
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3995
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.putPermissionNotify"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3996
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3997
|
-
},
|
|
3998
|
-
/**
|
|
3999
|
-
*
|
|
4000
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
4001
|
-
* @param {string} username
|
|
4002
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
4003
|
-
* @param {*} [options] Override http request option.
|
|
4004
|
-
* @throws {RequiredError}
|
|
4005
|
-
*/
|
|
4006
|
-
async putPermissionNotifyByUsername(username, permissionNotifyBody, options) {
|
|
4007
|
-
var _a, _b, _c;
|
|
4008
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.putPermissionNotifyByUsername(username, permissionNotifyBody, options);
|
|
4009
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4010
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.putPermissionNotifyByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4011
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4012
|
-
},
|
|
4013
3006
|
/**
|
|
4014
3007
|
* 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.
|
|
4015
3008
|
* @summary Reimagine image
|
|
@@ -4040,72 +3033,6 @@ export const SureelApiFp = function (configuration) {
|
|
|
4040
3033
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.removeBackground"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4041
3034
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4042
3035
|
},
|
|
4043
|
-
/**
|
|
4044
|
-
* 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.
|
|
4045
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
4046
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
4047
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4048
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4049
|
-
* @param {*} [options] Override http request option.
|
|
4050
|
-
* @throws {RequiredError}
|
|
4051
|
-
*/
|
|
4052
|
-
async saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
4053
|
-
var _a, _b, _c;
|
|
4054
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options);
|
|
4055
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4056
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveArtistSettings"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4057
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4058
|
-
},
|
|
4059
|
-
/**
|
|
4060
|
-
* 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.
|
|
4061
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
4062
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
4063
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
4064
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4065
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4066
|
-
* @param {*} [options] Override http request option.
|
|
4067
|
-
* @throws {RequiredError}
|
|
4068
|
-
*/
|
|
4069
|
-
async saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
4070
|
-
var _a, _b, _c;
|
|
4071
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options);
|
|
4072
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4073
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4074
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4075
|
-
},
|
|
4076
|
-
/**
|
|
4077
|
-
* 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.
|
|
4078
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
4079
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
4080
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4081
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4082
|
-
* @param {*} [options] Override http request option.
|
|
4083
|
-
* @throws {RequiredError}
|
|
4084
|
-
*/
|
|
4085
|
-
async saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
4086
|
-
var _a, _b, _c;
|
|
4087
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options);
|
|
4088
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4089
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4090
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4091
|
-
},
|
|
4092
|
-
/**
|
|
4093
|
-
* 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.
|
|
4094
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
4095
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
4096
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
4097
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
4098
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
4099
|
-
* @param {*} [options] Override http request option.
|
|
4100
|
-
* @throws {RequiredError}
|
|
4101
|
-
*/
|
|
4102
|
-
async saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
4103
|
-
var _a, _b, _c;
|
|
4104
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options);
|
|
4105
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4106
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4107
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4108
|
-
},
|
|
4109
3036
|
/**
|
|
4110
3037
|
* 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.
|
|
4111
3038
|
* @summary Set filepaths for a collection
|
|
@@ -4329,6 +3256,7 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4329
3256
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
4330
3257
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
4331
3258
|
* @param {*} [options] Override http request option.
|
|
3259
|
+
* @deprecated
|
|
4332
3260
|
* @throws {RequiredError}
|
|
4333
3261
|
*/
|
|
4334
3262
|
aiDetection(contentType, postDetectAIGeneratedAudioBody, options) {
|
|
@@ -4505,31 +3433,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4505
3433
|
.createCoverArt(contentType, coverArtRequest, options)
|
|
4506
3434
|
.then((request) => request(axios, basePath));
|
|
4507
3435
|
},
|
|
4508
|
-
/**
|
|
4509
|
-
* 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.
|
|
4510
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
4511
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
4512
|
-
* @param {*} [options] Override http request option.
|
|
4513
|
-
* @throws {RequiredError}
|
|
4514
|
-
*/
|
|
4515
|
-
createNilAssetUploadUrl(createNilAssetUploadUrlBody, options) {
|
|
4516
|
-
return localVarFp
|
|
4517
|
-
.createNilAssetUploadUrl(createNilAssetUploadUrlBody, options)
|
|
4518
|
-
.then((request) => request(axios, basePath));
|
|
4519
|
-
},
|
|
4520
|
-
/**
|
|
4521
|
-
* 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.
|
|
4522
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
4523
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
4524
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
4525
|
-
* @param {*} [options] Override http request option.
|
|
4526
|
-
* @throws {RequiredError}
|
|
4527
|
-
*/
|
|
4528
|
-
createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options) {
|
|
4529
|
-
return localVarFp
|
|
4530
|
-
.createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options)
|
|
4531
|
-
.then((request) => request(axios, basePath));
|
|
4532
|
-
},
|
|
4533
3436
|
/**
|
|
4534
3437
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
4535
3438
|
* @summary Delete collection
|
|
@@ -4554,56 +3457,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4554
3457
|
.deleteRequestById(requestId, options)
|
|
4555
3458
|
.then((request) => request(axios, basePath));
|
|
4556
3459
|
},
|
|
4557
|
-
/**
|
|
4558
|
-
*
|
|
4559
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
4560
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
4561
|
-
* @param {*} [options] Override http request option.
|
|
4562
|
-
* @throws {RequiredError}
|
|
4563
|
-
*/
|
|
4564
|
-
evaluateArtistSettings(evaluateArtistSettingsBody, options) {
|
|
4565
|
-
return localVarFp
|
|
4566
|
-
.evaluateArtistSettings(evaluateArtistSettingsBody, options)
|
|
4567
|
-
.then((request) => request(axios, basePath));
|
|
4568
|
-
},
|
|
4569
|
-
/**
|
|
4570
|
-
*
|
|
4571
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
4572
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
4573
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
4574
|
-
* @param {*} [options] Override http request option.
|
|
4575
|
-
* @throws {RequiredError}
|
|
4576
|
-
*/
|
|
4577
|
-
evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options) {
|
|
4578
|
-
return localVarFp
|
|
4579
|
-
.evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
|
|
4580
|
-
.then((request) => request(axios, basePath));
|
|
4581
|
-
},
|
|
4582
|
-
/**
|
|
4583
|
-
*
|
|
4584
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
4585
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
4586
|
-
* @param {*} [options] Override http request option.
|
|
4587
|
-
* @throws {RequiredError}
|
|
4588
|
-
*/
|
|
4589
|
-
evaluateMusicConsent(evaluateMusicConsentBody, options) {
|
|
4590
|
-
return localVarFp
|
|
4591
|
-
.evaluateMusicConsent(evaluateMusicConsentBody, options)
|
|
4592
|
-
.then((request) => request(axios, basePath));
|
|
4593
|
-
},
|
|
4594
|
-
/**
|
|
4595
|
-
*
|
|
4596
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
4597
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
4598
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
4599
|
-
* @param {*} [options] Override http request option.
|
|
4600
|
-
* @throws {RequiredError}
|
|
4601
|
-
*/
|
|
4602
|
-
evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
|
|
4603
|
-
return localVarFp
|
|
4604
|
-
.evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
|
|
4605
|
-
.then((request) => request(axios, basePath));
|
|
4606
|
-
},
|
|
4607
3460
|
/**
|
|
4608
3461
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
4609
3462
|
* @summary Face swap
|
|
@@ -4737,152 +3590,61 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4737
3590
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
4738
3591
|
.then((request) => request(axios, basePath));
|
|
4739
3592
|
},
|
|
4740
|
-
/**
|
|
4741
|
-
*
|
|
4742
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
4743
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4744
|
-
* @param {*} [options] Override http request option.
|
|
4745
|
-
* @throws {RequiredError}
|
|
4746
|
-
*/
|
|
4747
|
-
getArtistSettings(version, options) {
|
|
4748
|
-
return localVarFp
|
|
4749
|
-
.getArtistSettings(version, options)
|
|
4750
|
-
.then((request) => request(axios, basePath));
|
|
4751
|
-
},
|
|
4752
|
-
/**
|
|
4753
|
-
*
|
|
4754
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
4755
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
4756
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4757
|
-
* @param {*} [options] Override http request option.
|
|
4758
|
-
* @throws {RequiredError}
|
|
4759
|
-
*/
|
|
4760
|
-
getArtistSettingsByUsername(username, version, options) {
|
|
4761
|
-
return localVarFp
|
|
4762
|
-
.getArtistSettingsByUsername(username, version, options)
|
|
4763
|
-
.then((request) => request(axios, basePath));
|
|
4764
|
-
},
|
|
4765
3593
|
/**
|
|
4766
3594
|
* Retrieve asset metadata by using fileId.
|
|
4767
|
-
* @summary Get asset metadata
|
|
4768
|
-
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
4769
|
-
* @param {*} [options] Override http request option.
|
|
4770
|
-
* @throws {RequiredError}
|
|
4771
|
-
*/
|
|
4772
|
-
getAssetMetadata(fileId, options) {
|
|
4773
|
-
return localVarFp
|
|
4774
|
-
.getAssetMetadata(fileId, options)
|
|
4775
|
-
.then((request) => request(axios, basePath));
|
|
4776
|
-
},
|
|
4777
|
-
/**
|
|
4778
|
-
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
4779
|
-
* @summary Audio LDM request results
|
|
4780
|
-
* @param {string} requestId
|
|
4781
|
-
* @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.
|
|
4782
|
-
* @param {*} [options] Override http request option.
|
|
4783
|
-
* @throws {RequiredError}
|
|
4784
|
-
*/
|
|
4785
|
-
getAudioLdmResults(requestId, topNAttributionResults, options) {
|
|
4786
|
-
return localVarFp
|
|
4787
|
-
.getAudioLdmResults(requestId, topNAttributionResults, options)
|
|
4788
|
-
.then((request) => request(axios, basePath));
|
|
4789
|
-
},
|
|
4790
|
-
/**
|
|
4791
|
-
* Retrieve a collection including lyrics and stems if already extracted.
|
|
4792
|
-
* @summary Get collection (with lyrics and stems)
|
|
4793
|
-
* @param {string} collectionUuid
|
|
4794
|
-
* @param {*} [options] Override http request option.
|
|
4795
|
-
* @throws {RequiredError}
|
|
4796
|
-
*/
|
|
4797
|
-
getCollection(collectionUuid, options) {
|
|
4798
|
-
return localVarFp
|
|
4799
|
-
.getCollection(collectionUuid, options)
|
|
4800
|
-
.then((request) => request(axios, basePath));
|
|
4801
|
-
},
|
|
4802
|
-
/**
|
|
4803
|
-
* 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.
|
|
4804
|
-
* @summary Get profile data by label name
|
|
4805
|
-
* @param {string} labelName
|
|
4806
|
-
* @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.
|
|
4807
|
-
* @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.
|
|
4808
|
-
* @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.
|
|
4809
|
-
* @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.
|
|
4810
|
-
* @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.
|
|
4811
|
-
* @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.
|
|
4812
|
-
* @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.
|
|
4813
|
-
* @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.
|
|
4814
|
-
* @param {*} [options] Override http request option.
|
|
4815
|
-
* @throws {RequiredError}
|
|
4816
|
-
*/
|
|
4817
|
-
getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options) {
|
|
4818
|
-
return localVarFp
|
|
4819
|
-
.getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options)
|
|
4820
|
-
.then((request) => request(axios, basePath));
|
|
4821
|
-
},
|
|
4822
|
-
/**
|
|
4823
|
-
*
|
|
4824
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
4825
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
4826
|
-
* @param {*} [options] Override http request option.
|
|
4827
|
-
* @throws {RequiredError}
|
|
4828
|
-
*/
|
|
4829
|
-
getMusicConsent(version, options) {
|
|
4830
|
-
return localVarFp
|
|
4831
|
-
.getMusicConsent(version, options)
|
|
4832
|
-
.then((request) => request(axios, basePath));
|
|
4833
|
-
},
|
|
4834
|
-
/**
|
|
4835
|
-
*
|
|
4836
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
4837
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
4838
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3595
|
+
* @summary Get asset metadata
|
|
3596
|
+
* @param {string} fileId File ID is use to get the metadata of the file.
|
|
4839
3597
|
* @param {*} [options] Override http request option.
|
|
4840
3598
|
* @throws {RequiredError}
|
|
4841
3599
|
*/
|
|
4842
|
-
|
|
3600
|
+
getAssetMetadata(fileId, options) {
|
|
4843
3601
|
return localVarFp
|
|
4844
|
-
.
|
|
3602
|
+
.getAssetMetadata(fileId, options)
|
|
4845
3603
|
.then((request) => request(axios, basePath));
|
|
4846
3604
|
},
|
|
4847
3605
|
/**
|
|
4848
|
-
*
|
|
4849
|
-
* @summary
|
|
4850
|
-
* @param {string}
|
|
4851
|
-
* @param {
|
|
4852
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3606
|
+
* Get the result for a queued Audio LDM request by providing the corresponding `requestId` obtained from other Audio LDM endpoints.
|
|
3607
|
+
* @summary Audio LDM request results
|
|
3608
|
+
* @param {string} requestId
|
|
3609
|
+
* @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.
|
|
4853
3610
|
* @param {*} [options] Override http request option.
|
|
4854
3611
|
* @throws {RequiredError}
|
|
4855
3612
|
*/
|
|
4856
|
-
|
|
3613
|
+
getAudioLdmResults(requestId, topNAttributionResults, options) {
|
|
4857
3614
|
return localVarFp
|
|
4858
|
-
.
|
|
3615
|
+
.getAudioLdmResults(requestId, topNAttributionResults, options)
|
|
4859
3616
|
.then((request) => request(axios, basePath));
|
|
4860
3617
|
},
|
|
4861
3618
|
/**
|
|
4862
|
-
*
|
|
4863
|
-
* @summary Get
|
|
4864
|
-
* @param {string}
|
|
4865
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
4866
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
4867
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3619
|
+
* Retrieve a collection including lyrics and stems if already extracted.
|
|
3620
|
+
* @summary Get collection (with lyrics and stems)
|
|
3621
|
+
* @param {string} collectionUuid
|
|
4868
3622
|
* @param {*} [options] Override http request option.
|
|
4869
3623
|
* @throws {RequiredError}
|
|
4870
3624
|
*/
|
|
4871
|
-
|
|
3625
|
+
getCollection(collectionUuid, options) {
|
|
4872
3626
|
return localVarFp
|
|
4873
|
-
.
|
|
3627
|
+
.getCollection(collectionUuid, options)
|
|
4874
3628
|
.then((request) => request(axios, basePath));
|
|
4875
3629
|
},
|
|
4876
3630
|
/**
|
|
4877
|
-
*
|
|
4878
|
-
* @summary
|
|
4879
|
-
* @param {string}
|
|
3631
|
+
* 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.
|
|
3632
|
+
* @summary Get profile data by label name
|
|
3633
|
+
* @param {string} labelName
|
|
3634
|
+
* @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.
|
|
3635
|
+
* @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.
|
|
3636
|
+
* @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.
|
|
3637
|
+
* @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.
|
|
3638
|
+
* @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.
|
|
3639
|
+
* @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.
|
|
3640
|
+
* @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.
|
|
3641
|
+
* @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.
|
|
4880
3642
|
* @param {*} [options] Override http request option.
|
|
4881
3643
|
* @throws {RequiredError}
|
|
4882
3644
|
*/
|
|
4883
|
-
|
|
3645
|
+
getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options) {
|
|
4884
3646
|
return localVarFp
|
|
4885
|
-
.
|
|
3647
|
+
.getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options)
|
|
4886
3648
|
.then((request) => request(axios, basePath));
|
|
4887
3649
|
},
|
|
4888
3650
|
/**
|
|
@@ -4920,29 +3682,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
4920
3682
|
.getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
4921
3683
|
.then((request) => request(axios, basePath));
|
|
4922
3684
|
},
|
|
4923
|
-
/**
|
|
4924
|
-
*
|
|
4925
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
4926
|
-
* @param {*} [options] Override http request option.
|
|
4927
|
-
* @throws {RequiredError}
|
|
4928
|
-
*/
|
|
4929
|
-
getPermissionNotify(options) {
|
|
4930
|
-
return localVarFp
|
|
4931
|
-
.getPermissionNotify(options)
|
|
4932
|
-
.then((request) => request(axios, basePath));
|
|
4933
|
-
},
|
|
4934
|
-
/**
|
|
4935
|
-
*
|
|
4936
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
4937
|
-
* @param {string} username
|
|
4938
|
-
* @param {*} [options] Override http request option.
|
|
4939
|
-
* @throws {RequiredError}
|
|
4940
|
-
*/
|
|
4941
|
-
getPermissionNotifyByUsername(username, options) {
|
|
4942
|
-
return localVarFp
|
|
4943
|
-
.getPermissionNotifyByUsername(username, options)
|
|
4944
|
-
.then((request) => request(axios, basePath));
|
|
4945
|
-
},
|
|
4946
3685
|
/**
|
|
4947
3686
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
4948
3687
|
* @summary Prompt history
|
|
@@ -5075,31 +3814,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
5075
3814
|
.optOutAnalysis(contentType, postOptOutAnalysisBody, options)
|
|
5076
3815
|
.then((request) => request(axios, basePath));
|
|
5077
3816
|
},
|
|
5078
|
-
/**
|
|
5079
|
-
*
|
|
5080
|
-
* @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.
|
|
5081
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
5082
|
-
* @param {*} [options] Override http request option.
|
|
5083
|
-
* @throws {RequiredError}
|
|
5084
|
-
*/
|
|
5085
|
-
putPermissionNotify(permissionNotifyBody, options) {
|
|
5086
|
-
return localVarFp
|
|
5087
|
-
.putPermissionNotify(permissionNotifyBody, options)
|
|
5088
|
-
.then((request) => request(axios, basePath));
|
|
5089
|
-
},
|
|
5090
|
-
/**
|
|
5091
|
-
*
|
|
5092
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
5093
|
-
* @param {string} username
|
|
5094
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
5095
|
-
* @param {*} [options] Override http request option.
|
|
5096
|
-
* @throws {RequiredError}
|
|
5097
|
-
*/
|
|
5098
|
-
putPermissionNotifyByUsername(username, permissionNotifyBody, options) {
|
|
5099
|
-
return localVarFp
|
|
5100
|
-
.putPermissionNotifyByUsername(username, permissionNotifyBody, options)
|
|
5101
|
-
.then((request) => request(axios, basePath));
|
|
5102
|
-
},
|
|
5103
3817
|
/**
|
|
5104
3818
|
* 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.
|
|
5105
3819
|
* @summary Reimagine image
|
|
@@ -5126,64 +3840,6 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
|
|
|
5126
3840
|
.removeBackground(contentType, removeBackgroundRequest, options)
|
|
5127
3841
|
.then((request) => request(axios, basePath));
|
|
5128
3842
|
},
|
|
5129
|
-
/**
|
|
5130
|
-
* 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.
|
|
5131
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
5132
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
5133
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5134
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5135
|
-
* @param {*} [options] Override http request option.
|
|
5136
|
-
* @throws {RequiredError}
|
|
5137
|
-
*/
|
|
5138
|
-
saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
5139
|
-
return localVarFp
|
|
5140
|
-
.saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
5141
|
-
.then((request) => request(axios, basePath));
|
|
5142
|
-
},
|
|
5143
|
-
/**
|
|
5144
|
-
* 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.
|
|
5145
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
5146
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5147
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
5148
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5149
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5150
|
-
* @param {*} [options] Override http request option.
|
|
5151
|
-
* @throws {RequiredError}
|
|
5152
|
-
*/
|
|
5153
|
-
saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
5154
|
-
return localVarFp
|
|
5155
|
-
.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
5156
|
-
.then((request) => request(axios, basePath));
|
|
5157
|
-
},
|
|
5158
|
-
/**
|
|
5159
|
-
* 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.
|
|
5160
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
5161
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
5162
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5163
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5164
|
-
* @param {*} [options] Override http request option.
|
|
5165
|
-
* @throws {RequiredError}
|
|
5166
|
-
*/
|
|
5167
|
-
saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
5168
|
-
return localVarFp
|
|
5169
|
-
.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
5170
|
-
.then((request) => request(axios, basePath));
|
|
5171
|
-
},
|
|
5172
|
-
/**
|
|
5173
|
-
* 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.
|
|
5174
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
5175
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
5176
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
5177
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
5178
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
5179
|
-
* @param {*} [options] Override http request option.
|
|
5180
|
-
* @throws {RequiredError}
|
|
5181
|
-
*/
|
|
5182
|
-
saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
5183
|
-
return localVarFp
|
|
5184
|
-
.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
5185
|
-
.then((request) => request(axios, basePath));
|
|
5186
|
-
},
|
|
5187
3843
|
/**
|
|
5188
3844
|
* 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.
|
|
5189
3845
|
* @summary Set filepaths for a collection
|
|
@@ -5382,6 +4038,7 @@ export class SureelApi extends BaseAPI {
|
|
|
5382
4038
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
5383
4039
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
5384
4040
|
* @param {*} [options] Override http request option.
|
|
4041
|
+
* @deprecated
|
|
5385
4042
|
* @throws {RequiredError}
|
|
5386
4043
|
* @memberof SureelApi
|
|
5387
4044
|
*/
|
|
@@ -5572,33 +4229,6 @@ export class SureelApi extends BaseAPI {
|
|
|
5572
4229
|
.createCoverArt(contentType, coverArtRequest, options)
|
|
5573
4230
|
.then((request) => request(this.axios, this.basePath));
|
|
5574
4231
|
}
|
|
5575
|
-
/**
|
|
5576
|
-
* 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.
|
|
5577
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
5578
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
5579
|
-
* @param {*} [options] Override http request option.
|
|
5580
|
-
* @throws {RequiredError}
|
|
5581
|
-
* @memberof SureelApi
|
|
5582
|
-
*/
|
|
5583
|
-
createNilAssetUploadUrl(createNilAssetUploadUrlBody, options) {
|
|
5584
|
-
return SureelApiFp(this.configuration)
|
|
5585
|
-
.createNilAssetUploadUrl(createNilAssetUploadUrlBody, options)
|
|
5586
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5587
|
-
}
|
|
5588
|
-
/**
|
|
5589
|
-
* 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.
|
|
5590
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
5591
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5592
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
5593
|
-
* @param {*} [options] Override http request option.
|
|
5594
|
-
* @throws {RequiredError}
|
|
5595
|
-
* @memberof SureelApi
|
|
5596
|
-
*/
|
|
5597
|
-
createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options) {
|
|
5598
|
-
return SureelApiFp(this.configuration)
|
|
5599
|
-
.createNilAssetUploadUrlByUsername(username, createNilAssetUploadUrlBody, options)
|
|
5600
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5601
|
-
}
|
|
5602
4232
|
/**
|
|
5603
4233
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
5604
4234
|
* @summary Delete collection
|
|
@@ -5625,60 +4255,6 @@ export class SureelApi extends BaseAPI {
|
|
|
5625
4255
|
.deleteRequestById(requestId, options)
|
|
5626
4256
|
.then((request) => request(this.axios, this.basePath));
|
|
5627
4257
|
}
|
|
5628
|
-
/**
|
|
5629
|
-
*
|
|
5630
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
5631
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
5632
|
-
* @param {*} [options] Override http request option.
|
|
5633
|
-
* @throws {RequiredError}
|
|
5634
|
-
* @memberof SureelApi
|
|
5635
|
-
*/
|
|
5636
|
-
evaluateArtistSettings(evaluateArtistSettingsBody, options) {
|
|
5637
|
-
return SureelApiFp(this.configuration)
|
|
5638
|
-
.evaluateArtistSettings(evaluateArtistSettingsBody, options)
|
|
5639
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5640
|
-
}
|
|
5641
|
-
/**
|
|
5642
|
-
*
|
|
5643
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
5644
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5645
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
5646
|
-
* @param {*} [options] Override http request option.
|
|
5647
|
-
* @throws {RequiredError}
|
|
5648
|
-
* @memberof SureelApi
|
|
5649
|
-
*/
|
|
5650
|
-
evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options) {
|
|
5651
|
-
return SureelApiFp(this.configuration)
|
|
5652
|
-
.evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
|
|
5653
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5654
|
-
}
|
|
5655
|
-
/**
|
|
5656
|
-
*
|
|
5657
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
5658
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
5659
|
-
* @param {*} [options] Override http request option.
|
|
5660
|
-
* @throws {RequiredError}
|
|
5661
|
-
* @memberof SureelApi
|
|
5662
|
-
*/
|
|
5663
|
-
evaluateMusicConsent(evaluateMusicConsentBody, options) {
|
|
5664
|
-
return SureelApiFp(this.configuration)
|
|
5665
|
-
.evaluateMusicConsent(evaluateMusicConsentBody, options)
|
|
5666
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5667
|
-
}
|
|
5668
|
-
/**
|
|
5669
|
-
*
|
|
5670
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
5671
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
5672
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
5673
|
-
* @param {*} [options] Override http request option.
|
|
5674
|
-
* @throws {RequiredError}
|
|
5675
|
-
* @memberof SureelApi
|
|
5676
|
-
*/
|
|
5677
|
-
evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
|
|
5678
|
-
return SureelApiFp(this.configuration)
|
|
5679
|
-
.evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
|
|
5680
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5681
|
-
}
|
|
5682
4258
|
/**
|
|
5683
4259
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
5684
4260
|
* @summary Face swap
|
|
@@ -5821,33 +4397,6 @@ export class SureelApi extends BaseAPI {
|
|
|
5821
4397
|
.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
5822
4398
|
.then((request) => request(this.axios, this.basePath));
|
|
5823
4399
|
}
|
|
5824
|
-
/**
|
|
5825
|
-
*
|
|
5826
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
5827
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5828
|
-
* @param {*} [options] Override http request option.
|
|
5829
|
-
* @throws {RequiredError}
|
|
5830
|
-
* @memberof SureelApi
|
|
5831
|
-
*/
|
|
5832
|
-
getArtistSettings(version, options) {
|
|
5833
|
-
return SureelApiFp(this.configuration)
|
|
5834
|
-
.getArtistSettings(version, options)
|
|
5835
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5836
|
-
}
|
|
5837
|
-
/**
|
|
5838
|
-
*
|
|
5839
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
5840
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5841
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5842
|
-
* @param {*} [options] Override http request option.
|
|
5843
|
-
* @throws {RequiredError}
|
|
5844
|
-
* @memberof SureelApi
|
|
5845
|
-
*/
|
|
5846
|
-
getArtistSettingsByUsername(username, version, options) {
|
|
5847
|
-
return SureelApiFp(this.configuration)
|
|
5848
|
-
.getArtistSettingsByUsername(username, version, options)
|
|
5849
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5850
|
-
}
|
|
5851
4400
|
/**
|
|
5852
4401
|
* Retrieve asset metadata by using fileId.
|
|
5853
4402
|
* @summary Get asset metadata
|
|
@@ -5909,77 +4458,6 @@ export class SureelApi extends BaseAPI {
|
|
|
5909
4458
|
.getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options)
|
|
5910
4459
|
.then((request) => request(this.axios, this.basePath));
|
|
5911
4460
|
}
|
|
5912
|
-
/**
|
|
5913
|
-
*
|
|
5914
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
5915
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5916
|
-
* @param {*} [options] Override http request option.
|
|
5917
|
-
* @throws {RequiredError}
|
|
5918
|
-
* @memberof SureelApi
|
|
5919
|
-
*/
|
|
5920
|
-
getMusicConsent(version, options) {
|
|
5921
|
-
return SureelApiFp(this.configuration)
|
|
5922
|
-
.getMusicConsent(version, options)
|
|
5923
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5924
|
-
}
|
|
5925
|
-
/**
|
|
5926
|
-
*
|
|
5927
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
5928
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
5929
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
5930
|
-
* @param {*} [options] Override http request option.
|
|
5931
|
-
* @throws {RequiredError}
|
|
5932
|
-
* @memberof SureelApi
|
|
5933
|
-
*/
|
|
5934
|
-
getMusicConsentByUsername(username, version, options) {
|
|
5935
|
-
return SureelApiFp(this.configuration)
|
|
5936
|
-
.getMusicConsentByUsername(username, version, options)
|
|
5937
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5938
|
-
}
|
|
5939
|
-
/**
|
|
5940
|
-
* 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.
|
|
5941
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
5942
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
5943
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
5944
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
5945
|
-
* @param {*} [options] Override http request option.
|
|
5946
|
-
* @throws {RequiredError}
|
|
5947
|
-
* @memberof SureelApi
|
|
5948
|
-
*/
|
|
5949
|
-
getNilAssetThumbnail(assetId, size, v, options) {
|
|
5950
|
-
return SureelApiFp(this.configuration)
|
|
5951
|
-
.getNilAssetThumbnail(assetId, size, v, options)
|
|
5952
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5953
|
-
}
|
|
5954
|
-
/**
|
|
5955
|
-
* 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.
|
|
5956
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
5957
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
5958
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
5959
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
5960
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
5961
|
-
* @param {*} [options] Override http request option.
|
|
5962
|
-
* @throws {RequiredError}
|
|
5963
|
-
* @memberof SureelApi
|
|
5964
|
-
*/
|
|
5965
|
-
getNilAssetThumbnailByUsername(username, assetId, size, v, options) {
|
|
5966
|
-
return SureelApiFp(this.configuration)
|
|
5967
|
-
.getNilAssetThumbnailByUsername(username, assetId, size, v, options)
|
|
5968
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5969
|
-
}
|
|
5970
|
-
/**
|
|
5971
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
5972
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
5973
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
5974
|
-
* @param {*} [options] Override http request option.
|
|
5975
|
-
* @throws {RequiredError}
|
|
5976
|
-
* @memberof SureelApi
|
|
5977
|
-
*/
|
|
5978
|
-
getNilIngestionStatus(requestId, options) {
|
|
5979
|
-
return SureelApiFp(this.configuration)
|
|
5980
|
-
.getNilIngestionStatus(requestId, options)
|
|
5981
|
-
.then((request) => request(this.axios, this.basePath));
|
|
5982
|
-
}
|
|
5983
4461
|
/**
|
|
5984
4462
|
* Get all collections that are opted-out.
|
|
5985
4463
|
* @summary Get opted-out collections
|
|
@@ -6017,31 +4495,6 @@ export class SureelApi extends BaseAPI {
|
|
|
6017
4495
|
.getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
|
|
6018
4496
|
.then((request) => request(this.axios, this.basePath));
|
|
6019
4497
|
}
|
|
6020
|
-
/**
|
|
6021
|
-
*
|
|
6022
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
6023
|
-
* @param {*} [options] Override http request option.
|
|
6024
|
-
* @throws {RequiredError}
|
|
6025
|
-
* @memberof SureelApi
|
|
6026
|
-
*/
|
|
6027
|
-
getPermissionNotify(options) {
|
|
6028
|
-
return SureelApiFp(this.configuration)
|
|
6029
|
-
.getPermissionNotify(options)
|
|
6030
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6031
|
-
}
|
|
6032
|
-
/**
|
|
6033
|
-
*
|
|
6034
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
6035
|
-
* @param {string} username
|
|
6036
|
-
* @param {*} [options] Override http request option.
|
|
6037
|
-
* @throws {RequiredError}
|
|
6038
|
-
* @memberof SureelApi
|
|
6039
|
-
*/
|
|
6040
|
-
getPermissionNotifyByUsername(username, options) {
|
|
6041
|
-
return SureelApiFp(this.configuration)
|
|
6042
|
-
.getPermissionNotifyByUsername(username, options)
|
|
6043
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6044
|
-
}
|
|
6045
4498
|
/**
|
|
6046
4499
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
6047
4500
|
* @summary Prompt history
|
|
@@ -6184,33 +4637,6 @@ export class SureelApi extends BaseAPI {
|
|
|
6184
4637
|
.optOutAnalysis(contentType, postOptOutAnalysisBody, options)
|
|
6185
4638
|
.then((request) => request(this.axios, this.basePath));
|
|
6186
4639
|
}
|
|
6187
|
-
/**
|
|
6188
|
-
*
|
|
6189
|
-
* @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.
|
|
6190
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
6191
|
-
* @param {*} [options] Override http request option.
|
|
6192
|
-
* @throws {RequiredError}
|
|
6193
|
-
* @memberof SureelApi
|
|
6194
|
-
*/
|
|
6195
|
-
putPermissionNotify(permissionNotifyBody, options) {
|
|
6196
|
-
return SureelApiFp(this.configuration)
|
|
6197
|
-
.putPermissionNotify(permissionNotifyBody, options)
|
|
6198
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6199
|
-
}
|
|
6200
|
-
/**
|
|
6201
|
-
*
|
|
6202
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
6203
|
-
* @param {string} username
|
|
6204
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
6205
|
-
* @param {*} [options] Override http request option.
|
|
6206
|
-
* @throws {RequiredError}
|
|
6207
|
-
* @memberof SureelApi
|
|
6208
|
-
*/
|
|
6209
|
-
putPermissionNotifyByUsername(username, permissionNotifyBody, options) {
|
|
6210
|
-
return SureelApiFp(this.configuration)
|
|
6211
|
-
.putPermissionNotifyByUsername(username, permissionNotifyBody, options)
|
|
6212
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6213
|
-
}
|
|
6214
4640
|
/**
|
|
6215
4641
|
* 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.
|
|
6216
4642
|
* @summary Reimagine image
|
|
@@ -6239,68 +4665,6 @@ export class SureelApi extends BaseAPI {
|
|
|
6239
4665
|
.removeBackground(contentType, removeBackgroundRequest, options)
|
|
6240
4666
|
.then((request) => request(this.axios, this.basePath));
|
|
6241
4667
|
}
|
|
6242
|
-
/**
|
|
6243
|
-
* 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.
|
|
6244
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
6245
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
6246
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
6247
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
6248
|
-
* @param {*} [options] Override http request option.
|
|
6249
|
-
* @throws {RequiredError}
|
|
6250
|
-
* @memberof SureelApi
|
|
6251
|
-
*/
|
|
6252
|
-
saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
6253
|
-
return SureelApiFp(this.configuration)
|
|
6254
|
-
.saveArtistSettings(postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
6255
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6256
|
-
}
|
|
6257
|
-
/**
|
|
6258
|
-
* 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.
|
|
6259
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
6260
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
6261
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
6262
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
6263
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
6264
|
-
* @param {*} [options] Override http request option.
|
|
6265
|
-
* @throws {RequiredError}
|
|
6266
|
-
* @memberof SureelApi
|
|
6267
|
-
*/
|
|
6268
|
-
saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options) {
|
|
6269
|
-
return SureelApiFp(this.configuration)
|
|
6270
|
-
.saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
|
|
6271
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6272
|
-
}
|
|
6273
|
-
/**
|
|
6274
|
-
* 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.
|
|
6275
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
6276
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
6277
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
6278
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
6279
|
-
* @param {*} [options] Override http request option.
|
|
6280
|
-
* @throws {RequiredError}
|
|
6281
|
-
* @memberof SureelApi
|
|
6282
|
-
*/
|
|
6283
|
-
saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
6284
|
-
return SureelApiFp(this.configuration)
|
|
6285
|
-
.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
6286
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6287
|
-
}
|
|
6288
|
-
/**
|
|
6289
|
-
* 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.
|
|
6290
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
6291
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
6292
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
6293
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
6294
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
6295
|
-
* @param {*} [options] Override http request option.
|
|
6296
|
-
* @throws {RequiredError}
|
|
6297
|
-
* @memberof SureelApi
|
|
6298
|
-
*/
|
|
6299
|
-
saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
|
|
6300
|
-
return SureelApiFp(this.configuration)
|
|
6301
|
-
.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
|
|
6302
|
-
.then((request) => request(this.axios, this.basePath));
|
|
6303
|
-
}
|
|
6304
4668
|
/**
|
|
6305
4669
|
* 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.
|
|
6306
4670
|
* @summary Set filepaths for a collection
|