@sureel/sdk 1.17.0 → 1.17.4-rc.2

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.
Files changed (283) hide show
  1. package/api/sureel-api.d.ts +344 -169
  2. package/api/sureel-api.d.ts.map +1 -1
  3. package/api/sureel-api.js +451 -193
  4. package/api/sureel-api.js.map +1 -1
  5. package/esm/api/sureel-api.d.ts +344 -169
  6. package/esm/api/sureel-api.d.ts.map +1 -1
  7. package/esm/api/sureel-api.js +450 -192
  8. package/esm/api/sureel-api.js.map +1 -1
  9. package/esm/models/aidetection-result-per-stem-inner.d.ts +1 -1
  10. package/esm/models/apply-watermark-request.d.ts +2 -2
  11. package/esm/models/artifacts-per-epoch-entry.d.ts +1 -1
  12. package/esm/models/artist-profile-data.d.ts +19 -0
  13. package/esm/models/artist-profile-data.d.ts.map +1 -1
  14. package/esm/models/artist-settings-duplicate-error.d.ts +24 -0
  15. package/esm/models/artist-settings-duplicate-error.d.ts.map +1 -1
  16. package/esm/models/artist-settings-error.d.ts +24 -0
  17. package/esm/models/artist-settings-error.d.ts.map +1 -1
  18. package/esm/models/avatar-image-blending-request.d.ts +2 -2
  19. package/esm/models/bad-request-response.d.ts +44 -0
  20. package/esm/models/bad-request-response.d.ts.map +1 -0
  21. package/esm/models/bad-request-response.js +15 -0
  22. package/esm/models/bad-request-response.js.map +1 -0
  23. package/esm/models/calculate-attribution-request.d.ts +1 -1
  24. package/esm/models/control-net-request.d.ts +2 -2
  25. package/esm/models/cover-art-request.d.ts +2 -2
  26. package/esm/models/create-collection-request.d.ts +2 -2
  27. package/esm/models/customer-profile-data.d.ts +13 -0
  28. package/esm/models/customer-profile-data.d.ts.map +1 -1
  29. package/esm/models/ddex-source-manifest.d.ts +1 -1
  30. package/esm/models/ddex-source-zip.d.ts +1 -1
  31. package/esm/models/ddex-source.d.ts +2 -2
  32. package/esm/models/evaluate-artist-settings-body.d.ts +7 -0
  33. package/esm/models/evaluate-artist-settings-body.d.ts.map +1 -1
  34. package/esm/models/evaluate-music-consent-body.d.ts +7 -0
  35. package/esm/models/evaluate-music-consent-body.d.ts.map +1 -1
  36. package/esm/models/evaluate-music-use.d.ts +19 -0
  37. package/esm/models/evaluate-music-use.d.ts.map +1 -0
  38. package/esm/models/evaluate-music-use.js +15 -0
  39. package/esm/models/evaluate-music-use.js.map +1 -0
  40. package/esm/models/evaluate-nilv-use.d.ts +19 -0
  41. package/esm/models/evaluate-nilv-use.d.ts.map +1 -0
  42. package/esm/models/evaluate-nilv-use.js +15 -0
  43. package/esm/models/evaluate-nilv-use.js.map +1 -0
  44. package/esm/models/external-stem.d.ts +1 -1
  45. package/esm/models/generate-preview-request.d.ts +2 -2
  46. package/esm/models/get-all-artists-response.d.ts +32 -0
  47. package/esm/models/get-all-artists-response.d.ts.map +1 -0
  48. package/esm/models/get-all-artists-response.js +15 -0
  49. package/esm/models/get-all-artists-response.js.map +1 -0
  50. package/esm/models/identical-matches.d.ts +4 -6
  51. package/esm/models/identical-matches.d.ts.map +1 -1
  52. package/esm/models/identical-matches1.d.ts +2 -3
  53. package/esm/models/identical-matches1.d.ts.map +1 -1
  54. package/esm/models/image-attribution-analysis-request.d.ts +1 -1
  55. package/esm/models/image-blending-request.d.ts +2 -2
  56. package/esm/models/index.d.ts +15 -4
  57. package/esm/models/index.d.ts.map +1 -1
  58. package/esm/models/index.js +15 -4
  59. package/esm/models/index.js.map +1 -1
  60. package/esm/models/inpaint-request.d.ts +3 -3
  61. package/esm/models/model-file.d.ts +1 -1
  62. package/esm/models/music-ai-use.d.ts +19 -0
  63. package/esm/models/music-ai-use.d.ts.map +1 -0
  64. package/esm/models/music-ai-use.js +15 -0
  65. package/esm/models/music-ai-use.js.map +1 -0
  66. package/esm/models/music-consent-error.d.ts +24 -0
  67. package/esm/models/music-consent-error.d.ts.map +1 -1
  68. package/esm/models/music-grant-input.d.ts +8 -1
  69. package/esm/models/music-grant-input.d.ts.map +1 -1
  70. package/esm/models/music-grant.d.ts +8 -1
  71. package/esm/models/music-grant.d.ts.map +1 -1
  72. package/esm/models/music-grant1.d.ts +8 -1
  73. package/esm/models/music-grant1.d.ts.map +1 -1
  74. package/esm/models/nil-asset-thumbnail-size.d.ts +19 -0
  75. package/esm/models/nil-asset-thumbnail-size.d.ts.map +1 -0
  76. package/esm/models/nil-asset-thumbnail-size.js +15 -0
  77. package/esm/models/nil-asset-thumbnail-size.js.map +1 -0
  78. package/esm/models/nilv-ai-use.d.ts +19 -0
  79. package/esm/models/nilv-ai-use.d.ts.map +1 -0
  80. package/esm/models/nilv-ai-use.js +15 -0
  81. package/esm/models/nilv-ai-use.js.map +1 -0
  82. package/esm/models/nilv-grant-input.d.ts +8 -1
  83. package/esm/models/nilv-grant-input.d.ts.map +1 -1
  84. package/esm/models/nilv-grant-response.d.ts +8 -1
  85. package/esm/models/nilv-grant-response.d.ts.map +1 -1
  86. package/esm/models/nilv-grant-response1.d.ts +8 -1
  87. package/esm/models/nilv-grant-response1.d.ts.map +1 -1
  88. package/esm/models/post-accidental-infringement-check-body.d.ts +1 -1
  89. package/esm/models/post-audio-attribution-analysis-body.d.ts +1 -1
  90. package/esm/models/post-audio-to-audio-body.d.ts +1 -1
  91. package/esm/models/post-calculate-attribution-body-audio.d.ts +1 -1
  92. package/esm/models/post-detect-aigenerated-audio-body.d.ts +1 -1
  93. package/esm/models/post-lyrics-analysis-body.d.ts +1 -1
  94. package/esm/models/post-opt-out-analysis-body.d.ts +1 -1
  95. package/esm/models/post-similar-song-finder-body.d.ts +1 -1
  96. package/esm/models/post-song-analysis.d.ts +1 -1
  97. package/esm/models/post-stem-split-body.d.ts +1 -1
  98. package/esm/models/profile-picture-source.d.ts +19 -0
  99. package/esm/models/profile-picture-source.d.ts.map +1 -0
  100. package/esm/models/profile-picture-source.js +15 -0
  101. package/esm/models/profile-picture-source.js.map +1 -0
  102. package/esm/models/reimagine-request.d.ts +2 -2
  103. package/esm/models/remove-background-request.d.ts +1 -1
  104. package/esm/models/roster-artist-profile-data.d.ts +25 -0
  105. package/esm/models/roster-artist-profile-data.d.ts.map +1 -1
  106. package/esm/models/roster-artist-response.d.ts +33 -0
  107. package/esm/models/roster-artist-response.d.ts.map +1 -0
  108. package/esm/models/roster-artist-response.js +15 -0
  109. package/esm/models/roster-artist-response.js.map +1 -0
  110. package/esm/models/roster-invited-by-acting-as.d.ts +19 -0
  111. package/esm/models/roster-invited-by-acting-as.d.ts.map +1 -0
  112. package/esm/models/roster-invited-by-acting-as.js +15 -0
  113. package/esm/models/roster-invited-by-acting-as.js.map +1 -0
  114. package/esm/models/roster-invited-by.d.ts +44 -0
  115. package/esm/models/roster-invited-by.d.ts.map +1 -0
  116. package/esm/models/roster-invited-by.js +15 -0
  117. package/esm/models/roster-invited-by.js.map +1 -0
  118. package/esm/models/roster-party-org.d.ts +31 -0
  119. package/esm/models/roster-party-org.d.ts.map +1 -0
  120. package/esm/models/roster-party-org.js +15 -0
  121. package/esm/models/roster-party-org.js.map +1 -0
  122. package/esm/models/roster-party-status.d.ts +19 -0
  123. package/esm/models/roster-party-status.d.ts.map +1 -0
  124. package/esm/models/roster-party-status.js +15 -0
  125. package/esm/models/roster-party-status.js.map +1 -0
  126. package/esm/models/roster-party.d.ts +88 -0
  127. package/esm/models/roster-party.d.ts.map +1 -0
  128. package/esm/models/roster-party.js +15 -0
  129. package/esm/models/roster-party.js.map +1 -0
  130. package/esm/models/service-unavailable-response.d.ts +37 -0
  131. package/esm/models/service-unavailable-response.d.ts.map +1 -0
  132. package/esm/models/service-unavailable-response.js +15 -0
  133. package/esm/models/service-unavailable-response.js.map +1 -0
  134. package/esm/models/set-filepath-file.d.ts +1 -1
  135. package/esm/models/style-image.d.ts +1 -1
  136. package/esm/models/style-transfer-request.d.ts +2 -2
  137. package/esm/models/text-to-image-request.d.ts +1 -1
  138. package/esm/models/track-inference-artifacts-body.d.ts +8 -8
  139. package/esm/models/track-training-artifacts-body.d.ts +2 -2
  140. package/esm/models/training-artifact-entry.d.ts +2 -2
  141. package/esm/models/update-collection-request.d.ts +1 -1
  142. package/esm/models/upload-url-request.d.ts +6 -0
  143. package/esm/models/upload-url-request.d.ts.map +1 -1
  144. package/esm/models/upload-url.d.ts +1 -1
  145. package/esm/models/upscale-request.d.ts +2 -2
  146. package/models/aidetection-result-per-stem-inner.d.ts +1 -1
  147. package/models/apply-watermark-request.d.ts +2 -2
  148. package/models/artifacts-per-epoch-entry.d.ts +1 -1
  149. package/models/artist-profile-data.d.ts +19 -0
  150. package/models/artist-profile-data.d.ts.map +1 -1
  151. package/models/artist-settings-duplicate-error.d.ts +24 -0
  152. package/models/artist-settings-duplicate-error.d.ts.map +1 -1
  153. package/models/artist-settings-error.d.ts +24 -0
  154. package/models/artist-settings-error.d.ts.map +1 -1
  155. package/models/avatar-image-blending-request.d.ts +2 -2
  156. package/models/bad-request-response.d.ts +44 -0
  157. package/models/bad-request-response.d.ts.map +1 -0
  158. package/models/bad-request-response.js +16 -0
  159. package/models/bad-request-response.js.map +1 -0
  160. package/models/calculate-attribution-request.d.ts +1 -1
  161. package/models/control-net-request.d.ts +2 -2
  162. package/models/cover-art-request.d.ts +2 -2
  163. package/models/create-collection-request.d.ts +2 -2
  164. package/models/customer-profile-data.d.ts +13 -0
  165. package/models/customer-profile-data.d.ts.map +1 -1
  166. package/models/ddex-source-manifest.d.ts +1 -1
  167. package/models/ddex-source-zip.d.ts +1 -1
  168. package/models/ddex-source.d.ts +2 -2
  169. package/models/evaluate-artist-settings-body.d.ts +7 -0
  170. package/models/evaluate-artist-settings-body.d.ts.map +1 -1
  171. package/models/evaluate-music-consent-body.d.ts +7 -0
  172. package/models/evaluate-music-consent-body.d.ts.map +1 -1
  173. package/models/evaluate-music-use.d.ts +19 -0
  174. package/models/evaluate-music-use.d.ts.map +1 -0
  175. package/models/evaluate-music-use.js +16 -0
  176. package/models/evaluate-music-use.js.map +1 -0
  177. package/models/evaluate-nilv-use.d.ts +19 -0
  178. package/models/evaluate-nilv-use.d.ts.map +1 -0
  179. package/models/evaluate-nilv-use.js +16 -0
  180. package/models/evaluate-nilv-use.js.map +1 -0
  181. package/models/external-stem.d.ts +1 -1
  182. package/models/generate-preview-request.d.ts +2 -2
  183. package/models/get-all-artists-response.d.ts +32 -0
  184. package/models/get-all-artists-response.d.ts.map +1 -0
  185. package/models/get-all-artists-response.js +16 -0
  186. package/models/get-all-artists-response.js.map +1 -0
  187. package/models/identical-matches.d.ts +4 -6
  188. package/models/identical-matches.d.ts.map +1 -1
  189. package/models/identical-matches1.d.ts +2 -3
  190. package/models/identical-matches1.d.ts.map +1 -1
  191. package/models/image-attribution-analysis-request.d.ts +1 -1
  192. package/models/image-blending-request.d.ts +2 -2
  193. package/models/index.d.ts +15 -4
  194. package/models/index.d.ts.map +1 -1
  195. package/models/index.js +15 -4
  196. package/models/index.js.map +1 -1
  197. package/models/inpaint-request.d.ts +3 -3
  198. package/models/model-file.d.ts +1 -1
  199. package/models/music-ai-use.d.ts +19 -0
  200. package/models/music-ai-use.d.ts.map +1 -0
  201. package/models/music-ai-use.js +16 -0
  202. package/models/music-ai-use.js.map +1 -0
  203. package/models/music-consent-error.d.ts +24 -0
  204. package/models/music-consent-error.d.ts.map +1 -1
  205. package/models/music-grant-input.d.ts +8 -1
  206. package/models/music-grant-input.d.ts.map +1 -1
  207. package/models/music-grant.d.ts +8 -1
  208. package/models/music-grant.d.ts.map +1 -1
  209. package/models/music-grant1.d.ts +8 -1
  210. package/models/music-grant1.d.ts.map +1 -1
  211. package/models/nil-asset-thumbnail-size.d.ts +19 -0
  212. package/models/nil-asset-thumbnail-size.d.ts.map +1 -0
  213. package/models/nil-asset-thumbnail-size.js +16 -0
  214. package/models/nil-asset-thumbnail-size.js.map +1 -0
  215. package/models/nilv-ai-use.d.ts +19 -0
  216. package/models/nilv-ai-use.d.ts.map +1 -0
  217. package/models/nilv-ai-use.js +16 -0
  218. package/models/nilv-ai-use.js.map +1 -0
  219. package/models/nilv-grant-input.d.ts +8 -1
  220. package/models/nilv-grant-input.d.ts.map +1 -1
  221. package/models/nilv-grant-response.d.ts +8 -1
  222. package/models/nilv-grant-response.d.ts.map +1 -1
  223. package/models/nilv-grant-response1.d.ts +8 -1
  224. package/models/nilv-grant-response1.d.ts.map +1 -1
  225. package/models/post-accidental-infringement-check-body.d.ts +1 -1
  226. package/models/post-audio-attribution-analysis-body.d.ts +1 -1
  227. package/models/post-audio-to-audio-body.d.ts +1 -1
  228. package/models/post-calculate-attribution-body-audio.d.ts +1 -1
  229. package/models/post-detect-aigenerated-audio-body.d.ts +1 -1
  230. package/models/post-lyrics-analysis-body.d.ts +1 -1
  231. package/models/post-opt-out-analysis-body.d.ts +1 -1
  232. package/models/post-similar-song-finder-body.d.ts +1 -1
  233. package/models/post-song-analysis.d.ts +1 -1
  234. package/models/post-stem-split-body.d.ts +1 -1
  235. package/models/profile-picture-source.d.ts +19 -0
  236. package/models/profile-picture-source.d.ts.map +1 -0
  237. package/models/profile-picture-source.js +16 -0
  238. package/models/profile-picture-source.js.map +1 -0
  239. package/models/reimagine-request.d.ts +2 -2
  240. package/models/remove-background-request.d.ts +1 -1
  241. package/models/roster-artist-profile-data.d.ts +25 -0
  242. package/models/roster-artist-profile-data.d.ts.map +1 -1
  243. package/models/roster-artist-response.d.ts +33 -0
  244. package/models/roster-artist-response.d.ts.map +1 -0
  245. package/models/roster-artist-response.js +16 -0
  246. package/models/roster-artist-response.js.map +1 -0
  247. package/models/roster-invited-by-acting-as.d.ts +19 -0
  248. package/models/roster-invited-by-acting-as.d.ts.map +1 -0
  249. package/models/roster-invited-by-acting-as.js +16 -0
  250. package/models/roster-invited-by-acting-as.js.map +1 -0
  251. package/models/roster-invited-by.d.ts +44 -0
  252. package/models/roster-invited-by.d.ts.map +1 -0
  253. package/models/roster-invited-by.js +16 -0
  254. package/models/roster-invited-by.js.map +1 -0
  255. package/models/roster-party-org.d.ts +31 -0
  256. package/models/roster-party-org.d.ts.map +1 -0
  257. package/models/roster-party-org.js +16 -0
  258. package/models/roster-party-org.js.map +1 -0
  259. package/models/roster-party-status.d.ts +19 -0
  260. package/models/roster-party-status.d.ts.map +1 -0
  261. package/models/roster-party-status.js +16 -0
  262. package/models/roster-party-status.js.map +1 -0
  263. package/models/roster-party.d.ts +88 -0
  264. package/models/roster-party.d.ts.map +1 -0
  265. package/models/roster-party.js +16 -0
  266. package/models/roster-party.js.map +1 -0
  267. package/models/service-unavailable-response.d.ts +37 -0
  268. package/models/service-unavailable-response.d.ts.map +1 -0
  269. package/models/service-unavailable-response.js +16 -0
  270. package/models/service-unavailable-response.js.map +1 -0
  271. package/models/set-filepath-file.d.ts +1 -1
  272. package/models/style-image.d.ts +1 -1
  273. package/models/style-transfer-request.d.ts +2 -2
  274. package/models/text-to-image-request.d.ts +1 -1
  275. package/models/track-inference-artifacts-body.d.ts +8 -8
  276. package/models/track-training-artifacts-body.d.ts +2 -2
  277. package/models/training-artifact-entry.d.ts +2 -2
  278. package/models/update-collection-request.d.ts +1 -1
  279. package/models/upload-url-request.d.ts +6 -0
  280. package/models/upload-url-request.d.ts.map +1 -1
  281. package/models/upload-url.d.ts +1 -1
  282. package/models/upscale-request.d.ts +2 -2
  283. package/package.json +1 -1
