magic-hour 0.6.1 → 0.7.1

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 (378) hide show
  1. package/README.md +5 -1
  2. package/dist/core/api-promise.d.ts +14 -6
  3. package/dist/core/api-promise.js +184 -10
  4. package/dist/core/core-client.d.ts +5 -3
  5. package/dist/core/core-client.js +7 -3
  6. package/dist/core/form-data.d.ts +1 -2
  7. package/dist/core/form-data.js +6 -7
  8. package/dist/core/index.d.ts +2 -1
  9. package/dist/core/index.js +4 -1
  10. package/dist/core/zod.d.ts +15 -0
  11. package/dist/core/zod.js +60 -0
  12. package/dist/environment.js +1 -1
  13. package/dist/index.js +17 -7
  14. package/dist/resources/index.js +17 -7
  15. package/dist/resources/v1/ai-headshot-generator/request-types.d.ts +24 -3
  16. package/dist/resources/v1/ai-headshot-generator/request-types.js +70 -0
  17. package/dist/resources/v1/ai-headshot-generator/resource-client.js +4 -1
  18. package/dist/resources/v1/ai-image-generator/request-types.d.ts +29 -3
  19. package/dist/resources/v1/ai-image-generator/request-types.js +78 -0
  20. package/dist/resources/v1/ai-image-generator/resource-client.js +4 -1
  21. package/dist/resources/v1/ai-image-upscaler/request-types.d.ts +29 -3
  22. package/dist/resources/v1/ai-image-upscaler/request-types.js +79 -0
  23. package/dist/resources/v1/ai-image-upscaler/resource-client.js +4 -1
  24. package/dist/resources/v1/ai-photo-editor/request-types.d.ts +37 -3
  25. package/dist/resources/v1/ai-photo-editor/request-types.js +83 -0
  26. package/dist/resources/v1/ai-photo-editor/resource-client.js +4 -1
  27. package/dist/resources/v1/ai-qr-code-generator/request-types.d.ts +26 -3
  28. package/dist/resources/v1/ai-qr-code-generator/request-types.js +74 -0
  29. package/dist/resources/v1/ai-qr-code-generator/resource-client.js +4 -1
  30. package/dist/resources/v1/animation/request-types.d.ts +50 -3
  31. package/dist/resources/v1/animation/request-types.js +91 -0
  32. package/dist/resources/v1/animation/resource-client.js +4 -1
  33. package/dist/resources/v1/face-swap/request-types.d.ts +44 -3
  34. package/dist/resources/v1/face-swap/request-types.js +86 -0
  35. package/dist/resources/v1/face-swap/resource-client.js +4 -1
  36. package/dist/resources/v1/face-swap-photo/request-types.d.ts +24 -3
  37. package/dist/resources/v1/face-swap-photo/request-types.js +70 -0
  38. package/dist/resources/v1/face-swap-photo/resource-client.js +4 -1
  39. package/dist/resources/v1/files/index.js +17 -7
  40. package/dist/resources/v1/files/upload-urls/request-types.d.ts +16 -3
  41. package/dist/resources/v1/files/upload-urls/request-types.js +66 -0
  42. package/dist/resources/v1/files/upload-urls/resource-client.js +4 -1
  43. package/dist/resources/v1/image-background-remover/index.d.ts +5 -0
  44. package/dist/resources/v1/image-background-remover/index.js +8 -0
  45. package/dist/resources/v1/image-background-remover/request-types.d.ts +31 -0
  46. package/dist/resources/v1/image-background-remover/request-types.js +75 -0
  47. package/dist/resources/v1/image-background-remover/resource-client.d.ts +15 -0
  48. package/dist/resources/v1/image-background-remover/resource-client.js +32 -0
  49. package/dist/resources/v1/image-projects/request-types.d.ts +27 -2
  50. package/dist/resources/v1/image-projects/request-types.js +94 -0
  51. package/dist/resources/v1/image-projects/resource-client.js +2 -0
  52. package/dist/resources/v1/image-to-video/request-types.d.ts +42 -3
  53. package/dist/resources/v1/image-to-video/request-types.js +87 -0
  54. package/dist/resources/v1/image-to-video/resource-client.js +4 -1
  55. package/dist/resources/v1/index.d.ts +1 -0
  56. package/dist/resources/v1/index.js +19 -8
  57. package/dist/resources/v1/lip-sync/request-types.d.ts +49 -3
  58. package/dist/resources/v1/lip-sync/request-types.js +90 -0
  59. package/dist/resources/v1/lip-sync/resource-client.js +4 -1
  60. package/dist/resources/v1/resource-client.d.ts +2 -0
  61. package/dist/resources/v1/resource-client.js +2 -0
  62. package/dist/resources/v1/text-to-video/request-types.d.ts +32 -3
  63. package/dist/resources/v1/text-to-video/request-types.js +78 -0
  64. package/dist/resources/v1/text-to-video/resource-client.js +4 -1
  65. package/dist/resources/v1/video-projects/request-types.d.ts +27 -2
  66. package/dist/resources/v1/video-projects/request-types.js +94 -0
  67. package/dist/resources/v1/video-projects/resource-client.js +2 -0
  68. package/dist/resources/v1/video-to-video/request-types.d.ts +55 -3
  69. package/dist/resources/v1/video-to-video/request-types.js +95 -0
  70. package/dist/resources/v1/video-to-video/resource-client.js +4 -1
  71. package/dist/types/delete-v1-image-projects-id-response400.d.ts +14 -1
  72. package/dist/types/delete-v1-image-projects-id-response400.js +65 -0
  73. package/dist/types/delete-v1-image-projects-id-response401-message-enum.d.ts +9 -1
  74. package/dist/types/delete-v1-image-projects-id-response401.d.ts +16 -3
  75. package/dist/types/delete-v1-image-projects-id-response401.js +65 -0
  76. package/dist/types/delete-v1-image-projects-id-response404-message-enum.d.ts +9 -1
  77. package/dist/types/delete-v1-image-projects-id-response404.d.ts +16 -3
  78. package/dist/types/delete-v1-image-projects-id-response404.js +65 -0
  79. package/dist/types/delete-v1-video-projects-id-response400.d.ts +14 -1
  80. package/dist/types/delete-v1-video-projects-id-response400.js +65 -0
  81. package/dist/types/delete-v1-video-projects-id-response401-message-enum.d.ts +9 -1
  82. package/dist/types/delete-v1-video-projects-id-response401.d.ts +16 -3
  83. package/dist/types/delete-v1-video-projects-id-response401.js +65 -0
  84. package/dist/types/delete-v1-video-projects-id-response404-message-enum.d.ts +9 -1
  85. package/dist/types/delete-v1-video-projects-id-response404.d.ts +16 -3
  86. package/dist/types/delete-v1-video-projects-id-response404.js +65 -0
  87. package/dist/types/delete-v1-video-projects-id-response422.d.ts +14 -1
  88. package/dist/types/delete-v1-video-projects-id-response422.js +65 -0
  89. package/dist/types/get-v1-image-projects-id-response-downloads-item.d.ts +15 -1
  90. package/dist/types/get-v1-image-projects-id-response-downloads-item.js +69 -0
  91. package/dist/types/get-v1-image-projects-id-response-error.d.ts +15 -1
  92. package/dist/types/get-v1-image-projects-id-response-error.js +69 -0
  93. package/dist/types/get-v1-image-projects-id-response-status-enum.d.ts +9 -1
  94. package/dist/types/get-v1-image-projects-id-response-type-enum.d.ts +9 -1
  95. package/dist/types/get-v1-image-projects-id-response.d.ts +34 -9
  96. package/dist/types/get-v1-image-projects-id-response.js +133 -0
  97. package/dist/types/get-v1-image-projects-id-response400.d.ts +14 -1
  98. package/dist/types/get-v1-image-projects-id-response400.js +65 -0
  99. package/dist/types/get-v1-image-projects-id-response401-message-enum.d.ts +9 -1
  100. package/dist/types/get-v1-image-projects-id-response401.d.ts +16 -3
  101. package/dist/types/get-v1-image-projects-id-response401.js +65 -0
  102. package/dist/types/get-v1-image-projects-id-response404-message-enum.d.ts +9 -1
  103. package/dist/types/get-v1-image-projects-id-response404.d.ts +16 -3
  104. package/dist/types/get-v1-image-projects-id-response404.js +65 -0
  105. package/dist/types/get-v1-video-projects-id-response-download.d.ts +16 -2
  106. package/dist/types/get-v1-video-projects-id-response-download.js +69 -0
  107. package/dist/types/get-v1-video-projects-id-response-downloads-item.d.ts +24 -0
  108. package/dist/types/get-v1-video-projects-id-response-downloads-item.js +74 -0
  109. package/dist/types/get-v1-video-projects-id-response-error.d.ts +15 -1
  110. package/dist/types/get-v1-video-projects-id-response-error.js +69 -0
  111. package/dist/types/get-v1-video-projects-id-response-status-enum.d.ts +9 -1
  112. package/dist/types/get-v1-video-projects-id-response-type-enum.d.ts +9 -1
  113. package/dist/types/get-v1-video-projects-id-response.d.ts +44 -12
  114. package/dist/types/get-v1-video-projects-id-response.js +152 -0
  115. package/dist/types/get-v1-video-projects-id-response400.d.ts +14 -1
  116. package/dist/types/get-v1-video-projects-id-response400.js +65 -0
  117. package/dist/types/get-v1-video-projects-id-response401-message-enum.d.ts +9 -1
  118. package/dist/types/get-v1-video-projects-id-response401.d.ts +16 -3
  119. package/dist/types/get-v1-video-projects-id-response401.js +65 -0
  120. package/dist/types/get-v1-video-projects-id-response404-message-enum.d.ts +9 -1
  121. package/dist/types/get-v1-video-projects-id-response404.d.ts +16 -3
  122. package/dist/types/get-v1-video-projects-id-response404.js +65 -0
  123. package/dist/types/index.d.ts +10 -0
  124. package/dist/types/post-v1-ai-headshot-generator-body-assets.d.ts +14 -1
  125. package/dist/types/post-v1-ai-headshot-generator-body-assets.js +65 -0
  126. package/dist/types/post-v1-ai-headshot-generator-body.d.ts +18 -4
  127. package/dist/types/post-v1-ai-headshot-generator-body.js +70 -0
  128. package/dist/types/post-v1-ai-headshot-generator-response.d.ts +19 -2
  129. package/dist/types/post-v1-ai-headshot-generator-response.js +69 -0
  130. package/dist/types/post-v1-ai-headshot-generator-response400.d.ts +14 -1
  131. package/dist/types/post-v1-ai-headshot-generator-response400.js +65 -0
  132. package/dist/types/post-v1-ai-headshot-generator-response401-message-enum.d.ts +9 -1
  133. package/dist/types/post-v1-ai-headshot-generator-response401.d.ts +16 -3
  134. package/dist/types/post-v1-ai-headshot-generator-response401.js +65 -0
  135. package/dist/types/post-v1-ai-headshot-generator-response404-message-enum.d.ts +9 -1
  136. package/dist/types/post-v1-ai-headshot-generator-response404.d.ts +16 -3
  137. package/dist/types/post-v1-ai-headshot-generator-response404.js +65 -0
  138. package/dist/types/post-v1-ai-headshot-generator-response422.d.ts +14 -1
  139. package/dist/types/post-v1-ai-headshot-generator-response422.js +65 -0
  140. package/dist/types/post-v1-ai-image-generator-body-orientation-enum.d.ts +9 -1
  141. package/dist/types/post-v1-ai-image-generator-body-style.d.ts +14 -1
  142. package/dist/types/post-v1-ai-image-generator-body-style.js +65 -0
  143. package/dist/types/post-v1-ai-image-generator-body.d.ts +23 -6
  144. package/dist/types/post-v1-ai-image-generator-body.js +78 -0
  145. package/dist/types/post-v1-ai-image-generator-response.d.ts +19 -2
  146. package/dist/types/post-v1-ai-image-generator-response.js +69 -0
  147. package/dist/types/post-v1-ai-image-generator-response400.d.ts +14 -1
  148. package/dist/types/post-v1-ai-image-generator-response400.js +65 -0
  149. package/dist/types/post-v1-ai-image-generator-response401-message-enum.d.ts +9 -1
  150. package/dist/types/post-v1-ai-image-generator-response401.d.ts +16 -3
  151. package/dist/types/post-v1-ai-image-generator-response401.js +65 -0
  152. package/dist/types/post-v1-ai-image-generator-response404-message-enum.d.ts +9 -1
  153. package/dist/types/post-v1-ai-image-generator-response404.d.ts +16 -3
  154. package/dist/types/post-v1-ai-image-generator-response404.js +65 -0
  155. package/dist/types/post-v1-ai-image-generator-response422.d.ts +14 -1
  156. package/dist/types/post-v1-ai-image-generator-response422.js +65 -0
  157. package/dist/types/post-v1-ai-image-upscaler-body-assets.d.ts +14 -1
  158. package/dist/types/post-v1-ai-image-upscaler-body-assets.js +65 -0
  159. package/dist/types/post-v1-ai-image-upscaler-body-style-enhancement-enum.d.ts +9 -1
  160. package/dist/types/post-v1-ai-image-upscaler-body-style.d.ts +18 -4
  161. package/dist/types/post-v1-ai-image-upscaler-body-style.js +69 -0
  162. package/dist/types/post-v1-ai-image-upscaler-body.d.ts +22 -5
  163. package/dist/types/post-v1-ai-image-upscaler-body.js +79 -0
  164. package/dist/types/post-v1-ai-image-upscaler-response.d.ts +19 -2
  165. package/dist/types/post-v1-ai-image-upscaler-response.js +69 -0
  166. package/dist/types/post-v1-ai-image-upscaler-response400.d.ts +14 -1
  167. package/dist/types/post-v1-ai-image-upscaler-response400.js +65 -0
  168. package/dist/types/post-v1-ai-image-upscaler-response401-message-enum.d.ts +9 -1
  169. package/dist/types/post-v1-ai-image-upscaler-response401.d.ts +16 -3
  170. package/dist/types/post-v1-ai-image-upscaler-response401.js +65 -0
  171. package/dist/types/post-v1-ai-image-upscaler-response404-message-enum.d.ts +9 -1
  172. package/dist/types/post-v1-ai-image-upscaler-response404.d.ts +16 -3
  173. package/dist/types/post-v1-ai-image-upscaler-response404.js +65 -0
  174. package/dist/types/post-v1-ai-image-upscaler-response422.d.ts +14 -1
  175. package/dist/types/post-v1-ai-image-upscaler-response422.js +65 -0
  176. package/dist/types/post-v1-ai-photo-editor-body-assets.d.ts +15 -2
  177. package/dist/types/post-v1-ai-photo-editor-body-assets.js +65 -0
  178. package/dist/types/post-v1-ai-photo-editor-body-style.d.ts +24 -6
  179. package/dist/types/post-v1-ai-photo-editor-body-style.js +85 -0
  180. package/dist/types/post-v1-ai-photo-editor-body.d.ts +24 -6
  181. package/dist/types/post-v1-ai-photo-editor-body.js +83 -0
  182. package/dist/types/post-v1-ai-photo-editor-response.d.ts +19 -2
  183. package/dist/types/post-v1-ai-photo-editor-response.js +69 -0
  184. package/dist/types/post-v1-ai-photo-editor-response400.d.ts +14 -1
  185. package/dist/types/post-v1-ai-photo-editor-response400.js +65 -0
  186. package/dist/types/post-v1-ai-photo-editor-response401-message-enum.d.ts +9 -1
  187. package/dist/types/post-v1-ai-photo-editor-response401.d.ts +16 -3
  188. package/dist/types/post-v1-ai-photo-editor-response401.js +65 -0
  189. package/dist/types/post-v1-ai-photo-editor-response404-message-enum.d.ts +9 -1
  190. package/dist/types/post-v1-ai-photo-editor-response404.d.ts +16 -3
  191. package/dist/types/post-v1-ai-photo-editor-response404.js +65 -0
  192. package/dist/types/post-v1-ai-photo-editor-response422.d.ts +14 -1
  193. package/dist/types/post-v1-ai-photo-editor-response422.js +65 -0
  194. package/dist/types/post-v1-ai-qr-code-generator-body-style.d.ts +14 -1
  195. package/dist/types/post-v1-ai-qr-code-generator-body-style.js +65 -0
  196. package/dist/types/post-v1-ai-qr-code-generator-body.d.ts +19 -4
  197. package/dist/types/post-v1-ai-qr-code-generator-body.js +74 -0
  198. package/dist/types/post-v1-ai-qr-code-generator-response.d.ts +19 -2
  199. package/dist/types/post-v1-ai-qr-code-generator-response.js +69 -0
  200. package/dist/types/post-v1-ai-qr-code-generator-response400.d.ts +14 -1
  201. package/dist/types/post-v1-ai-qr-code-generator-response400.js +65 -0
  202. package/dist/types/post-v1-ai-qr-code-generator-response401-message-enum.d.ts +9 -1
  203. package/dist/types/post-v1-ai-qr-code-generator-response401.d.ts +16 -3
  204. package/dist/types/post-v1-ai-qr-code-generator-response401.js +65 -0
  205. package/dist/types/post-v1-ai-qr-code-generator-response404-message-enum.d.ts +9 -1
  206. package/dist/types/post-v1-ai-qr-code-generator-response404.d.ts +16 -3
  207. package/dist/types/post-v1-ai-qr-code-generator-response404.js +65 -0
  208. package/dist/types/post-v1-ai-qr-code-generator-response422.d.ts +14 -1
  209. package/dist/types/post-v1-ai-qr-code-generator-response422.js +65 -0
  210. package/dist/types/post-v1-animation-body-assets-audio-source-enum.d.ts +9 -1
  211. package/dist/types/post-v1-animation-body-assets.d.ts +22 -6
  212. package/dist/types/post-v1-animation-body-assets.js +77 -0
  213. package/dist/types/post-v1-animation-body-style-art-style-enum.d.ts +9 -1
  214. package/dist/types/post-v1-animation-body-style-camera-effect-enum.d.ts +9 -1
  215. package/dist/types/post-v1-animation-body-style-prompt-type-enum.d.ts +12 -1
  216. package/dist/types/post-v1-animation-body-style.d.ts +27 -7
  217. package/dist/types/post-v1-animation-body-style.js +287 -0
  218. package/dist/types/post-v1-animation-body.d.ts +26 -6
  219. package/dist/types/post-v1-animation-body.js +91 -0
  220. package/dist/types/post-v1-animation-response.d.ts +16 -2
  221. package/dist/types/post-v1-animation-response.js +69 -0
  222. package/dist/types/post-v1-animation-response400.d.ts +14 -1
  223. package/dist/types/post-v1-animation-response400.js +65 -0
  224. package/dist/types/post-v1-animation-response401-message-enum.d.ts +9 -1
  225. package/dist/types/post-v1-animation-response401.d.ts +16 -3
  226. package/dist/types/post-v1-animation-response401.js +65 -0
  227. package/dist/types/post-v1-animation-response404-message-enum.d.ts +9 -1
  228. package/dist/types/post-v1-animation-response404.d.ts +16 -3
  229. package/dist/types/post-v1-animation-response404.js +65 -0
  230. package/dist/types/post-v1-animation-response422.d.ts +14 -1
  231. package/dist/types/post-v1-animation-response422.js +65 -0
  232. package/dist/types/post-v1-face-swap-body-assets-video-source-enum.d.ts +9 -1
  233. package/dist/types/post-v1-face-swap-body-assets.d.ts +23 -7
  234. package/dist/types/post-v1-face-swap-body-assets.js +77 -0
  235. package/dist/types/post-v1-face-swap-body.d.ts +24 -6
  236. package/dist/types/post-v1-face-swap-body.js +86 -0
  237. package/dist/types/post-v1-face-swap-photo-body-assets.d.ts +18 -4
  238. package/dist/types/post-v1-face-swap-photo-body-assets.js +69 -0
  239. package/dist/types/post-v1-face-swap-photo-body.d.ts +18 -4
  240. package/dist/types/post-v1-face-swap-photo-body.js +70 -0
  241. package/dist/types/post-v1-face-swap-photo-response.d.ts +19 -2
  242. package/dist/types/post-v1-face-swap-photo-response.js +69 -0
  243. package/dist/types/post-v1-face-swap-photo-response400.d.ts +14 -1
  244. package/dist/types/post-v1-face-swap-photo-response400.js +65 -0
  245. package/dist/types/post-v1-face-swap-photo-response401-message-enum.d.ts +9 -1
  246. package/dist/types/post-v1-face-swap-photo-response401.d.ts +16 -3
  247. package/dist/types/post-v1-face-swap-photo-response401.js +65 -0
  248. package/dist/types/post-v1-face-swap-photo-response404-message-enum.d.ts +9 -1
  249. package/dist/types/post-v1-face-swap-photo-response404.d.ts +16 -3
  250. package/dist/types/post-v1-face-swap-photo-response404.js +65 -0
  251. package/dist/types/post-v1-face-swap-photo-response422.d.ts +14 -1
  252. package/dist/types/post-v1-face-swap-photo-response422.js +65 -0
  253. package/dist/types/post-v1-face-swap-response.d.ts +16 -2
  254. package/dist/types/post-v1-face-swap-response.js +69 -0
  255. package/dist/types/post-v1-face-swap-response400.d.ts +14 -1
  256. package/dist/types/post-v1-face-swap-response400.js +65 -0
  257. package/dist/types/post-v1-face-swap-response401-message-enum.d.ts +9 -1
  258. package/dist/types/post-v1-face-swap-response401.d.ts +16 -3
  259. package/dist/types/post-v1-face-swap-response401.js +65 -0
  260. package/dist/types/post-v1-face-swap-response404-message-enum.d.ts +9 -1
  261. package/dist/types/post-v1-face-swap-response404.d.ts +16 -3
  262. package/dist/types/post-v1-face-swap-response404.js +65 -0
  263. package/dist/types/post-v1-face-swap-response422.d.ts +14 -1
  264. package/dist/types/post-v1-face-swap-response422.js +65 -0
  265. package/dist/types/post-v1-files-upload-urls-body-items-item-type-enum.d.ts +9 -1
  266. package/dist/types/post-v1-files-upload-urls-body-items-item.d.ts +17 -3
  267. package/dist/types/post-v1-files-upload-urls-body-items-item.js +69 -0
  268. package/dist/types/post-v1-files-upload-urls-body.d.ts +16 -3
  269. package/dist/types/post-v1-files-upload-urls-body.js +66 -0
  270. package/dist/types/post-v1-files-upload-urls-response-items-item.d.ts +18 -3
  271. package/dist/types/post-v1-files-upload-urls-response-items-item.js +73 -0
  272. package/dist/types/post-v1-files-upload-urls-response.d.ts +16 -3
  273. package/dist/types/post-v1-files-upload-urls-response.js +66 -0
  274. package/dist/types/post-v1-files-upload-urls-response400.d.ts +14 -1
  275. package/dist/types/post-v1-files-upload-urls-response400.js +65 -0
  276. package/dist/types/post-v1-files-upload-urls-response401-message-enum.d.ts +9 -1
  277. package/dist/types/post-v1-files-upload-urls-response401.d.ts +16 -3
  278. package/dist/types/post-v1-files-upload-urls-response401.js +65 -0
  279. package/dist/types/post-v1-files-upload-urls-response404-message-enum.d.ts +9 -1
  280. package/dist/types/post-v1-files-upload-urls-response404.d.ts +16 -3
  281. package/dist/types/post-v1-files-upload-urls-response404.js +65 -0
  282. package/dist/types/post-v1-files-upload-urls-response422.d.ts +14 -1
  283. package/dist/types/post-v1-files-upload-urls-response422.js +65 -0
  284. package/dist/types/post-v1-image-background-remover-body-assets.d.ts +25 -0
  285. package/dist/types/post-v1-image-background-remover-body-assets.js +70 -0
  286. package/dist/types/post-v1-image-background-remover-body.d.ts +31 -0
  287. package/dist/types/post-v1-image-background-remover-body.js +75 -0
  288. package/dist/types/post-v1-image-background-remover-response.d.ts +30 -0
  289. package/dist/types/post-v1-image-background-remover-response.js +74 -0
  290. package/dist/types/post-v1-image-background-remover-response400.d.ts +22 -0
  291. package/dist/types/post-v1-image-background-remover-response400.js +70 -0
  292. package/dist/types/post-v1-image-background-remover-response401-message-enum.d.ts +12 -0
  293. package/dist/types/post-v1-image-background-remover-response401-message-enum.js +2 -0
  294. package/dist/types/post-v1-image-background-remover-response401.d.ts +23 -0
  295. package/dist/types/post-v1-image-background-remover-response401.js +70 -0
  296. package/dist/types/post-v1-image-background-remover-response404-message-enum.d.ts +12 -0
  297. package/dist/types/post-v1-image-background-remover-response404-message-enum.js +2 -0
  298. package/dist/types/post-v1-image-background-remover-response404.d.ts +23 -0
  299. package/dist/types/post-v1-image-background-remover-response404.js +70 -0
  300. package/dist/types/post-v1-image-background-remover-response422.d.ts +22 -0
  301. package/dist/types/post-v1-image-background-remover-response422.js +70 -0
  302. package/dist/types/post-v1-image-to-video-body-assets.d.ts +14 -1
  303. package/dist/types/post-v1-image-to-video-body-assets.js +65 -0
  304. package/dist/types/post-v1-image-to-video-body-style.d.ts +15 -2
  305. package/dist/types/post-v1-image-to-video-body-style.js +65 -0
  306. package/dist/types/post-v1-image-to-video-body.d.ts +25 -6
  307. package/dist/types/post-v1-image-to-video-body.js +87 -0
  308. package/dist/types/post-v1-image-to-video-response.d.ts +16 -2
  309. package/dist/types/post-v1-image-to-video-response.js +69 -0
  310. package/dist/types/post-v1-image-to-video-response400.d.ts +14 -1
  311. package/dist/types/post-v1-image-to-video-response400.js +65 -0
  312. package/dist/types/post-v1-image-to-video-response401-message-enum.d.ts +9 -1
  313. package/dist/types/post-v1-image-to-video-response401.d.ts +16 -3
  314. package/dist/types/post-v1-image-to-video-response401.js +65 -0
  315. package/dist/types/post-v1-image-to-video-response404-message-enum.d.ts +9 -1
  316. package/dist/types/post-v1-image-to-video-response404.d.ts +16 -3
  317. package/dist/types/post-v1-image-to-video-response404.js +65 -0
  318. package/dist/types/post-v1-image-to-video-response422.d.ts +14 -1
  319. package/dist/types/post-v1-image-to-video-response422.js +65 -0
  320. package/dist/types/post-v1-lip-sync-body-assets-video-source-enum.d.ts +9 -1
  321. package/dist/types/post-v1-lip-sync-body-assets.d.ts +22 -6
  322. package/dist/types/post-v1-lip-sync-body-assets.js +77 -0
  323. package/dist/types/post-v1-lip-sync-body.d.ts +26 -7
  324. package/dist/types/post-v1-lip-sync-body.js +90 -0
  325. package/dist/types/post-v1-lip-sync-response.d.ts +16 -2
  326. package/dist/types/post-v1-lip-sync-response.js +69 -0
  327. package/dist/types/post-v1-lip-sync-response400.d.ts +14 -1
  328. package/dist/types/post-v1-lip-sync-response400.js +65 -0
  329. package/dist/types/post-v1-lip-sync-response401-message-enum.d.ts +9 -1
  330. package/dist/types/post-v1-lip-sync-response401.d.ts +16 -3
  331. package/dist/types/post-v1-lip-sync-response401.js +65 -0
  332. package/dist/types/post-v1-lip-sync-response404-message-enum.d.ts +9 -1
  333. package/dist/types/post-v1-lip-sync-response404.d.ts +16 -3
  334. package/dist/types/post-v1-lip-sync-response404.js +65 -0
  335. package/dist/types/post-v1-lip-sync-response422.d.ts +14 -1
  336. package/dist/types/post-v1-lip-sync-response422.js +65 -0
  337. package/dist/types/post-v1-text-to-video-body-orientation-enum.d.ts +9 -1
  338. package/dist/types/post-v1-text-to-video-body-style.d.ts +14 -1
  339. package/dist/types/post-v1-text-to-video-body-style.js +65 -0
  340. package/dist/types/post-v1-text-to-video-body.d.ts +23 -6
  341. package/dist/types/post-v1-text-to-video-body.js +78 -0
  342. package/dist/types/post-v1-text-to-video-response.d.ts +16 -2
  343. package/dist/types/post-v1-text-to-video-response.js +69 -0
  344. package/dist/types/post-v1-text-to-video-response400.d.ts +14 -1
  345. package/dist/types/post-v1-text-to-video-response400.js +65 -0
  346. package/dist/types/post-v1-text-to-video-response401-message-enum.d.ts +9 -1
  347. package/dist/types/post-v1-text-to-video-response401.d.ts +16 -3
  348. package/dist/types/post-v1-text-to-video-response401.js +65 -0
  349. package/dist/types/post-v1-text-to-video-response404-message-enum.d.ts +9 -1
  350. package/dist/types/post-v1-text-to-video-response404.d.ts +16 -3
  351. package/dist/types/post-v1-text-to-video-response404.js +65 -0
  352. package/dist/types/post-v1-text-to-video-response422.d.ts +14 -1
  353. package/dist/types/post-v1-text-to-video-response422.js +65 -0
  354. package/dist/types/post-v1-video-to-video-body-assets-video-source-enum.d.ts +9 -1
  355. package/dist/types/post-v1-video-to-video-body-assets.d.ts +20 -5
  356. package/dist/types/post-v1-video-to-video-body-assets.js +73 -0
  357. package/dist/types/post-v1-video-to-video-body-fps-resolution-enum.d.ts +11 -1
  358. package/dist/types/post-v1-video-to-video-body-style-art-style-enum.d.ts +9 -1
  359. package/dist/types/post-v1-video-to-video-body-style-model-enum.d.ts +12 -1
  360. package/dist/types/post-v1-video-to-video-body-style-prompt-type-enum.d.ts +11 -1
  361. package/dist/types/post-v1-video-to-video-body-style-version-enum.d.ts +11 -1
  362. package/dist/types/post-v1-video-to-video-body-style.d.ts +27 -7
  363. package/dist/types/post-v1-video-to-video-body-style.js +211 -0
  364. package/dist/types/post-v1-video-to-video-body.d.ts +30 -8
  365. package/dist/types/post-v1-video-to-video-body.js +95 -0
  366. package/dist/types/post-v1-video-to-video-response.d.ts +16 -2
  367. package/dist/types/post-v1-video-to-video-response.js +69 -0
  368. package/dist/types/post-v1-video-to-video-response400.d.ts +14 -1
  369. package/dist/types/post-v1-video-to-video-response400.js +65 -0
  370. package/dist/types/post-v1-video-to-video-response401-message-enum.d.ts +9 -1
  371. package/dist/types/post-v1-video-to-video-response401.d.ts +16 -3
  372. package/dist/types/post-v1-video-to-video-response401.js +65 -0
  373. package/dist/types/post-v1-video-to-video-response404-message-enum.d.ts +9 -1
  374. package/dist/types/post-v1-video-to-video-response404.d.ts +16 -3
  375. package/dist/types/post-v1-video-to-video-response404.js +65 -0
  376. package/dist/types/post-v1-video-to-video-response422.d.ts +14 -1
  377. package/dist/types/post-v1-video-to-video-response422.js +65 -0
  378. package/package.json +12 -11
