@sureel/sdk 1.17.0 → 1.17.4-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/api/sureel-api.d.ts +349 -115
  2. package/api/sureel-api.d.ts.map +1 -1
  3. package/api/sureel-api.js +455 -105
  4. package/api/sureel-api.js.map +1 -1
  5. package/esm/api/sureel-api.d.ts +349 -115
  6. package/esm/api/sureel-api.d.ts.map +1 -1
  7. package/esm/api/sureel-api.js +454 -104
  8. package/esm/api/sureel-api.js.map +1 -1
  9. package/esm/models/aidetection-result-per-stem-inner.d.ts +1 -1
  10. package/esm/models/artifacts-per-epoch-entry.d.ts +1 -1
  11. package/esm/models/artist-profile-data.d.ts +19 -0
  12. package/esm/models/artist-profile-data.d.ts.map +1 -1
  13. package/esm/models/artist-settings-duplicate-error.d.ts +24 -0
  14. package/esm/models/artist-settings-duplicate-error.d.ts.map +1 -1
  15. package/esm/models/artist-settings-error.d.ts +24 -0
  16. package/esm/models/artist-settings-error.d.ts.map +1 -1
  17. package/esm/models/bad-request-response.d.ts +44 -0
  18. package/esm/models/bad-request-response.d.ts.map +1 -0
  19. package/esm/models/bad-request-response.js +15 -0
  20. package/esm/models/bad-request-response.js.map +1 -0
  21. package/esm/models/create-collection-request.d.ts +1 -1
  22. package/esm/models/customer-profile-data.d.ts +13 -0
  23. package/esm/models/customer-profile-data.d.ts.map +1 -1
  24. package/esm/models/evaluate-artist-settings-body.d.ts +7 -0
  25. package/esm/models/evaluate-artist-settings-body.d.ts.map +1 -1
  26. package/esm/models/evaluate-music-consent-body.d.ts +7 -0
  27. package/esm/models/evaluate-music-consent-body.d.ts.map +1 -1
  28. package/esm/models/evaluate-music-use.d.ts +19 -0
  29. package/esm/models/evaluate-music-use.d.ts.map +1 -0
  30. package/esm/models/evaluate-music-use.js +15 -0
  31. package/esm/models/evaluate-music-use.js.map +1 -0
  32. package/esm/models/evaluate-nilv-use.d.ts +19 -0
  33. package/esm/models/evaluate-nilv-use.d.ts.map +1 -0
  34. package/esm/models/evaluate-nilv-use.js +15 -0
  35. package/esm/models/evaluate-nilv-use.js.map +1 -0
  36. package/esm/models/get-all-artists-response.d.ts +32 -0
  37. package/esm/models/get-all-artists-response.d.ts.map +1 -0
  38. package/esm/models/get-all-artists-response.js +15 -0
  39. package/esm/models/get-all-artists-response.js.map +1 -0
  40. package/esm/models/identical-matches.d.ts +4 -6
  41. package/esm/models/identical-matches.d.ts.map +1 -1
  42. package/esm/models/identical-matches1.d.ts +2 -3
  43. package/esm/models/identical-matches1.d.ts.map +1 -1
  44. package/esm/models/index.d.ts +15 -3
  45. package/esm/models/index.d.ts.map +1 -1
  46. package/esm/models/index.js +15 -3
  47. package/esm/models/index.js.map +1 -1
  48. package/esm/models/model-file.d.ts +1 -1
  49. package/esm/models/music-ai-use.d.ts +19 -0
  50. package/esm/models/music-ai-use.d.ts.map +1 -0
  51. package/esm/models/music-ai-use.js +15 -0
  52. package/esm/models/music-ai-use.js.map +1 -0
  53. package/esm/models/music-consent-error.d.ts +24 -0
  54. package/esm/models/music-consent-error.d.ts.map +1 -1
  55. package/esm/models/music-grant-input.d.ts +8 -1
  56. package/esm/models/music-grant-input.d.ts.map +1 -1
  57. package/esm/models/music-grant.d.ts +8 -1
  58. package/esm/models/music-grant.d.ts.map +1 -1
  59. package/esm/models/music-grant1.d.ts +8 -1
  60. package/esm/models/music-grant1.d.ts.map +1 -1
  61. package/esm/models/nil-asset-thumbnail-size.d.ts +19 -0
  62. package/esm/models/nil-asset-thumbnail-size.d.ts.map +1 -0
  63. package/esm/models/nil-asset-thumbnail-size.js +15 -0
  64. package/esm/models/nil-asset-thumbnail-size.js.map +1 -0
  65. package/esm/models/nilv-ai-use.d.ts +19 -0
  66. package/esm/models/nilv-ai-use.d.ts.map +1 -0
  67. package/esm/models/nilv-ai-use.js +15 -0
  68. package/esm/models/nilv-ai-use.js.map +1 -0
  69. package/esm/models/nilv-grant-input.d.ts +8 -1
  70. package/esm/models/nilv-grant-input.d.ts.map +1 -1
  71. package/esm/models/nilv-grant-response.d.ts +8 -1
  72. package/esm/models/nilv-grant-response.d.ts.map +1 -1
  73. package/esm/models/nilv-grant-response1.d.ts +8 -1
  74. package/esm/models/nilv-grant-response1.d.ts.map +1 -1
  75. package/esm/models/profile-picture-source.d.ts +19 -0
  76. package/esm/models/profile-picture-source.d.ts.map +1 -0
  77. package/esm/models/profile-picture-source.js +15 -0
  78. package/esm/models/profile-picture-source.js.map +1 -0
  79. package/esm/models/roster-artist-profile-data.d.ts +25 -0
  80. package/esm/models/roster-artist-profile-data.d.ts.map +1 -1
  81. package/esm/models/roster-artist-response.d.ts +33 -0
  82. package/esm/models/roster-artist-response.d.ts.map +1 -0
  83. package/esm/models/roster-artist-response.js +15 -0
  84. package/esm/models/roster-artist-response.js.map +1 -0
  85. package/esm/models/roster-invited-by-acting-as.d.ts +19 -0
  86. package/esm/models/roster-invited-by-acting-as.d.ts.map +1 -0
  87. package/esm/models/roster-invited-by-acting-as.js +15 -0
  88. package/esm/models/roster-invited-by-acting-as.js.map +1 -0
  89. package/esm/models/roster-invited-by.d.ts +44 -0
  90. package/esm/models/roster-invited-by.d.ts.map +1 -0
  91. package/esm/models/roster-invited-by.js +15 -0
  92. package/esm/models/roster-invited-by.js.map +1 -0
  93. package/esm/models/roster-party-org.d.ts +31 -0
  94. package/esm/models/roster-party-org.d.ts.map +1 -0
  95. package/esm/models/roster-party-org.js +15 -0
  96. package/esm/models/roster-party-org.js.map +1 -0
  97. package/esm/models/roster-party-status.d.ts +19 -0
  98. package/esm/models/roster-party-status.d.ts.map +1 -0
  99. package/esm/models/roster-party-status.js +15 -0
  100. package/esm/models/roster-party-status.js.map +1 -0
  101. package/esm/models/roster-party.d.ts +88 -0
  102. package/esm/models/roster-party.d.ts.map +1 -0
  103. package/esm/models/roster-party.js +15 -0
  104. package/esm/models/roster-party.js.map +1 -0
  105. package/esm/models/service-unavailable-response.d.ts +37 -0
  106. package/esm/models/service-unavailable-response.d.ts.map +1 -0
  107. package/esm/models/service-unavailable-response.js +15 -0
  108. package/esm/models/service-unavailable-response.js.map +1 -0
  109. package/esm/models/set-filepath-file.d.ts +1 -1
  110. package/esm/models/track-inference-artifacts-body.d.ts +5 -5
  111. package/esm/models/track-training-artifacts-body.d.ts +2 -2
  112. package/esm/models/training-artifact-entry.d.ts +2 -2
  113. package/esm/models/upload-url-request.d.ts +6 -0
  114. package/esm/models/upload-url-request.d.ts.map +1 -1
  115. package/esm/models/upload-url.d.ts +1 -1
  116. package/models/aidetection-result-per-stem-inner.d.ts +1 -1
  117. package/models/artifacts-per-epoch-entry.d.ts +1 -1
  118. package/models/artist-profile-data.d.ts +19 -0
  119. package/models/artist-profile-data.d.ts.map +1 -1
  120. package/models/artist-settings-duplicate-error.d.ts +24 -0
  121. package/models/artist-settings-duplicate-error.d.ts.map +1 -1
  122. package/models/artist-settings-error.d.ts +24 -0
  123. package/models/artist-settings-error.d.ts.map +1 -1
  124. package/models/bad-request-response.d.ts +44 -0
  125. package/models/bad-request-response.d.ts.map +1 -0
  126. package/models/bad-request-response.js +16 -0
  127. package/models/bad-request-response.js.map +1 -0
  128. package/models/create-collection-request.d.ts +1 -1
  129. package/models/customer-profile-data.d.ts +13 -0
  130. package/models/customer-profile-data.d.ts.map +1 -1
  131. package/models/evaluate-artist-settings-body.d.ts +7 -0
  132. package/models/evaluate-artist-settings-body.d.ts.map +1 -1
  133. package/models/evaluate-music-consent-body.d.ts +7 -0
  134. package/models/evaluate-music-consent-body.d.ts.map +1 -1
  135. package/models/evaluate-music-use.d.ts +19 -0
  136. package/models/evaluate-music-use.d.ts.map +1 -0
  137. package/models/evaluate-music-use.js +16 -0
  138. package/models/evaluate-music-use.js.map +1 -0
  139. package/models/evaluate-nilv-use.d.ts +19 -0
  140. package/models/evaluate-nilv-use.d.ts.map +1 -0
  141. package/models/evaluate-nilv-use.js +16 -0
  142. package/models/evaluate-nilv-use.js.map +1 -0
  143. package/models/get-all-artists-response.d.ts +32 -0
  144. package/models/get-all-artists-response.d.ts.map +1 -0
  145. package/models/get-all-artists-response.js +16 -0
  146. package/models/get-all-artists-response.js.map +1 -0
  147. package/models/identical-matches.d.ts +4 -6
  148. package/models/identical-matches.d.ts.map +1 -1
  149. package/models/identical-matches1.d.ts +2 -3
  150. package/models/identical-matches1.d.ts.map +1 -1
  151. package/models/index.d.ts +15 -3
  152. package/models/index.d.ts.map +1 -1
  153. package/models/index.js +15 -3
  154. package/models/index.js.map +1 -1
  155. package/models/model-file.d.ts +1 -1
  156. package/models/music-ai-use.d.ts +19 -0
  157. package/models/music-ai-use.d.ts.map +1 -0
  158. package/models/music-ai-use.js +16 -0
  159. package/models/music-ai-use.js.map +1 -0
  160. package/models/music-consent-error.d.ts +24 -0
  161. package/models/music-consent-error.d.ts.map +1 -1
  162. package/models/music-grant-input.d.ts +8 -1
  163. package/models/music-grant-input.d.ts.map +1 -1
  164. package/models/music-grant.d.ts +8 -1
  165. package/models/music-grant.d.ts.map +1 -1
  166. package/models/music-grant1.d.ts +8 -1
  167. package/models/music-grant1.d.ts.map +1 -1
  168. package/models/nil-asset-thumbnail-size.d.ts +19 -0
  169. package/models/nil-asset-thumbnail-size.d.ts.map +1 -0
  170. package/models/nil-asset-thumbnail-size.js +16 -0
  171. package/models/nil-asset-thumbnail-size.js.map +1 -0
  172. package/models/nilv-ai-use.d.ts +19 -0
  173. package/models/nilv-ai-use.d.ts.map +1 -0
  174. package/models/nilv-ai-use.js +16 -0
  175. package/models/nilv-ai-use.js.map +1 -0
  176. package/models/nilv-grant-input.d.ts +8 -1
  177. package/models/nilv-grant-input.d.ts.map +1 -1
  178. package/models/nilv-grant-response.d.ts +8 -1
  179. package/models/nilv-grant-response.d.ts.map +1 -1
  180. package/models/nilv-grant-response1.d.ts +8 -1
  181. package/models/nilv-grant-response1.d.ts.map +1 -1
  182. package/models/profile-picture-source.d.ts +19 -0
  183. package/models/profile-picture-source.d.ts.map +1 -0
  184. package/models/profile-picture-source.js +16 -0
  185. package/models/profile-picture-source.js.map +1 -0
  186. package/models/roster-artist-profile-data.d.ts +25 -0
  187. package/models/roster-artist-profile-data.d.ts.map +1 -1
  188. package/models/roster-artist-response.d.ts +33 -0
  189. package/models/roster-artist-response.d.ts.map +1 -0
  190. package/models/roster-artist-response.js +16 -0
  191. package/models/roster-artist-response.js.map +1 -0
  192. package/models/roster-invited-by-acting-as.d.ts +19 -0
  193. package/models/roster-invited-by-acting-as.d.ts.map +1 -0
  194. package/models/roster-invited-by-acting-as.js +16 -0
  195. package/models/roster-invited-by-acting-as.js.map +1 -0
  196. package/models/roster-invited-by.d.ts +44 -0
  197. package/models/roster-invited-by.d.ts.map +1 -0
  198. package/models/roster-invited-by.js +16 -0
  199. package/models/roster-invited-by.js.map +1 -0
  200. package/models/roster-party-org.d.ts +31 -0
  201. package/models/roster-party-org.d.ts.map +1 -0
  202. package/models/roster-party-org.js +16 -0
  203. package/models/roster-party-org.js.map +1 -0
  204. package/models/roster-party-status.d.ts +19 -0
  205. package/models/roster-party-status.d.ts.map +1 -0
  206. package/models/roster-party-status.js +16 -0
  207. package/models/roster-party-status.js.map +1 -0
  208. package/models/roster-party.d.ts +88 -0
  209. package/models/roster-party.d.ts.map +1 -0
  210. package/models/roster-party.js +16 -0
  211. package/models/roster-party.js.map +1 -0
  212. package/models/service-unavailable-response.d.ts +37 -0
  213. package/models/service-unavailable-response.d.ts.map +1 -0
  214. package/models/service-unavailable-response.js +16 -0
  215. package/models/service-unavailable-response.js.map +1 -0
  216. package/models/set-filepath-file.d.ts +1 -1
  217. package/models/track-inference-artifacts-body.d.ts +5 -5
  218. package/models/track-training-artifacts-body.d.ts +2 -2
  219. package/models/training-artifact-entry.d.ts +2 -2
  220. package/models/upload-url-request.d.ts +6 -0
  221. package/models/upload-url-request.d.ts.map +1 -1
  222. package/models/upload-url.d.ts +1 -1
  223. package/package.json +1 -1
