@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
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
@@ -1385,11 +1454,13 @@ const SureelApiAxiosParamCreator = function (configuration) {
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.
1387
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.
1388
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.
1389
1460
  * @param {*} [options] Override http request option.
1390
1461
  * @throws {RequiredError}
1391
1462
  */
1392
- getCustomerData: async (labelName, take, cursor, includeNilv, includeHidden, options = {}) => {
1463
+ getCustomerData: async (labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options = {}) => {
1393
1464
  // verify required parameter 'labelName' is not null or undefined
1394
1465
  (0, common_1.assertParamExists)("getCustomerData", "labelName", labelName);
1395
1466
  const localVarPath = `/v1/ai/record-label/{labelName}`.replace(`{${"labelName"}}`, encodeURIComponent(String(labelName)));
@@ -1414,9 +1485,83 @@ const SureelApiAxiosParamCreator = function (configuration) {
1414
1485
  if (includeNilv !== undefined) {
1415
1486
  localVarQueryParameter["include_nilv"] = includeNilv;
1416
1487
  }
1488
+ if (includeMusicConsent !== undefined) {
1489
+ localVarQueryParameter["include_music_consent"] =
1490
+ includeMusicConsent;
1491
+ }
1417
1492
  if (includeHidden !== undefined) {
1418
1493
  localVarQueryParameter["include_hidden"] = includeHidden;
1419
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
+ }
1420
1565
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1421
1566
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1422
1567
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2075,6 +2220,93 @@ const SureelApiAxiosParamCreator = function (configuration) {
2075
2220
  options: localVarRequestOptions,
2076
2221
  };
2077
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
+ },
2078
2310
  /**
2079
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.
2080
2312
  * @summary Set filepaths for a collection
@@ -2936,6 +3168,35 @@ const SureelApiFp = function (configuration) {
2936
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;
2937
3169
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2938
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
+ },
2939
3200
  /**
2940
3201
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
2941
3202
  * @summary Face swap
@@ -3163,17 +3424,48 @@ const SureelApiFp = function (configuration) {
3163
3424
  * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
3164
3425
  * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
3165
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.
3166
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.
3167
3430
  * @param {*} [options] Override http request option.
3168
3431
  * @throws {RequiredError}
3169
3432
  */
3170
- async getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options) {
3433
+ async getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
3171
3434
  var _a, _b, _c;
3172
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options);
3435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options);
3173
3436
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3174
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;
3175
3438
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3176
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
+ },
3177
3469
  /**
3178
3470
  * Answers 404 for an unknown request and for one belonging to another artist, identically.
3179
3471
  * @summary Check how ingestion of a settings submission\'s assets is going
@@ -3423,6 +3715,39 @@ const SureelApiFp = function (configuration) {
3423
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;
3424
3716
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3425
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
+ },
3426
3751
  /**
3427
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.
3428
3753
  * @summary Set filepaths for a collection
@@ -3912,6 +4237,31 @@ const SureelApiFactory = function (configuration, basePath, axios) {
3912
4237
  .evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
3913
4238
  .then((request) => request(axios, basePath));
3914
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
+ },
3915
4265
  /**
3916
4266
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
3917
4267
  * @summary Face swap
@@ -4111,13 +4461,40 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4111
4461
  * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
4112
4462
  * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
4113
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.
4114
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.
4115
4467
  * @param {*} [options] Override http request option.
4116
4468
  * @throws {RequiredError}
4117
4469
  */
4118
- getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options) {
4470
+ getCustomerData(labelName, take, cursor, includeNilv, includeMusicConsent, includeHidden, roles, options) {
4119
4471
  return localVarFp
4120
- .getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options)
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.
4492
+ * @param {*} [options] Override http request option.
4493
+ * @throws {RequiredError}
4494
+ */
4495
+ getMusicConsentByUsername(username, version, options) {
4496
+ return localVarFp
4497
+ .getMusicConsentByUsername(username, version, options)
4121
4498
  .then((request) => request(axios, basePath));
4122
4499
  },
4123
4500
  /**
@@ -4337,6 +4714,35 @@ const SureelApiFactory = function (configuration, basePath, axios) {
4337
4714
  .saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
4338
4715
  .then((request) => request(axios, basePath));
4339
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
+ },
4340
4746
  /**
4341
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.
4342
4748
  * @summary Set filepaths for a collection
@@ -4819,6 +5225,33 @@ class SureelApi extends base_1.BaseAPI {
4819
5225
  .evaluateArtistSettingsByUsername(username, evaluateArtistSettingsBody, options)
4820
5226
  .then((request) => request(this.axios, this.basePath));
4821
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
+ }
4822
5255
  /**
4823
5256
  * Prompt-guided face swap. By default, each user has a limit of 100 requests per minute.
4824
5257
  * @summary Face swap
@@ -5032,14 +5465,43 @@ class SureelApi extends base_1.BaseAPI {
5032
5465
  * @param {number} [take] The &#x60;take&#x60; parameter is the number of artists to return per page.
5033
5466
  * @param {string} [cursor] The optional &#x60;cursor&#x60; parameter is the &#x60;lastEvaluatedKey&#x60; in the previous page.
5034
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.
5035
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.
5036
5484
  * @param {*} [options] Override http request option.
5037
5485
  * @throws {RequiredError}
5038
5486
  * @memberof SureelApi
5039
5487
  */
5040
- getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options) {
5488
+ getMusicConsent(version, options) {
5041
5489
  return (0, exports.SureelApiFp)(this.configuration)
5042
- .getCustomerData(labelName, take, cursor, includeNilv, includeHidden, options)
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.
5498
+ * @param {*} [options] Override http request option.
5499
+ * @throws {RequiredError}
5500
+ * @memberof SureelApi
5501
+ */
5502
+ getMusicConsentByUsername(username, version, options) {
5503
+ return (0, exports.SureelApiFp)(this.configuration)
5504
+ .getMusicConsentByUsername(username, version, options)
5043
5505
  .then((request) => request(this.axios, this.basePath));
5044
5506
  }
5045
5507
  /**
@@ -5275,6 +5737,37 @@ class SureelApi extends base_1.BaseAPI {
5275
5737
  .saveArtistSettingsByUsername(username, postArtistSettingsBody, ifMatch, idempotencyKey, options)
5276
5738
  .then((request) => request(this.axios, this.basePath));
5277
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
+ }
5278
5771
  /**
5279
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.
5280
5773
  * @summary Set filepaths for a collection