@sureel/sdk 1.16.7 → 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 (395) hide show
  1. package/api/sureel-api.d.ts +308 -5
  2. package/api/sureel-api.d.ts.map +1 -1
  3. package/api/sureel-api.js +500 -7
  4. package/api/sureel-api.js.map +1 -1
  5. package/esm/api/sureel-api.d.ts +308 -5
  6. package/esm/api/sureel-api.d.ts.map +1 -1
  7. package/esm/api/sureel-api.js +500 -7
  8. package/esm/api/sureel-api.js.map +1 -1
  9. package/esm/models/artist-collection-record-intersection.d.ts +18 -0
  10. package/esm/models/artist-collection-record-intersection.d.ts.map +1 -1
  11. package/esm/models/artist-db.d.ts +36 -0
  12. package/esm/models/artist-db.d.ts.map +1 -1
  13. package/esm/models/artist-object.d.ts +36 -0
  14. package/esm/models/artist-object.d.ts.map +1 -1
  15. package/esm/models/artist-profile-data.d.ts +54 -0
  16. package/esm/models/artist-profile-data.d.ts.map +1 -1
  17. package/esm/models/asset-metadata-record.d.ts +6 -6
  18. package/esm/models/asset-metadata-record.d.ts.map +1 -1
  19. package/esm/models/contributor-identifiers.d.ts +55 -0
  20. package/esm/models/contributor-identifiers.d.ts.map +1 -0
  21. package/esm/models/contributor-identifiers.js +15 -0
  22. package/esm/models/contributor-identifiers.js.map +1 -0
  23. package/esm/models/create-collection-request.d.ts +28 -10
  24. package/esm/models/create-collection-request.d.ts.map +1 -1
  25. package/esm/models/create-collection-request.js.map +1 -1
  26. package/esm/models/evaluate-music-consent-body.d.ts +64 -0
  27. package/esm/models/evaluate-music-consent-body.d.ts.map +1 -0
  28. package/esm/models/evaluate-music-consent-body.js +15 -0
  29. package/esm/models/evaluate-music-consent-body.js.map +1 -0
  30. package/esm/models/evaluate-music-consent-response.d.ts +64 -0
  31. package/esm/models/evaluate-music-consent-response.d.ts.map +1 -0
  32. package/esm/models/evaluate-music-consent-response.js +15 -0
  33. package/esm/models/evaluate-music-consent-response.js.map +1 -0
  34. package/esm/models/evaluate-music-decision.d.ts +19 -0
  35. package/esm/models/evaluate-music-decision.d.ts.map +1 -0
  36. package/esm/models/evaluate-music-decision.js +15 -0
  37. package/esm/models/evaluate-music-decision.js.map +1 -0
  38. package/esm/models/evaluate-music-lifecycle-stage.d.ts +19 -0
  39. package/esm/models/evaluate-music-lifecycle-stage.d.ts.map +1 -0
  40. package/esm/models/evaluate-music-lifecycle-stage.js +15 -0
  41. package/esm/models/evaluate-music-lifecycle-stage.js.map +1 -0
  42. package/esm/models/evaluate-music-purpose.d.ts +19 -0
  43. package/esm/models/evaluate-music-purpose.d.ts.map +1 -0
  44. package/esm/models/evaluate-music-purpose.js +15 -0
  45. package/esm/models/evaluate-music-purpose.js.map +1 -0
  46. package/esm/models/evaluate-music-scope.d.ts +19 -0
  47. package/esm/models/evaluate-music-scope.d.ts.map +1 -0
  48. package/esm/models/evaluate-music-scope.js +15 -0
  49. package/esm/models/evaluate-music-scope.js.map +1 -0
  50. package/esm/models/evaluate-music-trace-entry.d.ts +43 -0
  51. package/esm/models/evaluate-music-trace-entry.d.ts.map +1 -0
  52. package/esm/models/evaluate-music-trace-entry.js +15 -0
  53. package/esm/models/evaluate-music-trace-entry.js.map +1 -0
  54. package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts +18 -0
  55. package/esm/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
  56. package/esm/models/get-music-consent-response.d.ts +52 -0
  57. package/esm/models/get-music-consent-response.d.ts.map +1 -0
  58. package/esm/models/get-music-consent-response.js +15 -0
  59. package/esm/models/get-music-consent-response.js.map +1 -0
  60. package/esm/models/index.d.ts +40 -0
  61. package/esm/models/index.d.ts.map +1 -1
  62. package/esm/models/index.js +40 -0
  63. package/esm/models/index.js.map +1 -1
  64. package/esm/models/model-file.d.ts +6 -6
  65. package/esm/models/model-file.d.ts.map +1 -1
  66. package/esm/models/music-ai-company-ref.d.ts +25 -0
  67. package/esm/models/music-ai-company-ref.d.ts.map +1 -0
  68. package/esm/models/music-ai-company-ref.js +15 -0
  69. package/esm/models/music-ai-company-ref.js.map +1 -0
  70. package/esm/models/music-consent-changes.d.ts +37 -0
  71. package/esm/models/music-consent-changes.d.ts.map +1 -0
  72. package/esm/models/music-consent-changes.js +15 -0
  73. package/esm/models/music-consent-changes.js.map +1 -0
  74. package/esm/models/music-consent-envelope.d.ts +26 -0
  75. package/esm/models/music-consent-envelope.d.ts.map +1 -0
  76. package/esm/models/music-consent-envelope.js +15 -0
  77. package/esm/models/music-consent-envelope.js.map +1 -0
  78. package/esm/models/music-consent-error.d.ts +44 -0
  79. package/esm/models/music-consent-error.d.ts.map +1 -0
  80. package/esm/models/music-consent-error.js +15 -0
  81. package/esm/models/music-consent-error.js.map +1 -0
  82. package/esm/models/music-consent-input.d.ts +33 -0
  83. package/esm/models/music-consent-input.d.ts.map +1 -0
  84. package/esm/models/music-consent-input.js +15 -0
  85. package/esm/models/music-consent-input.js.map +1 -0
  86. package/esm/models/music-consent-record-input.d.ts +42 -0
  87. package/esm/models/music-consent-record-input.d.ts.map +1 -0
  88. package/esm/models/music-consent-record-input.js +17 -0
  89. package/esm/models/music-consent-record-input.js.map +1 -0
  90. package/esm/models/music-consent-record.d.ts +44 -0
  91. package/esm/models/music-consent-record.d.ts.map +1 -0
  92. package/esm/models/music-consent-record.js +15 -0
  93. package/esm/models/music-consent-record.js.map +1 -0
  94. package/esm/models/music-consent.d.ts +40 -0
  95. package/esm/models/music-consent.d.ts.map +1 -0
  96. package/esm/models/music-consent.js +15 -0
  97. package/esm/models/music-consent.js.map +1 -0
  98. package/esm/models/music-decision.d.ts +19 -0
  99. package/esm/models/music-decision.d.ts.map +1 -0
  100. package/esm/models/music-decision.js +15 -0
  101. package/esm/models/music-decision.js.map +1 -0
  102. package/esm/models/music-default-decision-stored.d.ts +19 -0
  103. package/esm/models/music-default-decision-stored.d.ts.map +1 -0
  104. package/esm/models/music-default-decision-stored.js +15 -0
  105. package/esm/models/music-default-decision-stored.js.map +1 -0
  106. package/esm/models/music-default-decision.d.ts +19 -0
  107. package/esm/models/music-default-decision.d.ts.map +1 -0
  108. package/esm/models/music-default-decision.js +15 -0
  109. package/esm/models/music-default-decision.js.map +1 -0
  110. package/esm/models/music-evidence-input.d.ts +31 -0
  111. package/esm/models/music-evidence-input.d.ts.map +1 -0
  112. package/esm/models/music-evidence-input.js +15 -0
  113. package/esm/models/music-evidence-input.js.map +1 -0
  114. package/esm/models/music-evidence.d.ts +31 -0
  115. package/esm/models/music-evidence.d.ts.map +1 -0
  116. package/esm/models/music-evidence.js +15 -0
  117. package/esm/models/music-evidence.js.map +1 -0
  118. package/esm/models/music-grant-input.d.ts +116 -0
  119. package/esm/models/music-grant-input.d.ts.map +1 -0
  120. package/esm/models/music-grant-input.js +15 -0
  121. package/esm/models/music-grant-input.js.map +1 -0
  122. package/esm/models/music-grant-status.d.ts +19 -0
  123. package/esm/models/music-grant-status.d.ts.map +1 -0
  124. package/esm/models/music-grant-status.js +15 -0
  125. package/esm/models/music-grant-status.js.map +1 -0
  126. package/esm/models/music-grant.d.ts +124 -0
  127. package/esm/models/music-grant.d.ts.map +1 -0
  128. package/esm/models/music-grant.js +15 -0
  129. package/esm/models/music-grant.js.map +1 -0
  130. package/esm/models/music-grant1.d.ts +124 -0
  131. package/esm/models/music-grant1.d.ts.map +1 -0
  132. package/esm/models/music-grant1.js +15 -0
  133. package/esm/models/music-grant1.js.map +1 -0
  134. package/esm/models/music-granted-by.d.ts +50 -0
  135. package/esm/models/music-granted-by.d.ts.map +1 -0
  136. package/esm/models/music-granted-by.js +15 -0
  137. package/esm/models/music-granted-by.js.map +1 -0
  138. package/esm/models/music-grantor-role-stored.d.ts +19 -0
  139. package/esm/models/music-grantor-role-stored.d.ts.map +1 -0
  140. package/esm/models/music-grantor-role-stored.js +15 -0
  141. package/esm/models/music-grantor-role-stored.js.map +1 -0
  142. package/esm/models/music-layer-response.d.ts +19 -0
  143. package/esm/models/music-layer-response.d.ts.map +1 -0
  144. package/esm/models/music-layer-response.js +15 -0
  145. package/esm/models/music-layer-response.js.map +1 -0
  146. package/esm/models/music-lifecycle-stage.d.ts +19 -0
  147. package/esm/models/music-lifecycle-stage.d.ts.map +1 -0
  148. package/esm/models/music-lifecycle-stage.js +15 -0
  149. package/esm/models/music-lifecycle-stage.js.map +1 -0
  150. package/esm/models/music-purpose.d.ts +19 -0
  151. package/esm/models/music-purpose.d.ts.map +1 -0
  152. package/esm/models/music-purpose.js +15 -0
  153. package/esm/models/music-purpose.js.map +1 -0
  154. package/esm/models/music-revocation.d.ts +43 -0
  155. package/esm/models/music-revocation.d.ts.map +1 -0
  156. package/esm/models/music-revocation.js +15 -0
  157. package/esm/models/music-revocation.js.map +1 -0
  158. package/esm/models/music-roster-summary-state.d.ts +19 -0
  159. package/esm/models/music-roster-summary-state.d.ts.map +1 -0
  160. package/esm/models/music-roster-summary-state.js +15 -0
  161. package/esm/models/music-roster-summary-state.js.map +1 -0
  162. package/esm/models/music-roster-summary.d.ts +52 -0
  163. package/esm/models/music-roster-summary.d.ts.map +1 -0
  164. package/esm/models/music-roster-summary.js +15 -0
  165. package/esm/models/music-roster-summary.js.map +1 -0
  166. package/esm/models/music-roster-updated-by.d.ts +19 -0
  167. package/esm/models/music-roster-updated-by.d.ts.map +1 -0
  168. package/esm/models/music-roster-updated-by.js +15 -0
  169. package/esm/models/music-roster-updated-by.js.map +1 -0
  170. package/esm/models/music-scope.d.ts +19 -0
  171. package/esm/models/music-scope.d.ts.map +1 -0
  172. package/esm/models/music-scope.js +15 -0
  173. package/esm/models/music-scope.js.map +1 -0
  174. package/esm/models/music-writable-layer-response.d.ts +19 -0
  175. package/esm/models/music-writable-layer-response.d.ts.map +1 -0
  176. package/esm/models/music-writable-layer-response.js +15 -0
  177. package/esm/models/music-writable-layer-response.js.map +1 -0
  178. package/esm/models/name-image-likeness-response.d.ts +6 -0
  179. package/esm/models/name-image-likeness-response.d.ts.map +1 -1
  180. package/esm/models/post-music-consent-body.d.ts +26 -0
  181. package/esm/models/post-music-consent-body.d.ts.map +1 -0
  182. package/esm/models/post-music-consent-body.js +15 -0
  183. package/esm/models/post-music-consent-body.js.map +1 -0
  184. package/esm/models/post-music-consent-response.d.ts +32 -0
  185. package/esm/models/post-music-consent-response.d.ts.map +1 -0
  186. package/esm/models/post-music-consent-response.js +15 -0
  187. package/esm/models/post-music-consent-response.js.map +1 -0
  188. package/esm/models/publishing-contributor.d.ts +19 -12
  189. package/esm/models/publishing-contributor.d.ts.map +1 -1
  190. package/esm/models/recording-contributor.d.ts +7 -0
  191. package/esm/models/recording-contributor.d.ts.map +1 -1
  192. package/esm/models/roster-artist-profile-data.d.ts +61 -0
  193. package/esm/models/roster-artist-profile-data.d.ts.map +1 -1
  194. package/esm/models/roster-role-filter.d.ts +19 -0
  195. package/esm/models/roster-role-filter.d.ts.map +1 -0
  196. package/esm/models/roster-role-filter.js +15 -0
  197. package/esm/models/roster-role-filter.js.map +1 -0
  198. package/esm/models/update-asset-metadata-body.d.ts +6 -6
  199. package/esm/models/update-asset-metadata-body.d.ts.map +1 -1
  200. package/esm/models/update-collection-request.d.ts +24 -0
  201. package/esm/models/update-collection-request.d.ts.map +1 -1
  202. package/models/artist-collection-record-intersection.d.ts +18 -0
  203. package/models/artist-collection-record-intersection.d.ts.map +1 -1
  204. package/models/artist-db.d.ts +36 -0
  205. package/models/artist-db.d.ts.map +1 -1
  206. package/models/artist-object.d.ts +36 -0
  207. package/models/artist-object.d.ts.map +1 -1
  208. package/models/artist-profile-data.d.ts +54 -0
  209. package/models/artist-profile-data.d.ts.map +1 -1
  210. package/models/asset-metadata-record.d.ts +6 -6
  211. package/models/asset-metadata-record.d.ts.map +1 -1
  212. package/models/contributor-identifiers.d.ts +55 -0
  213. package/models/contributor-identifiers.d.ts.map +1 -0
  214. package/models/contributor-identifiers.js +16 -0
  215. package/models/contributor-identifiers.js.map +1 -0
  216. package/models/create-collection-request.d.ts +28 -10
  217. package/models/create-collection-request.d.ts.map +1 -1
  218. package/models/create-collection-request.js.map +1 -1
  219. package/models/evaluate-music-consent-body.d.ts +64 -0
  220. package/models/evaluate-music-consent-body.d.ts.map +1 -0
  221. package/models/evaluate-music-consent-body.js +16 -0
  222. package/models/evaluate-music-consent-body.js.map +1 -0
  223. package/models/evaluate-music-consent-response.d.ts +64 -0
  224. package/models/evaluate-music-consent-response.d.ts.map +1 -0
  225. package/models/evaluate-music-consent-response.js +16 -0
  226. package/models/evaluate-music-consent-response.js.map +1 -0
  227. package/models/evaluate-music-decision.d.ts +19 -0
  228. package/models/evaluate-music-decision.d.ts.map +1 -0
  229. package/models/evaluate-music-decision.js +16 -0
  230. package/models/evaluate-music-decision.js.map +1 -0
  231. package/models/evaluate-music-lifecycle-stage.d.ts +19 -0
  232. package/models/evaluate-music-lifecycle-stage.d.ts.map +1 -0
  233. package/models/evaluate-music-lifecycle-stage.js +16 -0
  234. package/models/evaluate-music-lifecycle-stage.js.map +1 -0
  235. package/models/evaluate-music-purpose.d.ts +19 -0
  236. package/models/evaluate-music-purpose.d.ts.map +1 -0
  237. package/models/evaluate-music-purpose.js +16 -0
  238. package/models/evaluate-music-purpose.js.map +1 -0
  239. package/models/evaluate-music-scope.d.ts +19 -0
  240. package/models/evaluate-music-scope.d.ts.map +1 -0
  241. package/models/evaluate-music-scope.js +16 -0
  242. package/models/evaluate-music-scope.js.map +1 -0
  243. package/models/evaluate-music-trace-entry.d.ts +43 -0
  244. package/models/evaluate-music-trace-entry.d.ts.map +1 -0
  245. package/models/evaluate-music-trace-entry.js +16 -0
  246. package/models/evaluate-music-trace-entry.js.map +1 -0
  247. package/models/get-collection-with-lyrics-and-stems-response.d.ts +18 -0
  248. package/models/get-collection-with-lyrics-and-stems-response.d.ts.map +1 -1
  249. package/models/get-music-consent-response.d.ts +52 -0
  250. package/models/get-music-consent-response.d.ts.map +1 -0
  251. package/models/get-music-consent-response.js +16 -0
  252. package/models/get-music-consent-response.js.map +1 -0
  253. package/models/index.d.ts +40 -0
  254. package/models/index.d.ts.map +1 -1
  255. package/models/index.js +40 -0
  256. package/models/index.js.map +1 -1
  257. package/models/model-file.d.ts +6 -6
  258. package/models/model-file.d.ts.map +1 -1
  259. package/models/music-ai-company-ref.d.ts +25 -0
  260. package/models/music-ai-company-ref.d.ts.map +1 -0
  261. package/models/music-ai-company-ref.js +16 -0
  262. package/models/music-ai-company-ref.js.map +1 -0
  263. package/models/music-consent-changes.d.ts +37 -0
  264. package/models/music-consent-changes.d.ts.map +1 -0
  265. package/models/music-consent-changes.js +16 -0
  266. package/models/music-consent-changes.js.map +1 -0
  267. package/models/music-consent-envelope.d.ts +26 -0
  268. package/models/music-consent-envelope.d.ts.map +1 -0
  269. package/models/music-consent-envelope.js +16 -0
  270. package/models/music-consent-envelope.js.map +1 -0
  271. package/models/music-consent-error.d.ts +44 -0
  272. package/models/music-consent-error.d.ts.map +1 -0
  273. package/models/music-consent-error.js +16 -0
  274. package/models/music-consent-error.js.map +1 -0
  275. package/models/music-consent-input.d.ts +33 -0
  276. package/models/music-consent-input.d.ts.map +1 -0
  277. package/models/music-consent-input.js +16 -0
  278. package/models/music-consent-input.js.map +1 -0
  279. package/models/music-consent-record-input.d.ts +42 -0
  280. package/models/music-consent-record-input.d.ts.map +1 -0
  281. package/models/music-consent-record-input.js +20 -0
  282. package/models/music-consent-record-input.js.map +1 -0
  283. package/models/music-consent-record.d.ts +44 -0
  284. package/models/music-consent-record.d.ts.map +1 -0
  285. package/models/music-consent-record.js +16 -0
  286. package/models/music-consent-record.js.map +1 -0
  287. package/models/music-consent.d.ts +40 -0
  288. package/models/music-consent.d.ts.map +1 -0
  289. package/models/music-consent.js +16 -0
  290. package/models/music-consent.js.map +1 -0
  291. package/models/music-decision.d.ts +19 -0
  292. package/models/music-decision.d.ts.map +1 -0
  293. package/models/music-decision.js +16 -0
  294. package/models/music-decision.js.map +1 -0
  295. package/models/music-default-decision-stored.d.ts +19 -0
  296. package/models/music-default-decision-stored.d.ts.map +1 -0
  297. package/models/music-default-decision-stored.js +16 -0
  298. package/models/music-default-decision-stored.js.map +1 -0
  299. package/models/music-default-decision.d.ts +19 -0
  300. package/models/music-default-decision.d.ts.map +1 -0
  301. package/models/music-default-decision.js +16 -0
  302. package/models/music-default-decision.js.map +1 -0
  303. package/models/music-evidence-input.d.ts +31 -0
  304. package/models/music-evidence-input.d.ts.map +1 -0
  305. package/models/music-evidence-input.js +16 -0
  306. package/models/music-evidence-input.js.map +1 -0
  307. package/models/music-evidence.d.ts +31 -0
  308. package/models/music-evidence.d.ts.map +1 -0
  309. package/models/music-evidence.js +16 -0
  310. package/models/music-evidence.js.map +1 -0
  311. package/models/music-grant-input.d.ts +116 -0
  312. package/models/music-grant-input.d.ts.map +1 -0
  313. package/models/music-grant-input.js +16 -0
  314. package/models/music-grant-input.js.map +1 -0
  315. package/models/music-grant-status.d.ts +19 -0
  316. package/models/music-grant-status.d.ts.map +1 -0
  317. package/models/music-grant-status.js +16 -0
  318. package/models/music-grant-status.js.map +1 -0
  319. package/models/music-grant.d.ts +124 -0
  320. package/models/music-grant.d.ts.map +1 -0
  321. package/models/music-grant.js +16 -0
  322. package/models/music-grant.js.map +1 -0
  323. package/models/music-grant1.d.ts +124 -0
  324. package/models/music-grant1.d.ts.map +1 -0
  325. package/models/music-grant1.js +16 -0
  326. package/models/music-grant1.js.map +1 -0
  327. package/models/music-granted-by.d.ts +50 -0
  328. package/models/music-granted-by.d.ts.map +1 -0
  329. package/models/music-granted-by.js +16 -0
  330. package/models/music-granted-by.js.map +1 -0
  331. package/models/music-grantor-role-stored.d.ts +19 -0
  332. package/models/music-grantor-role-stored.d.ts.map +1 -0
  333. package/models/music-grantor-role-stored.js +16 -0
  334. package/models/music-grantor-role-stored.js.map +1 -0
  335. package/models/music-layer-response.d.ts +19 -0
  336. package/models/music-layer-response.d.ts.map +1 -0
  337. package/models/music-layer-response.js +16 -0
  338. package/models/music-layer-response.js.map +1 -0
  339. package/models/music-lifecycle-stage.d.ts +19 -0
  340. package/models/music-lifecycle-stage.d.ts.map +1 -0
  341. package/models/music-lifecycle-stage.js +16 -0
  342. package/models/music-lifecycle-stage.js.map +1 -0
  343. package/models/music-purpose.d.ts +19 -0
  344. package/models/music-purpose.d.ts.map +1 -0
  345. package/models/music-purpose.js +16 -0
  346. package/models/music-purpose.js.map +1 -0
  347. package/models/music-revocation.d.ts +43 -0
  348. package/models/music-revocation.d.ts.map +1 -0
  349. package/models/music-revocation.js +16 -0
  350. package/models/music-revocation.js.map +1 -0
  351. package/models/music-roster-summary-state.d.ts +19 -0
  352. package/models/music-roster-summary-state.d.ts.map +1 -0
  353. package/models/music-roster-summary-state.js +16 -0
  354. package/models/music-roster-summary-state.js.map +1 -0
  355. package/models/music-roster-summary.d.ts +52 -0
  356. package/models/music-roster-summary.d.ts.map +1 -0
  357. package/models/music-roster-summary.js +16 -0
  358. package/models/music-roster-summary.js.map +1 -0
  359. package/models/music-roster-updated-by.d.ts +19 -0
  360. package/models/music-roster-updated-by.d.ts.map +1 -0
  361. package/models/music-roster-updated-by.js +16 -0
  362. package/models/music-roster-updated-by.js.map +1 -0
  363. package/models/music-scope.d.ts +19 -0
  364. package/models/music-scope.d.ts.map +1 -0
  365. package/models/music-scope.js +16 -0
  366. package/models/music-scope.js.map +1 -0
  367. package/models/music-writable-layer-response.d.ts +19 -0
  368. package/models/music-writable-layer-response.d.ts.map +1 -0
  369. package/models/music-writable-layer-response.js +16 -0
  370. package/models/music-writable-layer-response.js.map +1 -0
  371. package/models/name-image-likeness-response.d.ts +6 -0
  372. package/models/name-image-likeness-response.d.ts.map +1 -1
  373. package/models/post-music-consent-body.d.ts +26 -0
  374. package/models/post-music-consent-body.d.ts.map +1 -0
  375. package/models/post-music-consent-body.js +16 -0
  376. package/models/post-music-consent-body.js.map +1 -0
  377. package/models/post-music-consent-response.d.ts +32 -0
  378. package/models/post-music-consent-response.d.ts.map +1 -0
  379. package/models/post-music-consent-response.js +16 -0
  380. package/models/post-music-consent-response.js.map +1 -0
  381. package/models/publishing-contributor.d.ts +19 -12
  382. package/models/publishing-contributor.d.ts.map +1 -1
  383. package/models/recording-contributor.d.ts +7 -0
  384. package/models/recording-contributor.d.ts.map +1 -1
  385. package/models/roster-artist-profile-data.d.ts +61 -0
  386. package/models/roster-artist-profile-data.d.ts.map +1 -1
  387. package/models/roster-role-filter.d.ts +19 -0
  388. package/models/roster-role-filter.d.ts.map +1 -0
  389. package/models/roster-role-filter.js +16 -0
  390. package/models/roster-role-filter.js.map +1 -0
  391. package/models/update-asset-metadata-body.d.ts +6 -6
  392. package/models/update-asset-metadata-body.d.ts.map +1 -1
  393. package/models/update-collection-request.d.ts +24 -0
  394. package/models/update-collection-request.d.ts.map +1 -1
  395. package/package.json +1 -1
