@scenario-labs/sdk 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +34 -0
  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.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/index.d.mts +1 -1
  9. package/index.d.mts.map +1 -1
  10. package/index.d.ts +1 -1
  11. package/index.d.ts.map +1 -1
  12. package/index.js +2 -1
  13. package/index.js.map +1 -1
  14. package/index.mjs +1 -1
  15. package/index.mjs.map +1 -1
  16. package/lib/asset.d.mts +1 -1
  17. package/lib/asset.d.ts +1 -1
  18. package/lib/asset.js +1 -1
  19. package/lib/asset.mjs +1 -1
  20. package/lib/upload.d.mts +10 -5
  21. package/lib/upload.d.mts.map +1 -1
  22. package/lib/upload.d.ts +10 -5
  23. package/lib/upload.d.ts.map +1 -1
  24. package/lib/upload.js.map +1 -1
  25. package/lib/upload.mjs.map +1 -1
  26. package/lib/user_selection_limits.d.mts +13 -0
  27. package/lib/user_selection_limits.d.mts.map +1 -0
  28. package/lib/user_selection_limits.d.ts +13 -0
  29. package/lib/user_selection_limits.d.ts.map +1 -0
  30. package/lib/user_selection_limits.js +16 -0
  31. package/lib/user_selection_limits.js.map +1 -0
  32. package/lib/user_selection_limits.mjs +13 -0
  33. package/lib/user_selection_limits.mjs.map +1 -0
  34. package/lib/workflow.d.mts +4 -2
  35. package/lib/workflow.d.mts.map +1 -1
  36. package/lib/workflow.d.ts +4 -2
  37. package/lib/workflow.d.ts.map +1 -1
  38. package/lib/workflow.js +5 -1
  39. package/lib/workflow.js.map +1 -1
  40. package/lib/workflow.mjs +5 -1
  41. package/lib/workflow.mjs.map +1 -1
  42. package/lib/workflow_converter.d.mts +6 -0
  43. package/lib/workflow_converter.d.mts.map +1 -1
  44. package/lib/workflow_converter.d.ts +6 -0
  45. package/lib/workflow_converter.d.ts.map +1 -1
  46. package/lib/workflow_converter.js +155 -53
  47. package/lib/workflow_converter.js.map +1 -1
  48. package/lib/workflow_converter.mjs +155 -53
  49. package/lib/workflow_converter.mjs.map +1 -1
  50. package/lib/workflow_import_validator.d.mts +17 -2
  51. package/lib/workflow_import_validator.d.mts.map +1 -1
  52. package/lib/workflow_import_validator.d.ts +17 -2
  53. package/lib/workflow_import_validator.d.ts.map +1 -1
  54. package/lib/workflow_import_validator.js +100 -1
  55. package/lib/workflow_import_validator.js.map +1 -1
  56. package/lib/workflow_import_validator.mjs +99 -1
  57. package/lib/workflow_import_validator.mjs.map +1 -1
  58. package/lib/workflow_validator.d.mts +1 -1
  59. package/lib/workflow_validator.d.mts.map +1 -1
  60. package/lib/workflow_validator.d.ts +1 -1
  61. package/lib/workflow_validator.d.ts.map +1 -1
  62. package/lib/workflow_validator.js +10 -11
  63. package/lib/workflow_validator.js.map +1 -1
  64. package/lib/workflow_validator.mjs +7 -8
  65. package/lib/workflow_validator.mjs.map +1 -1
  66. package/package.json +1 -1
  67. package/resources/assets/assets.d.mts +126 -30
  68. package/resources/assets/assets.d.mts.map +1 -1
  69. package/resources/assets/assets.d.ts +126 -30
  70. package/resources/assets/assets.d.ts.map +1 -1
  71. package/resources/assets/assets.js +12 -0
  72. package/resources/assets/assets.js.map +1 -1
  73. package/resources/assets/assets.mjs +12 -0
  74. package/resources/assets/assets.mjs.map +1 -1
  75. package/resources/assets/index.d.mts +1 -1
  76. package/resources/assets/index.d.mts.map +1 -1
  77. package/resources/assets/index.d.ts +1 -1
  78. package/resources/assets/index.d.ts.map +1 -1
  79. package/resources/assets/index.js.map +1 -1
  80. package/resources/assets/index.mjs.map +1 -1
  81. package/resources/generate.d.mts +120 -9
  82. package/resources/generate.d.mts.map +1 -1
  83. package/resources/generate.d.ts +120 -9
  84. package/resources/generate.d.ts.map +1 -1
  85. package/resources/index.d.mts +2 -2
  86. package/resources/index.d.mts.map +1 -1
  87. package/resources/index.d.ts +2 -2
  88. package/resources/index.d.ts.map +1 -1
  89. package/resources/index.js.map +1 -1
  90. package/resources/index.mjs.map +1 -1
  91. package/resources/jobs.d.mts +36 -0
  92. package/resources/jobs.d.mts.map +1 -1
  93. package/resources/jobs.d.ts +36 -0
  94. package/resources/jobs.d.ts.map +1 -1
  95. package/resources/models/description.d.mts +4 -4
  96. package/resources/models/description.d.mts.map +1 -1
  97. package/resources/models/description.d.ts +4 -4
  98. package/resources/models/description.d.ts.map +1 -1
  99. package/resources/models/examples.d.mts +40 -6
  100. package/resources/models/examples.d.mts.map +1 -1
  101. package/resources/models/examples.d.ts +40 -6
  102. package/resources/models/examples.d.ts.map +1 -1
  103. package/resources/models/index.d.mts +1 -1
  104. package/resources/models/index.d.mts.map +1 -1
  105. package/resources/models/index.d.ts +1 -1
  106. package/resources/models/index.d.ts.map +1 -1
  107. package/resources/models/index.js.map +1 -1
  108. package/resources/models/index.mjs.map +1 -1
  109. package/resources/models/models.d.mts +1353 -199
  110. package/resources/models/models.d.mts.map +1 -1
  111. package/resources/models/models.d.ts +1353 -199
  112. package/resources/models/models.d.ts.map +1 -1
  113. package/resources/models/models.js +13 -0
  114. package/resources/models/models.js.map +1 -1
  115. package/resources/models/models.mjs +13 -0
  116. package/resources/models/models.mjs.map +1 -1
  117. package/resources/models/train.d.mts +36 -2
  118. package/resources/models/train.d.mts.map +1 -1
  119. package/resources/models/train.d.ts +36 -2
  120. package/resources/models/train.d.ts.map +1 -1
  121. package/resources/recommendations.d.mts +16 -5
  122. package/resources/recommendations.d.mts.map +1 -1
  123. package/resources/recommendations.d.ts +16 -5
  124. package/resources/recommendations.d.ts.map +1 -1
  125. package/resources/usages.d.mts +14 -2
  126. package/resources/usages.d.mts.map +1 -1
  127. package/resources/usages.d.ts +14 -2
  128. package/resources/usages.d.ts.map +1 -1
  129. package/resources/workflows.d.mts +152 -9
  130. package/resources/workflows.d.mts.map +1 -1
  131. package/resources/workflows.d.ts +152 -9
  132. package/resources/workflows.d.ts.map +1 -1
  133. package/resources/workflows.js +2 -3
  134. package/resources/workflows.js.map +1 -1
  135. package/resources/workflows.mjs +2 -3
  136. package/resources/workflows.mjs.map +1 -1
  137. package/src/client.ts +8 -0
  138. package/src/index.ts +1 -0
  139. package/src/lib/asset.ts +1 -1
  140. package/src/lib/upload.ts +10 -5
  141. package/src/lib/user_selection_limits.ts +14 -0
  142. package/src/lib/workflow.ts +12 -1
  143. package/src/lib/workflow_converter.ts +176 -55
  144. package/src/lib/workflow_import_validator.ts +116 -1
  145. package/src/lib/workflow_validator.ts +12 -8
  146. package/src/resources/assets/assets.ts +164 -4
  147. package/src/resources/assets/index.ts +2 -0
  148. package/src/resources/generate.ts +142 -0
  149. package/src/resources/index.ts +4 -0
  150. package/src/resources/jobs.ts +42 -0
  151. package/src/resources/models/description.ts +6 -0
  152. package/src/resources/models/examples.ts +48 -0
  153. package/src/resources/models/index.ts +2 -0
  154. package/src/resources/models/models.ts +1610 -114
  155. package/src/resources/models/train.ts +42 -0
  156. package/src/resources/recommendations.ts +18 -3
  157. package/src/resources/usages.ts +16 -0
  158. package/src/resources/workflows.ts +176 -9
  159. package/src/version.ts +1 -1
  160. package/version.d.mts +1 -1
  161. package/version.d.ts +1 -1
  162. package/version.js +1 -1
  163. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"assets.js","sourceRoot":"","sources":["../../src/resources/assets/assets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,mEAA0C;AAC1C,4CAQoB;AAEpB,yDAM+B;AAE/B,uDAAiD;AACjD,2DAA4D;AAE5D,MAAa,MAAO,SAAQ,sBAAW;IACrC,QAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAExE;;;;OAIG;IACH,QAAQ,CACN,OAAe,EACf,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,C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AI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,SAAS,EAAE;YACvD,IAAI;YACJ,GAAG,OAAO;YACV,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAA,sBAAa,EAAC,OAAO,EAAE,KAAK,CAAC,EAAE;SACvE,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,UAAU,CACR,OAAe,EACf,MAA6B,EAC7B,OAAwB;QAExB,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,WAAW,OAAO,OAAO,EAAE;YACrD,IAAI;YACJ,GAAG,OAAO;YACV,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,IAAA,sBAAa,EAAC,OAAO,EAAE,KAAK,CAAC,EAAE;SACvD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAAyB,EAAE,OAAwB;QACxD,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE;YAClC,IAAI;YACJ,GAAG,OAAO;YACV,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAA,sBAAa,EAAC,OAAO,EAAE,KAAK,CAAC,EAAE;SACvE,CAAC,CAAC;IACL,CAAC;CACF;AAhLD,wBAgLC;AAomZD,MAAM,CAAC,QAAQ,GAAG,mBAAQ,CAAC"}