package/api/sureel-api.js CHANGED
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.UpscaleImageContentTypeEnum = exports.UploadFilesContentTypeEnum = exports.UpdateCollectionContentTypeEnum = exports.TrackTrainingArtifactsContentTypeEnum = exports.TrackInferenceArtifactsContentTypeEnum = exports.TextToAudioContentTypeEnum = exports.TextToArtistAudioContentTypeEnum = exports.StyleTransferContentTypeEnum = exports.StemSplitContentTypeEnum = exports.SongAnalysisContentTypeEnum = exports.SimilarSongFinderContentTypeEnum = exports.SetFilepathsContentTypeEnum = exports.RemoveBackgroundContentTypeEnum = exports.ReimagineContentTypeEnum = exports.OptOutAnalysisContentTypeEnum = exports.LyricsAnalysisContentTypeEnum = exports.InpaintContentTypeEnum = exports.ImageBlendingContentTypeEnum = exports.ImageAttributionAnalysisContentTypeEnum = exports.GetOwnCollectionsSortOrderEnum = exports.GetOwnCollectionsSortByEnum = exports.GetOwnCollectionsCollectionSearchFieldEnum = exports.GetArtistByUsernameSortOrderEnum = exports.GetArtistByUsernameSortByEnum = exports.GetArtistByUsernameCollectionSearchFieldEnum = exports.GeneratePutUploadUrlsContentTypeEnum = exports.GeneratePreviewContentTypeEnum = exports.FinetuneModelContentTypeEnum = exports.FaceSwapContentTypeEnum = exports.CreateCoverArtContentTypeEnum = exports.CreateCollectionFromDdexContentTypeEnum = exports.CreateCollectionContentTypeEnum = exports.ControlNetContentTypeEnum = exports.CalculateAttributionContentTypeEnum = exports.AvatarImageBlendingContentTypeEnum = exports.AudioToAudioContentTypeEnum = exports.AudioMetadataExtractionContentTypeEnum = exports.AudioAttributionSetupContentTypeEnum = exports.AudioAttributionAnalysisContentTypeEnum = exports.AttributionSetupContentTypeEnum = exports.AttributionCalculationContentTypeEnum = exports.ApplyWatermarkContentTypeEnum = exports.AiDetectionContentTypeEnum = exports.AccidentalInfringementCheckContentTypeEnum = exports.SureelApi = exports.SureelApiFactory = exports.SureelApiFp = exports.SureelApiAxiosParamCreator = void 0;
19
+ exports.UpscaleImageContentTypeEnum = exports.UpdateCollectionContentTypeEnum = exports.TrackTrainingArtifactsContentTypeEnum = exports.TrackInferenceArtifactsContentTypeEnum = exports.TextToAudioContentTypeEnum = exports.TextToArtistAudioContentTypeEnum = exports.StyleTransferContentTypeEnum = exports.StemSplitContentTypeEnum = exports.SongAnalysisContentTypeEnum = exports.SimilarSongFinderContentTypeEnum = exports.SetFilepathsContentTypeEnum = exports.RemoveBackgroundContentTypeEnum = exports.ReimagineContentTypeEnum = exports.OptOutAnalysisContentTypeEnum = exports.LyricsAnalysisContentTypeEnum = exports.InpaintContentTypeEnum = exports.ImageBlendingContentTypeEnum = exports.ImageAttributionAnalysisContentTypeEnum = exports.GetOwnCollectionsUseForTrainingEnum = exports.GetOwnCollectionsSortOrderEnum = exports.GetOwnCollectionsSortByEnum = exports.GetOwnCollectionsCollectionSearchFieldEnum = exports.GetArtistByUsernameUseForTrainingEnum = exports.GetArtistByUsernameSortOrderEnum = exports.GetArtistByUsernameSortByEnum = exports.GetArtistByUsernameCollectionSearchFieldEnum = exports.GeneratePutUploadUrlsContentTypeEnum = exports.GeneratePreviewContentTypeEnum = exports.FinetuneModelContentTypeEnum = exports.FaceSwapContentTypeEnum = exports.CreateCoverArtContentTypeEnum = exports.CreateCollectionFromDdexContentTypeEnum = exports.CreateCollectionContentTypeEnum = exports.ControlNetContentTypeEnum = exports.CalculateAttributionContentTypeEnum = exports.AvatarImageBlendingContentTypeEnum = exports.AudioToAudioContentTypeEnum = exports.AudioMetadataExtractionContentTypeEnum = exports.AudioAttributionSetupContentTypeEnum = exports.AudioAttributionAnalysisContentTypeEnum = exports.AttributionSetupContentTypeEnum = exports.AttributionCalculationContentTypeEnum = exports.ApplyWatermarkContentTypeEnum = exports.AiDetectionContentTypeEnum = exports.AccidentalInfringementCheckContentTypeEnum = exports.SureelApi = exports.SureelApiFactory = exports.SureelApiFp = exports.SureelApiAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -1002,7 +1002,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
1002
1002
  },