@@ -808,6 +808,75 @@ export const SureelApiAxiosParamCreator = function (configuration) {
808
808
  options: localVarRequestOptions,
809
809
  };
810
810
  },
811
+ /**
812
+ *
813
+ * @summary Ask what a party\'s music consent record permits for a given request
814
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
815
+ * @param {*} [options] Override http request option.
816
+ * @throws {RequiredError}
817
+ */
818
+ evaluateMusicConsent: async (evaluateMusicConsentBody, options = {}) => {
819
+ // verify required parameter 'evaluateMusicConsentBody' is not null or undefined
820
+ assertParamExists("evaluateMusicConsent", "evaluateMusicConsentBody", evaluateMusicConsentBody);
821
+ const localVarPath = `/v1/ai/artist/settings/music/evaluate`;
822
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
823
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
824
+ let baseOptions;
825
+ if (configuration) {
826
+ baseOptions = configuration.baseOptions;
827
+ }
828
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
829
+ const localVarHeaderParameter = {};
830
+ const localVarQueryParameter = {};
831
+ // authentication OAuth2 required
832
+ // oauth required
833
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
834
+ localVarHeaderParameter["Content-Type"] = "application/json";
835
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
836
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
837
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
838
+ localVarRequestOptions.data = serializeDataIfNeeded(evaluateMusicConsentBody, localVarRequestOptions, configuration);
839
+ return {
840
+ url: toPathString(localVarUrlObj),
841
+ options: localVarRequestOptions,
842
+ };
843
+ },
844
+ /**
845
+ *
846
+ * @summary Ask what a party\'s music consent record permits for a given request
847
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
848
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
849
+ * @param {*} [options] Override http request option.
850
+ * @throws {RequiredError}
851
+ */
852
+ evaluateMusicConsentByUsername: async (username, evaluateMusicConsentBody, options = {}) => {
853
+ // verify required parameter 'username' is not null or undefined
854
+ assertParamExists("evaluateMusicConsentByUsername", "username", username);
855
+ // verify required parameter 'evaluateMusicConsentBody' is not null or undefined
856
+ assertParamExists("evaluateMusicConsentByUsername", "evaluateMusicConsentBody", evaluateMusicConsentBody);
857
+ const localVarPath = `/v1/ai/artist/{username}/settings/music/evaluate`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
858
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
859
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
860
+ let baseOptions;
861
+ if (configuration) {
862
+ baseOptions = configuration.baseOptions;
863
+ }
864
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
865
+ const localVarHeaderParameter = {};
866
+ const localVarQueryParameter = {};
867
+ // authentication OAuth2 required
868
+ // oauth required
869
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
870
+ localVarHeaderParameter["Content-Type"] = "application/json";
871
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
872
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
873
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
874
+ localVarRequestOptions.data = serializeDataIfNeeded(evaluateMusicConsentBody, localVarRequestOptions, configuration);
875
+ return {
876
+ url: toPathString(localVarUrlObj),
877
+ options: localVarRequestOptions,
878
+ };
879
+ },
811
880
  /**
812
881
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
813
882
  * @summary Face swap
@@ -1379,11 +1448,13 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1379
1448
  * @param {number} [take] The `take` parameter is the number of artists to return per page.
1380
1449
  * @param {string} [cursor] The optional `cursor` parameter is the `lastEvaluatedKey` in the previous page.
1381
1450
  * @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.
1451
+ * @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.
1382
1452
  * @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.
1453
+ * @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.
1383
1454
  * @param {*} [options] Override http request option.
1384
1455
  * @throws {RequiredError}
1385
1456
  */
