@sureel/sdk 1.16.6 → 1.17.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/api/sureel-api.d.ts +323 -10
  2. package/api/sureel-api.d.ts.map +1 -1
  3. package/api/sureel-api.js +518 -11
  4. package/api/sureel-api.js.map +1 -1
  5. package/esm/api/sureel-api.d.ts +323 -10
  6. package/esm/api/sureel-api.d.ts.map +1 -1
  7. package/esm/api/sureel-api.js +518 -11
  8. package/esm/api/sureel-api.js.map +1 -1
  9. package/esm/models/artifacts-per-epoch-entry.d.ts +2 -2
  10. package/esm/models/artist-collection-record-intersection.d.ts +18 -0
  11. package/esm/models/artist-collection-record-intersection.d.ts.map +1 -1
  12. package/esm/models/artist-db.d.ts +36 -0
  13. package/esm/models/artist-db.d.ts.map +1 -1
  14. package/esm/models/artist-object.d.ts +36 -0
  15. package/esm/models/artist-object.d.ts.map +1 -1
  16. package/esm/models/artist-profile-data.d.ts +54 -0
  17. package/esm/models/artist-profile-data.d.ts.map +1 -1
  18. package/esm/models/asset-metadata-record.d.ts +6 -6
  19. package/esm/models/asset-metadata-record.d.ts.map +1 -1
  20. package/esm/models/contributor-identifiers.d.ts +55 -0
  21. package/esm/models/contributor-identifiers.d.ts.map +1 -0
  22. package/esm/models/contributor-identifiers.js +15 -0
  23. package/esm/models/contributor-identifiers.js.map +1 -0
  24. package/esm/models/create-collection-request.d.ts +28 -10
  25. package/esm/models/create-collection-request.d.ts.map +1 -1
  26. package/esm/models/create-collection-request.js.map +1 -1
  27. package/esm/models/customer-profile-data.d.ts +3 -3
  28. package/esm/models/customer-profile-data.d.ts.map +1 -1
  29. package/esm/models/evaluate-music-consent-body.d.ts +64 -0
  30. package/esm/models/evaluate-music-consent-body.d.ts.map +1 -0
  31. package/esm/models/evaluate-music-consent-body.js +15 -0
  32. package/esm/models/evaluate-music-consent-body.js.map +1 -0
  33. package/esm/models/evaluate-music-consent-response.d.ts +64 -0
  34. package/esm/models/evaluate-music-consent-response.d.ts.map +1 -0
  35. package/esm/models/evaluate-music-consent-response.js +15 -0
  36. package/esm/models/evaluate-music-consent-response.js.map +1 -0
  37. package/esm/models/evaluate-music-decision.d.ts +19 -0
  38. package/esm/models/evaluate-music-decision.d.ts.map +1 -0
  39. package/esm/models/evaluate-music-decision.js +15 -0
  40. package/esm/models/evaluate-music-decision.js.map +1 -0
  41. package/esm/models/evaluate-music-lifecycle-stage.d.ts +19 -0
  42. package/esm/models/evaluate-music-lifecycle-stage.d.ts.map +1 -0
  43. package/esm/models/evaluate-music-lifecycle-stage.js +15 -0
  44. package/esm/models/evaluate-music-lifecycle-stage.js.map +1 -0
  45. package/esm/models/evaluate-music-purpose.d.ts +19 -0
  46. package/esm/models/evaluate-music-purpose.d.ts.map +1 -0
  47. package/esm/models/evaluate-music-purpose.js +15 -0
  48. package/esm/models/evaluate-music-purpose.js.map +1 -0
  49. package/esm/models/evaluate-music-scope.d.ts +19 -0
  50. package/esm/models/evaluate-music-scope.d.ts.map +1 -0
  51. package/esm/models/evaluate-music-scope.js +15 -0
  52. package/esm/models/evaluate-music-scope.js.map +1 -0
  53. package/esm/models/evaluate-music-trace-entry.d.ts +43 -0
  54. package/esm/models/evaluate-music-trace-entry.d.ts.map +1 -0
  55. package/esm/models/evaluate-music-trace-entry.js +15 -0
  56. package/esm/models/evaluate-music-trace-entry.js.map +1 -0
  57. package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts +18 -0
  58. package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
  59. package/esm/models/get-music-consent-response.d.ts +52 -0
  60. package/esm/models/get-music-consent-response.d.ts.map +1 -0
  61. package/esm/models/get-music-consent-response.js +15 -0
  62. package/esm/models/get-music-consent-response.js.map +1 -0
  63. package/esm/models/index.d.ts +44 -0
  64. package/esm/models/index.d.ts.map +1 -1
  65. package/esm/models/index.js +44 -0
  66. package/esm/models/index.js.map +1 -1
  67. package/esm/models/model-file.d.ts +6 -6
  68. package/esm/models/model-file.d.ts.map +1 -1
  69. package/esm/models/music-ai-company-ref.d.ts +25 -0
  70. package/esm/models/music-ai-company-ref.d.ts.map +1 -0
  71. package/esm/models/music-ai-company-ref.js +15 -0
  72. package/esm/models/music-ai-company-ref.js.map +1 -0
  73. package/esm/models/music-consent-changes.d.ts +37 -0
  74. package/esm/models/music-consent-changes.d.ts.map +1 -0
  75. package/esm/models/music-consent-changes.js +15 -0
  76. package/esm/models/music-consent-changes.js.map +1 -0
  77. package/esm/models/music-consent-envelope.d.ts +26 -0
  78. package/esm/models/music-consent-envelope.d.ts.map +1 -0
  79. package/esm/models/music-consent-envelope.js +15 -0
  80. package/esm/models/music-consent-envelope.js.map +1 -0
  81. package/esm/models/music-consent-error.d.ts +44 -0
  82. package/esm/models/music-consent-error.d.ts.map +1 -0
  83. package/esm/models/music-consent-error.js +15 -0
  84. package/esm/models/music-consent-error.js.map +1 -0
  85. package/esm/models/music-consent-input.d.ts +33 -0
  86. package/esm/models/music-consent-input.d.ts.map +1 -0
  87. package/esm/models/music-consent-input.js +15 -0
  88. package/esm/models/music-consent-input.js.map +1 -0
  89. package/esm/models/music-consent-record-input.d.ts +42 -0
  90. package/esm/models/music-consent-record-input.d.ts.map +1 -0
  91. package/esm/models/music-consent-record-input.js +17 -0
  92. package/esm/models/music-consent-record-input.js.map +1 -0
  93. package/esm/models/music-consent-record.d.ts +44 -0
  94. package/esm/models/music-consent-record.d.ts.map +1 -0
  95. package/esm/models/music-consent-record.js +15 -0
  96. package/esm/models/music-consent-record.js.map +1 -0
  97. package/esm/models/music-consent.d.ts +40 -0
  98. package/esm/models/music-consent.d.ts.map +1 -0
  99. package/esm/models/music-consent.js +15 -0
  100. package/esm/models/music-consent.js.map +1 -0
  101. package/esm/models/music-decision.d.ts +19 -0
  102. package/esm/models/music-decision.d.ts.map +1 -0
  103. package/esm/models/music-decision.js +15 -0
  104. package/esm/models/music-decision.js.map +1 -0
  105. package/esm/models/music-default-decision-stored.d.ts +19 -0
  106. package/esm/models/music-default-decision-stored.d.ts.map +1 -0
  107. package/esm/models/music-default-decision-stored.js +15 -0
  108. package/esm/models/music-default-decision-stored.js.map +1 -0
  109. package/esm/models/music-default-decision.d.ts +19 -0
  110. package/esm/models/music-default-decision.d.ts.map +1 -0
  111. package/esm/models/music-default-decision.js +15 -0
  112. package/esm/models/music-default-decision.js.map +1 -0
  113. package/esm/models/music-evidence-input.d.ts +31 -0
  114. package/esm/models/music-evidence-input.d.ts.map +1 -0
  115. package/esm/models/music-evidence-input.js +15 -0
  116. package/esm/models/music-evidence-input.js.map +1 -0
  117. package/esm/models/music-evidence.d.ts +31 -0
  118. package/esm/models/music-evidence.d.ts.map +1 -0
  119. package/esm/models/music-evidence.js +15 -0
  120. package/esm/models/music-evidence.js.map +1 -0
  121. package/esm/models/music-grant-input.d.ts +116 -0
  122. package/esm/models/music-grant-input.d.ts.map +1 -0
  123. package/esm/models/music-grant-input.js +15 -0
  124. package/esm/models/music-grant-input.js.map +1 -0
  125. package/esm/models/music-grant-status.d.ts +19 -0
  126. package/esm/models/music-grant-status.d.ts.map +1 -0
  127. package/esm/models/music-grant-status.js +15 -0
  128. package/esm/models/music-grant-status.js.map +1 -0
  129. package/esm/models/music-grant.d.ts +124 -0
  130. package/esm/models/music-grant.d.ts.map +1 -0
  131. package/esm/models/music-grant.js +15 -0
  132. package/esm/models/music-grant.js.map +1 -0
  133. package/esm/models/music-grant1.d.ts +124 -0
  134. package/esm/models/music-grant1.d.ts.map +1 -0
  135. package/esm/models/music-grant1.js +15 -0
  136. package/esm/models/music-grant1.js.map +1 -0
  137. package/esm/models/music-granted-by.d.ts +50 -0
  138. package/esm/models/music-granted-by.d.ts.map +1 -0
  139. package/esm/models/music-granted-by.js +15 -0
  140. package/esm/models/music-granted-by.js.map +1 -0
  141. package/esm/models/music-grantor-role-stored.d.ts +19 -0
  142. package/esm/models/music-grantor-role-stored.d.ts.map +1 -0
  143. package/esm/models/music-grantor-role-stored.js +15 -0
  144. package/esm/models/music-grantor-role-stored.js.map +1 -0
  145. package/esm/models/music-layer-response.d.ts +19 -0
  146. package/esm/models/music-layer-response.d.ts.map +1 -0
  147. package/esm/models/music-layer-response.js +15 -0
  148. package/esm/models/music-layer-response.js.map +1 -0
  149. package/esm/models/music-lifecycle-stage.d.ts +19 -0
  150. package/esm/models/music-lifecycle-stage.d.ts.map +1 -0
  151. package/esm/models/music-lifecycle-stage.js +15 -0
  152. package/esm/models/music-lifecycle-stage.js.map +1 -0
  153. package/esm/models/music-purpose.d.ts +19 -0
  154. package/esm/models/music-purpose.d.ts.map +1 -0
  155. package/esm/models/music-purpose.js +15 -0
  156. package/esm/models/music-purpose.js.map +1 -0
  157. package/esm/models/music-revocation.d.ts +43 -0
  158. package/esm/models/music-revocation.d.ts.map +1 -0
  159. package/esm/models/music-revocation.js +15 -0
  160. package/esm/models/music-revocation.js.map +1 -0
  161. package/esm/models/music-roster-summary-state.d.ts +19 -0
  162. package/esm/models/music-roster-summary-state.d.ts.map +1 -0
  163. package/esm/models/music-roster-summary-state.js +15 -0
  164. package/esm/models/music-roster-summary-state.js.map +1 -0
  165. package/esm/models/music-roster-summary.d.ts +52 -0
  166. package/esm/models/music-roster-summary.d.ts.map +1 -0
  167. package/esm/models/music-roster-summary.js +15 -0
  168. package/esm/models/music-roster-summary.js.map +1 -0
  169. package/esm/models/music-roster-updated-by.d.ts +19 -0
  170. package/esm/models/music-roster-updated-by.d.ts.map +1 -0
  171. package/esm/models/music-roster-updated-by.js +15 -0
  172. package/esm/models/music-roster-updated-by.js.map +1 -0
  173. package/esm/models/music-scope.d.ts +19 -0
  174. package/esm/models/music-scope.d.ts.map +1 -0
  175. package/esm/models/music-scope.js +15 -0
  176. package/esm/models/music-scope.js.map +1 -0
  177. package/esm/models/music-writable-layer-response.d.ts +19 -0
  178. package/esm/models/music-writable-layer-response.d.ts.map +1 -0
  179. package/esm/models/music-writable-layer-response.js +15 -0
  180. package/esm/models/music-writable-layer-response.js.map +1 -0
  181. package/esm/models/name-image-likeness-response.d.ts +6 -0
  182. package/esm/models/name-image-likeness-response.d.ts.map +1 -1
  183. package/esm/models/nilv-roster-summary-state.d.ts +19 -0
  184. package/esm/models/nilv-roster-summary-state.d.ts.map +1 -0
  185. package/esm/models/nilv-roster-summary-state.js +15 -0
  186. package/esm/models/nilv-roster-summary-state.js.map +1 -0
  187. package/esm/models/nilv-roster-summary.d.ts +52 -0
  188. package/esm/models/nilv-roster-summary.d.ts.map +1 -0
  189. package/esm/models/nilv-roster-summary.js +15 -0
  190. package/esm/models/nilv-roster-summary.js.map +1 -0
  191. package/esm/models/nilv-roster-updated-by.d.ts +19 -0
  192. package/esm/models/nilv-roster-updated-by.d.ts.map +1 -0
  193. package/esm/models/nilv-roster-updated-by.js +15 -0
  194. package/esm/models/nilv-roster-updated-by.js.map +1 -0
  195. package/esm/models/post-music-consent-body.d.ts +26 -0
  196. package/esm/models/post-music-consent-body.d.ts.map +1 -0
  197. package/esm/models/post-music-consent-body.js +15 -0
  198. package/esm/models/post-music-consent-body.js.map +1 -0
  199. package/esm/models/post-music-consent-response.d.ts +32 -0
  200. package/esm/models/post-music-consent-response.d.ts.map +1 -0
  201. package/esm/models/post-music-consent-response.js +15 -0
  202. package/esm/models/post-music-consent-response.js.map +1 -0
  203. package/esm/models/publishing-contributor.d.ts +19 -12
  204. package/esm/models/publishing-contributor.d.ts.map +1 -1
  205. package/esm/models/recording-contributor.d.ts +7 -0
  206. package/esm/models/recording-contributor.d.ts.map +1 -1
  207. package/esm/models/roster-artist-profile-data.d.ts +333 -0
  208. package/esm/models/roster-artist-profile-data.d.ts.map +1 -0
  209. package/esm/models/roster-artist-profile-data.js +15 -0
  210. package/esm/models/roster-artist-profile-data.js.map +1 -0
  211. package/esm/models/roster-role-filter.d.ts +19 -0
  212. package/esm/models/roster-role-filter.d.ts.map +1 -0
  213. package/esm/models/roster-role-filter.js +15 -0
  214. package/esm/models/roster-role-filter.js.map +1 -0
  215. package/esm/models/track-inference-artifacts-body.d.ts +15 -3
  216. package/esm/models/track-inference-artifacts-body.d.ts.map +1 -1
  217. package/esm/models/track-training-artifacts-body.d.ts +8 -2
  218. package/esm/models/track-training-artifacts-body.d.ts.map +1 -1
  219. package/esm/models/training-artifact-entry.d.ts +1 -1
  220. package/esm/models/training-artifact-entry.d.ts.map +1 -1
  221. package/esm/models/update-asset-metadata-body.d.ts +6 -6
  222. package/esm/models/update-asset-metadata-body.d.ts.map +1 -1
  223. package/esm/models/update-collection-request.d.ts +24 -0
  224. package/esm/models/update-collection-request.d.ts.map +1 -1
  225. package/models/artifacts-per-epoch-entry.d.ts +2 -2
  226. package/models/artist-collection-record-intersection.d.ts +18 -0
  227. package/models/artist-collection-record-intersection.d.ts.map +1 -1
  228. package/models/artist-db.d.ts +36 -0
  229. package/models/artist-db.d.ts.map +1 -1
  230. package/models/artist-object.d.ts +36 -0
  231. package/models/artist-object.d.ts.map +1 -1
  232. package/models/artist-profile-data.d.ts +54 -0
  233. package/models/artist-profile-data.d.ts.map +1 -1
  234. package/models/asset-metadata-record.d.ts +6 -6
  235. package/models/asset-metadata-record.d.ts.map +1 -1
  236. package/models/contributor-identifiers.d.ts +55 -0
  237. package/models/contributor-identifiers.d.ts.map +1 -0
  238. package/models/contributor-identifiers.js +16 -0
  239. package/models/contributor-identifiers.js.map +1 -0
  240. package/models/create-collection-request.d.ts +28 -10
  241. package/models/create-collection-request.d.ts.map +1 -1
  242. package/models/create-collection-request.js.map +1 -1
  243. package/models/customer-profile-data.d.ts +3 -3
  244. package/models/customer-profile-data.d.ts.map +1 -1
  245. package/models/evaluate-music-consent-body.d.ts +64 -0
  246. package/models/evaluate-music-consent-body.d.ts.map +1 -0
  247. package/models/evaluate-music-consent-body.js +16 -0
  248. package/models/evaluate-music-consent-body.js.map +1 -0
  249. package/models/evaluate-music-consent-response.d.ts +64 -0
  250. package/models/evaluate-music-consent-response.d.ts.map +1 -0
  251. package/models/evaluate-music-consent-response.js +16 -0
  252. package/models/evaluate-music-consent-response.js.map +1 -0
  253. package/models/evaluate-music-decision.d.ts +19 -0
  254. package/models/evaluate-music-decision.d.ts.map +1 -0
  255. package/models/evaluate-music-decision.js +16 -0
  256. package/models/evaluate-music-decision.js.map +1 -0
  257. package/models/evaluate-music-lifecycle-stage.d.ts +19 -0
  258. package/models/evaluate-music-lifecycle-stage.d.ts.map +1 -0
  259. package/models/evaluate-music-lifecycle-stage.js +16 -0
  260. package/models/evaluate-music-lifecycle-stage.js.map +1 -0
  261. package/models/evaluate-music-purpose.d.ts +19 -0
  262. package/models/evaluate-music-purpose.d.ts.map +1 -0
  263. package/models/evaluate-music-purpose.js +16 -0
  264. package/models/evaluate-music-purpose.js.map +1 -0
  265. package/models/evaluate-music-scope.d.ts +19 -0
  266. package/models/evaluate-music-scope.d.ts.map +1 -0
  267. package/models/evaluate-music-scope.js +16 -0
  268. package/models/evaluate-music-scope.js.map +1 -0
  269. package/models/evaluate-music-trace-entry.d.ts +43 -0
  270. package/models/evaluate-music-trace-entry.d.ts.map +1 -0
  271. package/models/evaluate-music-trace-entry.js +16 -0
  272. package/models/evaluate-music-trace-entry.js.map +1 -0
  273. package/models/get-collection-with-lyrics-and-stems-response.d.ts +18 -0
  274. package/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
  275. package/models/get-music-consent-response.d.ts +52 -0
  276. package/models/get-music-consent-response.d.ts.map +1 -0
  277. package/models/get-music-consent-response.js +16 -0
  278. package/models/get-music-consent-response.js.map +1 -0
  279. package/models/index.d.ts +44 -0
  280. package/models/index.d.ts.map +1 -1
  281. package/models/index.js +44 -0
  282. package/models/index.js.map +1 -1
  283. package/models/model-file.d.ts +6 -6
  284. package/models/model-file.d.ts.map +1 -1
  285. package/models/music-ai-company-ref.d.ts +25 -0
  286. package/models/music-ai-company-ref.d.ts.map +1 -0
  287. package/models/music-ai-company-ref.js +16 -0
  288. package/models/music-ai-company-ref.js.map +1 -0
  289. package/models/music-consent-changes.d.ts +37 -0
  290. package/models/music-consent-changes.d.ts.map +1 -0
  291. package/models/music-consent-changes.js +16 -0
  292. package/models/music-consent-changes.js.map +1 -0
  293. package/models/music-consent-envelope.d.ts +26 -0
  294. package/models/music-consent-envelope.d.ts.map +1 -0
  295. package/models/music-consent-envelope.js +16 -0
  296. package/models/music-consent-envelope.js.map +1 -0
  297. package/models/music-consent-error.d.ts +44 -0
  298. package/models/music-consent-error.d.ts.map +1 -0
  299. package/models/music-consent-error.js +16 -0
  300. package/models/music-consent-error.js.map +1 -0
  301. package/models/music-consent-input.d.ts +33 -0
  302. package/models/music-consent-input.d.ts.map +1 -0
  303. package/models/music-consent-input.js +16 -0
  304. package/models/music-consent-input.js.map +1 -0
  305. package/models/music-consent-record-input.d.ts +42 -0
  306. package/models/music-consent-record-input.d.ts.map +1 -0
  307. package/models/music-consent-record-input.js +20 -0
  308. package/models/music-consent-record-input.js.map +1 -0
  309. package/models/music-consent-record.d.ts +44 -0
  310. package/models/music-consent-record.d.ts.map +1 -0
  311. package/models/music-consent-record.js +16 -0
  312. package/models/music-consent-record.js.map +1 -0
  313. package/models/music-consent.d.ts +40 -0
  314. package/models/music-consent.d.ts.map +1 -0
  315. package/models/music-consent.js +16 -0
  316. package/models/music-consent.js.map +1 -0
  317. package/models/music-decision.d.ts +19 -0
  318. package/models/music-decision.d.ts.map +1 -0
  319. package/models/music-decision.js +16 -0
  320. package/models/music-decision.js.map +1 -0
  321. package/models/music-default-decision-stored.d.ts +19 -0
  322. package/models/music-default-decision-stored.d.ts.map +1 -0
  323. package/models/music-default-decision-stored.js +16 -0
  324. package/models/music-default-decision-stored.js.map +1 -0
  325. package/models/music-default-decision.d.ts +19 -0
  326. package/models/music-default-decision.d.ts.map +1 -0
  327. package/models/music-default-decision.js +16 -0
  328. package/models/music-default-decision.js.map +1 -0
  329. package/models/music-evidence-input.d.ts +31 -0
  330. package/models/music-evidence-input.d.ts.map +1 -0
  331. package/models/music-evidence-input.js +16 -0
  332. package/models/music-evidence-input.js.map +1 -0
  333. package/models/music-evidence.d.ts +31 -0
  334. package/models/music-evidence.d.ts.map +1 -0
  335. package/models/music-evidence.js +16 -0
  336. package/models/music-evidence.js.map +1 -0
  337. package/models/music-grant-input.d.ts +116 -0
  338. package/models/music-grant-input.d.ts.map +1 -0
  339. package/models/music-grant-input.js +16 -0
  340. package/models/music-grant-input.js.map +1 -0
  341. package/models/music-grant-status.d.ts +19 -0
  342. package/models/music-grant-status.d.ts.map +1 -0
  343. package/models/music-grant-status.js +16 -0
  344. package/models/music-grant-status.js.map +1 -0
  345. package/models/music-grant.d.ts +124 -0
  346. package/models/music-grant.d.ts.map +1 -0
  347. package/models/music-grant.js +16 -0
  348. package/models/music-grant.js.map +1 -0
  349. package/models/music-grant1.d.ts +124 -0
  350. package/models/music-grant1.d.ts.map +1 -0
  351. package/models/music-grant1.js +16 -0
  352. package/models/music-grant1.js.map +1 -0
  353. package/models/music-granted-by.d.ts +50 -0
  354. package/models/music-granted-by.d.ts.map +1 -0
  355. package/models/music-granted-by.js +16 -0
  356. package/models/music-granted-by.js.map +1 -0
  357. package/models/music-grantor-role-stored.d.ts +19 -0
  358. package/models/music-grantor-role-stored.d.ts.map +1 -0
  359. package/models/music-grantor-role-stored.js +16 -0
  360. package/models/music-grantor-role-stored.js.map +1 -0
  361. package/models/music-layer-response.d.ts +19 -0
  362. package/models/music-layer-response.d.ts.map +1 -0
  363. package/models/music-layer-response.js +16 -0
  364. package/models/music-layer-response.js.map +1 -0
  365. package/models/music-lifecycle-stage.d.ts +19 -0
  366. package/models/music-lifecycle-stage.d.ts.map +1 -0
  367. package/models/music-lifecycle-stage.js +16 -0
  368. package/models/music-lifecycle-stage.js.map +1 -0
  369. package/models/music-purpose.d.ts +19 -0
  370. package/models/music-purpose.d.ts.map +1 -0
  371. package/models/music-purpose.js +16 -0
  372. package/models/music-purpose.js.map +1 -0
  373. package/models/music-revocation.d.ts +43 -0
  374. package/models/music-revocation.d.ts.map +1 -0
  375. package/models/music-revocation.js +16 -0
  376. package/models/music-revocation.js.map +1 -0
  377. package/models/music-roster-summary-state.d.ts +19 -0
  378. package/models/music-roster-summary-state.d.ts.map +1 -0
  379. package/models/music-roster-summary-state.js +16 -0
  380. package/models/music-roster-summary-state.js.map +1 -0
  381. package/models/music-roster-summary.d.ts +52 -0
  382. package/models/music-roster-summary.d.ts.map +1 -0
  383. package/models/music-roster-summary.js +16 -0
  384. package/models/music-roster-summary.js.map +1 -0
  385. package/models/music-roster-updated-by.d.ts +19 -0
  386. package/models/music-roster-updated-by.d.ts.map +1 -0
  387. package/models/music-roster-updated-by.js +16 -0
  388. package/models/music-roster-updated-by.js.map +1 -0
  389. package/models/music-scope.d.ts +19 -0
  390. package/models/music-scope.d.ts.map +1 -0
  391. package/models/music-scope.js +16 -0
  392. package/models/music-scope.js.map +1 -0
  393. package/models/music-writable-layer-response.d.ts +19 -0
  394. package/models/music-writable-layer-response.d.ts.map +1 -0
  395. package/models/music-writable-layer-response.js +16 -0
  396. package/models/music-writable-layer-response.js.map +1 -0
  397. package/models/name-image-likeness-response.d.ts +6 -0
  398. package/models/name-image-likeness-response.d.ts.map +1 -1
  399. package/models/nilv-roster-summary-state.d.ts +19 -0
  400. package/models/nilv-roster-summary-state.d.ts.map +1 -0
  401. package/models/nilv-roster-summary-state.js +16 -0
  402. package/models/nilv-roster-summary-state.js.map +1 -0
  403. package/models/nilv-roster-summary.d.ts +52 -0
  404. package/models/nilv-roster-summary.d.ts.map +1 -0
  405. package/models/nilv-roster-summary.js +16 -0
  406. package/models/nilv-roster-summary.js.map +1 -0
  407. package/models/nilv-roster-updated-by.d.ts +19 -0
  408. package/models/nilv-roster-updated-by.d.ts.map +1 -0
  409. package/models/nilv-roster-updated-by.js +16 -0
  410. package/models/nilv-roster-updated-by.js.map +1 -0
  411. package/models/post-music-consent-body.d.ts +26 -0
  412. package/models/post-music-consent-body.d.ts.map +1 -0
  413. package/models/post-music-consent-body.js +16 -0
  414. package/models/post-music-consent-body.js.map +1 -0
  415. package/models/post-music-consent-response.d.ts +32 -0
  416. package/models/post-music-consent-response.d.ts.map +1 -0
  417. package/models/post-music-consent-response.js +16 -0
  418. package/models/post-music-consent-response.js.map +1 -0
  419. package/models/publishing-contributor.d.ts +19 -12
  420. package/models/publishing-contributor.d.ts.map +1 -1
  421. package/models/recording-contributor.d.ts +7 -0
  422. package/models/recording-contributor.d.ts.map +1 -1
  423. package/models/roster-artist-profile-data.d.ts +333 -0
  424. package/models/roster-artist-profile-data.d.ts.map +1 -0
  425. package/models/roster-artist-profile-data.js +16 -0
  426. package/models/roster-artist-profile-data.js.map +1 -0
  427. package/models/roster-role-filter.d.ts +19 -0
  428. package/models/roster-role-filter.d.ts.map +1 -0
  429. package/models/roster-role-filter.js +16 -0
  430. package/models/roster-role-filter.js.map +1 -0
  431. package/models/track-inference-artifacts-body.d.ts +15 -3
  432. package/models/track-inference-artifacts-body.d.ts.map +1 -1
  433. package/models/track-training-artifacts-body.d.ts +8 -2
  434. package/models/track-training-artifacts-body.d.ts.map +1 -1
  435. package/models/training-artifact-entry.d.ts +1 -1
  436. package/models/training-artifact-entry.d.ts.map +1 -1
  437. package/models/update-asset-metadata-body.d.ts +6 -6
  438. package/models/update-asset-metadata-body.d.ts.map +1 -1
  439. package/models/update-collection-request.d.ts +24 -0
  440. package/models/update-collection-request.d.ts.map +1 -1
  441. package/package.json +1 -1