@@ -0,0 +1,15 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sureel API
5
+ * ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
6
+ *
7
+ * The version of the OpenAPI document:
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
15
+ //# sourceMappingURL=roster-party.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roster-party.js","sourceRoot":"","sources":["../../../src/models/roster-party.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Sureel API
3
+ * ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
4
+ *
5
+ * The version of the OpenAPI document:
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ServiceUnavailableResponse
16
+ */
17
+ export interface ServiceUnavailableResponse {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ServiceUnavailableResponse
22
+ */
23
+ statusCode: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ServiceUnavailableResponse
28
+ */
29
+ error: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ServiceUnavailableResponse
34
+ */
35
+ message: string;
36
+ }
37
+ //# sourceMappingURL=service-unavailable-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-unavailable-response.d.ts","sourceRoot":"","sources":["../../../src/models/service-unavailable-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAA;CAClB"}
@@ -0,0 +1,15 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sureel API
5
+ * ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
6
+ *
7
+ * The version of the OpenAPI document:
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
15
+ //# sourceMappingURL=service-unavailable-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service-unavailable-response.js","sourceRoot":"","sources":["../../../src/models/service-unavailable-response.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -22,7 +22,7 @@ export interface SetFilepathFile {
22
22
  */
23
23
  fileId: string;
24
24
  /**
25
- * The file path can either be an image/audio/video URL or a file path returned from the `/files/upload-files` or `/files/generate-upload-urls` endpoint. Supported formats include JPG & PNG for image; WAV, MP3, M4A, and FLAC for audio; and MP4 for video.
25
+ * The file path can either be an image/audio/video URL or a file path returned from the `/files/upload-files` or `/files/generate-upload-urls` endpoint. Supported formats include JPG & PNG for image; WAV, MP3, M4A, FLAC, AIFF, AIF, and WMA for audio; and MP4 for video.
26
26
  * @type {string}
27
27
  * @memberof SetFilepathFile
28
28
  */