1386
- getCustomerData: async (labelName, take, cursor, includeNilv, includeHidden, options = {}) => {
1457
+ getCustomerData: async (labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options = {}) => {
1387
1458
  // verify required parameter 'labelName' is not null or undefined
1388
1459
  assertParamExists("getCustomerData", "labelName", labelName);
1389
1460
  const localVarPath = `/v1/ai/record-label/{labelName}`.replace(`{${"labelName"}}`, encodeURIComponent(String(labelName)));
@@ -1408,9 +1479,83 @@ export const SureelApiAxiosParamCreator = function (configuration) {
1408
1479
  if (includeNilv !== undefined) {
1409
1480
  localVarQueryParameter["include_nilv"] = includeNilv;
1410
1481
  }
1482
+ if (includeMusicConsent !== undefined) {
1483
+ localVarQueryParameter["include_music_consent"] =
1484
+ includeMusicConsent;
1485
+ }
1411
1486
  if (includeHidden !== undefined) {
1412
1487
  localVarQueryParameter["include_hidden"] = includeHidden;
1413
1488
  }
1489
+ if (roles) {
1490
+ localVarQueryParameter["roles"] = Array.from(roles);
1491
+ }
1492
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1493
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1494
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1495
+ return {
1496
+ url: toPathString(localVarUrlObj),
1497
+ options: localVarRequestOptions,
1498
+ };
1499
+ },
1500
+ /**
1501
+ *
1502
+ * @summary Get a party\'s music consent record: what AI may do with their recordings and works
1503
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
1504
+ * @param {*} [options] Override http request option.
1505
+ * @throws {RequiredError}
1506
+ */
1507
+ getMusicConsent: async (version, options = {}) => {
1508
+ const localVarPath = `/v1/ai/artist/settings/music`;
1509
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1510
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1511
+ let baseOptions;
1512
+ if (configuration) {
1513
+ baseOptions = configuration.baseOptions;
1514
+ }
1515
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
1516
+ const localVarHeaderParameter = {};
1517
+ const localVarQueryParameter = {};
1518
+ // authentication OAuth2 required
1519
+ // oauth required
1520
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1521
+ if (version !== undefined) {
1522
+ localVarQueryParameter["version"] = version;
1523
+ }
1524
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1525
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1526
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1527
+ return {
1528
+ url: toPathString(localVarUrlObj),
1529
+ options: localVarRequestOptions,
1530
+ };
1531
+ },
1532
+ /**
1533
+ *
1534
+ * @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
1535
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
1536
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
1537
+ * @param {*} [options] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ */
1540
+ getMusicConsentByUsername: async (username, version, options = {}) => {
1541
+ // verify required parameter 'username' is not null or undefined
1542
+ assertParamExists("getMusicConsentByUsername", "username", username);
1543
+ const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
1544
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1545
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1546
+ let baseOptions;
1547
+ if (configuration) {
1548
+ baseOptions = configuration.baseOptions;
1549
+ }
1550
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "GET" }, baseOptions), options);
1551
+ const localVarHeaderParameter = {};
1552
+ const localVarQueryParameter = {};
1553
+ // authentication OAuth2 required
1554
+ // oauth required
1555
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
1556
+ if (version !== undefined) {
1557
+ localVarQueryParameter["version"] = version;
1558
+ }
1414
1559
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1415
1560
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1416
1561
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2069,6 +2214,93 @@ export const SureelApiAxiosParamCreator = function (configuration) {
2069
2214
  options: localVarRequestOptions,
2070
2215
  };
