@executioncontrolprotocol/adobe-firefly-services 0.14.0 → 0.60.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 (280) hide show
  1. package/README.md +113 -84
  2. package/dist/auth/ims.d.ts +47 -14
  3. package/dist/auth/ims.d.ts.map +1 -1
  4. package/dist/auth/ims.js +127 -26
  5. package/dist/auth/ims.js.map +1 -1
  6. package/dist/config.d.ts +27 -0
  7. package/dist/config.d.ts.map +1 -0
  8. package/dist/config.js +51 -0
  9. package/dist/config.js.map +1 -0
  10. package/dist/errors.d.ts +42 -0
  11. package/dist/errors.d.ts.map +1 -0
  12. package/dist/errors.js +53 -0
  13. package/dist/errors.js.map +1 -0
  14. package/dist/generated/audio-video/capabilities.d.ts +21 -36
  15. package/dist/generated/audio-video/capabilities.d.ts.map +1 -1
  16. package/dist/generated/audio-video/capabilities.js +295 -259
  17. package/dist/generated/audio-video/capabilities.js.map +1 -1
  18. package/dist/generated/audio-video/operations.d.ts +13 -0
  19. package/dist/generated/audio-video/operations.d.ts.map +1 -0
  20. package/dist/generated/audio-video/operations.js +182 -0
  21. package/dist/generated/audio-video/operations.js.map +1 -0
  22. package/dist/generated/audio-video/schemas.d.ts +245 -82
  23. package/dist/generated/audio-video/schemas.d.ts.map +1 -1
  24. package/dist/generated/audio-video/schemas.js +552 -466
  25. package/dist/generated/audio-video/schemas.js.map +1 -1
  26. package/dist/generated/creative-production/capabilities.d.ts +10 -10
  27. package/dist/generated/creative-production/capabilities.d.ts.map +1 -1
  28. package/dist/generated/creative-production/capabilities.js +64 -77
  29. package/dist/generated/creative-production/capabilities.js.map +1 -1
  30. package/dist/generated/creative-production/operations.d.ts +13 -0
  31. package/dist/generated/creative-production/operations.d.ts.map +1 -0
  32. package/dist/generated/creative-production/operations.js +48 -0
  33. package/dist/generated/creative-production/operations.js.map +1 -0
  34. package/dist/generated/creative-production/schemas.d.ts +65 -21
  35. package/dist/generated/creative-production/schemas.d.ts.map +1 -1
  36. package/dist/generated/creative-production/schemas.js +149 -128
  37. package/dist/generated/creative-production/schemas.js.map +1 -1
  38. package/dist/generated/express/capabilities.d.ts +11 -10
  39. package/dist/generated/express/capabilities.d.ts.map +1 -1
  40. package/dist/generated/express/capabilities.js +65 -64
  41. package/dist/generated/express/capabilities.js.map +1 -1
  42. package/dist/generated/express/operations.d.ts +13 -0
  43. package/dist/generated/express/operations.d.ts.map +1 -0
  44. package/dist/generated/express/operations.js +58 -0
  45. package/dist/generated/express/operations.js.map +1 -0
  46. package/dist/generated/express/schemas.d.ts +100 -34
  47. package/dist/generated/express/schemas.d.ts.map +1 -1
  48. package/dist/generated/express/schemas.js +165 -134
  49. package/dist/generated/express/schemas.js.map +1 -1
  50. package/dist/generated/firefly/capabilities.d.ts +18 -28
  51. package/dist/generated/firefly/capabilities.d.ts.map +1 -1
  52. package/dist/generated/firefly/capabilities.js +289 -172
  53. package/dist/generated/firefly/capabilities.js.map +1 -1
  54. package/dist/generated/firefly/operations.d.ts +13 -0
  55. package/dist/generated/firefly/operations.d.ts.map +1 -0
  56. package/dist/generated/firefly/operations.js +145 -0
  57. package/dist/generated/firefly/operations.js.map +1 -0
  58. package/dist/generated/firefly/schemas.d.ts +250 -105
  59. package/dist/generated/firefly/schemas.d.ts.map +1 -1
  60. package/dist/generated/firefly/schemas.js +462 -451
  61. package/dist/generated/firefly/schemas.js.map +1 -1
  62. package/dist/generated/illustrator/capabilities.d.ts +11 -16
  63. package/dist/generated/illustrator/capabilities.d.ts.map +1 -1
  64. package/dist/generated/illustrator/capabilities.js +99 -100
  65. package/dist/generated/illustrator/capabilities.js.map +1 -1
  66. package/dist/generated/illustrator/operations.d.ts +13 -0
  67. package/dist/generated/illustrator/operations.d.ts.map +1 -0
  68. package/dist/generated/illustrator/operations.js +65 -0
  69. package/dist/generated/illustrator/operations.js.map +1 -0
  70. package/dist/generated/illustrator/schemas.d.ts +85 -54
  71. package/dist/generated/illustrator/schemas.d.ts.map +1 -1
  72. package/dist/generated/illustrator/schemas.js +187 -233
  73. package/dist/generated/illustrator/schemas.js.map +1 -1
  74. package/dist/generated/indesign/capabilities.d.ts +19 -32
  75. package/dist/generated/indesign/capabilities.d.ts.map +1 -1
  76. package/dist/generated/indesign/capabilities.js +394 -197
  77. package/dist/generated/indesign/capabilities.js.map +1 -1
  78. package/dist/generated/indesign/operations.d.ts +13 -0
  79. package/dist/generated/indesign/operations.d.ts.map +1 -0
  80. package/dist/generated/indesign/operations.js +133 -0
  81. package/dist/generated/indesign/operations.js.map +1 -0
  82. package/dist/generated/indesign/schemas.d.ts +75 -24
  83. package/dist/generated/indesign/schemas.d.ts.map +1 -1
  84. package/dist/generated/indesign/schemas.js +351 -240
  85. package/dist/generated/indesign/schemas.js.map +1 -1
  86. package/dist/generated/index.d.ts +74 -3
  87. package/dist/generated/index.d.ts.map +1 -1
  88. package/dist/generated/index.js +28 -97
  89. package/dist/generated/index.js.map +1 -1
  90. package/dist/generated/photoshop/capabilities.d.ts +13 -14
  91. package/dist/generated/photoshop/capabilities.d.ts.map +1 -1
  92. package/dist/generated/photoshop/capabilities.js +133 -90
  93. package/dist/generated/photoshop/capabilities.js.map +1 -1
  94. package/dist/generated/photoshop/operations.d.ts +13 -0
  95. package/dist/generated/photoshop/operations.d.ts.map +1 -0
  96. package/dist/generated/photoshop/operations.js +88 -0
  97. package/dist/generated/photoshop/operations.js.map +1 -0
  98. package/dist/generated/photoshop/schemas.d.ts +430 -152
  99. package/dist/generated/photoshop/schemas.d.ts.map +1 -1
  100. package/dist/generated/photoshop/schemas.js +809 -716
  101. package/dist/generated/photoshop/schemas.js.map +1 -1
  102. package/dist/generated/substance3d/capabilities.d.ts +16 -22
  103. package/dist/generated/substance3d/capabilities.d.ts.map +1 -1
  104. package/dist/generated/substance3d/capabilities.js +181 -136
  105. package/dist/generated/substance3d/capabilities.js.map +1 -1
  106. package/dist/generated/substance3d/operations.d.ts +13 -0
  107. package/dist/generated/substance3d/operations.d.ts.map +1 -0
  108. package/dist/generated/substance3d/operations.js +114 -0
  109. package/dist/generated/substance3d/operations.js.map +1 -0
  110. package/dist/generated/substance3d/schemas.d.ts +305 -76
  111. package/dist/generated/substance3d/schemas.d.ts.map +1 -1
  112. package/dist/generated/substance3d/schemas.js +634 -515
  113. package/dist/generated/substance3d/schemas.js.map +1 -1
  114. package/dist/http/async-job.d.ts +24 -14
  115. package/dist/http/async-job.d.ts.map +1 -1
  116. package/dist/http/async-job.js +135 -69
  117. package/dist/http/async-job.js.map +1 -1
  118. package/dist/http/client.d.ts +54 -26
  119. package/dist/http/client.d.ts.map +1 -1
  120. package/dist/http/client.js +136 -53
  121. package/dist/http/client.js.map +1 -1
  122. package/dist/http/request-limit.d.ts +42 -0
  123. package/dist/http/request-limit.d.ts.map +1 -0
  124. package/dist/http/request-limit.js +46 -0
  125. package/dist/http/request-limit.js.map +1 -0
  126. package/dist/index.d.ts +84 -30
  127. package/dist/index.d.ts.map +1 -1
  128. package/dist/index.js +20 -34
  129. package/dist/index.js.map +1 -1
  130. package/dist/runtime/abort.d.ts +17 -0
  131. package/dist/runtime/abort.d.ts.map +1 -0
  132. package/dist/runtime/abort.js +51 -0
  133. package/dist/runtime/abort.js.map +1 -0
  134. package/dist/runtime/assemble.d.ts +99 -0
  135. package/dist/runtime/assemble.d.ts.map +1 -0
  136. package/dist/runtime/assemble.js +159 -0
  137. package/dist/runtime/assemble.js.map +1 -0
  138. package/dist/runtime/invoke-capability.d.ts +46 -0
  139. package/dist/runtime/invoke-capability.d.ts.map +1 -0
  140. package/dist/runtime/invoke-capability.js +68 -0
  141. package/dist/runtime/invoke-capability.js.map +1 -0
  142. package/dist/runtime/product-shape.d.ts +49 -0
  143. package/dist/runtime/product-shape.d.ts.map +1 -0
  144. package/dist/runtime/product-shape.js +309 -0
  145. package/dist/runtime/product-shape.js.map +1 -0
  146. package/dist/schemas.d.ts +13 -0
  147. package/dist/schemas.d.ts.map +1 -0
  148. package/dist/schemas.js +7 -0
  149. package/dist/schemas.js.map +1 -0
  150. package/ecp.manifest.json +840 -0
  151. package/ecp.schema.json +23498 -0
  152. package/package.json +28 -21
  153. package/dist/generated/audio-video/capabilities.browser.d.ts +0 -37
  154. package/dist/generated/audio-video/capabilities.browser.d.ts.map +0 -1
  155. package/dist/generated/audio-video/capabilities.browser.js +0 -44
  156. package/dist/generated/audio-video/capabilities.browser.js.map +0 -1
  157. package/dist/generated/audio-video/index.d.ts +0 -3
  158. package/dist/generated/audio-video/index.d.ts.map +0 -1
  159. package/dist/generated/audio-video/index.js +0 -3
  160. package/dist/generated/audio-video/index.js.map +0 -1
  161. package/dist/generated/audio-video/shells.d.ts +0 -39
  162. package/dist/generated/audio-video/shells.d.ts.map +0 -1
  163. package/dist/generated/audio-video/shells.js +0 -290
  164. package/dist/generated/audio-video/shells.js.map +0 -1
  165. package/dist/generated/creative-production/capabilities.browser.d.ts +0 -11
  166. package/dist/generated/creative-production/capabilities.browser.d.ts.map +0 -1
  167. package/dist/generated/creative-production/capabilities.browser.js +0 -18
  168. package/dist/generated/creative-production/capabilities.browser.js.map +0 -1
  169. package/dist/generated/creative-production/index.d.ts +0 -3
  170. package/dist/generated/creative-production/index.d.ts.map +0 -1
  171. package/dist/generated/creative-production/index.js +0 -3
  172. package/dist/generated/creative-production/index.js.map +0 -1
  173. package/dist/generated/creative-production/shells.d.ts +0 -13
  174. package/dist/generated/creative-production/shells.d.ts.map +0 -1
  175. package/dist/generated/creative-production/shells.js +0 -108
  176. package/dist/generated/creative-production/shells.js.map +0 -1
  177. package/dist/generated/express/capabilities.browser.d.ts +0 -11
  178. package/dist/generated/express/capabilities.browser.d.ts.map +0 -1
  179. package/dist/generated/express/capabilities.browser.js +0 -18
  180. package/dist/generated/express/capabilities.browser.js.map +0 -1
  181. package/dist/generated/express/index.d.ts +0 -3
  182. package/dist/generated/express/index.d.ts.map +0 -1
  183. package/dist/generated/express/index.js +0 -3
  184. package/dist/generated/express/index.js.map +0 -1
  185. package/dist/generated/express/shells.d.ts +0 -13
  186. package/dist/generated/express/shells.d.ts.map +0 -1
  187. package/dist/generated/express/shells.js +0 -72
  188. package/dist/generated/express/shells.js.map +0 -1
  189. package/dist/generated/firefly/capabilities.browser.d.ts +0 -29
  190. package/dist/generated/firefly/capabilities.browser.d.ts.map +0 -1
  191. package/dist/generated/firefly/capabilities.browser.js +0 -36
  192. package/dist/generated/firefly/capabilities.browser.js.map +0 -1
  193. package/dist/generated/firefly/index.d.ts +0 -3
  194. package/dist/generated/firefly/index.d.ts.map +0 -1
  195. package/dist/generated/firefly/index.js +0 -3
  196. package/dist/generated/firefly/index.js.map +0 -1
  197. package/dist/generated/firefly/shells.d.ts +0 -31
  198. package/dist/generated/firefly/shells.d.ts.map +0 -1
  199. package/dist/generated/firefly/shells.js +0 -199
  200. package/dist/generated/firefly/shells.js.map +0 -1
  201. package/dist/generated/illustrator/capabilities.browser.d.ts +0 -17
  202. package/dist/generated/illustrator/capabilities.browser.d.ts.map +0 -1
  203. package/dist/generated/illustrator/capabilities.browser.js +0 -24
  204. package/dist/generated/illustrator/capabilities.browser.js.map +0 -1
  205. package/dist/generated/illustrator/index.d.ts +0 -3
  206. package/dist/generated/illustrator/index.d.ts.map +0 -1
  207. package/dist/generated/illustrator/index.js +0 -3
  208. package/dist/generated/illustrator/index.js.map +0 -1
  209. package/dist/generated/illustrator/shells.d.ts +0 -19
  210. package/dist/generated/illustrator/shells.d.ts.map +0 -1
  211. package/dist/generated/illustrator/shells.js +0 -106
  212. package/dist/generated/illustrator/shells.js.map +0 -1
  213. package/dist/generated/indesign/capabilities.browser.d.ts +0 -33
  214. package/dist/generated/indesign/capabilities.browser.d.ts.map +0 -1
  215. package/dist/generated/indesign/capabilities.browser.js +0 -40
  216. package/dist/generated/indesign/capabilities.browser.js.map +0 -1
  217. package/dist/generated/indesign/index.d.ts +0 -3
  218. package/dist/generated/indesign/index.d.ts.map +0 -1
  219. package/dist/generated/indesign/index.js +0 -3
  220. package/dist/generated/indesign/index.js.map +0 -1
  221. package/dist/generated/indesign/shells.d.ts +0 -35
  222. package/dist/generated/indesign/shells.d.ts.map +0 -1
  223. package/dist/generated/indesign/shells.js +0 -208
  224. package/dist/generated/indesign/shells.js.map +0 -1
  225. package/dist/generated/index.browser.d.ts +0 -4
  226. package/dist/generated/index.browser.d.ts.map +0 -1
  227. package/dist/generated/index.browser.js +0 -98
  228. package/dist/generated/index.browser.js.map +0 -1
  229. package/dist/generated/photoshop/capabilities.browser.d.ts +0 -15
  230. package/dist/generated/photoshop/capabilities.browser.d.ts.map +0 -1
  231. package/dist/generated/photoshop/capabilities.browser.js +0 -22
  232. package/dist/generated/photoshop/capabilities.browser.js.map +0 -1
  233. package/dist/generated/photoshop/index.d.ts +0 -3
  234. package/dist/generated/photoshop/index.d.ts.map +0 -1
  235. package/dist/generated/photoshop/index.js +0 -3
  236. package/dist/generated/photoshop/index.js.map +0 -1
  237. package/dist/generated/photoshop/shells.d.ts +0 -17
  238. package/dist/generated/photoshop/shells.d.ts.map +0 -1
  239. package/dist/generated/photoshop/shells.js +0 -92
  240. package/dist/generated/photoshop/shells.js.map +0 -1
  241. package/dist/generated/substance3d/capabilities.browser.d.ts +0 -23
  242. package/dist/generated/substance3d/capabilities.browser.d.ts.map +0 -1
  243. package/dist/generated/substance3d/capabilities.browser.js +0 -30
  244. package/dist/generated/substance3d/capabilities.browser.js.map +0 -1
  245. package/dist/generated/substance3d/index.d.ts +0 -3
  246. package/dist/generated/substance3d/index.d.ts.map +0 -1
  247. package/dist/generated/substance3d/index.js +0 -3
  248. package/dist/generated/substance3d/index.js.map +0 -1
  249. package/dist/generated/substance3d/shells.d.ts +0 -25
  250. package/dist/generated/substance3d/shells.d.ts.map +0 -1
  251. package/dist/generated/substance3d/shells.js +0 -146
  252. package/dist/generated/substance3d/shells.js.map +0 -1
  253. package/dist/index.browser.d.ts +0 -19
  254. package/dist/index.browser.d.ts.map +0 -1
  255. package/dist/index.browser.js +0 -27
  256. package/dist/index.browser.js.map +0 -1
  257. package/dist/runtime/invoke.d.ts +0 -67
  258. package/dist/runtime/invoke.d.ts.map +0 -1
  259. package/dist/runtime/invoke.js +0 -69
  260. package/dist/runtime/invoke.js.map +0 -1
  261. package/dist/runtime/photoshop-manifest.d.ts +0 -40
  262. package/dist/runtime/photoshop-manifest.d.ts.map +0 -1
  263. package/dist/runtime/photoshop-manifest.js +0 -115
  264. package/dist/runtime/photoshop-manifest.js.map +0 -1
  265. package/dist/shared.d.ts +0 -11
  266. package/dist/shared.d.ts.map +0 -1
  267. package/dist/shared.js +0 -39
  268. package/dist/shared.js.map +0 -1
  269. package/openapi/audio-video/audio-video-api.json +0 -8333
  270. package/openapi/audio-video/translate-lipsync-openapi.json +0 -1967
  271. package/openapi/content-tagging/SOURCE.md +0 -10
  272. package/openapi/creative-production/workflow-builder-api.yaml +0 -1002
  273. package/openapi/express/ffs-express-api.json +0 -2262
  274. package/openapi/firefly/firefly-api.json +0 -4964
  275. package/openapi/illustrator/illustrator-api-beta.json +0 -1329
  276. package/openapi/illustrator/illustrator-api.json +0 -2447
  277. package/openapi/indesign/indesignapi.json +0 -2907
  278. package/openapi/overlays/schema-fixes.json +0 -95
  279. package/openapi/photoshop/photoshopv2-api.json +0 -5395
  280. package/openapi/substance3d/openapi.yaml +0 -3583
