@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.
Files changed (140) hide show
  1. package/CHANGELOG.md +106 -2
  2. package/client.d.mts +4 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +4 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js +2 -2
  7. package/client.js.map +1 -1
  8. package/client.mjs +2 -2
  9. package/client.mjs.map +1 -1
  10. package/core/pagination.d.mts +8 -8
  11. package/core/pagination.d.mts.map +1 -1
  12. package/core/pagination.d.ts +8 -8
  13. package/core/pagination.d.ts.map +1 -1
  14. package/core/pagination.js +8 -8
  15. package/core/pagination.js.map +1 -1
  16. package/core/pagination.mjs +8 -8
  17. package/core/pagination.mjs.map +1 -1
  18. package/lib/workflow_converter.d.mts +6 -0
  19. package/lib/workflow_converter.d.mts.map +1 -1
  20. package/lib/workflow_converter.d.ts +6 -0
  21. package/lib/workflow_converter.d.ts.map +1 -1
  22. package/lib/workflow_converter.js +99 -12
  23. package/lib/workflow_converter.js.map +1 -1
  24. package/lib/workflow_converter.mjs +99 -12
  25. package/lib/workflow_converter.mjs.map +1 -1
  26. package/lib/workflow_validator.d.mts +3 -1
  27. package/lib/workflow_validator.d.mts.map +1 -1
  28. package/lib/workflow_validator.d.ts +3 -1
  29. package/lib/workflow_validator.d.ts.map +1 -1
  30. package/lib/workflow_validator.js +41 -1
  31. package/lib/workflow_validator.js.map +1 -1
  32. package/lib/workflow_validator.mjs +41 -1
  33. package/lib/workflow_validator.mjs.map +1 -1
  34. package/package.json +1 -1
  35. package/resources/assets/assets.d.mts +198 -115
  36. package/resources/assets/assets.d.mts.map +1 -1
  37. package/resources/assets/assets.d.ts +198 -115
  38. package/resources/assets/assets.d.ts.map +1 -1
  39. package/resources/assets/assets.js.map +1 -1
  40. package/resources/assets/assets.mjs.map +1 -1
  41. package/resources/assets/download.d.mts +15 -0
  42. package/resources/assets/download.d.mts.map +1 -1
  43. package/resources/assets/download.d.ts +15 -0
  44. package/resources/assets/download.d.ts.map +1 -1
  45. package/resources/assets/download.js +2 -2
  46. package/resources/assets/download.js.map +1 -1
  47. package/resources/assets/download.mjs +2 -2
  48. package/resources/assets/download.mjs.map +1 -1
  49. package/resources/generate.d.mts +383 -225
  50. package/resources/generate.d.mts.map +1 -1
  51. package/resources/generate.d.ts +383 -225
  52. package/resources/generate.d.ts.map +1 -1
  53. package/resources/generate.js +2 -6
  54. package/resources/generate.js.map +1 -1
  55. package/resources/generate.mjs +2 -6
  56. package/resources/generate.mjs.map +1 -1
  57. package/resources/index.d.mts +1 -1
  58. package/resources/index.d.mts.map +1 -1
  59. package/resources/index.d.ts +1 -1
  60. package/resources/index.d.ts.map +1 -1
  61. package/resources/index.js.map +1 -1
  62. package/resources/index.mjs.map +1 -1
  63. package/resources/jobs.d.mts +77 -46
  64. package/resources/jobs.d.mts.map +1 -1
  65. package/resources/jobs.d.ts +77 -46
  66. package/resources/jobs.d.ts.map +1 -1
  67. package/resources/jobs.js +2 -6
  68. package/resources/jobs.js.map +1 -1
  69. package/resources/jobs.mjs +2 -6
  70. package/resources/jobs.mjs.map +1 -1
  71. package/resources/models/description.d.mts +22 -4
  72. package/resources/models/description.d.mts.map +1 -1
  73. package/resources/models/description.d.ts +22 -4
  74. package/resources/models/description.d.ts.map +1 -1
  75. package/resources/models/examples.d.mts +84 -50
  76. package/resources/models/examples.d.mts.map +1 -1
  77. package/resources/models/examples.d.ts +84 -50
  78. package/resources/models/examples.d.ts.map +1 -1
  79. package/resources/models/models.d.mts +131 -35
  80. package/resources/models/models.d.mts.map +1 -1
  81. package/resources/models/models.d.ts +131 -35
  82. package/resources/models/models.d.ts.map +1 -1
  83. package/resources/models/models.js +6 -2
  84. package/resources/models/models.js.map +1 -1
  85. package/resources/models/models.mjs +6 -2
  86. package/resources/models/models.mjs.map +1 -1
  87. package/resources/models/train.d.mts +78 -38
  88. package/resources/models/train.d.mts.map +1 -1
  89. package/resources/models/train.d.ts +78 -38
  90. package/resources/models/train.d.ts.map +1 -1
  91. package/resources/models/train.js +2 -2
  92. package/resources/models/train.js.map +1 -1
  93. package/resources/models/train.mjs +2 -2
  94. package/resources/models/train.mjs.map +1 -1
  95. package/resources/search.d.mts +168 -5
  96. package/resources/search.d.mts.map +1 -1
  97. package/resources/search.d.ts +168 -5
  98. package/resources/search.d.ts.map +1 -1
  99. package/resources/search.js +15 -2
  100. package/resources/search.js.map +1 -1
  101. package/resources/search.mjs +15 -2
  102. package/resources/search.mjs.map +1 -1
  103. package/resources/uploads.d.mts +13 -3
  104. package/resources/uploads.d.mts.map +1 -1
  105. package/resources/uploads.d.ts +13 -3
  106. package/resources/uploads.d.ts.map +1 -1
  107. package/resources/uploads.js +2 -2
  108. package/resources/uploads.js.map +1 -1
  109. package/resources/uploads.mjs +2 -2
  110. package/resources/uploads.mjs.map +1 -1
  111. package/resources/usages.d.mts +36 -29
  112. package/resources/usages.d.mts.map +1 -1
  113. package/resources/usages.d.ts +36 -29
  114. package/resources/usages.d.ts.map +1 -1
  115. package/resources/workflows.d.mts +283 -130
  116. package/resources/workflows.d.mts.map +1 -1
  117. package/resources/workflows.d.ts +283 -130
  118. package/resources/workflows.d.ts.map +1 -1
  119. package/src/client.ts +10 -4
  120. package/src/core/pagination.ts +20 -20
  121. package/src/lib/workflow_converter.ts +126 -12
  122. package/src/lib/workflow_validator.ts +68 -1
  123. package/src/resources/assets/assets.ts +590 -115
  124. package/src/resources/assets/download.ts +19 -2
  125. package/src/resources/generate.ts +499 -240
  126. package/src/resources/index.ts +3 -0
  127. package/src/resources/jobs.ts +79 -53
  128. package/src/resources/models/description.ts +120 -4
  129. package/src/resources/models/examples.ts +182 -50
  130. package/src/resources/models/models.ts +138 -37
  131. package/src/resources/models/train.ts +82 -42
  132. package/src/resources/search.ts +218 -7
  133. package/src/resources/uploads.ts +16 -5
  134. package/src/resources/usages.ts +42 -29
  135. package/src/resources/workflows.ts +283 -130
  136. package/src/version.ts +1 -1
  137. package/version.d.mts +1 -1
  138. package/version.d.ts +1 -1
  139. package/version.js +1 -1
  140. 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
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
202
+ * asset is read with `withQualityGateDetails=true`.
194
203
  */
