@sureel/sdk 1.17.0 → 1.17.4-rc.2
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/api/sureel-api.d.ts +344 -169
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +451 -193
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +344 -169
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +450 -192
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/aidetection-result-per-stem-inner.d.ts +1 -1
- package/esm/models/apply-watermark-request.d.ts +2 -2
- package/esm/models/artifacts-per-epoch-entry.d.ts +1 -1
- package/esm/models/artist-profile-data.d.ts +19 -0
- package/esm/models/artist-profile-data.d.ts.map +1 -1
- package/esm/models/artist-settings-duplicate-error.d.ts +24 -0
- package/esm/models/artist-settings-duplicate-error.d.ts.map +1 -1
- package/esm/models/artist-settings-error.d.ts +24 -0
- package/esm/models/artist-settings-error.d.ts.map +1 -1
- package/esm/models/avatar-image-blending-request.d.ts +2 -2
- package/esm/models/bad-request-response.d.ts +44 -0
- package/esm/models/bad-request-response.d.ts.map +1 -0
- package/esm/models/bad-request-response.js +15 -0
- package/esm/models/bad-request-response.js.map +1 -0
- package/esm/models/calculate-attribution-request.d.ts +1 -1
- package/esm/models/control-net-request.d.ts +2 -2
- package/esm/models/cover-art-request.d.ts +2 -2
- package/esm/models/create-collection-request.d.ts +2 -2
- package/esm/models/customer-profile-data.d.ts +13 -0
- package/esm/models/customer-profile-data.d.ts.map +1 -1
- package/esm/models/ddex-source-manifest.d.ts +1 -1
- package/esm/models/ddex-source-zip.d.ts +1 -1
- package/esm/models/ddex-source.d.ts +2 -2
- package/esm/models/evaluate-artist-settings-body.d.ts +7 -0
- package/esm/models/evaluate-artist-settings-body.d.ts.map +1 -1
- package/esm/models/evaluate-music-consent-body.d.ts +7 -0
- package/esm/models/evaluate-music-consent-body.d.ts.map +1 -1
- package/esm/models/evaluate-music-use.d.ts +19 -0
- package/esm/models/evaluate-music-use.d.ts.map +1 -0
- package/esm/models/evaluate-music-use.js +15 -0
- package/esm/models/evaluate-music-use.js.map +1 -0
- package/esm/models/evaluate-nilv-use.d.ts +19 -0
- package/esm/models/evaluate-nilv-use.d.ts.map +1 -0
- package/esm/models/evaluate-nilv-use.js +15 -0
- package/esm/models/evaluate-nilv-use.js.map +1 -0
- package/esm/models/external-stem.d.ts +1 -1
- package/esm/models/generate-preview-request.d.ts +2 -2
- package/esm/models/get-all-artists-response.d.ts +32 -0
- package/esm/models/get-all-artists-response.d.ts.map +1 -0
- package/esm/models/get-all-artists-response.js +15 -0
- package/esm/models/get-all-artists-response.js.map +1 -0
- package/esm/models/identical-matches.d.ts +4 -6
- package/esm/models/identical-matches.d.ts.map +1 -1
- package/esm/models/identical-matches1.d.ts +2 -3
- package/esm/models/identical-matches1.d.ts.map +1 -1
- package/esm/models/image-attribution-analysis-request.d.ts +1 -1
- package/esm/models/image-blending-request.d.ts +2 -2
- package/esm/models/index.d.ts +15 -4
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +15 -4
- package/esm/models/index.js.map +1 -1
- package/esm/models/inpaint-request.d.ts +3 -3
- package/esm/models/model-file.d.ts +1 -1
- package/esm/models/music-ai-use.d.ts +19 -0
- package/esm/models/music-ai-use.d.ts.map +1 -0
- package/esm/models/music-ai-use.js +15 -0
- package/esm/models/music-ai-use.js.map +1 -0
- package/esm/models/music-consent-error.d.ts +24 -0
- package/esm/models/music-consent-error.d.ts.map +1 -1
- package/esm/models/music-grant-input.d.ts +8 -1
- package/esm/models/music-grant-input.d.ts.map +1 -1
- package/esm/models/music-grant.d.ts +8 -1
- package/esm/models/music-grant.d.ts.map +1 -1
- package/esm/models/music-grant1.d.ts +8 -1
- package/esm/models/music-grant1.d.ts.map +1 -1
- package/esm/models/nil-asset-thumbnail-size.d.ts +19 -0
- package/esm/models/nil-asset-thumbnail-size.d.ts.map +1 -0
- package/esm/models/nil-asset-thumbnail-size.js +15 -0
- package/esm/models/nil-asset-thumbnail-size.js.map +1 -0
- package/esm/models/nilv-ai-use.d.ts +19 -0
- package/esm/models/nilv-ai-use.d.ts.map +1 -0
- package/esm/models/nilv-ai-use.js +15 -0
- package/esm/models/nilv-ai-use.js.map +1 -0
- package/esm/models/nilv-grant-input.d.ts +8 -1
- package/esm/models/nilv-grant-input.d.ts.map +1 -1
- package/esm/models/nilv-grant-response.d.ts +8 -1
- package/esm/models/nilv-grant-response.d.ts.map +1 -1
- package/esm/models/nilv-grant-response1.d.ts +8 -1
- package/esm/models/nilv-grant-response1.d.ts.map +1 -1
- package/esm/models/post-accidental-infringement-check-body.d.ts +1 -1
- package/esm/models/post-audio-attribution-analysis-body.d.ts +1 -1
- package/esm/models/post-audio-to-audio-body.d.ts +1 -1
- package/esm/models/post-calculate-attribution-body-audio.d.ts +1 -1
- package/esm/models/post-detect-aigenerated-audio-body.d.ts +1 -1
- package/esm/models/post-lyrics-analysis-body.d.ts +1 -1
- package/esm/models/post-opt-out-analysis-body.d.ts +1 -1
- package/esm/models/post-similar-song-finder-body.d.ts +1 -1
- package/esm/models/post-song-analysis.d.ts +1 -1
- package/esm/models/post-stem-split-body.d.ts +1 -1
- package/esm/models/profile-picture-source.d.ts +19 -0
- package/esm/models/profile-picture-source.d.ts.map +1 -0
- package/esm/models/profile-picture-source.js +15 -0
- package/esm/models/profile-picture-source.js.map +1 -0
- package/esm/models/reimagine-request.d.ts +2 -2
- package/esm/models/remove-background-request.d.ts +1 -1
- package/esm/models/roster-artist-profile-data.d.ts +25 -0
- package/esm/models/roster-artist-profile-data.d.ts.map +1 -1
- package/esm/models/roster-artist-response.d.ts +33 -0
- package/esm/models/roster-artist-response.d.ts.map +1 -0
- package/esm/models/roster-artist-response.js +15 -0
- package/esm/models/roster-artist-response.js.map +1 -0
- package/esm/models/roster-invited-by-acting-as.d.ts +19 -0
- package/esm/models/roster-invited-by-acting-as.d.ts.map +1 -0
- package/esm/models/roster-invited-by-acting-as.js +15 -0
- package/esm/models/roster-invited-by-acting-as.js.map +1 -0
- package/esm/models/roster-invited-by.d.ts +44 -0
- package/esm/models/roster-invited-by.d.ts.map +1 -0
- package/esm/models/roster-invited-by.js +15 -0
- package/esm/models/roster-invited-by.js.map +1 -0
- package/esm/models/roster-party-org.d.ts +31 -0
- package/esm/models/roster-party-org.d.ts.map +1 -0
- package/esm/models/roster-party-org.js +15 -0
- package/esm/models/roster-party-org.js.map +1 -0
- package/esm/models/roster-party-status.d.ts +19 -0
- package/esm/models/roster-party-status.d.ts.map +1 -0
- package/esm/models/roster-party-status.js +15 -0
- package/esm/models/roster-party-status.js.map +1 -0
- package/esm/models/roster-party.d.ts +88 -0
- package/esm/models/roster-party.d.ts.map +1 -0
- package/esm/models/roster-party.js +15 -0
- package/esm/models/roster-party.js.map +1 -0
- package/esm/models/service-unavailable-response.d.ts +37 -0
- package/esm/models/service-unavailable-response.d.ts.map +1 -0
- package/esm/models/service-unavailable-response.js +15 -0
- package/esm/models/service-unavailable-response.js.map +1 -0
- package/esm/models/set-filepath-file.d.ts +1 -1
- package/esm/models/style-image.d.ts +1 -1
- package/esm/models/style-transfer-request.d.ts +2 -2
- package/esm/models/text-to-image-request.d.ts +1 -1
- package/esm/models/track-inference-artifacts-body.d.ts +8 -8
- package/esm/models/track-training-artifacts-body.d.ts +2 -2
- package/esm/models/training-artifact-entry.d.ts +2 -2
- package/esm/models/update-collection-request.d.ts +1 -1
- package/esm/models/upload-url-request.d.ts +6 -0
- package/esm/models/upload-url-request.d.ts.map +1 -1
- package/esm/models/upload-url.d.ts +1 -1
- package/esm/models/upscale-request.d.ts +2 -2
- package/models/aidetection-result-per-stem-inner.d.ts +1 -1
- package/models/apply-watermark-request.d.ts +2 -2
- package/models/artifacts-per-epoch-entry.d.ts +1 -1
- package/models/artist-profile-data.d.ts +19 -0
- package/models/artist-profile-data.d.ts.map +1 -1
- package/models/artist-settings-duplicate-error.d.ts +24 -0
- package/models/artist-settings-duplicate-error.d.ts.map +1 -1
- package/models/artist-settings-error.d.ts +24 -0
- package/models/artist-settings-error.d.ts.map +1 -1
- package/models/avatar-image-blending-request.d.ts +2 -2
- package/models/bad-request-response.d.ts +44 -0
- package/models/bad-request-response.d.ts.map +1 -0
- package/models/bad-request-response.js +16 -0
- package/models/bad-request-response.js.map +1 -0
- package/models/calculate-attribution-request.d.ts +1 -1
- package/models/control-net-request.d.ts +2 -2
- package/models/cover-art-request.d.ts +2 -2
- package/models/create-collection-request.d.ts +2 -2
- package/models/customer-profile-data.d.ts +13 -0
- package/models/customer-profile-data.d.ts.map +1 -1
- package/models/ddex-source-manifest.d.ts +1 -1
- package/models/ddex-source-zip.d.ts +1 -1
- package/models/ddex-source.d.ts +2 -2
- package/models/evaluate-artist-settings-body.d.ts +7 -0
- package/models/evaluate-artist-settings-body.d.ts.map +1 -1
- package/models/evaluate-music-consent-body.d.ts +7 -0
- package/models/evaluate-music-consent-body.d.ts.map +1 -1
- package/models/evaluate-music-use.d.ts +19 -0
- package/models/evaluate-music-use.d.ts.map +1 -0
- package/models/evaluate-music-use.js +16 -0
- package/models/evaluate-music-use.js.map +1 -0
- package/models/evaluate-nilv-use.d.ts +19 -0
- package/models/evaluate-nilv-use.d.ts.map +1 -0
- package/models/evaluate-nilv-use.js +16 -0
- package/models/evaluate-nilv-use.js.map +1 -0
- package/models/external-stem.d.ts +1 -1
- package/models/generate-preview-request.d.ts +2 -2
- package/models/get-all-artists-response.d.ts +32 -0
- package/models/get-all-artists-response.d.ts.map +1 -0
- package/models/get-all-artists-response.js +16 -0
- package/models/get-all-artists-response.js.map +1 -0
- package/models/identical-matches.d.ts +4 -6
- package/models/identical-matches.d.ts.map +1 -1
- package/models/identical-matches1.d.ts +2 -3
- package/models/identical-matches1.d.ts.map +1 -1
- package/models/image-attribution-analysis-request.d.ts +1 -1
- package/models/image-blending-request.d.ts +2 -2
- package/models/index.d.ts +15 -4
- package/models/index.d.ts.map +1 -1
- package/models/index.js +15 -4
- package/models/index.js.map +1 -1
- package/models/inpaint-request.d.ts +3 -3
- package/models/model-file.d.ts +1 -1
- package/models/music-ai-use.d.ts +19 -0
- package/models/music-ai-use.d.ts.map +1 -0
- package/models/music-ai-use.js +16 -0
- package/models/music-ai-use.js.map +1 -0
- package/models/music-consent-error.d.ts +24 -0
- package/models/music-consent-error.d.ts.map +1 -1
- package/models/music-grant-input.d.ts +8 -1
- package/models/music-grant-input.d.ts.map +1 -1
- package/models/music-grant.d.ts +8 -1
- package/models/music-grant.d.ts.map +1 -1
- package/models/music-grant1.d.ts +8 -1
- package/models/music-grant1.d.ts.map +1 -1
- package/models/nil-asset-thumbnail-size.d.ts +19 -0
- package/models/nil-asset-thumbnail-size.d.ts.map +1 -0
- package/models/nil-asset-thumbnail-size.js +16 -0
- package/models/nil-asset-thumbnail-size.js.map +1 -0
- package/models/nilv-ai-use.d.ts +19 -0
- package/models/nilv-ai-use.d.ts.map +1 -0
- package/models/nilv-ai-use.js +16 -0
- package/models/nilv-ai-use.js.map +1 -0
- package/models/nilv-grant-input.d.ts +8 -1
- package/models/nilv-grant-input.d.ts.map +1 -1
- package/models/nilv-grant-response.d.ts +8 -1
- package/models/nilv-grant-response.d.ts.map +1 -1
- package/models/nilv-grant-response1.d.ts +8 -1
- package/models/nilv-grant-response1.d.ts.map +1 -1
- package/models/post-accidental-infringement-check-body.d.ts +1 -1
- package/models/post-audio-attribution-analysis-body.d.ts +1 -1
- package/models/post-audio-to-audio-body.d.ts +1 -1
- package/models/post-calculate-attribution-body-audio.d.ts +1 -1
- package/models/post-detect-aigenerated-audio-body.d.ts +1 -1
- package/models/post-lyrics-analysis-body.d.ts +1 -1
- package/models/post-opt-out-analysis-body.d.ts +1 -1
- package/models/post-similar-song-finder-body.d.ts +1 -1
- package/models/post-song-analysis.d.ts +1 -1
- package/models/post-stem-split-body.d.ts +1 -1
- package/models/profile-picture-source.d.ts +19 -0
- package/models/profile-picture-source.d.ts.map +1 -0
- package/models/profile-picture-source.js +16 -0
- package/models/profile-picture-source.js.map +1 -0
- package/models/reimagine-request.d.ts +2 -2
- package/models/remove-background-request.d.ts +1 -1
- package/models/roster-artist-profile-data.d.ts +25 -0
- package/models/roster-artist-profile-data.d.ts.map +1 -1
- package/models/roster-artist-response.d.ts +33 -0
- package/models/roster-artist-response.d.ts.map +1 -0
- package/models/roster-artist-response.js +16 -0
- package/models/roster-artist-response.js.map +1 -0
- package/models/roster-invited-by-acting-as.d.ts +19 -0
- package/models/roster-invited-by-acting-as.d.ts.map +1 -0
- package/models/roster-invited-by-acting-as.js +16 -0
- package/models/roster-invited-by-acting-as.js.map +1 -0
- package/models/roster-invited-by.d.ts +44 -0
- package/models/roster-invited-by.d.ts.map +1 -0
- package/models/roster-invited-by.js +16 -0
- package/models/roster-invited-by.js.map +1 -0
- package/models/roster-party-org.d.ts +31 -0
- package/models/roster-party-org.d.ts.map +1 -0
- package/models/roster-party-org.js +16 -0
- package/models/roster-party-org.js.map +1 -0
- package/models/roster-party-status.d.ts +19 -0
- package/models/roster-party-status.d.ts.map +1 -0
- package/models/roster-party-status.js +16 -0
- package/models/roster-party-status.js.map +1 -0
- package/models/roster-party.d.ts +88 -0
- package/models/roster-party.d.ts.map +1 -0
- package/models/roster-party.js +16 -0
- package/models/roster-party.js.map +1 -0
- package/models/service-unavailable-response.d.ts +37 -0
- package/models/service-unavailable-response.d.ts.map +1 -0
- package/models/service-unavailable-response.js +16 -0
- package/models/service-unavailable-response.js.map +1 -0
- package/models/set-filepath-file.d.ts +1 -1
- package/models/style-image.d.ts +1 -1
- package/models/style-transfer-request.d.ts +2 -2
- package/models/text-to-image-request.d.ts +1 -1
- package/models/track-inference-artifacts-body.d.ts +8 -8
- package/models/track-training-artifacts-body.d.ts +2 -2
- package/models/training-artifact-entry.d.ts +2 -2
- package/models/update-collection-request.d.ts +1 -1
- package/models/upload-url-request.d.ts +6 -0
- package/models/upload-url-request.d.ts.map +1 -1
- package/models/upload-url.d.ts +1 -1
- package/models/upscale-request.d.ts +2 -2
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { MusicAiCompanyRef } from "./music-ai-company-ref";
|
|
13
|
+
import type { MusicAiUse } from "./music-ai-use";
|
|
13
14
|
import type { MusicDecision } from "./music-decision";
|
|
14
15
|
import type { MusicEvidence } from "./music-evidence";
|
|
15
16
|
import type { MusicGrantStatus } from "./music-grant-status";
|
|
@@ -66,6 +67,12 @@ export interface MusicGrant1 {
|
|
|
66
67
|
* @memberof MusicGrant1
|
|
67
68
|
*/
|
|
68
69
|
purposes: Set<MusicPurpose>;
|
|
70
|
+
/**
|
|
71
|
+
* The finer-grained AI action, when the grant answers one of the dashboard\'s uses. Absent: the coarse stage grant. Empty: every use. A request naming a use matches grants carrying `uses`, and coarse grants that restrict (anything but allow), so naming a use never gets past a restriction. Each use belongs to one layer (remix_* to recording, song_* to publishing) and the grant\'s scope must cover it, or the write is refused with 422.
|
|
72
|
+
* @type {Set<MusicAiUse>}
|
|
73
|
+
* @memberof MusicGrant1
|
|
74
|
+
*/
|
|
75
|
+
uses?: Set<MusicAiUse>;
|
|
69
76
|
/**
|
|
70
77
|
* Inclusive, YYYY-MM-DD.
|
|
71
78
|
* @type {string}
|
|
@@ -73,7 +80,7 @@ export interface MusicGrant1 {
|
|
|
73
80
|
*/
|
|
74
81
|
valid_from: string;
|
|
75
82
|
/**
|
|
76
|
-
*
|
|
83
|
+
* Inclusive, or null for open-ended.
|
|
77
84
|
* @type {string}
|
|
78
85
|
* @memberof MusicGrant1
|
|
79
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"music-grant1.d.ts","sourceRoot":"","sources":["../../../src/models/music-grant1.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAG/D,OAAO,KAAK,EAAE,aAAa,EAAE,MA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,QAAQ,EAAE,GAAG,CAAC,YAAY,CAAC,CAAA;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,CAAA;IACtB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC;;;;OAIG;IACH,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B;;;;OAIG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,EAAE,gBAAgB,CAAA;IACxB;;;;OAIG;IACH,UAAU,EAAE,cAAc,CAAA;IAC1B;;;;OAIG;IACH,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAA;CACjC"}
|
|
@@ -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 NilAssetThumbnailSize
|
|
16
|
+
*/
|
|
17
|
+
export interface NilAssetThumbnailSize {
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=nil-asset-thumbnail-size.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nil-asset-thumbnail-size.d.ts","sourceRoot":"","sources":["../../../src/models/nil-asset-thumbnail-size.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;CAAG"}
|
|
@@ -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=nil-asset-thumbnail-size.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nil-asset-thumbnail-size.js","sourceRoot":"","sources":["../../../src/models/nil-asset-thumbnail-size.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -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 NilvAiUse
|
|
16
|
+
*/
|
|
17
|
+
export interface NilvAiUse {
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=nilv-ai-use.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nilv-ai-use.d.ts","sourceRoot":"","sources":["../../../src/models/nilv-ai-use.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,SAAS;CAAG"}
|
|
@@ -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=nilv-ai-use.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nilv-ai-use.js","sourceRoot":"","sources":["../../../src/models/nilv-ai-use.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { NilvAiCompanyRef } from "./nilv-ai-company-ref";
|
|
13
|
+
import type { NilvAiUse } from "./nilv-ai-use";
|
|
13
14
|
import type { NilvDecision } from "./nilv-decision";
|
|
14
15
|
import type { NilvEvidenceInput } from "./nilv-evidence-input";
|
|
15
16
|
import type { NilvLifecycleStage } from "./nilv-lifecycle-stage";
|
|
@@ -46,6 +47,12 @@ export interface NilvGrantInput {
|
|
|
46
47
|
* @memberof NilvGrantInput
|
|
47
48
|
*/
|
|
48
49
|
styles: Set<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The finer-grained voice action, when the grant answers one of the dashboard\'s voice uses. Absent: the coarse stage grant. Empty: every use. A request naming a use matches grants carrying `uses`, and coarse grants that restrict (anything but allow), so naming a use never gets past a restriction. Every use is about the voice, so the grant\'s scope must include voice, or the write is refused with 422.
|
|
52
|
+
* @type {Set<NilvAiUse>}
|
|
53
|
+
* @memberof NilvGrantInput
|
|
54
|
+
*/
|
|
55
|
+
uses?: Set<NilvAiUse>;
|
|
49
56
|
/**
|
|
50
57
|
* Asset ids, or [\'*\'] for every asset in scope. A grant naming specific assets answers only questions that name one of them: it takes no part in a scope-wide question, meaning one sent without an asset_ref. That holds for a block as much as for an allow, so a scope-wide question can answer allow while a specific asset is blocked by a narrower grant, and the trace shows that grant as unmatched on asset_refs. Ask a per-asset question to get a per-asset answer.
|
|
51
58
|
* @type {Set<string>}
|
|
@@ -77,7 +84,7 @@ export interface NilvGrantInput {
|
|
|
77
84
|
*/
|
|
78
85
|
valid_from: string;
|
|
79
86
|
/**
|
|
80
|
-
*
|
|
87
|
+
* Inclusive, or null for open-ended.
|
|
81
88
|
* @type {string}
|
|
82
89
|
* @memberof NilvGrantInput
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AAC,MAAM,CAAC,CAAA;IACvB;;;;OAIG;IACH,gBAAgB,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAA;IACzC;;;;OAIG;IACH,YAAY,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAA;IACnC;;;;OAIG;IACH,QAAQ,EAAE,GAAG,CAAC,WAAW,CAAC,CAAA;IAC1B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC;;;;OAIG;IACH,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B;;;;OAIG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;CACrC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { NilvAiCompanyRef } from "./nilv-ai-company-ref";
|
|
13
|
+
import type { NilvAiUse } from "./nilv-ai-use";
|
|
13
14
|
import type { NilvDecision } from "./nilv-decision";
|
|
14
15
|
import type { NilvEvidenceResponse } from "./nilv-evidence-response";
|
|
15
16
|
import type { NilvGrantStatusResponse } from "./nilv-grant-status-response";
|
|
@@ -48,6 +49,12 @@ export interface NilvGrantResponse {
|
|
|
48
49
|
* @memberof NilvGrantResponse
|
|
49
50
|
*/
|
|
50
51
|
styles: Set<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The finer-grained voice action, when the grant answers one of the dashboard\'s voice uses. Absent: the coarse stage grant. Empty: every use. A request naming a use matches grants carrying `uses`, and coarse grants that restrict (anything but allow), so naming a use never gets past a restriction. Every use is about the voice, so the grant\'s scope must include voice, or the write is refused with 422.
|
|
54
|
+
* @type {Set<NilvAiUse>}
|
|
55
|
+
* @memberof NilvGrantResponse
|
|
56
|
+
*/
|
|
57
|
+
uses?: Set<NilvAiUse>;
|
|
51
58
|
/**
|
|
52
59
|
* Asset ids, or [\'*\'] for every asset in scope. A grant naming specific assets answers only questions that name one of them: it takes no part in a scope-wide question, meaning one sent without an asset_ref. That holds for a block as much as for an allow, so a scope-wide question can answer allow while a specific asset is blocked by a narrower grant, and the trace shows that grant as unmatched on asset_refs. Ask a per-asset question to get a per-asset answer.
|
|
53
60
|
* @type {Set<string>}
|
|
@@ -79,7 +86,7 @@ export interface NilvGrantResponse {
|
|
|
79
86
|
*/
|
|
80
87
|
valid_from: string;
|
|
81
88
|
/**
|
|
82
|
-
*
|
|
89
|
+
* Inclusive, or null for open-ended.
|
|
83
90
|
* @type {string}
|
|
84
91
|
* @memberof NilvGrantResponse
|
|
85
92
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nilv-grant-response.d.ts","sourceRoot":"","sources":["../../../src/models/nilv-grant-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAG7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAGnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAGpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAG3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAGtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAGhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;;;OAIG;IACH,QAAQ,EAAE,YAAY,CAAA;IACtB;;;;OAIG;IACH,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,CAAA;IACrB;;;;OAIG;IACH,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACnB;;;;OAIG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB;;;;OAIG;IACH,gBAAgB,EAAE,GAAG,CAAC,kBAAkB,CAAC,CAAA;IACzC;;;;OAIG;IACH,YAAY,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAA;IACnC;;;;OAIG;IACH,QAAQ,EAAE,GAAG,CAAC,WAAW,CAAC,CAAA;IAC1B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC;;;;OAIG;IACH,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B;;;;OAIG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,EAAE,uBAAuB,CAAA;IAC/B;;;;OAIG;IACH,UAAU,EAAE,aAAa,CAAA;IACzB;;;;OAIG;IACH,QAAQ,EAAE,oBAAoB,GAAG,IAAI,CAAA;CACxC"}
|
|
1
|
+
{"version":3,"file":"nilv-grant-response.d.ts","sourceRoot":"","sources":["../../../src/models/nilv-grant-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAG7D,OAAO,KAAK,EAAE,S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AAI,CAAA;IAChC;;;;OAIG;IACH,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B;;;;OAIG;IACH,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,EAAE,uBAAuB,CAAA;IAC/B;;;;OAIG;IACH,UAAU,EAAE,aAAa,CAAA;IACzB;;;;OAIG;IACH,QAAQ,EAAE,oBAAoB,GAAG,IAAI,CAAA;CACxC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { NilvAiCompanyRef } from "./nilv-ai-company-ref";
|
|
13
|
+
import type { NilvAiUse } from "./nilv-ai-use";
|
|
13
14
|
import type { NilvDecision } from "./nilv-decision";
|
|
14
15
|
import type { NilvEvidenceResponse } from "./nilv-evidence-response";
|
|
15
16
|
import type { NilvGrantStatusResponse } from "./nilv-grant-status-response";
|
|
@@ -48,6 +49,12 @@ export interface NilvGrantResponse1 {
|
|
|
48
49
|
* @memberof NilvGrantResponse1
|
|
49
50
|
*/
|
|
50
51
|
styles: Set<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The finer-grained voice action, when the grant answers one of the dashboard\'s voice uses. Absent: the coarse stage grant. Empty: every use. A request naming a use matches grants carrying `uses`, and coarse grants that restrict (anything but allow), so naming a use never gets past a restriction. Every use is about the voice, so the grant\'s scope must include voice, or the write is refused with 422.
|
|
54
|
+
* @type {Set<NilvAiUse>}
|
|
55
|
+
* @memberof NilvGrantResponse1
|
|
56
|
+
*/
|
|
57
|
+
uses?: Set<NilvAiUse>;
|
|
51
58
|
/**
|
|
52
59
|
* Asset ids, or [\'*\'] for every asset in scope. A grant naming specific assets answers only questions that name one of them: it takes no part in a scope-wide question, meaning one sent without an asset_ref. That holds for a block as much as for an allow, so a scope-wide question can answer allow while a specific asset is blocked by a narrower grant, and the trace shows that grant as unmatched on asset_refs. Ask a per-asset question to get a per-asset answer.
|
|
53
60
|
* @type {Set<string>}
|
|
@@ -79,7 +86,7 @@ export interface NilvGrantResponse1 {
|
|
|
79
86
|
*/
|
|
80
87
|
valid_from: string;
|
|
81
88
|
/**
|
|
82
|
-
*
|
|
89
|
+
* Inclusive, or null for open-ended.
|
|
83
90
|
* @type {string}
|
|
84
91
|
* @memberof NilvGrantResponse1
|
|
85
92
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nilv-grant-response1.d.ts","sourceRoot":"","sources":["../../../src/models/nilv-grant-response1.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAG7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAGnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAGpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAG3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAGtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAGhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;;;OAIG;IACH,QAAQ,EAAE,YAAY,CAAA;IACtB;;;;OAIG;IACH,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,CAAA;IACrB;;;;OAIG;IACH,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACnB;;;;OAIG;IACH,UAAU,EAAE,G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AAoB,GAAG,IAAI,CAAA;CACxC"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PostAccidentalInfringementCheckBody {
|
|
18
18
|
/**
|
|
19
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
19
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PostAccidentalInfringementCheckBody
|
|
22
22
|
*/
|
|
@@ -17,7 +17,7 @@ import type { PostLyricsAnalysisInfo } from "./post-lyrics-analysis-info";
|
|
|
17
17
|
*/
|
|
18
18
|
export interface PostAudioAttributionAnalysisBody {
|
|
19
19
|
/**
|
|
20
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
20
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof PostAudioAttributionAnalysisBody
|
|
23
23
|
*/
|
|
@@ -23,7 +23,7 @@ export interface PostAudioToAudioBody {
|
|
|
23
23
|
*/
|
|
24
24
|
prompt: string;
|
|
25
25
|
/**
|
|
26
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
26
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof PostAudioToAudioBody
|
|
29
29
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PostCalculateAttributionBodyAudio {
|
|
18
18
|
/**
|
|
19
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
19
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PostCalculateAttributionBodyAudio
|
|
22
22
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PostDetectAIGeneratedAudioBody {
|
|
18
18
|
/**
|
|
19
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
19
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PostDetectAIGeneratedAudioBody
|
|
22
22
|
*/
|
|
@@ -17,7 +17,7 @@ import type { PostLyricsAnalysisInfoWithInputLyrics } from "./post-lyrics-analys
|
|
|
17
17
|
*/
|
|
18
18
|
export interface PostLyricsAnalysisBody {
|
|
19
19
|
/**
|
|
20
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
20
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof PostLyricsAnalysisBody
|
|
23
23
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PostOptOutAnalysisBody {
|
|
18
18
|
/**
|
|
19
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
19
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PostOptOutAnalysisBody
|
|
22
22
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PostSimilarSongFinderBody {
|
|
18
18
|
/**
|
|
19
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
19
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PostSimilarSongFinderBody
|
|
22
22
|
*/
|
|
@@ -18,7 +18,7 @@ import type { PostLyricsAnalysisInfo } from "./post-lyrics-analysis-info";
|
|
|
18
18
|
*/
|
|
19
19
|
export interface PostSongAnalysis {
|
|
20
20
|
/**
|
|
21
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
21
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof PostSongAnalysis
|
|
24
24
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface PostStemSplitBody {
|
|
18
18
|
/**
|
|
19
|
-
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/
|
|
19
|
+
* The `contentAudioPath` can either be an audio URL or the audio path returned from the `/files/generate-upload-urls` endpoint. Supported formats include .MP3, .WAV, .M4A, and .FLAC.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof PostStemSplitBody
|
|
22
22
|
*/
|
|
@@ -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 ProfilePictureSource
|
|
16
|
+
*/
|
|
17
|
+
export interface ProfilePictureSource {
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=profile-picture-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-picture-source.d.ts","sourceRoot":"","sources":["../../../src/models/profile-picture-source.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;CAAG"}
|
|
@@ -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=profile-picture-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-picture-source.js","sourceRoot":"","sources":["../../../src/models/profile-picture-source.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -25,7 +25,7 @@ export interface ReimagineRequest {
|
|
|
25
25
|
*/
|
|
26
26
|
prompt: string;
|
|
27
27
|
/**
|
|
28
|
-
* The `contentImagePath` can either be an image URL or the image path returned from the `/files/
|
|
28
|
+
* The `contentImagePath` can either be an image URL or the image path returned from the `/files/generate-upload-urls` endpoint. Supported formats include JPG and PNG.
|
|
29
29
|
* @type {string}
|
|
30
30
|
* @memberof ReimagineRequest
|
|
31
31
|
*/
|
|
@@ -43,7 +43,7 @@ export interface ReimagineRequest {
|
|
|
43
43
|
*/
|
|
44
44
|
applyWatermark?: boolean;
|
|
45
45
|
/**
|
|
46
|
-
* Define a custom watermark image to be applied to the images. It should be square and must have an alpha channel. The watermark should be oriented towards the lower left corner of the watermark image. The `customWatermark` can either be an image URL or the image path returned from the `/files/
|
|
46
|
+
* Define a custom watermark image to be applied to the images. It should be square and must have an alpha channel. The watermark should be oriented towards the lower left corner of the watermark image. The `customWatermark` can either be an image URL or the image path returned from the `/files/generate-upload-urls` endpoint. Supported formats include PNG.
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof ReimagineRequest
|
|
49
49
|
*/
|
|
@@ -17,7 +17,7 @@ import type { Upscale } from "./upscale";
|
|
|
17
17
|
*/
|
|
18
18
|
export interface RemoveBackgroundRequest {
|
|
19
19
|
/**
|
|
20
|
-
* The `contentImagePath` can either be an image URL or the image path returned from the `/files/
|
|
20
|
+
* The `contentImagePath` can either be an image URL or the image path returned from the `/files/generate-upload-urls` endpoint. Supported formats include JPG and PNG.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RemoveBackgroundRequest
|
|
23
23
|
*/
|
|
@@ -16,6 +16,7 @@ import type { ExternalAiMonitoringObject } from "./external-ai-monitoring-object
|
|
|
16
16
|
import type { Metrics } from "./metrics";
|
|
17
17
|
import type { MusicRosterSummary } from "./music-roster-summary";
|
|
18
18
|
import type { NilvRosterSummary } from "./nilv-roster-summary";
|
|
19
|
+
import type { ProfilePictureSource } from "./profile-picture-source";
|
|
19
20
|
import type { SubscriptionTier } from "./subscription-tier";
|
|
20
21
|
import type { UpdatedAt } from "./updated-at";
|
|
21
22
|
/**
|
|
@@ -48,6 +49,12 @@ export interface RosterArtistProfileData {
|
|
|
48
49
|
* @memberof RosterArtistProfileData
|
|
49
50
|
*/
|
|
50
51
|
profile_picture_s3_key?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {ProfilePictureSource}
|
|
55
|
+
* @memberof RosterArtistProfileData
|
|
56
|
+
*/
|
|
57
|
+
profile_picture_source?: ProfilePictureSource;
|
|
51
58
|
/**
|
|
52
59
|
*
|
|
53
60
|
* @type {string}
|
|
@@ -192,6 +199,12 @@ export interface RosterArtistProfileData {
|
|
|
192
199
|
* @memberof RosterArtistProfileData
|
|
193
200
|
*/
|
|
194
201
|
sub_labels?: Array<string>;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {Array<string>}
|
|
205
|
+
* @memberof RosterArtistProfileData
|
|
206
|
+
*/
|
|
207
|
+
signed_labels?: Array<string>;
|
|
195
208
|
/**
|
|
196
209
|
*
|
|
197
210
|
* @type {Metrics}
|
|
@@ -270,6 +283,12 @@ export interface RosterArtistProfileData {
|
|
|
270
283
|
* @memberof RosterArtistProfileData
|
|
271
284
|
*/
|
|
272
285
|
tutorial_completed_at?: number;
|
|
286
|
+
/**
|
|
287
|
+
* 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.
|
|
288
|
+
* @type {number}
|
|
289
|
+
* @memberof RosterArtistProfileData
|
|
290
|
+
*/
|
|
291
|
+
terms_accepted_at?: number;
|
|
273
292
|
/**
|
|
274
293
|
*
|
|
275
294
|
* @type {boolean}
|
|
@@ -348,5 +367,11 @@ export interface RosterArtistProfileData {
|
|
|
348
367
|
* @memberof RosterArtistProfileData
|
|
349
368
|
*/
|
|
350
369
|
music_consent?: MusicRosterSummary;
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @type {boolean}
|
|
373
|
+
* @memberof RosterArtistProfileData
|
|
374
|
+
*/
|
|
375
|
+
has_login?: boolean;
|
|
351
376
|
}
|
|
352
377
|
//# sourceMappingURL=roster-artist-profile-data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roster-artist-profile-data.d.ts","sourceRoot":"","sources":["../../../src/models/roster-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,kBAAkB,EA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AAO,CAAA;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAA;IACvD;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACzC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAA;IACxD;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAChC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACpC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"roster-artist-profile-data.d.ts","sourceRoot":"","sources":["../../../src/models/roster-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,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;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,MAAM,CAAA;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAA;IACvD;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACzC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAA;IACxD;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAChC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACpC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAA;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,kBAAkB,CAAA;IAClC;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACtB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { RosterArtistProfileData } from "./roster-artist-profile-data";
|
|
13
|
+
import type { RosterParty } from "./roster-party";
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface RosterArtistResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface RosterArtistResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {RosterArtistProfileData}
|
|
23
|
+
* @memberof RosterArtistResponse
|
|
24
|
+
*/
|
|
25
|
+
artist: RosterArtistProfileData;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<RosterParty>}
|
|
29
|
+
* @memberof RosterArtistResponse
|
|
30
|
+
*/
|
|
31
|
+
roster: Array<RosterParty>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=roster-artist-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roster-artist-response.d.ts","sourceRoot":"","sources":["../../../src/models/roster-artist-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAG3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,MAAM,EAAE,uBAAuB,CAAA;IAC/B;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;CAC7B"}
|
|
@@ -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-artist-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roster-artist-response.js","sourceRoot":"","sources":["../../../src/models/roster-artist-response.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|