@@ -1,517 +1,636 @@
1
- /* eslint-disable */
2
- /** Generated from substance3d/openapi.yaml — do not edit. */
1
+ /* Generated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
2
+ /* Source: substance3d/openapi.yaml */
3
3
  import { z } from "zod";
4
- export const Schema_ffapierrors_FFAPIError = z.lazy(() => (z.object({
5
- "$schema": z.string().optional(),
6
- "error_code": z.string(),
7
- "error_details": z.array(z.object({})).optional(),
8
- "message": z.string().optional()
9
- })));
10
- export const Schema_ffapierrors_FFAPIErrorDetail = z.lazy(() => (z.object({
11
- "error_code": z.string(),
12
- "error_context": z.record(z.string(), z.string()).optional(),
13
- "loc": z.string(),
14
- "msg": z.string()
15
- })));
16
- export const Schema_rest_base_FileFrameIO = z.lazy(() => (z.object({
17
- "$schema": z.string().optional(),
18
- "accessToken": z.string(),
19
- "folderId": z.string()
20
- })));
21
- export const Schema_rest_base_FileNextFrameIO = z.lazy(() => (z.object({
22
- "$schema": z.string().optional(),
23
- "accessToken": z.string(),
24
- "accountId": z.string(),
25
- "folderId": z.string()
26
- })));
27
- export const Schema_rest_base_FileURL = z.lazy(() => (z.object({
28
- "filepath": z.string().optional(),
29
- "url": z.string()
30
- })));
31
- export const Schema_rest_base_MountedSource = z.lazy(() => (z.object({
32
- "frame.io": Schema_rest_base_SourceFrameIO.optional(),
33
- "mountPoint": z.string().optional(),
34
- "next.frame.io": Schema_rest_base_SourceFrameIOV4.optional(),
35
- "space": Schema_rest_base_SourceSpace.optional(),
36
- "url": Schema_rest_base_SourceURL.optional()
37
- })));
38
- export const Schema_rest_base_SourceFrameIO = z.lazy(() => (z.object({
39
- "accessToken": z.string(),
40
- "folderId": z.string()
41
- })));
42
- export const Schema_rest_base_SourceFrameIOV4 = z.lazy(() => (z.object({
43
- "accessToken": z.string(),
44
- "accountId": z.string(),
45
- "folderId": z.string()
46
- })));
47
- export const Schema_rest_base_SourceSpace = z.lazy(() => (z.object({
48
- "id": z.string()
49
- })));
50
- export const Schema_rest_base_SourceURL = z.lazy(() => (z.object({
51
- "filename": z.string().optional(),
52
- "url": z.string()
53
- })));
54
- export const Schema_rest_base_Space = z.lazy(() => (z.object({
55
- "$schema": z.string().optional(),
56
- "expiry": z.string(),
57
- "files": z.array(Schema_rest_base_SpaceFile).nullable(),
58
- "id": z.string(),
59
- "url": z.string(),
60
- "archiveUrl": z.string().optional()
61
- })));
62
- export const Schema_rest_base_SpaceFile = z.lazy(() => (z.object({
63
- "name": z.string(),
64
- "size": z.number().int().min(0),
65
- "url": z.string()
66
- })));
67
- export const Schema_restv1_ComposeSceneRequest = z.lazy(() => (z.object({
68
- "$schema": z.string().optional(),
69
- "cameraName": z.string().optional(),
70
- "contentClass": z.enum(["art", "photo"]).optional(),
71
- "customModelId": z.string().optional(),
72
- "enableGroundPlane": z.boolean().optional(),
73
- "environment": Schema_types_ComposeEnvironment.optional(),
74
- "environmentExposure": z.number().min(-10).max(10).optional(),
75
- "heroAsset": z.string().min(1),
76
- "lightingSeeds": z.array(z.number().int()).optional(),
77
- "modelVersion": z.enum(["image3_fast", "image4_standard", "image4_ultra"]).optional(),
78
- "numVariations": z.number().int().min(1).max(4).optional(),
79
- "prompt": z.string().min(1),
80
- "scene": Schema_types_ComposeSceneSceneDetails.optional(),
81
- "sceneFile": z.string().optional(),
82
- "seeds": z.array(z.number().int()).optional(),
83
- "size": Schema_types_OutputSize.optional(),
84
- "sources": z.array(Schema_rest_base_MountedSource),
85
- "styleImage": z.string().optional()
86
- })));
87
- export const Schema_types_ComposeEnvironment = z.lazy(() => (z.object({
88
- "file": z.string(),
89
- "rotation": Schema_types_Rotation.optional()
90
- })));
91
- export const Schema_types_Rotation = z.lazy(() => (z.object({
92
- "euler": z.array(z.number()).optional(),
93
- "quaternion": z.array(z.number()).optional()
94
- })));
95
- export const Schema_types_ComposeSceneSceneDetails = z.lazy(() => (z.object({
96
- "camera": Schema_types_SceneCamera.optional()
97
- })));
98
- export const Schema_types_SceneCamera = z.lazy(() => (z.object({
99
- "focal": z.number().min(10).max(1000).optional(),
100
- "sensorWidth": z.number().min(1).max(100).optional(),
101
- "transform": Schema_types_Transform.optional()
102
- })));
103
- export const Schema_types_Transform = z.lazy(() => (z.object({
104
- "azimuthAltitude": Schema_types_AzimuthAltitude.optional(),
105
- "matrix": z.array(z.number()).optional(),
106
- "trs": Schema_types_TRS.optional()
107
- })));
108
- export const Schema_types_AzimuthAltitude = z.lazy(() => (z.object({
109
- "altitude": z.number().min(-90).max(90),
110
- "azimuth": z.number(),
111
- "lookAt": z.array(z.number()).nullable(),
112
- "radius": z.number().min(0)
113
- })));
114
- export const Schema_types_TRS = z.lazy(() => (z.object({
115
- "rotation": Schema_types_Rotation,
116
- "scale": z.array(z.number()).nullable(),
117
- "translation": z.array(z.number()).nullable()
118
- })));
119
- export const Schema_types_OutputSize = z.lazy(() => (z.object({
120
- "height": z.number().int().min(1).max(2688),
121
- "width": z.number().int().min(1).max(2688)
122
- })));
123
- export const Schema_restv1beta_ComposeOutput = z.lazy(() => (z.object({
124
- "backgroundImage": Schema_restv1beta_ComposeOutputImage,
125
- "image": Schema_restv1beta_ComposeOutputImage,
126
- "lightingSeed": z.number().int(),
127
- "maskImage": Schema_restv1beta_ComposeOutputImage,
128
- "seed": z.number().int()
129
- })));
130
- export const Schema_restv1beta_ComposeOutputImage = z.lazy(() => (z.object({
131
- "url": z.string()
132
- })));
133
- export const Schema_restv1beta_ComposeSceneJobResult = z.lazy(() => (z.object({
134
- "outputSpace": Schema_rest_base_Space,
135
- "outputs": z.array(Schema_restv1beta_ComposeOutput),
136
- "promptHasBlockedArtists": z.boolean(),
137
- "promptHasDeniedWords": z.boolean(),
138
- "warnings": z.array(Schema_types_Warning).nullable().optional()
139
- })));
140
- export const Schema_types_Warning = z.lazy(() => (z.object({
141
- "context": z.string(),
142
- "message": z.string()
143
- })));
144
- export const Schema_restv1beta_ComposeSceneRequest = z.lazy(() => (z.object({
145
- "$schema": z.string().optional(),
146
- "cameraName": z.string().optional(),
147
- "contentClass": z.enum(["art", "photo"]).optional(),
148
- "customModelId": z.string().optional(),
149
- "enableGroundPlane": z.boolean().optional(),
150
- "environment": Schema_types_ComposeEnvironment.optional(),
151
- "environmentExposure": z.number().min(-10).max(10).optional(),
152
- "heroAsset": z.string().min(1),
153
- "lightingSeeds": z.array(z.number().int()).optional(),
154
- "modelVersion": z.enum(["image3_fast", "image4_standard", "image4_ultra"]).optional(),
155
- "numVariations": z.number().int().min(1).max(4).optional(),
156
- "prompt": z.string().min(1),
157
- "scene": Schema_types_ComposeSceneSceneDetails.optional(),
158
- "sceneFile": z.string().optional(),
159
- "seeds": z.array(z.number().int()).optional(),
160
- "size": Schema_types_OutputSize.optional(),
161
- "sources": z.array(Schema_rest_base_MountedSource),
162
- "styleImage": z.string().optional()
163
- })));
164
- export const Schema_restv1beta_ComposeSceneResponse = z.lazy(() => (z.object({
165
- "$schema": z.string().optional(),
166
- "bugReportUrl": z.string(),
167
- "error": z.string().optional(),
168
- "id": z.string(),
169
- "result": Schema_restv1beta_ComposeSceneJobResult.optional(),
170
- "status": z.string(),
171
- "url": z.string()
172
- })));
173
- export const Schema_restv1beta_CreateSceneJobResult = z.lazy(() => (z.object({
174
- "outputSpace": Schema_rest_base_Space,
175
- "sceneUrl": z.string()
176
- })));
177
- export const Schema_restv1beta_CreateSceneRequest = z.lazy(() => (z.object({
178
- "$schema": z.string().optional(),
179
- "encoding": z.enum(["glb", "gltf", "fbx", "usdz", "usda", "usdc", "obj"]),
180
- "fileBaseName": z.string().min(1),
181
- "scene": Schema_types_SceneDescription,
182
- "sources": z.array(Schema_rest_base_MountedSource)
183
- })));
184
- export const Schema_types_SceneDescription = z.lazy(() => (z.object({
185
- "baseFile": Schema_types_SceneBaseFile.optional(),
186
- "camera": Schema_types_SceneCamera.optional(),
187
- "environment": Schema_types_SceneEnvironment.optional(),
188
- "formatOptions": Schema_types_FormatOptions.optional(),
189
- "materials": z.array(Schema_types_MaterialAssign).nullable().optional(),
190
- "metersPerUnit": z.number().optional(),
191
- "models": Schema_types_SceneModels.optional()
192
- })));
193
- export const Schema_types_SceneBaseFile = z.lazy(() => (z.object({
194
- "file": z.string(),
195
- "modelsRootNodeName": z.string().optional()
196
- })));
197
- export const Schema_types_SceneEnvironment = z.lazy(() => (z.object({
198
- "exposure": z.number().min(-10).max(10).optional(),
199
- "file": z.string().optional(),
200
- "preserveLights": z.boolean().optional(),
201
- "rotation": Schema_types_Rotation.optional()
202
- })));
203
- export const Schema_types_FormatOptions = z.lazy(() => (z.object({
204
- "usd": Schema_types_UsdOptions
205
- })));
206
- export const Schema_types_UsdOptions = z.lazy(() => (z.object({
207
- "variants": z.array(Schema_types_UsdVariant).nullable()
208
- })));
209
- export const Schema_types_UsdVariant = z.lazy(() => (z.object({
210
- "primName": z.string(),
211
- "variant": z.string(),
212
- "variantSet": z.string()
213
- })));
214
- export const Schema_types_MaterialAssign = z.lazy(() => (z.object({
215
- "material": Schema_types_Material,
216
- "materialName": z.string(),
217
- "nodeList": z.array(z.string()).nullable(),
218
- "assignByDefault": z.boolean().optional(),
219
- "excludeFromDefault": z.array(z.string()).optional()
220
- })));
221
- export const Schema_types_Material = z.lazy(() => (z.object({
222
- "sbs": Schema_types_SbsMaterial.optional(),
223
- "solidColor": Schema_types_SolidColorMaterial.optional()
224
- })));
225
- export const Schema_types_SbsMaterial = z.lazy(() => (z.object({
226
- "preset": z.string().optional(),
227
- "resolution": z.union([z.literal(16), z.literal(32), z.literal(64), z.literal(128), z.literal(256), z.literal(512), z.literal(1024), z.literal(2048), z.literal(4096)]).optional(),
228
- "rotation": z.number().optional(),
229
- "sbsar": z.string().optional(),
230
- "scale": z.array(z.number()).optional(),
231
- "translation": z.array(z.number()).optional()
232
- })));
233
- export const Schema_types_SolidColorMaterial = z.lazy(() => (z.object({
234
- "color": z.array(z.number()).nullable(),
235
- "metallicFactor": z.number().min(0).max(1).optional(),
236
- "roughnessFactor": z.number().min(0).max(1).optional()
237
- })));
238
- export const Schema_types_SceneModels = z.lazy(() => (z.object({
239
- "imports": z.array(Schema_types_SceneModel).nullable().optional(),
240
- "modelsRootNodeTransform": Schema_types_Transform.optional()
241
- })));
242
- export const Schema_types_SceneModel = z.lazy(() => (z.object({
243
- "anchorName": z.string().optional(),
244
- "file": z.string().optional(),
245
- "formatOptions": Schema_types_FormatOptions.optional(),
246
- "materialOverrides": z.array(Schema_types_MaterialOverride).nullable().optional(),
247
- "transform": Schema_types_Transform.optional()
248
- })));
249
- export const Schema_types_MaterialOverride = z.lazy(() => (z.object({
250
- "absorptionColorFactor": z.array(z.number()).optional(),
251
- "absorptionColorTexture": z.string().optional(),
252
- "absorptionDistanceFactor": z.number().min(0).optional(),
253
- "absorptionDistanceTexture": z.string().optional(),
254
- "baseColorFactor": z.array(z.number()).optional(),
255
- "baseColorTexture": z.string().optional(),
256
- "coatColorFactor": z.array(z.number()).optional(),
257
- "coatColorTexture": z.string().optional(),
258
- "coatOpacityFactor": z.number().min(0).max(1).optional(),
259
- "coatOpacityTexture": z.string().optional(),
260
- "coatRoughnessFactor": z.number().min(0).max(1).optional(),
261
- "coatRoughnessTexture": z.string().optional(),
262
- "materialName": z.string(),
263
- "metallicFactor": z.number().min(0).max(1).optional(),
264
- "metallicTexture": z.string().optional(),
265
- "normalFactor": z.array(z.number()).optional(),
266
- "normalTexture": z.string().optional(),
267
- "opacityFactor": z.number().min(0).optional(),
268
- "opacityTexture": z.string().optional(),
269
- "pbrMaterial": Schema_types_SbsMaterial.optional(),
270
- "roughnessFactor": z.number().min(0).max(1).optional(),
271
- "roughnessTexture": z.string().optional(),
272
- "translucencyFactor": z.number().min(0).max(1).optional(),
273
- "translucencyTexture": z.string().optional(),
274
- "volumeThicknessFactor": z.number().min(0).optional(),
275
- "volumeThicknessTexture": z.string().optional()
276
- })));
277
- export const Schema_restv1beta_CreateSceneResponse = z.lazy(() => (z.object({
278
- "$schema": z.string().optional(),
279
- "bugReportUrl": z.string(),
280
- "error": z.string().optional(),
281
- "id": z.string(),
282
- "result": Schema_restv1beta_CreateSceneJobResult.optional(),
283
- "status": z.string(),
284
- "url": z.string()
285
- })));
286
- export const Schema_restv1beta_ModelConvertJobResult = z.lazy(() => (z.object({
287
- "outputSpace": Schema_rest_base_Space
288
- })));
289
- export const Schema_restv1beta_ModelConvertRequest = z.lazy(() => (z.object({
290
- "$schema": z.string().optional(),
291
- "format": z.enum(["glb", "gltf", "fbx", "usdz", "usda", "usdc", "obj"]),
292
- "modelEntrypoint": z.string().optional(),
293
- "sources": z.array(Schema_rest_base_MountedSource)
294
- })));
295
- export const Schema_restv1beta_ModelConvertResponse = z.lazy(() => (z.object({
296
- "$schema": z.string().optional(),
297
- "bugReportUrl": z.string(),
298
- "error": z.string().optional(),
299
- "id": z.string(),
300
- "result": Schema_restv1beta_ModelConvertJobResult.optional(),
301
- "status": z.string(),
302
- "url": z.string()
303
- })));
304
- export const Schema_restv1beta_RenderModelRequest = z.lazy(() => (z.object({
305
- "$schema": z.string().optional(),
306
- "autoFraming": Schema_types_AutoFramingOptions.optional(),
307
- "background": Schema_types_BackgroundOptions.optional(),
308
- "cameraName": z.string().optional(),
309
- "extraOutputs": Schema_types_RenderExtraOutputs.optional(),
310
- "groundPlane": Schema_types_GroundPlaneOptions.optional(),
311
- "scene": Schema_types_SimpleSceneDescription,
312
- "size": Schema_types_SizeOptions.optional(),
313
- "sources": z.array(Schema_rest_base_MountedSource)
314
- })));
315
- export const Schema_types_AutoFramingOptions = z.lazy(() => (z.object({
316
- "algorithm": z.enum(["auto", "bounding_cylinder", "frustum_fit"]).optional(),
317
- "zoomFactor": z.number().min(0.001).max(100).optional()
318
- })));
319
- export const Schema_types_BackgroundOptions = z.lazy(() => (z.object({
320
- "backgroundColor": z.array(z.number()).nullable().optional(),
321
- "backgroundImage": z.string().optional(),
322
- "showEnvironment": z.boolean().optional()
323
- })));
324
- export const Schema_types_RenderExtraOutputs = z.lazy(() => (z.object({
325
- "exportDistanceToCamera": z.boolean().optional(),
326
- "exportMaterialIds": z.boolean().optional(),
327
- "exportMaterialMasks": Schema_types_ExportMasksOptions.optional(),
328
- "exportMatte": Schema_types_RenderExtraOutputExportMatte.optional(),
329
- "exportObjectIds": z.boolean().optional(),
330
- "exportObjectMasks": Schema_types_ExportMasksOptions.optional()
331
- })));
332
- export const Schema_types_ExportMasksOptions = z.lazy(() => (z.object({
333
- "selection": z.array(z.string()).nullable().optional()
334
- })));
335
- export const Schema_types_RenderExtraOutputExportMatte = z.lazy(() => (z.object({
336
- "includeNodes": z.array(z.string()).nullable()
337
- })));
338
- export const Schema_types_GroundPlaneOptions = z.lazy(() => (z.object({
339
- "autoGroundScene": z.boolean().optional(),
340
- "enable": z.boolean().optional(),
341
- "reflections": z.boolean().optional(),
342
- "reflectionsOpacity": z.number().min(0).max(1).optional(),
343
- "reflectionsRoughness": z.number().min(0).max(1).optional(),
344
- "shadows": z.boolean().optional(),
345
- "shadowsOpacity": z.number().min(0).max(1).optional()
346
- })));
347
- export const Schema_types_SimpleSceneDescription = z.lazy(() => (z.object({
348
- "camera": Schema_types_SceneCamera.optional(),
349
- "environment": Schema_types_SceneEnvironment.optional(),
350
- "formatOptions": Schema_types_FormatOptions.optional(),
351
- "materialOverrides": z.array(Schema_types_MaterialOverride).nullable().optional(),
352
- "materials": z.array(Schema_types_MaterialAssign).nullable().optional(),
353
- "metersPerUnit": z.number().optional(),
354
- "modelFile": z.string().optional(),
355
- "modelTransform": Schema_types_Transform.optional()
356
- })));
357
- export const Schema_types_SizeOptions = z.lazy(() => (z.object({
358
- "height": z.number().int().min(16).max(2304),
359
- "width": z.number().int().min(16).max(3840)
360
- })));
361
- export const Schema_restv1beta_RenderModelResponse = z.lazy(() => (z.object({
362
- "$schema": z.string().optional(),
363
- "bugReportUrl": z.string(),
364
- "error": z.string().optional(),
365
- "id": z.string(),
366
- "result": Schema_restv1beta_RenderSceneJobResult.optional(),
367
- "status": z.string(),
368
- "url": z.string()
369
- })));
370
- export const Schema_restv1beta_RenderSceneJobResult = z.lazy(() => (z.object({
371
- "distanceToCameraUrl": z.string().optional(),
372
- "materialIds": Schema_types_IdsMapData.optional(),
373
- "materialMasks": z.array(Schema_types_MaskNameToFileBinding).optional(),
374
- "matteUrl": z.string().optional(),
375
- "objectIds": Schema_types_IdsMapData.optional(),
376
- "objectMasks": z.array(Schema_types_MaskNameToFileBinding).optional(),
377
- "outputSpace": Schema_rest_base_Space,
378
- "renderUrl": z.string(),
379
- "warnings": z.array(Schema_types_Warning).nullable().optional()
380
- })));
381
- export const Schema_types_IdsMapData = z.lazy(() => (z.object({
382
- "fileName": z.string(),
383
- "ids": z.array(Schema_types_NameToColorBinding).nullable()
384
- })));
385
- export const Schema_types_NameToColorBinding = z.lazy(() => (z.object({
386
- "color": z.string(),
387
- "name": z.string()
388
- })));
389
- export const Schema_types_MaskNameToFileBinding = z.lazy(() => (z.object({
390
- "fileName": z.string(),
391
- "name": z.string()
392
- })));
393
- export const Schema_restv1beta_RenderModelTurntableRequest = z.lazy(() => (z.object({
394
- "$schema": z.string().optional(),
395
- "autoFraming": Schema_types_AutoFramingOptions.optional(),
396
- "background": Schema_types_BackgroundOptions.optional(),
397
- "cameraName": z.string().optional(),
398
- "exportFrames": z.boolean().optional(),
399
- "framerate": z.number().int().min(5).max(30).optional(),
400
- "groundPlane": Schema_types_GroundPlaneOptions.optional(),
401
- "mode": z.enum(["rotate_camera", "rotate_model", "rotate_environment"]).optional(),
402
- "rotationDirection": z.enum(["clockwise", "counter_clockwise"]).optional(),
403
- "scene": Schema_types_SimpleSceneDescription,
404
- "seconds": z.number().int().min(1).max(5).optional(),
405
- "size": Schema_types_SizeOptions.optional(),
406
- "sources": z.array(Schema_rest_base_MountedSource),
407
- "useRasterizer": z.boolean().optional()
408
- })));
409
- export const Schema_restv1beta_RenderModelTurntableResponse = z.lazy(() => (z.object({
410
- "$schema": z.string().optional(),
411
- "bugReportUrl": z.string(),
412
- "error": z.string().optional(),
413
- "id": z.string(),
414
- "result": Schema_restv1beta_RenderSceneTurntableJobResult.optional(),
415
- "status": z.string(),
416
- "url": z.string()
417
- })));
418
- export const Schema_restv1beta_RenderSceneTurntableJobResult = z.lazy(() => (z.object({
419
- "framesUrls": z.array(z.string()),
420
- "outputSpace": Schema_rest_base_Space,
421
- "renderUrl": z.string(),
422
- "warnings": z.array(Schema_types_Warning).nullable().optional()
423
- })));
424
- export const Schema_restv1beta_RenderSceneRequest = z.lazy(() => (z.object({
425
- "$schema": z.string().optional(),
426
- "autoFraming": Schema_types_AutoFramingOptions.optional(),
427
- "background": Schema_types_BackgroundOptions.optional(),
428
- "cameraName": z.string().optional(),
429
- "extraOutputs": Schema_types_RenderExtraOutputs.optional(),
430
- "groundPlane": Schema_types_GroundPlaneOptions.optional(),
431
- "scene": Schema_types_SceneDescription,
432
- "size": Schema_types_SizeOptions.optional(),
433
- "sources": z.array(Schema_rest_base_MountedSource)
434
- })));
435
- export const Schema_restv1beta_RenderSceneResponse = z.lazy(() => (z.object({
436
- "$schema": z.string().optional(),
437
- "bugReportUrl": z.string(),
438
- "error": z.string().optional(),
439
- "id": z.string(),
440
- "result": Schema_restv1beta_RenderSceneJobResult.optional(),
441
- "status": z.string(),
442
- "url": z.string()
443
- })));
444
- export const Schema_restv1beta_SceneDescJobResult = z.lazy(() => (z.object({
445
- "stats": Schema_types_SceneStatsInfo
446
- })));
447
- export const Schema_types_SceneStatsInfo = z.lazy(() => (z.object({
448
- "cameraNames": z.array(z.string()).nullable(),
449
- "materialNames": z.array(z.string()).nullable(),
450
- "metersPerSceneUnit": z.number(),
451
- "nodesHierarchy": Schema_types_SceneStatsNode,
452
- "numEquivalentTriangles": z.number().int(),
453
- "numExtraPolygons": z.number().int(),
454
- "numFaces": z.number().int(),
455
- "numLines": z.number().int(),
456
- "numMeshes": z.number().int(),
457
- "numPoints": z.number().int(),
458
- "numQuads": z.number().int(),
459
- "numSubMeshes": z.number().int(),
460
- "numTextures": z.number().int(),
461
- "numTriangles": z.number().int(),
462
- "numVertices": z.number().int(),
463
- "sceneUpAxis": z.string()
464
- })));
465
- export const Schema_types_SceneStatsNode = z.lazy(() => (z.object({
466
- "assignedMaterialName": z.string().optional(),
467
- "cameraStats": Schema_types_CameraStats.optional(),
468
- "children": z.array(Schema_types_SceneStatsNode).nullable().optional(),
469
- "name": z.string(),
470
- "type": z.string(),
471
- "variants": z.array(Schema_types_SceneStatsNodeVariant).nullable().optional(),
472
- "worldSpaceBoundingBox": Schema_types_SceneStatsBoundingBox.optional()
473
- })));
474
- export const Schema_types_CameraStats = z.lazy(() => (z.object({
475
- "aspectRatio": z.number(),
476
- "fStop": z.number(),
477
- "focalLength": z.number(),
478
- "focusDistance": z.number(),
479
- "horizontalAperture": z.number(),
480
- "horizontalApertureOffset": z.number(),
481
- "name": z.string(),
482
- "projection": z.string(),
483
- "verticalAperture": z.number(),
484
- "verticalApertureOffset": z.number()
485
- })));
486
- export const Schema_types_SceneStatsNodeVariant = z.lazy(() => (z.object({
487
- "currentValue": z.string(),
488
- "name": z.string(),
489
- "values": z.array(z.string()).nullable()
490
- })));
491
- export const Schema_types_SceneStatsBoundingBox = z.lazy(() => (z.object({
492
- "max": z.array(z.number()).nullable(),
493
- "min": z.array(z.number()).nullable()
494
- })));
495
- export const Schema_restv1beta_SceneDescRequest = z.lazy(() => (z.object({
496
- "$schema": z.string().optional(),
497
- "sceneFile": z.string().optional(),
498
- "sources": z.array(Schema_rest_base_MountedSource)
499
- })));
500
- export const Schema_restv1beta_SceneDescResponse = z.lazy(() => (z.object({
501
- "$schema": z.string().optional(),
502
- "bugReportUrl": z.string(),
503
- "error": z.string().optional(),
504
- "id": z.string(),
505
- "result": Schema_restv1beta_SceneDescJobResult.optional(),
506
- "status": z.string(),
507
- "url": z.string()
508
- })));
509
- export const Schema_types_RendererConfig = z.lazy(() => (z.object({
510
- "type": z.enum(["ssca", "rtx"])
511
- })));
512
- export const Schema_types_ShadowCatchingMaterial = z.lazy(() => (z.object({
513
- "reflectionOpacity": z.number(),
514
- "roughness": z.number(),
515
- "shadowOpacity": z.number()
516
- })));
4
+ /**
5
+ * OpenAPI component `rest_base.FileFrameIO`, request (closed).
6
+ * @category Generated
7
+ */
8
+ export const In_rest_base_FileFrameIO = z.lazy(() => z.strictObject({
9
+ $schema: z.string().optional().describe("A URL to the JSON Schema for this object."),
10
+ accessToken: z.string().describe("Frame.io access token or Developer token. See https://developer.frame.io/docs/getting-started/authentication for obtaining a token."),
11
+ folderId: z.string().describe("Frame.io folder ID containing the assets. This should be the ID of the folder (not an asset ID). For best performance and to avoid [size limitations](/#what-is-the-maximum-size-of-assets-i-can-process), use the folder ID closest to your target assets.")
12
+ }));
13
+ /**
14
+ * OpenAPI component `rest_base.FileNextFrameIO`, request (closed).
15
+ * @category Generated
16
+ */
17
+ export const In_rest_base_FileNextFrameIO = z.lazy(() => z.strictObject({
18
+ $schema: z.string().optional().describe("A URL to the JSON Schema for this object."),
19
+ accessToken: z.string().describe("Frame.io access token. See https://developer.adobe.com/frameio/guides/Authentication/ for obtaining a token."),
20
+ accountId: z.string().describe("Frame.io account ID. This is the account identifier for the next.frame.io account owner. To find your account ID, log in to next.frame.io, navigate to your inbox, and extract the UUID from the URL (e.g., in https://next.frame.io/inbox/abcdefgh-1234-1234-1234-abcdefghijk, the account ID is abcdefg..."),
21
+ folderId: z.string().describe("Frame.io folder ID containing the assets. This should be the ID of the folder (not an asset ID). For best performance and to avoid [size limitations](/#what-is-the-maximum-size-of-assets-i-can-process), use the folder ID closest to your target assets.")
22
+ }));
23
+ /**
24
+ * OpenAPI component `rest_base.FileURL`, request (closed).
25
+ * @category Generated
26
+ */
27
+ export const In_rest_base_FileURL = z.lazy(() => z.strictObject({
28
+ filepath: z.string().optional().describe("The filename in the filepath overrides filename. If filepath is unset, will try to detect filename from content disposition header, then url itself. If a path is specified before the filename in the filepath, the file will be mounted at that location in the space."),
29
+ url: z.string()
30
+ }));
31
+ /**
32
+ * OpenAPI component `rest_base.MountedSource`, request (closed).
33
+ * @category Generated
34
+ */
35
+ export const In_rest_base_MountedSource = z.lazy(() => z.strictObject({
36
+ "frame.io": In_rest_base_SourceFrameIO.optional().describe("Fetch content from a Frame.io folder. ⚠️ All sources are exclusive."),
37
+ mountPoint: z.string().optional().describe("Where to mount the content of the source in the virtual job working directory."),
38
+ "next.frame.io": In_rest_base_SourceFrameIOV4.optional().describe("Fetch content from a next.frame.io folder. ⚠️ All sources are exclusive."),
39
+ space: In_rest_base_SourceSpace.optional().describe("Read content from an existing space (can be another job's output, or uploaded manually with the space API). ⚠️ All sources are exclusive.'"),
40
+ url: In_rest_base_SourceURL.optional().describe("Fetch content from a URL. ⚠️ All sources are exclusive.")
41
+ }));
42
+ /**
43
+ * OpenAPI component `rest_base.SourceFrameIO`, request (closed).
44
+ * @category Generated
45
+ */
46
+ export const In_rest_base_SourceFrameIO = z.lazy(() => z.strictObject({
47
+ accessToken: z.string().describe("Frame.io access token or Developer token. See https://developer.frame.io/docs/getting-started/authentication for obtaining a token."),
48
+ folderId: z.string().describe("Frame.io folder ID containing the assets. This should be the ID of the folder (not an asset ID). For best performance and to avoid [size limitations](/#what-is-the-maximum-size-of-assets-i-can-process), use the folder ID closest to your target assets.")
49
+ }));
50
+ /**
51
+ * OpenAPI component `rest_base.SourceFrameIOV4`, request (closed).
52
+ * @category Generated
53
+ */
54
+ export const In_rest_base_SourceFrameIOV4 = z.lazy(() => z.strictObject({
55
+ accessToken: z.string().describe("Frame.io access token. See https://developer.adobe.com/frameio/guides/Authentication/ for obtaining a token."),
56
+ accountId: z.string().describe("Frame.io account ID. This is the account identifier for the next.frame.io account owner. To find your account ID, log in to next.frame.io, navigate to your inbox, and extract the UUID from the URL (e.g., in https://next.frame.io/inbox/abcdefgh-1234-1234-1234-abcdefghijk, the account ID is abcdefg..."),
57
+ folderId: z.string().describe("Frame.io folder ID containing the assets. This should be the ID of the folder (not an asset ID). For best performance and to avoid [size limitations](/#what-is-the-maximum-size-of-assets-i-can-process), use the folder ID closest to your target assets.")
58
+ }));
59
+ /**
60
+ * OpenAPI component `rest_base.SourceSpace`, request (closed).
61
+ * @category Generated
62
+ */
63
+ export const In_rest_base_SourceSpace = z.lazy(() => z.strictObject({
64
+ id: z.string().describe("A space ID.")
65
+ }));
66
+ /**
67
+ * OpenAPI component `rest_base.SourceURL`, request (closed).
68
+ * @category Generated
69
+ */
70
+ export const In_rest_base_SourceURL = z.lazy(() => z.strictObject({
71
+ filename: z.string().optional().describe("Filename override. If unset, the service will try to detect the filename from the content disposition header, then the URL itself."),
72
+ url: z.string().describe("URL to fetch content from.")
73
+ }));
74
+ /**
75
+ * OpenAPI component `restv1.ComposeSceneRequest`, request (closed).
76
+ * @category Generated
77
+ */
78
+ export const In_restv1_ComposeSceneRequest = z.lazy(() => z.strictObject({
79
+ $schema: z.string().optional().describe("A URL to the JSON schema for this object."),
80
+ cameraName: z.string().optional().describe("Name of an existing camera in the source 3D scene. The camera has to be defined in the scene."),
81
+ contentClass: z.enum(["art", "photo"]).optional().describe("Class of content to generate."),
82
+ customModelId: z.string().optional().describe("ID of the custom model to be used for the generation. You can retrieve your custom model ID (assetId) with the Firefly retrieve custom model endpoint (https://developer.adobe.com/firefly-services/docs/firefly-api/api/#operation/getCustomModels)."),
83
+ enableGroundPlane: z.boolean().optional().describe("Enable the auto-generated ground plane under the hero asset. This is useful if the 3D scene contains only a hero asset, without additional elements."),
84
+ environment: In_types_ComposeEnvironment.optional().describe("Optional environment settings used for all variations. If omitted, an environment will be generated based on the background. If set, the `lightingSeeds` parameter will be ignored."),
85
+ environmentExposure: z.number().min(-10).max(10).optional().describe("Exposure, in EV (0=neutral)."),
86
+ heroAsset: z.string().min(1).describe("Name of an existing 'hero asset' in the source 3D scene. The asset has to be defined in the scene."),
87
+ lightingSeeds: z.array(z.number().int()).max(4).optional().describe("Optional seeds to be used to generate the lighting for the scene. The first seed will be used with the first seed of the background, the second one with the second seed of the background and so on."),
88
+ modelVersion: z.enum(["image3_fast", "image4_standard", "image4_ultra"]).optional().describe("Model version to be used to generate the background image with Adobe Firefly."),
89
+ numVariations: z.number().int().min(1).max(4).optional().describe("The number of variations to generate. `numVariations` will default to the number of seeds, or to 1 if `seeds` is not specified."),
90
+ prompt: z.string().min(1).describe("Prompt to be used to generate the background image with Adobe Firefly."),
91
+ scene: In_types_ComposeSceneSceneDetails.optional().describe("Optional scene-level details, such as a custom camera."),
92
+ sceneFile: z.string().optional().describe("The path of the scene file in `sources`. If value is null, the first found scene file will be used."),
93
+ seeds: z.array(z.number().int()).max(4).optional().describe("Optional seed value to be used to generate the background image with Adobe Firefly. A seed ensures consistent background image generation. If `seed` is not set, a random seed will be used. Retrieve the seed used for the generation in the output details of the job."),
94
+ size: In_types_OutputSize.optional().describe("The size of the image generations. The supported dimensions for image generations are: | Dimensions | Description | | -----------| ----- | | { \"width\": 2048, \"height\": 2048} | Square (1:1) | | { \"width\": 2304, \"height\": 1792 } | Landscape (4:3) | | { \"width\": 1792, \"height\": 2304 } | Portrait (3:..."),
95
+ sources: z.array(In_rest_base_MountedSource).min(1).max(16).describe("List of sources to aggregate and run the job against."),
96
+ styleImage: z.string().optional().describe("Optional 'style image' to be used to generate the background. The style image has to be present in `sources`.")
97
+ }));
98
+ /**
99
+ * OpenAPI component `restv1beta.CreateSceneRequest`, request (closed).
100
+ * @category Generated
101
+ */
102
+ export const In_restv1beta_CreateSceneRequest = z.lazy(() => z.strictObject({
103
+ $schema: z.string().optional().describe("A URL to the JSON schema for this object."),
104
+ encoding: z.enum(["glb", "gltf", "fbx", "usdz", "usda", "usdc", "obj"]).describe("Encoding output format."),
105
+ fileBaseName: z.string().min(1).describe("Output filename."),
106
+ scene: In_types_SceneDescription,
107
+ sources: z.array(In_rest_base_MountedSource).min(1).max(16).describe("List of sources to aggregate and run the job against.")
108
+ }));
109
+ /**
110
+ * OpenAPI component `restv1beta.ModelConvertRequest`, request (closed).
111
+ * @category Generated
112
+ */
113
+ export const In_restv1beta_ModelConvertRequest = z.lazy(() => z.strictObject({
114
+ $schema: z.string().optional().describe("A URL to the JSON schema for this object."),
115
+ format: z.enum(["glb", "gltf", "fbx", "usdz", "usda", "usdc", "obj"]).describe("Output format."),
116
+ modelEntrypoint: z.string().optional().describe("Conversion usually takes the first file that's considered a valid 3D model. Define this entry point to disambiguate when there are multiple options."),
117
+ sources: z.array(In_rest_base_MountedSource).min(1).max(16).describe("List of sources to aggregate and run the job against.")
118
+ }));
119
+ /**
120
+ * OpenAPI component `restv1beta.RenderModelRequest`, request (closed).
121
+ * @category Generated
122
+ */
123
+ export const In_restv1beta_RenderModelRequest = z.lazy(() => z.strictObject({
124
+ $schema: z.string().optional().describe("A URL to the JSON schema for this object."),
125
+ autoFraming: In_types_AutoFramingOptions.optional().describe("Options related to auto-framing."),
126
+ background: In_types_BackgroundOptions.optional().describe("Options related to the background."),
127
+ cameraName: z.string().optional().describe("If set, this camera is used to perform the render. The camera has to be defined in the scene."),
128
+ extraOutputs: In_types_RenderExtraOutputs.optional().describe("Request additional outputs from the renderer."),
129
+ groundPlane: In_types_GroundPlaneOptions.optional().describe("Options related to the ground plane."),
130
+ scene: In_types_SimpleSceneDescription.describe("Define rendering scene primitives."),
131
+ size: In_types_SizeOptions.optional().describe("Options related to the render size."),
132
+ sources: z.array(In_rest_base_MountedSource).min(1).max(16).describe("List of sources to aggregate and run the job against.")
133
+ }));
134
+ /**
135
+ * OpenAPI component `restv1beta.RenderSceneRequest`, request (closed).
136
+ * @category Generated
137
+ */
138
+ export const In_restv1beta_RenderSceneRequest = z.lazy(() => z.strictObject({
139
+ $schema: z.string().optional().describe("A URL to the JSON schema for this object."),
140
+ autoFraming: In_types_AutoFramingOptions.optional().describe("Auto-framing related options."),
141
+ background: In_types_BackgroundOptions.optional().describe("Background related options."),
142
+ cameraName: z.string().optional().describe("If set, this camera is used to perform the render. The camera has to be defined in the scene."),
143
+ extraOutputs: In_types_RenderExtraOutputs.optional().describe("Request additional outputs from the renderer."),
144
+ groundPlane: In_types_GroundPlaneOptions.optional().describe("Options related to the ground plane."),
145
+ scene: In_types_SceneDescription.describe("Define rendering scene primitives."),
146
+ size: In_types_SizeOptions.optional().describe("Render size related options."),
147
+ sources: z.array(In_rest_base_MountedSource).min(1).max(16).describe("List of sources to aggregate and run the job against.")
148
+ }));
149
+ /**
150
+ * OpenAPI component `restv1beta.SceneDescRequest`, request (closed).
151
+ * @category Generated
152
+ */
153
+ export const In_restv1beta_SceneDescRequest = z.lazy(() => z.strictObject({
154
+ $schema: z.string().optional().describe("A URL to the JSON schema for this object."),
155
+ sceneFile: z.string().optional().describe("Path to the scene file in `sources`. If the value is `null`, the first found scene file will be used."),
156
+ sources: z.array(In_rest_base_MountedSource).min(1).max(16).describe("List of sources to aggregate and run the job against.")
157
+ }));
158
+ /**
159
+ * OpenAPI component `types.AutoFramingOptions`, request (closed).
160
+ * @category Generated
161
+ */
162
+ export const In_types_AutoFramingOptions = z.lazy(() => z.strictObject({
163
+ algorithm: z.enum(["auto", "bounding_cylinder", "frustum_fit"]).optional(),
164
+ zoomFactor: z.number().min(0.001).max(100).optional().describe("A value of 1 indicates tight framing. Less than 1 is a zoom-out. Greater than 1 is a zoom-in.")
165
+ }));
166
+ /**
167
+ * OpenAPI component `types.AzimuthAltitude`, request (closed).
168
+ * @category Generated
169
+ */
170
+ export const In_types_AzimuthAltitude = z.lazy(() => z.strictObject({
171
+ altitude: z.number().min(-90).max(90).describe("Altitude, in degrees, from -90 to 90 degrees."),
172
+ azimuth: z.number().describe("Rotation around the vertical axis, in degrees."),
173
+ lookAt: z.array(z.number()).min(3).max(3).nullable().describe("Look at point coordinates."),
174
+ radius: z.number().min(0).describe("Distance to the `lookAt` point.")
175
+ }));
176
+ /**
177
+ * OpenAPI component `types.BackgroundOptions`, request (closed).
178
+ * @category Generated
179
+ */
180
+ export const In_types_BackgroundOptions = z.lazy(() => z.strictObject({
181
+ backgroundColor: z.array(z.number()).min(4).max(4).nullable().optional().describe("RGBA background color. Has an effect only if `showEnvironment` is `false`. Each component has to be in the [0,1] range."),
182
+ backgroundImage: z.string().optional().describe("Path to a background image. If set, will be used as the background."),
183
+ showEnvironment: z.boolean().optional().describe("Show the environment map as the background.")
184
+ }));
185
+ /**
186
+ * OpenAPI component `types.ComposeEnvironment`, request (closed).
187
+ * @category Generated
188
+ */
189
+ export const In_types_ComposeEnvironment = z.lazy(() => z.strictObject({
190
+ file: z.string().describe("Path of environment file in `sources`. If value is null, the environment file will be generated."),
191
+ rotation: In_types_Rotation.optional().describe("Controls the orientation of the environment map.")
192
+ }));
193
+ /**
194
+ * OpenAPI component `types.ComposeSceneSceneDetails`, request (closed).
195
+ * @category Generated
196
+ */
197
+ export const In_types_ComposeSceneSceneDetails = z.lazy(() => z.strictObject({
198
+ camera: In_types_SceneCamera.optional().describe("Custom camera definition for the scene render. Mutually exclusive with 'cameraName' at the top level. Use this to define camera parameters programmatically instead of referencing a named camera from the 3D scene.")
199
+ }));
200
+ /**
201
+ * OpenAPI component `types.ExportMasksOptions`, request (closed).
202
+ * @category Generated
203
+ */
204
+ export const In_types_ExportMasksOptions = z.lazy(() => z.strictObject({
205
+ selection: z.array(z.string()).nullable().optional().describe("The list of masks to be exported, accepts glob expressions. If empty, all masks will be exported.")
206
+ }));
207
+ /**
208
+ * OpenAPI component `types.FormatOptions`, request (closed).
209
+ * @category Generated
210
+ */
211
+ export const In_types_FormatOptions = z.lazy(() => z.strictObject({
212
+ usd: In_types_UsdOptions.describe("options specific to USD file format")
213
+ }));
214
+ /**
215
+ * OpenAPI component `types.GroundPlaneOptions`, request (closed).
216
+ * @category Generated
217
+ */
218
+ export const In_types_GroundPlaneOptions = z.lazy(() => z.strictObject({
219
+ autoGroundScene: z.boolean().optional().describe("Automatically position the scene on the ground plane. Moves the scene along the vertical axis."),
220
+ enable: z.boolean().optional().describe("Enable/disable the ground plane."),
221
+ reflections: z.boolean().optional().describe("Enable/disable reflections onto the ground plane."),
222
+ reflectionsOpacity: z.number().min(0).max(1).optional().describe("Controls the opacity of the reflections. Useful for compositing purposes."),
223
+ reflectionsRoughness: z.number().min(0).max(1).optional().describe("Controls the roughness of the reflections. Useful for compositing purposes."),
224
+ shadows: z.boolean().optional().describe("Controls whether the ground plane catches shadows or not."),
225
+ shadowsOpacity: z.number().min(0).max(1).optional().describe("Controls the opacity of cast shadows. Only has effect if shadows are enabled.")
226
+ }));
227
+ /**
228
+ * OpenAPI component `types.Material`, request (closed).
229
+ * @category Generated
230
+ */
231
+ export const In_types_Material = z.lazy(() => z.strictObject({
232
+ sbs: In_types_SbsMaterial.optional().describe("The PBR material definition."),
233
+ solidColor: In_types_SolidColorMaterial.optional().describe("The solid color material definition.")
234
+ }));
235
+ /**
236
+ * OpenAPI component `types.MaterialAssign`, request (closed).
237
+ * @category Generated
238
+ */
239
+ export const In_types_MaterialAssign = z.lazy(() => z.strictObject({
240
+ material: In_types_Material.describe("The material definition."),
241
+ materialName: z.string().describe("Desired material name, it will be sanitized to make a valid USD prim name."),
242
+ nodeList: z.array(z.string()).nullable().describe("List of nodes under which geometric primitives will have this material assigned. Each entry can be a full node name or a glob expression."),
243
+ assignByDefault: z.boolean().optional().describe("Set to true to assign this material by default to all geometric primitives."),
244
+ excludeFromDefault: z.array(z.string()).optional().describe("List of nodes to exclude from default assignment.")
245
+ }));
246
+ /**
247
+ * OpenAPI component `types.MaterialOverride`, request (closed).
248
+ * @category Generated
249
+ */
250
+ export const In_types_MaterialOverride = z.lazy(() => z.strictObject({
251
+ absorptionColorFactor: z.array(z.number()).min(3).max(3).optional().describe("RGB float color value, for example white is [1.0,1.0,1.0]."),
252
+ absorptionColorTexture: z.string().optional(),
253
+ absorptionDistanceFactor: z.number().min(0).optional(),
254
+ absorptionDistanceTexture: z.string().optional(),
255
+ baseColorFactor: z.array(z.number()).min(3).max(3).optional().describe("RGB float color value, for example white is [1.0,1.0,1.0]."),
256
+ baseColorTexture: z.string().optional(),
257
+ coatColorFactor: z.array(z.number()).min(3).max(3).optional().describe("RGB float color value, for example white is [1.0,1.0,1.0]."),
258
+ coatColorTexture: z.string().optional(),
259
+ coatOpacityFactor: z.number().min(0).max(1).optional(),
260
+ coatOpacityTexture: z.string().optional(),
261
+ coatRoughnessFactor: z.number().min(0).max(1).optional(),
262
+ coatRoughnessTexture: z.string().optional(),
263
+ materialName: z.string(),
264
+ metallicFactor: z.number().min(0).max(1).optional(),
265
+ metallicTexture: z.string().optional(),
266
+ normalFactor: z.array(z.number()).min(3).max(3).optional(),
267
+ normalTexture: z.string().optional(),
268
+ opacityFactor: z.number().min(0).optional(),
269
+ opacityTexture: z.string().optional(),
270
+ pbrMaterial: In_types_SbsMaterial.optional(),
271
+ roughnessFactor: z.number().min(0).max(1).optional(),
272
+ roughnessTexture: z.string().optional(),
273
+ translucencyFactor: z.number().min(0).max(1).optional(),
274
+ translucencyTexture: z.string().optional(),
275
+ volumeThicknessFactor: z.number().min(0).optional(),
276
+ volumeThicknessTexture: z.string().optional()
277
+ }));
278
+ /**
279
+ * OpenAPI component `types.OutputSize`, request (closed).
280
+ * @category Generated
281
+ */
282
+ export const In_types_OutputSize = z.lazy(() => z.strictObject({
283
+ height: z.number().int().min(1).max(2688),
284
+ width: z.number().int().min(1).max(2688)
285
+ }));
286
+ /**
287
+ * OpenAPI component `types.RenderExtraOutputExportMatte`, request (closed).
288
+ * @category Generated
289
+ */
290
+ export const In_types_RenderExtraOutputExportMatte = z.lazy(() => z.strictObject({
291
+ includeNodes: z.array(z.string()).nullable().describe("Nodes to be included into the matte, the list can contain glob patterns. If empty, the matte will contain all scene objects.")
292
+ }));
293
+ /**
294
+ * OpenAPI component `types.RenderExtraOutputs`, request (closed).
295
+ * @category Generated
296
+ */
297
+ export const In_types_RenderExtraOutputs = z.lazy(() => z.strictObject({
298
+ exportDistanceToCamera: z.boolean().optional().describe("export a distance-to-camera map as a NumPy .npy file (float32 2D array)"),
299
+ exportMaterialIds: z.boolean().optional().describe("Export an image with one color per material."),
300
+ exportMaterialMasks: In_types_ExportMasksOptions.optional().describe("Export one mask per material."),
301
+ exportMatte: In_types_RenderExtraOutputExportMatte.optional().describe("export compositing matte for a selection of objects"),
302
+ exportObjectIds: z.boolean().optional().describe("Export an image with one color per object."),
303
+ exportObjectMasks: In_types_ExportMasksOptions.optional().describe("Export one mask per object.")
304
+ }));
305
+ /**
306
+ * OpenAPI component `types.Rotation`, request (closed).
307
+ * @category Generated
308
+ */
309
+ export const In_types_Rotation = z.lazy(() => z.strictObject({
310
+ euler: z.array(z.number()).min(3).max(3).optional().describe("Euler angles in degrees."),
311
+ quaternion: z.array(z.number()).min(4).max(4).optional().describe("In W,X,Y,Z order.")
312
+ }));
313
+ /**
314
+ * OpenAPI component `types.SbsMaterial`, request (closed).
315
+ * @category Generated
316
+ */
317
+ export const In_types_SbsMaterial = z.lazy(() => z.strictObject({
318
+ preset: z.string().optional().describe("Select a preset to be used for the substance material rendering."),
319
+ resolution: z.union([z.literal(16), z.literal(32), z.literal(64), z.literal(128), z.literal(256), z.literal(512), z.literal(1024), z.literal(2048), z.literal(4096)]).optional().describe("Substance material render resolution. This should be a power of two."),
320
+ rotation: z.number().optional().describe("Texture space rotation."),
321
+ sbsar: z.string().optional().describe("Path to a substance material; if not set, the first substance 3D material found in sources will be used."),
322
+ scale: z.array(z.number()).min(2).max(2).optional().describe("Texture space scale."),
323
+ translation: z.array(z.number()).min(2).max(2).optional().describe("Texture space translation.")
324
+ }));
325
+ /**
326
+ * OpenAPI component `types.SceneBaseFile`, request (closed).
327
+ * @category Generated
328
+ */
329
+ export const In_types_SceneBaseFile = z.lazy(() => z.strictObject({
330
+ file: z.string().describe("Path to the scene file in `sources`."),
331
+ modelsRootNodeName: z.string().optional().describe("Define root node for models in scene graph. If not found, the node which is parent of all models in the scene will be used. If this node doesn't exist, a new node will be created under global root.")
332
+ }));
333
+ /**
334
+ * OpenAPI component `types.SceneCamera`, request (closed).
335
+ * @category Generated
336
+ */
337
+ export const In_types_SceneCamera = z.lazy(() => z.strictObject({
338
+ focal: z.number().min(10).max(1000).optional().describe("Camera focal length, in mm."),
339
+ sensorWidth: z.number().min(1).max(100).optional().describe("Camera sensor width, in mm."),
340
+ transform: In_types_Transform.optional().describe("Controls the position and angle of the camera.")
341
+ }));
342
+ /**
343
+ * OpenAPI component `types.SceneDescription`, request (closed).
344
+ * @category Generated
345
+ */
346
+ export const In_types_SceneDescription = z.lazy(() => z.strictObject({
347
+ baseFile: In_types_SceneBaseFile.optional().describe("Define a scene from a file. If value is `null`, an empty scene will be created."),
348
+ camera: In_types_SceneCamera.optional().describe("Define a new camera for the scene."),
349
+ environment: In_types_SceneEnvironment.optional().describe("Define the environment for the scene. Override the previous existing environment."),
350
+ formatOptions: In_types_FormatOptions.optional().describe("define options specific for model file format"),
351
+ materials: z.array(In_types_MaterialAssign).nullable().optional().describe("Assign new materials to geometric primitives."),
352
+ metersPerUnit: z.number().optional().describe("Length of a scene unit, in meters. Defaults to `baseFile` meters per unit if any, or 0.01 (centimeters) otherwise."),
353
+ models: In_types_SceneModels.optional().describe("Define additional models for the scene.")
354
+ }));
355
+ /**
356
+ * OpenAPI component `types.SceneEnvironment`, request (closed).
357
+ * @category Generated
358
+ */
359
+ export const In_types_SceneEnvironment = z.lazy(() => z.strictObject({
360
+ exposure: z.number().min(-10).max(10).optional().describe("Exposure, in EV (0=neutral)."),
361
+ file: z.string().optional().describe("Path to the environment file in `sources`. If the value is `null`, the first found environment file will be used."),
362
+ preserveLights: z.boolean().optional().describe("A scene may contain 3D lights, like area lights or spot lights. By default, all those lights are removed when a new environment is set. Set this option to `true` to preserve the scene 3D lights."),
363
+ rotation: In_types_Rotation.optional().describe("Controls the orientation of the environment map.")
364
+ }));
365
+ /**
366
+ * OpenAPI component `types.SceneModel`, request (closed).
367
+ * @category Generated
368
+ */
369
+ export const In_types_SceneModel = z.lazy(() => z.strictObject({
370
+ anchorName: z.string().optional().describe("Node name in scene graph which used as parent for the model. If anchor is not found, a node with the anchor name will be generated under models root node. And If value is `null`, a node will be generated under models root node."),
371
+ file: z.string().optional().describe("Path to the model file in `sources`. If the value is `null`, the first found model file will be used."),
372
+ formatOptions: In_types_FormatOptions.optional().describe("Define options specific for the model file format."),
373
+ materialOverrides: z.array(In_types_MaterialOverride).nullable().optional().describe("Define material overrides."),
374
+ transform: In_types_Transform.optional().describe("Transform applied on the anchor node. Overrides the previous value, if it exists.")
375
+ }));
376
+ /**
377
+ * OpenAPI component `types.SceneModels`, request (closed).
378
+ * @category Generated
379
+ */
380
+ export const In_types_SceneModels = z.lazy(() => z.strictObject({
381
+ imports: z.array(In_types_SceneModel).nullable().optional().describe("List of model import definitions."),
382
+ modelsRootNodeTransform: In_types_Transform.optional().describe("Global transformation applied on the models root node defined in the scene. Overrides the previous value, if it exists.")
383
+ }));
384
+ /**
385
+ * OpenAPI component `types.SimpleSceneDescription`, request (closed).
386
+ * @category Generated
387
+ */
388
+ export const In_types_SimpleSceneDescription = z.lazy(() => z.strictObject({
389
+ camera: In_types_SceneCamera.optional().describe("Define a new camera for the scene."),
390
+ environment: In_types_SceneEnvironment.optional().describe("Define the environment for the scene. Override the previous existing environment."),
391
+ formatOptions: In_types_FormatOptions.optional().describe("Define options specific for the model file format."),
392
+ materialOverrides: z.array(In_types_MaterialOverride).nullable().optional().describe("Define material overrides."),
393
+ materials: z.array(In_types_MaterialAssign).nullable().optional().describe("Assign new materials to geometric primitives."),
394
+ metersPerUnit: z.number().optional().describe("Length of a scene unit, in meters. Defaults to 0.01 (centimeters)."),
395
+ modelFile: z.string().optional().describe("Path to the model file in `sources`. If the value is `null`, the first found model file will be used."),
396
+ modelTransform: In_types_Transform.optional().describe("Transform applied on the model.")
397
+ }));
398
+ /**
399
+ * OpenAPI component `types.SizeOptions`, request (closed).
400
+ * @category Generated
401
+ */
402
+ export const In_types_SizeOptions = z.lazy(() => z.strictObject({
403
+ height: z.number().int().min(16).max(2304).describe("Render height."),
404
+ width: z.number().int().min(16).max(3840).describe("Render width.")
405
+ }));
406
+ /**
407
+ * OpenAPI component `types.SolidColorMaterial`, request (closed).
408
+ * @category Generated
409
+ */
410
+ export const In_types_SolidColorMaterial = z.lazy(() => z.strictObject({
411
+ color: z.array(z.number()).min(3).max(3).nullable().describe("RGB color of the solid material, each component has to be in the [0,1] range."),
412
+ metallicFactor: z.number().min(0).max(1).optional().describe("Metallic factor of the solid material, has to be in the [0,1] range."),
413
+ roughnessFactor: z.number().min(0).max(1).optional().describe("Roughness factor of the solid material, has to be in the [0,1] range.")
414
+ }));
415
+ /**
416
+ * OpenAPI component `types.TRS`, request (closed).
417
+ * @category Generated
418
+ */
419
+ export const In_types_TRS = z.lazy(() => z.strictObject({
420
+ rotation: In_types_Rotation,
421
+ scale: z.array(z.number()).min(3).max(3).nullable(),
422
+ translation: z.array(z.number()).min(3).max(3).nullable()
423
+ }));
424
+ /**
425
+ * OpenAPI component `types.Transform`, request (closed).
426
+ * @category Generated
427
+ */
428
+ export const In_types_Transform = z.lazy(() => z.strictObject({
429
+ azimuthAltitude: In_types_AzimuthAltitude.optional().describe("Transform is defined by azimuth, altitude and radius terms. If set, do not set `matrix` or `trs`."),
430
+ matrix: z.array(z.number()).min(16).max(16).optional().describe("Transform is defined as a matrix. If set, do not set `trs` or `azimuthAltitude`."),
431
+ trs: In_types_TRS.optional().describe("Transform is defined by translation, rotation and scale terms. If set, do not set `matrix` or `azimuthAltitude`.")
432
+ }));
433
+ /**
434
+ * OpenAPI component `types.UsdOptions`, request (closed).
435
+ * @category Generated
436
+ */
437
+ export const In_types_UsdOptions = z.lazy(() => z.strictObject({
438
+ variants: z.array(In_types_UsdVariant).nullable().describe("List of USD variants definition applied on USD primitives.")
439
+ }));
440
+ /**
441
+ * OpenAPI component `types.UsdVariant`, request (closed).
442
+ * @category Generated
443
+ */
444
+ export const In_types_UsdVariant = z.lazy(() => z.strictObject({
445
+ primName: z.string().describe("name of the USD prim on which the variant is defined"),
446
+ variant: z.string().describe("name of the variant option to apply from the variant set"),
447
+ variantSet: z.string().describe("name of the variant set to select from")
448
+ }));
449
+ /**
450
+ * OpenAPI component `rest_base.Space`, response (open).
451
+ * @category Generated
452
+ */
453
+ export const Out_rest_base_Space = z.lazy(() => z.looseObject({
454
+ $schema: z.string().optional().describe("A URL to the JSON schema for this object."),
455
+ expiry: z.string().describe("time at which the space will be deleted"),
456
+ files: z.array(Out_rest_base_SpaceFile).nullable().describe("List of all files contained in Space, ordered by name."),
457
+ id: z.string().describe("Unique identifier of this Space."),
458
+ url: z.string().describe("URL to the full description of this Space."),
459
+ archiveUrl: z.string().optional().describe("URL to fetch the whole space as an archive (usually a ZIP file).")
460
+ }));
461
+ /**
462
+ * OpenAPI component `rest_base.SpaceFile`, response (open).
463
+ * @category Generated
464
+ */
465
+ export const Out_rest_base_SpaceFile = z.lazy(() => z.looseObject({
466
+ name: z.string(),
467
+ size: z.number().int().min(0),
468
+ url: z.string()
469
+ }));
470
+ /**
471
+ * OpenAPI component `restv1beta.ComposeOutput`, response (open).
472
+ * @category Generated
473
+ */
474
+ export const Out_restv1beta_ComposeOutput = z.lazy(() => z.looseObject({
475
+ backgroundImage: Out_restv1beta_ComposeOutputImage,
476
+ image: Out_restv1beta_ComposeOutputImage,
477
+ lightingSeed: z.number().int(),
478
+ maskImage: Out_restv1beta_ComposeOutputImage,
479
+ seed: z.number().int()
480
+ }));
481
+ /**
482
+ * OpenAPI component `restv1beta.ComposeOutputImage`, response (open).
483
+ * @category Generated
484
+ */
485
+ export const Out_restv1beta_ComposeOutputImage = z.lazy(() => z.looseObject({
486
+ url: z.string()
487
+ }));
488
+ /**
489
+ * OpenAPI component `restv1beta.ComposeSceneJobResult`, response (open).
490
+ * @category Generated
491
+ */
492
+ export const Out_restv1beta_ComposeSceneJobResult = z.lazy(() => z.looseObject({
493
+ outputSpace: Out_rest_base_Space,
494
+ outputs: z.array(Out_restv1beta_ComposeOutput),
495
+ promptHasBlockedArtists: z.boolean(),
496
+ promptHasDeniedWords: z.boolean(),
497
+ warnings: z.array(Out_types_Warning).nullable().optional()
498
+ }));
499
+ /**
500
+ * OpenAPI component `restv1beta.CreateSceneJobResult`, response (open).
501
+ * @category Generated
502
+ */
503
+ export const Out_restv1beta_CreateSceneJobResult = z.lazy(() => z.looseObject({
504
+ outputSpace: Out_rest_base_Space,
505
+ sceneUrl: z.string().describe("URL for the created scene.")
506
+ }));
507
+ /**
508
+ * OpenAPI component `restv1beta.ModelConvertJobResult`, response (open).
509
+ * @category Generated
510
+ */
511
+ export const Out_restv1beta_ModelConvertJobResult = z.lazy(() => z.looseObject({
512
+ outputSpace: Out_rest_base_Space
513
+ }));
514
+ /**
515
+ * OpenAPI component `restv1beta.RenderSceneJobResult`, response (open).
516
+ * @category Generated
517
+ */
518
+ export const Out_restv1beta_RenderSceneJobResult = z.lazy(() => z.looseObject({
519
+ distanceToCameraUrl: z.string().optional().describe("URL to the distance-to-camera map in NumPy .npy format, present when exportDistanceToCamera was requested"),
520
+ materialIds: Out_types_IdsMapData.optional(),
521
+ materialMasks: z.array(Out_types_MaskNameToFileBinding).optional(),
522
+ matteUrl: z.string().optional().describe("URL to the matte grayscale image, present when exportMatte was requested"),
523
+ objectIds: Out_types_IdsMapData.optional(),
524
+ objectMasks: z.array(Out_types_MaskNameToFileBinding).optional(),
525
+ outputSpace: Out_rest_base_Space,
526
+ renderUrl: z.string().describe("URL to the rendered scene."),
527
+ warnings: z.array(Out_types_Warning).nullable().optional()
528
+ }));
529
+ /**
530
+ * OpenAPI component `restv1beta.SceneDescJobResult`, response (open).
531
+ * @category Generated
532
+ */
533
+ export const Out_restv1beta_SceneDescJobResult = z.lazy(() => z.looseObject({
534
+ stats: Out_types_SceneStatsInfo
535
+ }));
536
+ /**
537
+ * OpenAPI component `types.CameraStats`, response (open).
538
+ * @category Generated
539
+ */
540
+ export const Out_types_CameraStats = z.lazy(() => z.looseObject({
541
+ aspectRatio: z.number(),
542
+ fStop: z.number(),
543
+ focalLength: z.number(),
544
+ focusDistance: z.number(),
545
+ horizontalAperture: z.number(),
546
+ horizontalApertureOffset: z.number(),
547
+ name: z.string(),
548
+ projection: z.string(),
549
+ verticalAperture: z.number(),
550
+ verticalApertureOffset: z.number()
551
+ }));
552
+ /**
553
+ * OpenAPI component `types.IdsMapData`, response (open).
554
+ * @category Generated
555
+ */
556
+ export const Out_types_IdsMapData = z.lazy(() => z.looseObject({
557
+ fileName: z.string().describe("The Ids map file name."),
558
+ ids: z.array(Out_types_NameToColorBinding).nullable().describe("List of name to color bindings.")
559
+ }));
560
+ /**
561
+ * OpenAPI component `types.MaskNameToFileBinding`, response (open).
562
+ * @category Generated
563
+ */
564
+ export const Out_types_MaskNameToFileBinding = z.lazy(() => z.looseObject({
565
+ fileName: z.string().describe("The file name."),
566
+ name: z.string().describe("The name in the 3D scene.")
567
+ }));
568
+ /**
569
+ * OpenAPI component `types.NameToColorBinding`, response (open).
570
+ * @category Generated
571
+ */
572
+ export const Out_types_NameToColorBinding = z.lazy(() => z.looseObject({
573
+ color: z.string().describe("Corresponding color in the ID map."),
574
+ name: z.string().describe("Name in 3D scene.")
575
+ }));
576
+ /**
577
+ * OpenAPI component `types.SceneStatsBoundingBox`, response (open).
578
+ * @category Generated
579
+ */
580
+ export const Out_types_SceneStatsBoundingBox = z.lazy(() => z.looseObject({
581
+ max: z.array(z.number()).nullable(),
582
+ min: z.array(z.number()).nullable()
583
+ }));
584
+ /**
585
+ * OpenAPI component `types.SceneStatsInfo`, response (open).
586
+ * @category Generated
587
+ */
588
+ export const Out_types_SceneStatsInfo = z.lazy(() => z.looseObject({
589
+ cameraNames: z.array(z.string()).nullable(),
590
+ materialNames: z.array(z.string()).nullable(),
591
+ metersPerSceneUnit: z.number(),
592
+ nodesHierarchy: Out_types_SceneStatsNode,
593
+ numEquivalentTriangles: z.number().int(),
594
+ numExtraPolygons: z.number().int(),
595
+ numFaces: z.number().int(),
596
+ numLines: z.number().int(),
597
+ numMeshes: z.number().int(),
598
+ numPoints: z.number().int(),
599
+ numQuads: z.number().int(),
600
+ numSubMeshes: z.number().int(),
601
+ numTextures: z.number().int(),
602
+ numTriangles: z.number().int(),
603
+ numVertices: z.number().int(),
604
+ sceneUpAxis: z.string()
605
+ }));
606
+ /**
607
+ * OpenAPI component `types.SceneStatsNode`, response (open).
608
+ * @category Generated
609
+ */
610
+ export const Out_types_SceneStatsNode = z.lazy(() => z.looseObject({
611
+ assignedMaterialName: z.string().optional(),
612
+ cameraStats: Out_types_CameraStats.optional(),
613
+ children: z.array(z.looseObject({}).describe("Nested types.SceneStatsNode (recursive; checked by the API, not here).")).nullable().optional(),
614
+ name: z.string(),
615
+ type: z.string(),
616
+ variants: z.array(Out_types_SceneStatsNodeVariant).nullable().optional(),
617
+ worldSpaceBoundingBox: Out_types_SceneStatsBoundingBox.optional()
618
+ }));
619
+ /**
620
+ * OpenAPI component `types.SceneStatsNodeVariant`, response (open).
621
+ * @category Generated
622
+ */
623
+ export const Out_types_SceneStatsNodeVariant = z.lazy(() => z.looseObject({
624
+ currentValue: z.string(),
625
+ name: z.string(),
626
+ values: z.array(z.string()).nullable()
627
+ }));
628
+ /**
629
+ * OpenAPI component `types.Warning`, response (open).
630
+ * @category Generated
631
+ */
632
+ export const Out_types_Warning = z.lazy(() => z.looseObject({
633
+ context: z.string(),
634
+ message: z.string()
635
+ }));
517
636
  //# sourceMappingURL=schemas.js.map