1003
1003
  /**
1004
1004
  * Returns the signed url for the given filenames.
1005
- * @summary Generate signed URLs to put files to S3
1005
+ * @summary Generate signed URLs to upload files to cloud storage
1006
1006
  * @param {GeneratePutUploadUrlsContentTypeEnum} contentType
1007
1007
  * @param {UploadUrlRequest} uploadUrlRequest
1008
1008
  * @param {*} [options] Override http request option.
@@ -1108,17 +1108,18 @@ const SureelApiAxiosParamCreator = function (configuration) {
1108
1108
  };
1109
1109
  },
1110
1110
  /**
1111
- * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
1111
+ * 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.
1112
1112
  * @summary Get all artists
1113
1113
  * @param {string} includeArtworks
1114
1114
  * @param {string} [includeOriginalSongs]
1115
1115
  * @param {string} [includeFullResArtworks]
1116
- * @param {number} [take] The `take` parameter is the number of collections to return per page.
1117
- * @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
1116
+ * @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
1117
+ * @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.
1118
+ * @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.
1118
1119
  * @param {*} [options] Override http request option.
1119
1120
  * @throws {RequiredError}
1120
1121
  */
1121
- getAllArtists: async (includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, options = {}) => {
1122
+ getAllArtists: async (includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, search, options = {}) => {
1122
1123
  // verify required parameter 'includeArtworks' is not null or undefined
1123
1124
  (0, common_1.assertParamExists)("getAllArtists", "includeArtworks", includeArtworks);
1124
1125
  const localVarPath = `/v1/ai/artist/`;
@@ -1148,6 +1149,9 @@ const SureelApiAxiosParamCreator = function (configuration) {
1148
1149
  if (cursor !== undefined) {
1149
1150
  localVarQueryParameter["cursor"] = cursor;
1150
1151
  }
1152
+ if (search !== undefined) {
1153
+ localVarQueryParameter["search"] = search;
1154
+ }
1151
1155
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1152
1156
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1153
1157
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1216,16 +1220,18 @@ const SureelApiAxiosParamCreator = function (configuration) {
1216
1220
  * @param {string} username
1217
1221
  * @param {string} [includeOriginalSongs]
1218
1222
  * @param {string} [includeFullResArtworks]
1219
- * @param {number} [take] The `take` parameter is the number of collections to return per page.
1220
- * @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
1223
+ * @param {number} [take] The `take` parameter is the number of items to return per page. Defaults to 20, at most 100.
1224
+ * @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.
1221
1225
  * @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
1222
- * @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
1223
- * @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria.
1224
- * @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order.
1226
+ * @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.
1227
+ * @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.
1228
+ * @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
1229
+ * @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.
1230
+ * @param {GetArtistByUsernameUseForTrainingEnum} [useForTraining] Filter collections by their `use_for_training` flag.
1225
1231
  * @param {*} [options] Override http request option.
1226
1232
  * @throws {RequiredError}
1227
1233
  */
1228
- getArtistByUsername: async (includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options = {}) => {
1234
+ getArtistByUsername: async (includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options = {}) => {
1229
1235
  // verify required parameter 'includeArtworks' is not null or undefined
1230
1236
  (0, common_1.assertParamExists)("getArtistByUsername", "includeArtworks", includeArtworks);
1231
1237
  // verify required parameter 'username' is not null or undefined
@@ -1271,6 +1277,12 @@ const SureelApiAxiosParamCreator = function (configuration) {
1271
1277
  if (sortOrder !== undefined) {
1272
1278
  localVarQueryParameter["sort_order"] = sortOrder;
1273
1279
  }
1280
+ if (releaseType !== undefined) {
1281
+ localVarQueryParameter["release_type"] = releaseType;
1282
+ }
1283
+ if (useForTraining !== undefined) {
1284
+ localVarQueryParameter["use_for_training"] = useForTraining;
1285
+ }
1274
1286
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1275
1287
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1276
1288
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1448,19 +1460,21 @@ const SureelApiAxiosParamCreator = function (configuration) {
1448
1460
  };
1449
1461
  },
1450
1462
  /**
1451
- * This endpoint returns the label profile data and the artist profile data for all artists that are associated with the label.
1463
+ * 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.
1452
1464
  * @summary Get profile data by label name
1453
1465
  * @param {string} labelName
1454
- * @param {number} [take] The `take` parameter is the number of artists to return per page.
1455
- * @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
1466
+ * @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.
1467
+ * @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.
1468
+ * @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.
1469
+ * @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.
1456
1470
  * @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.
1457
1471
  * @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.
1458
1472
  * @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.
1459
- * @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\&#39;s customer_name, songwriters through its publisher_name; singer-songwriters appear 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.
1473
+ * @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\&#39;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.
1460
1474
  * @param {*} [options] Override http request option.
1461
1475
  * @throws {RequiredError}
1462
1476
  */
1463
- getCustomerData: async (labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options = {}) => {
1477
+ getCustomerData: async (labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options = {}) => {
1464
1478
  // verify required parameter 'labelName' is not null or undefined
1465
1479
  (0, common_1.assertParamExists)("getCustomerData", "labelName", labelName);
1466
1480
  const localVarPath = `/v1/ai/record-label/{labelName}`.replace(`{${"labelName"}}`, encodeURIComponent(String(labelName)));
@@ -1482,6 +1496,12 @@ const SureelApiAxiosParamCreator = function (configuration) {
1482
1496
  if (cursor !== undefined) {
1483
1497
  localVarQueryParameter["cursor"] = cursor;
1484
1498
  }
1499
+ if (search !== undefined) {
1500
+ localVarQueryParameter["search"] = search;
1501
+ }
1502
+ if (signedLabel !== undefined) {
1503
+ localVarQueryParameter["signed_label"] = signedLabel;
1504
+ }
1485
1505
  if (includeNilv !== undefined) {
1486
1506
  localVarQueryParameter["include_nilv"] = includeNilv;
1487
1507
  }
@@ -1570,6 +1590,93 @@ const SureelApiAxiosParamCreator = function (configuration) {
1570
1590
  options: localVarRequestOptions,
1571
1591
  };
1572
1592
  },
1593
+ /**
1594
+ * Re-encoded on the server with metadata stripped; the original bytes and any URL to them never leave. 404 for an unknown id, a non-image entry, an entry not yet ingested and an image that cannot be decoded, identically.
1595
+ * @summary Get a small WebP preview of an ingested NILV image
1596
+ * @param {string} assetId The id of a reference image or brand mark in the record.
1597
+ * @param {NilAssetThumbnailSize} [size]
1598
+ * @param {string} [v] Ignored by the server. Clients pass the asset\&#39;s sha256 so a replaced file is not served from cache.
1599
+ * @param {*} [options] Override http request option.
1600
+ * @throws {RequiredError}
1601
+ */
1602
+ getNilAssetThumbnail: async (assetId, size, v, options = {}) => {
1603
+ // verify required parameter 'assetId' is not null or undefined
1604
+ (0, common_1.assertParamExists)("getNilAssetThumbnail", "assetId", assetId);
1605
+ const localVarPath = `/v1/ai/artist/settings/assets/{assetId}/thumbnail`.replace(`{${"assetId"}}`, encodeURIComponent(String(assetId)));
1606
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1607
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1608
+ let baseOptions;
1609
+ if (configuration) {
1610
+ baseOptions = configuration.baseOptions;
1611
+ }
1612
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
1613
+ const localVarHeaderParameter = {};
1614
+ const localVarQueryParameter = {};
1615
+ // authentication OAuth2 required
1616
+ // oauth required
1617
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1618
+ if (size !== undefined) {
1619
+ for (const [key, value] of Object.entries(size)) {
1620
+ localVarQueryParameter[key] = value;
1621
+ }
1622
+ }
1623
+ if (v !== undefined) {
1624
+ localVarQueryParameter["v"] = v;
1625
+ }
1626
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1627
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1628
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1629
+ return {
1630
+ url: (0, common_1.toPathString)(localVarUrlObj),
1631
+ options: localVarRequestOptions,
1632
+ };
1633
+ },
1634
+ /**
1635
+ * Re-encoded on the server with metadata stripped; the original bytes and any URL to them never leave. 404 for an unknown id, a non-image entry, an entry not yet ingested and an image that cannot be decoded, identically.
1636
+ * @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
1637
+ * @param {string} username The artist whose settings are being addressed.
1638
+ * @param {string} assetId The id of a reference image or brand mark in the record.
1639
+ * @param {NilAssetThumbnailSize} [size]
1640
+ * @param {string} [v] Ignored by the server. Clients pass the asset\&#39;s sha256 so a replaced file is not served from cache.
1641
+ * @param {*} [options] Override http request option.
1642
+ * @throws {RequiredError}
1643
+ */
1644
+ getNilAssetThumbnailByUsername: async (username, assetId, size, v, options = {}) => {
1645
+ // verify required parameter 'username' is not null or undefined
1646
+ (0, common_1.assertParamExists)("getNilAssetThumbnailByUsername", "username", username);
1647
+ // verify required parameter 'assetId' is not null or undefined
1648
+ (0, common_1.assertParamExists)("getNilAssetThumbnailByUsername", "assetId", assetId);
1649
+ const localVarPath = `/v1/ai/artist/{username}/settings/assets/{assetId}/thumbnail`
1650
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)))
1651
+ .replace(`{${"assetId"}}`, encodeURIComponent(String(assetId)));
1652
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1653
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1654
+ let baseOptions;
1655
+ if (configuration) {
1656
+ baseOptions = configuration.baseOptions;
1657
+ }
1658
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
1659
+ const localVarHeaderParameter = {};
1660
+ const localVarQueryParameter = {};
1661
+ // authentication OAuth2 required
1662
+ // oauth required
1663
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1664
+ if (size !== undefined) {
1665
+ for (const [key, value] of Object.entries(size)) {
1666
+ localVarQueryParameter[key] = value;
1667
+ }
1668
+ }
1669
+ if (v !== undefined) {
1670
+ localVarQueryParameter["v"] = v;
1671
+ }
1672
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1673
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1674
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1675
+ return {
1676
+ url: (0, common_1.toPathString)(localVarUrlObj),
1677
+ options: localVarRequestOptions,
1678
+ };
1679
+ },
1573
1680
  /**
1574
1681
  * Answers 404 for an unknown request and for one belonging to another artist, identically.
1575
1682
  * @summary Check how ingestion of a settings submission\'s assets is going
@@ -1645,16 +1752,18 @@ const SureelApiAxiosParamCreator = function (configuration) {
1645
1752
  * @param {string} includeArtworks
1646
1753
  * @param {string} [includeOriginalSongs]
1647
1754
  * @param {string} [includeFullResArtworks]
1648
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
1649
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
1755
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
1756
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
1650
1757
  * @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
1651
- * @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
1652
- * @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria.
1653
- * @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order.
1758
+ * @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.
1759
+ * @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.
1760
+ * @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
1761
+ * @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \&#39;album,single\&#39;). 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 (\&quot;audio collection\&quot;, \&quot;image collection\&quot;, \&quot;video collection\&quot;) are derived at read time from a collection\&#39;s assets and are not filterable yet: asking for one matches nothing.
1762
+ * @param {GetOwnCollectionsUseForTrainingEnum} [useForTraining] Filter collections by their &#x60;use_for_training&#x60; flag.
1654
1763
  * @param {*} [options] Override http request option.
1655
1764
  * @throws {RequiredError}
1656
1765
  */
1657
- getOwnCollections: async (includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options = {}) => {
1766
+ getOwnCollections: async (includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options = {}) => {
1658
1767
  // verify required parameter 'includeArtworks' is not null or undefined
1659
1768
  (0, common_1.assertParamExists)("getOwnCollections", "includeArtworks", includeArtworks);
1660
1769
  const localVarPath = `/v1/ai/artist/collections`;
@@ -1701,6 +1810,12 @@ const SureelApiAxiosParamCreator = function (configuration) {
1701
1810
  if (sortOrder !== undefined) {
1702
1811
  localVarQueryParameter["sort_order"] = sortOrder;
1703
1812
  }
1813
+ if (releaseType !== undefined) {
1814
+ localVarQueryParameter["release_type"] = releaseType;
1815
+ }
1816
+ if (useForTraining !== undefined) {
1817
+ localVarQueryParameter["use_for_training"] = useForTraining;
1818
+ }
1704
1819
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1705
1820
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1706
1821
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1798,6 +1913,51 @@ const SureelApiAxiosParamCreator = function (configuration) {
1798
1913
  options: localVarRequestOptions,
1799
1914
  };
1800
1915
  },
1916
+ /**
1917
+ * 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.
1918
+ * @summary Get one artist on a label\'s roster
1919
+ * @param {string} labelName
1920
+ * @param {string} username
1921
+ * @param {boolean} [includeNilv] When true, the artist carries the same &#x60;nilv&#x60; summary a roster page gives each artist.
1922
+ * @param {boolean} [includeMusicConsent] When true, the artist carries the same &#x60;music_consent&#x60; summary a roster page gives each artist.
1923
+ * @param {*} [options] Override http request option.
1924
+ * @throws {RequiredError}
1925
+ */
1926
+ getRosterArtist: async (labelName, username, includeNilv, includeMusicConsent, options = {}) => {
1927
+ // verify required parameter 'labelName' is not null or undefined
1928
+ (0, common_1.assertParamExists)("getRosterArtist", "labelName", labelName);
1929
+ // verify required parameter 'username' is not null or undefined
1930
+ (0, common_1.assertParamExists)("getRosterArtist", "username", username);
1931
+ const localVarPath = `/v1/ai/record-label/{labelName}/roster/{username}`
1932
+ .replace(`{${"labelName"}}`, encodeURIComponent(String(labelName)))
1933
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)));
1934
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1935
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1936
+ let baseOptions;
1937
+ if (configuration) {
1938
+ baseOptions = configuration.baseOptions;
1939
+ }
1940
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
1941
+ const localVarHeaderParameter = {};
1942
+ const localVarQueryParameter = {};
1943
+ // authentication OAuth2 required
1944
+ // oauth required
1945
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1946
+ if (includeNilv !== undefined) {
1947
+ localVarQueryParameter["include_nilv"] = includeNilv;
1948
+ }
1949
+ if (includeMusicConsent !== undefined) {
1950
+ localVarQueryParameter["include_music_consent"] =
1951
+ includeMusicConsent;
1952
+ }
1953
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1954
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1955
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1956
+ return {
1957
+ url: (0, common_1.toPathString)(localVarUrlObj),
1958
+ options: localVarRequestOptions,
1959
+ };
1960
+ },
1801
1961
  /**
1802
1962
  * Get the style preset parameters for ldm.
1803
1963
  * @summary Style presets for ldm
@@ -2772,46 +2932,6 @@ const SureelApiAxiosParamCreator = function (configuration) {
2772
2932
  options: localVarRequestOptions,
2773
2933
  };
2774
2934
  },
2775
- /**
2776
- * 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.
2777
- * @summary Upload files as form-data
2778
- * @param {UploadFilesContentTypeEnum} contentType
2779
- * @param {string} contentType2
2780
- * @param {*} [options] Override http request option.
2781
- * @throws {RequiredError}
2782
- */
2783
- uploadFiles: async (contentType, contentType2, options = {}) => {
2784
- // verify required parameter 'contentType' is not null or undefined
2785
- (0, common_1.assertParamExists)("uploadFiles", "contentType", contentType);
2786
- // verify required parameter 'contentType2' is not null or undefined
2787
- (0, common_1.assertParamExists)("uploadFiles", "contentType2", contentType2);
2788
- const localVarPath = `/v1/ai/files/upload-files`;
2789
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2790
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2791
- let baseOptions;
2792
- if (configuration) {
2793
- baseOptions = configuration.baseOptions;
2794
- }
2795
- const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
2796
- const localVarHeaderParameter = {};
2797
- const localVarQueryParameter = {};
2798
- // authentication OAuth2 required
2799
- // oauth required
2800
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
2801
- if (contentType !== undefined) {
2802
- localVarQueryParameter["contentType"] = contentType;
2803
- }
2804
- if (contentType2 != null) {
2805
- localVarHeaderParameter["Content-Type"] = String(contentType2);
2806
- }
2807
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2808
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2809
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2810
- return {
2811
- url: (0, common_1.toPathString)(localVarUrlObj),
2812
- options: localVarRequestOptions,
2813
- };
2814
- },
2815
2935
  /**
2816
2936
  * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
2817
2937
  * @summary Upscaling
@@ -3248,7 +3368,7 @@ const SureelApiFp = function (configuration) {
3248
3368
  },
3249
3369
  /**
3250
3370
  * Returns the signed url for the given filenames.
3251
- * @summary Generate signed URLs to put files to S3
3371
+ * @summary Generate signed URLs to upload files to cloud storage
3252
3372
  * @param {GeneratePutUploadUrlsContentTypeEnum} contentType
3253
3373
  * @param {UploadUrlRequest} uploadUrlRequest
3254
3374
  * @param {*} [options] Override http request option.
@@ -3291,19 +3411,20 @@ const SureelApiFp = function (configuration) {
3291
3411
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3292
3412
  },
3293
3413
  /**
3294
- * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
3414
+ * 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.
3295
3415
  * @summary Get all artists
3296
3416
  * @param {string} includeArtworks
3297
3417
  * @param {string} [includeOriginalSongs]
3298
3418
  * @param {string} [includeFullResArtworks]
3299
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
3300
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
3419
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
3420
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
3421
+ * @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.
3301
3422
  * @param {*} [options] Override http request option.
3302
3423
  * @throws {RequiredError}
3303
3424
  */
3304
- async getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, options) {
3425
+ async getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, search, options) {
3305
3426
  var _a, _b, _c;
3306
- const localVarAxiosArgs = await localVarAxiosParamCreator.getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, options);
3427
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, search, options);
3307
3428
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3308
3429
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getAllArtists"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3309
3430
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3333,18 +3454,20 @@ const SureelApiFp = function (configuration) {
3333
3454
  * @param {string} username
3334
3455
  * @param {string} [includeOriginalSongs]
3335
3456
  * @param {string} [includeFullResArtworks]
3336
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
3337
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
3457
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
3458
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
3338
3459
  * @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
3339
- * @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
3340
- * @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria.
3341
- * @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order.
3460
+ * @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.
3461
+ * @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.
3462
+ * @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
3463
+ * @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \&#39;album,single\&#39;). 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 (\&quot;audio collection\&quot;, \&quot;image collection\&quot;, \&quot;video collection\&quot;) are derived at read time from a collection\&#39;s assets and are not filterable yet: asking for one matches nothing.
3464
+ * @param {GetArtistByUsernameUseForTrainingEnum} [useForTraining] Filter collections by their &#x60;use_for_training&#x60; flag.
3342
3465
  * @param {*} [options] Override http request option.
3343
3466
  * @throws {RequiredError}
3344
3467
  */
3345
- async getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options) {
3468
+ async getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options) {
3346
3469
  var _a, _b, _c;
3347
- const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options);
3470
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options);
3348
3471
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3349
3472
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getArtistByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3350
3473
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3422,21 +3545,23 @@ const SureelApiFp = function (configuration) {
3422
3545
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3423
3546
  },
3424
3547
  /**
3425
- * This endpoint returns the label profile data and the artist profile data for all artists that are associated with the label.
3548
+ * 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.
3426
3549
  * @summary Get profile data by label name
3427
3550
  * @param {string} labelName
3428
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
3429
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
3551
+ * @param {number} [take] The &#x60;take&#x60; 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.
3552
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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.
3553
+ * @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 &#x60;cursor&#x60; may only be carried between requests that agree on whether &#x60;search&#x60; 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.
3554
+ * @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their &#x60;signed_labels&#x60;; the company\&#39;s &#x60;sub_labels&#x60; are the values it holds. Combines with &#x60;search&#x60;, &#x60;roles&#x60; and &#x60;include_hidden&#x60;, and never reaches past the company\&#39;s own roster. Served from the profile index like &#x60;search&#x60;, with the same 503 while that index is unavailable and the same cursor format: a &#x60;cursor&#x60; may only be carried between requests that agree on whether either parameter is set.
3430
3555
  * @param {boolean} [includeNilv] When true, each roster artist carries a &#x60;nilv&#x60; 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 &#x60;take&#x60; of at most 100, because the summary costs one read per artist.
3431
3556
  * @param {boolean} [includeMusicConsent] When true, each roster artist carries a &#x60;music_consent&#x60; summary of their music consent record, the track-level twin of &#x60;nilv&#x60;. Same boundary and the same explicit &#x60;take&#x60; requirement, because the summary costs one read per artist.
3432
3557
  * @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying &#x60;show_in_frontend&#x60;. Only the label itself and users connected to it may ask for this; anyone else is refused.
3433
- * @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\&#39;s customer_name, songwriters through its publisher_name; singer-songwriters appear 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.
3558
+ * @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\&#39;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.
3434
3559
  * @param {*} [options] Override http request option.
3435
3560
  * @throws {RequiredError}
3436
3561
  */
3437
- async getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
3562
+ async getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options) {
3438
3563
  var _a, _b, _c;
3439
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options);
3564
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options);
3440
3565
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3441
3566
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getCustomerData"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3442
3567
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3470,6 +3595,39 @@ const SureelApiFp = function (configuration) {
3470
3595
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3471
3596
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3472
3597
  },