2071
2216
  },
2217
+ /**
2218
+ * 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.
2219
+ * @summary Replace a party\'s music consents, appending a new consent version
2220
+ * @param {PostMusicConsentBody} postMusicConsentBody
2221
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
2222
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
2223
+ * @param {*} [options] Override http request option.
2224
+ * @throws {RequiredError}
2225
+ */
2226
+ saveMusicConsent: async (postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
2227
+ // verify required parameter 'postMusicConsentBody' is not null or undefined
2228
+ assertParamExists("saveMusicConsent", "postMusicConsentBody", postMusicConsentBody);
2229
+ const localVarPath = `/v1/ai/artist/settings/music`;
2230
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2231
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2232
+ let baseOptions;
2233
+ if (configuration) {
2234
+ baseOptions = configuration.baseOptions;
2235
+ }
2236
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
2237
+ const localVarHeaderParameter = {};
2238
+ const localVarQueryParameter = {};
2239
+ // authentication OAuth2 required
2240
+ // oauth required
2241
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
2242
+ localVarHeaderParameter["Content-Type"] = "application/json";
2243
+ if (ifMatch != null) {
2244
+ localVarHeaderParameter["if-match"] = String(ifMatch);
2245
+ }
2246
+ if (idempotencyKey != null) {
2247
+ localVarHeaderParameter["idempotency-key"] =
2248
+ String(idempotencyKey);
2249
+ }
2250
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2251
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2252
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2253
+ localVarRequestOptions.data = serializeDataIfNeeded(postMusicConsentBody, localVarRequestOptions, configuration);
2254
+ return {
2255
+ url: toPathString(localVarUrlObj),
2256
+ options: localVarRequestOptions,
2257
+ };
2258
+ },
2259
+ /**
2260
+ * 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.
2261
+ * @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
2262
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
2263
+ * @param {PostMusicConsentBody} postMusicConsentBody
2264
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
2265
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
2266
+ * @param {*} [options] Override http request option.
2267
+ * @throws {RequiredError}
2268
+ */
2269
+ saveMusicConsentByUsername: async (username, postMusicConsentBody, ifMatch, idempotencyKey, options = {}) => {
2270
+ // verify required parameter 'username' is not null or undefined
2271
+ assertParamExists("saveMusicConsentByUsername", "username", username);
2272
+ // verify required parameter 'postMusicConsentBody' is not null or undefined
2273
+ assertParamExists("saveMusicConsentByUsername", "postMusicConsentBody", postMusicConsentBody);
2274
+ const localVarPath = `/v1/ai/artist/{username}/settings/music`.replace(`{${"username"}}`, encodeURIComponent(String(username)));
2275
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2276
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2277
+ let baseOptions;
2278
+ if (configuration) {
2279
+ baseOptions = configuration.baseOptions;
2280
+ }
2281
+ const localVarRequestOptions = Object.assign(Object.assign({ method: "POST" }, baseOptions), options);
2282
+ const localVarHeaderParameter = {};
2283
+ const localVarQueryParameter = {};
2284
+ // authentication OAuth2 required
2285
+ // oauth required
2286
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", ["read:ldm"], configuration);
2287
+ localVarHeaderParameter["Content-Type"] = "application/json";
2288
+ if (ifMatch != null) {
2289
+ localVarHeaderParameter["if-match"] = String(ifMatch);
2290
+ }
2291
+ if (idempotencyKey != null) {
2292
+ localVarHeaderParameter["idempotency-key"] =
2293
+ String(idempotencyKey);
2294
+ }
2295
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2296
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2297
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2298
+ localVarRequestOptions.data = serializeDataIfNeeded(postMusicConsentBody, localVarRequestOptions, configuration);
2299
+ return {
2300
+ url: toPathString(localVarUrlObj),
2301
+ options: localVarRequestOptions,
2302
+ };
2303
+ },
2072
2304
  /**
2073
2305
  * 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.
2074
2306
  * @summary Set filepaths for a collection
@@ -2929,6 +3161,35 @@ export const SureelApiFp = function (configuration) {
2929
3161
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.evaluateArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2930
3162
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2931
3163
  },
3164
+ /**
3165
+ *
3166
+ * @summary Ask what a party\'s music consent record permits for a given request
3167
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
3168
+ * @param {*} [options] Override http request option.
3169
+ * @throws {RequiredError}
3170
+ */
3171
+ async evaluateMusicConsent(evaluateMusicConsentBody, options) {
3172
+ var _a, _b, _c;
3173
+ const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateMusicConsent(evaluateMusicConsentBody, options);
3174
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3175
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.evaluateMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3176
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3177
+ },
3178
+ /**
3179
+ *
3180
+ * @summary Ask what a party\'s music consent record permits for a given request
3181
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
3182
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
3183
+ * @param {*} [options] Override http request option.
3184
+ * @throws {RequiredError}
3185
+ */
3186
+ async evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
3187
+ var _a, _b, _c;
3188
+ const localVarAxiosArgs = await localVarAxiosParamCreator.evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options);
3189
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3190
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.evaluateMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3191
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3192
+ },
2932
3193
  /**
2933
3194
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
2934
3195
  * @summary Face swap
@@ -3156,17 +3417,48 @@ export const SureelApiFp = function (configuration) {
3156
3417
  * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
3157
3418
  * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
3158
3419
  * @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.
3420
+ * @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.
3159
3421
  * @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.
3422
+ * @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.
3160
3423
  * @param {*} [options] Override http request option.
3161
3424
  * @throws {RequiredError}
3162
3425
  */
