@sureel/sdk 1.17.0 → 1.17.4-rc.1
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 +349 -115
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +455 -105
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +349 -115
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +454 -104
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/aidetection-result-per-stem-inner.d.ts +1 -1
- package/esm/models/artifacts-per-epoch-entry.d.ts +1 -1
- package/esm/models/artist-profile-data.d.ts +19 -0
- package/esm/models/artist-profile-data.d.ts.map +1 -1
- package/esm/models/artist-settings-duplicate-error.d.ts +24 -0
- package/esm/models/artist-settings-duplicate-error.d.ts.map +1 -1
- package/esm/models/artist-settings-error.d.ts +24 -0
- package/esm/models/artist-settings-error.d.ts.map +1 -1
- package/esm/models/bad-request-response.d.ts +44 -0
- package/esm/models/bad-request-response.d.ts.map +1 -0
- package/esm/models/bad-request-response.js +15 -0
- package/esm/models/bad-request-response.js.map +1 -0
- package/esm/models/create-collection-request.d.ts +1 -1
- package/esm/models/customer-profile-data.d.ts +13 -0
- package/esm/models/customer-profile-data.d.ts.map +1 -1
- package/esm/models/evaluate-artist-settings-body.d.ts +7 -0
- package/esm/models/evaluate-artist-settings-body.d.ts.map +1 -1
- package/esm/models/evaluate-music-consent-body.d.ts +7 -0
- package/esm/models/evaluate-music-consent-body.d.ts.map +1 -1
- package/esm/models/evaluate-music-use.d.ts +19 -0
- package/esm/models/evaluate-music-use.d.ts.map +1 -0
- package/esm/models/evaluate-music-use.js +15 -0
- package/esm/models/evaluate-music-use.js.map +1 -0
- package/esm/models/evaluate-nilv-use.d.ts +19 -0
- package/esm/models/evaluate-nilv-use.d.ts.map +1 -0
- package/esm/models/evaluate-nilv-use.js +15 -0
- package/esm/models/evaluate-nilv-use.js.map +1 -0
- package/esm/models/get-all-artists-response.d.ts +32 -0
- package/esm/models/get-all-artists-response.d.ts.map +1 -0
- package/esm/models/get-all-artists-response.js +15 -0
- package/esm/models/get-all-artists-response.js.map +1 -0
- package/esm/models/identical-matches.d.ts +4 -6
- package/esm/models/identical-matches.d.ts.map +1 -1
- package/esm/models/identical-matches1.d.ts +2 -3
- package/esm/models/identical-matches1.d.ts.map +1 -1
- package/esm/models/index.d.ts +15 -3
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +15 -3
- package/esm/models/index.js.map +1 -1
- package/esm/models/model-file.d.ts +1 -1
- package/esm/models/music-ai-use.d.ts +19 -0
- package/esm/models/music-ai-use.d.ts.map +1 -0
- package/esm/models/music-ai-use.js +15 -0
- package/esm/models/music-ai-use.js.map +1 -0
- package/esm/models/music-consent-error.d.ts +24 -0
- package/esm/models/music-consent-error.d.ts.map +1 -1
- package/esm/models/music-grant-input.d.ts +8 -1
- package/esm/models/music-grant-input.d.ts.map +1 -1
- package/esm/models/music-grant.d.ts +8 -1
- package/esm/models/music-grant.d.ts.map +1 -1
- package/esm/models/music-grant1.d.ts +8 -1
- package/esm/models/music-grant1.d.ts.map +1 -1
- package/esm/models/nil-asset-thumbnail-size.d.ts +19 -0
- package/esm/models/nil-asset-thumbnail-size.d.ts.map +1 -0
- package/esm/models/nil-asset-thumbnail-size.js +15 -0
- package/esm/models/nil-asset-thumbnail-size.js.map +1 -0
- package/esm/models/nilv-ai-use.d.ts +19 -0
- package/esm/models/nilv-ai-use.d.ts.map +1 -0
- package/esm/models/nilv-ai-use.js +15 -0
- package/esm/models/nilv-ai-use.js.map +1 -0
- package/esm/models/nilv-grant-input.d.ts +8 -1
- package/esm/models/nilv-grant-input.d.ts.map +1 -1
- package/esm/models/nilv-grant-response.d.ts +8 -1
- package/esm/models/nilv-grant-response.d.ts.map +1 -1
- package/esm/models/nilv-grant-response1.d.ts +8 -1
- package/esm/models/nilv-grant-response1.d.ts.map +1 -1
- package/esm/models/profile-picture-source.d.ts +19 -0
- package/esm/models/profile-picture-source.d.ts.map +1 -0
- package/esm/models/profile-picture-source.js +15 -0
- package/esm/models/profile-picture-source.js.map +1 -0
- package/esm/models/roster-artist-profile-data.d.ts +25 -0
- package/esm/models/roster-artist-profile-data.d.ts.map +1 -1
- package/esm/models/roster-artist-response.d.ts +33 -0
- package/esm/models/roster-artist-response.d.ts.map +1 -0
- package/esm/models/roster-artist-response.js +15 -0
- package/esm/models/roster-artist-response.js.map +1 -0
- package/esm/models/roster-invited-by-acting-as.d.ts +19 -0
- package/esm/models/roster-invited-by-acting-as.d.ts.map +1 -0
- package/esm/models/roster-invited-by-acting-as.js +15 -0
- package/esm/models/roster-invited-by-acting-as.js.map +1 -0
- package/esm/models/roster-invited-by.d.ts +44 -0
- package/esm/models/roster-invited-by.d.ts.map +1 -0
- package/esm/models/roster-invited-by.js +15 -0
- package/esm/models/roster-invited-by.js.map +1 -0
- package/esm/models/roster-party-org.d.ts +31 -0
- package/esm/models/roster-party-org.d.ts.map +1 -0
- package/esm/models/roster-party-org.js +15 -0
- package/esm/models/roster-party-org.js.map +1 -0
- package/esm/models/roster-party-status.d.ts +19 -0
- package/esm/models/roster-party-status.d.ts.map +1 -0
- package/esm/models/roster-party-status.js +15 -0
- package/esm/models/roster-party-status.js.map +1 -0
- package/esm/models/roster-party.d.ts +88 -0
- package/esm/models/roster-party.d.ts.map +1 -0
- package/esm/models/roster-party.js +15 -0
- package/esm/models/roster-party.js.map +1 -0
- package/esm/models/service-unavailable-response.d.ts +37 -0
- package/esm/models/service-unavailable-response.d.ts.map +1 -0
- package/esm/models/service-unavailable-response.js +15 -0
- package/esm/models/service-unavailable-response.js.map +1 -0
- package/esm/models/set-filepath-file.d.ts +1 -1
- package/esm/models/track-inference-artifacts-body.d.ts +5 -5
- package/esm/models/track-training-artifacts-body.d.ts +2 -2
- package/esm/models/training-artifact-entry.d.ts +2 -2
- package/esm/models/upload-url-request.d.ts +6 -0
- package/esm/models/upload-url-request.d.ts.map +1 -1
- package/esm/models/upload-url.d.ts +1 -1
- package/models/aidetection-result-per-stem-inner.d.ts +1 -1
- package/models/artifacts-per-epoch-entry.d.ts +1 -1
- package/models/artist-profile-data.d.ts +19 -0
- package/models/artist-profile-data.d.ts.map +1 -1
- package/models/artist-settings-duplicate-error.d.ts +24 -0
- package/models/artist-settings-duplicate-error.d.ts.map +1 -1
- package/models/artist-settings-error.d.ts +24 -0
- package/models/artist-settings-error.d.ts.map +1 -1
- package/models/bad-request-response.d.ts +44 -0
- package/models/bad-request-response.d.ts.map +1 -0
- package/models/bad-request-response.js +16 -0
- package/models/bad-request-response.js.map +1 -0
- package/models/create-collection-request.d.ts +1 -1
- package/models/customer-profile-data.d.ts +13 -0
- package/models/customer-profile-data.d.ts.map +1 -1
- package/models/evaluate-artist-settings-body.d.ts +7 -0
- package/models/evaluate-artist-settings-body.d.ts.map +1 -1
- package/models/evaluate-music-consent-body.d.ts +7 -0
- package/models/evaluate-music-consent-body.d.ts.map +1 -1
- package/models/evaluate-music-use.d.ts +19 -0
- package/models/evaluate-music-use.d.ts.map +1 -0
- package/models/evaluate-music-use.js +16 -0
- package/models/evaluate-music-use.js.map +1 -0
- package/models/evaluate-nilv-use.d.ts +19 -0
- package/models/evaluate-nilv-use.d.ts.map +1 -0
- package/models/evaluate-nilv-use.js +16 -0
- package/models/evaluate-nilv-use.js.map +1 -0
- package/models/get-all-artists-response.d.ts +32 -0
- package/models/get-all-artists-response.d.ts.map +1 -0
- package/models/get-all-artists-response.js +16 -0
- package/models/get-all-artists-response.js.map +1 -0
- package/models/identical-matches.d.ts +4 -6
- package/models/identical-matches.d.ts.map +1 -1
- package/models/identical-matches1.d.ts +2 -3
- package/models/identical-matches1.d.ts.map +1 -1
- package/models/index.d.ts +15 -3
- package/models/index.d.ts.map +1 -1
- package/models/index.js +15 -3
- package/models/index.js.map +1 -1
- package/models/model-file.d.ts +1 -1
- package/models/music-ai-use.d.ts +19 -0
- package/models/music-ai-use.d.ts.map +1 -0
- package/models/music-ai-use.js +16 -0
- package/models/music-ai-use.js.map +1 -0
- package/models/music-consent-error.d.ts +24 -0
- package/models/music-consent-error.d.ts.map +1 -1
- package/models/music-grant-input.d.ts +8 -1
- package/models/music-grant-input.d.ts.map +1 -1
- package/models/music-grant.d.ts +8 -1
- package/models/music-grant.d.ts.map +1 -1
- package/models/music-grant1.d.ts +8 -1
- package/models/music-grant1.d.ts.map +1 -1
- package/models/nil-asset-thumbnail-size.d.ts +19 -0
- package/models/nil-asset-thumbnail-size.d.ts.map +1 -0
- package/models/nil-asset-thumbnail-size.js +16 -0
- package/models/nil-asset-thumbnail-size.js.map +1 -0
- package/models/nilv-ai-use.d.ts +19 -0
- package/models/nilv-ai-use.d.ts.map +1 -0
- package/models/nilv-ai-use.js +16 -0
- package/models/nilv-ai-use.js.map +1 -0
- package/models/nilv-grant-input.d.ts +8 -1
- package/models/nilv-grant-input.d.ts.map +1 -1
- package/models/nilv-grant-response.d.ts +8 -1
- package/models/nilv-grant-response.d.ts.map +1 -1
- package/models/nilv-grant-response1.d.ts +8 -1
- package/models/nilv-grant-response1.d.ts.map +1 -1
- package/models/profile-picture-source.d.ts +19 -0
- package/models/profile-picture-source.d.ts.map +1 -0
- package/models/profile-picture-source.js +16 -0
- package/models/profile-picture-source.js.map +1 -0
- package/models/roster-artist-profile-data.d.ts +25 -0
- package/models/roster-artist-profile-data.d.ts.map +1 -1
- package/models/roster-artist-response.d.ts +33 -0
- package/models/roster-artist-response.d.ts.map +1 -0
- package/models/roster-artist-response.js +16 -0
- package/models/roster-artist-response.js.map +1 -0
- package/models/roster-invited-by-acting-as.d.ts +19 -0
- package/models/roster-invited-by-acting-as.d.ts.map +1 -0
- package/models/roster-invited-by-acting-as.js +16 -0
- package/models/roster-invited-by-acting-as.js.map +1 -0
- package/models/roster-invited-by.d.ts +44 -0
- package/models/roster-invited-by.d.ts.map +1 -0
- package/models/roster-invited-by.js +16 -0
- package/models/roster-invited-by.js.map +1 -0
- package/models/roster-party-org.d.ts +31 -0
- package/models/roster-party-org.d.ts.map +1 -0
- package/models/roster-party-org.js +16 -0
- package/models/roster-party-org.js.map +1 -0
- package/models/roster-party-status.d.ts +19 -0
- package/models/roster-party-status.d.ts.map +1 -0
- package/models/roster-party-status.js +16 -0
- package/models/roster-party-status.js.map +1 -0
- package/models/roster-party.d.ts +88 -0
- package/models/roster-party.d.ts.map +1 -0
- package/models/roster-party.js +16 -0
- package/models/roster-party.js.map +1 -0
- package/models/service-unavailable-response.d.ts +37 -0
- package/models/service-unavailable-response.d.ts.map +1 -0
- package/models/service-unavailable-response.js +16 -0
- package/models/service-unavailable-response.js.map +1 -0
- package/models/set-filepath-file.d.ts +1 -1
- package/models/track-inference-artifacts-body.d.ts +5 -5
- package/models/track-training-artifacts-body.d.ts +2 -2
- package/models/training-artifact-entry.d.ts +2 -2
- package/models/upload-url-request.d.ts +6 -0
- package/models/upload-url-request.d.ts.map +1 -1
- package/models/upload-url.d.ts +1 -1
- package/package.json +1 -1
package/api/sureel-api.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ import type { FinetuningRequest } from "../models";
|
|
|
34
34
|
import type { GeneratePreviewRequest } from "../models";
|
|
35
35
|
import type { GetAiCompaniesResponse } from "../models";
|
|
36
36
|
import type { GetAiPlatformAuditResponse } from "../models";
|
|
37
|
+
import type { GetAllArtistsResponse } from "../models";
|
|
37
38
|
import type { GetAnalysisHistoryResponse } from "../models";
|
|
38
39
|
import type { GetArtistSettingsResponse } from "../models";
|
|
39
40
|
import type { GetAssetMetadataResponse } from "../models";
|
|
@@ -48,6 +49,7 @@ import type { GetUploadedFilesResponseInner } from "../models";
|
|
|
48
49
|
import type { ImageAttributionAnalysisRequest } from "../models";
|
|
49
50
|
import type { ImageBlendingRequest } from "../models";
|
|
50
51
|
import type { InpaintRequest } from "../models";
|
|
52
|
+
import type { NilAssetThumbnailSize } from "../models";
|
|
51
53
|
import type { NilIngestionStatusResponse } from "../models";
|
|
52
54
|
import type { PostAccidentalInfringementCheckBody } from "../models";
|
|
53
55
|
import type { PostArtistSettingsBody } from "../models";
|
|
@@ -73,6 +75,7 @@ import type { PostUploadFilesResponse } from "../models";
|
|
|
73
75
|
import type { PutAssetMetadataResponse } from "../models";
|
|
74
76
|
import type { ReimagineRequest } from "../models";
|
|
75
77
|
import type { RemoveBackgroundRequest } from "../models";
|
|
78
|
+
import type { RosterArtistResponse } from "../models";
|
|
76
79
|
import type { RosterRoleFilter } from "../models";
|
|
77
80
|
import type { SetFilepathsRequest } from "../models";
|
|
78
81
|
import type { StyleTransferRequest } from "../models";
|
|
@@ -321,7 +324,7 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
321
324
|
generatePreview: (contentType: GeneratePreviewContentTypeEnum, generatePreviewRequest: GeneratePreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
322
325
|
/**
|
|
323
326
|
* Returns the signed url for the given filenames.
|
|
324
|
-
* @summary Generate signed URLs to
|
|
327
|
+
* @summary Generate signed URLs to upload files to cloud storage
|
|
325
328
|
* @param {GeneratePutUploadUrlsContentTypeEnum} contentType
|
|
326
329
|
* @param {UploadUrlRequest} uploadUrlRequest
|
|
327
330
|
* @param {*} [options] Override http request option.
|
|
@@ -346,17 +349,18 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
346
349
|
*/
|
|
347
350
|
getAiPlatformAudit: (topAssets?: number, topTracksPerAlert?: number, date?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
348
351
|
/**
|
|
349
|
-
* Get a list of
|
|
352
|
+
* Get a paginated list of artists on the public directory, including their published collections. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`. The body is an object, `{ artists, lastEvaluatedKey }`; `lastEvaluatedKey` is absent on the last page, and an empty directory is a 200 with an empty `artists` array. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one starts again from DynamoDB, unordered, and a walk already resuming from an index cursor is refused rather than restarted. By default, each user has a limit of 60 requests per minute.
|
|
350
353
|
* @summary Get all artists
|
|
351
354
|
* @param {string} includeArtworks
|
|
352
355
|
* @param {string} [includeOriginalSongs]
|
|
353
356
|
* @param {string} [includeFullResArtworks]
|
|
354
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
355
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
357
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
358
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
359
|
+
* @param {string} [search] Filter the directory to artists matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. Omit the parameter to read the whole directory: an empty term is refused, because it would otherwise be answered as an unsearched read whose cursor format the next request cannot carry.
|
|
356
360
|
* @param {*} [options] Override http request option.
|
|
357
361
|
* @throws {RequiredError}
|
|
358
362
|
*/
|
|
359
|
-
getAllArtists: (includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
363
|
+
getAllArtists: (includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
360
364
|
/**
|
|
361
365
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
362
366
|
* @summary Analysis history
|
|
@@ -376,16 +380,18 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
376
380
|
* @param {string} username
|
|
377
381
|
* @param {string} [includeOriginalSongs]
|
|
378
382
|
* @param {string} [includeFullResArtworks]
|
|
379
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
380
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
383
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
384
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
381
385
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
382
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
383
|
-
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
384
|
-
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
386
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
387
|
+
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
388
|
+
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
389
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
390
|
+
* @param {GetArtistByUsernameUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
385
391
|
* @param {*} [options] Override http request option.
|
|
386
392
|
* @throws {RequiredError}
|
|
387
393
|
*/
|
|
388
|
-
getArtistByUsername: (includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
394
|
+
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>;
|
|
389
395
|
/**
|
|
390
396
|
*
|
|
391
397
|
* @summary Get an artist\'s settings, including their NILV consent record
|
|
@@ -429,19 +435,21 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
429
435
|
*/
|
|
430
436
|
getCollection: (collectionUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
431
437
|
/**
|
|
432
|
-
*
|
|
438
|
+
* Get the label profile data and one page of the artists associated with the label. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`; `lastEvaluatedKey` is absent on the last page. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one is read from DynamoDB. The optional `signed_label` narrows the roster to one of the company\'s labels, from the same index and with the same 503. A cursor may only be carried between requests that agree on whether `search` or `signed_label` is set, and one this service cannot decode is refused: both answer 400.
|
|
433
439
|
* @summary Get profile data by label name
|
|
434
440
|
* @param {string} labelName
|
|
435
|
-
* @param {number} [take] The `take` parameter is the number of artists to return per page.
|
|
436
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
441
|
+
* @param {number} [take] The `take` parameter is the number of artists to return per page, at most 100. A searched page is read by key out of the profile table, which reads 100 keys per round trip.
|
|
442
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page. A cursor belongs to the read that issued it: one issued by a searched page is refused on an unsearched read and the other way round, and one this service cannot decode is refused too, both with 400.
|
|
443
|
+
* @param {string} [search] Filter the roster to parties matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. The search issues a cursor format of its own, so a `cursor` may only be carried between requests that agree on whether `search` is set: mixing the two is refused. Omit the parameter to read the whole roster: an empty term is refused rather than read as no search at all.
|
|
444
|
+
* @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their `signed_labels`; the company\'s `sub_labels` are the values it holds. Combines with `search`, `roles` and `include_hidden`, and never reaches past the company\'s own roster. Served from the profile index like `search`, with the same 503 while that index is unavailable and the same cursor format: a `cursor` may only be carried between requests that agree on whether either parameter is set.
|
|
437
445
|
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
438
446
|
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
439
447
|
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
440
|
-
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\'s customer_name, songwriters through its publisher_name;
|
|
448
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists and singer-songwriters join through the company\'s customer_name, songwriters through its customer_name (roster invitees) and its publisher_name; every party appears once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
441
449
|
* @param {*} [options] Override http request option.
|
|
442
450
|
* @throws {RequiredError}
|
|
443
451
|
*/
|
|
444
|
-
getCustomerData: (labelName: string, take?: number, cursor?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
452
|
+
getCustomerData: (labelName: string, take?: number, cursor?: string, search?: string, signedLabel?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
445
453
|
/**
|
|
446
454
|
*
|
|
447
455
|
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
@@ -459,6 +467,27 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
459
467
|
* @throws {RequiredError}
|
|
460
468
|
*/
|
|
461
469
|
getMusicConsentByUsername: (username: string, version?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
470
|
+
/**
|
|
471
|
+
* 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.
|
|
472
|
+
* @summary Get a small WebP preview of an ingested NILV image
|
|
473
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
474
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
475
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
getNilAssetThumbnail: (assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
480
|
+
/**
|
|
481
|
+
* 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.
|
|
482
|
+
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
483
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
484
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
485
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
486
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
487
|
+
* @param {*} [options] Override http request option.
|
|
488
|
+
* @throws {RequiredError}
|
|
489
|
+
*/
|
|
490
|
+
getNilAssetThumbnailByUsername: (username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
462
491
|
/**
|
|
463
492
|
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
464
493
|
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
@@ -482,16 +511,18 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
482
511
|
* @param {string} includeArtworks
|
|
483
512
|
* @param {string} [includeOriginalSongs]
|
|
484
513
|
* @param {string} [includeFullResArtworks]
|
|
485
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
486
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
514
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
515
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
487
516
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
488
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
489
|
-
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
490
|
-
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
517
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
518
|
+
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
519
|
+
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
520
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
521
|
+
* @param {GetOwnCollectionsUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
491
522
|
* @param {*} [options] Override http request option.
|
|
492
523
|
* @throws {RequiredError}
|
|
493
524
|
*/
|
|
494
|
-
getOwnCollections: (includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
525
|
+
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>;
|
|
495
526
|
/**
|
|
496
527
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
497
528
|
* @summary Prompt history
|
|
@@ -513,6 +544,17 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
513
544
|
* @throws {RequiredError}
|
|
514
545
|
*/
|
|
515
546
|
getResultByRequestId: (requestId: string, topNAttributionResults?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
547
|
+
/**
|
|
548
|
+
* One roster artist as a roster page shows them, with the org\'s roster rows about them, so a record opened by link does not have to walk the roster to find its artist. Needs the X-Sureel-Org header and `roster:read` on that org, plus `identity:read` for `include_nilv` and `works:read` for `include_music_consent`. An artist the org does not hold answers 404, the same as one that does not exist.
|
|
549
|
+
* @summary Get one artist on a label\'s roster
|
|
550
|
+
* @param {string} labelName
|
|
551
|
+
* @param {string} username
|
|
552
|
+
* @param {boolean} [includeNilv] When true, the artist carries the same `nilv` summary a roster page gives each artist.
|
|
553
|
+
* @param {boolean} [includeMusicConsent] When true, the artist carries the same `music_consent` summary a roster page gives each artist.
|
|
554
|
+
* @param {*} [options] Override http request option.
|
|
555
|
+
* @throws {RequiredError}
|
|
556
|
+
*/
|
|
557
|
+
getRosterArtist: (labelName: string, username: string, includeNilv?: boolean, includeMusicConsent?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
516
558
|
/**
|
|
517
559
|
* Get the style preset parameters for ldm.
|
|
518
560
|
* @summary Style presets for ldm
|
|
@@ -742,7 +784,7 @@ export declare const SureelApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
742
784
|
*/
|
|
743
785
|
updateCollection: (collectionUuid: string, contentType: UpdateCollectionContentTypeEnum, updateCollectionRequest: UpdateCollectionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
744
786
|
/**
|
|
745
|
-
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
787
|
+
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac, .aiff, .aif, .wma - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
746
788
|
* @summary Upload files as form-data
|
|
747
789
|
* @param {UploadFilesContentTypeEnum} contentType
|
|
748
790
|
* @param {string} contentType2
|
|
@@ -996,7 +1038,7 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
996
1038
|
generatePreview(contentType: GeneratePreviewContentTypeEnum, generatePreviewRequest: GeneratePreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostLdmResponse>>;
|
|
997
1039
|
/**
|
|
998
1040
|
* Returns the signed url for the given filenames.
|
|
999
|
-
* @summary Generate signed URLs to
|
|
1041
|
+
* @summary Generate signed URLs to upload files to cloud storage
|
|
1000
1042
|
* @param {GeneratePutUploadUrlsContentTypeEnum} contentType
|
|
1001
1043
|
* @param {UploadUrlRequest} uploadUrlRequest
|
|
1002
1044
|
* @param {*} [options] Override http request option.
|
|
@@ -1021,17 +1063,18 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1021
1063
|
*/
|
|
1022
1064
|
getAiPlatformAudit(topAssets?: number, topTracksPerAlert?: number, date?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAiPlatformAuditResponse>>;
|
|
1023
1065
|
/**
|
|
1024
|
-
* Get a list of
|
|
1066
|
+
* Get a paginated list of artists on the public directory, including their published collections. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`. The body is an object, `{ artists, lastEvaluatedKey }`; `lastEvaluatedKey` is absent on the last page, and an empty directory is a 200 with an empty `artists` array. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one starts again from DynamoDB, unordered, and a walk already resuming from an index cursor is refused rather than restarted. By default, each user has a limit of 60 requests per minute.
|
|
1025
1067
|
* @summary Get all artists
|
|
1026
1068
|
* @param {string} includeArtworks
|
|
1027
1069
|
* @param {string} [includeOriginalSongs]
|
|
1028
1070
|
* @param {string} [includeFullResArtworks]
|
|
1029
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
1030
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
1071
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
1072
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
1073
|
+
* @param {string} [search] Filter the directory to artists matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. Omit the parameter to read the whole directory: an empty term is refused, because it would otherwise be answered as an unsearched read whose cursor format the next request cannot carry.
|
|
1031
1074
|
* @param {*} [options] Override http request option.
|
|
1032
1075
|
* @throws {RequiredError}
|
|
1033
1076
|
*/
|
|
1034
|
-
getAllArtists(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1077
|
+
getAllArtists(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAllArtistsResponse>>;
|
|
1035
1078
|
/**
|
|
1036
1079
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
1037
1080
|
* @summary Analysis history
|
|
@@ -1051,16 +1094,18 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1051
1094
|
* @param {string} username
|
|
1052
1095
|
* @param {string} [includeOriginalSongs]
|
|
1053
1096
|
* @param {string} [includeFullResArtworks]
|
|
1054
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
1055
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
1097
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
1098
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
1056
1099
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
1057
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
1058
|
-
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
1059
|
-
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
1100
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
1101
|
+
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
1102
|
+
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
1103
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
1104
|
+
* @param {GetArtistByUsernameUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
1060
1105
|
* @param {*} [options] Override http request option.
|
|
1061
1106
|
* @throws {RequiredError}
|
|
1062
1107
|
*/
|
|
1063
|
-
getArtistByUsername(includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArtistProfileData>>;
|
|
1108
|
+
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>>;
|
|
1064
1109
|
/**
|
|
1065
1110
|
*
|
|
1066
1111
|
* @summary Get an artist\'s settings, including their NILV consent record
|
|
@@ -1104,19 +1149,21 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1104
1149
|
*/
|
|
1105
1150
|
getCollection(collectionUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCollectionWithLyricsAndStemsResponse>>;
|
|
1106
1151
|
/**
|
|
1107
|
-
*
|
|
1152
|
+
* Get the label profile data and one page of the artists associated with the label. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`; `lastEvaluatedKey` is absent on the last page. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one is read from DynamoDB. The optional `signed_label` narrows the roster to one of the company\'s labels, from the same index and with the same 503. A cursor may only be carried between requests that agree on whether `search` or `signed_label` is set, and one this service cannot decode is refused: both answer 400.
|
|
1108
1153
|
* @summary Get profile data by label name
|
|
1109
1154
|
* @param {string} labelName
|
|
1110
|
-
* @param {number} [take] The `take` parameter is the number of artists to return per page.
|
|
1111
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
1155
|
+
* @param {number} [take] The `take` parameter is the number of artists to return per page, at most 100. A searched page is read by key out of the profile table, which reads 100 keys per round trip.
|
|
1156
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page. A cursor belongs to the read that issued it: one issued by a searched page is refused on an unsearched read and the other way round, and one this service cannot decode is refused too, both with 400.
|
|
1157
|
+
* @param {string} [search] Filter the roster to parties matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. The search issues a cursor format of its own, so a `cursor` may only be carried between requests that agree on whether `search` is set: mixing the two is refused. Omit the parameter to read the whole roster: an empty term is refused rather than read as no search at all.
|
|
1158
|
+
* @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their `signed_labels`; the company\'s `sub_labels` are the values it holds. Combines with `search`, `roles` and `include_hidden`, and never reaches past the company\'s own roster. Served from the profile index like `search`, with the same 503 while that index is unavailable and the same cursor format: a `cursor` may only be carried between requests that agree on whether either parameter is set.
|
|
1112
1159
|
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
1113
1160
|
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
1114
1161
|
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
1115
|
-
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\'s customer_name, songwriters through its publisher_name;
|
|
1162
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists and singer-songwriters join through the company\'s customer_name, songwriters through its customer_name (roster invitees) and its publisher_name; every party appears once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
1116
1163
|
* @param {*} [options] Override http request option.
|
|
1117
1164
|
* @throws {RequiredError}
|
|
1118
1165
|
*/
|
|
1119
|
-
getCustomerData(labelName: string, take?: number, cursor?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerProfileData>>;
|
|
1166
|
+
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>>;
|
|
1120
1167
|
/**
|
|
1121
1168
|
*
|
|
1122
1169
|
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
@@ -1134,6 +1181,27 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1134
1181
|
* @throws {RequiredError}
|
|
1135
1182
|
*/
|
|
1136
1183
|
getMusicConsentByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMusicConsentResponse>>;
|
|
1184
|
+
/**
|
|
1185
|
+
* 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.
|
|
1186
|
+
* @summary Get a small WebP preview of an ingested NILV image
|
|
1187
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1188
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
1189
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1190
|
+
* @param {*} [options] Override http request option.
|
|
1191
|
+
* @throws {RequiredError}
|
|
1192
|
+
*/
|
|
1193
|
+
getNilAssetThumbnail(assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1194
|
+
/**
|
|
1195
|
+
* 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.
|
|
1196
|
+
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
1197
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
1198
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1199
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
1200
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1201
|
+
* @param {*} [options] Override http request option.
|
|
1202
|
+
* @throws {RequiredError}
|
|
1203
|
+
*/
|
|
1204
|
+
getNilAssetThumbnailByUsername(username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
1137
1205
|
/**
|
|
1138
1206
|
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
1139
1207
|
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
@@ -1157,16 +1225,18 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1157
1225
|
* @param {string} includeArtworks
|
|
1158
1226
|
* @param {string} [includeOriginalSongs]
|
|
1159
1227
|
* @param {string} [includeFullResArtworks]
|
|
1160
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
1161
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
1228
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
1229
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
1162
1230
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
1163
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
1164
|
-
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
1165
|
-
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
1231
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
1232
|
+
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
1233
|
+
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
1234
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
1235
|
+
* @param {GetOwnCollectionsUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
1166
1236
|
* @param {*} [options] Override http request option.
|
|
1167
1237
|
* @throws {RequiredError}
|
|
1168
1238
|
*/
|
|
1169
|
-
getOwnCollections(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ArtistProfileData>>;
|
|
1239
|
+
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>>;
|
|
1170
1240
|
/**
|
|
1171
1241
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
1172
1242
|
* @summary Prompt history
|
|
@@ -1188,6 +1258,17 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1188
1258
|
* @throws {RequiredError}
|
|
1189
1259
|
*/
|
|
1190
1260
|
getResultByRequestId(requestId: string, topNAttributionResults?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLdmResponse>>;
|
|
1261
|
+
/**
|
|
1262
|
+
* One roster artist as a roster page shows them, with the org\'s roster rows about them, so a record opened by link does not have to walk the roster to find its artist. Needs the X-Sureel-Org header and `roster:read` on that org, plus `identity:read` for `include_nilv` and `works:read` for `include_music_consent`. An artist the org does not hold answers 404, the same as one that does not exist.
|
|
1263
|
+
* @summary Get one artist on a label\'s roster
|
|
1264
|
+
* @param {string} labelName
|
|
1265
|
+
* @param {string} username
|
|
1266
|
+
* @param {boolean} [includeNilv] When true, the artist carries the same `nilv` summary a roster page gives each artist.
|
|
1267
|
+
* @param {boolean} [includeMusicConsent] When true, the artist carries the same `music_consent` summary a roster page gives each artist.
|
|
1268
|
+
* @param {*} [options] Override http request option.
|
|
1269
|
+
* @throws {RequiredError}
|
|
1270
|
+
*/
|
|
1271
|
+
getRosterArtist(labelName: string, username: string, includeNilv?: boolean, includeMusicConsent?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterArtistResponse>>;
|
|
1191
1272
|
/**
|
|
1192
1273
|
* Get the style preset parameters for ldm.
|
|
1193
1274
|
* @summary Style presets for ldm
|
|
@@ -1417,7 +1498,7 @@ export declare const SureelApiFp: (configuration?: Configuration) => {
|
|
|
1417
1498
|
*/
|
|
1418
1499
|
updateCollection(collectionUuid: string, contentType: UpdateCollectionContentTypeEnum, updateCollectionRequest: UpdateCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1419
1500
|
/**
|
|
1420
|
-
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
1501
|
+
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac, .aiff, .aif, .wma - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
1421
1502
|
* @summary Upload files as form-data
|
|
1422
1503
|
* @param {UploadFilesContentTypeEnum} contentType
|
|
1423
1504
|
* @param {string} contentType2
|
|
@@ -1671,7 +1752,7 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1671
1752
|
generatePreview(contentType: GeneratePreviewContentTypeEnum, generatePreviewRequest: GeneratePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostLdmResponse>;
|
|
1672
1753
|
/**
|
|
1673
1754
|
* Returns the signed url for the given filenames.
|
|
1674
|
-
* @summary Generate signed URLs to
|
|
1755
|
+
* @summary Generate signed URLs to upload files to cloud storage
|
|
1675
1756
|
* @param {GeneratePutUploadUrlsContentTypeEnum} contentType
|
|
1676
1757
|
* @param {UploadUrlRequest} uploadUrlRequest
|
|
1677
1758
|
* @param {*} [options] Override http request option.
|
|
@@ -1696,17 +1777,18 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1696
1777
|
*/
|
|
1697
1778
|
getAiPlatformAudit(topAssets?: number, topTracksPerAlert?: number, date?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAiPlatformAuditResponse>;
|
|
1698
1779
|
/**
|
|
1699
|
-
* Get a list of
|
|
1780
|
+
* Get a paginated list of artists on the public directory, including their published collections. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`. The body is an object, `{ artists, lastEvaluatedKey }`; `lastEvaluatedKey` is absent on the last page, and an empty directory is a 200 with an empty `artists` array. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one starts again from DynamoDB, unordered, and a walk already resuming from an index cursor is refused rather than restarted. By default, each user has a limit of 60 requests per minute.
|
|
1700
1781
|
* @summary Get all artists
|
|
1701
1782
|
* @param {string} includeArtworks
|
|
1702
1783
|
* @param {string} [includeOriginalSongs]
|
|
1703
1784
|
* @param {string} [includeFullResArtworks]
|
|
1704
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
1705
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
1785
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
1786
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
1787
|
+
* @param {string} [search] Filter the directory to artists matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. Omit the parameter to read the whole directory: an empty term is refused, because it would otherwise be answered as an unsearched read whose cursor format the next request cannot carry.
|
|
1706
1788
|
* @param {*} [options] Override http request option.
|
|
1707
1789
|
* @throws {RequiredError}
|
|
1708
1790
|
*/
|
|
1709
|
-
getAllArtists(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1791
|
+
getAllArtists(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAllArtistsResponse>;
|
|
1710
1792
|
/**
|
|
1711
1793
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
1712
1794
|
* @summary Analysis history
|
|
@@ -1726,16 +1808,18 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1726
1808
|
* @param {string} username
|
|
1727
1809
|
* @param {string} [includeOriginalSongs]
|
|
1728
1810
|
* @param {string} [includeFullResArtworks]
|
|
1729
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
1730
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
1811
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
1812
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
1731
1813
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
1732
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
1733
|
-
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
1734
|
-
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
1814
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
1815
|
+
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
1816
|
+
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
1817
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
1818
|
+
* @param {GetArtistByUsernameUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
1735
1819
|
* @param {*} [options] Override http request option.
|
|
1736
1820
|
* @throws {RequiredError}
|
|
1737
1821
|
*/
|
|
1738
|
-
getArtistByUsername(includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<ArtistProfileData>;
|
|
1822
|
+
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>;
|
|
1739
1823
|
/**
|
|
1740
1824
|
*
|
|
1741
1825
|
* @summary Get an artist\'s settings, including their NILV consent record
|
|
@@ -1779,19 +1863,21 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1779
1863
|
*/
|
|
1780
1864
|
getCollection(collectionUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCollectionWithLyricsAndStemsResponse>;
|
|
1781
1865
|
/**
|
|
1782
|
-
*
|
|
1866
|
+
* Get the label profile data and one page of the artists associated with the label. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`; `lastEvaluatedKey` is absent on the last page. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one is read from DynamoDB. The optional `signed_label` narrows the roster to one of the company\'s labels, from the same index and with the same 503. A cursor may only be carried between requests that agree on whether `search` or `signed_label` is set, and one this service cannot decode is refused: both answer 400.
|
|
1783
1867
|
* @summary Get profile data by label name
|
|
1784
1868
|
* @param {string} labelName
|
|
1785
|
-
* @param {number} [take] The `take` parameter is the number of artists to return per page.
|
|
1786
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
1869
|
+
* @param {number} [take] The `take` parameter is the number of artists to return per page, at most 100. A searched page is read by key out of the profile table, which reads 100 keys per round trip.
|
|
1870
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page. A cursor belongs to the read that issued it: one issued by a searched page is refused on an unsearched read and the other way round, and one this service cannot decode is refused too, both with 400.
|
|
1871
|
+
* @param {string} [search] Filter the roster to parties matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. The search issues a cursor format of its own, so a `cursor` may only be carried between requests that agree on whether `search` is set: mixing the two is refused. Omit the parameter to read the whole roster: an empty term is refused rather than read as no search at all.
|
|
1872
|
+
* @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their `signed_labels`; the company\'s `sub_labels` are the values it holds. Combines with `search`, `roles` and `include_hidden`, and never reaches past the company\'s own roster. Served from the profile index like `search`, with the same 503 while that index is unavailable and the same cursor format: a `cursor` may only be carried between requests that agree on whether either parameter is set.
|
|
1787
1873
|
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
1788
1874
|
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
1789
1875
|
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
1790
|
-
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\'s customer_name, songwriters through its publisher_name;
|
|
1876
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists and singer-songwriters join through the company\'s customer_name, songwriters through its customer_name (roster invitees) and its publisher_name; every party appears once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
1791
1877
|
* @param {*} [options] Override http request option.
|
|
1792
1878
|
* @throws {RequiredError}
|
|
1793
1879
|
*/
|
|
1794
|
-
getCustomerData(labelName: string, take?: number, cursor?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): AxiosPromise<CustomerProfileData>;
|
|
1880
|
+
getCustomerData(labelName: string, take?: number, cursor?: string, search?: string, signedLabel?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): AxiosPromise<CustomerProfileData>;
|
|
1795
1881
|
/**
|
|
1796
1882
|
*
|
|
1797
1883
|
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
@@ -1809,6 +1895,27 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1809
1895
|
* @throws {RequiredError}
|
|
1810
1896
|
*/
|
|
1811
1897
|
getMusicConsentByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetMusicConsentResponse>;
|
|
1898
|
+
/**
|
|
1899
|
+
* 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.
|
|
1900
|
+
* @summary Get a small WebP preview of an ingested NILV image
|
|
1901
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1902
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
1903
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1904
|
+
* @param {*} [options] Override http request option.
|
|
1905
|
+
* @throws {RequiredError}
|
|
1906
|
+
*/
|
|
1907
|
+
getNilAssetThumbnail(assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1908
|
+
/**
|
|
1909
|
+
* 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.
|
|
1910
|
+
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
1911
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
1912
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
1913
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
1914
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
1915
|
+
* @param {*} [options] Override http request option.
|
|
1916
|
+
* @throws {RequiredError}
|
|
1917
|
+
*/
|
|
1918
|
+
getNilAssetThumbnailByUsername(username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
1812
1919
|
/**
|
|
1813
1920
|
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
1814
1921
|
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
@@ -1832,16 +1939,18 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1832
1939
|
* @param {string} includeArtworks
|
|
1833
1940
|
* @param {string} [includeOriginalSongs]
|
|
1834
1941
|
* @param {string} [includeFullResArtworks]
|
|
1835
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
1836
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
1942
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
1943
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
1837
1944
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
1838
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
1839
|
-
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
1840
|
-
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
1945
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
1946
|
+
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
1947
|
+
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
1948
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
1949
|
+
* @param {GetOwnCollectionsUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
1841
1950
|
* @param {*} [options] Override http request option.
|
|
1842
1951
|
* @throws {RequiredError}
|
|
1843
1952
|
*/
|
|
1844
|
-
getOwnCollections(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<ArtistProfileData>;
|
|
1953
|
+
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>;
|
|
1845
1954
|
/**
|
|
1846
1955
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
1847
1956
|
* @summary Prompt history
|
|
@@ -1863,6 +1972,17 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
1863
1972
|
* @throws {RequiredError}
|
|
1864
1973
|
*/
|
|
1865
1974
|
getResultByRequestId(requestId: string, topNAttributionResults?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetLdmResponse>;
|
|
1975
|
+
/**
|
|
1976
|
+
* One roster artist as a roster page shows them, with the org\'s roster rows about them, so a record opened by link does not have to walk the roster to find its artist. Needs the X-Sureel-Org header and `roster:read` on that org, plus `identity:read` for `include_nilv` and `works:read` for `include_music_consent`. An artist the org does not hold answers 404, the same as one that does not exist.
|
|
1977
|
+
* @summary Get one artist on a label\'s roster
|
|
1978
|
+
* @param {string} labelName
|
|
1979
|
+
* @param {string} username
|
|
1980
|
+
* @param {boolean} [includeNilv] When true, the artist carries the same `nilv` summary a roster page gives each artist.
|
|
1981
|
+
* @param {boolean} [includeMusicConsent] When true, the artist carries the same `music_consent` summary a roster page gives each artist.
|
|
1982
|
+
* @param {*} [options] Override http request option.
|
|
1983
|
+
* @throws {RequiredError}
|
|
1984
|
+
*/
|
|
1985
|
+
getRosterArtist(labelName: string, username: string, includeNilv?: boolean, includeMusicConsent?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<RosterArtistResponse>;
|
|
1866
1986
|
/**
|
|
1867
1987
|
* Get the style preset parameters for ldm.
|
|
1868
1988
|
* @summary Style presets for ldm
|
|
@@ -2092,7 +2212,7 @@ export declare const SureelApiFactory: (configuration?: Configuration, basePath?
|
|
|
2092
2212
|
*/
|
|
2093
2213
|
updateCollection(collectionUuid: string, contentType: UpdateCollectionContentTypeEnum, updateCollectionRequest: UpdateCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2094
2214
|
/**
|
|
2095
|
-
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
2215
|
+
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac, .aiff, .aif, .wma - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
2096
2216
|
* @summary Upload files as form-data
|
|
2097
2217
|
* @param {UploadFilesContentTypeEnum} contentType
|
|
2098
2218
|
* @param {string} contentType2
|
|
@@ -2373,7 +2493,7 @@ export interface SureelApiInterface {
|
|
|
2373
2493
|
generatePreview(contentType: GeneratePreviewContentTypeEnum, generatePreviewRequest: GeneratePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostLdmResponse>;
|
|
2374
2494
|
/**
|
|
2375
2495
|
* Returns the signed url for the given filenames.
|
|
2376
|
-
* @summary Generate signed URLs to
|
|
2496
|
+
* @summary Generate signed URLs to upload files to cloud storage
|
|
2377
2497
|
* @param {GeneratePutUploadUrlsContentTypeEnum} contentType
|
|
2378
2498
|
* @param {UploadUrlRequest} uploadUrlRequest
|
|
2379
2499
|
* @param {*} [options] Override http request option.
|
|
@@ -2401,18 +2521,19 @@ export interface SureelApiInterface {
|
|
|
2401
2521
|
*/
|
|
2402
2522
|
getAiPlatformAudit(topAssets?: number, topTracksPerAlert?: number, date?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAiPlatformAuditResponse>;
|
|
2403
2523
|
/**
|
|
2404
|
-
* Get a list of
|
|
2524
|
+
* Get a paginated list of artists on the public directory, including their published collections. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`. The body is an object, `{ artists, lastEvaluatedKey }`; `lastEvaluatedKey` is absent on the last page, and an empty directory is a 200 with an empty `artists` array. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one starts again from DynamoDB, unordered, and a walk already resuming from an index cursor is refused rather than restarted. By default, each user has a limit of 60 requests per minute.
|
|
2405
2525
|
* @summary Get all artists
|
|
2406
2526
|
* @param {string} includeArtworks
|
|
2407
2527
|
* @param {string} [includeOriginalSongs]
|
|
2408
2528
|
* @param {string} [includeFullResArtworks]
|
|
2409
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
2410
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
2529
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
2530
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
2531
|
+
* @param {string} [search] Filter the directory to artists matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. Omit the parameter to read the whole directory: an empty term is refused, because it would otherwise be answered as an unsearched read whose cursor format the next request cannot carry.
|
|
2411
2532
|
* @param {*} [options] Override http request option.
|
|
2412
2533
|
* @throws {RequiredError}
|
|
2413
2534
|
* @memberof SureelApiInterface
|
|
2414
2535
|
*/
|
|
2415
|
-
getAllArtists(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2536
|
+
getAllArtists(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAllArtistsResponse>;
|
|
2416
2537
|
/**
|
|
2417
2538
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
2418
2539
|
* @summary Analysis history
|
|
@@ -2433,17 +2554,19 @@ export interface SureelApiInterface {
|
|
|
2433
2554
|
* @param {string} username
|
|
2434
2555
|
* @param {string} [includeOriginalSongs]
|
|
2435
2556
|
* @param {string} [includeFullResArtworks]
|
|
2436
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
2437
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
2557
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
2558
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
2438
2559
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
2439
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
2440
|
-
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
2441
|
-
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
2560
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
2561
|
+
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
2562
|
+
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
2563
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
2564
|
+
* @param {GetArtistByUsernameUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
2442
2565
|
* @param {*} [options] Override http request option.
|
|
2443
2566
|
* @throws {RequiredError}
|
|
2444
2567
|
* @memberof SureelApiInterface
|
|
2445
2568
|
*/
|
|
2446
|
-
getArtistByUsername(includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<ArtistProfileData>;
|
|
2569
|
+
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>;
|
|
2447
2570
|
/**
|
|
2448
2571
|
*
|
|
2449
2572
|
* @summary Get an artist\'s settings, including their NILV consent record
|
|
@@ -2492,20 +2615,22 @@ export interface SureelApiInterface {
|
|
|
2492
2615
|
*/
|
|
2493
2616
|
getCollection(collectionUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCollectionWithLyricsAndStemsResponse>;
|
|
2494
2617
|
/**
|
|
2495
|
-
*
|
|
2618
|
+
* Get the label profile data and one page of the artists associated with the label. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`; `lastEvaluatedKey` is absent on the last page. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one is read from DynamoDB. The optional `signed_label` narrows the roster to one of the company\'s labels, from the same index and with the same 503. A cursor may only be carried between requests that agree on whether `search` or `signed_label` is set, and one this service cannot decode is refused: both answer 400.
|
|
2496
2619
|
* @summary Get profile data by label name
|
|
2497
2620
|
* @param {string} labelName
|
|
2498
|
-
* @param {number} [take] The `take` parameter is the number of artists to return per page.
|
|
2499
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
2621
|
+
* @param {number} [take] The `take` parameter is the number of artists to return per page, at most 100. A searched page is read by key out of the profile table, which reads 100 keys per round trip.
|
|
2622
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page. A cursor belongs to the read that issued it: one issued by a searched page is refused on an unsearched read and the other way round, and one this service cannot decode is refused too, both with 400.
|
|
2623
|
+
* @param {string} [search] Filter the roster to parties matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. The search issues a cursor format of its own, so a `cursor` may only be carried between requests that agree on whether `search` is set: mixing the two is refused. Omit the parameter to read the whole roster: an empty term is refused rather than read as no search at all.
|
|
2624
|
+
* @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their `signed_labels`; the company\'s `sub_labels` are the values it holds. Combines with `search`, `roles` and `include_hidden`, and never reaches past the company\'s own roster. Served from the profile index like `search`, with the same 503 while that index is unavailable and the same cursor format: a `cursor` may only be carried between requests that agree on whether either parameter is set.
|
|
2500
2625
|
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
2501
2626
|
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
2502
2627
|
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
2503
|
-
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\'s customer_name, songwriters through its publisher_name;
|
|
2628
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists and singer-songwriters join through the company\'s customer_name, songwriters through its customer_name (roster invitees) and its publisher_name; every party appears once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
2504
2629
|
* @param {*} [options] Override http request option.
|
|
2505
2630
|
* @throws {RequiredError}
|
|
2506
2631
|
* @memberof SureelApiInterface
|
|
2507
2632
|
*/
|
|
2508
|
-
getCustomerData(labelName: string, take?: number, cursor?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): AxiosPromise<CustomerProfileData>;
|
|
2633
|
+
getCustomerData(labelName: string, take?: number, cursor?: string, search?: string, signedLabel?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): AxiosPromise<CustomerProfileData>;
|
|
2509
2634
|
/**
|
|
2510
2635
|
*
|
|
2511
2636
|
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
@@ -2525,6 +2650,29 @@ export interface SureelApiInterface {
|
|
|
2525
2650
|
* @memberof SureelApiInterface
|
|
2526
2651
|
*/
|
|
2527
2652
|
getMusicConsentByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetMusicConsentResponse>;
|
|
2653
|
+
/**
|
|
2654
|
+
* 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.
|
|
2655
|
+
* @summary Get a small WebP preview of an ingested NILV image
|
|
2656
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
2657
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
2658
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
2659
|
+
* @param {*} [options] Override http request option.
|
|
2660
|
+
* @throws {RequiredError}
|
|
2661
|
+
* @memberof SureelApiInterface
|
|
2662
|
+
*/
|
|
2663
|
+
getNilAssetThumbnail(assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
2664
|
+
/**
|
|
2665
|
+
* 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.
|
|
2666
|
+
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
2667
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
2668
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
2669
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
2670
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
2671
|
+
* @param {*} [options] Override http request option.
|
|
2672
|
+
* @throws {RequiredError}
|
|
2673
|
+
* @memberof SureelApiInterface
|
|
2674
|
+
*/
|
|
2675
|
+
getNilAssetThumbnailByUsername(username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
2528
2676
|
/**
|
|
2529
2677
|
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
2530
2678
|
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
@@ -2550,17 +2698,19 @@ export interface SureelApiInterface {
|
|
|
2550
2698
|
* @param {string} includeArtworks
|
|
2551
2699
|
* @param {string} [includeOriginalSongs]
|
|
2552
2700
|
* @param {string} [includeFullResArtworks]
|
|
2553
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
2554
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
2701
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
2702
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
2555
2703
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
2556
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
2557
|
-
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
2558
|
-
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
2704
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
2705
|
+
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
2706
|
+
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
2707
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
2708
|
+
* @param {GetOwnCollectionsUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
2559
2709
|
* @param {*} [options] Override http request option.
|
|
2560
2710
|
* @throws {RequiredError}
|
|
2561
2711
|
* @memberof SureelApiInterface
|
|
2562
2712
|
*/
|
|
2563
|
-
getOwnCollections(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, options?: RawAxiosRequestConfig): AxiosPromise<ArtistProfileData>;
|
|
2713
|
+
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>;
|
|
2564
2714
|
/**
|
|
2565
2715
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
2566
2716
|
* @summary Prompt history
|
|
@@ -2584,6 +2734,18 @@ export interface SureelApiInterface {
|
|
|
2584
2734
|
* @memberof SureelApiInterface
|
|
2585
2735
|
*/
|
|
2586
2736
|
getResultByRequestId(requestId: string, topNAttributionResults?: number, options?: RawAxiosRequestConfig): AxiosPromise<GetLdmResponse>;
|
|
2737
|
+
/**
|
|
2738
|
+
* One roster artist as a roster page shows them, with the org\'s roster rows about them, so a record opened by link does not have to walk the roster to find its artist. Needs the X-Sureel-Org header and `roster:read` on that org, plus `identity:read` for `include_nilv` and `works:read` for `include_music_consent`. An artist the org does not hold answers 404, the same as one that does not exist.
|
|
2739
|
+
* @summary Get one artist on a label\'s roster
|
|
2740
|
+
* @param {string} labelName
|
|
2741
|
+
* @param {string} username
|
|
2742
|
+
* @param {boolean} [includeNilv] When true, the artist carries the same `nilv` summary a roster page gives each artist.
|
|
2743
|
+
* @param {boolean} [includeMusicConsent] When true, the artist carries the same `music_consent` summary a roster page gives each artist.
|
|
2744
|
+
* @param {*} [options] Override http request option.
|
|
2745
|
+
* @throws {RequiredError}
|
|
2746
|
+
* @memberof SureelApiInterface
|
|
2747
|
+
*/
|
|
2748
|
+
getRosterArtist(labelName: string, username: string, includeNilv?: boolean, includeMusicConsent?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<RosterArtistResponse>;
|
|
2587
2749
|
/**
|
|
2588
2750
|
* Get the style preset parameters for ldm.
|
|
2589
2751
|
* @summary Style presets for ldm
|
|
@@ -2838,7 +3000,7 @@ export interface SureelApiInterface {
|
|
|
2838
3000
|
*/
|
|
2839
3001
|
updateCollection(collectionUuid: string, contentType: UpdateCollectionContentTypeEnum, updateCollectionRequest: UpdateCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2840
3002
|
/**
|
|
2841
|
-
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
3003
|
+
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac, .aiff, .aif, .wma - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
2842
3004
|
* @summary Upload files as form-data
|
|
2843
3005
|
* @param {UploadFilesContentTypeEnum} contentType
|
|
2844
3006
|
* @param {string} contentType2
|
|
@@ -3122,7 +3284,7 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3122
3284
|
generatePreview(contentType: GeneratePreviewContentTypeEnum, generatePreviewRequest: GeneratePreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostLdmResponse, any>>;
|
|
3123
3285
|
/**
|
|
3124
3286
|
* Returns the signed url for the given filenames.
|
|
3125
|
-
* @summary Generate signed URLs to
|
|
3287
|
+
* @summary Generate signed URLs to upload files to cloud storage
|
|
3126
3288
|
* @param {GeneratePutUploadUrlsContentTypeEnum} contentType
|
|
3127
3289
|
* @param {UploadUrlRequest} uploadUrlRequest
|
|
3128
3290
|
* @param {*} [options] Override http request option.
|
|
@@ -3150,18 +3312,19 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3150
3312
|
*/
|
|
3151
3313
|
getAiPlatformAudit(topAssets?: number, topTracksPerAlert?: number, date?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAiPlatformAuditResponse, any>>;
|
|
3152
3314
|
/**
|
|
3153
|
-
* Get a list of
|
|
3315
|
+
* Get a paginated list of artists on the public directory, including their published collections. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`. The body is an object, `{ artists, lastEvaluatedKey }`; `lastEvaluatedKey` is absent on the last page, and an empty directory is a 200 with an empty `artists` array. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one starts again from DynamoDB, unordered, and a walk already resuming from an index cursor is refused rather than restarted. By default, each user has a limit of 60 requests per minute.
|
|
3154
3316
|
* @summary Get all artists
|
|
3155
3317
|
* @param {string} includeArtworks
|
|
3156
3318
|
* @param {string} [includeOriginalSongs]
|
|
3157
3319
|
* @param {string} [includeFullResArtworks]
|
|
3158
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
3159
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
3320
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
3321
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
3322
|
+
* @param {string} [search] Filter the directory to artists matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. Omit the parameter to read the whole directory: an empty term is refused, because it would otherwise be answered as an unsearched read whose cursor format the next request cannot carry.
|
|
3160
3323
|
* @param {*} [options] Override http request option.
|
|
3161
3324
|
* @throws {RequiredError}
|
|
3162
3325
|
* @memberof SureelApi
|
|
3163
3326
|
*/
|
|
3164
|
-
getAllArtists(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3327
|
+
getAllArtists(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAllArtistsResponse, any>>;
|
|
3165
3328
|
/**
|
|
3166
3329
|
* Retrieve the history of previous analysis requests (such as attribution analysis or AI detection) by using cursor-based pagination.
|
|
3167
3330
|
* @summary Analysis history
|
|
@@ -3182,17 +3345,19 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3182
3345
|
* @param {string} username
|
|
3183
3346
|
* @param {string} [includeOriginalSongs]
|
|
3184
3347
|
* @param {string} [includeFullResArtworks]
|
|
3185
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
3186
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
3348
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
3349
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
3187
3350
|
* @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
3188
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
3189
|
-
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
3190
|
-
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
3351
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
3352
|
+
* @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
3353
|
+
* @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
3354
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
3355
|
+
* @param {GetArtistByUsernameUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
3191
3356
|
* @param {*} [options] Override http request option.
|
|
3192
3357
|
* @throws {RequiredError}
|
|
3193
3358
|
* @memberof SureelApi
|
|
3194
3359
|
*/
|
|
3195
|
-
getArtistByUsername(includeArtworks: string, username: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetArtistByUsernameCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetArtistByUsernameSortByEnum, sortOrder?: GetArtistByUsernameSortOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArtistProfileData, any>>;
|
|
3360
|
+
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>>;
|
|
3196
3361
|
/**
|
|
3197
3362
|
*
|
|
3198
3363
|
* @summary Get an artist\'s settings, including their NILV consent record
|
|
@@ -3241,20 +3406,22 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3241
3406
|
*/
|
|
3242
3407
|
getCollection(collectionUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCollectionWithLyricsAndStemsResponse, any>>;
|
|
3243
3408
|
/**
|
|
3244
|
-
*
|
|
3409
|
+
* Get the label profile data and one page of the artists associated with the label. Read a page at a time with `take` (default 20, at most 100) and resume the walk by passing the previous page\'s `lastEvaluatedKey` back as `cursor`; `lastEvaluatedKey` is absent on the last page. The optional `search` term matches an artist\'s username, a previous username, or their company name, and is served from the profile index alone: while that index is unavailable a searched read answers 503, an unsearched one is read from DynamoDB. The optional `signed_label` narrows the roster to one of the company\'s labels, from the same index and with the same 503. A cursor may only be carried between requests that agree on whether `search` or `signed_label` is set, and one this service cannot decode is refused: both answer 400.
|
|
3245
3410
|
* @summary Get profile data by label name
|
|
3246
3411
|
* @param {string} labelName
|
|
3247
|
-
* @param {number} [take] The `take` parameter is the number of artists to return per page.
|
|
3248
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
|
|
3412
|
+
* @param {number} [take] The `take` parameter is the number of artists to return per page, at most 100. A searched page is read by key out of the profile table, which reads 100 keys per round trip.
|
|
3413
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page. A cursor belongs to the read that issued it: one issued by a searched page is refused on an unsearched read and the other way round, and one this service cannot decode is refused too, both with 400.
|
|
3414
|
+
* @param {string} [search] Filter the roster to parties matching this term, on their username, a previous username, or their company name. Served from the profile index alone: while that index is unavailable a searched read answers 503, because DynamoDB cannot match a name without answering a different question. The search issues a cursor format of its own, so a `cursor` may only be carried between requests that agree on whether `search` is set: mixing the two is refused. Omit the parameter to read the whole roster: an empty term is refused rather than read as no search at all.
|
|
3415
|
+
* @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their `signed_labels`; the company\'s `sub_labels` are the values it holds. Combines with `search`, `roles` and `include_hidden`, and never reaches past the company\'s own roster. Served from the profile index like `search`, with the same 503 while that index is unavailable and the same cursor format: a `cursor` may only be carried between requests that agree on whether either parameter is set.
|
|
3249
3416
|
* @param {boolean} [includeNilv] When true, each roster artist carries a `nilv` summary of their consent record: whether one exists, its version, when it changed and whether the artist or the label changed it. Only the label itself and users connected to it may ask for this. Requires an explicit `take` of at most 100, because the summary costs one read per artist.
|
|
3250
3417
|
* @param {boolean} [includeMusicConsent] When true, each roster artist carries a `music_consent` summary of their music consent record, the track-level twin of `nilv`. Same boundary and the same explicit `take` requirement, because the summary costs one read per artist.
|
|
3251
3418
|
* @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying `show_in_frontend`. Only the label itself and users connected to it may ask for this; anyone else is refused.
|
|
3252
|
-
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\'s customer_name, songwriters through its publisher_name;
|
|
3419
|
+
* @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists and singer-songwriters join through the company\'s customer_name, songwriters through its customer_name (roster invitees) and its publisher_name; every party appears once. Omitted, the roster behaves exactly as before this parameter existed. Only the company itself and users connected to it may filter by roles, and the cursor format differs from the default one, so do not mix cursors across the two modes.
|
|
3253
3420
|
* @param {*} [options] Override http request option.
|
|
3254
3421
|
* @throws {RequiredError}
|
|
3255
3422
|
* @memberof SureelApi
|
|
3256
3423
|
*/
|
|
3257
|
-
getCustomerData(labelName: string, take?: number, cursor?: string, includeNilv?: boolean, includeMusicConsent?: boolean, includeHidden?: boolean, roles?: Set<RosterRoleFilter>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomerProfileData, any>>;
|
|
3424
|
+
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>>;
|
|
3258
3425
|
/**
|
|
3259
3426
|
*
|
|
3260
3427
|
* @summary Get a party\'s music consent record: what AI may do with their recordings and works
|
|
@@ -3274,6 +3441,29 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3274
3441
|
* @memberof SureelApi
|
|
3275
3442
|
*/
|
|
3276
3443
|
getMusicConsentByUsername(username: string, version?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMusicConsentResponse, any>>;
|
|
3444
|
+
/**
|
|
3445
|
+
* 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.
|
|
3446
|
+
* @summary Get a small WebP preview of an ingested NILV image
|
|
3447
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
3448
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
3449
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3450
|
+
* @param {*} [options] Override http request option.
|
|
3451
|
+
* @throws {RequiredError}
|
|
3452
|
+
* @memberof SureelApi
|
|
3453
|
+
*/
|
|
3454
|
+
getNilAssetThumbnail(assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
3455
|
+
/**
|
|
3456
|
+
* 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.
|
|
3457
|
+
* @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
|
|
3458
|
+
* @param {string} username The artist whose settings are being addressed.
|
|
3459
|
+
* @param {string} assetId The id of a reference image or brand mark in the record.
|
|
3460
|
+
* @param {NilAssetThumbnailSize} [size]
|
|
3461
|
+
* @param {string} [v] Ignored by the server. Clients pass the asset\'s sha256 so a replaced file is not served from cache.
|
|
3462
|
+
* @param {*} [options] Override http request option.
|
|
3463
|
+
* @throws {RequiredError}
|
|
3464
|
+
* @memberof SureelApi
|
|
3465
|
+
*/
|
|
3466
|
+
getNilAssetThumbnailByUsername(username: string, assetId: string, size?: NilAssetThumbnailSize, v?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
3277
3467
|
/**
|
|
3278
3468
|
* Answers 404 for an unknown request and for one belonging to another artist, identically.
|
|
3279
3469
|
* @summary Check how ingestion of a settings submission\'s assets is going
|
|
@@ -3299,17 +3489,19 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3299
3489
|
* @param {string} includeArtworks
|
|
3300
3490
|
* @param {string} [includeOriginalSongs]
|
|
3301
3491
|
* @param {string} [includeFullResArtworks]
|
|
3302
|
-
* @param {number} [take] The `take` parameter is the number of
|
|
3303
|
-
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey`
|
|
3492
|
+
* @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
|
|
3493
|
+
* @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` from the previous page. Omit it to read the first page. A page in the middle of a walk can come back empty and still carry a cursor, so read on until a page comes back without one rather than stopping at the first empty page. A cursor belongs to the sort and the search it was issued under: handing it back with a different `sort_by`, `collection_search_value` or `search` is refused with 400.
|
|
3304
3494
|
* @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
|
|
3305
|
-
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
|
|
3306
|
-
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria.
|
|
3307
|
-
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order.
|
|
3495
|
+
* @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching. Answered by the search index, so the request is refused with 503 while that index is unavailable.
|
|
3496
|
+
* @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria. While the search index is unavailable, only release_date, collection_name and number_of_assets can be answered; the other fields are refused with 503.
|
|
3497
|
+
* @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
|
|
3498
|
+
* @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \'album,single\'). Valid values: album, single, compilation, audio collection, image collection, video collection. Only the values ingestion writes are stored on a record and can therefore be filtered on: album, single, compilation. The remaining values (\"audio collection\", \"image collection\", \"video collection\") are derived at read time from a collection\'s assets and are not filterable yet: asking for one matches nothing.
|
|
3499
|
+
* @param {GetOwnCollectionsUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
|
|
3308
3500
|
* @param {*} [options] Override http request option.
|
|
3309
3501
|
* @throws {RequiredError}
|
|
3310
3502
|
* @memberof SureelApi
|
|
3311
3503
|
*/
|
|
3312
|
-
getOwnCollections(includeArtworks: string, includeOriginalSongs?: string, includeFullResArtworks?: string, take?: number, cursor?: string, collectionSearchField?: GetOwnCollectionsCollectionSearchFieldEnum, collectionSearchValue?: string, sortBy?: GetOwnCollectionsSortByEnum, sortOrder?: GetOwnCollectionsSortOrderEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ArtistProfileData, any>>;
|
|
3504
|
+
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>>;
|
|
3313
3505
|
/**
|
|
3314
3506
|
* Retrieve the history of previous synthesis requests (like text-to-audio) by using cursor-based pagination.
|
|
3315
3507
|
* @summary Prompt history
|
|
@@ -3333,6 +3525,18 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3333
3525
|
* @memberof SureelApi
|
|
3334
3526
|
*/
|
|
3335
3527
|
getResultByRequestId(requestId: string, topNAttributionResults?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLdmResponse, any>>;
|
|
3528
|
+
/**
|
|
3529
|
+
* One roster artist as a roster page shows them, with the org\'s roster rows about them, so a record opened by link does not have to walk the roster to find its artist. Needs the X-Sureel-Org header and `roster:read` on that org, plus `identity:read` for `include_nilv` and `works:read` for `include_music_consent`. An artist the org does not hold answers 404, the same as one that does not exist.
|
|
3530
|
+
* @summary Get one artist on a label\'s roster
|
|
3531
|
+
* @param {string} labelName
|
|
3532
|
+
* @param {string} username
|
|
3533
|
+
* @param {boolean} [includeNilv] When true, the artist carries the same `nilv` summary a roster page gives each artist.
|
|
3534
|
+
* @param {boolean} [includeMusicConsent] When true, the artist carries the same `music_consent` summary a roster page gives each artist.
|
|
3535
|
+
* @param {*} [options] Override http request option.
|
|
3536
|
+
* @throws {RequiredError}
|
|
3537
|
+
* @memberof SureelApi
|
|
3538
|
+
*/
|
|
3539
|
+
getRosterArtist(labelName: string, username: string, includeNilv?: boolean, includeMusicConsent?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterArtistResponse, any>>;
|
|
3336
3540
|
/**
|
|
3337
3541
|
* Get the style preset parameters for ldm.
|
|
3338
3542
|
* @summary Style presets for ldm
|
|
@@ -3587,7 +3791,7 @@ export declare class SureelApi extends BaseAPI implements SureelApiInterface {
|
|
|
3587
3791
|
*/
|
|
3588
3792
|
updateCollection(collectionUuid: string, contentType: UpdateCollectionContentTypeEnum, updateCollectionRequest: UpdateCollectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3589
3793
|
/**
|
|
3590
|
-
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
3794
|
+
* Upload audio, image, video, metadata, or archive files as form-data for use with other endpoints. Allowed file extensions: - Audio: .wav, .mp3, .m4a, .flac, .aiff, .aif, .wma - Image: .jpeg, .jpg, .png, .tif - Video: .mp4 - Metadata: .json, .npy, .xml, .npz - Archive: .zip All uploads are securely stored on the server for a limited time. Maximum file size: 200MB. For files larger than 200MB (e.g. DDEX ZIPs), use `/files/generate-upload-urls` instead.
|
|
3591
3795
|
* @summary Upload files as form-data
|
|
3592
3796
|
* @param {UploadFilesContentTypeEnum} contentType
|
|
3593
3797
|
* @param {string} contentType2
|
|
@@ -3754,6 +3958,13 @@ export declare const GetArtistByUsernameSortByEnum: {
|
|
|
3754
3958
|
readonly ReleaseDate: "release_date";
|
|
3755
3959
|
readonly CollectionName: "collection_name";
|
|
3756
3960
|
readonly NumberOfAssets: "number_of_assets";
|
|
3961
|
+
readonly CreatedAt: "created_at";
|
|
3962
|
+
readonly UpdatedAt: "updated_at";
|
|
3963
|
+
readonly Upc: "upc";
|
|
3964
|
+
readonly Styles: "styles";
|
|
3965
|
+
readonly AiCompanyNotificationsNotificationsStatus: "ai_company_notifications.notifications_status";
|
|
3966
|
+
readonly AiCompanyNotificationsNumberOfContactedAiCompanies: "ai_company_notifications.number_of_contacted_ai_companies";
|
|
3967
|
+
readonly UseForTrainingTimestamp: "use_for_training_timestamp";
|
|
3757
3968
|
};
|
|
3758
3969
|
export type GetArtistByUsernameSortByEnum = (typeof GetArtistByUsernameSortByEnum)[keyof typeof GetArtistByUsernameSortByEnum];
|
|
3759
3970
|
/**
|
|
@@ -3764,6 +3975,14 @@ export declare const GetArtistByUsernameSortOrderEnum: {
|
|
|
3764
3975
|
readonly Desc: "desc";
|
|
3765
3976
|
};
|
|
3766
3977
|
export type GetArtistByUsernameSortOrderEnum = (typeof GetArtistByUsernameSortOrderEnum)[keyof typeof GetArtistByUsernameSortOrderEnum];
|
|
3978
|
+
/**
|
|
3979
|
+
* @export
|
|
3980
|
+
*/
|
|
3981
|
+
export declare const GetArtistByUsernameUseForTrainingEnum: {
|
|
3982
|
+
readonly True: "true";
|
|
3983
|
+
readonly False: "false";
|
|
3984
|
+
};
|
|
3985
|
+
export type GetArtistByUsernameUseForTrainingEnum = (typeof GetArtistByUsernameUseForTrainingEnum)[keyof typeof GetArtistByUsernameUseForTrainingEnum];
|
|
3767
3986
|
/**
|
|
3768
3987
|
* @export
|
|
3769
3988
|
*/
|
|
@@ -3778,6 +3997,13 @@ export declare const GetOwnCollectionsSortByEnum: {
|
|
|
3778
3997
|
readonly ReleaseDate: "release_date";
|
|
3779
3998
|
readonly CollectionName: "collection_name";
|
|
3780
3999
|
readonly NumberOfAssets: "number_of_assets";
|
|
4000
|
+
readonly CreatedAt: "created_at";
|
|
4001
|
+
readonly UpdatedAt: "updated_at";
|
|
4002
|
+
readonly Upc: "upc";
|
|
4003
|
+
readonly Styles: "styles";
|
|
4004
|
+
readonly AiCompanyNotificationsNotificationsStatus: "ai_company_notifications.notifications_status";
|
|
4005
|
+
readonly AiCompanyNotificationsNumberOfContactedAiCompanies: "ai_company_notifications.number_of_contacted_ai_companies";
|
|
4006
|
+
readonly UseForTrainingTimestamp: "use_for_training_timestamp";
|
|
3781
4007
|
};
|
|
3782
4008
|
export type GetOwnCollectionsSortByEnum = (typeof GetOwnCollectionsSortByEnum)[keyof typeof GetOwnCollectionsSortByEnum];
|
|
3783
4009
|
/**
|
|
@@ -3788,6 +4014,14 @@ export declare const GetOwnCollectionsSortOrderEnum: {
|
|
|
3788
4014
|
readonly Desc: "desc";
|
|
3789
4015
|
};
|
|
3790
4016
|
export type GetOwnCollectionsSortOrderEnum = (typeof GetOwnCollectionsSortOrderEnum)[keyof typeof GetOwnCollectionsSortOrderEnum];
|
|
4017
|
+
/**
|
|
4018
|
+
* @export
|
|
4019
|
+
*/
|
|
4020
|
+
export declare const GetOwnCollectionsUseForTrainingEnum: {
|
|
4021
|
+
readonly True: "true";
|
|
4022
|
+
readonly False: "false";
|
|
4023
|
+
};
|
|
4024
|
+
export type GetOwnCollectionsUseForTrainingEnum = (typeof GetOwnCollectionsUseForTrainingEnum)[keyof typeof GetOwnCollectionsUseForTrainingEnum];
|
|
3791
4025
|
/**
|
|
3792
4026
|
* @export
|
|
3793
4027
|
*/
|