@scenario-labs/sdk 3.0.0 → 3.2.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 +106 -2
- 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 +2 -2
- package/client.js.map +1 -1
- package/client.mjs +2 -2
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +8 -8
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +8 -8
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +8 -8
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +8 -8
- package/core/pagination.mjs.map +1 -1
- 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 +99 -12
- package/lib/workflow_converter.js.map +1 -1
- package/lib/workflow_converter.mjs +99 -12
- package/lib/workflow_converter.mjs.map +1 -1
- package/lib/workflow_validator.d.mts +3 -1
- package/lib/workflow_validator.d.mts.map +1 -1
- package/lib/workflow_validator.d.ts +3 -1
- package/lib/workflow_validator.d.ts.map +1 -1
- package/lib/workflow_validator.js +41 -1
- package/lib/workflow_validator.js.map +1 -1
- package/lib/workflow_validator.mjs +41 -1
- package/lib/workflow_validator.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assets/assets.d.mts +198 -115
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +198 -115
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/assets/download.d.mts +15 -0
- package/resources/assets/download.d.mts.map +1 -1
- package/resources/assets/download.d.ts +15 -0
- package/resources/assets/download.d.ts.map +1 -1
- package/resources/assets/download.js +2 -2
- package/resources/assets/download.js.map +1 -1
- package/resources/assets/download.mjs +2 -2
- package/resources/assets/download.mjs.map +1 -1
- package/resources/generate.d.mts +383 -225
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +383 -225
- package/resources/generate.d.ts.map +1 -1
- package/resources/generate.js +2 -6
- package/resources/generate.js.map +1 -1
- package/resources/generate.mjs +2 -6
- package/resources/generate.mjs.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- 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 +77 -46
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +77 -46
- package/resources/jobs.d.ts.map +1 -1
- package/resources/jobs.js +2 -6
- package/resources/jobs.js.map +1 -1
- package/resources/jobs.mjs +2 -6
- package/resources/jobs.mjs.map +1 -1
- package/resources/models/description.d.mts +22 -4
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +22 -4
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/examples.d.mts +84 -50
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +84 -50
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/models.d.mts +131 -35
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +131 -35
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +6 -2
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +6 -2
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/train.d.mts +78 -38
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +78 -38
- package/resources/models/train.d.ts.map +1 -1
- package/resources/models/train.js +2 -2
- package/resources/models/train.js.map +1 -1
- package/resources/models/train.mjs +2 -2
- package/resources/models/train.mjs.map +1 -1
- package/resources/search.d.mts +168 -5
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts +168 -5
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +15 -2
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +15 -2
- package/resources/search.mjs.map +1 -1
- package/resources/uploads.d.mts +13 -3
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts +13 -3
- package/resources/uploads.d.ts.map +1 -1
- package/resources/uploads.js +2 -2
- package/resources/uploads.js.map +1 -1
- package/resources/uploads.mjs +2 -2
- package/resources/uploads.mjs.map +1 -1
- package/resources/usages.d.mts +36 -29
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +36 -29
- package/resources/usages.d.ts.map +1 -1
- package/resources/workflows.d.mts +283 -130
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +283 -130
- package/resources/workflows.d.ts.map +1 -1
- package/src/client.ts +10 -4
- package/src/core/pagination.ts +20 -20
- package/src/lib/workflow_converter.ts +126 -12
- package/src/lib/workflow_validator.ts +68 -1
- package/src/resources/assets/assets.ts +590 -115
- package/src/resources/assets/download.ts +19 -2
- package/src/resources/generate.ts +499 -240
- package/src/resources/index.ts +3 -0
- package/src/resources/jobs.ts +79 -53
- package/src/resources/models/description.ts +120 -4
- package/src/resources/models/examples.ts +182 -50
- package/src/resources/models/models.ts +138 -37
- package/src/resources/models/train.ts +82 -42
- package/src/resources/search.ts +218 -7
- package/src/resources/uploads.ts +16 -5
- package/src/resources/usages.ts +42 -29
- package/src/resources/workflows.ts +283 -130
- 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
|
@@ -400,6 +400,64 @@ export namespace AssetRetrieveResponse {
|
|
|
400
400
|
*/
|
|
401
401
|
originalFileUrl?: string;
|
|
402
402
|
|
|
403
|
+
/**
|
|
404
|
+
* The mime type of the original file url.
|
|
405
|
+
*
|
|
406
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
407
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
408
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
409
|
+
* Omitted when the stored format could not be determined.
|
|
410
|
+
*/
|
|
411
|
+
originalMimeType?:
|
|
412
|
+
| 'application/gzip'
|
|
413
|
+
| 'application/json'
|
|
414
|
+
| 'application/octet-stream'
|
|
415
|
+
| 'application/pdf'
|
|
416
|
+
| 'application/safetensors'
|
|
417
|
+
| 'application/vnd.autodesk.fbx'
|
|
418
|
+
| 'application/x-authorware-bin'
|
|
419
|
+
| 'application/x-zip-compressed'
|
|
420
|
+
| 'application/x.autodesk.fbx'
|
|
421
|
+
| 'application/zip'
|
|
422
|
+
| 'audio/m4a'
|
|
423
|
+
| 'audio/mpeg'
|
|
424
|
+
| 'audio/ogg'
|
|
425
|
+
| 'audio/wav'
|
|
426
|
+
| 'image/aces'
|
|
427
|
+
| 'image/avif'
|
|
428
|
+
| 'image/bmp'
|
|
429
|
+
| 'image/gif'
|
|
430
|
+
| 'image/heic'
|
|
431
|
+
| 'image/jpeg'
|
|
432
|
+
| 'image/png'
|
|
433
|
+
| 'image/svg+xml'
|
|
434
|
+
| 'image/tiff'
|
|
435
|
+
| 'image/vnd.radiance'
|
|
436
|
+
| 'image/webp'
|
|
437
|
+
| 'image/x-exr'
|
|
438
|
+
| 'model/glb'
|
|
439
|
+
| 'model/gltf+json'
|
|
440
|
+
| 'model/gltf-binary'
|
|
441
|
+
| 'model/ksplat'
|
|
442
|
+
| 'model/mtl'
|
|
443
|
+
| 'model/obj'
|
|
444
|
+
| 'model/ply'
|
|
445
|
+
| 'model/sog'
|
|
446
|
+
| 'model/splat'
|
|
447
|
+
| 'model/spz'
|
|
448
|
+
| 'model/stl'
|
|
449
|
+
| 'model/vnd.collada+xml'
|
|
450
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
451
|
+
| 'model/x-3d-vox'
|
|
452
|
+
| 'model/x-fbx'
|
|
453
|
+
| 'model/x-maya-ascii'
|
|
454
|
+
| 'model/x-maya-binary'
|
|
455
|
+
| 'model/x3d+xml'
|
|
456
|
+
| 'text/plain'
|
|
457
|
+
| 'video/mp4'
|
|
458
|
+
| 'video/quicktime'
|
|
459
|
+
| 'video/webm';
|
|
460
|
+
|
|
403
461
|
/**
|
|
404
462
|
* The output index of the asset within a job This index is an positive integer
|
|
405
463
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -415,12 +473,12 @@ export namespace AssetRetrieveResponse {
|
|
|
415
473
|
preview?: Asset.Preview;
|
|
416
474
|
|
|
417
475
|
/**
|
|
418
|
-
*
|
|
476
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
419
477
|
*
|
|
420
478
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
421
|
-
* asset is read with `
|
|
479
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
422
480
|
*/
|
|
423
|
-
|
|
481
|
+
qualityGate?: Asset.QualityGate;
|
|
424
482
|
|
|
425
483
|
/**
|
|
426
484
|
* The asset's thumbnail.
|
|
@@ -1284,12 +1342,12 @@ export namespace AssetRetrieveResponse {
|
|
|
1284
1342
|
/**
|
|
1285
1343
|
* Camera eye position in the splat's world frame.
|
|
1286
1344
|
*/
|
|
1287
|
-
position: Array<
|
|
1345
|
+
position: Array<number>;
|
|
1288
1346
|
|
|
1289
1347
|
/**
|
|
1290
1348
|
* Look-at point in the splat's world frame.
|
|
1291
1349
|
*/
|
|
1292
|
-
target: Array<
|
|
1350
|
+
target: Array<number>;
|
|
1293
1351
|
|
|
1294
1352
|
/**
|
|
1295
1353
|
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
@@ -1339,12 +1397,12 @@ export namespace AssetRetrieveResponse {
|
|
|
1339
1397
|
}
|
|
1340
1398
|
|
|
1341
1399
|
/**
|
|
1342
|
-
*
|
|
1400
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1343
1401
|
*
|
|
1344
1402
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1345
|
-
* asset is read with `
|
|
1403
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1346
1404
|
*/
|
|
1347
|
-
export interface
|
|
1405
|
+
export interface QualityGate {
|
|
1348
1406
|
/**
|
|
1349
1407
|
* ISO-8601 timestamp of when scoring ran
|
|
1350
1408
|
*/
|
|
@@ -1378,13 +1436,13 @@ export namespace AssetRetrieveResponse {
|
|
|
1378
1436
|
/**
|
|
1379
1437
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1380
1438
|
*
|
|
1381
|
-
* Returned only when the asset is read with `
|
|
1439
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1382
1440
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1383
1441
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1384
1442
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
1385
1443
|
* version, or an unreadable archive).
|
|
1386
1444
|
*/
|
|
1387
|
-
details?:
|
|
1445
|
+
details?: QualityGate.Details;
|
|
1388
1446
|
|
|
1389
1447
|
/**
|
|
1390
1448
|
* Error message when status is 'error' (truncated)
|
|
@@ -1407,11 +1465,11 @@ export namespace AssetRetrieveResponse {
|
|
|
1407
1465
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
1408
1466
|
}
|
|
1409
1467
|
|
|
1410
|
-
export namespace
|
|
1468
|
+
export namespace QualityGate {
|
|
1411
1469
|
/**
|
|
1412
1470
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1413
1471
|
*
|
|
1414
|
-
* Returned only when the asset is read with `
|
|
1472
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1415
1473
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1416
1474
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1417
1475
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -1719,6 +1777,64 @@ export namespace AssetUpdateResponse {
|
|
|
1719
1777
|
*/
|
|
1720
1778
|
originalFileUrl?: string;
|
|
1721
1779
|
|
|
1780
|
+
/**
|
|
1781
|
+
* The mime type of the original file url.
|
|
1782
|
+
*
|
|
1783
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
1784
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
1785
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
1786
|
+
* Omitted when the stored format could not be determined.
|
|
1787
|
+
*/
|
|
1788
|
+
originalMimeType?:
|
|
1789
|
+
| 'application/gzip'
|
|
1790
|
+
| 'application/json'
|
|
1791
|
+
| 'application/octet-stream'
|
|
1792
|
+
| 'application/pdf'
|
|
1793
|
+
| 'application/safetensors'
|
|
1794
|
+
| 'application/vnd.autodesk.fbx'
|
|
1795
|
+
| 'application/x-authorware-bin'
|
|
1796
|
+
| 'application/x-zip-compressed'
|
|
1797
|
+
| 'application/x.autodesk.fbx'
|
|
1798
|
+
| 'application/zip'
|
|
1799
|
+
| 'audio/m4a'
|
|
1800
|
+
| 'audio/mpeg'
|
|
1801
|
+
| 'audio/ogg'
|
|
1802
|
+
| 'audio/wav'
|
|
1803
|
+
| 'image/aces'
|
|
1804
|
+
| 'image/avif'
|
|
1805
|
+
| 'image/bmp'
|
|
1806
|
+
| 'image/gif'
|
|
1807
|
+
| 'image/heic'
|
|
1808
|
+
| 'image/jpeg'
|
|
1809
|
+
| 'image/png'
|
|
1810
|
+
| 'image/svg+xml'
|
|
1811
|
+
| 'image/tiff'
|
|
1812
|
+
| 'image/vnd.radiance'
|
|
1813
|
+
| 'image/webp'
|
|
1814
|
+
| 'image/x-exr'
|
|
1815
|
+
| 'model/glb'
|
|
1816
|
+
| 'model/gltf+json'
|
|
1817
|
+
| 'model/gltf-binary'
|
|
1818
|
+
| 'model/ksplat'
|
|
1819
|
+
| 'model/mtl'
|
|
1820
|
+
| 'model/obj'
|
|
1821
|
+
| 'model/ply'
|
|
1822
|
+
| 'model/sog'
|
|
1823
|
+
| 'model/splat'
|
|
1824
|
+
| 'model/spz'
|
|
1825
|
+
| 'model/stl'
|
|
1826
|
+
| 'model/vnd.collada+xml'
|
|
1827
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
1828
|
+
| 'model/x-3d-vox'
|
|
1829
|
+
| 'model/x-fbx'
|
|
1830
|
+
| 'model/x-maya-ascii'
|
|
1831
|
+
| 'model/x-maya-binary'
|
|
1832
|
+
| 'model/x3d+xml'
|
|
1833
|
+
| 'text/plain'
|
|
1834
|
+
| 'video/mp4'
|
|
1835
|
+
| 'video/quicktime'
|
|
1836
|
+
| 'video/webm';
|
|
1837
|
+
|
|
1722
1838
|
/**
|
|
1723
1839
|
* The output index of the asset within a job This index is an positive integer
|
|
1724
1840
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -1734,12 +1850,12 @@ export namespace AssetUpdateResponse {
|
|
|
1734
1850
|
preview?: Asset.Preview;
|
|
1735
1851
|
|
|
1736
1852
|
/**
|
|
1737
|
-
*
|
|
1853
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1738
1854
|
*
|
|
1739
1855
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1740
|
-
* asset is read with `
|
|
1856
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1741
1857
|
*/
|
|
1742
|
-
|
|
1858
|
+
qualityGate?: Asset.QualityGate;
|
|
1743
1859
|
|
|
1744
1860
|
/**
|
|
1745
1861
|
* The asset's thumbnail.
|
|
@@ -2603,12 +2719,12 @@ export namespace AssetUpdateResponse {
|
|
|
2603
2719
|
/**
|
|
2604
2720
|
* Camera eye position in the splat's world frame.
|
|
2605
2721
|
*/
|
|
2606
|
-
position: Array<
|
|
2722
|
+
position: Array<number>;
|
|
2607
2723
|
|
|
2608
2724
|
/**
|
|
2609
2725
|
* Look-at point in the splat's world frame.
|
|
2610
2726
|
*/
|
|
2611
|
-
target: Array<
|
|
2727
|
+
target: Array<number>;
|
|
2612
2728
|
|
|
2613
2729
|
/**
|
|
2614
2730
|
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
@@ -2658,12 +2774,12 @@ export namespace AssetUpdateResponse {
|
|
|
2658
2774
|
}
|
|
2659
2775
|
|
|
2660
2776
|
/**
|
|
2661
|
-
*
|
|
2777
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
2662
2778
|
*
|
|
2663
2779
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
2664
|
-
* asset is read with `
|
|
2780
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
2665
2781
|
*/
|
|
2666
|
-
export interface
|
|
2782
|
+
export interface QualityGate {
|
|
2667
2783
|
/**
|
|
2668
2784
|
* ISO-8601 timestamp of when scoring ran
|
|
2669
2785
|
*/
|
|
@@ -2697,13 +2813,13 @@ export namespace AssetUpdateResponse {
|
|
|
2697
2813
|
/**
|
|
2698
2814
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2699
2815
|
*
|
|
2700
|
-
* Returned only when the asset is read with `
|
|
2816
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2701
2817
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2702
2818
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2703
2819
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
2704
2820
|
* version, or an unreadable archive).
|
|
2705
2821
|
*/
|
|
2706
|
-
details?:
|
|
2822
|
+
details?: QualityGate.Details;
|
|
2707
2823
|
|
|
2708
2824
|
/**
|
|
2709
2825
|
* Error message when status is 'error' (truncated)
|
|
@@ -2726,11 +2842,11 @@ export namespace AssetUpdateResponse {
|
|
|
2726
2842
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
2727
2843
|
}
|
|
2728
2844
|
|
|
2729
|
-
export namespace
|
|
2845
|
+
export namespace QualityGate {
|
|
2730
2846
|
/**
|
|
2731
2847
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2732
2848
|
*
|
|
2733
|
-
* Returned only when the asset is read with `
|
|
2849
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2734
2850
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2735
2851
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2736
2852
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -3033,6 +3149,64 @@ export interface AssetListResponse {
|
|
|
3033
3149
|
*/
|
|
3034
3150
|
originalFileUrl?: string;
|
|
3035
3151
|
|
|
3152
|
+
/**
|
|
3153
|
+
* The mime type of the original file url.
|
|
3154
|
+
*
|
|
3155
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
3156
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
3157
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
3158
|
+
* Omitted when the stored format could not be determined.
|
|
3159
|
+
*/
|
|
3160
|
+
originalMimeType?:
|
|
3161
|
+
| 'application/gzip'
|
|
3162
|
+
| 'application/json'
|
|
3163
|
+
| 'application/octet-stream'
|
|
3164
|
+
| 'application/pdf'
|
|
3165
|
+
| 'application/safetensors'
|
|
3166
|
+
| 'application/vnd.autodesk.fbx'
|
|
3167
|
+
| 'application/x-authorware-bin'
|
|
3168
|
+
| 'application/x-zip-compressed'
|
|
3169
|
+
| 'application/x.autodesk.fbx'
|
|
3170
|
+
| 'application/zip'
|
|
3171
|
+
| 'audio/m4a'
|
|
3172
|
+
| 'audio/mpeg'
|
|
3173
|
+
| 'audio/ogg'
|
|
3174
|
+
| 'audio/wav'
|
|
3175
|
+
| 'image/aces'
|
|
3176
|
+
| 'image/avif'
|
|
3177
|
+
| 'image/bmp'
|
|
3178
|
+
| 'image/gif'
|
|
3179
|
+
| 'image/heic'
|
|
3180
|
+
| 'image/jpeg'
|
|
3181
|
+
| 'image/png'
|
|
3182
|
+
| 'image/svg+xml'
|
|
3183
|
+
| 'image/tiff'
|
|
3184
|
+
| 'image/vnd.radiance'
|
|
3185
|
+
| 'image/webp'
|
|
3186
|
+
| 'image/x-exr'
|
|
3187
|
+
| 'model/glb'
|
|
3188
|
+
| 'model/gltf+json'
|
|
3189
|
+
| 'model/gltf-binary'
|
|
3190
|
+
| 'model/ksplat'
|
|
3191
|
+
| 'model/mtl'
|
|
3192
|
+
| 'model/obj'
|
|
3193
|
+
| 'model/ply'
|
|
3194
|
+
| 'model/sog'
|
|
3195
|
+
| 'model/splat'
|
|
3196
|
+
| 'model/spz'
|
|
3197
|
+
| 'model/stl'
|
|
3198
|
+
| 'model/vnd.collada+xml'
|
|
3199
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
3200
|
+
| 'model/x-3d-vox'
|
|
3201
|
+
| 'model/x-fbx'
|
|
3202
|
+
| 'model/x-maya-ascii'
|
|
3203
|
+
| 'model/x-maya-binary'
|
|
3204
|
+
| 'model/x3d+xml'
|
|
3205
|
+
| 'text/plain'
|
|
3206
|
+
| 'video/mp4'
|
|
3207
|
+
| 'video/quicktime'
|
|
3208
|
+
| 'video/webm';
|
|
3209
|
+
|
|
3036
3210
|
/**
|
|
3037
3211
|
* The output index of the asset within a job This index is an positive integer
|
|
3038
3212
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -3048,12 +3222,12 @@ export interface AssetListResponse {
|
|
|
3048
3222
|
preview?: AssetListResponse.Preview;
|
|
3049
3223
|
|
|
3050
3224
|
/**
|
|
3051
|
-
*
|
|
3225
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3052
3226
|
*
|
|
3053
3227
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3054
|
-
* asset is read with `
|
|
3228
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3055
3229
|
*/
|
|
3056
|
-
|
|
3230
|
+
qualityGate?: AssetListResponse.QualityGate;
|
|
3057
3231
|
|
|
3058
3232
|
/**
|
|
3059
3233
|
* The asset's thumbnail.
|
|
@@ -3917,12 +4091,12 @@ export namespace AssetListResponse {
|
|
|
3917
4091
|
/**
|
|
3918
4092
|
* Camera eye position in the splat's world frame.
|
|
3919
4093
|
*/
|
|
3920
|
-
position: Array<
|
|
4094
|
+
position: Array<number>;
|
|
3921
4095
|
|
|
3922
4096
|
/**
|
|
3923
4097
|
* Look-at point in the splat's world frame.
|
|
3924
4098
|
*/
|
|
3925
|
-
target: Array<
|
|
4099
|
+
target: Array<number>;
|
|
3926
4100
|
|
|
3927
4101
|
/**
|
|
3928
4102
|
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
@@ -3972,12 +4146,12 @@ export namespace AssetListResponse {
|
|
|
3972
4146
|
}
|
|
3973
4147
|
|
|
3974
4148
|
/**
|
|
3975
|
-
*
|
|
4149
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3976
4150
|
*
|
|
3977
4151
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3978
|
-
* asset is read with `
|
|
4152
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3979
4153
|
*/
|
|
3980
|
-
export interface
|
|
4154
|
+
export interface QualityGate {
|
|
3981
4155
|
/**
|
|
3982
4156
|
* ISO-8601 timestamp of when scoring ran
|
|
3983
4157
|
*/
|
|
@@ -4011,13 +4185,13 @@ export namespace AssetListResponse {
|
|
|
4011
4185
|
/**
|
|
4012
4186
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
4013
4187
|
*
|
|
4014
|
-
* Returned only when the asset is read with `
|
|
4188
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
4015
4189
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
4016
4190
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
4017
4191
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
4018
4192
|
* version, or an unreadable archive).
|
|
4019
4193
|
*/
|
|
4020
|
-
details?:
|
|
4194
|
+
details?: QualityGate.Details;
|
|
4021
4195
|
|
|
4022
4196
|
/**
|
|
4023
4197
|
* Error message when status is 'error' (truncated)
|
|
@@ -4040,11 +4214,11 @@ export namespace AssetListResponse {
|
|
|
4040
4214
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
4041
4215
|
}
|
|
4042
4216
|
|
|
4043
|
-
export namespace
|
|
4217
|
+
export namespace QualityGate {
|
|
4044
4218
|
/**
|
|
4045
4219
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
4046
4220
|
*
|
|
4047
|
-
* Returned only when the asset is read with `
|
|
4221
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
4048
4222
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
4049
4223
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
4050
4224
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -4353,6 +4527,64 @@ export namespace AssetDuplicateResponse {
|
|
|
4353
4527
|
*/
|
|
4354
4528
|
originalFileUrl?: string;
|
|
4355
4529
|
|
|
4530
|
+
/**
|
|
4531
|
+
* The mime type of the original file url.
|
|
4532
|
+
*
|
|
4533
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
4534
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
4535
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
4536
|
+
* Omitted when the stored format could not be determined.
|
|
4537
|
+
*/
|
|
4538
|
+
originalMimeType?:
|
|
4539
|
+
| 'application/gzip'
|
|
4540
|
+
| 'application/json'
|
|
4541
|
+
| 'application/octet-stream'
|
|
4542
|
+
| 'application/pdf'
|
|
4543
|
+
| 'application/safetensors'
|
|
4544
|
+
| 'application/vnd.autodesk.fbx'
|
|
4545
|
+
| 'application/x-authorware-bin'
|
|
4546
|
+
| 'application/x-zip-compressed'
|
|
4547
|
+
| 'application/x.autodesk.fbx'
|
|
4548
|
+
| 'application/zip'
|
|
4549
|
+
| 'audio/m4a'
|
|
4550
|
+
| 'audio/mpeg'
|
|
4551
|
+
| 'audio/ogg'
|
|
4552
|
+
| 'audio/wav'
|
|
4553
|
+
| 'image/aces'
|
|
4554
|
+
| 'image/avif'
|
|
4555
|
+
| 'image/bmp'
|
|
4556
|
+
| 'image/gif'
|
|
4557
|
+
| 'image/heic'
|
|
4558
|
+
| 'image/jpeg'
|
|
4559
|
+
| 'image/png'
|
|
4560
|
+
| 'image/svg+xml'
|
|
4561
|
+
| 'image/tiff'
|
|
4562
|
+
| 'image/vnd.radiance'
|
|
4563
|
+
| 'image/webp'
|
|
4564
|
+
| 'image/x-exr'
|
|
4565
|
+
| 'model/glb'
|
|
4566
|
+
| 'model/gltf+json'
|
|
4567
|
+
| 'model/gltf-binary'
|
|
4568
|
+
| 'model/ksplat'
|
|
4569
|
+
| 'model/mtl'
|
|
4570
|
+
| 'model/obj'
|
|
4571
|
+
| 'model/ply'
|
|
4572
|
+
| 'model/sog'
|
|
4573
|
+
| 'model/splat'
|
|
4574
|
+
| 'model/spz'
|
|
4575
|
+
| 'model/stl'
|
|
4576
|
+
| 'model/vnd.collada+xml'
|
|
4577
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
4578
|
+
| 'model/x-3d-vox'
|
|
4579
|
+
| 'model/x-fbx'
|
|
4580
|
+
| 'model/x-maya-ascii'
|
|
4581
|
+
| 'model/x-maya-binary'
|
|
4582
|
+
| 'model/x3d+xml'
|
|
4583
|
+
| 'text/plain'
|
|
4584
|
+
| 'video/mp4'
|
|
4585
|
+
| 'video/quicktime'
|
|
4586
|
+
| 'video/webm';
|
|
4587
|
+
|
|
4356
4588
|
/**
|
|
4357
4589
|
* The output index of the asset within a job This index is an positive integer
|
|
4358
4590
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -4368,12 +4600,12 @@ export namespace AssetDuplicateResponse {
|
|
|
4368
4600
|
preview?: Asset.Preview;
|
|
4369
4601
|
|
|
4370
4602
|
/**
|
|
4371
|
-
*
|
|
4603
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
4372
4604
|
*
|
|
4373
4605
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
4374
|
-
* asset is read with `
|
|
4606
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
4375
4607
|
*/
|
|
4376
|
-
|
|
4608
|
+
qualityGate?: Asset.QualityGate;
|
|
4377
4609
|
|
|
4378
4610
|
/**
|
|
4379
4611
|
* The asset's thumbnail.
|
|
@@ -5237,12 +5469,12 @@ export namespace AssetDuplicateResponse {
|
|
|
5237
5469
|
/**
|
|
5238
5470
|
* Camera eye position in the splat's world frame.
|
|
5239
5471
|
*/
|
|
5240
|
-
position: Array<
|
|
5472
|
+
position: Array<number>;
|
|
5241
5473
|
|
|
5242
5474
|
/**
|
|
5243
5475
|
* Look-at point in the splat's world frame.
|
|
5244
5476
|
*/
|
|
5245
|
-
target: Array<
|
|
5477
|
+
target: Array<number>;
|
|
5246
5478
|
|
|
5247
5479
|
/**
|
|
5248
5480
|
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
@@ -5292,12 +5524,12 @@ export namespace AssetDuplicateResponse {
|
|
|
5292
5524
|
}
|
|
5293
5525
|
|
|
5294
5526
|
/**
|
|
5295
|
-
*
|
|
5527
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
5296
5528
|
*
|
|
5297
5529
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
5298
|
-
* asset is read with `
|
|
5530
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
5299
5531
|
*/
|
|
5300
|
-
export interface
|
|
5532
|
+
export interface QualityGate {
|
|
5301
5533
|
/**
|
|
5302
5534
|
* ISO-8601 timestamp of when scoring ran
|
|
5303
5535
|
*/
|
|
@@ -5331,13 +5563,13 @@ export namespace AssetDuplicateResponse {
|
|
|
5331
5563
|
/**
|
|
5332
5564
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
5333
5565
|
*
|
|
5334
|
-
* Returned only when the asset is read with `
|
|
5566
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
5335
5567
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
5336
5568
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
5337
5569
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
5338
5570
|
* version, or an unreadable archive).
|
|
5339
5571
|
*/
|
|
5340
|
-
details?:
|
|
5572
|
+
details?: QualityGate.Details;
|
|
5341
5573
|
|
|
5342
5574
|
/**
|
|
5343
5575
|
* Error message when status is 'error' (truncated)
|
|
@@ -5360,11 +5592,11 @@ export namespace AssetDuplicateResponse {
|
|
|
5360
5592
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
5361
5593
|
}
|
|
5362
5594
|
|
|
5363
|
-
export namespace
|
|
5595
|
+
export namespace QualityGate {
|
|
5364
5596
|
/**
|
|
5365
5597
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
5366
5598
|
*
|
|
5367
|
-
* Returned only when the asset is read with `
|
|
5599
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
5368
5600
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
5369
5601
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
5370
5602
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -5672,6 +5904,64 @@ export namespace AssetGetBulkResponse {
|
|
|
5672
5904
|
*/
|
|
5673
5905
|
originalFileUrl?: string;
|
|
5674
5906
|
|
|
5907
|
+
/**
|
|
5908
|
+
* The mime type of the original file url.
|
|
5909
|
+
*
|
|
5910
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
5911
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
5912
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
5913
|
+
* Omitted when the stored format could not be determined.
|
|
5914
|
+
*/
|
|
5915
|
+
originalMimeType?:
|
|
5916
|
+
| 'application/gzip'
|
|
5917
|
+
| 'application/json'
|
|
5918
|
+
| 'application/octet-stream'
|
|
5919
|
+
| 'application/pdf'
|
|
5920
|
+
| 'application/safetensors'
|
|
5921
|
+
| 'application/vnd.autodesk.fbx'
|
|
5922
|
+
| 'application/x-authorware-bin'
|
|
5923
|
+
| 'application/x-zip-compressed'
|
|
5924
|
+
| 'application/x.autodesk.fbx'
|
|
5925
|
+
| 'application/zip'
|
|
5926
|
+
| 'audio/m4a'
|
|
5927
|
+
| 'audio/mpeg'
|
|
5928
|
+
| 'audio/ogg'
|
|
5929
|
+
| 'audio/wav'
|
|
5930
|
+
| 'image/aces'
|
|
5931
|
+
| 'image/avif'
|
|
5932
|
+
| 'image/bmp'
|
|
5933
|
+
| 'image/gif'
|
|
5934
|
+
| 'image/heic'
|
|
5935
|
+
| 'image/jpeg'
|
|
5936
|
+
| 'image/png'
|
|
5937
|
+
| 'image/svg+xml'
|
|
5938
|
+
| 'image/tiff'
|
|
5939
|
+
| 'image/vnd.radiance'
|
|
5940
|
+
| 'image/webp'
|
|
5941
|
+
| 'image/x-exr'
|
|
5942
|
+
| 'model/glb'
|
|
5943
|
+
| 'model/gltf+json'
|
|
5944
|
+
| 'model/gltf-binary'
|
|
5945
|
+
| 'model/ksplat'
|
|
5946
|
+
| 'model/mtl'
|
|
5947
|
+
| 'model/obj'
|
|
5948
|
+
| 'model/ply'
|
|
5949
|
+
| 'model/sog'
|
|
5950
|
+
| 'model/splat'
|
|
5951
|
+
| 'model/spz'
|
|
5952
|
+
| 'model/stl'
|
|
5953
|
+
| 'model/vnd.collada+xml'
|
|
5954
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
5955
|
+
| 'model/x-3d-vox'
|
|
5956
|
+
| 'model/x-fbx'
|
|
5957
|
+
| 'model/x-maya-ascii'
|
|
5958
|
+
| 'model/x-maya-binary'
|
|
5959
|
+
| 'model/x3d+xml'
|
|
5960
|
+
| 'text/plain'
|
|
5961
|
+
| 'video/mp4'
|
|
5962
|
+
| 'video/quicktime'
|
|
5963
|
+
| 'video/webm';
|
|
5964
|
+
|
|
5675
5965
|
/**
|
|
5676
5966
|
* The output index of the asset within a job This index is an positive integer
|
|
5677
5967
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -5687,12 +5977,12 @@ export namespace AssetGetBulkResponse {
|
|
|
5687
5977
|
preview?: Asset.Preview;
|
|
5688
5978
|
|
|
5689
5979
|
/**
|
|
5690
|
-
*
|
|
5980
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
5691
5981
|
*
|
|
5692
5982
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
5693
|
-
* asset is read with `
|
|
5983
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
5694
5984
|
*/
|
|
5695
|
-
|
|
5985
|
+
qualityGate?: Asset.QualityGate;
|
|
5696
5986
|
|
|
5697
5987
|
/**
|
|
5698
5988
|
* The asset's thumbnail.
|
|
@@ -6556,12 +6846,12 @@ export namespace AssetGetBulkResponse {
|
|
|
6556
6846
|
/**
|
|
6557
6847
|
* Camera eye position in the splat's world frame.
|
|
6558
6848
|
*/
|
|
6559
|
-
position: Array<
|
|
6849
|
+
position: Array<number>;
|
|
6560
6850
|
|
|
6561
6851
|
/**
|
|
6562
6852
|
* Look-at point in the splat's world frame.
|
|
6563
6853
|
*/
|
|
6564
|
-
target: Array<
|
|
6854
|
+
target: Array<number>;
|
|
6565
6855
|
|
|
6566
6856
|
/**
|
|
6567
6857
|
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
@@ -6611,12 +6901,12 @@ export namespace AssetGetBulkResponse {
|
|
|
6611
6901
|
}
|
|
6612
6902
|
|
|
6613
6903
|
/**
|
|
6614
|
-
*
|
|
6904
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
6615
6905
|
*
|
|
6616
6906
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
6617
|
-
* asset is read with `
|
|
6907
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
6618
6908
|
*/
|
|
6619
|
-
export interface
|
|
6909
|
+
export interface QualityGate {
|
|
6620
6910
|
/**
|
|
6621
6911
|
* ISO-8601 timestamp of when scoring ran
|
|
6622
6912
|
*/
|
|
@@ -6650,13 +6940,13 @@ export namespace AssetGetBulkResponse {
|
|
|
6650
6940
|
/**
|
|
6651
6941
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
6652
6942
|
*
|
|
6653
|
-
* Returned only when the asset is read with `
|
|
6943
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
6654
6944
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
6655
6945
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
6656
6946
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
6657
6947
|
* version, or an unreadable archive).
|
|
6658
6948
|
*/
|
|
6659
|
-
details?:
|
|
6949
|
+
details?: QualityGate.Details;
|
|
6660
6950
|
|
|
6661
6951
|
/**
|
|
6662
6952
|
* Error message when status is 'error' (truncated)
|
|
@@ -6679,11 +6969,11 @@ export namespace AssetGetBulkResponse {
|
|
|
6679
6969
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
6680
6970
|
}
|
|
6681
6971
|
|
|
6682
|
-
export namespace
|
|
6972
|
+
export namespace QualityGate {
|
|
6683
6973
|
/**
|
|
6684
6974
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
6685
6975
|
*
|
|
6686
|
-
* Returned only when the asset is read with `
|
|
6976
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
6687
6977
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
6688
6978
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
6689
6979
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -7006,6 +7296,64 @@ export namespace AssetLockResponse {
|
|
|
7006
7296
|
*/
|
|
7007
7297
|
originalFileUrl?: string;
|
|
7008
7298
|
|
|
7299
|
+
/**
|
|
7300
|
+
* The mime type of the original file url.
|
|
7301
|
+
*
|
|
7302
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
7303
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
7304
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
7305
|
+
* Omitted when the stored format could not be determined.
|
|
7306
|
+
*/
|
|
7307
|
+
originalMimeType?:
|
|
7308
|
+
| 'application/gzip'
|
|
7309
|
+
| 'application/json'
|
|
7310
|
+
| 'application/octet-stream'
|
|
7311
|
+
| 'application/pdf'
|
|
7312
|
+
| 'application/safetensors'
|
|
7313
|
+
| 'application/vnd.autodesk.fbx'
|
|
7314
|
+
| 'application/x-authorware-bin'
|
|
7315
|
+
| 'application/x-zip-compressed'
|
|
7316
|
+
| 'application/x.autodesk.fbx'
|
|
7317
|
+
| 'application/zip'
|
|
7318
|
+
| 'audio/m4a'
|
|
7319
|
+
| 'audio/mpeg'
|
|
7320
|
+
| 'audio/ogg'
|
|
7321
|
+
| 'audio/wav'
|
|
7322
|
+
| 'image/aces'
|
|
7323
|
+
| 'image/avif'
|
|
7324
|
+
| 'image/bmp'
|
|
7325
|
+
| 'image/gif'
|
|
7326
|
+
| 'image/heic'
|
|
7327
|
+
| 'image/jpeg'
|
|
7328
|
+
| 'image/png'
|
|
7329
|
+
| 'image/svg+xml'
|
|
7330
|
+
| 'image/tiff'
|
|
7331
|
+
| 'image/vnd.radiance'
|
|
7332
|
+
| 'image/webp'
|
|
7333
|
+
| 'image/x-exr'
|
|
7334
|
+
| 'model/glb'
|
|
7335
|
+
| 'model/gltf+json'
|
|
7336
|
+
| 'model/gltf-binary'
|
|
7337
|
+
| 'model/ksplat'
|
|
7338
|
+
| 'model/mtl'
|
|
7339
|
+
| 'model/obj'
|
|
7340
|
+
| 'model/ply'
|
|
7341
|
+
| 'model/sog'
|
|
7342
|
+
| 'model/splat'
|
|
7343
|
+
| 'model/spz'
|
|
7344
|
+
| 'model/stl'
|
|
7345
|
+
| 'model/vnd.collada+xml'
|
|
7346
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
7347
|
+
| 'model/x-3d-vox'
|
|
7348
|
+
| 'model/x-fbx'
|
|
7349
|
+
| 'model/x-maya-ascii'
|
|
7350
|
+
| 'model/x-maya-binary'
|
|
7351
|
+
| 'model/x3d+xml'
|
|
7352
|
+
| 'text/plain'
|
|
7353
|
+
| 'video/mp4'
|
|
7354
|
+
| 'video/quicktime'
|
|
7355
|
+
| 'video/webm';
|
|
7356
|
+
|
|
7009
7357
|
/**
|
|
7010
7358
|
* The output index of the asset within a job This index is an positive integer
|
|
7011
7359
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -7021,12 +7369,12 @@ export namespace AssetLockResponse {
|
|
|
7021
7369
|
preview?: Asset.Preview;
|
|
7022
7370
|
|
|
7023
7371
|
/**
|
|
7024
|
-
*
|
|
7372
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
7025
7373
|
*
|
|
7026
7374
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
7027
|
-
* asset is read with `
|
|
7375
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
7028
7376
|
*/
|
|
7029
|
-
|
|
7377
|
+
qualityGate?: Asset.QualityGate;
|
|
7030
7378
|
|
|
7031
7379
|
/**
|
|
7032
7380
|
* The asset's thumbnail.
|
|
@@ -7890,12 +8238,12 @@ export namespace AssetLockResponse {
|
|
|
7890
8238
|
/**
|
|
7891
8239
|
* Camera eye position in the splat's world frame.
|
|
7892
8240
|
*/
|
|
7893
|
-
position: Array<
|
|
8241
|
+
position: Array<number>;
|
|
7894
8242
|
|
|
7895
8243
|
/**
|
|
7896
8244
|
* Look-at point in the splat's world frame.
|
|
7897
8245
|
*/
|
|
7898
|
-
target: Array<
|
|
8246
|
+
target: Array<number>;
|
|
7899
8247
|
|
|
7900
8248
|
/**
|
|
7901
8249
|
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
@@ -7945,12 +8293,12 @@ export namespace AssetLockResponse {
|
|
|
7945
8293
|
}
|
|
7946
8294
|
|
|
7947
8295
|
/**
|
|
7948
|
-
*
|
|
8296
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
7949
8297
|
*
|
|
7950
8298
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
7951
|
-
* asset is read with `
|
|
8299
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
7952
8300
|
*/
|
|
7953
|
-
export interface
|
|
8301
|
+
export interface QualityGate {
|
|
7954
8302
|
/**
|
|
7955
8303
|
* ISO-8601 timestamp of when scoring ran
|
|
7956
8304
|
*/
|
|
@@ -7984,13 +8332,13 @@ export namespace AssetLockResponse {
|
|
|
7984
8332
|
/**
|
|
7985
8333
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
7986
8334
|
*
|
|
7987
|
-
* Returned only when the asset is read with `
|
|
8335
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
7988
8336
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
7989
8337
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
7990
8338
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
7991
8339
|
* version, or an unreadable archive).
|
|
7992
8340
|
*/
|
|
7993
|
-
details?:
|
|
8341
|
+
details?: QualityGate.Details;
|
|
7994
8342
|
|
|
7995
8343
|
/**
|
|
7996
8344
|
* Error message when status is 'error' (truncated)
|
|
@@ -8013,11 +8361,11 @@ export namespace AssetLockResponse {
|
|
|
8013
8361
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
8014
8362
|
}
|
|
8015
8363
|
|
|
8016
|
-
export namespace
|
|
8364
|
+
export namespace QualityGate {
|
|
8017
8365
|
/**
|
|
8018
8366
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
8019
8367
|
*
|
|
8020
|
-
* Returned only when the asset is read with `
|
|
8368
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
8021
8369
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
8022
8370
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
8023
8371
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -8325,6 +8673,64 @@ export namespace AssetUnlockResponse {
|
|
|
8325
8673
|
*/
|
|
8326
8674
|
originalFileUrl?: string;
|
|
8327
8675
|
|
|
8676
|
+
/**
|
|
8677
|
+
* The mime type of the original file url.
|
|
8678
|
+
*
|
|
8679
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
8680
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
8681
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
8682
|
+
* Omitted when the stored format could not be determined.
|
|
8683
|
+
*/
|
|
8684
|
+
originalMimeType?:
|
|
8685
|
+
| 'application/gzip'
|
|
8686
|
+
| 'application/json'
|
|
8687
|
+
| 'application/octet-stream'
|
|
8688
|
+
| 'application/pdf'
|
|
8689
|
+
| 'application/safetensors'
|
|
8690
|
+
| 'application/vnd.autodesk.fbx'
|
|
8691
|
+
| 'application/x-authorware-bin'
|
|
8692
|
+
| 'application/x-zip-compressed'
|
|
8693
|
+
| 'application/x.autodesk.fbx'
|
|
8694
|
+
| 'application/zip'
|
|
8695
|
+
| 'audio/m4a'
|
|
8696
|
+
| 'audio/mpeg'
|
|
8697
|
+
| 'audio/ogg'
|
|
8698
|
+
| 'audio/wav'
|
|
8699
|
+
| 'image/aces'
|
|
8700
|
+
| 'image/avif'
|
|
8701
|
+
| 'image/bmp'
|
|
8702
|
+
| 'image/gif'
|
|
8703
|
+
| 'image/heic'
|
|
8704
|
+
| 'image/jpeg'
|
|
8705
|
+
| 'image/png'
|
|
8706
|
+
| 'image/svg+xml'
|
|
8707
|
+
| 'image/tiff'
|
|
8708
|
+
| 'image/vnd.radiance'
|
|
8709
|
+
| 'image/webp'
|
|
8710
|
+
| 'image/x-exr'
|
|
8711
|
+
| 'model/glb'
|
|
8712
|
+
| 'model/gltf+json'
|
|
8713
|
+
| 'model/gltf-binary'
|
|
8714
|
+
| 'model/ksplat'
|
|
8715
|
+
| 'model/mtl'
|
|
8716
|
+
| 'model/obj'
|
|
8717
|
+
| 'model/ply'
|
|
8718
|
+
| 'model/sog'
|
|
8719
|
+
| 'model/splat'
|
|
8720
|
+
| 'model/spz'
|
|
8721
|
+
| 'model/stl'
|
|
8722
|
+
| 'model/vnd.collada+xml'
|
|
8723
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
8724
|
+
| 'model/x-3d-vox'
|
|
8725
|
+
| 'model/x-fbx'
|
|
8726
|
+
| 'model/x-maya-ascii'
|
|
8727
|
+
| 'model/x-maya-binary'
|
|
8728
|
+
| 'model/x3d+xml'
|
|
8729
|
+
| 'text/plain'
|
|
8730
|
+
| 'video/mp4'
|
|
8731
|
+
| 'video/quicktime'
|
|
8732
|
+
| 'video/webm';
|
|
8733
|
+
|
|
8328
8734
|
/**
|
|
8329
8735
|
* The output index of the asset within a job This index is an positive integer
|
|
8330
8736
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -8340,12 +8746,12 @@ export namespace AssetUnlockResponse {
|
|
|
8340
8746
|
preview?: Asset.Preview;
|
|
8341
8747
|
|
|
8342
8748
|
/**
|
|
8343
|
-
*
|
|
8749
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
8344
8750
|
*
|
|
8345
8751
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
8346
|
-
* asset is read with `
|
|
8752
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
8347
8753
|
*/
|
|
8348
|
-
|
|
8754
|
+
qualityGate?: Asset.QualityGate;
|
|
8349
8755
|
|
|
8350
8756
|
/**
|
|
8351
8757
|
* The asset's thumbnail.
|
|
@@ -9209,12 +9615,12 @@ export namespace AssetUnlockResponse {
|
|
|
9209
9615
|
/**
|
|
9210
9616
|
* Camera eye position in the splat's world frame.
|
|
9211
9617
|
*/
|
|
9212
|
-
position: Array<
|
|
9618
|
+
position: Array<number>;
|
|
9213
9619
|
|
|
9214
9620
|
/**
|
|
9215
9621
|
* Look-at point in the splat's world frame.
|
|
9216
9622
|
*/
|
|
9217
|
-
target: Array<
|
|
9623
|
+
target: Array<number>;
|
|
9218
9624
|
|
|
9219
9625
|
/**
|
|
9220
9626
|
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
@@ -9264,12 +9670,12 @@ export namespace AssetUnlockResponse {
|
|
|
9264
9670
|
}
|
|
9265
9671
|
|
|
9266
9672
|
/**
|
|
9267
|
-
*
|
|
9673
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
9268
9674
|
*
|
|
9269
9675
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
9270
|
-
* asset is read with `
|
|
9676
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
9271
9677
|
*/
|
|
9272
|
-
export interface
|
|
9678
|
+
export interface QualityGate {
|
|
9273
9679
|
/**
|
|
9274
9680
|
* ISO-8601 timestamp of when scoring ran
|
|
9275
9681
|
*/
|
|
@@ -9303,13 +9709,13 @@ export namespace AssetUnlockResponse {
|
|
|
9303
9709
|
/**
|
|
9304
9710
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
9305
9711
|
*
|
|
9306
|
-
* Returned only when the asset is read with `
|
|
9712
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
9307
9713
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
9308
9714
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
9309
9715
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
9310
9716
|
* version, or an unreadable archive).
|
|
9311
9717
|
*/
|
|
9312
|
-
details?:
|
|
9718
|
+
details?: QualityGate.Details;
|
|
9313
9719
|
|
|
9314
9720
|
/**
|
|
9315
9721
|
* Error message when status is 'error' (truncated)
|
|
@@ -9332,11 +9738,11 @@ export namespace AssetUnlockResponse {
|
|
|
9332
9738
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
9333
9739
|
}
|
|
9334
9740
|
|
|
9335
|
-
export namespace
|
|
9741
|
+
export namespace QualityGate {
|
|
9336
9742
|
/**
|
|
9337
9743
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
9338
9744
|
*
|
|
9339
|
-
* Returned only when the asset is read with `
|
|
9745
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
9340
9746
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
9341
9747
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
9342
9748
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -9658,6 +10064,64 @@ export namespace AssetUploadResponse {
|
|
|
9658
10064
|
*/
|
|
9659
10065
|
originalFileUrl?: string;
|
|
9660
10066
|
|
|
10067
|
+
/**
|
|
10068
|
+
* The mime type of the original file url.
|
|
10069
|
+
*
|
|
10070
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
10071
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
10072
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
10073
|
+
* Omitted when the stored format could not be determined.
|
|
10074
|
+
*/
|
|
10075
|
+
originalMimeType?:
|
|
10076
|
+
| 'application/gzip'
|
|
10077
|
+
| 'application/json'
|
|
10078
|
+
| 'application/octet-stream'
|
|
10079
|
+
| 'application/pdf'
|
|
10080
|
+
| 'application/safetensors'
|
|
10081
|
+
| 'application/vnd.autodesk.fbx'
|
|
10082
|
+
| 'application/x-authorware-bin'
|
|
10083
|
+
| 'application/x-zip-compressed'
|
|
10084
|
+
| 'application/x.autodesk.fbx'
|
|
10085
|
+
| 'application/zip'
|
|
10086
|
+
| 'audio/m4a'
|
|
10087
|
+
| 'audio/mpeg'
|
|
10088
|
+
| 'audio/ogg'
|
|
10089
|
+
| 'audio/wav'
|
|
10090
|
+
| 'image/aces'
|
|
10091
|
+
| 'image/avif'
|
|
10092
|
+
| 'image/bmp'
|
|
10093
|
+
| 'image/gif'
|
|
10094
|
+
| 'image/heic'
|
|
10095
|
+
| 'image/jpeg'
|
|
10096
|
+
| 'image/png'
|
|
10097
|
+
| 'image/svg+xml'
|
|
10098
|
+
| 'image/tiff'
|
|
10099
|
+
| 'image/vnd.radiance'
|
|
10100
|
+
| 'image/webp'
|
|
10101
|
+
| 'image/x-exr'
|
|
10102
|
+
| 'model/glb'
|
|
10103
|
+
| 'model/gltf+json'
|
|
10104
|
+
| 'model/gltf-binary'
|
|
10105
|
+
| 'model/ksplat'
|
|
10106
|
+
| 'model/mtl'
|
|
10107
|
+
| 'model/obj'
|
|
10108
|
+
| 'model/ply'
|
|
10109
|
+
| 'model/sog'
|
|
10110
|
+
| 'model/splat'
|
|
10111
|
+
| 'model/spz'
|
|
10112
|
+
| 'model/stl'
|
|
10113
|
+
| 'model/vnd.collada+xml'
|
|
10114
|
+
| 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml'
|
|
10115
|
+
| 'model/x-3d-vox'
|
|
10116
|
+
| 'model/x-fbx'
|
|
10117
|
+
| 'model/x-maya-ascii'
|
|
10118
|
+
| 'model/x-maya-binary'
|
|
10119
|
+
| 'model/x3d+xml'
|
|
10120
|
+
| 'text/plain'
|
|
10121
|
+
| 'video/mp4'
|
|
10122
|
+
| 'video/quicktime'
|
|
10123
|
+
| 'video/webm';
|
|
10124
|
+
|
|
9661
10125
|
/**
|
|
9662
10126
|
* The output index of the asset within a job This index is an positive integer
|
|
9663
10127
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -9673,12 +10137,12 @@ export namespace AssetUploadResponse {
|
|
|
9673
10137
|
preview?: Asset.Preview;
|
|
9674
10138
|
|
|
9675
10139
|
/**
|
|
9676
|
-
*
|
|
10140
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
9677
10141
|
*
|
|
9678
10142
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
9679
|
-
* asset is read with `
|
|
10143
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
9680
10144
|
*/
|
|
9681
|
-
|
|
10145
|
+
qualityGate?: Asset.QualityGate;
|
|
9682
10146
|
|
|
9683
10147
|
/**
|
|
9684
10148
|
* The asset's thumbnail.
|
|
@@ -10542,12 +11006,12 @@ export namespace AssetUploadResponse {
|
|
|
10542
11006
|
/**
|
|
10543
11007
|
* Camera eye position in the splat's world frame.
|
|
10544
11008
|
*/
|
|
10545
|
-
position: Array<
|
|
11009
|
+
position: Array<number>;
|
|
10546
11010
|
|
|
10547
11011
|
/**
|
|
10548
11012
|
* Look-at point in the splat's world frame.
|
|
10549
11013
|
*/
|
|
10550
|
-
target: Array<
|
|
11014
|
+
target: Array<number>;
|
|
10551
11015
|
|
|
10552
11016
|
/**
|
|
10553
11017
|
* Vertical field of view in degrees (defaults to 50 in the renderer).
|
|
@@ -10597,12 +11061,12 @@ export namespace AssetUploadResponse {
|
|
|
10597
11061
|
}
|
|
10598
11062
|
|
|
10599
11063
|
/**
|
|
10600
|
-
*
|
|
11064
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
10601
11065
|
*
|
|
10602
11066
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
10603
|
-
* asset is read with `
|
|
11067
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
10604
11068
|
*/
|
|
10605
|
-
export interface
|
|
11069
|
+
export interface QualityGate {
|
|
10606
11070
|
/**
|
|
10607
11071
|
* ISO-8601 timestamp of when scoring ran
|
|
10608
11072
|
*/
|
|
@@ -10636,13 +11100,13 @@ export namespace AssetUploadResponse {
|
|
|
10636
11100
|
/**
|
|
10637
11101
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
10638
11102
|
*
|
|
10639
|
-
* Returned only when the asset is read with `
|
|
11103
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
10640
11104
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
10641
11105
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
10642
11106
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
10643
11107
|
* version, or an unreadable archive).
|
|
10644
11108
|
*/
|
|
10645
|
-
details?:
|
|
11109
|
+
details?: QualityGate.Details;
|
|
10646
11110
|
|
|
10647
11111
|
/**
|
|
10648
11112
|
* Error message when status is 'error' (truncated)
|
|
@@ -10665,11 +11129,11 @@ export namespace AssetUploadResponse {
|
|
|
10665
11129
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
10666
11130
|
}
|
|
10667
11131
|
|
|
10668
|
-
export namespace
|
|
11132
|
+
export namespace QualityGate {
|
|
10669
11133
|
/**
|
|
10670
11134
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
10671
11135
|
*
|
|
10672
|
-
* Returned only when the asset is read with `
|
|
11136
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
10673
11137
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
10674
11138
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
10675
11139
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -11112,7 +11576,9 @@ export namespace AssetUploadResponse {
|
|
|
11112
11576
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
11113
11577
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
11114
11578
|
* not able to create the asset on the flight on API side with dataurl without
|
|
11115
|
-
* data:kind, prefix
|
|
11579
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
11580
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
11581
|
+
* generation time.
|
|
11116
11582
|
*/
|
|
11117
11583
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
11118
11584
|
|
|
@@ -11140,8 +11606,9 @@ export namespace AssetUploadResponse {
|
|
|
11140
11606
|
maxDuration?: number;
|
|
11141
11607
|
|
|
11142
11608
|
/**
|
|
11143
|
-
* The maximum allowed length for \`string\`
|
|
11144
|
-
* \`string_array
|
|
11609
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
11610
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
11611
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
11145
11612
|
*/
|
|
11146
11613
|
maxLength?: number;
|
|
11147
11614
|
|
|
@@ -11158,8 +11625,9 @@ export namespace AssetUploadResponse {
|
|
|
11158
11625
|
min?: number;
|
|
11159
11626
|
|
|
11160
11627
|
/**
|
|
11161
|
-
* The minimum allowed length for string
|
|
11162
|
-
* \`string_array
|
|
11628
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
11629
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
11630
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
11163
11631
|
*/
|
|
11164
11632
|
minLength?: number;
|
|
11165
11633
|
|
|
@@ -11339,7 +11807,9 @@ export namespace AssetUploadResponse {
|
|
|
11339
11807
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
11340
11808
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
11341
11809
|
* not able to create the asset on the flight on API side with dataurl without
|
|
11342
|
-
* data:kind, prefix
|
|
11810
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
11811
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
11812
|
+
* generation time.
|
|
11343
11813
|
*/
|
|
11344
11814
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
11345
11815
|
|
|
@@ -11367,8 +11837,9 @@ export namespace AssetUploadResponse {
|
|
|
11367
11837
|
maxDuration?: number;
|
|
11368
11838
|
|
|
11369
11839
|
/**
|
|
11370
|
-
* The maximum allowed length for \`string\`
|
|
11371
|
-
* \`string_array
|
|
11840
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
11841
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
11842
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
11372
11843
|
*/
|
|
11373
11844
|
maxLength?: number;
|
|
11374
11845
|
|
|
@@ -11385,8 +11856,9 @@ export namespace AssetUploadResponse {
|
|
|
11385
11856
|
min?: number;
|
|
11386
11857
|
|
|
11387
11858
|
/**
|
|
11388
|
-
* The minimum allowed length for string
|
|
11389
|
-
* \`string_array
|
|
11859
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
11860
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
11861
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
11390
11862
|
*/
|
|
11391
11863
|
minLength?: number;
|
|
11392
11864
|
|
|
@@ -11691,7 +12163,7 @@ export namespace AssetUploadResponse {
|
|
|
11691
12163
|
|
|
11692
12164
|
/**
|
|
11693
12165
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
11694
|
-
* top of the generation itself, such as `
|
|
12166
|
+
* top of the generation itself, such as `quality-gate`.
|
|
11695
12167
|
*
|
|
11696
12168
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
11697
12169
|
* values here.
|
|
@@ -11721,7 +12193,7 @@ export namespace AssetUploadResponse {
|
|
|
11721
12193
|
export namespace Billing {
|
|
11722
12194
|
/**
|
|
11723
12195
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
11724
|
-
* top of the generation itself, such as `
|
|
12196
|
+
* top of the generation itself, such as `quality-gate`.
|
|
11725
12197
|
*
|
|
11726
12198
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
11727
12199
|
* values here.
|
|
@@ -11741,7 +12213,7 @@ export namespace AssetUploadResponse {
|
|
|
11741
12213
|
export interface CuCostDetails {
|
|
11742
12214
|
'ip-detection'?: number;
|
|
11743
12215
|
|
|
11744
|
-
'
|
|
12216
|
+
'quality-gate'?: number;
|
|
11745
12217
|
}
|
|
11746
12218
|
}
|
|
11747
12219
|
}
|
|
@@ -11765,12 +12237,12 @@ export interface AssetRetrieveParams {
|
|
|
11765
12237
|
withEmbedding?: boolean;
|
|
11766
12238
|
|
|
11767
12239
|
/**
|
|
11768
|
-
* Include the per-dimension
|
|
11769
|
-
* suggestions for each scored dimension). Honoured only when the asset belongs
|
|
11770
|
-
* the calling project, since the brief-compliance text paraphrases that
|
|
11771
|
-
* brief; ignored otherwise, including on public unauthenticated access.
|
|
12240
|
+
* Include the per-dimension Quality Gate verdict (`qualityGate.details`: reasons
|
|
12241
|
+
* and suggestions for each scored dimension). Honoured only when the asset belongs
|
|
12242
|
+
* to the calling project, since the brief-compliance text paraphrases that
|
|
12243
|
+
* project’s brief; ignored otherwise, including on public unauthenticated access.
|
|
11772
12244
|
*/
|
|
11773
|
-
|
|
12245
|
+
withQualityGateDetails?: boolean;
|
|
11774
12246
|
}
|
|
11775
12247
|
|
|
11776
12248
|
export interface AssetUpdateParams {
|
|
@@ -11827,7 +12299,10 @@ export interface AssetListParams extends AssetsCursorParams {
|
|
|
11827
12299
|
*/
|
|
11828
12300
|
authorId?: string;
|
|
11829
12301
|
|
|
11830
|
-
|
|
12302
|
+
/**
|
|
12303
|
+
* When provided, only the assets in the Collection will be returned
|
|
12304
|
+
*/
|
|
12305
|
+
collectionId?: string;
|
|
11831
12306
|
|
|
11832
12307
|
/**
|
|
11833
12308
|
* Filter results to only return assets created after the specified ISO string date
|