@@ -90,6 +90,18 @@ export class Assets extends APIResource {
90
90
  query: { originalAssets, projectId, ...omitUndefined(options?.query) },
91
91
  });
92
92
  }
93
+ /**
94
+ * Restore assets deleted in the last 30 days. Tags and collections are not
95
+ * restored. Max plan and above only.
96
+ */
97
+ restoreMultiple(params, options) {
98
+ const { projectId, ...body } = params;
99
+ return this._client.post('/assets/restore', {
100
+ body,
101
+ ...options,
102
+ query: { projectId, ...omitUndefined(options?.query) },
103
+ });
104
+ }
93
105
  /**
94
106
  * Unlock a canvas
95
107
  */
@@ -1 +1 @@
1
- {"version":3,"file":"assets.mjs","sourceRoot":"","sources":["../../src/resources/assets/assets.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,QAAQ,GAOT,uBAAmB;AAEpB,OAAO,EACL,YAAY,EAGZ,eAAe,GAEhB,kCAA8B;AAE/B,OAAO,EAAE,IAAI,EAAE,sCAAkC;AACjD,OAAO,EAAE,aAAa,EAAE,wCAAoC;AAE5D,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC,QAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAExE;;;;OAIG;IACH,QAAQ,CACN,OAAe,EACf,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,OAAO,EAAE,EAAE;YAChD,GAAG,OAAO;YACV,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE;SACtD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,OAAe,EACf,MAAyB,EACzB,OAAwB;QAExB,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,WAAW,OAAO,EAAE,EAAE;YAChD,IAAI;YACJ,GAAG,OAAO;YACV,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE;SACvE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;QACxD,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE;YAClC,IAAI;YACJ,GAAG,OAAO;YACV,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,aAAa,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE;SACvE,CAAC,CAAC;IACL,CAAC;CACF;AAomZD,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Assets, type AssetRetrieveResponse, type AssetUpdateResponse, type AssetListResponse, type AssetDeleteMultipleResponse, type AssetDuplicateResponse, type AssetGetBulkResponse, type AssetListSnapshotsResponse, type AssetLockResponse, type AssetUnlockResponse, type AssetUpdateTagsResponse, type AssetUploadResponse, type AssetRetrieveParams, type AssetUpdateParams, type AssetListParams, type AssetDeleteMultipleParams, type AssetDuplicateParams, type AssetGetBulkParams, type AssetListSnapshotsParams, type AssetLockParams, type AssetUnlockParams, type AssetUpdateTagsParams, type AssetUploadParams, type AssetListResponsesAssetsCursor, type AssetListSnapshotsResponsesSnapshotsCursor, } from "./assets.mjs";
1
+ export { Assets, type AssetRetrieveResponse, type AssetUpdateResponse, type AssetListResponse, type AssetDeleteMultipleResponse, type AssetDuplicateResponse, type AssetGetBulkResponse, type AssetListSnapshotsResponse, type AssetLockResponse, type AssetRestoreMultipleResponse, type AssetUnlockResponse, type AssetUpdateTagsResponse, type AssetUploadResponse, type AssetRetrieveParams, type AssetUpdateParams, type AssetListParams, type AssetDeleteMultipleParams, type AssetDuplicateParams, type AssetGetBulkParams, type AssetListSnapshotsParams, type AssetLockParams, type AssetRestoreMultipleParams, type AssetUnlockParams, type AssetUpdateTagsParams, type AssetUploadParams, type AssetListResponsesAssetsCursor, type AssetListSnapshotsResponsesSnapshotsCursor, } from "./assets.mjs";
2
2
  export { Download, type DownloadGetStatusResponse, type DownloadRequestResponse, type DownloadRequestBatchResponse, type DownloadGetStatusParams, type DownloadRequestParams, type DownloadRequestBatchParams, } from "./download.mjs";
3
3
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/assets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,0CAA0C,GAChD,qBAAiB;AAClB,OAAO,EACL,QAAQ,EACR,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,GAChC,uBAAmB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/assets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,0CAA0C,GAChD,qBAAiB;AAClB,OAAO,EACL,QAAQ,EACR,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,GAChC,uBAAmB"}
@@ -1,3 +1,3 @@
1
- export { Assets, type AssetRetrieveResponse, type AssetUpdateResponse, type AssetListResponse, type AssetDeleteMultipleResponse, type AssetDuplicateResponse, type AssetGetBulkResponse, type AssetListSnapshotsResponse, type AssetLockResponse, type AssetUnlockResponse, type AssetUpdateTagsResponse, type AssetUploadResponse, type AssetRetrieveParams, type AssetUpdateParams, type AssetListParams, type AssetDeleteMultipleParams, type AssetDuplicateParams, type AssetGetBulkParams, type AssetListSnapshotsParams, type AssetLockParams, type AssetUnlockParams, type AssetUpdateTagsParams, type AssetUploadParams, type AssetListResponsesAssetsCursor, type AssetListSnapshotsResponsesSnapshotsCursor, } from "./assets.js";
1
+ export { Assets, type AssetRetrieveResponse, type AssetUpdateResponse, type AssetListResponse, type AssetDeleteMultipleResponse, type AssetDuplicateResponse, type AssetGetBulkResponse, type AssetListSnapshotsResponse, type AssetLockResponse, type AssetRestoreMultipleResponse, type AssetUnlockResponse, type AssetUpdateTagsResponse, type AssetUploadResponse, type AssetRetrieveParams, type AssetUpdateParams, type AssetListParams, type AssetDeleteMultipleParams, type AssetDuplicateParams, type AssetGetBulkParams, type AssetListSnapshotsParams, type AssetLockParams, type AssetRestoreMultipleParams, type AssetUnlockParams, type AssetUpdateTagsParams, type AssetUploadParams, type AssetListResponsesAssetsCursor, type AssetListSnapshotsResponsesSnapshotsCursor, } from "./assets.js";
2
2
  export { Download, type DownloadGetStatusResponse, type DownloadRequestResponse, type DownloadRequestBatchResponse, type DownloadGetStatusParams, type DownloadRequestParams, type DownloadRequestBatchParams, } from "./download.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/assets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,0CAA0C,GAChD,oBAAiB;AAClB,OAAO,EACL,QAAQ,EACR,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,GAChC,sBAAmB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/assets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,0CAA0C,GAChD,oBAAiB;AAClB,OAAO,EACL,QAAQ,EACR,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,GAChC,sBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/assets/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCA0BkB;AAzBhB,gGAAA,MAAM,OAAA;AA0BR,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/assets/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCA4BkB;AA3BhB,gGAAA,MAAM,OAAA;AA4BR,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/assets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,MAAM,GAyBP,qBAAiB;AAClB,OAAO,EACL,QAAQ,GAOT,uBAAmB"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/assets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,MAAM,GA2BP,qBAAiB;AAClB,OAAO,EACL,QAAQ,GAOT,uBAAmB"}
@@ -391,6 +391,12 @@ export declare namespace GenerateCaptionResponse {
391
391
  * The minimum allowed value. Only available for \`number\` and array input types.
392
392
  */
393
393
  min?: number;
394
+ /**
395
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
396
+ * \`file_array\` input types for video and audio assets. Validated against
397
+ * \`asset.properties.duration\` at job creation time.
398
+ */
399
+ minDuration?: number;
394
400
  /**
395
401
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
396
402
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -552,6 +558,12 @@ export declare namespace GenerateCaptionResponse {
552
558
  * The minimum allowed value. Only available for \`number\` and array input types.
553
559
  */
554
560
  min?: number;
561
+ /**
562
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
563
+ * \`file_array\` input types for video and audio assets. Validated against
564
+ * \`asset.properties.duration\` at job creation time.
565
+ */
566
+ minDuration?: number;
555
567
  /**
556
568
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
557
569
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -1296,6 +1308,12 @@ export declare namespace GenerateDescribeStyleResponse {
1296
1308
  * The minimum allowed value. Only available for \`number\` and array input types.
1297
1309
  */
1298
1310
  min?: number;
1311
+ /**
1312
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
1313
+ * \`file_array\` input types for video and audio assets. Validated against
1314
+ * \`asset.properties.duration\` at job creation time.
1315
+ */
1316
+ minDuration?: number;
1299
1317
  /**
1300
1318
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
1301
1319
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -1457,6 +1475,12 @@ export declare namespace GenerateDescribeStyleResponse {
1457
1475
  * The minimum allowed value. Only available for \`number\` and array input types.
1458
1476
  */
1459
1477
  min?: number;
1478
+ /**
1479
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
1480
+ * \`file_array\` input types for video and audio assets. Validated against
1481
+ * \`asset.properties.duration\` at job creation time.
1482
+ */
1483
+ minDuration?: number;
1460
1484
  /**
1461
1485
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
1462
1486
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -2194,6 +2218,12 @@ export declare namespace GenerateDetectResponse {
2194
2218
  * The minimum allowed value. Only available for \`number\` and array input types.
2195
2219
  */
2196
2220
  min?: number;
2221
+ /**
2222
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
2223
+ * \`file_array\` input types for video and audio assets. Validated against
2224
+ * \`asset.properties.duration\` at job creation time.
2225
+ */
2226
+ minDuration?: number;
2197
2227
  /**
2198
2228
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
2199
2229
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -2355,6 +2385,12 @@ export declare namespace GenerateDetectResponse {
2355
2385
  * The minimum allowed value. Only available for \`number\` and array input types.
2356
2386
  */
2357
2387
  min?: number;
2388
+ /**
2389
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
2390
+ * \`file_array\` input types for video and audio assets. Validated against
2391
+ * \`asset.properties.duration\` at job creation time.
2392
+ */
2393
+ minDuration?: number;
2358
2394
  /**
2359
2395
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
2360
2396
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -2715,7 +2751,7 @@ export declare namespace GenerateDetectResponse {
2715
2751
  /**
2716
2752
  * source of the asset
2717
2753
  */
2718
- source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
2754
+ source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
2719
2755
  /**
2720
2756
  * The actual status
2721
2757
  */
@@ -2737,6 +2773,11 @@ export declare namespace GenerateDetectResponse {
2737
2773
  * Automatic captioning of the asset
2738
2774
  */
2739
2775
  automaticCaptioning?: string;
2776
+ /**
2777
+ * The asset deletion date as an ISO string (example: "2023-02-03T11:19:41.579Z").
2778
+ * Only set on deleted assets, listed with `deleted=true`.
2779
+ */
2780
+ deletedAt?: string;
2740
2781
  /**
2741
2782
  * The description, it will contain in priority:
2742
2783
  *
@@ -2787,7 +2828,7 @@ export declare namespace GenerateDetectResponse {
2787
2828
  * exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
2788
2829
  * Omitted when the stored format could not be determined.
2789
2830
  */
2790
- 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/flac' | '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-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
2831
+ 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/flac' | '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/vnd.usdz+zip' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x-vsplat' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
2791
2832
  /**
2792
2833
  * The output index of the asset within a job This index is an positive integer
2793
2834
  * that starts at 0 It is used to differentiate between multiple outputs of the
@@ -2824,7 +2865,7 @@ export declare namespace GenerateDetectResponse {
2824
2865
  * The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
2825
2866
  * from a text to image model
2826
2867
  */
2827
- type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
2868
+ type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
2828
2869
  /**
2829
2870
  * How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
2830
2871
  */
@@ -3987,6 +4028,12 @@ export declare namespace GenerateEmbedResponse {
3987
4028
  * The minimum allowed value. Only available for \`number\` and array input types.
3988
4029
  */
3989
4030
  min?: number;
4031
+ /**
4032
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
4033
+ * \`file_array\` input types for video and audio assets. Validated against
4034
+ * \`asset.properties.duration\` at job creation time.
4035
+ */
4036
+ minDuration?: number;
3990
4037
  /**
3991
4038
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
3992
4039
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -4148,6 +4195,12 @@ export declare namespace GenerateEmbedResponse {
4148
4195
  * The minimum allowed value. Only available for \`number\` and array input types.
4149
4196
  */
4150
4197
  min?: number;
4198
+ /**
4199
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
4200
+ * \`file_array\` input types for video and audio assets. Validated against
4201
+ * \`asset.properties.duration\` at job creation time.
4202
+ */
4203
+ minDuration?: number;
4151
4204
  /**
4152
4205
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
4153
4206
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -4980,6 +5033,12 @@ export declare namespace GeneratePatchResponse {
4980
5033
  * The minimum allowed value. Only available for \`number\` and array input types.
4981
5034
  */
4982
5035
  min?: number;
5036
+ /**
5037
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
5038
+ * \`file_array\` input types for video and audio assets. Validated against
5039
+ * \`asset.properties.duration\` at job creation time.
5040
+ */
5041
+ minDuration?: number;
4983
5042
  /**
4984
5043
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
4985
5044
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -5141,6 +5200,12 @@ export declare namespace GeneratePatchResponse {
5141
5200
  * The minimum allowed value. Only available for \`number\` and array input types.
5142
5201
  */
5143
5202
  min?: number;
5203
+ /**
5204
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
5205
+ * \`file_array\` input types for video and audio assets. Validated against
5206
+ * \`asset.properties.duration\` at job creation time.
5207
+ */
5208
+ minDuration?: number;
5144
5209
  /**
5145
5210
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
5146
5211
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -5501,7 +5566,7 @@ export declare namespace GeneratePatchResponse {
5501
5566
  /**
5502
5567
  * source of the asset
5503
5568
  */
5504
- source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
5569
+ source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
5505
5570
  /**
5506
5571
  * The actual status
5507
5572
  */
@@ -5523,6 +5588,11 @@ export declare namespace GeneratePatchResponse {
5523
5588
  * Automatic captioning of the asset
5524
5589
  */
5525
5590
  automaticCaptioning?: string;
5591
+ /**
5592
+ * The asset deletion date as an ISO string (example: "2023-02-03T11:19:41.579Z").
5593
+ * Only set on deleted assets, listed with `deleted=true`.
5594
+ */
5595
+ deletedAt?: string;
5526
5596
  /**
5527
5597
  * The description, it will contain in priority:
5528
5598
  *
@@ -5573,7 +5643,7 @@ export declare namespace GeneratePatchResponse {
5573
5643
  * exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
5574
5644
  * Omitted when the stored format could not be determined.
5575
5645
  */
5576
- 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/flac' | '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-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
5646
+ 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/flac' | '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/vnd.usdz+zip' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x-vsplat' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
5577
5647
  /**
5578
5648
  * The output index of the asset within a job This index is an positive integer
5579
5649
  * that starts at 0 It is used to differentiate between multiple outputs of the
@@ -5610,7 +5680,7 @@ export declare namespace GeneratePatchResponse {
5610
5680
  * The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
5611
5681
  * from a text to image model
5612
5682
  */
5613
- type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
5683
+ type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
5614
5684
  /**
5615
5685
  * How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
5616
5686
  */
@@ -6780,6 +6850,12 @@ export declare namespace GeneratePromptResponse {
6780
6850
  * The minimum allowed value. Only available for \`number\` and array input types.
6781
6851
  */
6782
6852
  min?: number;
6853
+ /**
6854
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
6855
+ * \`file_array\` input types for video and audio assets. Validated against
6856
+ * \`asset.properties.duration\` at job creation time.
6857
+ */
6858
+ minDuration?: number;
6783
6859
  /**
6784
6860
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
6785
6861
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -6941,6 +7017,12 @@ export declare namespace GeneratePromptResponse {
6941
7017
  * The minimum allowed value. Only available for \`number\` and array input types.
6942
7018
  */
6943
7019
  min?: number;
7020
+ /**
7021
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
7022
+ * \`file_array\` input types for video and audio assets. Validated against
7023
+ * \`asset.properties.duration\` at job creation time.
7024
+ */
7025
+ minDuration?: number;
6944
7026
  /**
6945
7027
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
6946
7028
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -7505,7 +7587,7 @@ export declare namespace GenerateQualityGateResponse {
7505
7587
  /**
7506
7588
  * source of the asset
7507
7589
  */
7508
- source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
7590
+ source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
7509
7591
  /**
7510
7592
  * The actual status
7511
7593
  */
@@ -7527,6 +7609,11 @@ export declare namespace GenerateQualityGateResponse {
7527
7609
  * Automatic captioning of the asset
7528
7610
  */
7529
7611
  automaticCaptioning?: string;
7612
+ /**
7613
+ * The asset deletion date as an ISO string (example: "2023-02-03T11:19:41.579Z").
7614
+ * Only set on deleted assets, listed with `deleted=true`.
7615
+ */
7616
+ deletedAt?: string;
7530
7617
  /**
7531
7618
  * The description, it will contain in priority:
7532
7619
  *
@@ -7577,7 +7664,7 @@ export declare namespace GenerateQualityGateResponse {
7577
7664
  * exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
7578
7665
  * Omitted when the stored format could not be determined.
7579
7666
  */
7580
- 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/flac' | '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-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
7667
+ 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/flac' | '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/vnd.usdz+zip' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x-vsplat' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
7581
7668
  /**
7582
7669
  * The output index of the asset within a job This index is an positive integer
7583
7670
  * that starts at 0 It is used to differentiate between multiple outputs of the
@@ -7614,7 +7701,7 @@ export declare namespace GenerateQualityGateResponse {
7614
7701
  * The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
7615
7702
  * from a text to image model
7616
7703
  */
7617
- type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
7704
+ type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
7618
7705
  /**
7619
7706
  * How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
7620
7707
  */
@@ -8788,6 +8875,12 @@ export declare namespace GenerateRunModelResponse {
8788
8875
  * The minimum allowed value. Only available for \`number\` and array input types.
8789
8876
  */
8790
8877
  min?: number;
8878
+ /**
8879
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
8880
+ * \`file_array\` input types for video and audio assets. Validated against
8881
+ * \`asset.properties.duration\` at job creation time.
8882
+ */
8883
+ minDuration?: number;
8791
8884
  /**
8792
8885
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
8793
8886
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -8949,6 +9042,12 @@ export declare namespace GenerateRunModelResponse {
8949
9042
  * The minimum allowed value. Only available for \`number\` and array input types.
8950
9043
  */
8951
9044
  min?: number;
9045
+ /**
9046
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
9047
+ * \`file_array\` input types for video and audio assets. Validated against
9048
+ * \`asset.properties.duration\` at job creation time.
9049
+ */
9050
+ minDuration?: number;
8952
9051
  /**
8953
9052
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
8954
9053
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -9693,6 +9792,12 @@ export declare namespace GenerateTranslateResponse {
9693
9792
  * The minimum allowed value. Only available for \`number\` and array input types.
9694
9793
  */
9695
9794
  min?: number;
9795
+ /**
9796
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
9797
+ * \`file_array\` input types for video and audio assets. Validated against
9798
+ * \`asset.properties.duration\` at job creation time.
9799
+ */
9800
+ minDuration?: number;
9696
9801
  /**
9697
9802
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
9698
9803
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
@@ -9854,6 +9959,12 @@ export declare namespace GenerateTranslateResponse {
9854
9959
  * The minimum allowed value. Only available for \`number\` and array input types.
9855
9960
  */
9856
9961
  min?: number;
9962
+ /**
9963
+ * The minimum allowed media duration in seconds. Only applies to \`file\` and
9964
+ * \`file_array\` input types for video and audio assets. Validated against
9965
+ * \`asset.properties.duration\` at job creation time.
9966
+ */
9967
+ minDuration?: number;
9857
9968
  /**
9858
9969
  * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
9859
9970
  * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF