@scenario-labs/sdk 3.1.0 → 3.3.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 (529) hide show
  1. package/CHANGELOG.md +119 -0
  2. package/client.d.mts +22 -7
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +22 -7
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -0
  9. package/client.mjs.map +1 -1
  10. package/core/pagination.d.mts +42 -0
  11. package/core/pagination.d.mts.map +1 -1
  12. package/core/pagination.d.ts +42 -0
  13. package/core/pagination.d.ts.map +1 -1
  14. package/core/pagination.js +79 -1
  15. package/core/pagination.js.map +1 -1
  16. package/core/pagination.mjs +75 -0
  17. package/core/pagination.mjs.map +1 -1
  18. package/internal/utils/values.d.mts +6 -0
  19. package/internal/utils/values.d.mts.map +1 -1
  20. package/internal/utils/values.d.ts +6 -0
  21. package/internal/utils/values.d.ts.map +1 -1
  22. package/internal/utils/values.js +11 -0
  23. package/internal/utils/values.js.map +1 -1
  24. package/internal/utils/values.mjs +10 -0
  25. package/internal/utils/values.mjs.map +1 -1
  26. package/lib/generate.js +7 -7
  27. package/lib/generate.js.map +1 -1
  28. package/lib/generate.mjs +7 -7
  29. package/lib/generate.mjs.map +1 -1
  30. package/lib/job.d.mts +1 -1
  31. package/lib/job.d.mts.map +1 -1
  32. package/lib/job.d.ts +1 -1
  33. package/lib/job.d.ts.map +1 -1
  34. package/lib/job.js +5 -6
  35. package/lib/job.js.map +1 -1
  36. package/lib/job.mjs +6 -7
  37. package/lib/job.mjs.map +1 -1
  38. package/lib/models.d.mts.map +1 -1
  39. package/lib/models.d.ts.map +1 -1
  40. package/lib/models.js +7 -5
  41. package/lib/models.js.map +1 -1
  42. package/lib/models.mjs +8 -6
  43. package/lib/models.mjs.map +1 -1
  44. package/lib/query.d.mts +21 -0
  45. package/lib/query.d.mts.map +1 -0
  46. package/lib/query.d.ts +21 -0
  47. package/lib/query.d.ts.map +1 -0
  48. package/lib/query.js +36 -0
  49. package/lib/query.js.map +1 -0
  50. package/lib/query.mjs +33 -0
  51. package/lib/query.mjs.map +1 -0
  52. package/lib/scenario.d.mts +3 -0
  53. package/lib/scenario.d.mts.map +1 -1
  54. package/lib/scenario.d.ts +3 -0
  55. package/lib/scenario.d.ts.map +1 -1
  56. package/lib/scenario.js +6 -0
  57. package/lib/scenario.js.map +1 -1
  58. package/lib/scenario.mjs +6 -0
  59. package/lib/scenario.mjs.map +1 -1
  60. package/lib/scope.d.mts +27 -7
  61. package/lib/scope.d.mts.map +1 -1
  62. package/lib/scope.d.ts +27 -7
  63. package/lib/scope.d.ts.map +1 -1
  64. package/lib/scope.js +40 -7
  65. package/lib/scope.js.map +1 -1
  66. package/lib/scope.mjs +37 -7
  67. package/lib/scope.mjs.map +1 -1
  68. package/lib/upload.d.mts +1 -1
  69. package/lib/upload.d.mts.map +1 -1
  70. package/lib/upload.d.ts +1 -1
  71. package/lib/upload.d.ts.map +1 -1
  72. package/lib/upload.js +6 -7
  73. package/lib/upload.js.map +1 -1
  74. package/lib/upload.mjs +7 -8
  75. package/lib/upload.mjs.map +1 -1
  76. package/lib/workflow.d.mts.map +1 -1
  77. package/lib/workflow.d.ts.map +1 -1
  78. package/lib/workflow.js +8 -6
  79. package/lib/workflow.js.map +1 -1
  80. package/lib/workflow.mjs +9 -7
  81. package/lib/workflow.mjs.map +1 -1
  82. package/lib/workflow_converter.d.mts +6 -0
  83. package/lib/workflow_converter.d.mts.map +1 -1
  84. package/lib/workflow_converter.d.ts +6 -0
  85. package/lib/workflow_converter.d.ts.map +1 -1
  86. package/lib/workflow_converter.js +99 -12
  87. package/lib/workflow_converter.js.map +1 -1
  88. package/lib/workflow_converter.mjs +99 -12
  89. package/lib/workflow_converter.mjs.map +1 -1
  90. package/lib/workflow_validator.d.mts +8 -1
  91. package/lib/workflow_validator.d.mts.map +1 -1
  92. package/lib/workflow_validator.d.ts +8 -1
  93. package/lib/workflow_validator.d.ts.map +1 -1
  94. package/lib/workflow_validator.js +154 -1
  95. package/lib/workflow_validator.js.map +1 -1
  96. package/lib/workflow_validator.mjs +154 -1
  97. package/lib/workflow_validator.mjs.map +1 -1
  98. package/package.json +1 -1
  99. package/resources/assets/assets.d.mts +304 -122
  100. package/resources/assets/assets.d.mts.map +1 -1
  101. package/resources/assets/assets.d.ts +304 -122
  102. package/resources/assets/assets.d.ts.map +1 -1
  103. package/resources/assets/assets.js +34 -11
  104. package/resources/assets/assets.js.map +1 -1
  105. package/resources/assets/assets.mjs +34 -11
  106. package/resources/assets/assets.mjs.map +1 -1
  107. package/resources/assets/download.d.mts +39 -5
  108. package/resources/assets/download.d.mts.map +1 -1
  109. package/resources/assets/download.d.ts +39 -5
  110. package/resources/assets/download.d.ts.map +1 -1
  111. package/resources/assets/download.js +16 -4
  112. package/resources/assets/download.js.map +1 -1
  113. package/resources/assets/download.mjs +16 -4
  114. package/resources/assets/download.mjs.map +1 -1
  115. package/resources/collections/assets.d.mts.map +1 -1
  116. package/resources/collections/assets.d.ts.map +1 -1
  117. package/resources/collections/assets.js +3 -2
  118. package/resources/collections/assets.js.map +1 -1
  119. package/resources/collections/assets.mjs +3 -2
  120. package/resources/collections/assets.mjs.map +1 -1
  121. package/resources/collections/collections.d.mts.map +1 -1
  122. package/resources/collections/collections.d.ts.map +1 -1
  123. package/resources/collections/collections.js +20 -5
  124. package/resources/collections/collections.js.map +1 -1
  125. package/resources/collections/collections.mjs +20 -5
  126. package/resources/collections/collections.mjs.map +1 -1
  127. package/resources/collections/models.d.mts.map +1 -1
  128. package/resources/collections/models.d.ts.map +1 -1
  129. package/resources/collections/models.js +3 -2
  130. package/resources/collections/models.js.map +1 -1
  131. package/resources/collections/models.mjs +3 -2
  132. package/resources/collections/models.mjs.map +1 -1
  133. package/resources/generate.d.mts +2089 -437
  134. package/resources/generate.d.mts.map +1 -1
  135. package/resources/generate.d.ts +2089 -437
  136. package/resources/generate.d.ts.map +1 -1
  137. package/resources/generate.js +62 -9
  138. package/resources/generate.js.map +1 -1
  139. package/resources/generate.mjs +62 -9
  140. package/resources/generate.mjs.map +1 -1
  141. package/resources/index.d.mts +6 -3
  142. package/resources/index.d.mts.map +1 -1
  143. package/resources/index.d.ts +6 -3
  144. package/resources/index.d.ts.map +1 -1
  145. package/resources/index.js +7 -1
  146. package/resources/index.js.map +1 -1
  147. package/resources/index.mjs +3 -0
  148. package/resources/index.mjs.map +1 -1
  149. package/resources/jobs.d.mts +253 -120
  150. package/resources/jobs.d.mts.map +1 -1
  151. package/resources/jobs.d.ts +253 -120
  152. package/resources/jobs.d.ts.map +1 -1
  153. package/resources/jobs.js +13 -5
  154. package/resources/jobs.js.map +1 -1
  155. package/resources/jobs.mjs +13 -5
  156. package/resources/jobs.mjs.map +1 -1
  157. package/resources/models/description.d.mts +18 -0
  158. package/resources/models/description.d.mts.map +1 -1
  159. package/resources/models/description.d.ts +18 -0
  160. package/resources/models/description.d.ts.map +1 -1
  161. package/resources/models/description.js +6 -2
  162. package/resources/models/description.js.map +1 -1
  163. package/resources/models/description.mjs +6 -2
  164. package/resources/models/description.mjs.map +1 -1
  165. package/resources/models/examples.d.mts +198 -92
  166. package/resources/models/examples.d.mts.map +1 -1
  167. package/resources/models/examples.d.ts +198 -92
  168. package/resources/models/examples.d.ts.map +1 -1
  169. package/resources/models/examples.js +6 -2
  170. package/resources/models/examples.js.map +1 -1
  171. package/resources/models/examples.mjs +6 -2
  172. package/resources/models/examples.mjs.map +1 -1
  173. package/resources/models/index.d.mts +3 -0
  174. package/resources/models/index.d.mts.map +1 -1
  175. package/resources/models/index.d.ts +3 -0
  176. package/resources/models/index.d.ts.map +1 -1
  177. package/resources/models/index.js +7 -1
  178. package/resources/models/index.js.map +1 -1
  179. package/resources/models/index.mjs +3 -0
  180. package/resources/models/index.mjs.map +1 -1
  181. package/resources/models/models.d.mts +346 -112
  182. package/resources/models/models.d.mts.map +1 -1
  183. package/resources/models/models.d.ts +346 -112
  184. package/resources/models/models.d.ts.map +1 -1
  185. package/resources/models/models.js +57 -12
  186. package/resources/models/models.js.map +1 -1
  187. package/resources/models/models.mjs +57 -12
  188. package/resources/models/models.mjs.map +1 -1
  189. package/resources/models/presets.d.mts +1016 -0
  190. package/resources/models/presets.d.mts.map +1 -0
  191. package/resources/models/presets.d.ts +1016 -0
  192. package/resources/models/presets.d.ts.map +1 -0
  193. package/resources/models/presets.js +52 -0
  194. package/resources/models/presets.js.map +1 -0
  195. package/resources/models/presets.mjs +48 -0
  196. package/resources/models/presets.mjs.map +1 -0
  197. package/resources/models/prompt-guide.d.mts +64 -0
  198. package/resources/models/prompt-guide.d.mts.map +1 -0
  199. package/resources/models/prompt-guide.d.ts +64 -0
  200. package/resources/models/prompt-guide.d.ts.map +1 -0
  201. package/resources/models/prompt-guide.js +31 -0
  202. package/resources/models/prompt-guide.js.map +1 -0
  203. package/resources/models/prompt-guide.mjs +27 -0
  204. package/resources/models/prompt-guide.mjs.map +1 -0
  205. package/resources/models/scores.d.mts +278 -0
  206. package/resources/models/scores.d.mts.map +1 -0
  207. package/resources/models/scores.d.ts +278 -0
  208. package/resources/models/scores.d.ts.map +1 -0
  209. package/resources/models/scores.js +29 -0
  210. package/resources/models/scores.js.map +1 -0
  211. package/resources/models/scores.mjs +25 -0
  212. package/resources/models/scores.mjs.map +1 -0
  213. package/resources/models/train.d.mts +186 -83
  214. package/resources/models/train.d.mts.map +1 -1
  215. package/resources/models/train.d.ts +186 -83
  216. package/resources/models/train.d.ts.map +1 -1
  217. package/resources/models/train.js +4 -3
  218. package/resources/models/train.js.map +1 -1
  219. package/resources/models/train.mjs +4 -3
  220. package/resources/models/train.mjs.map +1 -1
  221. package/resources/models/training-images.d.mts.map +1 -1
  222. package/resources/models/training-images.d.ts.map +1 -1
  223. package/resources/models/training-images.js +5 -4
  224. package/resources/models/training-images.js.map +1 -1
  225. package/resources/models/training-images.mjs +5 -4
  226. package/resources/models/training-images.mjs.map +1 -1
  227. package/resources/projects/api-keys.d.mts +54 -0
  228. package/resources/projects/api-keys.d.mts.map +1 -0
  229. package/resources/projects/api-keys.d.ts +54 -0
  230. package/resources/projects/api-keys.d.ts.map +1 -0
  231. package/resources/projects/api-keys.js +23 -0
  232. package/resources/projects/api-keys.js.map +1 -0
  233. package/resources/projects/api-keys.mjs +19 -0
  234. package/resources/projects/api-keys.mjs.map +1 -0
  235. package/resources/projects/brief.d.mts +149 -0
  236. package/resources/projects/brief.d.mts.map +1 -0
  237. package/resources/projects/brief.d.ts +149 -0
  238. package/resources/projects/brief.d.ts.map +1 -0
  239. package/resources/projects/brief.js +28 -0
  240. package/resources/projects/brief.js.map +1 -0
  241. package/resources/projects/brief.mjs +24 -0
  242. package/resources/projects/brief.mjs.map +1 -0
  243. package/resources/projects/index.d.mts +9 -0
  244. package/resources/projects/index.d.mts.map +1 -0
  245. package/resources/projects/index.d.ts +9 -0
  246. package/resources/projects/index.d.ts.map +1 -0
  247. package/resources/projects/index.js +21 -0
  248. package/resources/projects/index.js.map +1 -0
  249. package/resources/projects/index.mjs +10 -0
  250. package/resources/projects/index.mjs.map +1 -0
  251. package/resources/projects/instructions.d.mts +102 -0
  252. package/resources/projects/instructions.d.mts.map +1 -0
  253. package/resources/projects/instructions.d.ts +102 -0
  254. package/resources/projects/instructions.d.ts.map +1 -0
  255. package/resources/projects/instructions.js +24 -0
  256. package/resources/projects/instructions.js.map +1 -0
  257. package/resources/projects/instructions.mjs +20 -0
  258. package/resources/projects/instructions.mjs.map +1 -0
  259. package/resources/projects/members.d.mts +788 -0
  260. package/resources/projects/members.d.mts.map +1 -0
  261. package/resources/projects/members.d.ts +788 -0
  262. package/resources/projects/members.d.ts.map +1 -0
  263. package/resources/projects/members.js +30 -0
  264. package/resources/projects/members.js.map +1 -0
  265. package/resources/projects/members.mjs +26 -0
  266. package/resources/projects/members.mjs.map +1 -0
  267. package/resources/projects/memory.d.mts +102 -0
  268. package/resources/projects/memory.d.mts.map +1 -0
  269. package/resources/projects/memory.d.ts +102 -0
  270. package/resources/projects/memory.d.ts.map +1 -0
  271. package/resources/projects/memory.js +24 -0
  272. package/resources/projects/memory.js.map +1 -0
  273. package/resources/projects/memory.mjs +20 -0
  274. package/resources/projects/memory.mjs.map +1 -0
  275. package/resources/projects/projects.d.mts +1129 -0
  276. package/resources/projects/projects.d.mts.map +1 -0
  277. package/resources/projects/projects.d.ts +1129 -0
  278. package/resources/projects/projects.d.ts.map +1 -0
  279. package/resources/projects/projects.js +79 -0
  280. package/resources/projects/projects.js.map +1 -0
  281. package/resources/projects/projects.mjs +74 -0
  282. package/resources/projects/projects.mjs.map +1 -0
  283. package/resources/projects/watermark.d.mts +459 -0
  284. package/resources/projects/watermark.d.mts.map +1 -0
  285. package/resources/projects/watermark.d.ts +459 -0
  286. package/resources/projects/watermark.d.ts.map +1 -0
  287. package/resources/projects/watermark.js +46 -0
  288. package/resources/projects/watermark.js.map +1 -0
  289. package/resources/projects/watermark.mjs +42 -0
  290. package/resources/projects/watermark.mjs.map +1 -0
  291. package/resources/projects/webhook-endpoints/events.d.mts +87 -0
  292. package/resources/projects/webhook-endpoints/events.d.mts.map +1 -0
  293. package/resources/projects/webhook-endpoints/events.d.ts +87 -0
  294. package/resources/projects/webhook-endpoints/events.d.ts.map +1 -0
  295. package/resources/projects/webhook-endpoints/events.js +28 -0
  296. package/resources/projects/webhook-endpoints/events.js.map +1 -0
  297. package/resources/projects/webhook-endpoints/events.mjs +24 -0
  298. package/resources/projects/webhook-endpoints/events.mjs.map +1 -0
  299. package/resources/projects/webhook-endpoints/index.d.mts +3 -0
  300. package/resources/projects/webhook-endpoints/index.d.mts.map +1 -0
  301. package/resources/projects/webhook-endpoints/index.d.ts +3 -0
  302. package/resources/projects/webhook-endpoints/index.d.ts.map +1 -0
  303. package/resources/projects/webhook-endpoints/index.js +9 -0
  304. package/resources/projects/webhook-endpoints/index.js.map +1 -0
  305. package/resources/projects/webhook-endpoints/index.mjs +4 -0
  306. package/resources/projects/webhook-endpoints/index.mjs.map +1 -0
  307. package/resources/projects/webhook-endpoints/webhook-endpoints.d.mts +249 -0
  308. package/resources/projects/webhook-endpoints/webhook-endpoints.d.mts.map +1 -0
  309. package/resources/projects/webhook-endpoints/webhook-endpoints.d.ts +249 -0
  310. package/resources/projects/webhook-endpoints/webhook-endpoints.d.ts.map +1 -0
  311. package/resources/projects/webhook-endpoints/webhook-endpoints.js +44 -0
  312. package/resources/projects/webhook-endpoints/webhook-endpoints.js.map +1 -0
  313. package/resources/projects/webhook-endpoints/webhook-endpoints.mjs +39 -0
  314. package/resources/projects/webhook-endpoints/webhook-endpoints.mjs.map +1 -0
  315. package/resources/projects/webhook-endpoints.d.mts +2 -0
  316. package/resources/projects/webhook-endpoints.d.mts.map +1 -0
  317. package/resources/projects/webhook-endpoints.d.ts +2 -0
  318. package/resources/projects/webhook-endpoints.d.ts.map +1 -0
  319. package/resources/projects/webhook-endpoints.js +6 -0
  320. package/resources/projects/webhook-endpoints.js.map +1 -0
  321. package/resources/projects/webhook-endpoints.mjs +3 -0
  322. package/resources/projects/webhook-endpoints.mjs.map +1 -0
  323. package/resources/projects.d.mts +2 -0
  324. package/resources/projects.d.mts.map +1 -0
  325. package/resources/projects.d.ts +2 -0
  326. package/resources/projects.d.ts.map +1 -0
  327. package/resources/projects.js +6 -0
  328. package/resources/projects.js.map +1 -0
  329. package/resources/projects.mjs +3 -0
  330. package/resources/projects.mjs.map +1 -0
  331. package/resources/recommendations.d.mts +1107 -0
  332. package/resources/recommendations.d.mts.map +1 -0
  333. package/resources/recommendations.d.ts +1107 -0
  334. package/resources/recommendations.d.ts.map +1 -0
  335. package/resources/recommendations.js +17 -0
  336. package/resources/recommendations.js.map +1 -0
  337. package/resources/recommendations.mjs +13 -0
  338. package/resources/recommendations.mjs.map +1 -0
  339. package/resources/search.d.mts +168 -5
  340. package/resources/search.d.mts.map +1 -1
  341. package/resources/search.d.ts +168 -5
  342. package/resources/search.d.ts.map +1 -1
  343. package/resources/search.js +17 -3
  344. package/resources/search.js.map +1 -1
  345. package/resources/search.mjs +17 -3
  346. package/resources/search.mjs.map +1 -1
  347. package/resources/tags.d.mts.map +1 -1
  348. package/resources/tags.d.ts.map +1 -1
  349. package/resources/tags.js +5 -1
  350. package/resources/tags.js.map +1 -1
  351. package/resources/tags.mjs +5 -1
  352. package/resources/tags.mjs.map +1 -1
  353. package/resources/teams/brief.d.mts +149 -0
  354. package/resources/teams/brief.d.mts.map +1 -0
  355. package/resources/teams/brief.d.ts +149 -0
  356. package/resources/teams/brief.d.ts.map +1 -0
  357. package/resources/teams/brief.js +28 -0
  358. package/resources/teams/brief.js.map +1 -0
  359. package/resources/teams/brief.mjs +24 -0
  360. package/resources/teams/brief.mjs.map +1 -0
  361. package/resources/teams/index.d.mts +7 -0
  362. package/resources/teams/index.d.mts.map +1 -0
  363. package/resources/teams/index.d.ts +7 -0
  364. package/resources/teams/index.d.ts.map +1 -0
  365. package/resources/teams/index.js +17 -0
  366. package/resources/teams/index.js.map +1 -0
  367. package/resources/teams/index.mjs +8 -0
  368. package/resources/teams/index.mjs.map +1 -0
  369. package/resources/teams/ip-filters.d.mts +115 -0
  370. package/resources/teams/ip-filters.d.mts.map +1 -0
  371. package/resources/teams/ip-filters.d.ts +115 -0
  372. package/resources/teams/ip-filters.d.ts.map +1 -0
  373. package/resources/teams/ip-filters.js +45 -0
  374. package/resources/teams/ip-filters.js.map +1 -0
  375. package/resources/teams/ip-filters.mjs +41 -0
  376. package/resources/teams/ip-filters.mjs.map +1 -0
  377. package/resources/teams/members.d.mts +204 -0
  378. package/resources/teams/members.d.mts.map +1 -0
  379. package/resources/teams/members.d.ts +204 -0
  380. package/resources/teams/members.d.ts.map +1 -0
  381. package/resources/teams/members.js +30 -0
  382. package/resources/teams/members.js.map +1 -0
  383. package/resources/teams/members.mjs +26 -0
  384. package/resources/teams/members.mjs.map +1 -0
  385. package/resources/teams/teams.d.mts +878 -0
  386. package/resources/teams/teams.d.mts.map +1 -0
  387. package/resources/teams/teams.d.ts +878 -0
  388. package/resources/teams/teams.d.ts.map +1 -0
  389. package/resources/teams/teams.js +66 -0
  390. package/resources/teams/teams.js.map +1 -0
  391. package/resources/teams/teams.mjs +61 -0
  392. package/resources/teams/teams.mjs.map +1 -0
  393. package/resources/teams/watermark.d.mts +459 -0
  394. package/resources/teams/watermark.d.mts.map +1 -0
  395. package/resources/teams/watermark.d.ts +459 -0
  396. package/resources/teams/watermark.d.ts.map +1 -0
  397. package/resources/teams/watermark.js +46 -0
  398. package/resources/teams/watermark.js.map +1 -0
  399. package/resources/teams/watermark.mjs +42 -0
  400. package/resources/teams/watermark.mjs.map +1 -0
  401. package/resources/teams/webhook-endpoints/events.d.mts +87 -0
  402. package/resources/teams/webhook-endpoints/events.d.mts.map +1 -0
  403. package/resources/teams/webhook-endpoints/events.d.ts +87 -0
  404. package/resources/teams/webhook-endpoints/events.d.ts.map +1 -0
  405. package/resources/teams/webhook-endpoints/events.js +28 -0
  406. package/resources/teams/webhook-endpoints/events.js.map +1 -0
  407. package/resources/teams/webhook-endpoints/events.mjs +24 -0
  408. package/resources/teams/webhook-endpoints/events.mjs.map +1 -0
  409. package/resources/teams/webhook-endpoints/index.d.mts +3 -0
  410. package/resources/teams/webhook-endpoints/index.d.mts.map +1 -0
  411. package/resources/teams/webhook-endpoints/index.d.ts +3 -0
  412. package/resources/teams/webhook-endpoints/index.d.ts.map +1 -0
  413. package/resources/teams/webhook-endpoints/index.js +9 -0
  414. package/resources/teams/webhook-endpoints/index.js.map +1 -0
  415. package/resources/teams/webhook-endpoints/index.mjs +4 -0
  416. package/resources/teams/webhook-endpoints/index.mjs.map +1 -0
  417. package/resources/teams/webhook-endpoints/webhook-endpoints.d.mts +250 -0
  418. package/resources/teams/webhook-endpoints/webhook-endpoints.d.mts.map +1 -0
  419. package/resources/teams/webhook-endpoints/webhook-endpoints.d.ts +250 -0
  420. package/resources/teams/webhook-endpoints/webhook-endpoints.d.ts.map +1 -0
  421. package/resources/teams/webhook-endpoints/webhook-endpoints.js +45 -0
  422. package/resources/teams/webhook-endpoints/webhook-endpoints.js.map +1 -0
  423. package/resources/teams/webhook-endpoints/webhook-endpoints.mjs +40 -0
  424. package/resources/teams/webhook-endpoints/webhook-endpoints.mjs.map +1 -0
  425. package/resources/teams/webhook-endpoints.d.mts +2 -0
  426. package/resources/teams/webhook-endpoints.d.mts.map +1 -0
  427. package/resources/teams/webhook-endpoints.d.ts +2 -0
  428. package/resources/teams/webhook-endpoints.d.ts.map +1 -0
  429. package/resources/teams/webhook-endpoints.js +6 -0
  430. package/resources/teams/webhook-endpoints.js.map +1 -0
  431. package/resources/teams/webhook-endpoints.mjs +3 -0
  432. package/resources/teams/webhook-endpoints.mjs.map +1 -0
  433. package/resources/teams.d.mts +2 -0
  434. package/resources/teams.d.mts.map +1 -0
  435. package/resources/teams.d.ts +2 -0
  436. package/resources/teams.d.ts.map +1 -0
  437. package/resources/teams.js +6 -0
  438. package/resources/teams.js.map +1 -0
  439. package/resources/teams.mjs +3 -0
  440. package/resources/teams.mjs.map +1 -0
  441. package/resources/uploads.d.mts +13 -3
  442. package/resources/uploads.d.mts.map +1 -1
  443. package/resources/uploads.d.ts +13 -3
  444. package/resources/uploads.d.ts.map +1 -1
  445. package/resources/uploads.js +16 -4
  446. package/resources/uploads.js.map +1 -1
  447. package/resources/uploads.mjs +16 -4
  448. package/resources/uploads.mjs.map +1 -1
  449. package/resources/usages.d.mts +85 -51
  450. package/resources/usages.d.mts.map +1 -1
  451. package/resources/usages.d.ts +85 -51
  452. package/resources/usages.d.ts.map +1 -1
  453. package/resources/usages.js +2 -1
  454. package/resources/usages.js.map +1 -1
  455. package/resources/usages.mjs +2 -1
  456. package/resources/usages.mjs.map +1 -1
  457. package/resources/workflows.d.mts +1639 -385
  458. package/resources/workflows.d.mts.map +1 -1
  459. package/resources/workflows.d.ts +1639 -385
  460. package/resources/workflows.d.ts.map +1 -1
  461. package/resources/workflows.js +39 -8
  462. package/resources/workflows.js.map +1 -1
  463. package/resources/workflows.mjs +39 -8
  464. package/resources/workflows.mjs.map +1 -1
  465. package/src/client.ts +107 -0
  466. package/src/core/pagination.ts +144 -0
  467. package/src/internal/utils/values.ts +10 -0
  468. package/src/lib/generate.ts +7 -7
  469. package/src/lib/job.ts +9 -7
  470. package/src/lib/models.ts +8 -6
  471. package/src/lib/query.ts +42 -0
  472. package/src/lib/scenario.ts +8 -0
  473. package/src/lib/scope.ts +42 -7
  474. package/src/lib/upload.ts +10 -8
  475. package/src/lib/workflow.ts +9 -7
  476. package/src/lib/workflow_converter.ts +126 -12
  477. package/src/lib/workflow_validator.ts +183 -1
  478. package/src/resources/assets/assets.ts +766 -132
  479. package/src/resources/assets/download.ts +61 -9
  480. package/src/resources/collections/assets.ts +3 -2
  481. package/src/resources/collections/collections.ts +20 -5
  482. package/src/resources/collections/models.ts +3 -2
  483. package/src/resources/generate.ts +2935 -512
  484. package/src/resources/index.ts +37 -0
  485. package/src/resources/jobs.ts +277 -121
  486. package/src/resources/models/description.ts +126 -2
  487. package/src/resources/models/examples.ts +318 -92
  488. package/src/resources/models/index.ts +25 -0
  489. package/src/resources/models/models.ts +463 -124
  490. package/src/resources/models/presets.ts +1335 -0
  491. package/src/resources/models/prompt-guide.ts +102 -0
  492. package/src/resources/models/scores.ts +383 -0
  493. package/src/resources/models/train.ts +202 -87
  494. package/src/resources/models/training-images.ts +5 -4
  495. package/src/resources/projects/api-keys.ts +86 -0
  496. package/src/resources/projects/brief.ts +197 -0
  497. package/src/resources/projects/index.ts +71 -0
  498. package/src/resources/projects/instructions.ts +134 -0
  499. package/src/resources/projects/members.ts +958 -0
  500. package/src/resources/projects/memory.ts +134 -0
  501. package/src/resources/projects/projects.ts +1478 -0
  502. package/src/resources/projects/watermark.ts +590 -0
  503. package/src/resources/projects/webhook-endpoints/events.ts +179 -0
  504. package/src/resources/projects/webhook-endpoints/index.ts +19 -0
  505. package/src/resources/projects/webhook-endpoints/webhook-endpoints.ts +452 -0
  506. package/src/resources/projects/webhook-endpoints.ts +3 -0
  507. package/src/resources/projects.ts +3 -0
  508. package/src/resources/recommendations.ts +1502 -0
  509. package/src/resources/search.ts +220 -8
  510. package/src/resources/tags.ts +5 -1
  511. package/src/resources/teams/brief.ts +193 -0
  512. package/src/resources/teams/index.ts +62 -0
  513. package/src/resources/teams/ip-filters.ts +177 -0
  514. package/src/resources/teams/members.ts +282 -0
  515. package/src/resources/teams/teams.ts +1255 -0
  516. package/src/resources/teams/watermark.ts +590 -0
  517. package/src/resources/teams/webhook-endpoints/events.ts +179 -0
  518. package/src/resources/teams/webhook-endpoints/index.ts +19 -0
  519. package/src/resources/teams/webhook-endpoints/webhook-endpoints.ts +453 -0
  520. package/src/resources/teams/webhook-endpoints.ts +3 -0
  521. package/src/resources/teams.ts +3 -0
  522. package/src/resources/uploads.ts +30 -7
  523. package/src/resources/usages.ts +98 -50
  524. package/src/resources/workflows.ts +2053 -434
  525. package/src/version.ts +1 -1
  526. package/version.d.mts +1 -1
  527. package/version.d.ts +1 -1
  528. package/version.js +1 -1
  529. package/version.mjs +1 -1
@@ -154,6 +154,15 @@ export declare namespace ExampleUpdateResponse {
154
154
  * asset data has been replaced with a new file during the creation of the asset.
155
155
  */
156
156
  originalFileUrl?: string;
157
+ /**
158
+ * The mime type of the original file url.
159
+ *
160
+ * The original file is stored under a key that carries no extension, so this is
161
+ * the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
162
+ * exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
163
+ * Omitted when the stored format could not be determined.
164
+ */
165
+ 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';
157
166
  /**
158
167
  * The output index of the asset within a job This index is an positive integer
159
168
  * that starts at 0 It is used to differentiate between multiple outputs of the
@@ -167,12 +176,12 @@ export declare namespace ExampleUpdateResponse {
167
176
  */
168
177
  preview?: Asset.Preview;
169
178
  /**
170
- * SlopGuard detection result, computed asynchronously after generation.
179
+ * Quality Gate result, computed asynchronously after generation.
171
180
  *
172
181
  * `details` (the per-dimension reasons and suggestions) is returned only when the
173
- * asset is read with `withSlopGuardDetails=true`.
182
+ * asset is read with `withQualityGateDetails=true`.
174
183
  */
175
- slopGuard?: Asset.SlopGuard;
184
+ qualityGate?: Asset.QualityGate;
176
185
  /**
177
186
  * The asset's thumbnail.
178
187
  *
@@ -272,6 +281,11 @@ export declare namespace ExampleUpdateResponse {
272
281
  * Contrast factor for Grayscale detector
273
282
  */
274
283
  factor?: number;
284
+ /**
285
+ * The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
286
+ * kept as delivered.
287
+ */
288
+ fileName?: string;
275
289
  filterSpeckle?: number;
276
290
  /**
277
291
  * Determine the scale at which the upscale process works.
@@ -345,6 +359,10 @@ export declare namespace ExampleUpdateResponse {
345
359
  * To invert the relief
346
360
  */
347
361
  invert?: boolean;
362
+ /**
363
+ * Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
364
+ */
365
+ keepsFileNames?: boolean;
348
366
  /**
349
367
  * How polished is the surface? 0 is like a rough surface, 1 is like a mirror
350
368
  */
@@ -789,12 +807,12 @@ export declare namespace ExampleUpdateResponse {
789
807
  url: string;
790
808
  }
791
809
  /**
792
- * SlopGuard detection result, computed asynchronously after generation.
810
+ * Quality Gate result, computed asynchronously after generation.
793
811
  *
794
812
  * `details` (the per-dimension reasons and suggestions) is returned only when the
795
- * asset is read with `withSlopGuardDetails=true`.
813
+ * asset is read with `withQualityGateDetails=true`.
796
814
  */
797
- interface SlopGuard {
815
+ interface QualityGate {
798
816
  /**
799
817
  * ISO-8601 timestamp of when scoring ran
800
818
  */
@@ -822,13 +840,13 @@ export declare namespace ExampleUpdateResponse {
822
840
  /**
823
841
  * Per-dimension reasons and suggestions, as produced by the detector.
824
842
  *
825
- * Returned only when the asset is read with `withSlopGuardDetails=true` by the
843
+ * Returned only when the asset is read with `withQualityGateDetails=true` by the
826
844
  * project that owns it — the brief-compliance text paraphrases that project's
827
845
  * brief, so a cross-project read of a public asset gets the summary alone. Also
828
846
  * omitted when the archived verdict is unavailable (asset scored by an older
829
847
  * version, or an unreadable archive).
830
848
  */
831
- details?: SlopGuard.Details;
849
+ details?: QualityGate.Details;
832
850
  /**
833
851
  * Error message when status is 'error' (truncated)
834
852
  */
@@ -846,11 +864,11 @@ export declare namespace ExampleUpdateResponse {
846
864
  */
847
865
  verdict?: 'fail' | 'pass' | 'warn';
848
866
  }
849
- namespace SlopGuard {
867
+ namespace QualityGate {
850
868
  /**
851
869
  * Per-dimension reasons and suggestions, as produced by the detector.
852
870
  *
853
- * Returned only when the asset is read with `withSlopGuardDetails=true` by the
871
+ * Returned only when the asset is read with `withQualityGateDetails=true` by the
854
872
  * project that owns it — the brief-compliance text paraphrases that project's
855
873
  * brief, so a cross-project read of a public asset gets the summary alone. Also
856
874
  * omitted when the archived verdict is unavailable (asset scored by an older
@@ -1292,7 +1310,7 @@ export declare namespace ExampleUpdateResponse {
1292
1310
  /**
1293
1311
  * The type of the job for the node.
1294
1312
  */
1295
- type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'workflow';
1313
+ type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'user-selection' | 'workflow';
1296
1314
  /**
1297
1315
  * List of produced assets for this node.
1298
1316
  */
@@ -1317,13 +1335,14 @@ export declare namespace ExampleUpdateResponse {
1317
1335
  */
1318
1336
  includeOutputsInWorkflowJob?: true;
1319
1337
  /**
1320
- * The inputs of the node.
1338
+ * The inputs of the node. For a user-selection node, the array input's `min`/`max`
1339
+ * bound how many items the user may pick (defaults: 1 and 100); conditional
1340
+ * connections may be present as additional inputs.
1321
1341
  */
1322
1342
  inputs?: Array<Flow.Input>;
1323
1343
  /**
1324
- * Statically-configured items for a List node. The node outputs this array as-is
1325
- * when executed. Only available for List nodes. The values can be strings,
1326
- * numbers, or asset IDs.
1344
+ * Statically-configured items for a List node, or the frozen candidate list of a
1345
+ * UserSelection node. The values can be strings, numbers, or asset IDs.
1327
1346
  */
1328
1347
  items?: Array<string>;
1329
1348
  /**
@@ -1440,7 +1459,9 @@ export declare namespace ExampleUpdateResponse {
1440
1459
  * The asset kind of the input. Only taken into account for \`file\` and
1441
1460
  * \`file_array\` input types. If model provides multiple kinds, the input will be
1442
1461
  * not able to create the asset on the flight on API side with dataurl without
1443
- * data:kind, prefix
1462
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
1463
+ * a model does not declare one, \`image\` is returned, which is the kind used at
1464
+ * generation time.
1444
1465
  */
1445
1466
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
1446
1467
  /**
@@ -1463,8 +1484,9 @@ export declare namespace ExampleUpdateResponse {
1463
1484
  */
1464
1485
  maxDuration?: number;
1465
1486
  /**
1466
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
1467
- * \`string_array\`.
1487
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
1488
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
1489
+ * ITEMS instead — the length of each item is not constrained.
1468
1490
  */
1469
1491
  maxLength?: number;
1470
1492
  /**
@@ -1478,8 +1500,9 @@ export declare namespace ExampleUpdateResponse {
1478
1500
  */
1479
1501
  min?: number;
1480
1502
  /**
1481
- * The minimum allowed length for string inputs. Also applies to each item in
1482
- * \`string_array\`.
1503
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
1504
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
1505
+ * ITEMS instead — the length of each item is not constrained.
1483
1506
  */
1484
1507
  minLength?: number;
1485
1508
  /**
@@ -1520,8 +1543,7 @@ export declare namespace ExampleUpdateResponse {
1520
1543
  * - \`ifNotDefined\`: Input is required when another specified input is not
1521
1544
  * defined
1522
1545
  * - \`ifDefined\`: Input is required when another specified input is defined
1523
- * - \`conditionalValues\`: Input is required when another input has a specific
1524
- * value
1546
+ * - \`conditional\`: Input is required when other inputs have specific values
1525
1547
  *
1526
1548
  * By default, the input is not required.
1527
1549
  */
@@ -1598,7 +1620,9 @@ export declare namespace ExampleUpdateResponse {
1598
1620
  * The asset kind of the input. Only taken into account for \`file\` and
1599
1621
  * \`file_array\` input types. If model provides multiple kinds, the input will be
1600
1622
  * not able to create the asset on the flight on API side with dataurl without
1601
- * data:kind, prefix
1623
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
1624
+ * a model does not declare one, \`image\` is returned, which is the kind used at
1625
+ * generation time.
1602
1626
  */
1603
1627
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
1604
1628
  /**
@@ -1621,8 +1645,9 @@ export declare namespace ExampleUpdateResponse {
1621
1645
  */
1622
1646
  maxDuration?: number;
1623
1647
  /**
1624
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
1625
- * \`string_array\`.
1648
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
1649
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
1650
+ * ITEMS instead — the length of each item is not constrained.
1626
1651
  */
1627
1652
  maxLength?: number;
1628
1653
  /**
@@ -1636,8 +1661,9 @@ export declare namespace ExampleUpdateResponse {
1636
1661
  */
1637
1662
  min?: number;
1638
1663
  /**
1639
- * The minimum allowed length for string inputs. Also applies to each item in
1640
- * \`string_array\`.
1664
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
1665
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
1666
+ * ITEMS instead — the length of each item is not constrained.
1641
1667
  */
1642
1668
  minLength?: number;
1643
1669
  /**
@@ -1678,8 +1704,7 @@ export declare namespace ExampleUpdateResponse {
1678
1704
  * - \`ifNotDefined\`: Input is required when another specified input is not
1679
1705
  * defined
1680
1706
  * - \`ifDefined\`: Input is required when another specified input is defined
1681
- * - \`conditionalValues\`: Input is required when another input has a specific
1682
- * value
1707
+ * - \`conditional\`: Input is required when other inputs have specific values
1683
1708
  *
1684
1709
  * By default, the input is not required.
1685
1710
  */
@@ -1729,8 +1754,7 @@ export declare namespace ExampleUpdateResponse {
1729
1754
  * - \`ifNotDefined\`: Input is required when another specified input is not
1730
1755
  * defined
1731
1756
  * - \`ifDefined\`: Input is required when another specified input is defined
1732
- * - \`conditionalValues\`: Input is required when another input has a specific
1733
- * value
1757
+ * - \`conditional\`: Input is required when other inputs have specific values
1734
1758
  *
1735
1759
  * By default, the input is not required.
1736
1760
  */
@@ -1740,12 +1764,9 @@ export declare namespace ExampleUpdateResponse {
1740
1764
  */
1741
1765
  always?: boolean;
1742
1766
  /**
1743
- * Makes this input required when another input has a specific value:
1744
- *
1745
- * - Key: name of the input to check
1746
- * - Value: operation and allowed values that trigger the requirement
1767
+ * Makes this input required when other inputs have one of the listed values
1747
1768
  */
1748
- conditionalValues?: unknown;
1769
+ conditional?: Required.Conditional;
1749
1770
  /**
1750
1771
  * Makes this input required when another input is defined:
1751
1772
  *
@@ -1761,6 +1782,24 @@ export declare namespace ExampleUpdateResponse {
1761
1782
  */
1762
1783
  ifNotDefined?: unknown;
1763
1784
  }
1785
+ namespace Required {
1786
+ /**
1787
+ * Makes this input required when other inputs have one of the listed values
1788
+ */
1789
+ interface Conditional {
1790
+ /**
1791
+ * The conditions to check:
1792
+ *
1793
+ * - Key: name of the input to check
1794
+ * - Value: values of that input that satisfy the condition
1795
+ */
1796
+ values: unknown;
1797
+ /**
1798
+ * How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
1799
+ */
1800
+ operator?: 'and' | 'or';
1801
+ }
1802
+ }
1764
1803
  }
1765
1804
  /**
1766
1805
  * The reference to another input or output of the same workflow. Must have at
@@ -1796,8 +1835,7 @@ export declare namespace ExampleUpdateResponse {
1796
1835
  * - \`ifNotDefined\`: Input is required when another specified input is not
1797
1836
  * defined
1798
1837
  * - \`ifDefined\`: Input is required when another specified input is defined
1799
- * - \`conditionalValues\`: Input is required when another input has a specific
1800
- * value
1838
+ * - \`conditional\`: Input is required when other inputs have specific values
1801
1839
  *
1802
1840
  * By default, the input is not required.
1803
1841
  */
@@ -1807,12 +1845,9 @@ export declare namespace ExampleUpdateResponse {
1807
1845
  */
1808
1846
  always?: boolean;
1809
1847
  /**
1810
- * Makes this input required when another input has a specific value:
1811
- *
1812
- * - Key: name of the input to check
1813
- * - Value: operation and allowed values that trigger the requirement
1848
+ * Makes this input required when other inputs have one of the listed values
1814
1849
  */
1815
- conditionalValues?: unknown;
1850
+ conditional?: Required.Conditional;
1816
1851
  /**
1817
1852
  * Makes this input required when another input is defined:
1818
1853
  *
@@ -1828,6 +1863,24 @@ export declare namespace ExampleUpdateResponse {
1828
1863
  */
1829
1864
  ifNotDefined?: unknown;
1830
1865
  }
1866
+ namespace Required {
1867
+ /**
1868
+ * Makes this input required when other inputs have one of the listed values
1869
+ */
1870
+ interface Conditional {
1871
+ /**
1872
+ * The conditions to check:
1873
+ *
1874
+ * - Key: name of the input to check
1875
+ * - Value: values of that input that satisfy the condition
1876
+ */
1877
+ values: unknown;
1878
+ /**
1879
+ * How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
1880
+ */
1881
+ operator?: 'and' | 'or';
1882
+ }
1883
+ }
1831
1884
  }
1832
1885
  /**
1833
1886
  * The logic of the node. Only available for logic nodes.
@@ -1867,7 +1920,7 @@ export declare namespace ExampleUpdateResponse {
1867
1920
  cuDiscount: number;
1868
1921
  /**
1869
1922
  * Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
1870
- * top of the generation itself, such as `slop-detection`.
1923
+ * top of the generation itself, such as `quality-gate`.
1871
1924
  *
1872
1925
  * `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
1873
1926
  * values here.
@@ -1895,7 +1948,7 @@ export declare namespace ExampleUpdateResponse {
1895
1948
  namespace Billing {
1896
1949
  /**
1897
1950
  * Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
1898
- * top of the generation itself, such as `slop-detection`.
1951
+ * top of the generation itself, such as `quality-gate`.
1899
1952
  *
1900
1953
  * `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
1901
1954
  * values here.
@@ -1914,7 +1967,7 @@ export declare namespace ExampleUpdateResponse {
1914
1967
  */
1915
1968
  interface CuCostDetails {
1916
1969
  'ip-detection'?: number;
1917
- 'slop-detection'?: number;
1970
+ 'quality-gate'?: number;
1918
1971
  }
1919
1972
  }
1920
1973
  }
@@ -2063,6 +2116,15 @@ export declare namespace ExampleListResponse {
2063
2116
  * asset data has been replaced with a new file during the creation of the asset.
2064
2117
  */
2065
2118
  originalFileUrl?: string;
2119
+ /**
2120
+ * The mime type of the original file url.
2121
+ *
2122
+ * The original file is stored under a key that carries no extension, so this is
2123
+ * the only way to know which format `originalFileUrl` serves (e.g. an HDRi skybox
2124
+ * exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
2125
+ * Omitted when the stored format could not be determined.
2126
+ */
2127
+ 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';
2066
2128
  /**
2067
2129
  * The output index of the asset within a job This index is an positive integer
2068
2130
  * that starts at 0 It is used to differentiate between multiple outputs of the
@@ -2076,12 +2138,12 @@ export declare namespace ExampleListResponse {
2076
2138
  */
2077
2139
  preview?: Asset.Preview;
2078
2140
  /**
2079
- * SlopGuard detection result, computed asynchronously after generation.
2141
+ * Quality Gate result, computed asynchronously after generation.
2080
2142
  *
2081
2143
  * `details` (the per-dimension reasons and suggestions) is returned only when the
2082
- * asset is read with `withSlopGuardDetails=true`.
2144
+ * asset is read with `withQualityGateDetails=true`.
2083
2145
  */
2084
- slopGuard?: Asset.SlopGuard;
2146
+ qualityGate?: Asset.QualityGate;
2085
2147
  /**
2086
2148
  * The asset's thumbnail.
2087
2149
  *
@@ -2181,6 +2243,11 @@ export declare namespace ExampleListResponse {
2181
2243
  * Contrast factor for Grayscale detector
2182
2244
  */
2183
2245
  factor?: number;
2246
+ /**
2247
+ * The name its parent's files reference it by (an OBJ's MTL, an MTL's texture),
2248
+ * kept as delivered.
2249
+ */
2250
+ fileName?: string;
2184
2251
  filterSpeckle?: number;
2185
2252
  /**
2186
2253
  * Determine the scale at which the upscale process works.
@@ -2254,6 +2321,10 @@ export declare namespace ExampleListResponse {
2254
2321
  * To invert the relief
2255
2322
  */
2256
2323
  invert?: boolean;
2324
+ /**
2325
+ * Its own references (an OBJ's `mtllib`, an MTL's maps) were kept as delivered.
2326
+ */
2327
+ keepsFileNames?: boolean;
2257
2328
  /**
2258
2329
  * How polished is the surface? 0 is like a rough surface, 1 is like a mirror
2259
2330
  */
@@ -2698,12 +2769,12 @@ export declare namespace ExampleListResponse {
2698
2769
  url: string;
2699
2770
  }
2700
2771
  /**
2701
- * SlopGuard detection result, computed asynchronously after generation.
2772
+ * Quality Gate result, computed asynchronously after generation.
2702
2773
  *
2703
2774
  * `details` (the per-dimension reasons and suggestions) is returned only when the
2704
- * asset is read with `withSlopGuardDetails=true`.
2775
+ * asset is read with `withQualityGateDetails=true`.
2705
2776
  */
2706
- interface SlopGuard {
2777
+ interface QualityGate {
2707
2778
  /**
2708
2779
  * ISO-8601 timestamp of when scoring ran
2709
2780
  */
@@ -2731,13 +2802,13 @@ export declare namespace ExampleListResponse {
2731
2802
  /**
2732
2803
  * Per-dimension reasons and suggestions, as produced by the detector.
2733
2804
  *
2734
- * Returned only when the asset is read with `withSlopGuardDetails=true` by the
2805
+ * Returned only when the asset is read with `withQualityGateDetails=true` by the
2735
2806
  * project that owns it — the brief-compliance text paraphrases that project's
2736
2807
  * brief, so a cross-project read of a public asset gets the summary alone. Also
2737
2808
  * omitted when the archived verdict is unavailable (asset scored by an older
2738
2809
  * version, or an unreadable archive).
2739
2810
  */
2740
- details?: SlopGuard.Details;
2811
+ details?: QualityGate.Details;
2741
2812
  /**
2742
2813
  * Error message when status is 'error' (truncated)
2743
2814
  */
@@ -2755,11 +2826,11 @@ export declare namespace ExampleListResponse {
2755
2826
  */
2756
2827
  verdict?: 'fail' | 'pass' | 'warn';
2757
2828
  }
2758
- namespace SlopGuard {
2829
+ namespace QualityGate {
2759
2830
  /**
2760
2831
  * Per-dimension reasons and suggestions, as produced by the detector.
2761
2832
  *
2762
- * Returned only when the asset is read with `withSlopGuardDetails=true` by the
2833
+ * Returned only when the asset is read with `withQualityGateDetails=true` by the
2763
2834
  * project that owns it — the brief-compliance text paraphrases that project's
2764
2835
  * brief, so a cross-project read of a public asset gets the summary alone. Also
2765
2836
  * omitted when the archived verdict is unavailable (asset scored by an older
@@ -3201,7 +3272,7 @@ export declare namespace ExampleListResponse {
3201
3272
  /**
3202
3273
  * The type of the job for the node.
3203
3274
  */
3204
- type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'workflow';
3275
+ type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'user-selection' | 'workflow';
3205
3276
  /**
3206
3277
  * List of produced assets for this node.
3207
3278
  */
@@ -3226,13 +3297,14 @@ export declare namespace ExampleListResponse {
3226
3297
  */
3227
3298
  includeOutputsInWorkflowJob?: true;
3228
3299
  /**
3229
- * The inputs of the node.
3300
+ * The inputs of the node. For a user-selection node, the array input's `min`/`max`
3301
+ * bound how many items the user may pick (defaults: 1 and 100); conditional
3302
+ * connections may be present as additional inputs.
3230
3303
  */
3231
3304
  inputs?: Array<Flow.Input>;
3232
3305
  /**
3233
- * Statically-configured items for a List node. The node outputs this array as-is
3234
- * when executed. Only available for List nodes. The values can be strings,
3235
- * numbers, or asset IDs.
3306
+ * Statically-configured items for a List node, or the frozen candidate list of a
3307
+ * UserSelection node. The values can be strings, numbers, or asset IDs.
3236
3308
  */
3237
3309
  items?: Array<string>;
3238
3310
  /**
@@ -3349,7 +3421,9 @@ export declare namespace ExampleListResponse {
3349
3421
  * The asset kind of the input. Only taken into account for \`file\` and
3350
3422
  * \`file_array\` input types. If model provides multiple kinds, the input will be
3351
3423
  * not able to create the asset on the flight on API side with dataurl without
3352
- * data:kind, prefix
3424
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
3425
+ * a model does not declare one, \`image\` is returned, which is the kind used at
3426
+ * generation time.
3353
3427
  */
3354
3428
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
3355
3429
  /**
@@ -3372,8 +3446,9 @@ export declare namespace ExampleListResponse {
3372
3446
  */
3373
3447
  maxDuration?: number;
3374
3448
  /**
3375
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
3376
- * \`string_array\`.
3449
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
3450
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
3451
+ * ITEMS instead — the length of each item is not constrained.
3377
3452
  */
3378
3453
  maxLength?: number;
3379
3454
  /**
@@ -3387,8 +3462,9 @@ export declare namespace ExampleListResponse {
3387
3462
  */
3388
3463
  min?: number;
3389
3464
  /**
3390
- * The minimum allowed length for string inputs. Also applies to each item in
3391
- * \`string_array\`.
3465
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
3466
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
3467
+ * ITEMS instead — the length of each item is not constrained.
3392
3468
  */
3393
3469
  minLength?: number;
3394
3470
  /**
@@ -3429,8 +3505,7 @@ export declare namespace ExampleListResponse {
3429
3505
  * - \`ifNotDefined\`: Input is required when another specified input is not
3430
3506
  * defined
3431
3507
  * - \`ifDefined\`: Input is required when another specified input is defined
3432
- * - \`conditionalValues\`: Input is required when another input has a specific
3433
- * value
3508
+ * - \`conditional\`: Input is required when other inputs have specific values
3434
3509
  *
3435
3510
  * By default, the input is not required.
3436
3511
  */
@@ -3507,7 +3582,9 @@ export declare namespace ExampleListResponse {
3507
3582
  * The asset kind of the input. Only taken into account for \`file\` and
3508
3583
  * \`file_array\` input types. If model provides multiple kinds, the input will be
3509
3584
  * not able to create the asset on the flight on API side with dataurl without
3510
- * data:kind, prefix
3585
+ * data:kind, prefix \`file\` and \`file_array\` inputs always expose a kind: when
3586
+ * a model does not declare one, \`image\` is returned, which is the kind used at
3587
+ * generation time.
3511
3588
  */
3512
3589
  kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
3513
3590
  /**
@@ -3530,8 +3607,9 @@ export declare namespace ExampleListResponse {
3530
3607
  */
3531
3608
  maxDuration?: number;
3532
3609
  /**
3533
- * The maximum allowed length for \`string\` inputs. Also applies to each item in
3534
- * \`string_array\`.
3610
+ * The maximum allowed length for \`string\` and \`model\` inputs, in characters.
3611
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
3612
+ * ITEMS instead — the length of each item is not constrained.
3535
3613
  */
3536
3614
  maxLength?: number;
3537
3615
  /**
@@ -3545,8 +3623,9 @@ export declare namespace ExampleListResponse {
3545
3623
  */
3546
3624
  min?: number;
3547
3625
  /**
3548
- * The minimum allowed length for string inputs. Also applies to each item in
3549
- * \`string_array\`.
3626
+ * The minimum allowed length for \`string\` and \`model\` inputs, in characters.
3627
+ * For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
3628
+ * ITEMS instead — the length of each item is not constrained.
3550
3629
  */
3551
3630
  minLength?: number;
3552
3631
  /**
@@ -3587,8 +3666,7 @@ export declare namespace ExampleListResponse {
3587
3666
  * - \`ifNotDefined\`: Input is required when another specified input is not
3588
3667
  * defined
3589
3668
  * - \`ifDefined\`: Input is required when another specified input is defined
3590
- * - \`conditionalValues\`: Input is required when another input has a specific
3591
- * value
3669
+ * - \`conditional\`: Input is required when other inputs have specific values
3592
3670
  *
3593
3671
  * By default, the input is not required.
3594
3672
  */
@@ -3638,8 +3716,7 @@ export declare namespace ExampleListResponse {
3638
3716
  * - \`ifNotDefined\`: Input is required when another specified input is not
3639
3717
  * defined
3640
3718
  * - \`ifDefined\`: Input is required when another specified input is defined
3641
- * - \`conditionalValues\`: Input is required when another input has a specific
3642
- * value
3719
+ * - \`conditional\`: Input is required when other inputs have specific values
3643
3720
  *
3644
3721
  * By default, the input is not required.
3645
3722
  */
@@ -3649,12 +3726,9 @@ export declare namespace ExampleListResponse {
3649
3726
  */
3650
3727
  always?: boolean;
3651
3728
  /**
3652
- * Makes this input required when another input has a specific value:
3653
- *
3654
- * - Key: name of the input to check
3655
- * - Value: operation and allowed values that trigger the requirement
3729
+ * Makes this input required when other inputs have one of the listed values
3656
3730
  */
3657
- conditionalValues?: unknown;
3731
+ conditional?: Required.Conditional;
3658
3732
  /**
3659
3733
  * Makes this input required when another input is defined:
3660
3734
  *
@@ -3670,6 +3744,24 @@ export declare namespace ExampleListResponse {
3670
3744
  */
3671
3745
  ifNotDefined?: unknown;
3672
3746
  }
3747
+ namespace Required {
3748
+ /**
3749
+ * Makes this input required when other inputs have one of the listed values
3750
+ */
3751
+ interface Conditional {
3752
+ /**
3753
+ * The conditions to check:
3754
+ *
3755
+ * - Key: name of the input to check
3756
+ * - Value: values of that input that satisfy the condition
3757
+ */
3758
+ values: unknown;
3759
+ /**
3760
+ * How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
3761
+ */
3762
+ operator?: 'and' | 'or';
3763
+ }
3764
+ }
3673
3765
  }
3674
3766
  /**
3675
3767
  * The reference to another input or output of the same workflow. Must have at
@@ -3705,8 +3797,7 @@ export declare namespace ExampleListResponse {
3705
3797
  * - \`ifNotDefined\`: Input is required when another specified input is not
3706
3798
  * defined
3707
3799
  * - \`ifDefined\`: Input is required when another specified input is defined
3708
- * - \`conditionalValues\`: Input is required when another input has a specific
3709
- * value
3800
+ * - \`conditional\`: Input is required when other inputs have specific values
3710
3801
  *
3711
3802
  * By default, the input is not required.
3712
3803
  */
@@ -3716,12 +3807,9 @@ export declare namespace ExampleListResponse {
3716
3807
  */
3717
3808
  always?: boolean;
3718
3809
  /**
3719
- * Makes this input required when another input has a specific value:
3720
- *
3721
- * - Key: name of the input to check
3722
- * - Value: operation and allowed values that trigger the requirement
3810
+ * Makes this input required when other inputs have one of the listed values
3723
3811
  */
3724
- conditionalValues?: unknown;
3812
+ conditional?: Required.Conditional;
3725
3813
  /**
3726
3814
  * Makes this input required when another input is defined:
3727
3815
  *
@@ -3737,6 +3825,24 @@ export declare namespace ExampleListResponse {
3737
3825
  */
3738
3826
  ifNotDefined?: unknown;
3739
3827
  }
3828
+ namespace Required {
3829
+ /**
3830
+ * Makes this input required when other inputs have one of the listed values
3831
+ */
3832
+ interface Conditional {
3833
+ /**
3834
+ * The conditions to check:
3835
+ *
3836
+ * - Key: name of the input to check
3837
+ * - Value: values of that input that satisfy the condition
3838
+ */
3839
+ values: unknown;
3840
+ /**
3841
+ * How the conditions combine: \`and\` (all must match) or \`or\` (any must match)
3842
+ */
3843
+ operator?: 'and' | 'or';
3844
+ }
3845
+ }
3740
3846
  }
3741
3847
  /**
3742
3848
  * The logic of the node. Only available for logic nodes.
@@ -3776,7 +3882,7 @@ export declare namespace ExampleListResponse {
3776
3882
  cuDiscount: number;
3777
3883
  /**
3778
3884
  * Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
3779
- * top of the generation itself, such as `slop-detection`.
3885
+ * top of the generation itself, such as `quality-gate`.
3780
3886
  *
3781
3887
  * `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
3782
3888
  * values here.
@@ -3804,7 +3910,7 @@ export declare namespace ExampleListResponse {
3804
3910
  namespace Billing {
3805
3911
  /**
3806
3912
  * Compute Units charged for the ADD-ONS of this job, per action — the fees paid on
3807
- * top of the generation itself, such as `slop-detection`.
3913
+ * top of the generation itself, such as `quality-gate`.
3808
3914
  *
3809
3915
  * `cuCost` above is the main action alone, so the job's total is `cuCost` plus the
3810
3916
  * values here.
@@ -3823,7 +3929,7 @@ export declare namespace ExampleListResponse {
3823
3929
  */
3824
3930
  interface CuCostDetails {
3825
3931
  'ip-detection'?: number;
3826
- 'slop-detection'?: number;
3932
+ 'quality-gate'?: number;
3827
3933
  }
3828
3934
  }
3829
3935
  }