3163
- async getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options) {
3426
+ async getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
3164
3427
  var _a, _b, _c;
3165
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options);
3428
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options);
3166
3429
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3167
3430
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getCustomerData"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3168
3431
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3169
3432
  },
3433
+ /**
3434
+ *
3435
+ * @summary Get a party\'s music consent record: what AI may do with their recordings and works
3436
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
3437
+ * @param {*} [options] Override http request option.
3438
+ * @throws {RequiredError}
3439
+ */
3440
+ async getMusicConsent(version, options) {
3441
+ var _a, _b, _c;
3442
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsent(version, options);
3443
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3444
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3445
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3446
+ },
3447
+ /**
3448
+ *
3449
+ * @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
3450
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
3451
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
3452
+ * @param {*} [options] Override http request option.
3453
+ * @throws {RequiredError}
3454
+ */
3455
+ async getMusicConsentByUsername(username, version, options) {
3456
+ var _a, _b, _c;
3457
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicConsentByUsername(username, version, options);
3458
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3459
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.getMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3460
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3461
+ },
3170
3462
  /**
3171
3463
  * Answers 404 for an unknown request and for one belonging to another artist, identically.
3172
3464
  * @summary Check how ingestion of a settings submission\'s assets is going
@@ -3416,6 +3708,39 @@ export const SureelApiFp = function (configuration) {
3416
3708
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveArtistSettingsByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3417
3709
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3418
3710
  },
3711
+ /**
3712
+ * 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.
3713
+ * @summary Replace a party\'s music consents, appending a new consent version
3714
+ * @param {PostMusicConsentBody} postMusicConsentBody
3715
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
3716
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
3717
+ * @param {*} [options] Override http request option.
3718
+ * @throws {RequiredError}
3719
+ */
3720
+ async saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
3721
+ var _a, _b, _c;
3722
+ const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options);
3723
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3724
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveMusicConsent"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3725
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3726
+ },
3727
+ /**
3728
+ * 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.
3729
+ * @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
3730
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
3731
+ * @param {PostMusicConsentBody} postMusicConsentBody
3732
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
3733
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
3734
+ * @param {*} [options] Override http request option.
3735
+ * @throws {RequiredError}
3736
+ */
3737
+ async saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
3738
+ var _a, _b, _c;
3739
+ const localVarAxiosArgs = await localVarAxiosParamCreator.saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options);
3740
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3741
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SureelApi.saveMusicConsentByUsername"]) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3742
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3743
+ },
3419
3744
  /**
3420
3745
  * 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.
3421
3746
  * @summary Set filepaths for a collection
@@ -3904,6 +4229,31 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
3904
4229
  .evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
3905
4230
  .then((request) => request(axios, basePath));
3906
4231
  },
4232
+ /**
4233
+ *
4234
+ * @summary Ask what a party\'s music consent record permits for a given request
4235
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
4236
+ * @param {*} [options] Override http request option.
4237
+ * @throws {RequiredError}
4238
+ */
4239
+ evaluateMusicConsent(evaluateMusicConsentBody, options) {
4240
+ return localVarFp
4241
+ .evaluateMusicConsent(evaluateMusicConsentBody, options)
4242
+ .then((request) => request(axios, basePath));
4243
+ },
4244
+ /**
4245
+ *
4246
+ * @summary Ask what a party\'s music consent record permits for a given request
4247
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
4248
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
4249
+ * @param {*} [options] Override http request option.
4250
+ * @throws {RequiredError}
4251
+ */
4252
+ evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
4253
+ return localVarFp
4254
+ .evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
4255
+ .then((request) => request(axios, basePath));
4256
+ },
3907
4257
  /**
3908
4258
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
3909
4259
  * @summary Face swap
@@ -4103,13 +4453,40 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
4103
4453
  * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
4104
4454
  * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
4105
4455
  * @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.
4456
+ * @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.
4106
4457
  * @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.
4458
+ * @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.
4107
4459
  * @param {*} [options] Override http request option.
4108
4460
  * @throws {RequiredError}
4109
4461
  */