package/api/sureel-api.js CHANGED
@@ -814,6 +814,75 @@ const SureelApiAxiosParamCreator = function (configuration) {
814
814
  options: localVarRequestOptions,
815
815
  };
816
816
  },
817
+ /**
818
+ *
819
+ * @summary Ask what a party\'s music consent record permits for a given request
820
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
821
+ * @param {*} [options] Override http request option.
822
+ * @throws {RequiredError}
823
+ */
824
+ evaluateMusicConsent: async (evaluateMusicConsentBody, options = {}) => {
825
+ // verify required parameter 'evaluateMusicConsentBody' is not null or undefined
826
+ (0, common_1.assertParamExists)("evaluateMusicConsent", "evaluateMusicConsentBody", evaluateMusicConsentBody);
827
+ const localVarPath = `/v1/ai/artist/settings/music/evaluate`;
828
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
829
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
830
+ let baseOptions;
831
+ if (configuration) {
832
+ baseOptions = configuration.baseOptions;
833
+ }
834
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
835
+ const localVarHeaderParameter = {};
836
+ const localVarQueryParameter = {};
837
+ // authentication OAuth2 required
838
+ // oauth required
839
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
840
+ localVarHeaderParameter["Content-Type"] = "application/json";
841
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
842
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
843
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
844
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(evaluateMusicConsentBody, localVarRequestOptions, configuration);
845
+ return {
846
+ url: (0, common_1.toPathString)(localVarUrlObj),
847
+ options: localVarRequestOptions,
848
+ };
849
+ },
850
+ /**
851
+ *
852
+ * @summary Ask what a party\'s music consent record permits for a given request
853
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
854
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
855
+ * @param {*} [options] Override http request option.
856
+ * @throws {RequiredError}
857
+ */
858
+ evaluateMusicConsentByUsername: async (username, evaluateMusicConsentBody, options = {}) => {
859
+ // verify required parameter 'username' is not null or undefined
860
+ (0, common_1.assertParamExists)("evaluateMusicConsentByUsername", "username", username);
861
+ // verify required parameter 'evaluateMusicConsentBody' is not null or undefined
862
+ (0, common_1.assertParamExists)("evaluateMusicConsentByUsername", "evaluateMusicConsentBody", evaluateMusicConsentBody);
863
+ const localVarPath = `/v1/ai/artist/{username}/settings/music/evaluate`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
864
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
865
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
866
+ let baseOptions;
867
+ if (configuration) {
868
+ baseOptions = configuration.baseOptions;
869
+ }
870
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
871
+ const localVarHeaderParameter = {};
872
+ const localVarQueryParameter = {};
873
+ // authentication OAuth2 required
874
+ // oauth required
875
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
876
+ localVarHeaderParameter["Content-Type"] = "application/json";
877
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
878
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
879
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
880
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(evaluateMusicConsentBody, localVarRequestOptions, configuration);
881
+ return {
882
+ url: (0, common_1.toPathString)(localVarUrlObj),
883
+ options: localVarRequestOptions,
884
+ };
885
+ },
817
886
  /**
818
887
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
819
888
  * @summary Face swap
@@ -1384,10 +1453,14 @@ const SureelApiAxiosParamCreator = function (configuration) {
1384
1453
  * @param {string} labelName
1385
1454
  * @param {number} [take] The `take` parameter is the number of artists to return per page.
1386
1455
  * @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
1456
+ * @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
+ * @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
+ * @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.
1387
1460
  * @param {*} [options] Override http request option.
1388
1461
  * @throws {RequiredError}
1389
1462
  */
