@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.
- package/api/sureel-api.d.ts +349 -115
- package/api/sureel-api.d.ts.map +1 -1
- package/api/sureel-api.js +455 -105
- package/api/sureel-api.js.map +1 -1
- package/esm/api/sureel-api.d.ts +349 -115
- package/esm/api/sureel-api.d.ts.map +1 -1
- package/esm/api/sureel-api.js +454 -104
- package/esm/api/sureel-api.js.map +1 -1
- package/esm/models/aidetection-result-per-stem-inner.d.ts +1 -1
- 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/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/create-collection-request.d.ts +1 -1
- package/esm/models/customer-profile-data.d.ts +13 -0
- package/esm/models/customer-profile-data.d.ts.map +1 -1
- 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/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/index.d.ts +15 -3
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +15 -3
- package/esm/models/index.js.map +1 -1
- 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/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/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/track-inference-artifacts-body.d.ts +5 -5
- package/esm/models/track-training-artifacts-body.d.ts +2 -2
- package/esm/models/training-artifact-entry.d.ts +2 -2
- 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/models/aidetection-result-per-stem-inner.d.ts +1 -1
- 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/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/create-collection-request.d.ts +1 -1
- package/models/customer-profile-data.d.ts +13 -0
- package/models/customer-profile-data.d.ts.map +1 -1
- 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/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/index.d.ts +15 -3
- package/models/index.d.ts.map +1 -1
- package/models/index.js +15 -3
- package/models/index.js.map +1 -1
- 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/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/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/track-inference-artifacts-body.d.ts +5 -5
- package/models/track-training-artifacts-body.d.ts +2 -2
- package/models/training-artifact-entry.d.ts +2 -2
- 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/package.json +1 -1
|
@@ -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=roster-party-org.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roster-party-org.js","sourceRoot":"","sources":["../../src/models/roster-party-org.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 RosterPartyStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface RosterPartyStatus {
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=roster-party-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roster-party-status.d.ts","sourceRoot":"","sources":["../../src/models/roster-party-status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;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=roster-party-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roster-party-status.js","sourceRoot":"","sources":["../../src/models/roster-party-status.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 { RosterInvitedBy } from "./roster-invited-by";
|
|
13
|
+
import type { RosterPartyOrg } from "./roster-party-org";
|
|
14
|
+
import type { RosterPartyStatus } from "./roster-party-status";
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface RosterParty
|
|
19
|
+
*/
|
|
20
|
+
export interface RosterParty {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof RosterParty
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {RosterPartyOrg}
|
|
30
|
+
* @memberof RosterParty
|
|
31
|
+
*/
|
|
32
|
+
org: RosterPartyOrg;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof RosterParty
|
|
37
|
+
*/
|
|
38
|
+
display_name: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof RosterParty
|
|
43
|
+
*/
|
|
44
|
+
address: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Array<string>}
|
|
48
|
+
* @memberof RosterParty
|
|
49
|
+
*/
|
|
50
|
+
roles: Array<string>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {RosterPartyStatus}
|
|
54
|
+
* @memberof RosterParty
|
|
55
|
+
*/
|
|
56
|
+
status: RosterPartyStatus;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof RosterParty
|
|
61
|
+
*/
|
|
62
|
+
expires_at: string | null;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof RosterParty
|
|
67
|
+
*/
|
|
68
|
+
joined_at: string | null;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {RosterInvitedBy}
|
|
72
|
+
* @memberof RosterParty
|
|
73
|
+
*/
|
|
74
|
+
invited_by: RosterInvitedBy;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof RosterParty
|
|
79
|
+
*/
|
|
80
|
+
username: string | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof RosterParty
|
|
85
|
+
*/
|
|
86
|
+
target_username: string | null;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=roster-party.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roster-party.d.ts","sourceRoot":"","sources":["../../src/models/roster-party.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAG1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAGxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAE9D;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;;;OAIG;IACH,GAAG,EAAE,cAAc,CAAA;IACnB;;;;OAIG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;;;OAIG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IACpB;;;;OAIG;IACH,MAAM,EAAE,iBAAiB,CAAA;IACzB;;;;OAIG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;;;OAIG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;;;;OAIG;IACH,UAAU,EAAE,eAAe,CAAA;IAC3B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB;;;;OAIG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;CACjC"}
|
|
@@ -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=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,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=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
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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;
|
|
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"}
|
package/models/upload-url.d.ts
CHANGED
|
@@ -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
|
|
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
|
*/
|