4110
- getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options) {
4462
+ getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
4111
4463
  return localVarFp
4112
- .getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options)
4464
+ .getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options)
4465
+ .then((request) => request(axios, basePath));
4466
+ },
4467
+ /**
4468
+ *
4469
+ * @summary Get a party\'s music consent record: what AI may do with their recordings and works
4470
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
4471
+ * @param {*} [options] Override http request option.
4472
+ * @throws {RequiredError}
4473
+ */
4474
+ getMusicConsent(version, options) {
4475
+ return localVarFp
4476
+ .getMusicConsent(version, options)
4477
+ .then((request) => request(axios, basePath));
4478
+ },
4479
+ /**
4480
+ *
4481
+ * @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
4482
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
4483
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
4484
+ * @param {*} [options] Override http request option.
4485
+ * @throws {RequiredError}
4486
+ */
4487
+ getMusicConsentByUsername(username, version, options) {
4488
+ return localVarFp
4489
+ .getMusicConsentByUsername(username, version, options)
4113
4490
  .then((request) => request(axios, basePath));
4114
4491
  },
4115
4492
  /**
@@ -4329,6 +4706,35 @@ export const SureelApiFactory = function (configuration, basePath, axios) {
4329
4706
  .saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
4330
4707
  .then((request) => request(axios, basePath));
4331
4708
  },
4709
+ /**
4710
+ * 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.
4711
+ * @summary Replace a party\'s music consents, appending a new consent version
4712
+ * @param {PostMusicConsentBody} postMusicConsentBody
4713
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
4714
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
4715
+ * @param {*} [options] Override http request option.
4716
+ * @throws {RequiredError}
4717
+ */
4718
+ saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
4719
+ return localVarFp
4720
+ .saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
4721
+ .then((request) => request(axios, basePath));
4722
+ },
4723
+ /**
4724
+ * 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.
4725
+ * @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
4726
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
4727
+ * @param {PostMusicConsentBody} postMusicConsentBody
4728
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
4729
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
4730
+ * @param {*} [options] Override http request option.
4731
+ * @throws {RequiredError}
4732
+ */
4733
+ saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
4734
+ return localVarFp
4735
+ .saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
4736
+ .then((request) => request(axios, basePath));
4737
+ },
4332
4738
  /**
4333
4739
  * 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.
4334
4740
  * @summary Set filepaths for a collection
@@ -4810,6 +5216,33 @@ export class SureelApi extends BaseAPI {
4810
5216
  .evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
4811
5217
  .then((request) => request(this.axios, this.basePath));
4812
5218
  }
5219
+ /**
5220
+ *
5221
+ * @summary Ask what a party\'s music consent record permits for a given request
5222
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
5223
+ * @param {*} [options] Override http request option.
5224
+ * @throws {RequiredError}
5225
+ * @memberof SureelApi
5226
+ */
5227
+ evaluateMusicConsent(evaluateMusicConsentBody, options) {
5228
+ return SureelApiFp(this.configuration)
5229
+ .evaluateMusicConsent(evaluateMusicConsentBody, options)
5230
+ .then((request) => request(this.axios, this.basePath));
5231
+ }
5232
+ /**
5233
+ *
5234
+ * @summary Ask what a party\'s music consent record permits for a given request
5235
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
5236
+ * @param {EvaluateMusicConsentBody} evaluateMusicConsentBody
5237
+ * @param {*} [options] Override http request option.
5238
+ * @throws {RequiredError}
5239
+ * @memberof SureelApi
5240
+ */
5241
+ evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options) {
5242
+ return SureelApiFp(this.configuration)
5243
+ .evaluateMusicConsentByUsername(username, evaluateMusicConsentBody, options)
5244
+ .then((request) => request(this.axios, this.basePath));
5245
+ }
4813
5246
  /**
4814
5247
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
4815
5248
  * @summary Face swap
@@ -5023,14 +5456,43 @@ export class SureelApi extends BaseAPI {
5023
5456
  * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
5024
5457
  * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
5025
5458
  * @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.
5459
+ * @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.
5026
5460
  * @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.
5461
+ * @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.
5462
+ * @param {*} [options] Override http request option.
5463
+ * @throws {RequiredError}
5464
+ * @memberof SureelApi
5465
+ */
5466
+ getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
5467
+ return SureelApiFp(this.configuration)
5468
+ .getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options)
5469
+ .then((request) => request(this.axios, this.basePath));
5470
+ }
5471
+ /**
5472
+ *
5473
+ * @summary Get a party\'s music consent record: what AI may do with their recordings and works
5474
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
5027
5475
  * @param {*} [options] Override http request option.
5028
5476
  * @throws {RequiredError}
5029
5477
  * @memberof SureelApi
5030
5478
  */
