@sureel/sdk 1.17.7 → 1.17.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/sureel-api.d.ts +5 -998
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +72 -1708
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +5 -998
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +72 -1708
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/aidetection-results-with-stem.d.ts +0 -12
- package/esm/models/aidetection-results-with-stem.d.ts.map +1 -1
- package/esm/models/artist-collection-record-intersection.d.ts +6 -0
- package/esm/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/esm/models/asset-metadata-record.d.ts +42 -0
- package/esm/models/asset-metadata-record.d.ts.map +1 -1
- package/esm/models/attribution-with-stems.d.ts +0 -12
- package/esm/models/attribution-with-stems.d.ts.map +1 -1
- package/esm/models/create-collection-request.d.ts +21 -0
- package/esm/models/create-collection-request.d.ts.map +1 -1
- package/esm/models/create-collection-request.js +8 -0
- package/esm/models/create-collection-request.js.map +1 -1
- package/esm/models/external-stem.d.ts +1 -1
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts +6 -0
- package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/esm/models/index.d.ts +0 -70
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +0 -70
- package/esm/models/index.js.map +1 -1
- package/esm/models/model-file.d.ts +43 -1
- package/esm/models/model-file.d.ts.map +1 -1
- package/esm/models/publishing-contributor.d.ts +6 -0
- package/esm/models/publishing-contributor.d.ts.map +1 -1
- package/esm/models/similar-audio-files-per-stem.d.ts +0 -12
- package/esm/models/similar-audio-files-per-stem.d.ts.map +1 -1
- package/esm/models/stems.d.ts +0 -12
- package/esm/models/stems.d.ts.map +1 -1
- package/esm/models/update-asset-metadata-body.d.ts +1 -1
- package/models/aidetection-results-with-stem.d.ts +0 -12
- package/models/aidetection-results-with-stem.d.ts.map +1 -1
- package/models/artist-collection-record-intersection.d.ts +6 -0
- package/models/artist-collection-record-intersection.d.ts.map +1 -1
- package/models/asset-metadata-record.d.ts +42 -0
- package/models/asset-metadata-record.d.ts.map +1 -1
- package/models/attribution-with-stems.d.ts +0 -12
- package/models/attribution-with-stems.d.ts.map +1 -1
- package/models/create-collection-request.d.ts +21 -0
- package/models/create-collection-request.d.ts.map +1 -1
- package/models/create-collection-request.js +9 -1
- package/models/create-collection-request.js.map +1 -1
- package/models/external-stem.d.ts +1 -1
- package/models/get-collection-with-lyrics-and-stems-response.d.ts +6 -0
- package/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
- package/models/index.d.ts +0 -70
- package/models/index.d.ts.map +1 -1
- package/models/index.js +0 -70
- package/models/index.js.map +1 -1
- package/models/model-file.d.ts +43 -1
- package/models/model-file.d.ts.map +1 -1
- package/models/publishing-contributor.d.ts +6 -0
- package/models/publishing-contributor.d.ts.map +1 -1
- package/models/similar-audio-files-per-stem.d.ts +0 -12
- package/models/similar-audio-files-per-stem.d.ts.map +1 -1
- package/models/stems.d.ts +0 -12
- package/models/stems.d.ts.map +1 -1
- package/models/update-asset-metadata-body.d.ts +1 -1
- package/package.json +1 -1
package/api/sureel-api.d.ts
CHANGED
|
@@ -23,25 +23,17 @@ import type { CoverArtRequest } from "../models";
|
|
|
23
23
|
import type { CreateCollectionFromDdexRequest } from "../models";
|
|
24
24
|
import type { CreateCollectionFromDdexResponse } from "../models";
|
|
25
25
|
import type { CreateCollectionRequest } from "../models";
|
|
26
|
-
import type { CreateNilAssetUploadUrlBody } from "../models";
|
|
27
|
-
import type { CreateNilAssetUploadUrlResponse } from "../models";
|
|
28
26
|
import type { CustomerProfileData } from "../models";
|
|
29
|
-
import type { EvaluateArtistSettingsBody } from "../models";
|
|
30
|
-
import type { EvaluateArtistSettingsResponse } from "../models";
|
|
31
|
-
import type { EvaluateMusicConsentBody } from "../models";
|
|
32
|
-
import type { EvaluateMusicConsentResponse } from "../models";
|
|
33
27
|
import type { FinetuningRequest } from "../models";
|
|
34
28
|
import type { GeneratePreviewRequest } from "../models";
|
|
35
29
|
import type { GetAiCompaniesResponse } from "../models";
|
|
36
30
|
import type { GetAiPlatformAuditResponse } from "../models";
|
|
37
31
|
import type { GetAllArtistsResponse } from "../models";
|
|
38
32
|
import type { GetAnalysisHistoryResponse } from "../models";
|
|
39
|
-
import type { GetArtistSettingsResponse } from "../models";
|
|
40
33
|
import type { GetAssetMetadataResponse } from "../models";
|
|
41
34
|
import type { GetAudioLdmResponse } from "../models";
|
|
42
35
|
import type { GetCollectionWithLyricsAndStemsResponse } from "../models";
|
|
43
36
|
import type { GetLdmResponse } from "../models";
|
|
44
|
-
import type { GetMusicConsentResponse } from "../models";
|
|
45
37
|
import type { GetOptedOutCollectionsResponse } from "../models";
|
|
46
38
|
import type { GetPromptHistoryResponse } from "../models";
|
|
47
39
|
import type { GetStylePresetResponse } from "../models";
|
|
@@ -49,13 +41,7 @@ import type { GetUploadedFilesResponseInner } from "../models";
|
|
|
49
41
|
import type { ImageAttributionAnalysisRequest } from "../models";
|
|
50
42
|
import type { ImageBlendingRequest } from "../models";
|
|
51
43
|
import type { InpaintRequest } from "../models";
|
|
52
|
-
import type { NilAssetThumbnailSize } from "../models";
|
|
53
|
-
import type { NilIngestionStatusResponse } from "../models";
|
|
54
|
-
import type { PermissionNotifyBody } from "../models";
|
|
55
|
-
import type { PermissionNotifyResponse } from "../models";
|
|
56
44
|
import type { PostAccidentalInfringementCheckBody } from "../models";
|
|
57
|
-
import type { PostArtistSettingsBody } from "../models";
|
|
58
|
-
import type { PostArtistSettingsResponse } from "../models";
|
|
59
45
|
import type { PostAudioAttributionAnalysisBody } from "../models";
|
|
60
46
|
import type { PostAudioAttributionSetupBody } from "../models";
|
|
61
47
|
import type { PostAudioLdmResponse } from "../models";
|
|
@@ -65,8 +51,6 @@ import type { PostCreateCollectionResponse } from "../models";
|
|
|
65
51
|
import type { PostDetectAIGeneratedAudioBody } from "../models";
|
|
66
52
|
import type { PostLdmResponse } from "../models";
|
|
67
53
|
import type { PostLyricsAnalysisBody } from "../models";
|
|
68
|
-
import type { PostMusicConsentBody } from "../models";
|
|
69
|
-
import type { PostMusicConsentResponse } from "../models";
|
|
70
54
|
import type { PostOptOutAnalysisBody } from "../models";
|
|
71
55
|
import type { PostSimilarSongFinderBody } from "../models";
|
|
72
56
|
import type { PostSongAnalysis } from "../models";
|
|
@@ -109,6 +93,7 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
109
93
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
110
94
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
111
95
|
* @param {*} [options] Override http request option.
|
|
96
|
+
* @deprecated
|
|
112
97
|
* @throws {RequiredError}
|
|
113
98
|
*/
|
|
114
99
|
aiDetection: (contentType: AiDetectionContentTypeEnum, postDetectAIGeneratedAudioBody: PostDetectAIGeneratedAudioBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -229,23 +214,6 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
229
214
|
* @throws {RequiredError}
|
|
230
215
|
*/
|
|
231
216
|
createCoverArt: (contentType: CreateCoverArtContentTypeEnum, coverArtRequest: CoverArtRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
232
|
-
/**
|
|
233
|
-
* 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.
|
|
234
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
235
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
236
|
-
* @param {*} [options] Override http request option.
|
|
237
|
-
* @throws {RequiredError}
|
|
238
|
-
*/
|
|
239
|
-
createNilAssetUploadUrl: (createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
240
|
-
/**
|
|
241
|
-
* 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.
|
|
242
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
243
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
244
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
245
|
-
* @param {*} [options] Override http request option.
|
|
246
|
-
* @throws {RequiredError}
|
|
247
|
-
*/
|
|
248
|
-
createNilAssetUploadUrlByUsername: (username: string, createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
249
217
|
/**
|
|
250
218
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
251
219
|
* @summary Delete collection
|
|
@@ -262,40 +230,6 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
262
230
|
* @throws {RequiredError}
|
|
263
231
|
*/
|
|
264
232
|
deleteRequestById: (requestId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
265
|
-
/**
|
|
266
|
-
*
|
|
267
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
268
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
269
|
-
* @param {*} [options] Override http request option.
|
|
270
|
-
* @throws {RequiredError}
|
|
271
|
-
*/
|
|
272
|
-
evaluateArtistSettings: (evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
273
|
-
/**
|
|
274
|
-
*
|
|
275
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
276
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
277
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
278
|
-
* @param {*} [options] Override http request option.
|
|
279
|
-
* @throws {RequiredError}
|
|
280
|
-
*/
|
|
281
|
-
evaluateArtistSettingsByUsername: (username: string, evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
282
|
-
/**
|
|
283
|
-
*
|
|
284
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
285
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
286
|
-
* @param {*} [options] Override http request option.
|
|
287
|
-
* @throws {RequiredError}
|
|
288
|
-
*/
|
|
289
|
-
evaluateMusicConsent: (evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
290
|
-
/**
|
|
291
|
-
*
|
|
292
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
293
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
294
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
295
|
-
* @param {*} [options] Override http request option.
|
|
296
|
-
* @throws {RequiredError}
|
|
297
|
-
*/
|
|
298
|
-
evaluateMusicConsentByUsername: (username: string, evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
299
233
|
/**
|
|
300
234
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
301
235
|
* @summary Face swap
|
|
@@ -393,23 +327,6 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
393
327
|
* @throws {RequiredError}
|
|
394
328
|
*/
|
|
395
329
|
getArtistByUsername: (includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, releaseType?: string, useForTraining?: GetArtistByUsernameUseForTrainingEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
396
|
-
/**
|
|
397
|
-
*
|
|
398
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
399
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
400
|
-
* @param {*} [options] Override http request option.
|
|
401
|
-
* @throws {RequiredError}
|
|
402
|
-
*/
|
|
403
|
-
getArtistSettings: (version?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
404
|
-
/**
|
|
405
|
-
*
|
|
406
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
407
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
408
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
409
|
-
* @param {*} [options] Override http request option.
|
|
410
|
-
* @throws {RequiredError}
|
|
411
|
-
*/
|
|
412
|
-
getArtistSettingsByUsername: (username: string, version?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
413
330
|
/**
|
|
414
331
|
* Retrieve asset metadata by using fileId.
|
|
415
332
|
* @summary Get asset metadata
|
|
@@ -451,52 +368,6 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
451
368
|
* @throws {RequiredError}
|
|
452
369
|
*/
|
|
453
370
|
getCustomerData: (labelName: string, take?: number, cursor?: string, search?: string, signedLabel?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
454
|
-
/**
|
|
455
|
-
*
|
|
456
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
457
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
458
|
-
* @param {*} [options] Override http request option.
|
|
459
|
-
* @throws {RequiredError}
|
|
460
|
-
*/
|
|
461
|
-
getMusicConsent: (version?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
462
|
-
/**
|
|
463
|
-
*
|
|
464
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
465
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
466
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
467
|
-
* @param {*} [options] Override http request option.
|
|
468
|
-
* @throws {RequiredError}
|
|
469
|
-
*/
|
|
470
|
-
getMusicConsentByUsername: (username: string, version?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
471
|
-
/**
|
|
472
|
-
* 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.
|
|
473
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
474
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
475
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
476
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
477
|
-
* @param {*} [options] Override http request option.
|
|
478
|
-
* @throws {RequiredError}
|
|
479
|
-
*/
|
|
480
|
-
getNilAssetThumbnail: (assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
481
|
-
/**
|
|
482
|
-
* 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.
|
|
483
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
484
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
485
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
486
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
487
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
488
|
-
* @param {*} [options] Override http request option.
|
|
489
|
-
* @throws {RequiredError}
|
|
490
|
-
*/
|
|
491
|
-
getNilAssetThumbnailByUsername: (username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
492
|
-
/**
|
|
493
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
494
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
495
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
496
|
-
* @param {*} [options] Override http request option.
|
|
497
|
-
* @throws {RequiredError}
|
|
498
|
-
*/
|
|
499
|
-
getNilIngestionStatus: (requestId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
500
371
|
/**
|
|
501
372
|
* Get all collections that are opted-out.
|
|
502
373
|
* @summary Get opted-out collections
|
|
@@ -524,21 +395,6 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
524
395
|
* @throws {RequiredError}
|
|
525
396
|
*/
|
|
526
397
|
getOwnCollections: (includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, releaseType?: string, useForTraining?: GetOwnCollectionsUseForTrainingEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
527
|
-
/**
|
|
528
|
-
*
|
|
529
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
530
|
-
* @param {*} [options] Override http request option.
|
|
531
|
-
* @throws {RequiredError}
|
|
532
|
-
*/
|
|
533
|
-
getPermissionNotify: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
534
|
-
/**
|
|
535
|
-
*
|
|
536
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
537
|
-
* @param {string} username
|
|
538
|
-
* @param {*} [options] Override http request option.
|
|
539
|
-
* @throws {RequiredError}
|
|
540
|
-
*/
|
|
541
|
-
getPermissionNotifyByUsername: (username: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
542
398
|
/**
|
|
543
399
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
544
400
|
* @summary Prompt history
|
|
@@ -631,23 +487,6 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
631
487
|
* @throws {RequiredError}
|
|
632
488
|
*/
|
|
633
489
|
optOutAnalysis: (contentType: OptOutAnalysisContentTypeEnum, postOptOutAnalysisBody: PostOptOutAnalysisBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
634
|
-
/**
|
|
635
|
-
*
|
|
636
|
-
* @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.
|
|
637
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
638
|
-
* @param {*} [options] Override http request option.
|
|
639
|
-
* @throws {RequiredError}
|
|
640
|
-
*/
|
|
641
|
-
putPermissionNotify: (permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
642
|
-
/**
|
|
643
|
-
*
|
|
644
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
645
|
-
* @param {string} username
|
|
646
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
647
|
-
* @param {*} [options] Override http request option.
|
|
648
|
-
* @throws {RequiredError}
|
|
649
|
-
*/
|
|
650
|
-
putPermissionNotifyByUsername: (username: string, permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
651
490
|
/**
|
|
652
491
|
* 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.
|
|
653
492
|
* @summary Reimagine image
|
|
@@ -666,48 +505,6 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
666
505
|
* @throws {RequiredError}
|
|
667
506
|
*/
|
|
668
507
|
removeBackground: (contentType: RemoveBackgroundContentTypeEnum, removeBackgroundRequest: RemoveBackgroundRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
669
|
-
/**
|
|
670
|
-
* 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.
|
|
671
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
672
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
673
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
674
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
675
|
-
* @param {*} [options] Override http request option.
|
|
676
|
-
* @throws {RequiredError}
|
|
677
|
-
*/
|
|
678
|
-
saveArtistSettings: (postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
679
|
-
/**
|
|
680
|
-
* 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.
|
|
681
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
682
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
683
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
684
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
685
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
686
|
-
* @param {*} [options] Override http request option.
|
|
687
|
-
* @throws {RequiredError}
|
|
688
|
-
*/
|
|
689
|
-
saveArtistSettingsByUsername: (username: string, postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
690
|
-
/**
|
|
691
|
-
* 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.
|
|
692
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
693
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
694
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
695
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
696
|
-
* @param {*} [options] Override http request option.
|
|
697
|
-
* @throws {RequiredError}
|
|
698
|
-
*/
|
|
699
|
-
saveMusicConsent: (postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
700
|
-
/**
|
|
701
|
-
* 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.
|
|
702
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
703
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
704
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
705
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
706
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
707
|
-
* @param {*} [options] Override http request option.
|
|
708
|
-
* @throws {RequiredError}
|
|
709
|
-
*/
|
|
710
|
-
saveMusicConsentByUsername: (username: string, postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
711
508
|
/**
|
|
712
509
|
* 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.
|
|
713
510
|
* @summary Set filepaths for a collection
|
|
@@ -846,6 +643,7 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
846
643
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
847
644
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
848
645
|
* @param {*} [options] Override http request option.
|
|
646
|
+
* @deprecated
|
|
849
647
|
* @throws {RequiredError}
|
|
850
648
|
*/
|
|
851
649
|
aiDetection(contentType: AiDetectionContentTypeEnum, postDetectAIGeneratedAudioBody: PostDetectAIGeneratedAudioBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostAudioLdmResponse>>;
|
|
@@ -966,23 +764,6 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
966
764
|
* @throws {RequiredError}
|
|
967
765
|
*/
|
|
968
766
|
createCoverArt(contentType: CreateCoverArtContentTypeEnum, coverArtRequest: CoverArtRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostLdmResponse>>;
|
|
969
|
-
/**
|
|
970
|
-
* 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.
|
|
971
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
972
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
973
|
-
* @param {*} [options] Override http request option.
|
|
974
|
-
* @throws {RequiredError}
|
|
975
|
-
*/
|
|
976
|
-
createNilAssetUploadUrl(createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNilAssetUploadUrlResponse>>;
|
|
977
|
-
/**
|
|
978
|
-
* 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.
|
|
979
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
980
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
981
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
982
|
-
* @param {*} [options] Override http request option.
|
|
983
|
-
* @throws {RequiredError}
|
|
984
|
-
*/
|
|
985
|
-
createNilAssetUploadUrlByUsername(username: string, createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNilAssetUploadUrlResponse>>;
|
|
986
767
|
/**
|
|
987
768
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
988
769
|
* @summary Delete collection
|
|
@@ -999,40 +780,6 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
999
780
|
* @throws {RequiredError}
|
|
1000
781
|
*/
|
|
1001
782
|
deleteRequestById(requestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1002
|
-
/**
|
|
1003
|
-
*
|
|
1004
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
1005
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
1006
|
-
* @param {*} [options] Override http request option.
|
|
1007
|
-
* @throws {RequiredError}
|
|
1008
|
-
*/
|
|
1009
|
-
evaluateArtistSettings(evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvaluateArtistSettingsResponse>>;
|
|
1010
|
-
/**
|
|
1011
|
-
*
|
|
1012
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
1013
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1014
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
1015
|
-
* @param {*} [options] Override http request option.
|
|
1016
|
-
* @throws {RequiredError}
|
|
1017
|
-
*/
|
|
1018
|
-
evaluateArtistSettingsByUsername(username: string, evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvaluateArtistSettingsResponse>>;
|
|
1019
|
-
/**
|
|
1020
|
-
*
|
|
1021
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
1022
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
1023
|
-
* @param {*} [options] Override http request option.
|
|
1024
|
-
* @throws {RequiredError}
|
|
1025
|
-
*/
|
|
1026
|
-
evaluateMusicConsent(evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvaluateMusicConsentResponse>>;
|
|
1027
|
-
/**
|
|
1028
|
-
*
|
|
1029
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
1030
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
1031
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
1032
|
-
* @param {*} [options] Override http request option.
|
|
1033
|
-
* @throws {RequiredError}
|
|
1034
|
-
*/
|
|
1035
|
-
evaluateMusicConsentByUsername(username: string, evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvaluateMusicConsentResponse>>;
|
|
1036
783
|
/**
|
|
1037
784
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
1038
785
|
* @summary Face swap
|
|
@@ -1130,23 +877,6 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1130
877
|
* @throws {RequiredError}
|
|
1131
878
|
*/
|
|
1132
879
|
getArtistByUsername(includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, releaseType?: string, useForTraining?: GetArtistByUsernameUseForTrainingEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArtistProfileData>>;
|
|
1133
|
-
/**
|
|
1134
|
-
*
|
|
1135
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
1136
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1137
|
-
* @param {*} [options] Override http request option.
|
|
1138
|
-
* @throws {RequiredError}
|
|
1139
|
-
*/
|
|
1140
|
-
getArtistSettings(version?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetArtistSettingsResponse>>;
|
|
1141
|
-
/**
|
|
1142
|
-
*
|
|
1143
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
1144
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1145
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1146
|
-
* @param {*} [options] Override http request option.
|
|
1147
|
-
* @throws {RequiredError}
|
|
1148
|
-
*/
|
|
1149
|
-
getArtistSettingsByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetArtistSettingsResponse>>;
|
|
1150
880
|
/**
|
|
1151
881
|
* Retrieve asset metadata by using fileId.
|
|
1152
882
|
* @summary Get asset metadata
|
|
@@ -1188,52 +918,6 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1188
918
|
* @throws {RequiredError}
|
|
1189
919
|
*/
|
|
1190
920
|
getCustomerData(labelName: string, take?: number, cursor?: string, search?: string, signedLabel?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerProfileData>>;
|
|
1191
|
-
/**
|
|
1192
|
-
*
|
|
1193
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
1194
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1195
|
-
* @param {*} [options] Override http request option.
|
|
1196
|
-
* @throws {RequiredError}
|
|
1197
|
-
*/
|
|
1198
|
-
getMusicConsent(version?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMusicConsentResponse>>;
|
|
1199
|
-
/**
|
|
1200
|
-
*
|
|
1201
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
1202
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
1203
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1204
|
-
* @param {*} [options] Override http request option.
|
|
1205
|
-
* @throws {RequiredError}
|
|
1206
|
-
*/
|
|
1207
|
-
getMusicConsentByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMusicConsentResponse>>;
|
|
1208
|
-
/**
|
|
1209
|
-
* 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.
|
|
1210
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
1211
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1212
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
1213
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1214
|
-
* @param {*} [options] Override http request option.
|
|
1215
|
-
* @throws {RequiredError}
|
|
1216
|
-
*/
|
|
1217
|
-
getNilAssetThumbnail(assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1218
|
-
/**
|
|
1219
|
-
* 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.
|
|
1220
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
1221
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1222
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1223
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
1224
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1225
|
-
* @param {*} [options] Override http request option.
|
|
1226
|
-
* @throws {RequiredError}
|
|
1227
|
-
*/
|
|
1228
|
-
getNilAssetThumbnailByUsername(username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1229
|
-
/**
|
|
1230
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
1231
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
1232
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
1233
|
-
* @param {*} [options] Override http request option.
|
|
1234
|
-
* @throws {RequiredError}
|
|
1235
|
-
*/
|
|
1236
|
-
getNilIngestionStatus(requestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NilIngestionStatusResponse>>;
|
|
1237
921
|
/**
|
|
1238
922
|
* Get all collections that are opted-out.
|
|
1239
923
|
* @summary Get opted-out collections
|
|
@@ -1261,21 +945,6 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1261
945
|
* @throws {RequiredError}
|
|
1262
946
|
*/
|
|
1263
947
|
getOwnCollections(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, releaseType?: string, useForTraining?: GetOwnCollectionsUseForTrainingEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArtistProfileData>>;
|
|
1264
|
-
/**
|
|
1265
|
-
*
|
|
1266
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
1267
|
-
* @param {*} [options] Override http request option.
|
|
1268
|
-
* @throws {RequiredError}
|
|
1269
|
-
*/
|
|
1270
|
-
getPermissionNotify(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PermissionNotifyResponse>>;
|
|
1271
|
-
/**
|
|
1272
|
-
*
|
|
1273
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
1274
|
-
* @param {string} username
|
|
1275
|
-
* @param {*} [options] Override http request option.
|
|
1276
|
-
* @throws {RequiredError}
|
|
1277
|
-
*/
|
|
1278
|
-
getPermissionNotifyByUsername(username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PermissionNotifyResponse>>;
|
|
1279
948
|
/**
|
|
1280
949
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
1281
950
|
* @summary Prompt history
|
|
@@ -1368,23 +1037,6 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1368
1037
|
* @throws {RequiredError}
|
|
1369
1038
|
*/
|
|
1370
1039
|
optOutAnalysis(contentType: OptOutAnalysisContentTypeEnum, postOptOutAnalysisBody: PostOptOutAnalysisBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostAudioLdmResponse>>;
|
|
1371
|
-
/**
|
|
1372
|
-
*
|
|
1373
|
-
* @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.
|
|
1374
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
1375
|
-
* @param {*} [options] Override http request option.
|
|
1376
|
-
* @throws {RequiredError}
|
|
1377
|
-
*/
|
|
1378
|
-
putPermissionNotify(permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PermissionNotifyResponse>>;
|
|
1379
|
-
/**
|
|
1380
|
-
*
|
|
1381
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
1382
|
-
* @param {string} username
|
|
1383
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
1384
|
-
* @param {*} [options] Override http request option.
|
|
1385
|
-
* @throws {RequiredError}
|
|
1386
|
-
*/
|
|
1387
|
-
putPermissionNotifyByUsername(username: string, permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PermissionNotifyResponse>>;
|
|
1388
1040
|
/**
|
|
1389
1041
|
* 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.
|
|
1390
1042
|
* @summary Reimagine image
|
|
@@ -1403,48 +1055,6 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1403
1055
|
* @throws {RequiredError}
|
|
1404
1056
|
*/
|
|
1405
1057
|
removeBackground(contentType: RemoveBackgroundContentTypeEnum, removeBackgroundRequest: RemoveBackgroundRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostLdmResponse>>;
|
|
1406
|
-
/**
|
|
1407
|
-
* 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.
|
|
1408
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
1409
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
1410
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
1411
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
1412
|
-
* @param {*} [options] Override http request option.
|
|
1413
|
-
* @throws {RequiredError}
|
|
1414
|
-
*/
|
|
1415
|
-
saveArtistSettings(postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostArtistSettingsResponse>>;
|
|
1416
|
-
/**
|
|
1417
|
-
* 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.
|
|
1418
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
1419
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1420
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
1421
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
1422
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
1423
|
-
* @param {*} [options] Override http request option.
|
|
1424
|
-
* @throws {RequiredError}
|
|
1425
|
-
*/
|
|
1426
|
-
saveArtistSettingsByUsername(username: string, postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostArtistSettingsResponse>>;
|
|
1427
|
-
/**
|
|
1428
|
-
* 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.
|
|
1429
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
1430
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
1431
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
1432
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
1433
|
-
* @param {*} [options] Override http request option.
|
|
1434
|
-
* @throws {RequiredError}
|
|
1435
|
-
*/
|
|
1436
|
-
saveMusicConsent(postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostMusicConsentResponse>>;
|
|
1437
|
-
/**
|
|
1438
|
-
* 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.
|
|
1439
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
1440
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
1441
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
1442
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
1443
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
1444
|
-
* @param {*} [options] Override http request option.
|
|
1445
|
-
* @throws {RequiredError}
|
|
1446
|
-
*/
|
|
1447
|
-
saveMusicConsentByUsername(username: string, postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostMusicConsentResponse>>;
|
|
1448
1058
|
/**
|
|
1449
1059
|
* 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.
|
|
1450
1060
|
* @summary Set filepaths for a collection
|
|
@@ -1583,6 +1193,7 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1583
1193
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
1584
1194
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
1585
1195
|
* @param {*} [options] Override http request option.
|
|
1196
|
+
* @deprecated
|
|
1586
1197
|
* @throws {RequiredError}
|
|
1587
1198
|
*/
|
|
1588
1199
|
aiDetection(contentType: AiDetectionContentTypeEnum, postDetectAIGeneratedAudioBody: PostDetectAIGeneratedAudioBody, options?: RawAxiosRequestConfig): AxiosPromise<PostAudioLdmResponse>;
|
|
@@ -1703,23 +1314,6 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1703
1314
|
* @throws {RequiredError}
|
|
1704
1315
|
*/
|
|
1705
1316
|
createCoverArt(contentType: CreateCoverArtContentTypeEnum, coverArtRequest: CoverArtRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostLdmResponse>;
|
|
1706
|
-
/**
|
|
1707
|
-
* 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.
|
|
1708
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
1709
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
1710
|
-
* @param {*} [options] Override http request option.
|
|
1711
|
-
* @throws {RequiredError}
|
|
1712
|
-
*/
|
|
1713
|
-
createNilAssetUploadUrl(createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig): AxiosPromise<CreateNilAssetUploadUrlResponse>;
|
|
1714
|
-
/**
|
|
1715
|
-
* 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.
|
|
1716
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
1717
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1718
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
1719
|
-
* @param {*} [options] Override http request option.
|
|
1720
|
-
* @throws {RequiredError}
|
|
1721
|
-
*/
|
|
1722
|
-
createNilAssetUploadUrlByUsername(username: string, createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig): AxiosPromise<CreateNilAssetUploadUrlResponse>;
|
|
1723
1317
|
/**
|
|
1724
1318
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
1725
1319
|
* @summary Delete collection
|
|
@@ -1736,40 +1330,6 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1736
1330
|
* @throws {RequiredError}
|
|
1737
1331
|
*/
|
|
1738
1332
|
deleteRequestById(requestId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1739
|
-
/**
|
|
1740
|
-
*
|
|
1741
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
1742
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
1743
|
-
* @param {*} [options] Override http request option.
|
|
1744
|
-
* @throws {RequiredError}
|
|
1745
|
-
*/
|
|
1746
|
-
evaluateArtistSettings(evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateArtistSettingsResponse>;
|
|
1747
|
-
/**
|
|
1748
|
-
*
|
|
1749
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
1750
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1751
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
1752
|
-
* @param {*} [options] Override http request option.
|
|
1753
|
-
* @throws {RequiredError}
|
|
1754
|
-
*/
|
|
1755
|
-
evaluateArtistSettingsByUsername(username: string, evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateArtistSettingsResponse>;
|
|
1756
|
-
/**
|
|
1757
|
-
*
|
|
1758
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
1759
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
1760
|
-
* @param {*} [options] Override http request option.
|
|
1761
|
-
* @throws {RequiredError}
|
|
1762
|
-
*/
|
|
1763
|
-
evaluateMusicConsent(evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateMusicConsentResponse>;
|
|
1764
|
-
/**
|
|
1765
|
-
*
|
|
1766
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
1767
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
1768
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
1769
|
-
* @param {*} [options] Override http request option.
|
|
1770
|
-
* @throws {RequiredError}
|
|
1771
|
-
*/
|
|
1772
|
-
evaluateMusicConsentByUsername(username: string, evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateMusicConsentResponse>;
|
|
1773
1333
|
/**
|
|
1774
1334
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
1775
1335
|
* @summary Face swap
|
|
@@ -1867,23 +1427,6 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1867
1427
|
* @throws {RequiredError}
|
|
1868
1428
|
*/
|
|
1869
1429
|
getArtistByUsername(includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, releaseType?: string, useForTraining?: GetArtistByUsernameUseForTrainingEnum, options?: RawAxiosRequestConfig): AxiosPromise<ArtistProfileData>;
|
|
1870
|
-
/**
|
|
1871
|
-
*
|
|
1872
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
1873
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1874
|
-
* @param {*} [options] Override http request option.
|
|
1875
|
-
* @throws {RequiredError}
|
|
1876
|
-
*/
|
|
1877
|
-
getArtistSettings(version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetArtistSettingsResponse>;
|
|
1878
|
-
/**
|
|
1879
|
-
*
|
|
1880
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
1881
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1882
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1883
|
-
* @param {*} [options] Override http request option.
|
|
1884
|
-
* @throws {RequiredError}
|
|
1885
|
-
*/
|
|
1886
|
-
getArtistSettingsByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetArtistSettingsResponse>;
|
|
1887
1430
|
/**
|
|
1888
1431
|
* Retrieve asset metadata by using fileId.
|
|
1889
1432
|
* @summary Get asset metadata
|
|
@@ -1925,52 +1468,6 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1925
1468
|
* @throws {RequiredError}
|
|
1926
1469
|
*/
|
|
1927
1470
|
getCustomerData(labelName: string, take?: number, cursor?: string, search?: string, signedLabel?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): AxiosPromise<CustomerProfileData>;
|
|
1928
|
-
/**
|
|
1929
|
-
*
|
|
1930
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
1931
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1932
|
-
* @param {*} [options] Override http request option.
|
|
1933
|
-
* @throws {RequiredError}
|
|
1934
|
-
*/
|
|
1935
|
-
getMusicConsent(version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetMusicConsentResponse>;
|
|
1936
|
-
/**
|
|
1937
|
-
*
|
|
1938
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
1939
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
1940
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
1941
|
-
* @param {*} [options] Override http request option.
|
|
1942
|
-
* @throws {RequiredError}
|
|
1943
|
-
*/
|
|
1944
|
-
getMusicConsentByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetMusicConsentResponse>;
|
|
1945
|
-
/**
|
|
1946
|
-
* 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.
|
|
1947
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
1948
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1949
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
1950
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1951
|
-
* @param {*} [options] Override http request option.
|
|
1952
|
-
* @throws {RequiredError}
|
|
1953
|
-
*/
|
|
1954
|
-
getNilAssetThumbnail(assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1955
|
-
/**
|
|
1956
|
-
* 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.
|
|
1957
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
1958
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
1959
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1960
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
1961
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1962
|
-
* @param {*} [options] Override http request option.
|
|
1963
|
-
* @throws {RequiredError}
|
|
1964
|
-
*/
|
|
1965
|
-
getNilAssetThumbnailByUsername(username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1966
|
-
/**
|
|
1967
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
1968
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
1969
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
1970
|
-
* @param {*} [options] Override http request option.
|
|
1971
|
-
* @throws {RequiredError}
|
|
1972
|
-
*/
|
|
1973
|
-
getNilIngestionStatus(requestId: string, options?: RawAxiosRequestConfig): AxiosPromise<NilIngestionStatusResponse>;
|
|
1974
1471
|
/**
|
|
1975
1472
|
* Get all collections that are opted-out.
|
|
1976
1473
|
* @summary Get opted-out collections
|
|
@@ -1998,21 +1495,6 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1998
1495
|
* @throws {RequiredError}
|
|
1999
1496
|
*/
|
|
2000
1497
|
getOwnCollections(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, releaseType?: string, useForTraining?: GetOwnCollectionsUseForTrainingEnum, options?: RawAxiosRequestConfig): AxiosPromise<ArtistProfileData>;
|
|
2001
|
-
/**
|
|
2002
|
-
*
|
|
2003
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
2004
|
-
* @param {*} [options] Override http request option.
|
|
2005
|
-
* @throws {RequiredError}
|
|
2006
|
-
*/
|
|
2007
|
-
getPermissionNotify(options?: RawAxiosRequestConfig): AxiosPromise<PermissionNotifyResponse>;
|
|
2008
|
-
/**
|
|
2009
|
-
*
|
|
2010
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
2011
|
-
* @param {string} username
|
|
2012
|
-
* @param {*} [options] Override http request option.
|
|
2013
|
-
* @throws {RequiredError}
|
|
2014
|
-
*/
|
|
2015
|
-
getPermissionNotifyByUsername(username: string, options?: RawAxiosRequestConfig): AxiosPromise<PermissionNotifyResponse>;
|
|
2016
1498
|
/**
|
|
2017
1499
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
2018
1500
|
* @summary Prompt history
|
|
@@ -2105,23 +1587,6 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
2105
1587
|
* @throws {RequiredError}
|
|
2106
1588
|
*/
|
|
2107
1589
|
optOutAnalysis(contentType: OptOutAnalysisContentTypeEnum, postOptOutAnalysisBody: PostOptOutAnalysisBody, options?: RawAxiosRequestConfig): AxiosPromise<PostAudioLdmResponse>;
|
|
2108
|
-
/**
|
|
2109
|
-
*
|
|
2110
|
-
* @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.
|
|
2111
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2112
|
-
* @param {*} [options] Override http request option.
|
|
2113
|
-
* @throws {RequiredError}
|
|
2114
|
-
*/
|
|
2115
|
-
putPermissionNotify(permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig): AxiosPromise<PermissionNotifyResponse>;
|
|
2116
|
-
/**
|
|
2117
|
-
*
|
|
2118
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
2119
|
-
* @param {string} username
|
|
2120
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2121
|
-
* @param {*} [options] Override http request option.
|
|
2122
|
-
* @throws {RequiredError}
|
|
2123
|
-
*/
|
|
2124
|
-
putPermissionNotifyByUsername(username: string, permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig): AxiosPromise<PermissionNotifyResponse>;
|
|
2125
1590
|
/**
|
|
2126
1591
|
* 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.
|
|
2127
1592
|
* @summary Reimagine image
|
|
@@ -2140,48 +1605,6 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
2140
1605
|
* @throws {RequiredError}
|
|
2141
1606
|
*/
|
|
2142
1607
|
removeBackground(contentType: RemoveBackgroundContentTypeEnum, removeBackgroundRequest: RemoveBackgroundRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostLdmResponse>;
|
|
2143
|
-
/**
|
|
2144
|
-
* 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.
|
|
2145
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
2146
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
2147
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2148
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2149
|
-
* @param {*} [options] Override http request option.
|
|
2150
|
-
* @throws {RequiredError}
|
|
2151
|
-
*/
|
|
2152
|
-
saveArtistSettings(postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostArtistSettingsResponse>;
|
|
2153
|
-
/**
|
|
2154
|
-
* 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.
|
|
2155
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
2156
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
2157
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
2158
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2159
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2160
|
-
* @param {*} [options] Override http request option.
|
|
2161
|
-
* @throws {RequiredError}
|
|
2162
|
-
*/
|
|
2163
|
-
saveArtistSettingsByUsername(username: string, postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostArtistSettingsResponse>;
|
|
2164
|
-
/**
|
|
2165
|
-
* 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.
|
|
2166
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
2167
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2168
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2169
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2170
|
-
* @param {*} [options] Override http request option.
|
|
2171
|
-
* @throws {RequiredError}
|
|
2172
|
-
*/
|
|
2173
|
-
saveMusicConsent(postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostMusicConsentResponse>;
|
|
2174
|
-
/**
|
|
2175
|
-
* 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.
|
|
2176
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
2177
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
2178
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2179
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2180
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2181
|
-
* @param {*} [options] Override http request option.
|
|
2182
|
-
* @throws {RequiredError}
|
|
2183
|
-
*/
|
|
2184
|
-
saveMusicConsentByUsername(username: string, postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostMusicConsentResponse>;
|
|
2185
1608
|
/**
|
|
2186
1609
|
* 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.
|
|
2187
1610
|
* @summary Set filepaths for a collection
|
|
@@ -2322,6 +1745,7 @@ export interface SureelApiInterface {
|
|
|
2322
1745
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
2323
1746
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
2324
1747
|
* @param {*} [options] Override http request option.
|
|
1748
|
+
* @deprecated
|
|
2325
1749
|
* @throws {RequiredError}
|
|
2326
1750
|
* @memberof SureelApiInterface
|
|
2327
1751
|
*/
|
|
@@ -2456,25 +1880,6 @@ export interface SureelApiInterface {
|
|
|
2456
1880
|
* @memberof SureelApiInterface
|
|
2457
1881
|
*/
|
|
2458
1882
|
createCoverArt(contentType: CreateCoverArtContentTypeEnum, coverArtRequest: CoverArtRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostLdmResponse>;
|
|
2459
|
-
/**
|
|
2460
|
-
* 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.
|
|
2461
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
2462
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
2463
|
-
* @param {*} [options] Override http request option.
|
|
2464
|
-
* @throws {RequiredError}
|
|
2465
|
-
* @memberof SureelApiInterface
|
|
2466
|
-
*/
|
|
2467
|
-
createNilAssetUploadUrl(createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig): AxiosPromise<CreateNilAssetUploadUrlResponse>;
|
|
2468
|
-
/**
|
|
2469
|
-
* 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.
|
|
2470
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
2471
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
2472
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
2473
|
-
* @param {*} [options] Override http request option.
|
|
2474
|
-
* @throws {RequiredError}
|
|
2475
|
-
* @memberof SureelApiInterface
|
|
2476
|
-
*/
|
|
2477
|
-
createNilAssetUploadUrlByUsername(username: string, createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig): AxiosPromise<CreateNilAssetUploadUrlResponse>;
|
|
2478
1883
|
/**
|
|
2479
1884
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
2480
1885
|
* @summary Delete collection
|
|
@@ -2493,44 +1898,6 @@ export interface SureelApiInterface {
|
|
|
2493
1898
|
* @memberof SureelApiInterface
|
|
2494
1899
|
*/
|
|
2495
1900
|
deleteRequestById(requestId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2496
|
-
/**
|
|
2497
|
-
*
|
|
2498
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
2499
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
2500
|
-
* @param {*} [options] Override http request option.
|
|
2501
|
-
* @throws {RequiredError}
|
|
2502
|
-
* @memberof SureelApiInterface
|
|
2503
|
-
*/
|
|
2504
|
-
evaluateArtistSettings(evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateArtistSettingsResponse>;
|
|
2505
|
-
/**
|
|
2506
|
-
*
|
|
2507
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
2508
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
2509
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
2510
|
-
* @param {*} [options] Override http request option.
|
|
2511
|
-
* @throws {RequiredError}
|
|
2512
|
-
* @memberof SureelApiInterface
|
|
2513
|
-
*/
|
|
2514
|
-
evaluateArtistSettingsByUsername(username: string, evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateArtistSettingsResponse>;
|
|
2515
|
-
/**
|
|
2516
|
-
*
|
|
2517
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
2518
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
2519
|
-
* @param {*} [options] Override http request option.
|
|
2520
|
-
* @throws {RequiredError}
|
|
2521
|
-
* @memberof SureelApiInterface
|
|
2522
|
-
*/
|
|
2523
|
-
evaluateMusicConsent(evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateMusicConsentResponse>;
|
|
2524
|
-
/**
|
|
2525
|
-
*
|
|
2526
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
2527
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
2528
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
2529
|
-
* @param {*} [options] Override http request option.
|
|
2530
|
-
* @throws {RequiredError}
|
|
2531
|
-
* @memberof SureelApiInterface
|
|
2532
|
-
*/
|
|
2533
|
-
evaluateMusicConsentByUsername(username: string, evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateMusicConsentResponse>;
|
|
2534
1901
|
/**
|
|
2535
1902
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
2536
1903
|
* @summary Face swap
|
|
@@ -2637,25 +2004,6 @@ export interface SureelApiInterface {
|
|
|
2637
2004
|
* @memberof SureelApiInterface
|
|
2638
2005
|
*/
|
|
2639
2006
|
getArtistByUsername(includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, releaseType?: string, useForTraining?: GetArtistByUsernameUseForTrainingEnum, options?: RawAxiosRequestConfig): AxiosPromise<ArtistProfileData>;
|
|
2640
|
-
/**
|
|
2641
|
-
*
|
|
2642
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
2643
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
2644
|
-
* @param {*} [options] Override http request option.
|
|
2645
|
-
* @throws {RequiredError}
|
|
2646
|
-
* @memberof SureelApiInterface
|
|
2647
|
-
*/
|
|
2648
|
-
getArtistSettings(version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetArtistSettingsResponse>;
|
|
2649
|
-
/**
|
|
2650
|
-
*
|
|
2651
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
2652
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
2653
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
2654
|
-
* @param {*} [options] Override http request option.
|
|
2655
|
-
* @throws {RequiredError}
|
|
2656
|
-
* @memberof SureelApiInterface
|
|
2657
|
-
*/
|
|
2658
|
-
getArtistSettingsByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetArtistSettingsResponse>;
|
|
2659
2007
|
/**
|
|
2660
2008
|
* Retrieve asset metadata by using fileId.
|
|
2661
2009
|
* @summary Get asset metadata
|
|
@@ -2701,57 +2049,6 @@ export interface SureelApiInterface {
|
|
|
2701
2049
|
* @memberof SureelApiInterface
|
|
2702
2050
|
*/
|
|
2703
2051
|
getCustomerData(labelName: string, take?: number, cursor?: string, search?: string, signedLabel?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): AxiosPromise<CustomerProfileData>;
|
|
2704
|
-
/**
|
|
2705
|
-
*
|
|
2706
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
2707
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
2708
|
-
* @param {*} [options] Override http request option.
|
|
2709
|
-
* @throws {RequiredError}
|
|
2710
|
-
* @memberof SureelApiInterface
|
|
2711
|
-
*/
|
|
2712
|
-
getMusicConsent(version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetMusicConsentResponse>;
|
|
2713
|
-
/**
|
|
2714
|
-
*
|
|
2715
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
2716
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
2717
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
2718
|
-
* @param {*} [options] Override http request option.
|
|
2719
|
-
* @throws {RequiredError}
|
|
2720
|
-
* @memberof SureelApiInterface
|
|
2721
|
-
*/
|
|
2722
|
-
getMusicConsentByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetMusicConsentResponse>;
|
|
2723
|
-
/**
|
|
2724
|
-
* 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.
|
|
2725
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
2726
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
2727
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
2728
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
2729
|
-
* @param {*} [options] Override http request option.
|
|
2730
|
-
* @throws {RequiredError}
|
|
2731
|
-
* @memberof SureelApiInterface
|
|
2732
|
-
*/
|
|
2733
|
-
getNilAssetThumbnail(assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
2734
|
-
/**
|
|
2735
|
-
* 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.
|
|
2736
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
2737
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
2738
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
2739
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
2740
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
2741
|
-
* @param {*} [options] Override http request option.
|
|
2742
|
-
* @throws {RequiredError}
|
|
2743
|
-
* @memberof SureelApiInterface
|
|
2744
|
-
*/
|
|
2745
|
-
getNilAssetThumbnailByUsername(username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
2746
|
-
/**
|
|
2747
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
2748
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
2749
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
2750
|
-
* @param {*} [options] Override http request option.
|
|
2751
|
-
* @throws {RequiredError}
|
|
2752
|
-
* @memberof SureelApiInterface
|
|
2753
|
-
*/
|
|
2754
|
-
getNilIngestionStatus(requestId: string, options?: RawAxiosRequestConfig): AxiosPromise<NilIngestionStatusResponse>;
|
|
2755
2052
|
/**
|
|
2756
2053
|
* Get all collections that are opted-out.
|
|
2757
2054
|
* @summary Get opted-out collections
|
|
@@ -2781,23 +2078,6 @@ export interface SureelApiInterface {
|
|
|
2781
2078
|
* @memberof SureelApiInterface
|
|
2782
2079
|
*/
|
|
2783
2080
|
getOwnCollections(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, releaseType?: string, useForTraining?: GetOwnCollectionsUseForTrainingEnum, options?: RawAxiosRequestConfig): AxiosPromise<ArtistProfileData>;
|
|
2784
|
-
/**
|
|
2785
|
-
*
|
|
2786
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
2787
|
-
* @param {*} [options] Override http request option.
|
|
2788
|
-
* @throws {RequiredError}
|
|
2789
|
-
* @memberof SureelApiInterface
|
|
2790
|
-
*/
|
|
2791
|
-
getPermissionNotify(options?: RawAxiosRequestConfig): AxiosPromise<PermissionNotifyResponse>;
|
|
2792
|
-
/**
|
|
2793
|
-
*
|
|
2794
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
2795
|
-
* @param {string} username
|
|
2796
|
-
* @param {*} [options] Override http request option.
|
|
2797
|
-
* @throws {RequiredError}
|
|
2798
|
-
* @memberof SureelApiInterface
|
|
2799
|
-
*/
|
|
2800
|
-
getPermissionNotifyByUsername(username: string, options?: RawAxiosRequestConfig): AxiosPromise<PermissionNotifyResponse>;
|
|
2801
2081
|
/**
|
|
2802
2082
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
2803
2083
|
* @summary Prompt history
|
|
@@ -2900,25 +2180,6 @@ export interface SureelApiInterface {
|
|
|
2900
2180
|
* @memberof SureelApiInterface
|
|
2901
2181
|
*/
|
|
2902
2182
|
optOutAnalysis(contentType: OptOutAnalysisContentTypeEnum, postOptOutAnalysisBody: PostOptOutAnalysisBody, options?: RawAxiosRequestConfig): AxiosPromise<PostAudioLdmResponse>;
|
|
2903
|
-
/**
|
|
2904
|
-
*
|
|
2905
|
-
* @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.
|
|
2906
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2907
|
-
* @param {*} [options] Override http request option.
|
|
2908
|
-
* @throws {RequiredError}
|
|
2909
|
-
* @memberof SureelApiInterface
|
|
2910
|
-
*/
|
|
2911
|
-
putPermissionNotify(permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig): AxiosPromise<PermissionNotifyResponse>;
|
|
2912
|
-
/**
|
|
2913
|
-
*
|
|
2914
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
2915
|
-
* @param {string} username
|
|
2916
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
2917
|
-
* @param {*} [options] Override http request option.
|
|
2918
|
-
* @throws {RequiredError}
|
|
2919
|
-
* @memberof SureelApiInterface
|
|
2920
|
-
*/
|
|
2921
|
-
putPermissionNotifyByUsername(username: string, permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig): AxiosPromise<PermissionNotifyResponse>;
|
|
2922
2183
|
/**
|
|
2923
2184
|
* 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.
|
|
2924
2185
|
* @summary Reimagine image
|
|
@@ -2939,52 +2200,6 @@ export interface SureelApiInterface {
|
|
|
2939
2200
|
* @memberof SureelApiInterface
|
|
2940
2201
|
*/
|
|
2941
2202
|
removeBackground(contentType: RemoveBackgroundContentTypeEnum, removeBackgroundRequest: RemoveBackgroundRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostLdmResponse>;
|
|
2942
|
-
/**
|
|
2943
|
-
* 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.
|
|
2944
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
2945
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
2946
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2947
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2948
|
-
* @param {*} [options] Override http request option.
|
|
2949
|
-
* @throws {RequiredError}
|
|
2950
|
-
* @memberof SureelApiInterface
|
|
2951
|
-
*/
|
|
2952
|
-
saveArtistSettings(postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostArtistSettingsResponse>;
|
|
2953
|
-
/**
|
|
2954
|
-
* 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.
|
|
2955
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
2956
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
2957
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
2958
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2959
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2960
|
-
* @param {*} [options] Override http request option.
|
|
2961
|
-
* @throws {RequiredError}
|
|
2962
|
-
* @memberof SureelApiInterface
|
|
2963
|
-
*/
|
|
2964
|
-
saveArtistSettingsByUsername(username: string, postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostArtistSettingsResponse>;
|
|
2965
|
-
/**
|
|
2966
|
-
* 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.
|
|
2967
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
2968
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2969
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2970
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2971
|
-
* @param {*} [options] Override http request option.
|
|
2972
|
-
* @throws {RequiredError}
|
|
2973
|
-
* @memberof SureelApiInterface
|
|
2974
|
-
*/
|
|
2975
|
-
saveMusicConsent(postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostMusicConsentResponse>;
|
|
2976
|
-
/**
|
|
2977
|
-
* 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.
|
|
2978
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
2979
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
2980
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
2981
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
2982
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
2983
|
-
* @param {*} [options] Override http request option.
|
|
2984
|
-
* @throws {RequiredError}
|
|
2985
|
-
* @memberof SureelApiInterface
|
|
2986
|
-
*/
|
|
2987
|
-
saveMusicConsentByUsername(username: string, postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<PostMusicConsentResponse>;
|
|
2988
2203
|
/**
|
|
2989
2204
|
* 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.
|
|
2990
2205
|
* @summary Set filepaths for a collection
|
|
@@ -3139,6 +2354,7 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3139
2354
|
* @param {AiDetectionContentTypeEnum} contentType
|
|
3140
2355
|
* @param {PostDetectAIGeneratedAudioBody} postDetectAIGeneratedAudioBody
|
|
3141
2356
|
* @param {*} [options] Override http request option.
|
|
2357
|
+
* @deprecated
|
|
3142
2358
|
* @throws {RequiredError}
|
|
3143
2359
|
* @memberof SureelApi
|
|
3144
2360
|
*/
|
|
@@ -3273,25 +2489,6 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3273
2489
|
* @memberof SureelApi
|
|
3274
2490
|
*/
|
|
3275
2491
|
createCoverArt(contentType: CreateCoverArtContentTypeEnum, coverArtRequest: CoverArtRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostLdmResponse, any>>;
|
|
3276
|
-
/**
|
|
3277
|
-
* 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.
|
|
3278
|
-
* @summary Get a short-lived URL for uploading a NILV asset
|
|
3279
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
3280
|
-
* @param {*} [options] Override http request option.
|
|
3281
|
-
* @throws {RequiredError}
|
|
3282
|
-
* @memberof SureelApi
|
|
3283
|
-
*/
|
|
3284
|
-
createNilAssetUploadUrl(createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateNilAssetUploadUrlResponse, any>>;
|
|
3285
|
-
/**
|
|
3286
|
-
* 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.
|
|
3287
|
-
* @summary Get an upload URL for a roster artist\'s NILV asset, for a label acting on their behalf
|
|
3288
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3289
|
-
* @param {CreateNilAssetUploadUrlBody} createNilAssetUploadUrlBody
|
|
3290
|
-
* @param {*} [options] Override http request option.
|
|
3291
|
-
* @throws {RequiredError}
|
|
3292
|
-
* @memberof SureelApi
|
|
3293
|
-
*/
|
|
3294
|
-
createNilAssetUploadUrlByUsername(username: string, createNilAssetUploadUrlBody: CreateNilAssetUploadUrlBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateNilAssetUploadUrlResponse, any>>;
|
|
3295
2492
|
/**
|
|
3296
2493
|
* Delete an artist\'s collection. This will also delete all associated artworks and attribution setup files.
|
|
3297
2494
|
* @summary Delete collection
|
|
@@ -3310,44 +2507,6 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3310
2507
|
* @memberof SureelApi
|
|
3311
2508
|
*/
|
|
3312
2509
|
deleteRequestById(requestId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3313
|
-
/**
|
|
3314
|
-
*
|
|
3315
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
3316
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
3317
|
-
* @param {*} [options] Override http request option.
|
|
3318
|
-
* @throws {RequiredError}
|
|
3319
|
-
* @memberof SureelApi
|
|
3320
|
-
*/
|
|
3321
|
-
evaluateArtistSettings(evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvaluateArtistSettingsResponse, any>>;
|
|
3322
|
-
/**
|
|
3323
|
-
*
|
|
3324
|
-
* @summary Ask what an artist\'s consent record permits for a given request
|
|
3325
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3326
|
-
* @param {EvaluateArtistSettingsBody} evaluateArtistSettingsBody
|
|
3327
|
-
* @param {*} [options] Override http request option.
|
|
3328
|
-
* @throws {RequiredError}
|
|
3329
|
-
* @memberof SureelApi
|
|
3330
|
-
*/
|
|
3331
|
-
evaluateArtistSettingsByUsername(username: string, evaluateArtistSettingsBody: EvaluateArtistSettingsBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvaluateArtistSettingsResponse, any>>;
|
|
3332
|
-
/**
|
|
3333
|
-
*
|
|
3334
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
3335
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
3336
|
-
* @param {*} [options] Override http request option.
|
|
3337
|
-
* @throws {RequiredError}
|
|
3338
|
-
* @memberof SureelApi
|
|
3339
|
-
*/
|
|
3340
|
-
evaluateMusicConsent(evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvaluateMusicConsentResponse, any>>;
|
|
3341
|
-
/**
|
|
3342
|
-
*
|
|
3343
|
-
* @summary Ask what a party\'s music consent record permits for a given request
|
|
3344
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
3345
|
-
* @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
|
|
3346
|
-
* @param {*} [options] Override http request option.
|
|
3347
|
-
* @throws {RequiredError}
|
|
3348
|
-
* @memberof SureelApi
|
|
3349
|
-
*/
|
|
3350
|
-
evaluateMusicConsentByUsername(username: string, evaluateMusicConsentBody: EvaluateMusicConsentBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvaluateMusicConsentResponse, any>>;
|
|
3351
2510
|
/**
|
|
3352
2511
|
* Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
|
|
3353
2512
|
* @summary Face swap
|
|
@@ -3454,25 +2613,6 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3454
2613
|
* @memberof SureelApi
|
|
3455
2614
|
*/
|
|
3456
2615
|
getArtistByUsername(includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, releaseType?: string, useForTraining?: GetArtistByUsernameUseForTrainingEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArtistProfileData, any>>;
|
|
3457
|
-
/**
|
|
3458
|
-
*
|
|
3459
|
-
* @summary Get an artist\'s settings, including their NILV consent record
|
|
3460
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3461
|
-
* @param {*} [options] Override http request option.
|
|
3462
|
-
* @throws {RequiredError}
|
|
3463
|
-
* @memberof SureelApi
|
|
3464
|
-
*/
|
|
3465
|
-
getArtistSettings(version?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetArtistSettingsResponse, any>>;
|
|
3466
|
-
/**
|
|
3467
|
-
*
|
|
3468
|
-
* @summary Get a roster artist\'s settings, for a label acting on their behalf
|
|
3469
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3470
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3471
|
-
* @param {*} [options] Override http request option.
|
|
3472
|
-
* @throws {RequiredError}
|
|
3473
|
-
* @memberof SureelApi
|
|
3474
|
-
*/
|
|
3475
|
-
getArtistSettingsByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetArtistSettingsResponse, any>>;
|
|
3476
2616
|
/**
|
|
3477
2617
|
* Retrieve asset metadata by using fileId.
|
|
3478
2618
|
* @summary Get asset metadata
|
|
@@ -3518,57 +2658,6 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3518
2658
|
* @memberof SureelApi
|
|
3519
2659
|
*/
|
|
3520
2660
|
getCustomerData(labelName: string, take?: number, cursor?: string, search?: string, signedLabel?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomerProfileData, any>>;
|
|
3521
|
-
/**
|
|
3522
|
-
*
|
|
3523
|
-
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
3524
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3525
|
-
* @param {*} [options] Override http request option.
|
|
3526
|
-
* @throws {RequiredError}
|
|
3527
|
-
* @memberof SureelApi
|
|
3528
|
-
*/
|
|
3529
|
-
getMusicConsent(version?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMusicConsentResponse, any>>;
|
|
3530
|
-
/**
|
|
3531
|
-
*
|
|
3532
|
-
* @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
|
|
3533
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
3534
|
-
* @param {number} [version] Return this exact historical snapshot instead of the newest one.
|
|
3535
|
-
* @param {*} [options] Override http request option.
|
|
3536
|
-
* @throws {RequiredError}
|
|
3537
|
-
* @memberof SureelApi
|
|
3538
|
-
*/
|
|
3539
|
-
getMusicConsentByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMusicConsentResponse, any>>;
|
|
3540
|
-
/**
|
|
3541
|
-
* 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.
|
|
3542
|
-
* @summary Get a small WebP preview of an ingested NILV image
|
|
3543
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
3544
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
3545
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3546
|
-
* @param {*} [options] Override http request option.
|
|
3547
|
-
* @throws {RequiredError}
|
|
3548
|
-
* @memberof SureelApi
|
|
3549
|
-
*/
|
|
3550
|
-
getNilAssetThumbnail(assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
3551
|
-
/**
|
|
3552
|
-
* 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.
|
|
3553
|
-
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
3554
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3555
|
-
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
3556
|
-
* @param {NilAssetThumbnailSize} [size]
|
|
3557
|
-
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3558
|
-
* @param {*} [options] Override http request option.
|
|
3559
|
-
* @throws {RequiredError}
|
|
3560
|
-
* @memberof SureelApi
|
|
3561
|
-
*/
|
|
3562
|
-
getNilAssetThumbnailByUsername(username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
3563
|
-
/**
|
|
3564
|
-
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
3565
|
-
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
3566
|
-
* @param {string} requestId The request_id returned by a settings write.
|
|
3567
|
-
* @param {*} [options] Override http request option.
|
|
3568
|
-
* @throws {RequiredError}
|
|
3569
|
-
* @memberof SureelApi
|
|
3570
|
-
*/
|
|
3571
|
-
getNilIngestionStatus(requestId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NilIngestionStatusResponse, any>>;
|
|
3572
2661
|
/**
|
|
3573
2662
|
* Get all collections that are opted-out.
|
|
3574
2663
|
* @summary Get opted-out collections
|
|
@@ -3598,23 +2687,6 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3598
2687
|
* @memberof SureelApi
|
|
3599
2688
|
*/
|
|
3600
2689
|
getOwnCollections(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, releaseType?: string, useForTraining?: GetOwnCollectionsUseForTrainingEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArtistProfileData, any>>;
|
|
3601
|
-
/**
|
|
3602
|
-
*
|
|
3603
|
-
* @summary Whether the caller is emailed when permissions change on this account
|
|
3604
|
-
* @param {*} [options] Override http request option.
|
|
3605
|
-
* @throws {RequiredError}
|
|
3606
|
-
* @memberof SureelApi
|
|
3607
|
-
*/
|
|
3608
|
-
getPermissionNotify(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PermissionNotifyResponse, any>>;
|
|
3609
|
-
/**
|
|
3610
|
-
*
|
|
3611
|
-
* @summary Whether the caller is emailed when permissions change on this roster party\'s account
|
|
3612
|
-
* @param {string} username
|
|
3613
|
-
* @param {*} [options] Override http request option.
|
|
3614
|
-
* @throws {RequiredError}
|
|
3615
|
-
* @memberof SureelApi
|
|
3616
|
-
*/
|
|
3617
|
-
getPermissionNotifyByUsername(username: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PermissionNotifyResponse, any>>;
|
|
3618
2690
|
/**
|
|
3619
2691
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
3620
2692
|
* @summary Prompt history
|
|
@@ -3717,25 +2789,6 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3717
2789
|
* @memberof SureelApi
|
|
3718
2790
|
*/
|
|
3719
2791
|
optOutAnalysis(contentType: OptOutAnalysisContentTypeEnum, postOptOutAnalysisBody: PostOptOutAnalysisBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostAudioLdmResponse, any>>;
|
|
3720
|
-
/**
|
|
3721
|
-
*
|
|
3722
|
-
* @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.
|
|
3723
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
3724
|
-
* @param {*} [options] Override http request option.
|
|
3725
|
-
* @throws {RequiredError}
|
|
3726
|
-
* @memberof SureelApi
|
|
3727
|
-
*/
|
|
3728
|
-
putPermissionNotify(permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PermissionNotifyResponse, any>>;
|
|
3729
|
-
/**
|
|
3730
|
-
*
|
|
3731
|
-
* @summary Turn email on or off for permission changes on this roster party\'s account
|
|
3732
|
-
* @param {string} username
|
|
3733
|
-
* @param {PermissionNotifyBody} permissionNotifyBody
|
|
3734
|
-
* @param {*} [options] Override http request option.
|
|
3735
|
-
* @throws {RequiredError}
|
|
3736
|
-
* @memberof SureelApi
|
|
3737
|
-
*/
|
|
3738
|
-
putPermissionNotifyByUsername(username: string, permissionNotifyBody: PermissionNotifyBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PermissionNotifyResponse, any>>;
|
|
3739
2792
|
/**
|
|
3740
2793
|
* 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.
|
|
3741
2794
|
* @summary Reimagine image
|
|
@@ -3756,52 +2809,6 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3756
2809
|
* @memberof SureelApi
|
|
3757
2810
|
*/
|
|
3758
2811
|
removeBackground(contentType: RemoveBackgroundContentTypeEnum, removeBackgroundRequest: RemoveBackgroundRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostLdmResponse, any>>;
|
|
3759
|
-
/**
|
|
3760
|
-
* 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.
|
|
3761
|
-
* @summary Replace an artist\'s settings, appending a new consent version
|
|
3762
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
3763
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
3764
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
3765
|
-
* @param {*} [options] Override http request option.
|
|
3766
|
-
* @throws {RequiredError}
|
|
3767
|
-
* @memberof SureelApi
|
|
3768
|
-
*/
|
|
3769
|
-
saveArtistSettings(postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostArtistSettingsResponse, any>>;
|
|
3770
|
-
/**
|
|
3771
|
-
* 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.
|
|
3772
|
-
* @summary Replace a roster artist\'s settings, for a label acting on their behalf
|
|
3773
|
-
* @param {string} username The artist whose settings are being addressed.
|
|
3774
|
-
* @param {PostArtistSettingsBody} postArtistSettingsBody
|
|
3775
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
3776
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
3777
|
-
* @param {*} [options] Override http request option.
|
|
3778
|
-
* @throws {RequiredError}
|
|
3779
|
-
* @memberof SureelApi
|
|
3780
|
-
*/
|
|
3781
|
-
saveArtistSettingsByUsername(username: string, postArtistSettingsBody: PostArtistSettingsBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostArtistSettingsResponse, any>>;
|
|
3782
|
-
/**
|
|
3783
|
-
* 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.
|
|
3784
|
-
* @summary Replace a party\'s music consents, appending a new consent version
|
|
3785
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
3786
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
3787
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
3788
|
-
* @param {*} [options] Override http request option.
|
|
3789
|
-
* @throws {RequiredError}
|
|
3790
|
-
* @memberof SureelApi
|
|
3791
|
-
*/
|
|
3792
|
-
saveMusicConsent(postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostMusicConsentResponse, any>>;
|
|
3793
|
-
/**
|
|
3794
|
-
* 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.
|
|
3795
|
-
* @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
|
|
3796
|
-
* @param {string} username The party (artist or songwriter) whose music consents are being addressed.
|
|
3797
|
-
* @param {PostMusicConsentBody} postMusicConsentBody
|
|
3798
|
-
* @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
|
|
3799
|
-
* @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
|
|
3800
|
-
* @param {*} [options] Override http request option.
|
|
3801
|
-
* @throws {RequiredError}
|
|
3802
|
-
* @memberof SureelApi
|
|
3803
|
-
*/
|
|
3804
|
-
saveMusicConsentByUsername(username: string, postMusicConsentBody: PostMusicConsentBody, ifMatch?: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostMusicConsentResponse, any>>;
|
|
3805
2812
|
/**
|
|
3806
2813
|
* 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.
|
|
3807
2814
|
* @summary Set filepaths for a collection
|