@sureel/sdk 1.14.6 → 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.
- package/esm/models/asset-metadata-record.d.ts +6 -6
- package/esm/models/asset-metadata-record.d.ts.map +1 -1
- package/esm/models/content-rights.d.ts +7 -7
- package/esm/models/content-rights.d.ts.map +1 -1
- package/esm/models/content-rights1.d.ts +4 -4
- package/esm/models/content-rights2.d.ts +3 -3
- package/esm/models/content-rights2.d.ts.map +1 -1
- package/esm/models/contributor-role.d.ts +19 -0
- package/esm/models/contributor-role.d.ts.map +1 -0
- package/esm/models/contributor-role.js +15 -0
- package/esm/models/contributor-role.js.map +1 -0
- package/esm/models/external-stem.d.ts +4 -10
- package/esm/models/external-stem.d.ts.map +1 -1
- package/esm/models/external-stem1.d.ts +10 -4
- package/esm/models/external-stem1.d.ts.map +1 -1
- package/esm/models/ip-rights-file.d.ts +3 -3
- package/esm/models/ip-rights-file.d.ts.map +1 -1
- package/esm/models/ip-rights1.d.ts +32 -0
- package/esm/models/ip-rights1.d.ts.map +1 -0
- package/esm/models/ip-rights1.js +15 -0
- package/esm/models/ip-rights1.js.map +1 -0
- package/esm/models/model-file.d.ts +3 -3
- package/esm/models/model-file.d.ts.map +1 -1
- package/esm/models/publishing-contributor-role.d.ts +19 -0
- package/esm/models/publishing-contributor-role.d.ts.map +1 -0
- package/esm/models/publishing-contributor-role.js +15 -0
- package/esm/models/publishing-contributor-role.js.map +1 -0
- package/esm/models/publishing-contributor.d.ts +56 -0
- package/esm/models/publishing-contributor.d.ts.map +1 -0
- package/esm/models/publishing-contributor.js +15 -0
- package/esm/models/publishing-contributor.js.map +1 -0
- package/esm/models/recording-contributor.d.ts +50 -0
- package/esm/models/recording-contributor.d.ts.map +1 -0
- package/esm/models/recording-contributor.js +15 -0
- package/esm/models/recording-contributor.js.map +1 -0
- package/esm/models/update-asset-metadata-body.d.ts +3 -3
- package/models/asset-metadata-record.d.ts +6 -6
- package/models/asset-metadata-record.d.ts.map +1 -1
- package/models/content-rights.d.ts +7 -7
- package/models/content-rights.d.ts.map +1 -1
- package/models/content-rights1.d.ts +4 -4
- package/models/content-rights2.d.ts +3 -3
- package/models/content-rights2.d.ts.map +1 -1
- package/models/contributor-role.d.ts +19 -0
- package/models/contributor-role.d.ts.map +1 -0
- package/models/contributor-role.js +16 -0
- package/models/contributor-role.js.map +1 -0
- package/models/external-stem.d.ts +4 -10
- package/models/external-stem.d.ts.map +1 -1
- package/models/external-stem1.d.ts +10 -4
- package/models/external-stem1.d.ts.map +1 -1
- package/models/ip-rights-file.d.ts +3 -3
- package/models/ip-rights-file.d.ts.map +1 -1
- package/models/ip-rights1.d.ts +32 -0
- package/models/ip-rights1.d.ts.map +1 -0
- package/models/ip-rights1.js +16 -0
- package/models/ip-rights1.js.map +1 -0
- package/models/model-file.d.ts +3 -3
- package/models/model-file.d.ts.map +1 -1
- package/models/publishing-contributor-role.d.ts +19 -0
- package/models/publishing-contributor-role.d.ts.map +1 -0
- package/models/publishing-contributor-role.js +16 -0
- package/models/publishing-contributor-role.js.map +1 -0
- package/models/publishing-contributor.d.ts +56 -0
- package/models/publishing-contributor.d.ts.map +1 -0
- package/models/publishing-contributor.js +16 -0
- package/models/publishing-contributor.js.map +1 -0
- package/models/recording-contributor.d.ts +50 -0
- package/models/recording-contributor.d.ts.map +1 -0
- package/models/recording-contributor.js +16 -0
- package/models/recording-contributor.js.map +1 -0
- package/models/update-asset-metadata-body.d.ts +3 -3
- package/package.json +1 -1
|
@@ -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 {
|
|
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 {
|
|
245
|
+
* @type {ContentRights2}
|
|
246
246
|
* @memberof UpdateAssetMetadataBody
|
|
247
247
|
*/
|
|
248
|
-
content_rights?:
|
|
248
|
+
content_rights?: ContentRights2;
|
|
249
249
|
}
|
|
250
250
|
//# sourceMappingURL=update-asset-metadata-body.d.ts.map
|