3598
+ /**
3599
+ * 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.
3600
+ * @summary Get a small WebP preview of an ingested NILV image
3601
+ * @param {string} assetId The id of a reference image or brand mark in the record.
3602
+ * @param {NilAssetThumbnailSize} [size]
3603
+ * @param {string} [v] Ignored by the server. Clients pass the asset\&#39;s sha256 so a replaced file is not served from cache.
3604
+ * @param {*} [options] Override http request option.
3605
+ * @throws {RequiredError}
3606
+ */
3607
+ async getNilAssetThumbnail(assetId, size, v, options) {
3608
+ var _a, _b, _c;
3609
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getNilAssetThumbnail(assetId, size, v, options);
3610
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3611
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getNilAssetThumbnail"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3612
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3613
+ },
3614
+ /**
3615
+ * 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.
3616
+ * @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
3617
+ * @param {string} username The artist whose settings are being addressed.
3618
+ * @param {string} assetId The id of a reference image or brand mark in the record.
3619
+ * @param {NilAssetThumbnailSize} [size]
3620
+ * @param {string} [v] Ignored by the server. Clients pass the asset\&#39;s sha256 so a replaced file is not served from cache.
3621
+ * @param {*} [options] Override http request option.
3622
+ * @throws {RequiredError}
3623
+ */
3624
+ async getNilAssetThumbnailByUsername(username, assetId, size, v, options) {
3625
+ var _a, _b, _c;
3626
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getNilAssetThumbnailByUsername(username, assetId, size, v, options);
3627
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3628
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getNilAssetThumbnailByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3629
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3630
+ },
3473
3631
  /**
3474
3632
  * Answers 404 for an unknown request and for one belonging to another artist, identically.
3475
3633
  * @summary Check how ingestion of a settings submission\'s assets is going
@@ -3505,18 +3663,20 @@ const SureelApiFp = function (configuration) {
3505
3663
  * @param {string} includeArtworks
3506
3664
  * @param {string} [includeOriginalSongs]
3507
3665
  * @param {string} [includeFullResArtworks]
3508
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
3509
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
3666
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
3667
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
3510
3668
  * @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
3511
- * @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
3512
- * @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria.
3513
- * @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order.
3669
+ * @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.
3670
+ * @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.
3671
+ * @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
3672
+ * @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \&#39;album,single\&#39;). 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 (\&quot;audio collection\&quot;, \&quot;image collection\&quot;, \&quot;video collection\&quot;) are derived at read time from a collection\&#39;s assets and are not filterable yet: asking for one matches nothing.
3673
+ * @param {GetOwnCollectionsUseForTrainingEnum} [useForTraining] Filter collections by their &#x60;use_for_training&#x60; flag.
3514
3674
  * @param {*} [options] Override http request option.
3515
3675
  * @throws {RequiredError}
3516
3676
  */
