@scenario-labs/sdk 3.3.1 → 3.4.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 +25 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/index.d.mts +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/lib/user_selection_limits.d.mts +13 -0
- package/lib/user_selection_limits.d.mts.map +1 -0
- package/lib/user_selection_limits.d.ts +13 -0
- package/lib/user_selection_limits.d.ts.map +1 -0
- package/lib/user_selection_limits.js +16 -0
- package/lib/user_selection_limits.js.map +1 -0
- package/lib/user_selection_limits.mjs +13 -0
- package/lib/user_selection_limits.mjs.map +1 -0
- package/lib/workflow_converter.d.mts +6 -0
- package/lib/workflow_converter.d.mts.map +1 -1
- package/lib/workflow_converter.d.ts +6 -0
- package/lib/workflow_converter.d.ts.map +1 -1
- package/lib/workflow_converter.js +154 -52
- package/lib/workflow_converter.js.map +1 -1
- package/lib/workflow_converter.mjs +154 -52
- package/lib/workflow_converter.mjs.map +1 -1
- package/lib/workflow_import_validator.d.mts +17 -2
- package/lib/workflow_import_validator.d.mts.map +1 -1
- package/lib/workflow_import_validator.d.ts +17 -2
- package/lib/workflow_import_validator.d.ts.map +1 -1
- package/lib/workflow_import_validator.js +100 -1
- package/lib/workflow_import_validator.js.map +1 -1
- package/lib/workflow_import_validator.mjs +99 -1
- package/lib/workflow_import_validator.mjs.map +1 -1
- package/lib/workflow_validator.d.mts +1 -1
- package/lib/workflow_validator.d.mts.map +1 -1
- package/lib/workflow_validator.d.ts +1 -1
- package/lib/workflow_validator.d.ts.map +1 -1
- package/lib/workflow_validator.js +10 -11
- package/lib/workflow_validator.js.map +1 -1
- package/lib/workflow_validator.mjs +7 -8
- package/lib/workflow_validator.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assets/assets.d.mts +126 -30
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +126 -30
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js +12 -0
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs +12 -0
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/assets/index.d.mts +1 -1
- package/resources/assets/index.d.mts.map +1 -1
- package/resources/assets/index.d.ts +1 -1
- package/resources/assets/index.d.ts.map +1 -1
- package/resources/assets/index.js.map +1 -1
- package/resources/assets/index.mjs.map +1 -1
- package/resources/generate.d.mts +120 -9
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +120 -9
- package/resources/generate.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.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/models/description.d.mts +4 -4
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +4 -4
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/examples.d.mts +40 -6
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +40 -6
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/index.d.mts +1 -1
- package/resources/models/index.d.mts.map +1 -1
- package/resources/models/index.d.ts +1 -1
- package/resources/models/index.d.ts.map +1 -1
- package/resources/models/index.js.map +1 -1
- package/resources/models/index.mjs.map +1 -1
- package/resources/models/models.d.mts +1353 -199
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +1353 -199
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +13 -0
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +13 -0
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/train.d.mts +36 -2
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +36 -2
- package/resources/models/train.d.ts.map +1 -1
- package/resources/recommendations.d.mts +16 -5
- package/resources/recommendations.d.mts.map +1 -1
- package/resources/recommendations.d.ts +16 -5
- package/resources/recommendations.d.ts.map +1 -1
- package/resources/usages.d.mts +14 -2
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +14 -2
- package/resources/usages.d.ts.map +1 -1
- package/resources/workflows.d.mts +152 -9
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +152 -9
- package/resources/workflows.d.ts.map +1 -1
- package/resources/workflows.js +2 -3
- package/resources/workflows.js.map +1 -1
- package/resources/workflows.mjs +2 -3
- package/resources/workflows.mjs.map +1 -1
- package/src/client.ts +8 -0
- package/src/index.ts +1 -0
- package/src/lib/user_selection_limits.ts +14 -0
- package/src/lib/workflow_converter.ts +173 -54
- package/src/lib/workflow_import_validator.ts +116 -1
- package/src/lib/workflow_validator.ts +12 -8
- package/src/resources/assets/assets.ts +164 -4
- package/src/resources/assets/index.ts +2 -0
- package/src/resources/generate.ts +142 -0
- package/src/resources/index.ts +4 -0
- package/src/resources/jobs.ts +42 -0
- package/src/resources/models/description.ts +6 -0
- package/src/resources/models/examples.ts +48 -0
- package/src/resources/models/index.ts +2 -0
- package/src/resources/models/models.ts +1610 -114
- package/src/resources/models/train.ts +42 -0
- package/src/resources/recommendations.ts +18 -3
- package/src/resources/usages.ts +16 -0
- package/src/resources/workflows.ts +176 -9
- package/src/version.ts +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
|
@@ -34,9 +34,8 @@ export declare class Workflows extends APIResource {
|
|
|
34
34
|
run(workflowID: string, params: WorkflowRunParams, options?: RequestOptions): APIPromise<WorkflowRunResponse>;
|
|
35
35
|
/**
|
|
36
36
|
* Respond to a user-approval node in a workflow. Pass action="approve" (default)
|
|
37
|
-
* to advance the workflow, or action="reject" to mark the node Rejected
|
|
38
|
-
*
|
|
39
|
-
* cascades to the surrounding loop.
|
|
37
|
+
* to advance the workflow, or action="reject" to mark the node Rejected and cancel
|
|
38
|
+
* the workflow, even inside a ForEach iteration (other iterations are left as-is).
|
|
40
39
|
*/
|
|
41
40
|
userApproval(workflowID: string, params: WorkflowUserApprovalParams, options?: RequestOptions): APIPromise<WorkflowUserApprovalResponse>;
|
|
42
41
|
/**
|
|
@@ -348,6 +347,12 @@ export declare namespace WorkflowCreateResponse {
|
|
|
348
347
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
349
348
|
*/
|
|
350
349
|
min?: number;
|
|
350
|
+
/**
|
|
351
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
352
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
353
|
+
* \`asset.properties.duration\` at job creation time.
|
|
354
|
+
*/
|
|
355
|
+
minDuration?: number;
|
|
351
356
|
/**
|
|
352
357
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
353
358
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -509,6 +514,12 @@ export declare namespace WorkflowCreateResponse {
|
|
|
509
514
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
510
515
|
*/
|
|
511
516
|
min?: number;
|
|
517
|
+
/**
|
|
518
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
519
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
520
|
+
* \`asset.properties.duration\` at job creation time.
|
|
521
|
+
*/
|
|
522
|
+
minDuration?: number;
|
|
512
523
|
/**
|
|
513
524
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
514
525
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -859,6 +870,12 @@ export declare namespace WorkflowCreateResponse {
|
|
|
859
870
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
860
871
|
*/
|
|
861
872
|
min?: number;
|
|
873
|
+
/**
|
|
874
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
875
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
876
|
+
* \`asset.properties.duration\` at job creation time.
|
|
877
|
+
*/
|
|
878
|
+
minDuration?: number;
|
|
862
879
|
/**
|
|
863
880
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
864
881
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -1417,6 +1434,12 @@ export declare namespace WorkflowRetrieveResponse {
|
|
|
1417
1434
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
1418
1435
|
*/
|
|
1419
1436
|
min?: number;
|
|
1437
|
+
/**
|
|
1438
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
1439
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
1440
|
+
* \`asset.properties.duration\` at job creation time.
|
|
1441
|
+
*/
|
|
1442
|
+
minDuration?: number;
|
|
1420
1443
|
/**
|
|
1421
1444
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
1422
1445
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -1578,6 +1601,12 @@ export declare namespace WorkflowRetrieveResponse {
|
|
|
1578
1601
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
1579
1602
|
*/
|
|
1580
1603
|
min?: number;
|
|
1604
|
+
/**
|
|
1605
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
1606
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
1607
|
+
* \`asset.properties.duration\` at job creation time.
|
|
1608
|
+
*/
|
|
1609
|
+
minDuration?: number;
|
|
1581
1610
|
/**
|
|
1582
1611
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
1583
1612
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -1928,6 +1957,12 @@ export declare namespace WorkflowRetrieveResponse {
|
|
|
1928
1957
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
1929
1958
|
*/
|
|
1930
1959
|
min?: number;
|
|
1960
|
+
/**
|
|
1961
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
1962
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
1963
|
+
* \`asset.properties.duration\` at job creation time.
|
|
1964
|
+
*/
|
|
1965
|
+
minDuration?: number;
|
|
1931
1966
|
/**
|
|
1932
1967
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
1933
1968
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -2486,6 +2521,12 @@ export declare namespace WorkflowUpdateResponse {
|
|
|
2486
2521
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
2487
2522
|
*/
|
|
2488
2523
|
min?: number;
|
|
2524
|
+
/**
|
|
2525
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
2526
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
2527
|
+
* \`asset.properties.duration\` at job creation time.
|
|
2528
|
+
*/
|
|
2529
|
+
minDuration?: number;
|
|
2489
2530
|
/**
|
|
2490
2531
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
2491
2532
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -2647,6 +2688,12 @@ export declare namespace WorkflowUpdateResponse {
|
|
|
2647
2688
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
2648
2689
|
*/
|
|
2649
2690
|
min?: number;
|
|
2691
|
+
/**
|
|
2692
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
2693
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
2694
|
+
* \`asset.properties.duration\` at job creation time.
|
|
2695
|
+
*/
|
|
2696
|
+
minDuration?: number;
|
|
2650
2697
|
/**
|
|
2651
2698
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
2652
2699
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -2997,6 +3044,12 @@ export declare namespace WorkflowUpdateResponse {
|
|
|
2997
3044
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
2998
3045
|
*/
|
|
2999
3046
|
min?: number;
|
|
3047
|
+
/**
|
|
3048
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
3049
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
3050
|
+
* \`asset.properties.duration\` at job creation time.
|
|
3051
|
+
*/
|
|
3052
|
+
minDuration?: number;
|
|
3000
3053
|
/**
|
|
3001
3054
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
3002
3055
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -3483,6 +3536,12 @@ export declare namespace WorkflowListResponse {
|
|
|
3483
3536
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
3484
3537
|
*/
|
|
3485
3538
|
min?: number;
|
|
3539
|
+
/**
|
|
3540
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
3541
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
3542
|
+
* \`asset.properties.duration\` at job creation time.
|
|
3543
|
+
*/
|
|
3544
|
+
minDuration?: number;
|
|
3486
3545
|
/**
|
|
3487
3546
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
3488
3547
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -3794,6 +3853,12 @@ export declare namespace WorkflowListResponse {
|
|
|
3794
3853
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
3795
3854
|
*/
|
|
3796
3855
|
min?: number;
|
|
3856
|
+
/**
|
|
3857
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
3858
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
3859
|
+
* \`asset.properties.duration\` at job creation time.
|
|
3860
|
+
*/
|
|
3861
|
+
minDuration?: number;
|
|
3797
3862
|
/**
|
|
3798
3863
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
3799
3864
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -3955,6 +4020,12 @@ export declare namespace WorkflowListResponse {
|
|
|
3955
4020
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
3956
4021
|
*/
|
|
3957
4022
|
min?: number;
|
|
4023
|
+
/**
|
|
4024
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
4025
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
4026
|
+
* \`asset.properties.duration\` at job creation time.
|
|
4027
|
+
*/
|
|
4028
|
+
minDuration?: number;
|
|
3958
4029
|
/**
|
|
3959
4030
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
3960
4031
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -4642,6 +4713,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
4642
4713
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
4643
4714
|
*/
|
|
4644
4715
|
min?: number;
|
|
4716
|
+
/**
|
|
4717
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
4718
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
4719
|
+
* \`asset.properties.duration\` at job creation time.
|
|
4720
|
+
*/
|
|
4721
|
+
minDuration?: number;
|
|
4645
4722
|
/**
|
|
4646
4723
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
4647
4724
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -4803,6 +4880,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
4803
4880
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
4804
4881
|
*/
|
|
4805
4882
|
min?: number;
|
|
4883
|
+
/**
|
|
4884
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
4885
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
4886
|
+
* \`asset.properties.duration\` at job creation time.
|
|
4887
|
+
*/
|
|
4888
|
+
minDuration?: number;
|
|
4806
4889
|
/**
|
|
4807
4890
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
4808
4891
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -5407,6 +5490,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
5407
5490
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
5408
5491
|
*/
|
|
5409
5492
|
min?: number;
|
|
5493
|
+
/**
|
|
5494
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
5495
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
5496
|
+
* \`asset.properties.duration\` at job creation time.
|
|
5497
|
+
*/
|
|
5498
|
+
minDuration?: number;
|
|
5410
5499
|
/**
|
|
5411
5500
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
5412
5501
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -5568,6 +5657,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
5568
5657
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
5569
5658
|
*/
|
|
5570
5659
|
min?: number;
|
|
5660
|
+
/**
|
|
5661
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
5662
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
5663
|
+
* \`asset.properties.duration\` at job creation time.
|
|
5664
|
+
*/
|
|
5665
|
+
minDuration?: number;
|
|
5571
5666
|
/**
|
|
5572
5667
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
5573
5668
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -5918,6 +6013,12 @@ export declare namespace WorkflowRunResponse {
|
|
|
5918
6013
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
5919
6014
|
*/
|
|
5920
6015
|
min?: number;
|
|
6016
|
+
/**
|
|
6017
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
6018
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
6019
|
+
* \`asset.properties.duration\` at job creation time.
|
|
6020
|
+
*/
|
|
6021
|
+
minDuration?: number;
|
|
5921
6022
|
/**
|
|
5922
6023
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
5923
6024
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -6480,6 +6581,12 @@ export declare namespace WorkflowUserApprovalResponse {
|
|
|
6480
6581
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
6481
6582
|
*/
|
|
6482
6583
|
min?: number;
|
|
6584
|
+
/**
|
|
6585
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
6586
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
6587
|
+
* \`asset.properties.duration\` at job creation time.
|
|
6588
|
+
*/
|
|
6589
|
+
minDuration?: number;
|
|
6483
6590
|
/**
|
|
6484
6591
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
6485
6592
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -6641,6 +6748,12 @@ export declare namespace WorkflowUserApprovalResponse {
|
|
|
6641
6748
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
6642
6749
|
*/
|
|
6643
6750
|
min?: number;
|
|
6751
|
+
/**
|
|
6752
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
6753
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
6754
|
+
* \`asset.properties.duration\` at job creation time.
|
|
6755
|
+
*/
|
|
6756
|
+
minDuration?: number;
|
|
6644
6757
|
/**
|
|
6645
6758
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
6646
6759
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -7254,6 +7367,12 @@ export declare namespace WorkflowUserSelectionResponse {
|
|
|
7254
7367
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
7255
7368
|
*/
|
|
7256
7369
|
min?: number;
|
|
7370
|
+
/**
|
|
7371
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
7372
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
7373
|
+
* \`asset.properties.duration\` at job creation time.
|
|
7374
|
+
*/
|
|
7375
|
+
minDuration?: number;
|
|
7257
7376
|
/**
|
|
7258
7377
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7259
7378
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -7415,6 +7534,12 @@ export declare namespace WorkflowUserSelectionResponse {
|
|
|
7415
7534
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
7416
7535
|
*/
|
|
7417
7536
|
min?: number;
|
|
7537
|
+
/**
|
|
7538
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
7539
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
7540
|
+
* \`asset.properties.duration\` at job creation time.
|
|
7541
|
+
*/
|
|
7542
|
+
minDuration?: number;
|
|
7418
7543
|
/**
|
|
7419
7544
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7420
7545
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -8005,6 +8130,12 @@ export declare namespace WorkflowUpdateParams {
|
|
|
8005
8130
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
8006
8131
|
*/
|
|
8007
8132
|
min?: number;
|
|
8133
|
+
/**
|
|
8134
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
8135
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
8136
|
+
* \`asset.properties.duration\` at job creation time.
|
|
8137
|
+
*/
|
|
8138
|
+
minDuration?: number;
|
|
8008
8139
|
/**
|
|
8009
8140
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
8010
8141
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -8166,6 +8297,12 @@ export declare namespace WorkflowUpdateParams {
|
|
|
8166
8297
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
8167
8298
|
*/
|
|
8168
8299
|
min?: number;
|
|
8300
|
+
/**
|
|
8301
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
8302
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
8303
|
+
* \`asset.properties.duration\` at job creation time.
|
|
8304
|
+
*/
|
|
8305
|
+
minDuration?: number;
|
|
8169
8306
|
/**
|
|
8170
8307
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
8171
8308
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -8516,6 +8653,12 @@ export declare namespace WorkflowUpdateParams {
|
|
|
8516
8653
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
8517
8654
|
*/
|
|
8518
8655
|
min?: number;
|
|
8656
|
+
/**
|
|
8657
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
8658
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
8659
|
+
* \`asset.properties.duration\` at job creation time.
|
|
8660
|
+
*/
|
|
8661
|
+
minDuration?: number;
|
|
8519
8662
|
/**
|
|
8520
8663
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
8521
8664
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -8714,9 +8857,9 @@ export interface WorkflowUserApprovalParams {
|
|
|
8714
8857
|
workflowJobId: string;
|
|
8715
8858
|
/**
|
|
8716
8859
|
* Body param: Decision taken on the approval node. "approve" marks it Success and
|
|
8717
|
-
* advances the workflow; "reject" marks it Rejected and
|
|
8718
|
-
*
|
|
8719
|
-
*
|
|
8860
|
+
* advances the workflow; "reject" marks it Rejected and cancels the workflow, even
|
|
8861
|
+
* inside a ForEach iteration (other iterations are left as-is). Defaults to
|
|
8862
|
+
* "approve" for backward compatibility.
|
|
8720
8863
|
*/
|
|
8721
8864
|
action?: 'approve' | 'reject';
|
|
8722
8865
|
}
|
|
@@ -8763,9 +8906,9 @@ export interface WorkflowApproveUserParams {
|
|
|
8763
8906
|
workflowJobId: string;
|
|
8764
8907
|
/**
|
|
8765
8908
|
* Body param: Decision taken on the approval node. "approve" marks it Success and
|
|
8766
|
-
* advances the workflow; "reject" marks it Rejected and
|
|
8767
|
-
*
|
|
8768
|
-
*
|
|
8909
|
+
* advances the workflow; "reject" marks it Rejected and cancels the workflow, even
|
|
8910
|
+
* inside a ForEach iteration (other iterations are left as-is). Defaults to
|
|
8911
|
+
* "approve" for backward compatibility.
|
|
8769
8912
|
*/
|
|
8770
8913
|
action?: 'approve' | 'reject';
|
|
8771
8914
|
}
|