@@ -2,4 +2,69 @@
2
2
  /**
3
3
  * Generated by Sideko (sideko.dev)
4
4
  **/
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
5
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Schemas$PostV1AiQrCodeGeneratorResponse400 = void 0;
40
+ const core_1 = require("../core");
41
+ const z = __importStar(require("zod"));
42
+ /**
43
+ * Takes network data, validates it, and transforms keys to match typescript object PostV1AiQrCodeGeneratorResponse400
44
+ */
45
+ const SchemaIn$PostV1AiQrCodeGeneratorResponse400 = z
46
+ .object({
47
+ message: z.string(),
48
+ })
49
+ .transform((obj) => {
50
+ return (0, core_1.zodTransform)(obj, {
51
+ message: "message",
52
+ });
53
+ });
54
+ /**
55
+ * @internal
56
+ * Takes typescript data, validates it, and maps keys to match the expected external object External$PostV1AiQrCodeGeneratorResponse400
57
+ */
58
+ const SchemaOut$PostV1AiQrCodeGeneratorResponse400 = z
59
+ .object({
60
+ message: z.string(),
61
+ })
62
+ .transform((obj) => {
63
+ return (0, core_1.zodTransform)(obj, {
64
+ message: "message",
65
+ });
66
+ });
67
+ exports.Schemas$PostV1AiQrCodeGeneratorResponse400 = {
68
+ in: SchemaIn$PostV1AiQrCodeGeneratorResponse400,
69
+ out: SchemaOut$PostV1AiQrCodeGeneratorResponse400,
70
+ };
@@ -1,4 +1,12 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- export declare type PostV1AiQrCodeGeneratorResponse401MessageEnum = "Unauthorized";
4
+ /**
5
+ * PostV1AiQrCodeGeneratorResponse401MessageEnum
6
+ */
7
+ export type PostV1AiQrCodeGeneratorResponse401MessageEnum = "Unauthorized";
8
+ /**
9
+ * @internal
10
+ * Denotes external values of enum (same as above) to stay consistent with other types
11
+ */
12
+ export type External$PostV1AiQrCodeGeneratorResponse401MessageEnum = "Unauthorized";
@@ -1,10 +1,23 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- import { types } from "../index.js";
4
+ import { External$PostV1AiQrCodeGeneratorResponse401MessageEnum, PostV1AiQrCodeGeneratorResponse401MessageEnum } from "./post-v1-ai-qr-code-generator-response401-message-enum";
5
+ import * as z from "zod";
5
6
  /**
6
7
  * The request is not properly authenticated
7
8
  */