3517
- async getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options) {
3677
+ async getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options) {
3518
3678
  var _a, _b, _c;
3519
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options);
3679
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options);
3520
3680
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3521
3681
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getOwnCollections"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3522
3682
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3554,6 +3714,23 @@ const SureelApiFp = function (configuration) {
3554
3714
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getResultByRequestId"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3555
3715
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3556
3716
  },
3717
+ /**
3718
+ * 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.
3719
+ * @summary Get one artist on a label\'s roster
3720
+ * @param {string} labelName
3721
+ * @param {string} username
3722
+ * @param {boolean} [includeNilv] When true, the artist carries the same &#x60;nilv&#x60; summary a roster page gives each artist.
3723
+ * @param {boolean} [includeMusicConsent] When true, the artist carries the same &#x60;music_consent&#x60; summary a roster page gives each artist.
3724
+ * @param {*} [options] Override http request option.
3725
+ * @throws {RequiredError}
3726
+ */
3727
+ async getRosterArtist(labelName, username, includeNilv, includeMusicConsent, options) {
3728
+ var _a, _b, _c;
3729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRosterArtist(labelName, username, includeNilv, includeMusicConsent, options);
3730
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3731
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getRosterArtist"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3732
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3733
+ },
3557
3734
  /**
3558
3735
  * Get the style preset parameters for ldm.
3559
3736
  * @summary Style presets for ldm
@@ -3932,21 +4109,6 @@ const SureelApiFp = function (configuration) {
3932
4109
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.updateCollection"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3933
4110
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3934
4111
  },
3935
- /**
3936
- * 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.
3937
- * @summary Upload files as form-data
3938
- * @param {UploadFilesContentTypeEnum} contentType
3939
- * @param {string} contentType2
3940
- * @param {*} [options] Override http request option.
3941
- * @throws {RequiredError}
3942
- */
3943
- async uploadFiles(contentType, contentType2, options) {
3944
- var _a, _b, _c;
3945
- const localVarAxiosArgs = await localVarAxiosParamCreator.uploadFiles(contentType, contentType2, options);
3946
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3947
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.uploadFiles"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3948
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3949
- },
3950
4112
  /**
3951
4113
  * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
3952
4114
  * @summary Upscaling
@@ -4307,7 +4469,7 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4307
4469
  },
4308
4470
  /**
4309
4471
  * Returns the signed url for the given filenames.
4310
- * @summary Generate signed URLs to put files to S3
4472
+ * @summary Generate signed URLs to upload files to cloud storage
4311
4473
  * @param {GeneratePutUploadUrlsContentTypeEnum} contentType
4312
4474
  * @param {UploadUrlRequest} uploadUrlRequest
4313
4475
  * @param {*} [options] Override http request option.
@@ -4344,19 +4506,20 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4344
4506
  .then((request) => request(axios, basePath));
4345
4507
  },
4346
4508
  /**
4347
- * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
4509
+ * 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.
4348
4510
  * @summary Get all artists
4349
4511
  * @param {string} includeArtworks
4350
4512
  * @param {string} [includeOriginalSongs]
4351
4513
  * @param {string} [includeFullResArtworks]
4352
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
4353
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
4514
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
4515
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
4516
+ * @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.
4354
4517
  * @param {*} [options] Override http request option.
4355
4518
  * @throws {RequiredError}
4356
4519
  */