1390
- getCustomerData: async (labelName, take, cursor, options = {}) => {
1463
+ getCustomerData: async (labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options = {}) => {
1391
1464
  // verify required parameter 'labelName' is not null or undefined
1392
1465
  (0, common_1.assertParamExists)("getCustomerData", "labelName", labelName);
1393
1466
  const localVarPath = `/v1/ai/record-label/{labelName}`.replace(`{${"labelName"}}`, encodeURIComponent(String(labelName)));
@@ -1409,6 +1482,86 @@ const SureelApiAxiosParamCreator = function (configuration) {
1409
1482
  if (cursor !== undefined) {
1410
1483
  localVarQueryParameter["cursor"] = cursor;
1411
1484
  }
1485
+ if (includeNilv !== undefined) {
1486
+ localVarQueryParameter["include_nilv"] = includeNilv;
1487
+ }
1488
+ if (includeMusicConsent !== undefined) {
1489
+ localVarQueryParameter["include_music_consent"] =
1490
+ includeMusicConsent;
1491
+ }
1492
+ if (includeHidden !== undefined) {
1493
+ localVarQueryParameter["include_hidden"] = includeHidden;
1494
+ }
1495
+ if (roles) {
1496
+ localVarQueryParameter["roles"] = Array.from(roles);
1497
+ }
1498
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1499
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1500
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1501
+ return {
1502
+ url: (0, common_1.toPathString)(localVarUrlObj),
1503
+ options: localVarRequestOptions,
1504
+ };
1505
+ },
1506
+ /**
1507
+ *
1508
+ * @summary Get a party\'s music consent record: what AI may do with their recordings and works
1509
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
1510
+ * @param {*} [options] Override http request option.
1511
+ * @throws {RequiredError}
1512
+ */
1513
+ getMusicConsent: async (version, options = {}) => {
1514
+ const localVarPath = `/v1/ai/artist/settings/music`;
1515
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1516
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1517
+ let baseOptions;
1518
+ if (configuration) {
1519
+ baseOptions = configuration.baseOptions;
1520
+ }
1521
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
1522
+ const localVarHeaderParameter = {};
1523
+ const localVarQueryParameter = {};
1524
+ // authentication OAuth2 required
1525
+ // oauth required
1526
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1527
+ if (version !== undefined) {
1528
+ localVarQueryParameter["version"] = version;
1529
+ }
1530
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1531
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1532
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1533
+ return {
1534
+ url: (0, common_1.toPathString)(localVarUrlObj),
1535
+ options: localVarRequestOptions,
1536
+ };
1537
+ },
1538
+ /**
1539
+ *
1540
+ * @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
1541
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
1542
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
1543
+ * @param {*} [options] Override http request option.
1544
+ * @throws {RequiredError}
1545
+ */
1546
+ getMusicConsentByUsername: async (username, version, options = {}) => {
1547
+ // verify required parameter 'username' is not null or undefined
1548
+ (0, common_1.assertParamExists)("getMusicConsentByUsername", "username", username);
1549
+ const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
1550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1551
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1552
+ let baseOptions;
1553
+ if (configuration) {
1554
+ baseOptions = configuration.baseOptions;
1555
+ }
1556
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
1557
+ const localVarHeaderParameter = {};
1558
+ const localVarQueryParameter = {};
1559
+ // authentication OAuth2 required
1560
+ // oauth required
1561
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1562
+ if (version !== undefined) {
1563
+ localVarQueryParameter["version"] = version;
1564
+ }
1412
1565
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1413
1566
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1414
1567
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2067,6 +2220,93 @@ const SureelApiAxiosParamCreator = function (configuration) {
2067
2220
  options: localVarRequestOptions,
2068
2221
  };
2069
2222
  },
2223
+ /**
2224
+ * Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
2225
+ * @summary Replace a party\'s music consents, appending a new consent version
2226
+ * @param {PostMusicConsentBody} postMusicConsentBody
2227
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
2228
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
2229
+ * @param {*} [options] Override http request option.
2230
+ * @throws {RequiredError}
2231
+ */
2232
+ saveMusicConsent: async (postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
2233
+ // verify required parameter 'postMusicConsentBody' is not null or undefined
2234
+ (0, common_1.assertParamExists)("saveMusicConsent", "postMusicConsentBody", postMusicConsentBody);
2235
+ const localVarPath = `/v1/ai/artist/settings/music`;
2236
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2237
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2238
+ let baseOptions;
2239
+ if (configuration) {
2240
+ baseOptions = configuration.baseOptions;
2241
+ }
2242
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
2243
+ const localVarHeaderParameter = {};
2244
+ const localVarQueryParameter = {};
2245
+ // authentication OAuth2 required
2246
+ // oauth required
2247
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
2248
+ localVarHeaderParameter["Content-Type"] = "application/json";
2249
+ if (ifMatch != null) {
2250
+ localVarHeaderParameter["if-match"] = String(ifMatch);
2251
+ }
2252
+ if (idempotencyKey != null) {
2253
+ localVarHeaderParameter["idempotency-key"] =
2254
+ String(idempotencyKey);
2255
+ }
2256
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2257
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2258
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2259
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postMusicConsentBody, localVarRequestOptions, configuration);
2260
+ return {
2261
+ url: (0, common_1.toPathString)(localVarUrlObj),
2262
+ options: localVarRequestOptions,
2263
+ };
2264
+ },
2265
+ /**
2266
+ * A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
2267
+ * @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
2268
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
2269
+ * @param {PostMusicConsentBody} postMusicConsentBody
2270
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
2271
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
2272
+ * @param {*} [options] Override http request option.
2273
+ * @throws {RequiredError}
2274
+ */
2275
+ saveMusicConsentByUsername: async (username, postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
2276
+ // verify required parameter 'username' is not null or undefined
2277
+ (0, common_1.assertParamExists)("saveMusicConsentByUsername", "username", username);
2278
+ // verify required parameter 'postMusicConsentBody' is not null or undefined
2279
+ (0, common_1.assertParamExists)("saveMusicConsentByUsername", "postMusicConsentBody", postMusicConsentBody);
2280
+ const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
2281
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2282
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2283
+ let baseOptions;
2284
+ if (configuration) {
2285
+ baseOptions = configuration.baseOptions;
2286
+ }
2287
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
2288
+ const localVarHeaderParameter = {};
2289
+ const localVarQueryParameter = {};
2290
+ // authentication OAuth2 required
2291
+ // oauth required
2292
+ await (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
2293
+ localVarHeaderParameter["Content-Type"] = "application/json";
2294
+ if (ifMatch != null) {
2295
+ localVarHeaderParameter["if-match"] = String(ifMatch);
2296
+ }
2297
+ if (idempotencyKey != null) {
2298
+ localVarHeaderParameter["idempotency-key"] =
2299
+ String(idempotencyKey);
2300
+ }
2301
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2302
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2303
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2304
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postMusicConsentBody, localVarRequestOptions, configuration);
2305
+ return {
2306
+ url: (0, common_1.toPathString)(localVarUrlObj),
2307
+ options: localVarRequestOptions,
2308
+ };
2309
+ },
2070
2310
  /**
2071
2311
  * Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
2072
2312
  * @summary Set filepaths for a collection
@@ -2529,7 +2769,7 @@ const SureelApiAxiosParamCreator = function (configuration) {
2529
2769
  };
2530
2770
  },
2531
2771
  /**
2532
- * 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 - 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.
2772
+ * 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.
2533
2773
  * @summary Upload files as form-data
2534
2774
  * @param {UploadFilesContentTypeEnum} contentType
2535
2775
  * @param {string} contentType2
@@ -2928,6 +3168,35 @@ const SureelApiFp = function (configuration) {
2928
3168
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.evaluateArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2929
3169
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2930
3170
  },
3171
+ /**
3172
+ *
3173
+ * @summary Ask what a party\'s music consent record permits for a given request
3174
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
3175
+ * @param {*} [options] Override http request option.
3176
+ * @throws {RequiredError}
3177
+ */
3178
+ async evaluateMusicConsent(evaluateMusicConsentBody, options) {
3179
+ var _a, _b, _c;
3180
+ const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateMusicConsent(evaluateMusicConsentBody, options);
3181
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3182
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.evaluateMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3183
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3184
+ },
3185
+ /**
3186
+ *
3187
+ * @summary Ask what a party\'s music consent record permits for a given request
3188
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
3189
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
3190
+ * @param {*} [options] Override http request option.
3191
+ * @throws {RequiredError}
3192
+ */
3193
+ async evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
3194
+ var _a, _b, _c;
3195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options);
3196
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3197
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.evaluateMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3198
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3199
+ },
2931
3200
  /**
2932
3201
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
2933
3202
  * @summary Face swap
@@ -3154,16 +3423,49 @@ const SureelApiFp = function (configuration) {
3154
3423
  * @param {string} labelName
3155
3424
  * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
3156
3425
  * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
3426
+ * @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.
3427
+ * @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.
3428
+ * @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.
3429
+ * @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.
3157
3430
  * @param {*} [options] Override http request option.
3158
3431
  * @throws {RequiredError}
3159
3432
  */