@@ -28,19 +28,19 @@ export interface TrackInferenceArtifactsBody {
28
28
  */
29
29
  inference_request_id: string;
30
30
  /**
31
- * File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
31
+ * File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .JSON.
32
32
  * @type {string}
33
33
  * @memberof TrackInferenceArtifactsBody
34
34
  */
35
35
  model_manifest_file: string;
36
36
  /**
37
- * File path to the text inputs file containing the required \'text_prompt\' and optionally \'lyrics\' and \'inference_request_id\'. The \'text_inputs_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
37
+ * File path to the text inputs file containing the required \'text_prompt\' and optionally \'lyrics\' and \'inference_request_id\'. The \'text_inputs_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .JSON.
38
38
  * @type {string}
39
39
  * @memberof TrackInferenceArtifactsBody
40
40
  */
41
41
  text_inputs_file: string;
42
42
  /**
43
- * File path to the per-generation configuration file. The \'config_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
43
+ * File path to the per-generation configuration file. The \'config_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .JSON.
44
44
  * @type {string}
45
45
  * @memberof TrackInferenceArtifactsBody
46
46
  */
@@ -64,13 +64,13 @@ export interface TrackInferenceArtifactsBody {
64
64
  */
65
65
  output_audios: Array<string>;
66
66
  /**
67
- * File path to the artifacts file containing the real activation vectors. The \'artifacts_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .NPY (single array) and .NPZ (multi-array).
67
+ * File path to the artifacts file containing the real activation vectors. The \'artifacts_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .NPY (single array) and .NPZ (multi-array).
68
68
  * @type {string}
69
69
  * @memberof TrackInferenceArtifactsBody
70
70
  */
71
71
  artifacts_file: string;
72
72
  /**
73
- * File path to the conditioning file. The \'conditioning_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .NPY.
73
+ * File path to the conditioning file. The \'conditioning_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .NPY.
74
74
  * @type {string}
75
75
  * @memberof TrackInferenceArtifactsBody
76
76
  */
@@ -29,13 +29,13 @@ export interface TrackTrainingArtifactsBody {
29
29
  */
30
30
  audio_id: string;
31
31
  /**
32
- * File path to the captions file containing the per-track caption and optionally the lyrics. The \'captions_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
32
+ * File path to the captions file containing the per-track caption (may be empty) and optionally the lyrics. The \'captions_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .JSON.
33
33
  * @type {string}
34
34
  * @memberof TrackTrainingArtifactsBody
35
35
  */
36
36
  captions_file: string;
37
37
  /**
38
- * File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
38
+ * File path to the model manifest file. Declares the model_family, artifact_schema_version, adapter_applied flag and all model and processing configuration. The \'model_manifest_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .JSON.
39
39
  * @type {string}
40
40
  * @memberof TrackTrainingArtifactsBody
41
41
  */
@@ -23,13 +23,13 @@ export interface TrainingArtifactEntry {
23
23
  */
24
24
  stem_combination: string;
25
25
  /**
26
- * File path to the stem input association file. The \'stem_input_association_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .JSON.
26
+ * File path to the stem input association file. The \'stem_input_association_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .JSON.
27
27
  * @type {string}
28
28
  * @memberof TrainingArtifactEntry
29
29
  */
30
30
  stem_input_association_file?: string;
31
31
  /**
32
- * File path to the conditioning file. The \'conditioning_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .NPY.
32
+ * File path to the conditioning file. The \'conditioning_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .NPY.
33
33
  * @type {string}
34
34
  * @memberof TrainingArtifactEntry
35
35
  */
@@ -21,5 +21,11 @@ export interface UploadUrlRequest {
21
21
  * @memberof UploadUrlRequest
22
22
  */
23
23
  filenames: Array<string>;
24
+ /**
25
+ * Optional maximum file sizes in bytes, aligned by index with `filenames` (same length). When provided, the signed URL enforces the size as an upper bound: the PUT request must include the header `x-goog-content-length-range: 0,<fileSize>` (it is part of the URL signature), and larger uploads are rejected by the storage backend. Intended for files larger than the form-data upload limit, e.g. AI model artifacts up to 1GB.
26
+ * @type {Array<number>}
27
+ * @memberof UploadUrlRequest
28
+ */
29
+ fileSizes?: Array<number>;
24
30
  }
25
31
  //# sourceMappingURL=upload-url-request.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-url-request.d.ts","sourceRoot":"","sources":["../../../src/models/upload-url-request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAC3B"}
1
+ {"version":3,"file":"upload-url-request.d.ts","sourceRoot":"","sources":["../../../src/models/upload-url-request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAC5B"}
@@ -22,7 +22,7 @@ export interface UploadUrl {
22
22
  */
23
23
  originalFilename: string;
24
24
  /**
25
- * A pre-signed URL that allows the client to securely upload the file to S3.
25
+ * A pre-signed URL that allows the client to securely upload the file to cloud storage.
26
26
  * @type {string}
27
27
  * @memberof UploadUrl
28
28
  */
@@ -71,7 +71,7 @@ export interface AIDetectionResultPerStemInner {
71
71
  */
72
72
  confidence_scores?: Array<number> | null;
73
73
  /**
74
- *
74
+ * AI generator detection results mapping generator names (e.g. \'Suno\') to probability statistics. Each generator contains average/max probabilities and per-segment probability scores ranging from 0-1, where higher values indicate stronger likelihood the audio was generated by that specific AI model. Only returned when enableGeneratorDetection is true and overall AI probability is above 0.5. Currently available in beta.
75
75
  * @type {{ [key: string]: GeneratorDetectionInner; }}
76
76
  * @memberof AIDetectionResultPerStemInner
77
77
  */
@@ -22,7 +22,7 @@ export interface ArtifactsPerEpochEntry {
22
22
  */
23
23
  epoch: number;
24
24
  /**
25
- * File path to the artifacts file containing the real activation vectors captured at this time point. The \'artifacts_file\' can either be a file URL or the key returned from the `/files/upload-files` endpoint. Supported formats include .NPY (single array) and .NPZ (multi-array).
25
+ * File path to the artifacts file containing the real activation vectors captured at this time point. The \'artifacts_file\' can either be a file URL, the key returned from the `/files/upload-files` endpoint, or the key returned from the `/files/generate-upload-urls` PUT signed URL flow (recommended for files larger than the form-data limit; up to 1GB per file). Supported formats include .NPY (single array) and .NPZ (multi-array).
26
26
  * @type {string}
27
27
  * @memberof ArtifactsPerEpochEntry
28
28
  */
@@ -14,6 +14,7 @@ import type { ArtistIdentifier } from "./artist-identifier";
14
14
  import type { ArtistOnlyRole } from "./artist-only-role";
15
15
  import type { ExternalAiMonitoringObject } from "./external-ai-monitoring-object";
16
16
  import type { Metrics } from "./metrics";
17
+ import type { ProfilePictureSource } from "./profile-picture-source";
17
18
  import type { SubscriptionTier } from "./subscription-tier";
18
19
  import type { UpdatedAt } from "./updated-at";
19
20
  /**
@@ -46,6 +47,12 @@ export interface ArtistProfileData {
46
47
  * @memberof ArtistProfileData
47
48
  */
48
49
  profile_picture_s3_key?: string;
50
+ /**
51
+ *
52
+ * @type {ProfilePictureSource}
53
+ * @memberof ArtistProfileData
54
+ */
55
+ profile_picture_source?: ProfilePictureSource;
49
56
  /**
50
57
  *
51
58
  * @type {string}
@@ -190,6 +197,12 @@ export interface ArtistProfileData {
190
197
  * @memberof ArtistProfileData
191
198
  */
192
199
  sub_labels?: Array<string>;
200
+ /**
201
+ *
202
+ * @type {Array<string>}
203
+ * @memberof ArtistProfileData
204
+ */
205
+ signed_labels?: Array<string>;
193
206
  /**
194
207
  *
195
208
  * @type {Metrics}
@@ -268,6 +281,12 @@ export interface ArtistProfileData {
268
281
  * @memberof ArtistProfileData
269
282
  */
270
283
  tutorial_completed_at?: number;
284
+ /**
285
+ * When the profile first accepted the terms and conditions, in epoch milliseconds. Stamped by the server on the first acceptance and never moved by a later one.
286
+ * @type {number}
287
+ * @memberof ArtistProfileData
288
+ */
289
+ terms_accepted_at?: number;
271
290
  /**
272
291
  *
273
292
  * @type {boolean}
@@ -1 +1 @@
1
- {"version":3,"file":"artist-profile-data.d.ts","sourceRoot":"","sources":["../../src/models/artist-profile-data.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAA;AAGjG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAG3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAGxD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AAGjF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAG3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IA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CAAC,CAAA;IACpC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC5B"}
@@ -41,6 +41,30 @@ export interface ArtistSettingsDuplicateError {
41
41
  * @memberof ArtistSettingsDuplicateError
42
42
  */
43
43
  statusCode?: number;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof ArtistSettingsDuplicateError
48
+ */
49
+ code?: string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof ArtistSettingsDuplicateError
54
+ */
55
+ permission?: string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof ArtistSettingsDuplicateError
60
+ */
61
+ object?: string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof ArtistSettingsDuplicateError
66
+ */
67
+ reason?: string;
44
68
  /**
45
69
  *
46
70
  * @type {Array<NilvDuplicateAsset>}
@@ -1 +1 @@
1
- {"version":3,"file":"artist-settings-duplicate-error.d.ts","sourceRoot":"","sources":["../../src/models/artist-settings-duplicate-error.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAA;CAC3C"}
1
+ {"version":3,"file":"artist-settings-duplicate-error.d.ts","sourceRoot":"","sources":["../../src/models/artist-settings-duplicate-error.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAA;CAC3C"}
@@ -40,5 +40,29 @@ export interface ArtistSettingsError {
40
40
  * @memberof ArtistSettingsError
41
41
  */
42
42
  statusCode?: number;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ArtistSettingsError
47
+ */
48
+ code?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ArtistSettingsError
53
+ */
54
+ permission?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof ArtistSettingsError
59
+ */
60
+ object?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof ArtistSettingsError
65
+ */
66
+ reason?: string;
43
67
  }
44
68
  //# sourceMappingURL=artist-settings-error.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"artist-settings-error.d.ts","sourceRoot":"","sources":["../../src/models/artist-settings-error.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB"}
1
+ {"version":3,"file":"artist-settings-error.d.ts","sourceRoot":"","sources":["../../src/models/artist-settings-error.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Sureel API
3
+ * ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
4
+ *
5
+ * The version of the OpenAPI document:
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BadRequestResponse
16
+ */
17
+ export interface BadRequestResponse {
18
+ [key: string]: any;
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof BadRequestResponse
23
+ */
24
+ statusCode?: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof BadRequestResponse
29
+ */
30
+ error?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof BadRequestResponse
35
+ */
36
+ message?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof BadRequestResponse
41
+ */
42
+ name?: string;
43
+ }
44
+ //# sourceMappingURL=bad-request-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bad-request-response.d.ts","sourceRoot":"","sources":["../../src/models/bad-request-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAElB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Sureel API
6
+ * ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
7
+ *
8
+ * The version of the OpenAPI document:
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=bad-request-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bad-request-response.js","sourceRoot":"","sources":["../../src/models/bad-request-response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -67,7 +67,7 @@ export interface CreateCollectionRequest {
67
67
  */
68
68
  projectId?: string;
69
69
  /**
70
- * The individual performers who contributed to the recording of the collection. An artist is a creative contributor on the recording side. Only user accounts connected to a label can use this field.
70
+ * The individual performers who contributed to the recording of the collection. An artist is a creative contributor on the recording side. Only a request acting for an organization (X-Sureel-Org) whose role holds roster:write can use this field.
71
71
  * @type {Array<ArtistObject>}
72
72
  * @memberof CreateCollectionRequest
73
73
  */
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { Metrics } from "./metrics";
13
13
  import type { RosterArtistProfileData } from "./roster-artist-profile-data";
14
+ import type { RosterParty } from "./roster-party";
14
15
  /**
15
16
  *
16
17
  * @export
@@ -53,12 +54,24 @@ export interface CustomerProfileData {
53
54
  * @memberof CustomerProfileData
54
55
  */
55
56
  artists?: Array<RosterArtistProfileData>;
57
+ /**
58
+ *
59
+ * @type {Array<RosterParty>}
60
+ * @memberof CustomerProfileData
61
+ */
62
+ roster?: Array<RosterParty>;
56
63
  /**
57
64
  *
58
65
  * @type {Metrics}
59
66
  * @memberof CustomerProfileData
60
67
  */
61
68
  metrics?: Metrics;
69
+ /**
70
+ * The labels this company holds, the values `signed_label` filters on. Sent only on a read the company itself is entitled to (`include_hidden`, `include_nilv`, `include_music_consent` or `roles`), and absent when the company lists none.
71
+ * @type {Array<string>}
72
+ * @memberof CustomerProfileData
73
+ */
74
+ subLabels?: Array<string>;
62
75
  /**
63
76
  * The `lastEvaluatedKey` is used for pagination. It indicates the last item returned in the current page.
64
77
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"customer-profile-data.d.ts","sourceRoot":"","sources":["../../src/models/customer-profile-data.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGxC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAE3E;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAA;IACxC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC5B"}
1
+ {"version":3,"file":"customer-profile-data.d.ts","sourceRoot":"","sources":["../../src/models/customer-profile-data.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGxC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAG3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAA;IACxC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC5B"}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { EvaluateLifecycleStage } from "./evaluate-lifecycle-stage";
13
+ import type { EvaluateNilvUse } from "./evaluate-nilv-use";
13
14
  import type { EvaluatePurpose } from "./evaluate-purpose";
14
15
  import type { EvaluateScope } from "./evaluate-scope";
15
16
  /**
@@ -48,6 +49,12 @@ export interface EvaluateArtistSettingsBody {
48
49
  * @memberof EvaluateArtistSettingsBody
49
50
  */
50
51
  purpose: EvaluatePurpose;
52
+ /**
53
+ *
54
+ * @type {EvaluateNilvUse}
55
+ * @memberof EvaluateArtistSettingsBody
56
+ */
57
+ uses?: EvaluateNilvUse;
51
58
  /**
52
59
  * Narrows the question to one asset. Omit to ask about the scope at large. A grant naming specific assets takes no part in a scope-wide question, so omitting this can answer allow while a named asset is blocked by a narrower grant.
53
60
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"evaluate-artist-settings-body.d.ts","sourceRoot":"","sources":["../../src/models/evaluate-artist-settings-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAGxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAGzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAErD;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,KAAK,EAAE,aAAa,CAAA;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,eAAe,EAAE,sBAAsB,CAAA;IACvC;;;;OAIG;IACH,OAAO,EAAE,eAAe,CAAA;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CAC1B"}
1
+ {"version":3,"file":"evaluate-artist-settings-body.d.ts","sourceRoot":"","sources":["../../src/models/evaluate-artist-settings-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AAGxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAG1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAGzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAErD;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,KAAK,EAAE,aAAa,CAAA;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,eAAe,EAAE,sBAAsB,CAAA;IACvC;;;;OAIG;IACH,OAAO,EAAE,eAAe,CAAA;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CAC1B"}
@@ -12,6 +12,7 @@
12
12
  import type { EvaluateMusicLifecycleStage } from "./evaluate-music-lifecycle-stage";
13
13
  import type { EvaluateMusicPurpose } from "./evaluate-music-purpose";
14
14
  import type { EvaluateMusicScope } from "./evaluate-music-scope";
15
+ import type { EvaluateMusicUse } from "./evaluate-music-use";
15
16
  /**
16
17
  *
17
18
  * @export
@@ -42,6 +43,12 @@ export interface EvaluateMusicConsentBody {
42
43
  * @memberof EvaluateMusicConsentBody
43
44
  */
44
45
  purpose: EvaluateMusicPurpose;
46
+ /**
47
+ *
48
+ * @type {EvaluateMusicUse}
49
+ * @memberof EvaluateMusicConsentBody
50
+ */
51
+ uses?: EvaluateMusicUse;
45
52
  /**
46
53
  * Narrows the question to one catalog reference. Omit to ask about the party\'s catalog at large.
47
54
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"evaluate-music-consent-body.d.ts","sourceRoot":"","sources":["../../src/models/evaluate-music-consent-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAGnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAGpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,KAAK,EAAE,kBAAkB,CAAA;IACzB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,eAAe,EAAE,2BAA2B,CAAA;IAC5C;;;;OAIG;IACH,OAAO,EAAE,oBAAoB,CAAA;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CAC1B"}
1
+ {"version":3,"file":"evaluate-music-consent-body.d.ts","sourceRoot":"","sources":["../../src/models/evaluate-music-consent-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAGnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAGpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAGhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAE5D;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,KAAK,EAAE,kBAAkB,CAAA;IACzB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,eAAe,EAAE,2BAA2B,CAAA;IAC5C;;;;OAIG;IACH,OAAO,EAAE,oBAAoB,CAAA;IAC7B;;;;OAIG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAA;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CAC1B"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Sureel API
3
+ * ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
4
+ *
5
+ * The version of the OpenAPI document:
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface EvaluateMusicUse
16
+ */
17
+ export interface EvaluateMusicUse {
18
+ }
19
+ //# sourceMappingURL=evaluate-music-use.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluate-music-use.d.ts","sourceRoot":"","sources":["../../src/models/evaluate-music-use.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;CAAG"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Sureel API
6
+ * ### 🔐 OAuth Authentication To access the Sureel API, the following set of variables will be necessary: { \"auth_url\": \"https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token\", \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\" } Note: We provide the `client_id` and `client_secret` separately. **Token Request Example:** curl --request POST \\ --url https://dev-p48agspfw4i7fkld.eu.auth0.com/oauth/token \\ --header \'content-type: application/json\' \\ --data \'{ \"client_id\": \"<Your-Client-Id>\", \"client_secret\": \"<Your-Client-Secret>\", \"audience\": \"https://api.dev.reelx.xyz/\", \"grant_type\": \"client_credentials\" }\' Include the token in your API requests: Authorization: Bearer <your_token> **Troubleshooting** - Ensure your token hasn’t expired - Check the Authorization header format - Confirm you\'re using the correct audience ### 📥 Getting the Request Result You can retrieve processing results in two ways: - **Polling**: For audio requests, retrieve results from the <a href=\"#tag/audio-ai/paths/~1v1~1ai~1audio-ldm~1%7BrequestId%7D/get\">/v1/ai/audio-ldm/{requestId}</a> endpoint; for image requests, use the <a href=\"#tag/image-ai/operation/getResultByRequestId\">/v1/ai/ldm/{requestId}</a> endpoint. Make sure the `requestId` is obtained from the POST response. Processing time may vary. - **Webhooks**: Include a `webhook_url` (and optional `webhook_key`) in your POST body to receive results asynchronously. **Troubleshooting** - Verify the webhook URL is publicly accessible - Check that your server handles the webhook key - Ensure the request is fully processed ### 📦 Using the SDK If you\'re building with Node.js or TypeScript, you can use our official SDK for easier integration: <a href=\"https://www.npmjs.com/package/@sureel/sdk\" target=\"_blank\">@sureel/sdk on npm</a>. ### 🧠 Reading Temporal Attribution Results - `duration`: Length (in seconds) of each analysis window - `period`: Interval (in seconds) between segment starts If `duration > period`, the analysis uses overlapping segments to improve accuracy. If both values are `-1`, the full song is analyzed in one pass.
7
+ *
8
+ * The version of the OpenAPI document:
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=evaluate-music-use.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluate-music-use.js","sourceRoot":"","sources":["../../src/models/evaluate-music-use.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}