4357
- getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, options) {
4520
+ getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, search, options) {
4358
4521
  return localVarFp
4359
- .getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, options)
4522
+ .getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, search, options)
4360
4523
  .then((request) => request(axios, basePath));
4361
4524
  },
4362
4525
  /**
@@ -4382,18 +4545,20 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4382
4545
  * @param {string} username
4383
4546
  * @param {string} [includeOriginalSongs]
4384
4547
  * @param {string} [includeFullResArtworks]
4385
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
4386
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
4548
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
4549
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
4387
4550
  * @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
4388
- * @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
4389
- * @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria.
4390
- * @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order.
4551
+ * @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.
4552
+ * @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.
4553
+ * @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
4554
+ * @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \&#39;album,single\&#39;). 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 (\&quot;audio collection\&quot;, \&quot;image collection\&quot;, \&quot;video collection\&quot;) are derived at read time from a collection\&#39;s assets and are not filterable yet: asking for one matches nothing.
4555
+ * @param {GetArtistByUsernameUseForTrainingEnum} [useForTraining] Filter collections by their &#x60;use_for_training&#x60; flag.
4391
4556
  * @param {*} [options] Override http request option.
4392
4557
  * @throws {RequiredError}
4393
4558
  */
4394
- getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options) {
4559
+ getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options) {
4395
4560
  return localVarFp
4396
- .getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options)
4561
+ .getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
4397
4562
  .then((request) => request(axios, basePath));
4398
4563
  },
4399
4564
  /**
@@ -4459,21 +4624,23 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4459
4624
  .then((request) => request(axios, basePath));
4460
4625
  },
4461
4626
  /**
4462
- * This endpoint returns the label profile data and the artist profile data for all artists that are associated with the label.
4627
+ * 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.
4463
4628
  * @summary Get profile data by label name
4464
4629
  * @param {string} labelName
4465
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
4466
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
4630
+ * @param {number} [take] The &#x60;take&#x60; 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.
4631
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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.
4632
+ * @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 &#x60;cursor&#x60; may only be carried between requests that agree on whether &#x60;search&#x60; 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.
4633
+ * @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their &#x60;signed_labels&#x60;; the company\&#39;s &#x60;sub_labels&#x60; are the values it holds. Combines with &#x60;search&#x60;, &#x60;roles&#x60; and &#x60;include_hidden&#x60;, and never reaches past the company\&#39;s own roster. Served from the profile index like &#x60;search&#x60;, with the same 503 while that index is unavailable and the same cursor format: a &#x60;cursor&#x60; may only be carried between requests that agree on whether either parameter is set.
4467
4634
  * @param {boolean} [includeNilv] When true, each roster artist carries a &#x60;nilv&#x60; 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 &#x60;take&#x60; of at most 100, because the summary costs one read per artist.
4468
4635
  * @param {boolean} [includeMusicConsent] When true, each roster artist carries a &#x60;music_consent&#x60; summary of their music consent record, the track-level twin of &#x60;nilv&#x60;. Same boundary and the same explicit &#x60;take&#x60; requirement, because the summary costs one read per artist.
4469
4636
  * @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying &#x60;show_in_frontend&#x60;. Only the label itself and users connected to it may ask for this; anyone else is refused.
4470
- * @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\&#39;s customer_name, songwriters through its publisher_name; singer-songwriters appear 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.
4637
+ * @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\&#39;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.
4471
4638
  * @param {*} [options] Override http request option.
4472
4639
  * @throws {RequiredError}
4473
4640
  */
4474
- getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
4641
+ getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options) {
4475
4642
  return localVarFp
4476
- .getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options)
4643
+ .getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options)
4477
4644
  .then((request) => request(axios, basePath));
4478
4645
  },
4479
4646
  /**
@@ -4501,6 +4668,35 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4501
4668
  .getMusicConsentByUsername(username, version, options)
4502
4669
  .then((request) => request(axios, basePath));
4503
4670
  },
4671
+ /**
4672
+ * 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.
4673
+ * @summary Get a small WebP preview of an ingested NILV image
4674
+ * @param {string} assetId The id of a reference image or brand mark in the record.
4675
+ * @param {NilAssetThumbnailSize} [size]
4676
+ * @param {string} [v] Ignored by the server. Clients pass the asset\&#39;s sha256 so a replaced file is not served from cache.
4677
+ * @param {*} [options] Override http request option.
4678
+ * @throws {RequiredError}
4679
+ */
4680
+ getNilAssetThumbnail(assetId, size, v, options) {
4681
+ return localVarFp
4682
+ .getNilAssetThumbnail(assetId, size, v, options)
4683
+ .then((request) => request(axios, basePath));
4684
+ },
4685
+ /**
4686
+ * 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.
4687
+ * @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
4688
+ * @param {string} username The artist whose settings are being addressed.
4689
+ * @param {string} assetId The id of a reference image or brand mark in the record.
4690
+ * @param {NilAssetThumbnailSize} [size]
4691
+ * @param {string} [v] Ignored by the server. Clients pass the asset\&#39;s sha256 so a replaced file is not served from cache.
4692
+ * @param {*} [options] Override http request option.
4693
+ * @throws {RequiredError}
4694
+ */
4695
+ getNilAssetThumbnailByUsername(username, assetId, size, v, options) {
4696
+ return localVarFp
4697
+ .getNilAssetThumbnailByUsername(username, assetId, size, v, options)
4698
+ .then((request) => request(axios, basePath));
4699
+ },
4504
4700
  /**
4505
4701
  * Answers 404 for an unknown request and for one belonging to another artist, identically.
4506
4702
  * @summary Check how ingestion of a settings submission\'s assets is going
@@ -4532,18 +4728,20 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4532
4728
  * @param {string} includeArtworks
4533
4729
  * @param {string} [includeOriginalSongs]
4534
4730
  * @param {string} [includeFullResArtworks]
4535
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
4536
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
4731
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
4732
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
4537
4733
  * @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
4538
- * @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
4539
- * @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria.
4540
- * @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order.
4734
+ * @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.
4735
+ * @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.
4736
+ * @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
4737
+ * @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \&#39;album,single\&#39;). 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 (\&quot;audio collection\&quot;, \&quot;image collection\&quot;, \&quot;video collection\&quot;) are derived at read time from a collection\&#39;s assets and are not filterable yet: asking for one matches nothing.
4738
+ * @param {GetOwnCollectionsUseForTrainingEnum} [useForTraining] Filter collections by their &#x60;use_for_training&#x60; flag.
4541
4739
  * @param {*} [options] Override http request option.
4542
4740
  * @throws {RequiredError}
4543
4741
  */