3160
- async getCustomerData(labelName, take, cursor, options) {
3433
+ async getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
3161
3434
  var _a, _b, _c;
3162
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, options);
3435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options);
3163
3436
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3164
3437
  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;
3165
3438
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3166
3439
  },
3440
+ /**
3441
+ *
3442
+ * @summary Get a party\'s music consent record: what AI may do with their recordings and works
3443
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
3444
+ * @param {*} [options] Override http request option.
3445
+ * @throws {RequiredError}
3446
+ */
3447
+ async getMusicConsent(version, options) {
3448
+ var _a, _b, _c;
3449
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsent(version, options);
3450
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3451
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.getMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3452
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3453
+ },
3454
+ /**
3455
+ *
3456
+ * @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
3457
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
3458
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
3459
+ * @param {*} [options] Override http request option.
3460
+ * @throws {RequiredError}
3461
+ */
3462
+ async getMusicConsentByUsername(username, version, options) {
3463
+ var _a, _b, _c;
3464
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsentByUsername(username, version, options);
3465
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3466
+ 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;
3467
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3468
+ },
3167
3469
  /**
3168
3470
  * Answers 404 for an unknown request and for one belonging to another artist, identically.
3169
3471
  * @summary Check how ingestion of a settings submission\'s assets is going
@@ -3413,6 +3715,39 @@ const SureelApiFp = function (configuration) {
3413
3715
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.saveArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3414
3716
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3415
3717
  },
3718
+ /**
3719
+ * Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
3720
+ * @summary Replace a party\'s music consents, appending a new consent version
3721
+ * @param {PostMusicConsentBody} postMusicConsentBody
3722
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
3723
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
3724
+ * @param {*} [options] Override http request option.
3725
+ * @throws {RequiredError}
3726
+ */
3727
+ async saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
3728
+ var _a, _b, _c;
3729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, 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.saveMusicConsent"]) === 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
+ },
3734
+ /**
3735
+ * A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
3736
+ * @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
3737
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
3738
+ * @param {PostMusicConsentBody} postMusicConsentBody
3739
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
3740
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
3741
+ * @param {*} [options] Override http request option.
3742
+ * @throws {RequiredError}
3743
+ */
3744
+ async saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
3745
+ var _a, _b, _c;
3746
+ const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options);
3747
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3748
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap["SureelApi.saveMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3749
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3750
+ },
3416
3751
  /**
3417
3752
  * Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
3418
3753
  * @summary Set filepaths for a collection
@@ -3594,7 +3929,7 @@ const SureelApiFp = function (configuration) {
3594
3929
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3595
3930
  },
3596
3931
  /**
3597
- * 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 - 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.
3932
+ * 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.
3598
3933
  * @summary Upload files as form-data
3599
3934
  * @param {UploadFilesContentTypeEnum} contentType
3600
3935
  * @param {string} contentType2
@@ -3902,6 +4237,31 @@ const SureelApiFactory = function (configuration, basePath, axios) {
3902
4237
  .evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
3903
4238
  .then((request) => request(axios, basePath));
3904
4239
  },
4240
+ /**
4241
+ *
4242
+ * @summary Ask what a party\'s music consent record permits for a given request
4243
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
4244
+ * @param {*} [options] Override http request option.
4245
+ * @throws {RequiredError}
4246
+ */
4247
+ evaluateMusicConsent(evaluateMusicConsentBody, options) {
4248
+ return localVarFp
4249
+ .evaluateMusicConsent(evaluateMusicConsentBody, options)
4250
+ .then((request) => request(axios, basePath));
4251
+ },
4252
+ /**
4253
+ *
4254
+ * @summary Ask what a party\'s music consent record permits for a given request
4255
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
4256
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
4257
+ * @param {*} [options] Override http request option.
4258
+ * @throws {RequiredError}
4259
+ */
4260
+ evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
4261
+ return localVarFp
4262
+ .evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
4263
+ .then((request) => request(axios, basePath));
4264
+ },
3905
4265
  /**
3906
4266
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
3907
4267
  * @summary Face swap
@@ -4100,12 +4460,41 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4100
4460
  * @param {string} labelName
4101
4461
  * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
4102
4462
  * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
4463
+ * @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.
4464
+ * @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.
4465
+ * @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.
4466
+ * @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.
4467
+ * @param {*} [options] Override http request option.
4468
+ * @throws {RequiredError}
4469
+ */
4470
+ getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
4471
+ return localVarFp
4472
+ .getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options)
4473
+ .then((request) => request(axios, basePath));
4474
+ },
4475
+ /**
4476
+ *
4477
+ * @summary Get a party\'s music consent record: what AI may do with their recordings and works
4478
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
4479
+ * @param {*} [options] Override http request option.
4480
+ * @throws {RequiredError}
4481
+ */
4482
+ getMusicConsent(version, options) {
4483
+ return localVarFp
4484
+ .getMusicConsent(version, options)
4485
+ .then((request) => request(axios, basePath));
4486
+ },
4487
+ /**
4488
+ *
4489
+ * @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
4490
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
4491
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
4103
4492
  * @param {*} [options] Override http request option.
4104
4493
  * @throws {RequiredError}
4105
4494
  */