5031
- getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options) {
5479
+ getMusicConsent(version, options) {
5032
5480
  return SureelApiFp(this.configuration)
5033
- .getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options)
5481
+ .getMusicConsent(version, options)
5482
+ .then((request) => request(this.axios, this.basePath));
5483
+ }
5484
+ /**
5485
+ *
5486
+ * @summary Get a roster party\'s music consent record, for a label or publisher acting on their behalf
5487
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
5488
+ * @param {number} [version] Return this exact historical snapshot instead of the newest one.
5489
+ * @param {*} [options] Override http request option.
5490
+ * @throws {RequiredError}
5491
+ * @memberof SureelApi
5492
+ */
5493
+ getMusicConsentByUsername(username, version, options) {
5494
+ return SureelApiFp(this.configuration)
5495
+ .getMusicConsentByUsername(username, version, options)
5034
5496
  .then((request) => request(this.axios, this.basePath));
5035
5497
  }
5036
5498
  /**
@@ -5266,6 +5728,37 @@ export class SureelApi extends BaseAPI {
5266
5728
  .saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
5267
5729
  .then((request) => request(this.axios, this.basePath));
5268
5730
  }
5731
+ /**
5732
+ * 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.
5733
+ * @summary Replace a party\'s music consents, appending a new consent version
5734
+ * @param {PostMusicConsentBody} postMusicConsentBody
5735
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
5736
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
5737
+ * @param {*} [options] Override http request option.
5738
+ * @throws {RequiredError}
5739
+ * @memberof SureelApi
5740
+ */
5741
+ saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options) {
5742
+ return SureelApiFp(this.configuration)
5743
+ .saveMusicConsent(postMusicConsentBody, ifMatch, idempotencyKey, options)
5744
+ .then((request) => request(this.axios, this.basePath));
5745
+ }
5746
+ /**
5747
+ * 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.
5748
+ * @summary Replace a roster party\'s music consents, for a label or publisher acting on their behalf
5749
+ * @param {string} username The party (artist or songwriter) whose music consents are being addressed.
5750
+ * @param {PostMusicConsentBody} postMusicConsentBody
5751
+ * @param {string} [ifMatch] The record_version this edit was based on. Required once a record exists, so a concurrent write cannot be silently overwritten.
5752
+ * @param {string} [idempotencyKey] Replaying the same key returns the existing version rather than creating a duplicate.
5753
+ * @param {*} [options] Override http request option.
5754
+ * @throws {RequiredError}
5755
+ * @memberof SureelApi
5756
+ */
5757
+ saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options) {
5758
+ return SureelApiFp(this.configuration)
5759
+ .saveMusicConsentByUsername(username, postMusicConsentBody, ifMatch, idempotencyKey, options)
5760
+ .then((request) => request(this.axios, this.basePath));
5761
+ }
5269
5762
  /**
5270
5763
  * 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.
5271
5764
  * @summary Set filepaths for a collection