@scenario-labs/sdk 1.2.0 → 2.1.0
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/CHANGELOG.md +53 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +51 -38
- package/client.js.map +1 -1
- package/client.mjs +51 -39
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js +7 -7
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs +7 -7
- package/core/api-promise.mjs.map +1 -1
- package/core/error.js +6 -0
- package/core/error.js.map +1 -1
- package/core/error.mjs +6 -0
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +24 -6
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +24 -6
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js +1 -0
- package/core/resource.js.map +1 -1
- package/core/resource.mjs +1 -0
- package/core/resource.mjs.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/internal/detect-platform.js +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +1 -1
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.js +2 -2
- package/internal/to-file.js.map +1 -1
- package/internal/to-file.mjs +2 -2
- package/internal/to-file.mjs.map +1 -1
- package/internal/tslib.js +0 -18
- package/internal/tslib.mjs +1 -17
- package/internal/types.d.mts +10 -10
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +10 -10
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/lib/asset.d.mts.map +1 -1
- package/lib/asset.d.ts.map +1 -1
- package/lib/asset.mjs.map +1 -1
- package/lib/generate.d.mts.map +1 -1
- package/lib/generate.d.ts.map +1 -1
- package/lib/generate.mjs.map +1 -1
- package/lib/job.d.mts.map +1 -1
- package/lib/job.d.ts.map +1 -1
- package/lib/job.js +3 -3
- package/lib/job.js.map +1 -1
- package/lib/job.mjs +3 -3
- package/lib/job.mjs.map +1 -1
- package/lib/models.d.mts.map +1 -1
- package/lib/models.d.ts.map +1 -1
- package/lib/models.js +1 -4
- package/lib/models.js.map +1 -1
- package/lib/models.mjs +1 -4
- package/lib/models.mjs.map +1 -1
- package/lib/scenario.d.mts.map +1 -1
- package/lib/scenario.d.ts.map +1 -1
- package/lib/scenario.js +6 -9
- package/lib/scenario.js.map +1 -1
- package/lib/scenario.mjs +6 -9
- package/lib/scenario.mjs.map +1 -1
- package/lib/upload.d.mts.map +1 -1
- package/lib/upload.d.ts.map +1 -1
- package/lib/upload.js +6 -6
- package/lib/upload.js.map +1 -1
- package/lib/upload.mjs +6 -6
- package/lib/upload.mjs.map +1 -1
- package/lib/workflow.d.mts.map +1 -1
- package/lib/workflow.d.ts.map +1 -1
- package/lib/workflow.mjs.map +1 -1
- package/lib/workflow_converter.d.mts +185 -0
- package/lib/workflow_converter.d.mts.map +1 -0
- package/lib/workflow_converter.d.ts +185 -0
- package/lib/workflow_converter.d.ts.map +1 -0
- package/lib/workflow_converter.js +1102 -0
- package/lib/workflow_converter.js.map +1 -0
- package/lib/workflow_converter.mjs +1099 -0
- package/lib/workflow_converter.mjs.map +1 -0
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/assets/assets.d.mts +12 -0
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +12 -0
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js +1 -4
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs +1 -4
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/assets/download.d.mts.map +1 -1
- package/resources/assets/download.d.ts.map +1 -1
- package/resources/assets/download.mjs.map +1 -1
- package/resources/assets/index.d.mts.map +1 -1
- package/resources/assets/index.d.ts.map +1 -1
- package/resources/assets/index.mjs.map +1 -1
- package/resources/assets.d.mts.map +1 -1
- package/resources/assets.d.ts.map +1 -1
- package/resources/assets.mjs.map +1 -1
- package/resources/collections/assets.d.mts.map +1 -1
- package/resources/collections/assets.d.ts.map +1 -1
- package/resources/collections/assets.mjs.map +1 -1
- package/resources/collections/collections.d.mts.map +1 -1
- package/resources/collections/collections.d.ts.map +1 -1
- package/resources/collections/collections.js +2 -5
- package/resources/collections/collections.js.map +1 -1
- package/resources/collections/collections.mjs +2 -5
- package/resources/collections/collections.mjs.map +1 -1
- package/resources/collections/index.d.mts.map +1 -1
- package/resources/collections/index.d.ts.map +1 -1
- package/resources/collections/index.mjs.map +1 -1
- package/resources/collections/models.d.mts.map +1 -1
- package/resources/collections/models.d.ts.map +1 -1
- package/resources/collections/models.mjs.map +1 -1
- package/resources/collections.d.mts.map +1 -1
- package/resources/collections.d.ts.map +1 -1
- package/resources/collections.mjs.map +1 -1
- package/resources/generate.d.mts +96 -0
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +96 -0
- package/resources/generate.d.ts.map +1 -1
- package/resources/generate.mjs.map +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/jobs.d.mts +36 -0
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +36 -0
- package/resources/jobs.d.ts.map +1 -1
- package/resources/jobs.mjs.map +1 -1
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/description.mjs.map +1 -1
- package/resources/models/examples.d.mts +24 -0
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +24 -0
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/examples.mjs.map +1 -1
- package/resources/models/index.d.mts.map +1 -1
- package/resources/models/index.d.ts.map +1 -1
- package/resources/models/index.mjs.map +1 -1
- package/resources/models/models.d.mts +42 -0
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +42 -0
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +4 -7
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +4 -7
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/train.d.mts +24 -0
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +24 -0
- package/resources/models/train.d.ts.map +1 -1
- package/resources/models/train.mjs.map +1 -1
- package/resources/models/training-images.d.mts.map +1 -1
- package/resources/models/training-images.d.ts.map +1 -1
- package/resources/models/training-images.mjs.map +1 -1
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts.map +1 -1
- package/resources/models.mjs.map +1 -1
- package/resources/oscu.d.mts.map +1 -1
- package/resources/oscu.d.ts.map +1 -1
- package/resources/oscu.mjs.map +1 -1
- package/resources/pricing/index.d.mts.map +1 -1
- package/resources/pricing/index.d.ts.map +1 -1
- package/resources/pricing/index.mjs.map +1 -1
- package/resources/pricing/oscu.d.mts.map +1 -1
- package/resources/pricing/oscu.d.ts.map +1 -1
- package/resources/pricing/oscu.mjs.map +1 -1
- package/resources/pricing/pricing.d.mts.map +1 -1
- package/resources/pricing/pricing.d.ts.map +1 -1
- package/resources/pricing/pricing.js +1 -4
- package/resources/pricing/pricing.js.map +1 -1
- package/resources/pricing/pricing.mjs +1 -4
- package/resources/pricing/pricing.mjs.map +1 -1
- package/resources/pricing.d.mts.map +1 -1
- package/resources/pricing.d.ts.map +1 -1
- package/resources/pricing.mjs.map +1 -1
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts.map +1 -1
- package/resources/search.mjs.map +1 -1
- package/resources/tags.d.mts.map +1 -1
- package/resources/tags.d.ts.map +1 -1
- package/resources/tags.mjs.map +1 -1
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts.map +1 -1
- package/resources/uploads.mjs.map +1 -1
- package/resources/usages.d.mts +23 -0
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +23 -0
- package/resources/usages.d.ts.map +1 -1
- package/resources/usages.mjs.map +1 -1
- package/resources/workflows.d.mts +132 -0
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +132 -0
- package/resources/workflows.d.ts.map +1 -1
- package/resources/workflows.js +4 -7
- package/resources/workflows.js.map +1 -1
- package/resources/workflows.mjs +4 -7
- package/resources/workflows.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/index.ts +14 -0
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/lib/workflow_converter.ts +1402 -0
- package/src/resources/assets/assets.ts +14 -0
- package/src/resources/generate.ts +112 -0
- package/src/resources/jobs.ts +42 -0
- package/src/resources/models/examples.ts +28 -0
- package/src/resources/models/models.ts +49 -0
- package/src/resources/models/train.ts +28 -0
- package/src/resources/usages.ts +26 -0
- package/src/resources/workflows.ts +154 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/workflows.d.ts
CHANGED
|
@@ -309,6 +309,12 @@ export declare namespace WorkflowCreateResponse {
|
|
|
309
309
|
* types.
|
|
310
310
|
*/
|
|
311
311
|
max?: number;
|
|
312
|
+
/**
|
|
313
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
314
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
315
|
+
* \`asset.properties.duration\` at job creation time.
|
|
316
|
+
*/
|
|
317
|
+
maxDuration?: number;
|
|
312
318
|
/**
|
|
313
319
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
314
320
|
* \`string_array\`.
|
|
@@ -461,6 +467,12 @@ export declare namespace WorkflowCreateResponse {
|
|
|
461
467
|
* types.
|
|
462
468
|
*/
|
|
463
469
|
max?: number;
|
|
470
|
+
/**
|
|
471
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
472
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
473
|
+
* \`asset.properties.duration\` at job creation time.
|
|
474
|
+
*/
|
|
475
|
+
maxDuration?: number;
|
|
464
476
|
/**
|
|
465
477
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
466
478
|
* \`string_array\`.
|
|
@@ -774,6 +786,12 @@ export declare namespace WorkflowCreateResponse {
|
|
|
774
786
|
* types.
|
|
775
787
|
*/
|
|
776
788
|
max?: number;
|
|
789
|
+
/**
|
|
790
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
791
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
792
|
+
* \`asset.properties.duration\` at job creation time.
|
|
793
|
+
*/
|
|
794
|
+
maxDuration?: number;
|
|
777
795
|
/**
|
|
778
796
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
779
797
|
* \`string_array\`.
|
|
@@ -1294,6 +1312,12 @@ export declare namespace WorkflowRetrieveResponse {
|
|
|
1294
1312
|
* types.
|
|
1295
1313
|
*/
|
|
1296
1314
|
max?: number;
|
|
1315
|
+
/**
|
|
1316
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
1317
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
1318
|
+
* \`asset.properties.duration\` at job creation time.
|
|
1319
|
+
*/
|
|
1320
|
+
maxDuration?: number;
|
|
1297
1321
|
/**
|
|
1298
1322
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
1299
1323
|
* \`string_array\`.
|
|
@@ -1446,6 +1470,12 @@ export declare namespace WorkflowRetrieveResponse {
|
|
|
1446
1470
|
* types.
|
|
1447
1471
|
*/
|
|
1448
1472
|
max?: number;
|
|
1473
|
+
/**
|
|
1474
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
1475
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
1476
|
+
* \`asset.properties.duration\` at job creation time.
|
|
1477
|
+
*/
|
|
1478
|
+
maxDuration?: number;
|
|
1449
1479
|
/**
|
|
1450
1480
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
1451
1481
|
* \`string_array\`.
|
|
@@ -1759,6 +1789,12 @@ export declare namespace WorkflowRetrieveResponse {
|
|
|
1759
1789
|
* types.
|
|
1760
1790
|
*/
|
|
1761
1791
|
max?: number;
|
|
1792
|
+
/**
|
|
1793
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
1794
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
1795
|
+
* \`asset.properties.duration\` at job creation time.
|
|
1796
|
+
*/
|
|
1797
|
+
maxDuration?: number;
|
|
1762
1798
|
/**
|
|
1763
1799
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
1764
1800
|
* \`string_array\`.
|
|
@@ -2279,6 +2315,12 @@ export declare namespace WorkflowUpdateResponse {
|
|
|
2279
2315
|
* types.
|
|
2280
2316
|
*/
|
|
2281
2317
|
max?: number;
|
|
2318
|
+
/**
|
|
2319
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
2320
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
2321
|
+
* \`asset.properties.duration\` at job creation time.
|
|
2322
|
+
*/
|
|
2323
|
+
maxDuration?: number;
|
|
2282
2324
|
/**
|
|
2283
2325
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
2284
2326
|
* \`string_array\`.
|
|
@@ -2431,6 +2473,12 @@ export declare namespace WorkflowUpdateResponse {
|
|
|
2431
2473
|
* types.
|
|
2432
2474
|
*/
|
|
2433
2475
|
max?: number;
|
|
2476
|
+
/**
|
|
2477
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
2478
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
2479
|
+
* \`asset.properties.duration\` at job creation time.
|
|
2480
|
+
*/
|
|
2481
|
+
maxDuration?: number;
|
|
2434
2482
|
/**
|
|
2435
2483
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
2436
2484
|
* \`string_array\`.
|
|
@@ -2744,6 +2792,12 @@ export declare namespace WorkflowUpdateResponse {
|
|
|
2744
2792
|
* types.
|
|
2745
2793
|
*/
|
|
2746
2794
|
max?: number;
|
|
2795
|
+
/**
|
|
2796
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
2797
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
2798
|
+
* \`asset.properties.duration\` at job creation time.
|
|
2799
|
+
*/
|
|
2800
|
+
maxDuration?: number;
|
|
2747
2801
|
/**
|
|
2748
2802
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
2749
2803
|
* \`string_array\`.
|
|
@@ -3260,6 +3314,12 @@ export declare namespace WorkflowListResponse {
|
|
|
3260
3314
|
* types.
|
|
3261
3315
|
*/
|
|
3262
3316
|
max?: number;
|
|
3317
|
+
/**
|
|
3318
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
3319
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
3320
|
+
* \`asset.properties.duration\` at job creation time.
|
|
3321
|
+
*/
|
|
3322
|
+
maxDuration?: number;
|
|
3263
3323
|
/**
|
|
3264
3324
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
3265
3325
|
* \`string_array\`.
|
|
@@ -3412,6 +3472,12 @@ export declare namespace WorkflowListResponse {
|
|
|
3412
3472
|
* types.
|
|
3413
3473
|
*/
|
|
3414
3474
|
max?: number;
|
|
3475
|
+
/**
|
|
3476
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
3477
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
3478
|
+
* \`asset.properties.duration\` at job creation time.
|
|
3479
|
+
*/
|
|
3480
|
+
maxDuration?: number;
|
|
3415
3481
|
/**
|
|
3416
3482
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
3417
3483
|
* \`string_array\`.
|
|
@@ -3725,6 +3791,12 @@ export declare namespace WorkflowListResponse {
|
|
|
3725
3791
|
* types.
|
|
3726
3792
|
*/
|
|
3727
3793
|
max?: number;
|
|
3794
|
+
/**
|
|
3795
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
3796
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
3797
|
+
* \`asset.properties.duration\` at job creation time.
|
|
3798
|
+
*/
|
|
3799
|
+
maxDuration?: number;
|
|
3728
3800
|
/**
|
|
3729
3801
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
3730
3802
|
* \`string_array\`.
|
|
@@ -4261,6 +4333,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
4261
4333
|
* types.
|
|
4262
4334
|
*/
|
|
4263
4335
|
max?: number;
|
|
4336
|
+
/**
|
|
4337
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
4338
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
4339
|
+
* \`asset.properties.duration\` at job creation time.
|
|
4340
|
+
*/
|
|
4341
|
+
maxDuration?: number;
|
|
4264
4342
|
/**
|
|
4265
4343
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
4266
4344
|
* \`string_array\`.
|
|
@@ -4413,6 +4491,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
4413
4491
|
* types.
|
|
4414
4492
|
*/
|
|
4415
4493
|
max?: number;
|
|
4494
|
+
/**
|
|
4495
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
4496
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
4497
|
+
* \`asset.properties.duration\` at job creation time.
|
|
4498
|
+
*/
|
|
4499
|
+
maxDuration?: number;
|
|
4416
4500
|
/**
|
|
4417
4501
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
4418
4502
|
* \`string_array\`.
|
|
@@ -4923,6 +5007,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
4923
5007
|
* types.
|
|
4924
5008
|
*/
|
|
4925
5009
|
max?: number;
|
|
5010
|
+
/**
|
|
5011
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
5012
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
5013
|
+
* \`asset.properties.duration\` at job creation time.
|
|
5014
|
+
*/
|
|
5015
|
+
maxDuration?: number;
|
|
4926
5016
|
/**
|
|
4927
5017
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
4928
5018
|
* \`string_array\`.
|
|
@@ -5075,6 +5165,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
5075
5165
|
* types.
|
|
5076
5166
|
*/
|
|
5077
5167
|
max?: number;
|
|
5168
|
+
/**
|
|
5169
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
5170
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
5171
|
+
* \`asset.properties.duration\` at job creation time.
|
|
5172
|
+
*/
|
|
5173
|
+
maxDuration?: number;
|
|
5078
5174
|
/**
|
|
5079
5175
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
5080
5176
|
* \`string_array\`.
|
|
@@ -5388,6 +5484,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
5388
5484
|
* types.
|
|
5389
5485
|
*/
|
|
5390
5486
|
max?: number;
|
|
5487
|
+
/**
|
|
5488
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
5489
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
5490
|
+
* \`asset.properties.duration\` at job creation time.
|
|
5491
|
+
*/
|
|
5492
|
+
maxDuration?: number;
|
|
5391
5493
|
/**
|
|
5392
5494
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
5393
5495
|
* \`string_array\`.
|
|
@@ -5917,6 +6019,12 @@ export declare namespace WorkflowUserApprovalResponse {
|
|
|
5917
6019
|
* types.
|
|
5918
6020
|
*/
|
|
5919
6021
|
max?: number;
|
|
6022
|
+
/**
|
|
6023
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
6024
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
6025
|
+
* \`asset.properties.duration\` at job creation time.
|
|
6026
|
+
*/
|
|
6027
|
+
maxDuration?: number;
|
|
5920
6028
|
/**
|
|
5921
6029
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
5922
6030
|
* \`string_array\`.
|
|
@@ -6069,6 +6177,12 @@ export declare namespace WorkflowUserApprovalResponse {
|
|
|
6069
6177
|
* types.
|
|
6070
6178
|
*/
|
|
6071
6179
|
max?: number;
|
|
6180
|
+
/**
|
|
6181
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
6182
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
6183
|
+
* \`asset.properties.duration\` at job creation time.
|
|
6184
|
+
*/
|
|
6185
|
+
maxDuration?: number;
|
|
6072
6186
|
/**
|
|
6073
6187
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
6074
6188
|
* \`string_array\`.
|
|
@@ -6544,6 +6658,12 @@ export declare namespace WorkflowUpdateParams {
|
|
|
6544
6658
|
* types.
|
|
6545
6659
|
*/
|
|
6546
6660
|
max?: number;
|
|
6661
|
+
/**
|
|
6662
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
6663
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
6664
|
+
* \`asset.properties.duration\` at job creation time.
|
|
6665
|
+
*/
|
|
6666
|
+
maxDuration?: number;
|
|
6547
6667
|
/**
|
|
6548
6668
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
6549
6669
|
* \`string_array\`.
|
|
@@ -6696,6 +6816,12 @@ export declare namespace WorkflowUpdateParams {
|
|
|
6696
6816
|
* types.
|
|
6697
6817
|
*/
|
|
6698
6818
|
max?: number;
|
|
6819
|
+
/**
|
|
6820
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
6821
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
6822
|
+
* \`asset.properties.duration\` at job creation time.
|
|
6823
|
+
*/
|
|
6824
|
+
maxDuration?: number;
|
|
6699
6825
|
/**
|
|
6700
6826
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
6701
6827
|
* \`string_array\`.
|
|
@@ -7009,6 +7135,12 @@ export declare namespace WorkflowUpdateParams {
|
|
|
7009
7135
|
* types.
|
|
7010
7136
|
*/
|
|
7011
7137
|
max?: number;
|
|
7138
|
+
/**
|
|
7139
|
+
* The maximum allowed media duration in seconds. Only applies to \`file\` and
|
|
7140
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
7141
|
+
* \`asset.properties.duration\` at job creation time.
|
|
7142
|
+
*/
|
|
7143
|
+
maxDuration?: number;
|
|
7012
7144
|
/**
|
|
7013
7145
|
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
7014
7146
|
* \`string_array\`.
|