@sureel/sdk 1.14.2 → 1.14.7

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 (77) hide show
  1. package/esm/models/artist-profile-data.d.ts +6 -0
  2. package/esm/models/artist-profile-data.d.ts.map +1 -1
  3. package/esm/models/asset-metadata-record.d.ts +6 -6
  4. package/esm/models/asset-metadata-record.d.ts.map +1 -1
  5. package/esm/models/content-rights.d.ts +7 -7
  6. package/esm/models/content-rights.d.ts.map +1 -1
  7. package/esm/models/content-rights1.d.ts +4 -4
  8. package/esm/models/content-rights2.d.ts +3 -3
  9. package/esm/models/content-rights2.d.ts.map +1 -1
  10. package/esm/models/contributor-role.d.ts +19 -0
  11. package/esm/models/contributor-role.d.ts.map +1 -0
  12. package/esm/models/contributor-role.js +15 -0
  13. package/esm/models/contributor-role.js.map +1 -0
  14. package/esm/models/external-stem.d.ts +4 -10
  15. package/esm/models/external-stem.d.ts.map +1 -1
  16. package/esm/models/external-stem1.d.ts +10 -4
  17. package/esm/models/external-stem1.d.ts.map +1 -1
  18. package/esm/models/ip-rights-file.d.ts +3 -3
  19. package/esm/models/ip-rights-file.d.ts.map +1 -1
  20. package/esm/models/ip-rights1.d.ts +32 -0
  21. package/esm/models/ip-rights1.d.ts.map +1 -0
  22. package/esm/models/ip-rights1.js +15 -0
  23. package/esm/models/ip-rights1.js.map +1 -0
  24. package/esm/models/model-file.d.ts +3 -3
  25. package/esm/models/model-file.d.ts.map +1 -1
  26. package/esm/models/publishing-contributor-role.d.ts +19 -0
  27. package/esm/models/publishing-contributor-role.d.ts.map +1 -0
  28. package/esm/models/publishing-contributor-role.js +15 -0
  29. package/esm/models/publishing-contributor-role.js.map +1 -0
  30. package/esm/models/publishing-contributor.d.ts +56 -0
  31. package/esm/models/publishing-contributor.d.ts.map +1 -0
  32. package/esm/models/publishing-contributor.js +15 -0
  33. package/esm/models/publishing-contributor.js.map +1 -0
  34. package/esm/models/recording-contributor.d.ts +50 -0
  35. package/esm/models/recording-contributor.d.ts.map +1 -0
  36. package/esm/models/recording-contributor.js +15 -0
  37. package/esm/models/recording-contributor.js.map +1 -0
  38. package/esm/models/update-asset-metadata-body.d.ts +3 -3
  39. package/models/artist-profile-data.d.ts +6 -0
  40. package/models/artist-profile-data.d.ts.map +1 -1
  41. package/models/asset-metadata-record.d.ts +6 -6
  42. package/models/asset-metadata-record.d.ts.map +1 -1
  43. package/models/content-rights.d.ts +7 -7
  44. package/models/content-rights.d.ts.map +1 -1
  45. package/models/content-rights1.d.ts +4 -4
  46. package/models/content-rights2.d.ts +3 -3
  47. package/models/content-rights2.d.ts.map +1 -1
  48. package/models/contributor-role.d.ts +19 -0
  49. package/models/contributor-role.d.ts.map +1 -0
  50. package/models/contributor-role.js +16 -0
  51. package/models/contributor-role.js.map +1 -0
  52. package/models/external-stem.d.ts +4 -10
  53. package/models/external-stem.d.ts.map +1 -1
  54. package/models/external-stem1.d.ts +10 -4
  55. package/models/external-stem1.d.ts.map +1 -1
  56. package/models/ip-rights-file.d.ts +3 -3
  57. package/models/ip-rights-file.d.ts.map +1 -1
  58. package/models/ip-rights1.d.ts +32 -0
  59. package/models/ip-rights1.d.ts.map +1 -0
  60. package/models/ip-rights1.js +16 -0
  61. package/models/ip-rights1.js.map +1 -0
  62. package/models/model-file.d.ts +3 -3
  63. package/models/model-file.d.ts.map +1 -1
  64. package/models/publishing-contributor-role.d.ts +19 -0
  65. package/models/publishing-contributor-role.d.ts.map +1 -0
  66. package/models/publishing-contributor-role.js +16 -0
  67. package/models/publishing-contributor-role.js.map +1 -0
  68. package/models/publishing-contributor.d.ts +56 -0
  69. package/models/publishing-contributor.d.ts.map +1 -0
  70. package/models/publishing-contributor.js +16 -0
  71. package/models/publishing-contributor.js.map +1 -0
  72. package/models/recording-contributor.d.ts +50 -0
  73. package/models/recording-contributor.d.ts.map +1 -0
  74. package/models/recording-contributor.js +16 -0
  75. package/models/recording-contributor.js.map +1 -0
  76. package/models/update-asset-metadata-body.d.ts +3 -3
  77. package/package.json +1 -1
