@scenario-labs/sdk 3.1.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 +92 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.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 +182 -99
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +182 -99
- 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 +379 -221
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +379 -221
- 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 +18 -0
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +18 -0
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/examples.d.mts +80 -46
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +80 -46
- 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 +34 -27
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +34 -27
- 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 +6 -0
- package/src/lib/workflow_converter.ts +126 -12
- package/src/lib/workflow_validator.ts +68 -1
- package/src/resources/assets/assets.ts +574 -99
- package/src/resources/assets/download.ts +19 -2
- package/src/resources/generate.ts +495 -236
- package/src/resources/index.ts +3 -0
- package/src/resources/jobs.ts +79 -53
- package/src/resources/models/description.ts +116 -0
- package/src/resources/models/examples.ts +178 -46
- 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 +40 -27
- 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
|
@@ -174,6 +174,15 @@ export declare namespace AssetRetrieveResponse {
|
|
|
174
174
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
175
175
|
*/
|
|
176
176
|
originalFileUrl?: string;
|
|
177
|
+
/**
|
|
178
|
+
* The mime type of the original file url.
|
|
179
|
+
*
|
|
180
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
181
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
182
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
183
|
+
* Omitted when the stored format could not be determined.
|
|
184
|
+
*/
|
|
185
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
177
186
|
/**
|
|
178
187
|
* The output index of the asset within a job This index is an positive integer
|
|
179
188
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -187,12 +196,12 @@ export declare namespace AssetRetrieveResponse {
|
|
|
187
196
|
*/
|
|
188
197
|
preview?: Asset.Preview;
|
|
189
198
|
/**
|
|
190
|
-
*
|
|
199
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
191
200
|
*
|
|
192
201
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
193
|
-
* asset is read with `
|
|
202
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
194
203
|
*/
|
|
195
|
-
|
|
204
|
+
qualityGate?: Asset.QualityGate;
|
|
196
205
|
/**
|
|
197
206
|
* The asset's thumbnail.
|
|
198
207
|
*
|
|
@@ -809,12 +818,12 @@ export declare namespace AssetRetrieveResponse {
|
|
|
809
818
|
url: string;
|
|
810
819
|
}
|
|
811
820
|
/**
|
|
812
|
-
*
|
|
821
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
813
822
|
*
|
|
814
823
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
815
|
-
* asset is read with `
|
|
824
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
816
825
|
*/
|
|
817
|
-
interface
|
|
826
|
+
interface QualityGate {
|
|
818
827
|
/**
|
|
819
828
|
* ISO-8601 timestamp of when scoring ran
|
|
820
829
|
*/
|
|
@@ -842,13 +851,13 @@ export declare namespace AssetRetrieveResponse {
|
|
|
842
851
|
/**
|
|
843
852
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
844
853
|
*
|
|
845
|
-
* Returned only when the asset is read with `
|
|
854
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
846
855
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
847
856
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
848
857
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
849
858
|
* version, or an unreadable archive).
|
|
850
859
|
*/
|
|
851
|
-
details?:
|
|
860
|
+
details?: QualityGate.Details;
|
|
852
861
|
/**
|
|
853
862
|
* Error message when status is 'error' (truncated)
|
|
854
863
|
*/
|
|
@@ -866,11 +875,11 @@ export declare namespace AssetRetrieveResponse {
|
|
|
866
875
|
*/
|
|
867
876
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
868
877
|
}
|
|
869
|
-
namespace
|
|
878
|
+
namespace QualityGate {
|
|
870
879
|
/**
|
|
871
880
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
872
881
|
*
|
|
873
|
-
* Returned only when the asset is read with `
|
|
882
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
874
883
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
875
884
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
876
885
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -1051,6 +1060,15 @@ export declare namespace AssetUpdateResponse {
|
|
|
1051
1060
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
1052
1061
|
*/
|
|
1053
1062
|
originalFileUrl?: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* The mime type of the original file url.
|
|
1065
|
+
*
|
|
1066
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
1067
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
1068
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
1069
|
+
* Omitted when the stored format could not be determined.
|
|
1070
|
+
*/
|
|
1071
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
1054
1072
|
/**
|
|
1055
1073
|
* The output index of the asset within a job This index is an positive integer
|
|
1056
1074
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -1064,12 +1082,12 @@ export declare namespace AssetUpdateResponse {
|
|
|
1064
1082
|
*/
|
|
1065
1083
|
preview?: Asset.Preview;
|
|
1066
1084
|
/**
|
|
1067
|
-
*
|
|
1085
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1068
1086
|
*
|
|
1069
1087
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1070
|
-
* asset is read with `
|
|
1088
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1071
1089
|
*/
|
|
1072
|
-
|
|
1090
|
+
qualityGate?: Asset.QualityGate;
|
|
1073
1091
|
/**
|
|
1074
1092
|
* The asset's thumbnail.
|
|
1075
1093
|
*
|
|
@@ -1686,12 +1704,12 @@ export declare namespace AssetUpdateResponse {
|
|
|
1686
1704
|
url: string;
|
|
1687
1705
|
}
|
|
1688
1706
|
/**
|
|
1689
|
-
*
|
|
1707
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1690
1708
|
*
|
|
1691
1709
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1692
|
-
* asset is read with `
|
|
1710
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1693
1711
|
*/
|
|
1694
|
-
interface
|
|
1712
|
+
interface QualityGate {
|
|
1695
1713
|
/**
|
|
1696
1714
|
* ISO-8601 timestamp of when scoring ran
|
|
1697
1715
|
*/
|
|
@@ -1719,13 +1737,13 @@ export declare namespace AssetUpdateResponse {
|
|
|
1719
1737
|
/**
|
|
1720
1738
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1721
1739
|
*
|
|
1722
|
-
* Returned only when the asset is read with `
|
|
1740
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1723
1741
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1724
1742
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1725
1743
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
1726
1744
|
* version, or an unreadable archive).
|
|
1727
1745
|
*/
|
|
1728
|
-
details?:
|
|
1746
|
+
details?: QualityGate.Details;
|
|
1729
1747
|
/**
|
|
1730
1748
|
* Error message when status is 'error' (truncated)
|
|
1731
1749
|
*/
|
|
@@ -1743,11 +1761,11 @@ export declare namespace AssetUpdateResponse {
|
|
|
1743
1761
|
*/
|
|
1744
1762
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
1745
1763
|
}
|
|
1746
|
-
namespace
|
|
1764
|
+
namespace QualityGate {
|
|
1747
1765
|
/**
|
|
1748
1766
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
1749
1767
|
*
|
|
1750
|
-
* Returned only when the asset is read with `
|
|
1768
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
1751
1769
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
1752
1770
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
1753
1771
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -1924,6 +1942,15 @@ export interface AssetListResponse {
|
|
|
1924
1942
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
1925
1943
|
*/
|
|
1926
1944
|
originalFileUrl?: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* The mime type of the original file url.
|
|
1947
|
+
*
|
|
1948
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
1949
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
1950
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
1951
|
+
* Omitted when the stored format could not be determined.
|
|
1952
|
+
*/
|
|
1953
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
1927
1954
|
/**
|
|
1928
1955
|
* The output index of the asset within a job This index is an positive integer
|
|
1929
1956
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -1937,12 +1964,12 @@ export interface AssetListResponse {
|
|
|
1937
1964
|
*/
|
|
1938
1965
|
preview?: AssetListResponse.Preview;
|
|
1939
1966
|
/**
|
|
1940
|
-
*
|
|
1967
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
1941
1968
|
*
|
|
1942
1969
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
1943
|
-
* asset is read with `
|
|
1970
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
1944
1971
|
*/
|
|
1945
|
-
|
|
1972
|
+
qualityGate?: AssetListResponse.QualityGate;
|
|
1946
1973
|
/**
|
|
1947
1974
|
* The asset's thumbnail.
|
|
1948
1975
|
*
|
|
@@ -2559,12 +2586,12 @@ export declare namespace AssetListResponse {
|
|
|
2559
2586
|
url: string;
|
|
2560
2587
|
}
|
|
2561
2588
|
/**
|
|
2562
|
-
*
|
|
2589
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
2563
2590
|
*
|
|
2564
2591
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
2565
|
-
* asset is read with `
|
|
2592
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
2566
2593
|
*/
|
|
2567
|
-
interface
|
|
2594
|
+
interface QualityGate {
|
|
2568
2595
|
/**
|
|
2569
2596
|
* ISO-8601 timestamp of when scoring ran
|
|
2570
2597
|
*/
|
|
@@ -2592,13 +2619,13 @@ export declare namespace AssetListResponse {
|
|
|
2592
2619
|
/**
|
|
2593
2620
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2594
2621
|
*
|
|
2595
|
-
* Returned only when the asset is read with `
|
|
2622
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2596
2623
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2597
2624
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2598
2625
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
2599
2626
|
* version, or an unreadable archive).
|
|
2600
2627
|
*/
|
|
2601
|
-
details?:
|
|
2628
|
+
details?: QualityGate.Details;
|
|
2602
2629
|
/**
|
|
2603
2630
|
* Error message when status is 'error' (truncated)
|
|
2604
2631
|
*/
|
|
@@ -2616,11 +2643,11 @@ export declare namespace AssetListResponse {
|
|
|
2616
2643
|
*/
|
|
2617
2644
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
2618
2645
|
}
|
|
2619
|
-
namespace
|
|
2646
|
+
namespace QualityGate {
|
|
2620
2647
|
/**
|
|
2621
2648
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
2622
2649
|
*
|
|
2623
|
-
* Returned only when the asset is read with `
|
|
2650
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
2624
2651
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
2625
2652
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
2626
2653
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -2801,6 +2828,15 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2801
2828
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
2802
2829
|
*/
|
|
2803
2830
|
originalFileUrl?: string;
|
|
2831
|
+
/**
|
|
2832
|
+
* The mime type of the original file url.
|
|
2833
|
+
*
|
|
2834
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
2835
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
2836
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
2837
|
+
* Omitted when the stored format could not be determined.
|
|
2838
|
+
*/
|
|
2839
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
2804
2840
|
/**
|
|
2805
2841
|
* The output index of the asset within a job This index is an positive integer
|
|
2806
2842
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -2814,12 +2850,12 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2814
2850
|
*/
|
|
2815
2851
|
preview?: Asset.Preview;
|
|
2816
2852
|
/**
|
|
2817
|
-
*
|
|
2853
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
2818
2854
|
*
|
|
2819
2855
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
2820
|
-
* asset is read with `
|
|
2856
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
2821
2857
|
*/
|
|
2822
|
-
|
|
2858
|
+
qualityGate?: Asset.QualityGate;
|
|
2823
2859
|
/**
|
|
2824
2860
|
* The asset's thumbnail.
|
|
2825
2861
|
*
|
|
@@ -3436,12 +3472,12 @@ export declare namespace AssetDuplicateResponse {
|
|
|
3436
3472
|
url: string;
|
|
3437
3473
|
}
|
|
3438
3474
|
/**
|
|
3439
|
-
*
|
|
3475
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3440
3476
|
*
|
|
3441
3477
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3442
|
-
* asset is read with `
|
|
3478
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3443
3479
|
*/
|
|
3444
|
-
interface
|
|
3480
|
+
interface QualityGate {
|
|
3445
3481
|
/**
|
|
3446
3482
|
* ISO-8601 timestamp of when scoring ran
|
|
3447
3483
|
*/
|
|
@@ -3469,13 +3505,13 @@ export declare namespace AssetDuplicateResponse {
|
|
|
3469
3505
|
/**
|
|
3470
3506
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
3471
3507
|
*
|
|
3472
|
-
* Returned only when the asset is read with `
|
|
3508
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
3473
3509
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
3474
3510
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
3475
3511
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
3476
3512
|
* version, or an unreadable archive).
|
|
3477
3513
|
*/
|
|
3478
|
-
details?:
|
|
3514
|
+
details?: QualityGate.Details;
|
|
3479
3515
|
/**
|
|
3480
3516
|
* Error message when status is 'error' (truncated)
|
|
3481
3517
|
*/
|
|
@@ -3493,11 +3529,11 @@ export declare namespace AssetDuplicateResponse {
|
|
|
3493
3529
|
*/
|
|
3494
3530
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
3495
3531
|
}
|
|
3496
|
-
namespace
|
|
3532
|
+
namespace QualityGate {
|
|
3497
3533
|
/**
|
|
3498
3534
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
3499
3535
|
*
|
|
3500
|
-
* Returned only when the asset is read with `
|
|
3536
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
3501
3537
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
3502
3538
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
3503
3539
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -3678,6 +3714,15 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3678
3714
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
3679
3715
|
*/
|
|
3680
3716
|
originalFileUrl?: string;
|
|
3717
|
+
/**
|
|
3718
|
+
* The mime type of the original file url.
|
|
3719
|
+
*
|
|
3720
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
3721
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
3722
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
3723
|
+
* Omitted when the stored format could not be determined.
|
|
3724
|
+
*/
|
|
3725
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
3681
3726
|
/**
|
|
3682
3727
|
* The output index of the asset within a job This index is an positive integer
|
|
3683
3728
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -3691,12 +3736,12 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3691
3736
|
*/
|
|
3692
3737
|
preview?: Asset.Preview;
|
|
3693
3738
|
/**
|
|
3694
|
-
*
|
|
3739
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
3695
3740
|
*
|
|
3696
3741
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
3697
|
-
* asset is read with `
|
|
3742
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
3698
3743
|
*/
|
|
3699
|
-
|
|
3744
|
+
qualityGate?: Asset.QualityGate;
|
|
3700
3745
|
/**
|
|
3701
3746
|
* The asset's thumbnail.
|
|
3702
3747
|
*
|
|
@@ -4313,12 +4358,12 @@ export declare namespace AssetGetBulkResponse {
|
|
|
4313
4358
|
url: string;
|
|
4314
4359
|
}
|
|
4315
4360
|
/**
|
|
4316
|
-
*
|
|
4361
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
4317
4362
|
*
|
|
4318
4363
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
4319
|
-
* asset is read with `
|
|
4364
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
4320
4365
|
*/
|
|
4321
|
-
interface
|
|
4366
|
+
interface QualityGate {
|
|
4322
4367
|
/**
|
|
4323
4368
|
* ISO-8601 timestamp of when scoring ran
|
|
4324
4369
|
*/
|
|
@@ -4346,13 +4391,13 @@ export declare namespace AssetGetBulkResponse {
|
|
|
4346
4391
|
/**
|
|
4347
4392
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
4348
4393
|
*
|
|
4349
|
-
* Returned only when the asset is read with `
|
|
4394
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
4350
4395
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
4351
4396
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
4352
4397
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
4353
4398
|
* version, or an unreadable archive).
|
|
4354
4399
|
*/
|
|
4355
|
-
details?:
|
|
4400
|
+
details?: QualityGate.Details;
|
|
4356
4401
|
/**
|
|
4357
4402
|
* Error message when status is 'error' (truncated)
|
|
4358
4403
|
*/
|
|
@@ -4370,11 +4415,11 @@ export declare namespace AssetGetBulkResponse {
|
|
|
4370
4415
|
*/
|
|
4371
4416
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
4372
4417
|
}
|
|
4373
|
-
namespace
|
|
4418
|
+
namespace QualityGate {
|
|
4374
4419
|
/**
|
|
4375
4420
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
4376
4421
|
*
|
|
4377
|
-
* Returned only when the asset is read with `
|
|
4422
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
4378
4423
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
4379
4424
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
4380
4425
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -4565,6 +4610,15 @@ export declare namespace AssetLockResponse {
|
|
|
4565
4610
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
4566
4611
|
*/
|
|
4567
4612
|
originalFileUrl?: string;
|
|
4613
|
+
/**
|
|
4614
|
+
* The mime type of the original file url.
|
|
4615
|
+
*
|
|
4616
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
4617
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
4618
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
4619
|
+
* Omitted when the stored format could not be determined.
|
|
4620
|
+
*/
|
|
4621
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
4568
4622
|
/**
|
|
4569
4623
|
* The output index of the asset within a job This index is an positive integer
|
|
4570
4624
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -4578,12 +4632,12 @@ export declare namespace AssetLockResponse {
|
|
|
4578
4632
|
*/
|
|
4579
4633
|
preview?: Asset.Preview;
|
|
4580
4634
|
/**
|
|
4581
|
-
*
|
|
4635
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
4582
4636
|
*
|
|
4583
4637
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
4584
|
-
* asset is read with `
|
|
4638
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
4585
4639
|
*/
|
|
4586
|
-
|
|
4640
|
+
qualityGate?: Asset.QualityGate;
|
|
4587
4641
|
/**
|
|
4588
4642
|
* The asset's thumbnail.
|
|
4589
4643
|
*
|
|
@@ -5200,12 +5254,12 @@ export declare namespace AssetLockResponse {
|
|
|
5200
5254
|
url: string;
|
|
5201
5255
|
}
|
|
5202
5256
|
/**
|
|
5203
|
-
*
|
|
5257
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
5204
5258
|
*
|
|
5205
5259
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
5206
|
-
* asset is read with `
|
|
5260
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
5207
5261
|
*/
|
|
5208
|
-
interface
|
|
5262
|
+
interface QualityGate {
|
|
5209
5263
|
/**
|
|
5210
5264
|
* ISO-8601 timestamp of when scoring ran
|
|
5211
5265
|
*/
|
|
@@ -5233,13 +5287,13 @@ export declare namespace AssetLockResponse {
|
|
|
5233
5287
|
/**
|
|
5234
5288
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
5235
5289
|
*
|
|
5236
|
-
* Returned only when the asset is read with `
|
|
5290
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
5237
5291
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
5238
5292
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
5239
5293
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
5240
5294
|
* version, or an unreadable archive).
|
|
5241
5295
|
*/
|
|
5242
|
-
details?:
|
|
5296
|
+
details?: QualityGate.Details;
|
|
5243
5297
|
/**
|
|
5244
5298
|
* Error message when status is 'error' (truncated)
|
|
5245
5299
|
*/
|
|
@@ -5257,11 +5311,11 @@ export declare namespace AssetLockResponse {
|
|
|
5257
5311
|
*/
|
|
5258
5312
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
5259
5313
|
}
|
|
5260
|
-
namespace
|
|
5314
|
+
namespace QualityGate {
|
|
5261
5315
|
/**
|
|
5262
5316
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
5263
5317
|
*
|
|
5264
|
-
* Returned only when the asset is read with `
|
|
5318
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
5265
5319
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
5266
5320
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
5267
5321
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -5442,6 +5496,15 @@ export declare namespace AssetUnlockResponse {
|
|
|
5442
5496
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
5443
5497
|
*/
|
|
5444
5498
|
originalFileUrl?: string;
|
|
5499
|
+
/**
|
|
5500
|
+
* The mime type of the original file url.
|
|
5501
|
+
*
|
|
5502
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
5503
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
5504
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
5505
|
+
* Omitted when the stored format could not be determined.
|
|
5506
|
+
*/
|
|
5507
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
5445
5508
|
/**
|
|
5446
5509
|
* The output index of the asset within a job This index is an positive integer
|
|
5447
5510
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -5455,12 +5518,12 @@ export declare namespace AssetUnlockResponse {
|
|
|
5455
5518
|
*/
|
|
5456
5519
|
preview?: Asset.Preview;
|
|
5457
5520
|
/**
|
|
5458
|
-
*
|
|
5521
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
5459
5522
|
*
|
|
5460
5523
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
5461
|
-
* asset is read with `
|
|
5524
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
5462
5525
|
*/
|
|
5463
|
-
|
|
5526
|
+
qualityGate?: Asset.QualityGate;
|
|
5464
5527
|
/**
|
|
5465
5528
|
* The asset's thumbnail.
|
|
5466
5529
|
*
|
|
@@ -6077,12 +6140,12 @@ export declare namespace AssetUnlockResponse {
|
|
|
6077
6140
|
url: string;
|
|
6078
6141
|
}
|
|
6079
6142
|
/**
|
|
6080
|
-
*
|
|
6143
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
6081
6144
|
*
|
|
6082
6145
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
6083
|
-
* asset is read with `
|
|
6146
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
6084
6147
|
*/
|
|
6085
|
-
interface
|
|
6148
|
+
interface QualityGate {
|
|
6086
6149
|
/**
|
|
6087
6150
|
* ISO-8601 timestamp of when scoring ran
|
|
6088
6151
|
*/
|
|
@@ -6110,13 +6173,13 @@ export declare namespace AssetUnlockResponse {
|
|
|
6110
6173
|
/**
|
|
6111
6174
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
6112
6175
|
*
|
|
6113
|
-
* Returned only when the asset is read with `
|
|
6176
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
6114
6177
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
6115
6178
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
6116
6179
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
6117
6180
|
* version, or an unreadable archive).
|
|
6118
6181
|
*/
|
|
6119
|
-
details?:
|
|
6182
|
+
details?: QualityGate.Details;
|
|
6120
6183
|
/**
|
|
6121
6184
|
* Error message when status is 'error' (truncated)
|
|
6122
6185
|
*/
|
|
@@ -6134,11 +6197,11 @@ export declare namespace AssetUnlockResponse {
|
|
|
6134
6197
|
*/
|
|
6135
6198
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
6136
6199
|
}
|
|
6137
|
-
namespace
|
|
6200
|
+
namespace QualityGate {
|
|
6138
6201
|
/**
|
|
6139
6202
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
6140
6203
|
*
|
|
6141
|
-
* Returned only when the asset is read with `
|
|
6204
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
6142
6205
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
6143
6206
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
6144
6207
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -6330,6 +6393,15 @@ export declare namespace AssetUploadResponse {
|
|
|
6330
6393
|
* asset data has been replaced with a new file during the creation of the asset.
|
|
6331
6394
|
*/
|
|
6332
6395
|
originalFileUrl?: string;
|
|
6396
|
+
/**
|
|
6397
|
+
* The mime type of the original file url.
|
|
6398
|
+
*
|
|
6399
|
+
* The original file is stored under a key that carries no extension, so this is
|
|
6400
|
+
* the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
|
|
6401
|
+
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
6402
|
+
* Omitted when the stored format could not be determined.
|
|
6403
|
+
*/
|
|
6404
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
6333
6405
|
/**
|
|
6334
6406
|
* The output index of the asset within a job This index is an positive integer
|
|
6335
6407
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -6343,12 +6415,12 @@ export declare namespace AssetUploadResponse {
|
|
|
6343
6415
|
*/
|
|
6344
6416
|
preview?: Asset.Preview;
|
|
6345
6417
|
/**
|
|
6346
|
-
*
|
|
6418
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
6347
6419
|
*
|
|
6348
6420
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
6349
|
-
* asset is read with `
|
|
6421
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
6350
6422
|
*/
|
|
6351
|
-
|
|
6423
|
+
qualityGate?: Asset.QualityGate;
|
|
6352
6424
|
/**
|
|
6353
6425
|
* The asset's thumbnail.
|
|
6354
6426
|
*
|
|
@@ -6965,12 +7037,12 @@ export declare namespace AssetUploadResponse {
|
|
|
6965
7037
|
url: string;
|
|
6966
7038
|
}
|
|
6967
7039
|
/**
|
|
6968
|
-
*
|
|
7040
|
+
* Quality Gate result, computed asynchronously after generation.
|
|
6969
7041
|
*
|
|
6970
7042
|
* `details` (the per-dimension reasons and suggestions) is returned only when the
|
|
6971
|
-
* asset is read with `
|
|
7043
|
+
* asset is read with `withQualityGateDetails=true`.
|
|
6972
7044
|
*/
|
|
6973
|
-
interface
|
|
7045
|
+
interface QualityGate {
|
|
6974
7046
|
/**
|
|
6975
7047
|
* ISO-8601 timestamp of when scoring ran
|
|
6976
7048
|
*/
|
|
@@ -6998,13 +7070,13 @@ export declare namespace AssetUploadResponse {
|
|
|
6998
7070
|
/**
|
|
6999
7071
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
7000
7072
|
*
|
|
7001
|
-
* Returned only when the asset is read with `
|
|
7073
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
7002
7074
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
7003
7075
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
7004
7076
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
7005
7077
|
* version, or an unreadable archive).
|
|
7006
7078
|
*/
|
|
7007
|
-
details?:
|
|
7079
|
+
details?: QualityGate.Details;
|
|
7008
7080
|
/**
|
|
7009
7081
|
* Error message when status is 'error' (truncated)
|
|
7010
7082
|
*/
|
|
@@ -7022,11 +7094,11 @@ export declare namespace AssetUploadResponse {
|
|
|
7022
7094
|
*/
|
|
7023
7095
|
verdict?: 'fail' | 'pass' | 'warn';
|
|
7024
7096
|
}
|
|
7025
|
-
namespace
|
|
7097
|
+
namespace QualityGate {
|
|
7026
7098
|
/**
|
|
7027
7099
|
* Per-dimension reasons and suggestions, as produced by the detector.
|
|
7028
7100
|
*
|
|
7029
|
-
* Returned only when the asset is read with `
|
|
7101
|
+
* Returned only when the asset is read with `withQualityGateDetails=true` by the
|
|
7030
7102
|
* project that owns it — the brief-compliance text paraphrases that project's
|
|
7031
7103
|
* brief, so a cross-project read of a public asset gets the summary alone. Also
|
|
7032
7104
|
* omitted when the archived verdict is unavailable (asset scored by an older
|
|
@@ -7345,7 +7417,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7345
7417
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
7346
7418
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
7347
7419
|
* not able to create the asset on the flight on API side with dataurl without
|
|
7348
|
-
* data:kind, prefix
|
|
7420
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
7421
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
7422
|
+
* generation time.
|
|
7349
7423
|
*/
|
|
7350
7424
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
7351
7425
|
/**
|
|
@@ -7368,8 +7442,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7368
7442
|
*/
|
|
7369
7443
|
maxDuration?: number;
|
|
7370
7444
|
/**
|
|
7371
|
-
* The maximum allowed length for \`string\`
|
|
7372
|
-
* \`string_array
|
|
7445
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7446
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
7447
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
7373
7448
|
*/
|
|
7374
7449
|
maxLength?: number;
|
|
7375
7450
|
/**
|
|
@@ -7383,8 +7458,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7383
7458
|
*/
|
|
7384
7459
|
min?: number;
|
|
7385
7460
|
/**
|
|
7386
|
-
* The minimum allowed length for string
|
|
7387
|
-
* \`string_array
|
|
7461
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7462
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
7463
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
7388
7464
|
*/
|
|
7389
7465
|
minLength?: number;
|
|
7390
7466
|
/**
|
|
@@ -7503,7 +7579,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7503
7579
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
7504
7580
|
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
7505
7581
|
* not able to create the asset on the flight on API side with dataurl without
|
|
7506
|
-
* data:kind, prefix
|
|
7582
|
+
* data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
|
|
7583
|
+
* a model does not declare one, \`image\` is returned, which is the kind used at
|
|
7584
|
+
* generation time.
|
|
7507
7585
|
*/
|
|
7508
7586
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
7509
7587
|
/**
|
|
@@ -7526,8 +7604,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7526
7604
|
*/
|
|
7527
7605
|
maxDuration?: number;
|
|
7528
7606
|
/**
|
|
7529
|
-
* The maximum allowed length for \`string\`
|
|
7530
|
-
* \`string_array
|
|
7607
|
+
* The maximum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7608
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
7609
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
7531
7610
|
*/
|
|
7532
7611
|
maxLength?: number;
|
|
7533
7612
|
/**
|
|
@@ -7541,8 +7620,9 @@ export declare namespace AssetUploadResponse {
|
|
|
7541
7620
|
*/
|
|
7542
7621
|
min?: number;
|
|
7543
7622
|
/**
|
|
7544
|
-
* The minimum allowed length for string
|
|
7545
|
-
* \`string_array
|
|
7623
|
+
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
7624
|
+
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
7625
|
+
* ITEMS instead — the length of each item is not constrained.
|
|
7546
7626
|
*/
|
|
7547
7627
|
minLength?: number;
|
|
7548
7628
|
/**
|
|
@@ -7772,7 +7852,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7772
7852
|
cuDiscount: number;
|
|
7773
7853
|
/**
|
|
7774
7854
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
7775
|
-
* top of the generation itself, such as `
|
|
7855
|
+
* top of the generation itself, such as `quality-gate`.
|
|
7776
7856
|
*
|
|
7777
7857
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
7778
7858
|
* values here.
|
|
@@ -7800,7 +7880,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7800
7880
|
namespace Billing {
|
|
7801
7881
|
/**
|
|
7802
7882
|
* Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
|
|
7803
|
-
* top of the generation itself, such as `
|
|
7883
|
+
* top of the generation itself, such as `quality-gate`.
|
|
7804
7884
|
*
|
|
7805
7885
|
* `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
|
|
7806
7886
|
* values here.
|
|
@@ -7819,7 +7899,7 @@ export declare namespace AssetUploadResponse {
|
|
|
7819
7899
|
*/
|
|
7820
7900
|
interface CuCostDetails {
|
|
7821
7901
|
'ip-detection'?: number;
|
|
7822
|
-
'
|
|
7902
|
+
'quality-gate'?: number;
|
|
7823
7903
|
}
|
|
7824
7904
|
}
|
|
7825
7905
|
}
|
|
@@ -7839,12 +7919,12 @@ export interface AssetRetrieveParams {
|
|
|
7839
7919
|
*/
|
|
7840
7920
|
withEmbedding?: boolean;
|
|
7841
7921
|
/**
|
|
7842
|
-
* Include the per-dimension
|
|
7843
|
-
* suggestions for each scored dimension). Honoured only when the asset belongs
|
|
7844
|
-
* the calling project, since the brief-compliance text paraphrases that
|
|
7845
|
-
* brief; ignored otherwise, including on public unauthenticated access.
|
|
7922
|
+
* Include the per-dimension Quality Gate verdict (`qualityGate.details`: reasons
|
|
7923
|
+
* and suggestions for each scored dimension). Honoured only when the asset belongs
|
|
7924
|
+
* to the calling project, since the brief-compliance text paraphrases that
|
|
7925
|
+
* project’s brief; ignored otherwise, including on public unauthenticated access.
|
|
7846
7926
|
*/
|
|
7847
|
-
|
|
7927
|
+
withQualityGateDetails?: boolean;
|
|
7848
7928
|
}
|
|
7849
7929
|
export interface AssetUpdateParams {
|
|
7850
7930
|
/**
|
|
@@ -7890,7 +7970,10 @@ export interface AssetListParams extends AssetsCursorParams {
|
|
|
7890
7970
|
* List assets generated by a specific author (the user that created the asset)
|
|
7891
7971
|
*/
|
|
7892
7972
|
authorId?: string;
|
|
7893
|
-
|
|
7973
|
+
/**
|
|
7974
|
+
* When provided, only the assets in the Collection will be returned
|
|
7975
|
+
*/
|
|
7976
|
+
collectionId?: string;
|
|
7894
7977
|
/**
|
|
7895
7978
|
* Filter results to only return assets created after the specified ISO string date
|
|
7896
7979
|
* (exclusive). Requires the sortBy parameter to be "createdAt"
|