4106
- getCustomerData(labelName, take, cursor, options) {
4495
+ getMusicConsentByUsername(username, version, options) {
4107
4496
  return localVarFp
4108
- .getCustomerData(labelName, take, cursor, options)
4497
+ .getMusicConsentByUsername(username, version, options)
4109
4498
  .then((request) => request(axios, basePath));
4110
4499
  },
4111
4500
  /**
@@ -4325,6 +4714,35 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4325
4714
  .saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
4326
4715
  .then((request) => request(axios, basePath));
4327
4716
  },
4717
+ /**
4718
+ * Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
4719
+ * @summary Replace a party\'s music consents, appending a new consent version
4720
+ * @param {PostMusicConsentBody} postMusicConsentBody
4721
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
4722
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
4723
+ * @param {*} [options] Override http request option.
4724
+ * @throws {RequiredError}
4725
+ */
4726
+ saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
4727
+ return localVarFp
4728
+ .saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
4729
+ .then((request) => request(axios, basePath));
4730
+ },
4731
+ /**
4732
+ * A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
4733
+ * @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
4734
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
4735
+ * @param {PostMusicConsentBody} postMusicConsentBody
4736
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
4737
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
4738
+ * @param {*} [options] Override http request option.
4739
+ * @throws {RequiredError}
4740
+ */
4741
+ saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
4742
+ return localVarFp
4743
+ .saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
4744
+ .then((request) => request(axios, basePath));
4745
+ },
4328
4746
  /**
4329
4747
  * Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
4330
4748
  * @summary Set filepaths for a collection
@@ -4482,7 +4900,7 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4482
4900
  .then((request) => request(axios, basePath));
4483
4901
  },
4484
4902
  /**
4485
- * 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 - 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.
4903
+ * 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.
4486
4904
  * @summary Upload files as form-data
4487
4905
  * @param {UploadFilesContentTypeEnum} contentType
4488
4906
  * @param {string} contentType2
@@ -4807,6 +5225,33 @@ class SureelApi extends base_1.BaseAPI {
4807
5225
  .evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
4808
5226
  .then((request) => request(this.axios, this.basePath));
4809
5227
  }
5228
+ /**
5229
+ *
5230
+ * @summary Ask what a party\'s music consent record permits for a given request
5231
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
5232
+ * @param {*} [options] Override http request option.
5233
+ * @throws {RequiredError}
5234
+ * @memberof SureelApi
5235
+ */
5236
+ evaluateMusicConsent(evaluateMusicConsentBody, options) {
5237
+ return (0, exports.SureelApiFp)(this.configuration)
5238
+ .evaluateMusicConsent(evaluateMusicConsentBody, options)
5239
+ .then((request) => request(this.axios, this.basePath));
5240
+ }
5241
+ /**
5242
+ *
5243
+ * @summary Ask what a party\'s music consent record permits for a given request
5244
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
5245
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
5246
+ * @param {*} [options] Override http request option.
5247
+ * @throws {RequiredError}
5248
+ * @memberof SureelApi
5249
+ */
5250
+ evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
5251
+ return (0, exports.SureelApiFp)(this.configuration)
5252
+ .evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
5253
+ .then((request) => request(this.axios, this.basePath));
5254
+ }
4810
5255
  /**
4811
5256
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
4812
5257
  * @summary Face swap
@@ -5019,13 +5464,44 @@ class SureelApi extends base_1.BaseAPI {
5019
5464
  * @param {string} labelName
5020
5465
  * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
5021
5466
  * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
5467
+ * @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.
5468
+ * @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.
5469
+ * @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.
5470
+ * @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.
5471
+ * @param {*} [options] Override http request option.
5472
+ * @throws {RequiredError}
5473
+ * @memberof SureelApi
5474
+ */
5475
+ getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
5476
+ return (0, exports.SureelApiFp)(this.configuration)
5477
+ .getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options)
5478
+ .then((request) => request(this.axios, this.basePath));
5479
+ }
5480
+ /**
5481
+ *
5482
+ * @summary Get a party\'s music consent record: what AI may do with their recordings and works
5483
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
5484
+ * @param {*} [options] Override http request option.
5485
+ * @throws {RequiredError}
5486
+ * @memberof SureelApi
5487
+ */
5488
+ getMusicConsent(version, options) {
5489
+ return (0, exports.SureelApiFp)(this.configuration)
5490
+ .getMusicConsent(version, options)
5491
+ .then((request) => request(this.axios, this.basePath));
5492
+ }
5493
+ /**
5494
+ *
5495
+ * @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
5496
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
5497
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
5022
5498
  * @param {*} [options] Override http request option.
5023
5499
  * @throws {RequiredError}
5024
5500
  * @memberof SureelApi
5025
5501
  */