@@ -0,0 +1,56 @@
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
+ import type { PublishingContributorRole } from "./publishing-contributor-role";
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PublishingContributor
17
+ */
18
+ export interface PublishingContributor {
19
+ /**
20
+ * Indicates whether to allow AI training on the publishing data.
21
+ * @type {boolean}
22
+ * @memberof PublishingContributor
23
+ */
24
+ allow_ai_training?: boolean;
25
+ /**
26
+ * The ISWC (International Standard Musical Work Code) is a unique identifier for musical works.
27
+ * @type {string}
28
+ * @memberof PublishingContributor
29
+ */
30
+ iswc?: string;
31
+ /**
32
+ * The contributor of the publishing.
33
+ * @type {string}
34
+ * @memberof PublishingContributor
35
+ */
36
+ contributor?: string;
37
+ /**
38
+ *
39
+ * @type {PublishingContributorRole}
40
+ * @memberof PublishingContributor
41
+ */
42
+ contributor_role?: PublishingContributorRole;
43
+ /**
44
+ * The split percentage of the publishing contributed by the artist.
45
+ * @type {number}
46
+ * @memberof PublishingContributor
47
+ */
48
+ split_percentage?: number;
49
+ /**
50
+ * The territory in which the publishing is distributed.
51
+ * @type {string}
52
+ * @memberof PublishingContributor
53
+ */
54
+ territory?: string;
55
+ }
56
+ //# sourceMappingURL=publishing-contributor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishing-contributor.d.ts","sourceRoot":"","sources":["../../src/models/publishing-contributor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAA;AAE9E;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,CAAA;IAC5C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB"}
@@ -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=publishing-contributor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishing-contributor.js","sourceRoot":"","sources":["../../src/models/publishing-contributor.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -0,0 +1,50 @@
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
+ import type { ContributorRole } from "./contributor-role";
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RecordingContributor
17
+ */
18
+ export interface RecordingContributor {
19
+ /**
20
+ * Indicates whether to allow AI training on the recording data.
21
+ * @type {boolean}
22
+ * @memberof RecordingContributor
23
+ */
24
+ allow_ai_training?: boolean;
25
+ /**
26
+ * The contributor of the recording.
27
+ * @type {string}
28
+ * @memberof RecordingContributor
29
+ */
30
+ contributor?: string;
31
+ /**
32
+ *
33
+ * @type {ContributorRole}
34
+ * @memberof RecordingContributor
35
+ */
36
+ contributor_role?: ContributorRole;
37
+ /**
38
+ * The split percentage of the recording contributed by the artist.
39
+ * @type {number}
40
+ * @memberof RecordingContributor
41
+ */
42
+ split_percentage?: number;
43
+ /**
44
+ * The territory in which the recording is distributed.
45
+ * @type {string}
46
+ * @memberof RecordingContributor
47
+ */
48
+ territory?: string;
49
+ }
50
+ //# sourceMappingURL=recording-contributor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recording-contributor.d.ts","sourceRoot":"","sources":["../../src/models/recording-contributor.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEzD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,eAAe,CAAA;IAClC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB"}
@@ -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=recording-contributor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recording-contributor.js","sourceRoot":"","sources":["../../src/models/recording-contributor.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { AiInfluence } from "./ai-influence";
13
- import type { ContentRights1 } from "./content-rights1";
13
+ import type { ContentRights2 } from "./content-rights2";
14
14
  /**
15
15
  *
16
16
  * @export
@@ -242,9 +242,9 @@ export interface UpdateAssetMetadataBody {
242
242
  ai_influence?: AiInfluence;
243
243
  /**
244
244
  *
245
- * @type {ContentRights1}
245
+ * @type {ContentRights2}
246
246
  * @memberof UpdateAssetMetadataBody
247
247
  */
248
- content_rights?: ContentRights1;
248
+ content_rights?: ContentRights2;
249
249
  }
250
250
  //# sourceMappingURL=update-asset-metadata-body.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sureel/sdk",
3
- "version": "v1.14.2",
3
+ "version": "v1.14.7",
4
4
  "description": "Official Typescript library for the Sureel API.",
5
5
  "repository": {
6
6
  "type": "git",