195
- slopGuard?: Asset.SlopGuard;
204
+ qualityGate?: Asset.QualityGate;
196
205
  /**
197
206
  * The asset's thumbnail.
198
207
  *
@@ -764,11 +773,11 @@ export declare namespace AssetRetrieveResponse {
764
773
  /**
765
774
  * Camera eye position in the splat's world frame.
766
775
  */
767
- position: Array<unknown>;
776
+ position: Array<number>;
768
777
  /**
769
778
  * Look-at point in the splat's world frame.
770
779
  */
771
- target: Array<unknown>;
780
+ target: Array<number>;
772
781
  /**
773
782
  * Vertical field of view in degrees (defaults to 50 in the renderer).
774
783
  */
@@ -809,12 +818,12 @@ export declare namespace AssetRetrieveResponse {
809
818
  url: string;
810
819
  }
811
820
  /**
812
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
824
+ * asset is read with `withQualityGateDetails=true`.
816
825
  */
817
- interface SlopGuard {
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 `withSlopGuardDetails=true` by the
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?: SlopGuard.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 SlopGuard {
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 `withSlopGuardDetails=true` by the
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
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
1088
+ * asset is read with `withQualityGateDetails=true`.
1071
1089
  */
1072
- slopGuard?: Asset.SlopGuard;
1090
+ qualityGate?: Asset.QualityGate;
1073
1091
  /**
1074
1092
  * The asset's thumbnail.
1075
1093
  *
@@ -1641,11 +1659,11 @@ export declare namespace AssetUpdateResponse {
1641
1659
  /**
1642
1660
  * Camera eye position in the splat's world frame.
1643
1661
  */
1644
- position: Array<unknown>;
1662
+ position: Array<number>;
1645
1663
  /**
1646
1664
  * Look-at point in the splat's world frame.
1647
1665
  */
1648
- target: Array<unknown>;
1666
+ target: Array<number>;
1649
1667
  /**
1650
1668
  * Vertical field of view in degrees (defaults to 50 in the renderer).
1651
1669
  */
@@ -1686,12 +1704,12 @@ export declare namespace AssetUpdateResponse {
1686
1704
  url: string;
1687
1705
  }
1688
1706
  /**
1689
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
1710
+ * asset is read with `withQualityGateDetails=true`.
1693
1711
  */
1694
- interface SlopGuard {
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 `withSlopGuardDetails=true` by the
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?: SlopGuard.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 SlopGuard {
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 `withSlopGuardDetails=true` by the
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
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
1970
+ * asset is read with `withQualityGateDetails=true`.
1944
1971
  */
1945
- slopGuard?: AssetListResponse.SlopGuard;
1972
+ qualityGate?: AssetListResponse.QualityGate;
1946
1973
  /**
1947
1974
  * The asset's thumbnail.
1948
1975
  *
@@ -2514,11 +2541,11 @@ export declare namespace AssetListResponse {
2514
2541
  /**
2515
2542
  * Camera eye position in the splat's world frame.
2516
2543
  */
2517
- position: Array<unknown>;
2544
+ position: Array<number>;
2518
2545
  /**
2519
2546
  * Look-at point in the splat's world frame.
2520
2547
  */
2521
- target: Array<unknown>;
2548
+ target: Array<number>;
2522
2549
  /**
2523
2550
  * Vertical field of view in degrees (defaults to 50 in the renderer).
2524
2551
  */
@@ -2559,12 +2586,12 @@ export declare namespace AssetListResponse {
2559
2586
  url: string;
2560
2587
  }
2561
2588
  /**
2562
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
2592
+ * asset is read with `withQualityGateDetails=true`.
2566
2593
  */
2567
- interface SlopGuard {
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 `withSlopGuardDetails=true` by the
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?: SlopGuard.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 SlopGuard {
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 `withSlopGuardDetails=true` by the
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
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
2856
+ * asset is read with `withQualityGateDetails=true`.
2821
2857
  */
2822
- slopGuard?: Asset.SlopGuard;
2858
+ qualityGate?: Asset.QualityGate;
2823
2859
  /**
2824
2860
  * The asset's thumbnail.
2825
2861
  *
@@ -3391,11 +3427,11 @@ export declare namespace AssetDuplicateResponse {
3391
3427
  /**
3392
3428
  * Camera eye position in the splat's world frame.
3393
3429
  */
3394
- position: Array<unknown>;
3430
+ position: Array<number>;
3395
3431
  /**
3396
3432
  * Look-at point in the splat's world frame.
3397
3433
  */
3398
- target: Array<unknown>;
3434
+ target: Array<number>;
3399
3435
  /**
3400
3436
  * Vertical field of view in degrees (defaults to 50 in the renderer).
3401
3437
  */
@@ -3436,12 +3472,12 @@ export declare namespace AssetDuplicateResponse {
3436
3472
  url: string;
3437
3473
  }
3438
3474
  /**
3439
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
3478
+ * asset is read with `withQualityGateDetails=true`.
3443
3479
  */
3444
- interface SlopGuard {
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 `withSlopGuardDetails=true` by the
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?: SlopGuard.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 SlopGuard {
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 `withSlopGuardDetails=true` by the
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
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
3742
+ * asset is read with `withQualityGateDetails=true`.
3698
3743
  */
3699
- slopGuard?: Asset.SlopGuard;
3744
+ qualityGate?: Asset.QualityGate;
3700
3745
  /**
3701
3746
  * The asset's thumbnail.
3702
3747
  *
@@ -4268,11 +4313,11 @@ export declare namespace AssetGetBulkResponse {
4268
4313
  /**
4269
4314
  * Camera eye position in the splat's world frame.
4270
4315
  */
4271
- position: Array<unknown>;
4316
+ position: Array<number>;
4272
4317
  /**
4273
4318
  * Look-at point in the splat's world frame.
4274
4319
  */
4275
- target: Array<unknown>;
4320
+ target: Array<number>;
4276
4321
  /**
4277
4322
  * Vertical field of view in degrees (defaults to 50 in the renderer).
4278
4323
  */
@@ -4313,12 +4358,12 @@ export declare namespace AssetGetBulkResponse {
4313
4358
  url: string;
4314
4359
  }
4315
4360
  /**
4316
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
4364
+ * asset is read with `withQualityGateDetails=true`.
4320
4365
  */
4321
- interface SlopGuard {
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 `withSlopGuardDetails=true` by the
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?: SlopGuard.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 SlopGuard {
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 `withSlopGuardDetails=true` by the
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
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
4638
+ * asset is read with `withQualityGateDetails=true`.
4585
4639
  */
4586
- slopGuard?: Asset.SlopGuard;
4640
+ qualityGate?: Asset.QualityGate;
4587
4641
  /**
4588
4642
  * The asset's thumbnail.
4589
4643
  *
@@ -5155,11 +5209,11 @@ export declare namespace AssetLockResponse {
5155
5209
  /**
5156
5210
  * Camera eye position in the splat's world frame.
5157
5211
  */
5158
- position: Array<unknown>;
5212
+ position: Array<number>;
5159
5213
  /**
5160
5214
  * Look-at point in the splat's world frame.
5161
5215
  */
5162
- target: Array<unknown>;
5216
+ target: Array<number>;
5163
5217
  /**
5164
5218
  * Vertical field of view in degrees (defaults to 50 in the renderer).
5165
5219
  */
@@ -5200,12 +5254,12 @@ export declare namespace AssetLockResponse {
5200
5254
  url: string;
5201
5255
  }
5202
5256
  /**
5203
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
5260
+ * asset is read with `withQualityGateDetails=true`.
5207
5261
  */
5208
- interface SlopGuard {
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 `withSlopGuardDetails=true` by the
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?: SlopGuard.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 SlopGuard {
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 `withSlopGuardDetails=true` by the
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
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
5524
+ * asset is read with `withQualityGateDetails=true`.
5462
5525
  */
5463
- slopGuard?: Asset.SlopGuard;
5526
+ qualityGate?: Asset.QualityGate;
5464
5527
  /**
5465
5528
  * The asset's thumbnail.
5466
5529
  *
@@ -6032,11 +6095,11 @@ export declare namespace AssetUnlockResponse {
6032
6095
  /**
6033
6096
  * Camera eye position in the splat's world frame.
6034
6097
  */
6035
- position: Array<unknown>;
6098
+ position: Array<number>;
6036
6099
  /**
6037
6100
  * Look-at point in the splat's world frame.
6038
6101
  */
6039
- target: Array<unknown>;
6102
+ target: Array<number>;
6040
6103
  /**
6041
6104
  * Vertical field of view in degrees (defaults to 50 in the renderer).
6042
6105
  */
@@ -6077,12 +6140,12 @@ export declare namespace AssetUnlockResponse {
6077
6140
  url: string;
6078
6141
  }
6079
6142
  /**
6080
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
6146
+ * asset is read with `withQualityGateDetails=true`.
6084
6147
  */
6085
- interface SlopGuard {
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 `withSlopGuardDetails=true` by the
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?: SlopGuard.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 SlopGuard {
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 `withSlopGuardDetails=true` by the
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
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
6421
+ * asset is read with `withQualityGateDetails=true`.
6350
6422
  */
6351
- slopGuard?: Asset.SlopGuard;
6423
+ qualityGate?: Asset.QualityGate;
6352
6424
  /**
6353
6425
  * The asset's thumbnail.
6354
6426
  *
@@ -6920,11 +6992,11 @@ export declare namespace AssetUploadResponse {
6920
6992
  /**
6921
6993
  * Camera eye position in the splat's world frame.
6922
6994
  */
6923
- position: Array<unknown>;
6995
+ position: Array<number>;
6924
6996
  /**
6925
6997
  * Look-at point in the splat's world frame.
6926
6998
  */
6927
- target: Array<unknown>;
6999
+ target: Array<number>;
6928
7000
  /**
6929
7001
  * Vertical field of view in degrees (defaults to 50 in the renderer).
6930
7002
  */
@@ -6965,12 +7037,12 @@ export declare namespace AssetUploadResponse {
6965
7037
  url: string;
6966
7038
  }
6967
7039
  /**
6968
- * SlopGuard detection result, computed asynchronously after generation.
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 `withSlopGuardDetails=true`.
7043
+ * asset is read with `withQualityGateDetails=true`.
6972
7044
  */
6973
- interface SlopGuard {
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 `withSlopGuardDetails=true` by the
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?: SlopGuard.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 SlopGuard {
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 `withSlopGuardDetails=true` by the
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\` inputs. Also applies to each item in
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 inputs. Also applies to each item in
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\` inputs. Also applies to each item in
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 inputs. Also applies to each item in
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 `slop-detection`.
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 `slop-detection`.
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
- 'slop-detection'?: number;
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 SlopGuard verdict (`slopGuard.details`: reasons and
7843
- * suggestions for each scored dimension). Honoured only when the asset belongs to
7844
- * the calling project, since the brief-compliance text paraphrases that project’s
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
- withSlopGuardDetails?: boolean;
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
- collectionId?: unknown;
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"