4544
- getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options) {
4742
+ getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options) {
4545
4743
  return localVarFp
4546
- .getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options)
4744
+ .getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
4547
4745
  .then((request) => request(axios, basePath));
4548
4746
  },
4549
4747
  /**
@@ -4575,6 +4773,21 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4575
4773
  .getResultByRequestId(requestId, topNAttributionResults, options)
4576
4774
  .then((request) => request(axios, basePath));
4577
4775
  },
4776
+ /**
4777
+ * 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.
4778
+ * @summary Get one artist on a label\'s roster
4779
+ * @param {string} labelName
4780
+ * @param {string} username
4781
+ * @param {boolean} [includeNilv] When true, the artist carries the same &#x60;nilv&#x60; summary a roster page gives each artist.
4782
+ * @param {boolean} [includeMusicConsent] When true, the artist carries the same &#x60;music_consent&#x60; summary a roster page gives each artist.
4783
+ * @param {*} [options] Override http request option.
4784
+ * @throws {RequiredError}
4785
+ */
4786
+ getRosterArtist(labelName, username, includeNilv, includeMusicConsent, options) {
4787
+ return localVarFp
4788
+ .getRosterArtist(labelName, username, includeNilv, includeMusicConsent, options)
4789
+ .then((request) => request(axios, basePath));
4790
+ },
4578
4791
  /**
4579
4792
  * Get the style preset parameters for ldm.
4580
4793
  * @summary Style presets for ldm
@@ -4903,19 +5116,6 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4903
5116
  .updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
4904
5117
  .then((request) => request(axios, basePath));
4905
5118
  },
4906
- /**
4907
- * 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.
4908
- * @summary Upload files as form-data
4909
- * @param {UploadFilesContentTypeEnum} contentType
4910
- * @param {string} contentType2
4911
- * @param {*} [options] Override http request option.
4912
- * @throws {RequiredError}
4913
- */
4914
- uploadFiles(contentType, contentType2, options) {
4915
- return localVarFp
4916
- .uploadFiles(contentType, contentType2, options)
4917
- .then((request) => request(axios, basePath));
4918
- },
4919
5119
  /**
4920
5120
  * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
4921
5121
  * @summary Upscaling
@@ -5300,7 +5500,7 @@ class SureelApi extends base_1.BaseAPI {
5300
5500
  }
5301
5501
  /**
5302
5502
  * Returns the signed url for the given filenames.
5303
- * @summary Generate signed URLs to put files to S3
5503
+ * @summary Generate signed URLs to upload files to cloud storage
5304
5504
  * @param {GeneratePutUploadUrlsContentTypeEnum} contentType
5305
5505
  * @param {UploadUrlRequest} uploadUrlRequest
5306
5506
  * @param {*} [options] Override http request option.
@@ -5340,20 +5540,21 @@ class SureelApi extends base_1.BaseAPI {
5340
5540
  .then((request) => request(this.axios, this.basePath));
5341
5541
  }
5342
5542
  /**
5343
- * Get a list of all artists including their published collections. By default, each user has a limit of 60 requests per minute.
5543
+ * 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.
5344
5544
  * @summary Get all artists
5345
5545
  * @param {string} includeArtworks
5346
5546
  * @param {string} [includeOriginalSongs]
5347
5547
  * @param {string} [includeFullResArtworks]
5348
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
5349
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
5548
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
5549
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
5550
+ * @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.
5350
5551
  * @param {*} [options] Override http request option.
5351
5552
  * @throws {RequiredError}
5352
5553
  * @memberof SureelApi
5353
5554
  */
5354
- getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, options) {
5555
+ getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, search, options) {
5355
5556
  return (0, exports.SureelApiFp)(this.configuration)
5356
- .getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, options)
5557
+ .getAllArtists(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, search, options)
5357
5558
  .then((request) => request(this.axios, this.basePath));
5358
5559
  }
5359
5560
  /**
@@ -5380,19 +5581,21 @@ class SureelApi extends base_1.BaseAPI {
5380
5581
  * @param {string} username
5381
5582
  * @param {string} [includeOriginalSongs]
5382
5583
  * @param {string} [includeFullResArtworks]
5383
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
5384
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
5584
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
5585
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
5385
5586
  * @param {GetArtistByUsernameCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
5386
- * @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
5387
- * @param {GetArtistByUsernameSortByEnum} [sortBy] Specifies the sorting criteria.
5388
- * @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order.
5587
+ * @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.
5588
+ * @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.
5589
+ * @param {GetArtistByUsernameSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
5590
+ * @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \&#39;album,single\&#39;). 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 (\&quot;audio collection\&quot;, \&quot;image collection\&quot;, \&quot;video collection\&quot;) are derived at read time from a collection\&#39;s assets and are not filterable yet: asking for one matches nothing.
5591
+ * @param {GetArtistByUsernameUseForTrainingEnum} [useForTraining] Filter collections by their &#x60;use_for_training&#x60; flag.
5389
5592
  * @param {*} [options] Override http request option.
5390
5593
  * @throws {RequiredError}
5391
5594
  * @memberof SureelApi
5392
5595
  */
5393
- getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options) {
5596
+ getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options) {
5394
5597
  return (0, exports.SureelApiFp)(this.configuration)
5395
- .getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options)
5598
+ .getArtistByUsername(includeArtworks, username, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
5396
5599
  .then((request) => request(this.axios, this.basePath));
5397
5600
  }
5398
5601
  /**
@@ -5463,22 +5666,24 @@ class SureelApi extends base_1.BaseAPI {
5463
5666
  .then((request) => request(this.axios, this.basePath));
5464
5667
  }
5465
5668
  /**
5466
- * This endpoint returns the label profile data and the artist profile data for all artists that are associated with the label.
5669
+ * 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.
5467
5670
  * @summary Get profile data by label name
5468
5671
  * @param {string} labelName
5469
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
5470
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
5672
+ * @param {number} [take] The &#x60;take&#x60; 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.
5673
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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.
5674
+ * @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 &#x60;cursor&#x60; may only be carried between requests that agree on whether &#x60;search&#x60; 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.
5675
+ * @param {string} [signedLabel] Narrow the roster to parties signed to this label, matched exactly against their &#x60;signed_labels&#x60;; the company\&#39;s &#x60;sub_labels&#x60; are the values it holds. Combines with &#x60;search&#x60;, &#x60;roles&#x60; and &#x60;include_hidden&#x60;, and never reaches past the company\&#39;s own roster. Served from the profile index like &#x60;search&#x60;, with the same 503 while that index is unavailable and the same cursor format: a &#x60;cursor&#x60; may only be carried between requests that agree on whether either parameter is set.
5471
5676
  * @param {boolean} [includeNilv] When true, each roster artist carries a &#x60;nilv&#x60; 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 &#x60;take&#x60; of at most 100, because the summary costs one read per artist.
5472
5677
  * @param {boolean} [includeMusicConsent] When true, each roster artist carries a &#x60;music_consent&#x60; summary of their music consent record, the track-level twin of &#x60;nilv&#x60;. Same boundary and the same explicit &#x60;take&#x60; requirement, because the summary costs one read per artist.
5473
5678
  * @param {boolean} [includeHidden] When true, roster artists that are not shown in the frontend are included, each carrying &#x60;show_in_frontend&#x60;. Only the label itself and users connected to it may ask for this; anyone else is refused.
5474
- * @param {Set<RosterRoleFilter>} [roles] Which parties the roster returns: artists, songwriters, or both, in one page stream. Artists join through the company\&#39;s customer_name, songwriters through its publisher_name; singer-songwriters appear 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.
5679
+ * @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\&#39;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.
5475
5680
  * @param {*} [options] Override http request option.
5476
5681
  * @throws {RequiredError}
5477
5682
  * @memberof SureelApi
5478
5683
  */
5479
- getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
5684
+ getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options) {
5480
5685
  return (0, exports.SureelApiFp)(this.configuration)
5481
- .getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options)
5686
+ .getCustomerData(labelName, take, cursor, search, signedLabel, includeNilv, includeMusicConsent, includeHidden, roles, options)
5482
5687
  .then((request) => request(this.axios, this.basePath));
5483
5688
  }