8
- export declare type PostV1AiQrCodeGeneratorResponse401 = {
9
- message: types.PostV1AiQrCodeGeneratorResponse401MessageEnum;
9
+ export type PostV1AiQrCodeGeneratorResponse401 = {
10
+ message: PostV1AiQrCodeGeneratorResponse401MessageEnum;
11
+ };
12
+ /**
13
+ * @internal
14
+ * PostV1AiQrCodeGeneratorResponse401 without any key transformation, this is what
15
+ * we expect to come in as network data
16
+ */
17
+ export type External$PostV1AiQrCodeGeneratorResponse401 = {
18
+ message: External$PostV1AiQrCodeGeneratorResponse401MessageEnum;
19
+ };
20
+ export declare const Schemas$PostV1AiQrCodeGeneratorResponse401: {
21
+ in: z.ZodType<PostV1AiQrCodeGeneratorResponse401, z.ZodTypeDef, unknown>;
22
+ out: z.ZodType<External$PostV1AiQrCodeGeneratorResponse401, z.ZodTypeDef, PostV1AiQrCodeGeneratorResponse401>;
10
23
  };
@@ -2,4 +2,69 @@
2
2
  /**
3
3
  * Generated by Sideko (sideko.dev)
4
4
  **/
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
5
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Schemas$PostV1AiQrCodeGeneratorResponse401 = void 0;
40
+ const core_1 = require("../core");
41
+ const z = __importStar(require("zod"));
42
+ /**
43
+ * Takes network data, validates it, and transforms keys to match typescript object PostV1AiQrCodeGeneratorResponse401
44
+ */
45
+ const SchemaIn$PostV1AiQrCodeGeneratorResponse401 = z
46
+ .object({
47
+ message: z.enum(["Unauthorized"]),
48
+ })
49
+ .transform((obj) => {
50
+ return (0, core_1.zodTransform)(obj, {
51
+ message: "message",
52
+ });
53
+ });
54
+ /**
55
+ * @internal
56
+ * Takes typescript data, validates it, and maps keys to match the expected external object External$PostV1AiQrCodeGeneratorResponse401
57
+ */
58
+ const SchemaOut$PostV1AiQrCodeGeneratorResponse401 = z
59
+ .object({
60
+ message: z.enum(["Unauthorized"]),
61
+ })
62
+ .transform((obj) => {
63
+ return (0, core_1.zodTransform)(obj, {
64
+ message: "message",
65
+ });
66
+ });
67
+ exports.Schemas$PostV1AiQrCodeGeneratorResponse401 = {
68
+ in: SchemaIn$PostV1AiQrCodeGeneratorResponse401,
69
+ out: SchemaOut$PostV1AiQrCodeGeneratorResponse401,
70
+ };
@@ -1,4 +1,12 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- export declare type PostV1AiQrCodeGeneratorResponse404MessageEnum = "Not Found";
4
+ /**
5
+ * PostV1AiQrCodeGeneratorResponse404MessageEnum
6
+ */
7
+ export type PostV1AiQrCodeGeneratorResponse404MessageEnum = "Not Found";
8
+ /**
9
+ * @internal
10
+ * Denotes external values of enum (same as above) to stay consistent with other types
11
+ */
12
+ export type External$PostV1AiQrCodeGeneratorResponse404MessageEnum = "Not Found";
@@ -1,10 +1,23 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- import { types } from "../index.js";
4
+ import { External$PostV1AiQrCodeGeneratorResponse404MessageEnum, PostV1AiQrCodeGeneratorResponse404MessageEnum } from "./post-v1-ai-qr-code-generator-response404-message-enum";
5
+ import * as z from "zod";
5
6
  /**
6
7
  * Requested resource is not found
7
8
  */
8
- export declare type PostV1AiQrCodeGeneratorResponse404 = {
9
- message: types.PostV1AiQrCodeGeneratorResponse404MessageEnum;
9
+ export type PostV1AiQrCodeGeneratorResponse404 = {
10
+ message: PostV1AiQrCodeGeneratorResponse404MessageEnum;
11
+ };
12
+ /**
13
+ * @internal
14
+ * PostV1AiQrCodeGeneratorResponse404 without any key transformation, this is what
15
+ * we expect to come in as network data
16
+ */
17
+ export type External$PostV1AiQrCodeGeneratorResponse404 = {
18
+ message: External$PostV1AiQrCodeGeneratorResponse404MessageEnum;
19
+ };
20
+ export declare const Schemas$PostV1AiQrCodeGeneratorResponse404: {
21
+ in: z.ZodType<PostV1AiQrCodeGeneratorResponse404, z.ZodTypeDef, unknown>;
22
+ out: z.ZodType<External$PostV1AiQrCodeGeneratorResponse404, z.ZodTypeDef, PostV1AiQrCodeGeneratorResponse404>;
10
23
  };
@@ -2,4 +2,69 @@
2
2
  /**
3
3
  * Generated by Sideko (sideko.dev)
4
4
  **/
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
5
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Schemas$PostV1AiQrCodeGeneratorResponse404 = void 0;
40
+ const core_1 = require("../core");
41
+ const z = __importStar(require("zod"));
42
+ /**
43
+ * Takes network data, validates it, and transforms keys to match typescript object PostV1AiQrCodeGeneratorResponse404
44
+ */
45
+ const SchemaIn$PostV1AiQrCodeGeneratorResponse404 = z
46
+ .object({
47
+ message: z.enum(["Not Found"]),
48
+ })
49
+ .transform((obj) => {
50
+ return (0, core_1.zodTransform)(obj, {
51
+ message: "message",
52
+ });
53
+ });
54
+ /**
55
+ * @internal
56
+ * Takes typescript data, validates it, and maps keys to match the expected external object External$PostV1AiQrCodeGeneratorResponse404
57
+ */
58
+ const SchemaOut$PostV1AiQrCodeGeneratorResponse404 = z
59
+ .object({
60
+ message: z.enum(["Not Found"]),
61
+ })
62
+ .transform((obj) => {
63
+ return (0, core_1.zodTransform)(obj, {
64
+ message: "message",
65
+ });
66
+ });
67
+ exports.Schemas$PostV1AiQrCodeGeneratorResponse404 = {
68
+ in: SchemaIn$PostV1AiQrCodeGeneratorResponse404,
69
+ out: SchemaOut$PostV1AiQrCodeGeneratorResponse404,
70
+ };
@@ -1,9 +1,22 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
+ import * as z from "zod";
4
5
  /**
5
6
  * Unprocessable Entity
6
7
  */
7
- export declare type PostV1AiQrCodeGeneratorResponse422 = {
8
+ export type PostV1AiQrCodeGeneratorResponse422 = {
8
9
  message: string;
9
10
  };
11
+ /**
12
+ * @internal
13
+ * PostV1AiQrCodeGeneratorResponse422 without any key transformation, this is what
14
+ * we expect to come in as network data
15
+ */
16
+ export type External$PostV1AiQrCodeGeneratorResponse422 = {
17
+ message: string;
18
+ };
19
+ export declare const Schemas$PostV1AiQrCodeGeneratorResponse422: {
20
+ in: z.ZodType<PostV1AiQrCodeGeneratorResponse422, z.ZodTypeDef, unknown>;
21
+ out: z.ZodType<External$PostV1AiQrCodeGeneratorResponse422, z.ZodTypeDef, PostV1AiQrCodeGeneratorResponse422>;
22
+ };
@@ -2,4 +2,69 @@
2
2
  /**
3
3
  * Generated by Sideko (sideko.dev)
4
4
  **/
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
5
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Schemas$PostV1AiQrCodeGeneratorResponse422 = void 0;
40
+ const core_1 = require("../core");
41
+ const z = __importStar(require("zod"));
42
+ /**
43
+ * Takes network data, validates it, and transforms keys to match typescript object PostV1AiQrCodeGeneratorResponse422
44
+ */
45
+ const SchemaIn$PostV1AiQrCodeGeneratorResponse422 = z
46
+ .object({
47
+ message: z.string(),
48
+ })
49
+ .transform((obj) => {
50
+ return (0, core_1.zodTransform)(obj, {
51
+ message: "message",
52
+ });
53
+ });
54
+ /**
55
+ * @internal
56
+ * Takes typescript data, validates it, and maps keys to match the expected external object External$PostV1AiQrCodeGeneratorResponse422
57
+ */
58
+ const SchemaOut$PostV1AiQrCodeGeneratorResponse422 = z
59
+ .object({
60
+ message: z.string(),
61
+ })
62
+ .transform((obj) => {
63
+ return (0, core_1.zodTransform)(obj, {
64
+ message: "message",
65
+ });
66
+ });
67
+ exports.Schemas$PostV1AiQrCodeGeneratorResponse422 = {
68
+ in: SchemaIn$PostV1AiQrCodeGeneratorResponse422,
69
+ out: SchemaOut$PostV1AiQrCodeGeneratorResponse422,
70
+ };
@@ -1,4 +1,12 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- export declare type PostV1AnimationBodyAssetsAudioSourceEnum = "file" | "none" | "youtube";
4
+ /**
5
+ * Optionally add an audio source if you'd like to incorporate audio into your video
6
+ */
7
+ export type PostV1AnimationBodyAssetsAudioSourceEnum = "file" | "none" | "youtube";
8
+ /**
9
+ * @internal
10
+ * Denotes external values of enum (same as above) to stay consistent with other types
11
+ */
12
+ export type External$PostV1AnimationBodyAssetsAudioSourceEnum = "file" | "none" | "youtube";
@@ -1,25 +1,41 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- import { types } from "../index.js";
4
+ import { External$PostV1AnimationBodyAssetsAudioSourceEnum, PostV1AnimationBodyAssetsAudioSourceEnum } from "./post-v1-animation-body-assets-audio-source-enum";
5
+ import * as z from "zod";
5
6
  /**
6
7
  * Provide the assets for animation.
7
8
  */
8
- export declare type PostV1AnimationBodyAssets = {
9
+ export type PostV1AnimationBodyAssets = {
9
10
  /**
10
11
  * The path of the input audio. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls). This field is required if `audio_source` is `file`
11
12
  */
12
- audio_file_path?: string;
13
+ audioFilePath?: string | undefined;
13
14
  /**
14
15
  * Optionally add an audio source if you'd like to incorporate audio into your video
15
16
  */
16
- audio_source: types.PostV1AnimationBodyAssetsAudioSourceEnum;
17
+ audioSource: PostV1AnimationBodyAssetsAudioSourceEnum;
17
18
  /**
18
19
  * An initial image to use a the first frame of the video. This is the `file_path` field from the response of the [upload urls API](/docs/api/tag/files/post/v1/files/upload-urls)
19
20
  */
20
- image_file_path?: string;
21
+ imageFilePath?: string | undefined;
21
22
  /**
22
23
  * Using a youtube video as the input source. This field is required if `audio_source` is `youtube`
23
24
  */
24
- youtube_url?: string;
25
+ youtubeUrl?: string | undefined;
26
+ };
27
+ /**
28
+ * @internal
29
+ * PostV1AnimationBodyAssets without any key transformation, this is what
30
+ * we expect to come in as network data
31
+ */
32
+ export type External$PostV1AnimationBodyAssets = {
33
+ audio_file_path?: string | undefined;
34
+ audio_source: External$PostV1AnimationBodyAssetsAudioSourceEnum;
35
+ image_file_path?: string | undefined;
36
+ youtube_url?: string | undefined;
37
+ };
38
+ export declare const Schemas$PostV1AnimationBodyAssets: {
39
+ in: z.ZodType<PostV1AnimationBodyAssets, z.ZodTypeDef, unknown>;
40
+ out: z.ZodType<External$PostV1AnimationBodyAssets, z.ZodTypeDef, PostV1AnimationBodyAssets>;
25
41
  };
@@ -2,4 +2,81 @@
2
2
  /**
3
3
  * Generated by Sideko (sideko.dev)
4
4
  **/
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
5
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Schemas$PostV1AnimationBodyAssets = void 0;
40
+ const core_1 = require("../core");
41
+ const z = __importStar(require("zod"));
42
+ /**
43
+ * Takes network data, validates it, and transforms keys to match typescript object PostV1AnimationBodyAssets
44
+ */
45
+ const SchemaIn$PostV1AnimationBodyAssets = z
46
+ .object({
47
+ audio_file_path: z.string().optional(),
48
+ audio_source: z.enum(["file", "none", "youtube"]),
49
+ image_file_path: z.string().optional(),
50
+ youtube_url: z.string().optional(),
51
+ })
52
+ .transform((obj) => {
53
+ return (0, core_1.zodTransform)(obj, {
54
+ audio_file_path: "audioFilePath",
55
+ audio_source: "audioSource",
56
+ image_file_path: "imageFilePath",
57
+ youtube_url: "youtubeUrl",
58
+ });
59
+ });
60
+ /**
61
+ * @internal
62
+ * Takes typescript data, validates it, and maps keys to match the expected external object External$PostV1AnimationBodyAssets
63
+ */
64
+ const SchemaOut$PostV1AnimationBodyAssets = z
65
+ .object({
66
+ audioFilePath: z.string().optional(),
67
+ audioSource: z.enum(["file", "none", "youtube"]),
68
+ imageFilePath: z.string().optional(),
69
+ youtubeUrl: z.string().optional(),
70
+ })
71
+ .transform((obj) => {
72
+ return (0, core_1.zodTransform)(obj, {
73
+ audioFilePath: "audio_file_path",
74
+ audioSource: "audio_source",
75
+ imageFilePath: "image_file_path",
76
+ youtubeUrl: "youtube_url",
77
+ });
78
+ });
79
+ exports.Schemas$PostV1AnimationBodyAssets = {
80
+ in: SchemaIn$PostV1AnimationBodyAssets,
81
+ out: SchemaOut$PostV1AnimationBodyAssets,
82
+ };
@@ -1,4 +1,12 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- export declare type PostV1AnimationBodyStyleArtStyleEnum = "3D Render" | "90s Streets" | "Abstract Minimalist" | "Arcane" | "Art Deco" | "Bold Colored Illustration" | "Cinematic Landscape" | "Cinematic Miyazaki" | "Cosmic" | "Cubist" | "Custom" | "Cyberpunk" | "Dark Graphic Illustration" | "Dark Watercolor" | "Directed by AI" | "Double Exposure" | "Faded Illustration" | "Fantasy" | "Futuristic Anime" | "Impressionism" | "Ink and Watercolor Portrait" | "Inkpunk" | "Intricate Abstract Lines Portrait" | "Jackson Pollock" | "Landscape Painting" | "Low Poly" | "Miniatures" | "Minimal Cold Futurism" | "Oil Painting" | "Old School Comic" | "Overgrown" | "Painted Cityscape" | "Painterly Illustration" | "Photograph" | "Pixar" | "Pixel Art" | "Postapocalyptic" | "Sin City" | "Soft Delicate Matte Portrait" | "Spooky" | "Studio Ghibli Film Still" | "Synthwave" | "Traditional Watercolor" | "Van Gogh" | "Vibrant Matte Illustration" | "Vintage Japanese Anime" | "Woodcut";
4
+ /**
5
+ * The art style of the final output video
6
+ */
7
+ export type PostV1AnimationBodyStyleArtStyleEnum = "3D Render" | "90s Streets" | "Abstract Minimalist" | "Arcane" | "Art Deco" | "Bold Colored Illustration" | "Cinematic Landscape" | "Cinematic Miyazaki" | "Cosmic" | "Cubist" | "Custom" | "Cyberpunk" | "Dark Graphic Illustration" | "Dark Watercolor" | "Directed by AI" | "Double Exposure" | "Faded Illustration" | "Fantasy" | "Futuristic Anime" | "Impressionism" | "Ink and Watercolor Portrait" | "Inkpunk" | "Intricate Abstract Lines Portrait" | "Jackson Pollock" | "Landscape Painting" | "Low Poly" | "Miniatures" | "Minimal Cold Futurism" | "Oil Painting" | "Old School Comic" | "Overgrown" | "Painted Cityscape" | "Painterly Illustration" | "Photograph" | "Pixar" | "Pixel Art" | "Postapocalyptic" | "Sin City" | "Soft Delicate Matte Portrait" | "Spooky" | "Studio Ghibli Film Still" | "Synthwave" | "Traditional Watercolor" | "Van Gogh" | "Vibrant Matte Illustration" | "Vintage Japanese Anime" | "Woodcut";
8
+ /**
9
+ * @internal
10
+ * Denotes external values of enum (same as above) to stay consistent with other types
11
+ */
12
+ export type External$PostV1AnimationBodyStyleArtStyleEnum = "3D Render" | "90s Streets" | "Abstract Minimalist" | "Arcane" | "Art Deco" | "Bold Colored Illustration" | "Cinematic Landscape" | "Cinematic Miyazaki" | "Cosmic" | "Cubist" | "Custom" | "Cyberpunk" | "Dark Graphic Illustration" | "Dark Watercolor" | "Directed by AI" | "Double Exposure" | "Faded Illustration" | "Fantasy" | "Futuristic Anime" | "Impressionism" | "Ink and Watercolor Portrait" | "Inkpunk" | "Intricate Abstract Lines Portrait" | "Jackson Pollock" | "Landscape Painting" | "Low Poly" | "Miniatures" | "Minimal Cold Futurism" | "Oil Painting" | "Old School Comic" | "Overgrown" | "Painted Cityscape" | "Painterly Illustration" | "Photograph" | "Pixar" | "Pixel Art" | "Postapocalyptic" | "Sin City" | "Soft Delicate Matte Portrait" | "Spooky" | "Studio Ghibli Film Still" | "Synthwave" | "Traditional Watercolor" | "Van Gogh" | "Vibrant Matte Illustration" | "Vintage Japanese Anime" | "Woodcut";
@@ -1,4 +1,12 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- export declare type PostV1AnimationBodyStyleCameraEffectEnum = "Accelerate" | "Aggressive Zoom In - Audio Sync" | "Aggressive Zoom Out - Audio Sync" | "Boost Zoom In" | "Boost Zoom Out" | "Bounce In And Out" | "Bounce Out" | "Bounce Out - Audio Sync" | "Bounce and Spin - Audio Sync" | "Bounce in Place" | "Cog in the Machine" | "Devolve - Audio Sync" | "Directed by AI" | "Dramatic Zoom In" | "Dramatic Zoom Out" | "Drift Spin" | "Earthquake Bounce" | "Earthquake Bounce - Audio Sync" | "Evolve - Audio Sync" | "Heartbeat" | "Hesitate In" | "Jump" | "Pan Left" | "Pan Right" | "Pulse - Audio Sync" | "Pusher" | "Pusher - Audio Sync" | "Quadrant" | "Rise and Climb" | "Road Trip" | "Rodeo" | "Roll In" | "Roll In - Audio Sync" | "Rolling Bounces" | "Rubber Band" | "Simple Zoom In" | "Simple Zoom Out" | "Slice Bounce" | "Slideshow" | "Speed of Light" | "Spin Bounce" | "Sway Out" | "Sway Out - Audio Sync" | "Tilt Down" | "Tilt Up" | "Traverse" | "Tron" | "Vertigo" | "Vertigo - Audio Sync" | "Zoom In - Audio Sync" | "Zoom In and Spin - Audio Sync" | "Zoom Out - Audio Sync";
4
+ /**
5
+ * PostV1AnimationBodyStyleCameraEffectEnum
6
+ */
7
+ export type PostV1AnimationBodyStyleCameraEffectEnum = "Accelerate" | "Aggressive Zoom In - Audio Sync" | "Aggressive Zoom Out - Audio Sync" | "Boost Zoom In" | "Boost Zoom Out" | "Bounce In And Out" | "Bounce Out" | "Bounce Out - Audio Sync" | "Bounce and Spin - Audio Sync" | "Bounce in Place" | "Cog in the Machine" | "Devolve - Audio Sync" | "Directed by AI" | "Dramatic Zoom In" | "Dramatic Zoom Out" | "Drift Spin" | "Earthquake Bounce" | "Earthquake Bounce - Audio Sync" | "Evolve - Audio Sync" | "Heartbeat" | "Hesitate In" | "Jump" | "Pan Left" | "Pan Right" | "Pulse - Audio Sync" | "Pusher" | "Pusher - Audio Sync" | "Quadrant" | "Rise and Climb" | "Road Trip" | "Rodeo" | "Roll In" | "Roll In - Audio Sync" | "Rolling Bounces" | "Rubber Band" | "Simple Zoom In" | "Simple Zoom Out" | "Slice Bounce" | "Slideshow" | "Speed of Light" | "Spin Bounce" | "Sway Out" | "Sway Out - Audio Sync" | "Tilt Down" | "Tilt Up" | "Traverse" | "Tron" | "Vertigo" | "Vertigo - Audio Sync" | "Zoom In - Audio Sync" | "Zoom In and Spin - Audio Sync" | "Zoom Out - Audio Sync";
8
+ /**
9
+ * @internal
10
+ * Denotes external values of enum (same as above) to stay consistent with other types
11
+ */
12
+ export type External$PostV1AnimationBodyStyleCameraEffectEnum = "Accelerate" | "Aggressive Zoom In - Audio Sync" | "Aggressive Zoom Out - Audio Sync" | "Boost Zoom In" | "Boost Zoom Out" | "Bounce In And Out" | "Bounce Out" | "Bounce Out - Audio Sync" | "Bounce and Spin - Audio Sync" | "Bounce in Place" | "Cog in the Machine" | "Devolve - Audio Sync" | "Directed by AI" | "Dramatic Zoom In" | "Dramatic Zoom Out" | "Drift Spin" | "Earthquake Bounce" | "Earthquake Bounce - Audio Sync" | "Evolve - Audio Sync" | "Heartbeat" | "Hesitate In" | "Jump" | "Pan Left" | "Pan Right" | "Pulse - Audio Sync" | "Pusher" | "Pusher - Audio Sync" | "Quadrant" | "Rise and Climb" | "Road Trip" | "Rodeo" | "Roll In" | "Roll In - Audio Sync" | "Rolling Bounces" | "Rubber Band" | "Simple Zoom In" | "Simple Zoom Out" | "Slice Bounce" | "Slideshow" | "Speed of Light" | "Spin Bounce" | "Sway Out" | "Sway Out - Audio Sync" | "Tilt Down" | "Tilt Up" | "Traverse" | "Tron" | "Vertigo" | "Vertigo - Audio Sync" | "Zoom In - Audio Sync" | "Zoom In and Spin - Audio Sync" | "Zoom Out - Audio Sync";
@@ -1,4 +1,15 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- export declare type PostV1AnimationBodyStylePromptTypeEnum = "ai_choose" | "custom" | "use_lyrics";
4
+ /**
5
+ *
6
+ * * `custom` - use your own prompt for the video.
7
+ * * `use_lyrics` - Use the lyrics of the audio to create the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`.
8
+ * * `ai_choose` - Let AI write the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`.
9
+ */
10
+ export type PostV1AnimationBodyStylePromptTypeEnum = "ai_choose" | "custom" | "use_lyrics";
11
+ /**
12
+ * @internal
13
+ * Denotes external values of enum (same as above) to stay consistent with other types
14
+ */
15
+ export type External$PostV1AnimationBodyStylePromptTypeEnum = "ai_choose" | "custom" | "use_lyrics";
@@ -1,33 +1,53 @@
1
1
  /**
2
2
  * Generated by Sideko (sideko.dev)
3
3
  **/
4
- import { types } from "../index.js";
4
+ import { External$PostV1AnimationBodyStyleArtStyleEnum, PostV1AnimationBodyStyleArtStyleEnum } from "./post-v1-animation-body-style-art-style-enum";
5
+ import { External$PostV1AnimationBodyStyleCameraEffectEnum, PostV1AnimationBodyStyleCameraEffectEnum } from "./post-v1-animation-body-style-camera-effect-enum";
6
+ import { External$PostV1AnimationBodyStylePromptTypeEnum, PostV1AnimationBodyStylePromptTypeEnum } from "./post-v1-animation-body-style-prompt-type-enum";
7
+ import * as z from "zod";
5
8
  /**
6
9
  * Defines the style of the output video
7
10
  */
8
- export declare type PostV1AnimationBodyStyle = {
11
+ export type PostV1AnimationBodyStyle = {
9
12
  /**
10
13
  * The art style of the final output video
11
14
  */
12
- art_style: types.PostV1AnimationBodyStyleArtStyleEnum;
15
+ artStyle: PostV1AnimationBodyStyleArtStyleEnum;
13
16
  /**
14
17
  * Describe custom art style. This field is required if `art_style` is `Custom`
15
18
  */
16
- art_style_custom?: string;
17
- camera_effect: types.PostV1AnimationBodyStyleCameraEffectEnum;
19
+ artStyleCustom?: string | undefined;
20
+ cameraEffect: PostV1AnimationBodyStyleCameraEffectEnum;
18
21
  /**
19
22
  * The prompt used for the video. Prompt is required if `prompt_type` is `custom`. Otherwise this value is ignored
20
23
  */
21
- prompt?: string | null;
24
+ prompt: string | null;
22
25
  /**
23
26
  *
24
27
  * * `custom` - use your own prompt for the video.
25
28
  * * `use_lyrics` - Use the lyrics of the audio to create the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`.
26
29
  * * `ai_choose` - Let AI write the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`.
27
30
  */
28
- prompt_type: types.PostV1AnimationBodyStylePromptTypeEnum;
31
+ promptType: PostV1AnimationBodyStylePromptTypeEnum;
29
32
  /**
30
33
  * Change determines how quickly the video's content changes across frames. Higher = more rapid transitions. Lower = more stable visual experience.
31
34
  */
35
+ transitionSpeed: number;
36
+ };
37
+ /**
38
+ * @internal
39
+ * PostV1AnimationBodyStyle without any key transformation, this is what
40
+ * we expect to come in as network data
41
+ */
42
+ export type External$PostV1AnimationBodyStyle = {
43
+ art_style: External$PostV1AnimationBodyStyleArtStyleEnum;
44
+ art_style_custom?: string | undefined;
45
+ camera_effect: External$PostV1AnimationBodyStyleCameraEffectEnum;
46
+ prompt: string | null;
47
+ prompt_type: External$PostV1AnimationBodyStylePromptTypeEnum;
32
48
  transition_speed: number;
33
49
  };
50
+ export declare const Schemas$PostV1AnimationBodyStyle: {
51
+ in: z.ZodType<PostV1AnimationBodyStyle, z.ZodTypeDef, unknown>;
52
+ out: z.ZodType<External$PostV1AnimationBodyStyle, z.ZodTypeDef, PostV1AnimationBodyStyle>;
53
+ };