5026
- getCustomerData(labelName, take, cursor, options) {
5502
+ getMusicConsentByUsername(username, version, options) {
5027
5503
  return (0, exports.SureelApiFp)(this.configuration)
5028
- .getCustomerData(labelName, take, cursor, options)
5504
+ .getMusicConsentByUsername(username, version, options)
5029
5505
  .then((request) => request(this.axios, this.basePath));
5030
5506
  }
5031
5507
  /**
@@ -5261,6 +5737,37 @@ class SureelApi extends base_1.BaseAPI {
5261
5737
  .saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
5262
5738
  .then((request) => request(this.axios, this.basePath));
5263
5739
  }
5740
+ /**
5741
+ * Grants are append-only: a submitted grant id that already exists must be unchanged, a grant that disappears is revoked, and a grant named in supersedes is retired. Nothing is ever deleted. Grants covering the recording layer require the party to be a recording artist; the publishing layer requires a songwriter; a singer-songwriter writes both.
5742
+ * @summary Replace a party\'s music consents, appending a new consent version
5743
+ * @param {PostMusicConsentBody} postMusicConsentBody
5744
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
5745
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
5746
+ * @param {*} [options] Override http request option.
5747
+ * @throws {RequiredError}
5748
+ * @memberof SureelApi
5749
+ */
5750
+ saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
5751
+ return (0, exports.SureelApiFp)(this.configuration)
5752
+ .saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
5753
+ .then((request) => request(this.axios, this.basePath));
5754
+ }
5755
+ /**
5756
+ * A label may write for the recording layer of its roster artists; a publisher for the publishing layer of its songwriters. The append-only grant rules of the self-service route apply unchanged.
5757
+ * @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
5758
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
5759
+ * @param {PostMusicConsentBody} postMusicConsentBody
5760
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
5761
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
5762
+ * @param {*} [options] Override http request option.
5763
+ * @throws {RequiredError}
5764
+ * @memberof SureelApi
5765
+ */
5766
+ saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
5767
+ return (0, exports.SureelApiFp)(this.configuration)
5768
+ .saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
5769
+ .then((request) => request(this.axios, this.basePath));
5770
+ }
5264
5771
  /**
5265
5772
  * Set the file paths for a collection in the draft status. It can be used to set the file paths when the files were not available during the creation of the collection.
5266
5773
  * @summary Set filepaths for a collection
@@ -5430,7 +5937,7 @@ class SureelApi extends base_1.BaseAPI {
5430
5937
  .then((request) => request(this.axios, this.basePath));
5431
5938
  }
5432
5939
  /**
5433
- * 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 - 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.
5940
+ * 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.
5434
5941
  * @summary Upload files as form-data
5435
5942
  * @param {UploadFilesContentTypeEnum} contentType
5436
5943
  * @param {string} contentType2