5484
5689
  /**
@@ -5508,6 +5713,37 @@ class SureelApi extends base_1.BaseAPI {
5508
5713
  .getMusicConsentByUsername(username, version, options)
5509
5714
  .then((request) => request(this.axios, this.basePath));
5510
5715
  }
5716
+ /**
5717
+ * 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.
5718
+ * @summary Get a small WebP preview of an ingested NILV image
5719
+ * @param {string} assetId The id of a reference image or brand mark in the record.
5720
+ * @param {NilAssetThumbnailSize} [size]
5721
+ * @param {string} [v] Ignored by the server. Clients pass the asset\&#39;s sha256 so a replaced file is not served from cache.
5722
+ * @param {*} [options] Override http request option.
5723
+ * @throws {RequiredError}
5724
+ * @memberof SureelApi
5725
+ */
5726
+ getNilAssetThumbnail(assetId, size, v, options) {
5727
+ return (0, exports.SureelApiFp)(this.configuration)
5728
+ .getNilAssetThumbnail(assetId, size, v, options)
5729
+ .then((request) => request(this.axios, this.basePath));
5730
+ }
5731
+ /**
5732
+ * 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.
5733
+ * @summary Get a preview of a roster artist\'s NILV image, for a label acting on their behalf
5734
+ * @param {string} username The artist whose settings are being addressed.
5735
+ * @param {string} assetId The id of a reference image or brand mark in the record.
5736
+ * @param {NilAssetThumbnailSize} [size]
5737
+ * @param {string} [v] Ignored by the server. Clients pass the asset\&#39;s sha256 so a replaced file is not served from cache.
5738
+ * @param {*} [options] Override http request option.
5739
+ * @throws {RequiredError}
5740
+ * @memberof SureelApi
5741
+ */
5742
+ getNilAssetThumbnailByUsername(username, assetId, size, v, options) {
5743
+ return (0, exports.SureelApiFp)(this.configuration)
5744
+ .getNilAssetThumbnailByUsername(username, assetId, size, v, options)
5745
+ .then((request) => request(this.axios, this.basePath));
5746
+ }
5511
5747
  /**
5512
5748
  * Answers 404 for an unknown request and for one belonging to another artist, identically.
5513
5749
  * @summary Check how ingestion of a settings submission\'s assets is going
@@ -5541,19 +5777,21 @@ class SureelApi extends base_1.BaseAPI {
5541
5777
  * @param {string} includeArtworks
5542
5778
  * @param {string} [includeOriginalSongs]
5543
5779
  * @param {string} [includeFullResArtworks]
5544
- * @param {number} [take] The &#x60;take&#x60; parameter is the number of collections to return per page.
5545
- * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
5780
+ * @param {number} [take] The &#x60;take&#x60; parameter is the number of items to return per page. Defaults to 20, at most 100.
5781
+ * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; 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 &#x60;sort_by&#x60;, &#x60;collection_search_value&#x60; or &#x60;search&#x60; is refused with 400.
5546
5782
  * @param {GetOwnCollectionsCollectionSearchFieldEnum} [collectionSearchField] Field to search collections by.
5547
- * @param {string} [collectionSearchValue] Value to match against the specified collection search field. Supports case-insensitive partial matching.
5548
- * @param {GetOwnCollectionsSortByEnum} [sortBy] Specifies the sorting criteria.
5549
- * @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order.
5783
+ * @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.
5784
+ * @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.
5785
+ * @param {GetOwnCollectionsSortOrderEnum} [sortOrder] Specifies the sorting order, defaults to desc.
5786
+ * @param {string} [releaseType] Filter collections by release type. Supports comma-separated values for multiple types (e.g. \&#39;album,single\&#39;). 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 (\&quot;audio collection\&quot;, \&quot;image collection\&quot;, \&quot;video collection\&quot;) are derived at read time from a collection\&#39;s assets and are not filterable yet: asking for one matches nothing.
5787
+ * @param {GetOwnCollectionsUseForTrainingEnum} [useForTraining] Filter collections by their &#x60;use_for_training&#x60; flag.
5550
5788
  * @param {*} [options] Override http request option.
5551
5789
  * @throws {RequiredError}
5552
5790
  * @memberof SureelApi
5553
5791
  */
5554
- getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options) {
5792
+ getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options) {
5555
5793
  return (0, exports.SureelApiFp)(this.configuration)
5556
- .getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, options)
5794
+ .getOwnCollections(includeArtworks, includeOriginalSongs, includeFullResArtworks, take, cursor, collectionSearchField, collectionSearchValue, sortBy, sortOrder, releaseType, useForTraining, options)
5557
5795
  .then((request) => request(this.axios, this.basePath));
5558
5796
  }
5559
5797
  /**
@@ -5587,6 +5825,22 @@ class SureelApi extends base_1.BaseAPI {
5587
5825
  .getResultByRequestId(requestId, topNAttributionResults, options)
5588
5826
  .then((request) => request(this.axios, this.basePath));
5589
5827
  }
5828
+ /**
5829
+ * 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.
5830
+ * @summary Get one artist on a label\'s roster
5831
+ * @param {string} labelName
5832
+ * @param {string} username
5833
+ * @param {boolean} [includeNilv] When true, the artist carries the same &#x60;nilv&#x60; summary a roster page gives each artist.
5834
+ * @param {boolean} [includeMusicConsent] When true, the artist carries the same &#x60;music_consent&#x60; summary a roster page gives each artist.
5835
+ * @param {*} [options] Override http request option.
5836
+ * @throws {RequiredError}
5837
+ * @memberof SureelApi
5838
+ */
5839
+ getRosterArtist(labelName, username, includeNilv, includeMusicConsent, options) {
5840
+ return (0, exports.SureelApiFp)(this.configuration)
5841
+ .getRosterArtist(labelName, username, includeNilv, includeMusicConsent, options)
5842
+ .then((request) => request(this.axios, this.basePath));
5843
+ }
5590
5844
  /**
5591
5845
  * Get the style preset parameters for ldm.
5592
5846
  * @summary Style presets for ldm
@@ -5940,20 +6194,6 @@ class SureelApi extends base_1.BaseAPI {
5940
6194
  .updateCollection(collectionUuid, contentType, updateCollectionRequest, options)
5941
6195
  .then((request) => request(this.axios, this.basePath));
5942
6196
  }
5943
- /**
5944
- * 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.
5945
- * @summary Upload files as form-data
5946
- * @param {UploadFilesContentTypeEnum} contentType
5947
- * @param {string} contentType2
5948
- * @param {*} [options] Override http request option.
5949
- * @throws {RequiredError}
5950
- * @memberof SureelApi
5951
- */
5952
- uploadFiles(contentType, contentType2, options) {
5953
- return (0, exports.SureelApiFp)(this.configuration)
5954
- .uploadFiles(contentType, contentType2, options)
5955
- .then((request) => request(this.axios, this.basePath));
5956
- }
5957
6197
  /**
5958
6198
  * Upscale a given image. The maximum allowed resolution for the content image is 1024x1024. By default, each user has a limit of 100 requests per minute.
5959
6199
  * @summary Upscaling
@@ -6097,6 +6337,13 @@ exports.GetArtistByUsernameSortByEnum = {
6097
6337
  ReleaseDate: "release_date",
6098
6338
  CollectionName: "collection_name",
6099
6339
  NumberOfAssets: "number_of_assets",
6340
+ CreatedAt: "created_at",
6341
+ UpdatedAt: "updated_at",
6342
+ Upc: "upc",
6343
+ Styles: "styles",
6344
+ AiCompanyNotificationsNotificationsStatus: "ai_company_notifications.notifications_status",
6345
+ AiCompanyNotificationsNumberOfContactedAiCompanies: "ai_company_notifications.number_of_contacted_ai_companies",
6346
+ UseForTrainingTimestamp: "use_for_training_timestamp",
6100
6347
  };
6101
6348
  /**
6102
6349
  * @export
@@ -6105,6 +6352,13 @@ exports.GetArtistByUsernameSortOrderEnum = {
6105
6352
  Asc: "asc",
6106
6353
  Desc: "desc",
6107
6354
  };
6355
+ /**
6356
+ * @export
6357
+ */
6358
+ exports.GetArtistByUsernameUseForTrainingEnum = {
6359
+ True: "true",
6360
+ False: "false",
6361
+ };
6108
6362
  /**
6109
6363
  * @export
6110
6364
  */
@@ -6118,6 +6372,13 @@ exports.GetOwnCollectionsSortByEnum = {
6118
6372
  ReleaseDate: "release_date",
6119
6373
  CollectionName: "collection_name",
6120
6374
  NumberOfAssets: "number_of_assets",
6375
+ CreatedAt: "created_at",
6376
+ UpdatedAt: "updated_at",
6377
+ Upc: "upc",
6378
+ Styles: "styles",
6379
+ AiCompanyNotificationsNotificationsStatus: "ai_company_notifications.notifications_status",
6380
+ AiCompanyNotificationsNumberOfContactedAiCompanies: "ai_company_notifications.number_of_contacted_ai_companies",
6381
+ UseForTrainingTimestamp: "use_for_training_timestamp",
6121
6382
  };
6122
6383
  /**
6123
6384
  * @export
@@ -6126,6 +6387,13 @@ exports.GetOwnCollectionsSortOrderEnum = {
6126
6387
  Asc: "asc",
6127
6388
  Desc: "desc",
6128
6389
  };
6390
+ /**
6391
+ * @export
6392
+ */
6393
+ exports.GetOwnCollectionsUseForTrainingEnum = {
6394
+ True: "true",
6395
+ False: "false",
6396
+ };
6129
6397
  /**
6130
6398
  * @export
6131
6399
  */
@@ -6228,16 +6496,6 @@ exports.TrackTrainingArtifactsContentTypeEnum = {
6228
6496
  exports.UpdateCollectionContentTypeEnum = {
6229
6497
  ApplicationJson: "application/json",
6230
6498
  };
6231
- /**
6232
- * @export
6233
- */
6234
- exports.UploadFilesContentTypeEnum = {
6235
- Audio: "audio",
6236
- Image: "image",
6237
- Video: "video",
6238
- Metadata: "metadata",
6239
- Archive: "archive",
6240
- };
6241
6499
  /**
6242
6500
  * @export
6243
6501
  */